/**
 * Health — Hydrogen Rich Alkaline Water page.
 *
 * @package FMW
 */

.fmw-health {
  --fmw-health-blue: var(--fmw-blue);
  --fmw-health-green: var(--fmw-green);
  --fmw-health-surface: #f3f9fc;
  background: var(--fmw-white);
}

.fmw-health-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(4.5rem, 8vw, 7.5rem) 0;
  background:
    radial-gradient(circle at 90% 12%, rgba(21, 121, 197, 0.16), transparent 34%),
    radial-gradient(circle at 5% 90%, rgba(78, 150, 17, 0.12), transparent 30%),
    linear-gradient(135deg, #f7fcff 0%, #f4faef 100%);
}

.fmw-health-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -12rem;
  right: -9rem;
  width: 32rem;
  height: 32rem;
  border: 1px solid rgba(21, 121, 197, 0.14);
  border-radius: 50%;
}

.fmw-health-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.88fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

.fmw-health-hero__content {
  max-width: 44rem;
}

.fmw-health-hero h1 {
  max-width: 14ch;
  margin-bottom: 1.25rem;
  font-size: clamp(2.1rem, 4.2vw, 3.5rem);
  line-height: 1.08;
}

.fmw-health-hero__text {
  max-width: 42rem;
  margin-bottom: 1.75rem;
}

.fmw-health-hero__text p {
  color: var(--fmw-muted);
  font-size: clamp(1.025rem, 1.6vw, 1.2rem);
}

.fmw-health-hero__text p:last-child {
  margin-bottom: 0;
}

.fmw-health-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.fmw-health-hero__note {
  margin: 1rem 0 0;
  color: var(--fmw-muted);
  font-size: 0.8rem;
}

.fmw-health-hero__visual {
  position: relative;
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 37% 32%, rgba(255, 255, 255, 0.95), transparent 8%),
    radial-gradient(circle at 50% 50%, rgba(21, 121, 197, 0.14), rgba(78, 150, 17, 0.07) 55%, transparent 72%);
}

.fmw-health-hero__orb {
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.fmw-health-hero__orb--outer {
  width: 82%;
  aspect-ratio: 1;
  border: 1px solid rgba(21, 121, 197, 0.18);
  background: rgba(255, 255, 255, 0.38);
  box-shadow: 0 30px 70px rgba(21, 121, 197, 0.13);
  backdrop-filter: blur(8px);
}

.fmw-health-hero__orb--middle {
  width: 72%;
  aspect-ratio: 1;
  border: 1px solid rgba(78, 150, 17, 0.16);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(21, 121, 197, 0.08));
}

.fmw-health-hero__orb--inner {
  width: 58%;
  aspect-ratio: 1;
  background: linear-gradient(145deg, var(--fmw-blue), #50b8db);
  color: #fff;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.5), 0 20px 45px rgba(21, 121, 197, 0.25);
}

.fmw-health-hero__bubble {
  position: absolute;
  display: block;
  border: 1px solid rgba(21, 121, 197, 0.25);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: inset 0 0 12px rgba(21, 121, 197, 0.1);
}

.fmw-health-hero__bubble--one {
  top: 12%;
  right: 12%;
  width: 2.75rem;
  height: 2.75rem;
}

.fmw-health-hero__bubble--two {
  bottom: 17%;
  left: 6%;
  width: 1.75rem;
  height: 1.75rem;
}

.fmw-health-hero__bubble--three {
  top: 30%;
  left: 5%;
  width: 1rem;
  height: 1rem;
}

.fmw-health-nav {
  position: relative;
  z-index: 4;
  border-block: 1px solid var(--fmw-line-soft);
  background: rgba(255, 255, 255, 0.96);
}

.fmw-health-nav ul {
  display: flex;
  gap: 0.6rem;
  margin: 0;
  padding: 0.85rem 0;
  overflow-x: auto;
  list-style: none;
  scrollbar-width: thin;
  overscroll-behavior-inline: contain;
}

.fmw-health-nav li {
  flex: 0 0 auto;
}

.fmw-health-nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--fmw-line);
  border-radius: 999px;
  background: var(--fmw-offwhite);
  color: var(--fmw-charcoal);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.fmw-health-nav a:hover {
  border-color: var(--fmw-blue);
  background: var(--fmw-blue-soft);
  color: var(--fmw-navy);
}

.fmw-health-benefits {
  counter-reset: health-section;
}

.fmw-health-section {
  scroll-margin-top: calc(var(--fmw-header-h) + 1rem);
  padding: clamp(4.75rem, 8vw, 8rem) 0;
  background: var(--fmw-white);
}

.fmw-health-section:nth-child(even) {
  background:
    radial-gradient(circle at 100% 0%, rgba(21, 121, 197, 0.06), transparent 27rem),
    var(--fmw-health-surface);
}

.fmw-health-section__intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.92fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}

.fmw-health-section--reverse .fmw-health-section__content {
  order: 2;
}

.fmw-health-section--reverse .fmw-health-section__media {
  order: 1;
}

.fmw-health-section__content .fmw-eyebrow {
  display: inline-flex;
  align-items: center;
}

.fmw-health-section__content h2 {
  max-width: 16ch;
  margin-bottom: 1.15rem;
  font-size: clamp(1.65rem, 3.2vw, 2.65rem);
}

.fmw-health-section__text {
  max-width: 46rem;
}

.fmw-health-section__text p {
  margin: 0 0 1rem;
  color: var(--fmw-muted);
  font-size: 1rem;
  line-height: 1.85;
}

.fmw-health-section__text p:last-child {
  margin-bottom: 0;
}

.fmw-health-section__media {
  position: relative;
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--fmw-line);
  border-radius: var(--fmw-radius-lg);
  background: var(--fmw-offwhite);
  box-shadow: var(--fmw-shadow-hover);
}

.fmw-health-section__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: inherit;
  pointer-events: none;
}

.fmw-health-section__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms var(--fmw-ease);
}

.fmw-health-section__media:hover img {
  transform: scale(1.025);
}

.fmw-health-points {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: clamp(2.5rem, 5vw, 4.5rem) 0 0;
  padding: 0;
  list-style: none;
}

.fmw-health-point {
  position: relative;
  min-height: 100%;
  padding: 1.35rem;
  overflow: hidden;
  border: 1px solid var(--fmw-line);
  border-radius: var(--fmw-radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 28px rgba(12, 22, 34, 0.05);
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.fmw-health-point:hover {
  border-color: rgba(21, 121, 197, 0.3);
  box-shadow: 0 14px 36px rgba(12, 22, 34, 0.09);
}

.fmw-health-point h3 {
  margin-bottom: 0.45rem;
  font-size: 1.05rem;
  line-height: 1.35;
}

.fmw-health-point__text p {
  margin: 0 0 0.65rem;
  color: var(--fmw-muted);
  font-size: 0.875rem;
  line-height: 1.65;
}

.fmw-health-point__text p:last-child {
  margin-bottom: 0;
}

.fmw-health-disclaimer {
  padding: 2rem 0;
  border-block: 1px solid rgba(240, 126, 53, 0.2);
  background: #fff8f2;
}

.fmw-health-disclaimer__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  max-width: 62rem;
}

.fmw-health-disclaimer__inner > div:first-child {
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border-radius: 50%;
  background: rgba(240, 126, 53, 0.12);
  color: var(--fmw-orange);
}

.fmw-health-disclaimer h2 {
  margin-bottom: 0.35rem;
  font-size: 1.1rem;
}

.fmw-health-disclaimer__text p {
  margin: 0 0 0.75rem;
  color: var(--fmw-muted);
  font-size: 0.84rem;
  line-height: 1.7;
}

.fmw-health-disclaimer__text p:last-child {
  margin-bottom: 0;
}

@media (max-width: 1024px) {
  .fmw-health-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .fmw-health-hero__inner,
  .fmw-health-section__intro {
    grid-template-columns: 1fr;
  }

  .fmw-health-hero__visual {
    width: min(100%, 36rem);
    margin-inline: auto;
  }

  .fmw-health-section--reverse .fmw-health-section__content,
  .fmw-health-section--reverse .fmw-health-section__media {
    order: initial;
  }

  .fmw-health-section__media {
    order: -1 !important;
  }
}

@media (max-width: 560px) {
  .fmw-health-hero {
    padding: 3.75rem 0;
  }

  .fmw-health-hero h1 {
    font-size: clamp(2rem, 8vw, 2.75rem);
  }

  .fmw-health-hero__actions {
    flex-direction: column;
  }

  .fmw-health-hero__actions .fmw-btn {
    width: 100%;
  }

  .fmw-health-section {
    padding: 4rem 0;
  }

  .fmw-health-section__intro {
    gap: 1.75rem;
  }

  .fmw-health-section__media {
    aspect-ratio: 4 / 3;
    border-radius: var(--fmw-radius);
  }

  .fmw-health-points {
    grid-template-columns: 1fr;
    margin-top: 2rem;
  }

  .fmw-health-point {
    padding: 1.15rem;
  }

  .fmw-health-disclaimer__inner {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fmw-health-section__media img {
    transition: none;
  }
}
