/**
 * FreshMindWave Homepage
 * Design system: Soft UI Evolution + brand palette
 * Breakpoints: 375 · 768 · 1024 · 1440
 */

/* -------------------------------------------------------------------------- */
/* Hero — cinematic Soft UI                                                    */
/* -------------------------------------------------------------------------- */
.fmw-home-hero {
  position: relative;
  color: #fff;
  isolation: isolate;
}

.fmw-hero-swiper {
  width: 100%;
}

.fmw-home-hero__slide {
  position: relative;
  min-height: min(92vh, 820px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--fmw-header-h) + 2.5rem) 0 5.5rem;
  text-align: center;
}

.fmw-home-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.fmw-home-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 6s var(--fmw-ease);
}

.swiper-slide-active .fmw-home-hero__media img {
  transform: scale(1);
}

.fmw-home-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 22, 34, 0.55) 0%, rgba(12, 22, 34, 0.72) 45%, rgba(12, 22, 34, 0.82) 100%),
    radial-gradient(ellipse 70% 60% at 50% 40%, rgba(12, 22, 34, 0.25), transparent 70%);
}

.fmw-home-hero__glow {
  position: absolute;
  inset: auto 0 0 0;
  height: 40%;
  background: radial-gradient(ellipse 70% 80% at 50% 100%, rgba(78, 150, 17, 0.2), transparent 60%);
  pointer-events: none;
}

.fmw-home-hero__content {
  position: relative;
  z-index: 1;
  max-width: 44rem;
  margin-inline: auto;
  text-align: center;
  animation: fmw-hero-in 0.8s var(--fmw-ease) both;
}

@keyframes fmw-hero-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.fmw-home-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 0 auto 1.1rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-family: var(--fmw-font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}

.fmw-home-hero__title {
  font-size: clamp(2.35rem, 5.2vw, 3.85rem);
  font-weight: 600;
  color: #fff;
  margin: 0 auto 1.1rem;
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.fmw-home-hero__text {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 auto 2rem;
  max-width: 36rem;
  font-weight: 400;
}

.fmw-home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.85rem 1rem;
}

.fmw-home-hero__cta {
  min-width: 11.5rem;
}

.fmw-home-hero__cta--ghost,
.fmw-home-hero .fmw-btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
  backdrop-filter: blur(8px);
}

.fmw-home-hero .fmw-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: #fff;
  color: #fff;
}

.fmw-hero-swiper__pagination {
  bottom: 1.5rem !important;
  z-index: 5;
}

.fmw-hero-swiper__pagination .swiper-pagination-bullet {
  width: 9px;
  height: 9px;
  background: rgba(255, 255, 255, 0.4);
  opacity: 1;
  transition: width 0.3s var(--fmw-ease), background 0.3s;
}

.fmw-hero-swiper__pagination .swiper-pagination-bullet-active {
  background: var(--fmw-orange);
  width: 32px;
  border-radius: 999px;
}

.fmw-hero-swiper__nav {
  color: #fff !important;
  width: 52px !important;
  height: 52px !important;
  margin-top: 0;
  background: rgba(12, 22, 34, 0.4);
  border-radius: 50%;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
}

.fmw-hero-swiper__nav:hover {
  background: rgba(78, 150, 17, 0.85);
  transform: scale(1.05);
}

.fmw-hero-swiper__nav::after {
  font-size: 1rem !important;
  font-weight: 700;
}

.fmw-hero-swiper .swiper-button-prev { left: max(1rem, calc((100vw - var(--fmw-container)) / 2 - 4rem)); }
.fmw-hero-swiper .swiper-button-next { right: max(1rem, calc((100vw - var(--fmw-container)) / 2 - 4rem)); }

@media (max-width: 1024px) {
  .fmw-hero-swiper .swiper-button-prev { left: 0.75rem; }
  .fmw-hero-swiper .swiper-button-next { right: 0.75rem; }
}

@media (max-width: 768px) {
  .fmw-hero-swiper__nav {
    display: none !important;
  }

  .fmw-home-hero__slide {
    min-height: 620px;
    align-items: center;
    justify-content: center;
    padding: calc(var(--fmw-header-h) + 1.5rem) 0 4.5rem;
  }

  .fmw-home-hero__actions {
    width: 100%;
    justify-content: center;
  }

  .fmw-home-hero__cta {
    flex: 1 1 auto;
    min-width: 0;
    text-align: center;
  }
}

@media (max-width: 400px) {
  .fmw-home-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .fmw-home-hero__cta {
    width: 100%;
  }
}

/* -------------------------------------------------------------------------- */
/* Pillars — floating Soft UI cards                                            */
/* -------------------------------------------------------------------------- */
.fmw-home-pillars {
  padding-top: 0;
  margin-top: -3.25rem;
  position: relative;
  z-index: 3;
}

.fmw-home-pillars__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
}

.fmw-home-pillars__card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: var(--fmw-shadow);
  padding: 1.35rem 1.25rem;
  border-radius: var(--fmw-radius);
  transition: transform var(--fmw-duration) var(--fmw-ease), box-shadow var(--fmw-duration) var(--fmw-ease);
}

.fmw-home-pillars__card:hover {
  transform: translateY(-6px);
  box-shadow: var(--fmw-shadow-hover);
}

.fmw-home-pillars__card h3 {
  font-size: 1.05rem;
  margin: 0.1rem 0 0.35rem;
}

.fmw-home-pillars__card p {
  font-size: 0.88rem;
  line-height: 1.55;
}

@media (max-width: 1024px) {
  .fmw-home-pillars__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .fmw-home-pillars {
    margin-top: 0;
    padding: 2.5rem 0 0;
  }

  .fmw-home-pillars__grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
}

/* -------------------------------------------------------------------------- */
/* Water / Why / shared cards                                                  */
/* -------------------------------------------------------------------------- */
.fmw-home-water__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.35rem;
}

.fmw-home-water__card,
.fmw-home-why .fmw-card {
  padding: 1.5rem 1.35rem;
  border-radius: var(--fmw-radius);
  border: 1px solid var(--fmw-line);
  background: #fff;
  box-shadow: 0 1px 2px rgba(12, 22, 34, 0.03);
  transition: transform var(--fmw-duration) var(--fmw-ease), box-shadow var(--fmw-duration) var(--fmw-ease), border-color var(--fmw-duration);
}

.fmw-home-water__card h3,
.fmw-home-why .fmw-card h3 {
  font-size: 1.2rem;
}

.fmw-home-water__card:hover,
.fmw-home-why .fmw-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--fmw-shadow);
  border-color: transparent;
}

.fmw-home-water .fmw-section-header {
  max-width: 46rem;
}

.fmw-home-water .fmw-section-lead {
  font-size: 1.05rem;
}

@media (max-width: 700px) {
  .fmw-home-water__grid {
    grid-template-columns: 1fr;
  }
}

.fmw-home-why__lead {
  font-family: var(--fmw-font-display);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  color: var(--fmw-navy);
  margin: 0 0 0.75rem;
  font-weight: 500;
}

/* -------------------------------------------------------------------------- */
/* Mediqua split                                                               */
/* -------------------------------------------------------------------------- */
.fmw-home-mediqua {
  background:
    radial-gradient(ellipse 50% 40% at 100% 0%, rgba(21, 121, 197, 0.06), transparent 55%),
    var(--fmw-white);
}

.fmw-home-mediqua__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.fmw-home-mediqua__lead {
  text-align: left;
  margin: 0 0 1.5rem;
  max-width: none;
}

.fmw-check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin: 0 0 2rem;
  padding: 0;
}

.fmw-check-list li {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  font-size: 0.975rem;
  color: var(--fmw-charcoal);
  line-height: 1.55;
  padding: 0.65rem 0.85rem;
  background: var(--fmw-offwhite);
  border-radius: var(--fmw-radius-sm);
}

.fmw-check-list .fmw-icon {
  color: var(--fmw-green);
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.fmw-check-list--grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 1rem;
}

.fmw-check-list--light li {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.fmw-check-list--light .fmw-icon {
  color: var(--fmw-orange);
}

.fmw-home-mediqua__media .fmw-media-panel {
  box-shadow: var(--fmw-shadow-hover);
  border: 1px solid var(--fmw-line-soft);
}

@media (max-width: 900px) {
  .fmw-home-mediqua__grid {
    grid-template-columns: 1fr;
  }

  .fmw-home-mediqua__media {
    order: -1;
    max-width: 480px;
    margin-inline: auto;
  }

  .fmw-check-list--grid {
    grid-template-columns: 1fr;
  }
}

/* -------------------------------------------------------------------------- */
/* Founders                                                                    */
/* -------------------------------------------------------------------------- */
.fmw-home-founders__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
  margin-bottom: 2.5rem;
}

.fmw-home-founders__card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1.35rem;
  padding: 1.65rem;
  background: #fff;
  border: 1px solid var(--fmw-line);
  border-radius: var(--fmw-radius-lg);
  box-shadow: var(--fmw-shadow);
  transition: transform var(--fmw-duration) var(--fmw-ease), box-shadow var(--fmw-duration);
}

.fmw-home-founders__card:hover {
  transform: translateY(-3px);
  box-shadow: var(--fmw-shadow-hover);
}

.fmw-home-founders__photo {
  aspect-ratio: 1;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(145deg, var(--fmw-blue-soft), var(--fmw-green-soft));
}

.fmw-home-founders__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fmw-home-founders__avatar {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-family: var(--fmw-font-display);
  font-size: 2.75rem;
  color: var(--fmw-navy);
  font-weight: 600;
}

.fmw-home-founders__role {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fmw-green);
  margin: 0 0 0.75rem;
}

.fmw-home-founders__bio {
  font-size: 0.9rem;
  color: var(--fmw-muted);
  margin-bottom: 1.15rem;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.fmw-home-founders__body h3 {
  font-size: 1.4rem;
  margin-bottom: 0.2rem;
}

@media (max-width: 960px) {
  .fmw-home-founders__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .fmw-home-founders__card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .fmw-home-founders__photo {
    width: 120px;
    margin-inline: auto;
  }

  .fmw-home-founders__bio {
    -webkit-line-clamp: 8;
  }

  .fmw-home-founders__body .fmw-btn {
    margin-inline: auto;
  }
}

/* -------------------------------------------------------------------------- */
/* Products grid / Blog swiper                                                 */
/* -------------------------------------------------------------------------- */
.fmw-home-products .fmw-product-card__excerpt {
  margin-bottom: 0;
}

.fmw-blog-swiper {
  padding: 0.5rem 0.5rem 3.25rem;
  margin: 0 -0.5rem;
  overflow: hidden;
}

.fmw-blog-swiper .swiper-slide {
  height: auto;
}

.fmw-blog-swiper .swiper-slide > * {
  height: 100%;
}

.fmw-product-card--placeholder {
  height: 100%;
  background: #fff;
  border: 1px solid var(--fmw-line);
  border-radius: var(--fmw-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--fmw-shadow);
}

.fmw-product-card--placeholder .fmw-product-card__media {
  min-height: 220px;
}

.fmw-product-card--placeholder .fmw-product-card__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.5rem;
}

.fmw-product-card--placeholder .fmw-product-card__excerpt {
  flex: 1;
  color: var(--fmw-muted);
  font-size: 0.925rem;
  margin: 0;
}

.fmw-home-products__hint {
  text-align: center;
  font-size: 0.85rem;
  color: var(--fmw-muted);
  margin: 1rem 0 0;
}

.fmw-blog-swiper__pagination .swiper-pagination-bullet-active {
  background: var(--fmw-green);
  width: 22px;
  border-radius: 999px;
}

/* -------------------------------------------------------------------------- */
/* Support / Testing                                                           */
/* -------------------------------------------------------------------------- */
.fmw-home-support__inner {
  max-width: 920px;
  margin-inline: auto;
}

.fmw-home-support__lead {
  font-family: var(--fmw-font-display);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  color: var(--fmw-navy);
  text-align: center;
  margin: 0 0 0.75rem;
}

.fmw-home-support__closing {
  font-family: var(--fmw-font-display);
  font-size: 1.25rem;
  color: var(--fmw-navy);
  text-align: center;
  margin: 2rem auto 0;
  max-width: 36rem;
  font-style: italic;
}

.fmw-home-support .fmw-check-list--grid li {
  background: #fff;
  border: 1px solid var(--fmw-line);
}

.fmw-home-testing {
  position: relative;
  overflow: hidden;
}

.fmw-home-testing::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 90% 20%, rgba(21, 121, 197, 0.28), transparent 55%),
    radial-gradient(ellipse 40% 50% at 0% 90%, rgba(78, 150, 17, 0.2), transparent 50%);
  pointer-events: none;
}

.fmw-home-testing__inner {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin-inline: auto;
}

.fmw-home-testing__offer-label {
  text-align: center;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 1.25rem;
  color: rgba(255, 255, 255, 0.7);
}

.fmw-section--navy .fmw-section-title {
  color: #fff;
}

.fmw-section--navy .fmw-section-lead {
  color: rgba(255, 255, 255, 0.75);
}

.fmw-section--navy .fmw-eyebrow {
  color: rgba(255, 255, 255, 0.65);
}

/* -------------------------------------------------------------------------- */
/* USPs                                                                        */
/* -------------------------------------------------------------------------- */
.fmw-home-usps__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.fmw-home-usps__media .fmw-media-panel {
  aspect-ratio: 4 / 5;
  box-shadow: var(--fmw-shadow-hover);
}

.fmw-home-usps__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 1.75rem 0 0;
  padding: 0;
}

.fmw-home-usps__list li {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--fmw-line);
}

.fmw-home-usps__list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.fmw-home-usps__num {
  font-family: var(--fmw-font-display);
  font-size: 1.65rem;
  color: var(--fmw-blue);
  line-height: 1;
  font-weight: 600;
}

.fmw-home-usps__list h3 {
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}

.fmw-home-usps__list p {
  margin: 0;
  color: var(--fmw-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

@media (max-width: 860px) {
  .fmw-home-usps__grid {
    grid-template-columns: 1fr;
  }

  .fmw-home-usps__media {
    max-width: 420px;
    margin-inline: auto;
  }

  .fmw-home-usps__media .fmw-media-panel {
    aspect-ratio: 16 / 11;
  }
}

/* -------------------------------------------------------------------------- */
/* Warranty                                                                    */
/* -------------------------------------------------------------------------- */
.fmw-home-warranty__inner {
  max-width: 920px;
  margin-inline: auto;
  text-align: center;
}

.fmw-home-warranty__intro {
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--fmw-muted);
}

.fmw-home-warranty__cards {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
  margin: 0 0 1.5rem;
  padding: 0;
}

.fmw-home-warranty__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  padding: 1.85rem 1.25rem;
  background: #fff;
  border: 1px solid var(--fmw-line);
  border-radius: var(--fmw-radius);
  font-weight: 600;
  color: var(--fmw-navy);
  font-size: 0.95rem;
  box-shadow: var(--fmw-shadow);
  transition: transform var(--fmw-duration);
}

.fmw-home-warranty__card:hover {
  transform: translateY(-4px);
}

.fmw-home-warranty__card .fmw-icon {
  color: var(--fmw-green);
}

.fmw-home-warranty__note {
  color: var(--fmw-muted);
  font-size: 0.925rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 700px) {
  .fmw-home-warranty__cards {
    grid-template-columns: 1fr;
  }
}

/* -------------------------------------------------------------------------- */
/* Reels (video testimonials)                                                  */
/* -------------------------------------------------------------------------- */
.fmw-home-reels {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 15% 0%, rgba(21, 121, 197, 0.28), transparent 62%),
    radial-gradient(ellipse 60% 55% at 88% 12%, rgba(78, 150, 17, 0.26), transparent 60%),
    linear-gradient(168deg, var(--fmw-navy) 0%, var(--fmw-navy-2) 55%, #0a1420 100%);
  color: rgba(255, 255, 255, 0.82);
}

.fmw-home-reels__glow {
  position: absolute;
  inset: auto -10% -45% -10%;
  height: 60%;
  background: radial-gradient(ellipse at 50% 100%, rgba(240, 126, 53, 0.18), transparent 68%);
  pointer-events: none;
  z-index: -1;
}

.fmw-home-reels__header {
  max-width: 46rem;
}

.fmw-home-reels .fmw-section-title {
  color: #fff;
}

.fmw-home-reels .fmw-section-lead {
  color: rgba(255, 255, 255, 0.72);
}

.fmw-home-reels__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.fmw-home-reels__live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--fmw-orange);
  box-shadow: 0 0 0 0 rgba(240, 126, 53, 0.6);
  animation: fmw-reel-pulse 2.4s var(--fmw-ease) infinite;
}

@keyframes fmw-reel-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(240, 126, 53, 0.55); }
  70%  { box-shadow: 0 0 0 9px rgba(240, 126, 53, 0); }
  100% { box-shadow: 0 0 0 0 rgba(240, 126, 53, 0); }
}

.fmw-reels {
  position: relative;
  margin-top: 0.5rem;
}

.fmw-reels-swiper {
  /* Room for the hover lift and card shadows inside the clipped track. */
  padding: 0.75rem 0.35rem 1rem;
}

/* ---- Card ---- */
.fmw-reel__card {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  border-radius: calc(var(--fmw-radius-lg) + 3px);
  transition: transform var(--fmw-duration) var(--fmw-ease);
}

.fmw-reel__card:hover,
.fmw-reel__card:focus-visible {
  transform: translateY(-6px);
}

.fmw-reel__card:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.85);
}

.fmw-reel__media {
  position: relative;
  display: block;
  aspect-ratio: 9 / 16;
  border-radius: var(--fmw-radius-lg);
  overflow: hidden;
  background: linear-gradient(150deg, #16283a, #0c1622);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.42);
}

/* Story-ring in brand colours, revealed on hover/focus. */
.fmw-reel__media::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(140deg, var(--fmw-green), var(--fmw-blue) 45%, var(--fmw-orange));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--fmw-duration) var(--fmw-ease);
  pointer-events: none;
  z-index: 3;
}

.fmw-reel__card:hover .fmw-reel__media::after,
.fmw-reel__card:focus-visible .fmw-reel__media::after {
  opacity: 1;
}

.fmw-reel__cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--fmw-ease);
}

.fmw-reel__card:hover .fmw-reel__cover {
  transform: scale(1.06);
}

.fmw-reel__fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 20%, rgba(21, 121, 197, 0.5), transparent 58%),
    radial-gradient(circle at 75% 78%, rgba(78, 150, 17, 0.45), transparent 60%),
    linear-gradient(160deg, #16283a, #0b1520);
}

.fmw-reel__initials {
  font-family: var(--fmw-font-display);
  font-size: 2.5rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.02em;
}

.fmw-reel__watermark {
  position: absolute;
  right: 0.75rem;
  bottom: 5.5rem;
  color: rgba(255, 255, 255, 0.12);
}

.fmw-reel__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(6, 12, 20, 0.92) 0%,
    rgba(6, 12, 20, 0.55) 32%,
    rgba(6, 12, 20, 0.06) 62%,
    rgba(6, 12, 20, 0.22) 100%
  );
  z-index: 1;
}

.fmw-reel__badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  background: rgba(12, 22, 34, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.fmw-reel__play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.32);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  transition: transform var(--fmw-duration) var(--fmw-ease), background var(--fmw-duration) var(--fmw-ease);
}

.fmw-reel__play .fmw-icon {
  fill: currentColor;
  margin-left: 3px;
}

.fmw-reel__card:hover .fmw-reel__play,
.fmw-reel__card:focus-visible .fmw-reel__play {
  background: var(--fmw-orange);
  border-color: var(--fmw-orange);
  transform: translate(-50%, -50%) scale(1.1);
}

.fmw-reel__body {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  display: block;
  padding: 1rem 1.05rem 1.15rem;
}

.fmw-reel__title {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-family: var(--fmw-font-display);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  color: #fff;
  margin-bottom: 0.3rem;
}

.fmw-reel__meta {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.68);
}

/* ---- Carousel controls ---- */
.fmw-reels__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.fmw-reels__nav {
  width: 46px;
  height: 46px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: background var(--fmw-duration) var(--fmw-ease),
    border-color var(--fmw-duration) var(--fmw-ease),
    opacity var(--fmw-duration) var(--fmw-ease);
}

.fmw-reels__nav:hover:not(:disabled) {
  background: var(--fmw-green);
  border-color: var(--fmw-green);
}

.fmw-reels__nav:disabled,
.fmw-reels__nav.is-disabled {
  opacity: 0.3;
  cursor: default;
  pointer-events: none;
}

body.fmw-reels-open {
  overflow: hidden;
}

.fmw-reels__pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: auto;
}

.fmw-reels__pagination .swiper-pagination-bullet {
  width: 7px;
  height: 7px;
  margin: 0 !important;
  background: rgba(255, 255, 255, 0.32);
  opacity: 1;
  transition: width var(--fmw-duration) var(--fmw-ease), background var(--fmw-duration) var(--fmw-ease);
}

.fmw-reels__pagination .swiper-pagination-bullet-active {
  width: 26px;
  border-radius: 999px;
  background: var(--fmw-orange);
}

.fmw-reels__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  margin-top: 2.5rem;
}

.fmw-home-reels .fmw-btn--secondary {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.fmw-home-reels .fmw-btn--secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.fmw-reels__placeholder {
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  padding: 3rem 1.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: var(--fmw-radius);
  max-width: 560px;
  margin: 0 auto;
}

/* ---- Lightbox ---- */
.fmw-reels__modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 2.5rem);
}

.fmw-reels__modal[hidden] {
  display: none;
}

.fmw-reels__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 9, 16, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  animation: fmw-reels-fade 240ms var(--fmw-ease);
}

@keyframes fmw-reels-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes fmw-reels-rise {
  from { opacity: 0; transform: translateY(18px) scale(0.97); }
  to   { opacity: 1; transform: none; }
}

.fmw-reels__dialog {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  animation: fmw-reels-rise 320ms var(--fmw-ease);
}

.fmw-reels__player {
  position: relative;
  width: min(420px, 88vw);
}

.fmw-reels__frame {
  position: relative;
  width: 100%;
  height: min(720px, 74vh);
  border-radius: var(--fmw-radius-lg);
  overflow: hidden;
  background: #0b1520;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.fmw-reels__frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.fmw-reels__spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-top-color: var(--fmw-orange);
  animation: fmw-reels-spin 800ms linear infinite;
}

@keyframes fmw-reels-spin {
  to { transform: rotate(360deg); }
}

.fmw-reels__caption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-top: 1rem;
}

.fmw-reels__caption-title {
  margin: 0;
  font-family: var(--fmw-font-display);
  font-size: 1rem;
  color: #fff;
}

.fmw-reels__caption-title:empty {
  display: none;
}

.fmw-reels__caption-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
}

.fmw-reels__caption-link:hover {
  color: #fff;
}

.fmw-reels__close,
.fmw-reels__step {
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: background var(--fmw-duration) var(--fmw-ease), transform var(--fmw-duration) var(--fmw-ease);
}

.fmw-reels__close:hover,
.fmw-reels__step:hover {
  background: var(--fmw-orange);
  border-color: var(--fmw-orange);
  transform: scale(1.06);
}

.fmw-reels__close {
  position: absolute;
  top: -3.25rem;
  right: 0;
  width: 44px;
  height: 44px;
  z-index: 2;
}

.fmw-reels__step {
  width: 48px;
  height: 48px;
  flex: none;
}

@media (max-width: 720px) {
  .fmw-reels__step {
    display: none;
  }

  .fmw-reels__close {
    top: -3rem;
    right: 50%;
    transform: translateX(50%);
  }

  .fmw-reels__close:hover {
    transform: translateX(50%) scale(1.06);
  }

  .fmw-reels__frame {
    height: min(640px, 68vh);
  }
}

@media (prefers-reduced-motion: reduce) {
  .fmw-reel__card,
  .fmw-reel__cover,
  .fmw-reel__play,
  .fmw-reels__backdrop,
  .fmw-reels__dialog,
  .fmw-home-reels__live {
    transition: none;
    animation: none;
  }

  .fmw-reel__card:hover {
    transform: none;
  }
}

.fmw-home-certs {
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(78, 150, 17, 0.06), transparent 60%),
    var(--fmw-offwhite);
}

.fmw-home-certs__inner {
  text-align: center;
}

.fmw-home-certs .fmw-section-header {
  max-width: 44rem;
}

.fmw-home-certs__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin: 2.75rem 0;
}

.fmw-home-certs__stats > div {
  padding: 1.5rem 1rem;
  background: #fff;
  border-radius: var(--fmw-radius);
  border: 1px solid var(--fmw-line);
  box-shadow: var(--fmw-shadow);
}

.fmw-home-certs__stats strong {
  display: block;
  font-family: var(--fmw-font-display);
  font-size: clamp(2rem, 4vw, 2.85rem);
  color: var(--fmw-green);
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.fmw-home-certs__stats span {
  font-size: 0.8rem;
  color: var(--fmw-muted);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.fmw-home-certs__logos {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 2.25rem;
  align-items: center;
  margin: 2rem 0;
  padding: 0;
}

.fmw-home-certs__logos img {
  max-height: 56px;
  width: auto;
  opacity: 0.85;
  filter: grayscale(0.15);
}

@media (max-width: 640px) {
  .fmw-home-certs__stats {
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
  }
}

.fmw-home-final {
  padding: var(--fmw-section-y) 0;
}

.fmw-home-final .fmw-cta-banner__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.fmw-home-final h2 {
  font-size: clamp(1.65rem, 3.2vw, 2.45rem);
  text-wrap: balance;
}

.fmw-cta-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1rem;
  justify-content: center;
}

.fmw-home-final__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.85rem;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff !important;
  font-weight: 600;
  font-size: 1.05rem;
  transition: background 0.25s;
}

.fmw-home-final__phone:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff !important;
}

@media (max-width: 480px) {
  .fmw-cta-banner__actions {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
  }

  .fmw-cta-banner__actions .fmw-btn {
    width: 100%;
  }
}

/* -------------------------------------------------------------------------- */
/* Section header polish                                                       */
/* -------------------------------------------------------------------------- */
.fmw-home-products .fmw-section-header,
.fmw-home-blog .fmw-section-header,
.fmw-home-why .fmw-section-header,
.fmw-home-founders .fmw-section-header {
  margin-bottom: 2.75rem;
}

.fmw-section__actions {
  margin-top: 2.25rem;
}

/* -------------------------------------------------------------------------- */
/* Mobile sticky bar safe spacing                                              */
/* -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .fmw-home-final {
    padding-bottom: calc(var(--fmw-section-y) + 0.5rem);
  }
}

/* -------------------------------------------------------------------------- */
/* Reduced motion                                                              */
/* -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .fmw-home-hero__media img,
  .fmw-home-hero__content,
  .fmw-home-pillars__card,
  .fmw-home-water__card,
  .fmw-home-founders__card,
  .fmw-home-warranty__card {
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }
}
