/* H2 Pure Life — What Is Hydrogen Therapy page styles
 * Loaded after base.css, nav.css, footer.css.
 * Page-specific styling for /what-is-hydrogen-therapy/.
 * Structurally mirrors use-cases.css; class prefix `wiht-`.
 */

section[id] { scroll-margin-top: 90px; }

/* ------------------------------------------------------------------ */
/* HERO                                                                */
/* ------------------------------------------------------------------ */
.wiht-hero {
  position: relative;
  isolation: isolate;
  min-height: 64vh;
  display: flex;
  align-items: center;
  background: var(--dark);
  color: var(--white);
  padding: clamp(120px, 16vw, 200px) 0 clamp(80px, 10vw, 140px);
  overflow: hidden;
}
.wiht-hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('/assets/img/what-is-hydrogen-therapy/hero.jpg');
  background-size: cover;
  background-position: center;
  z-index: -2;
}
.wiht-hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,31,31,0.78) 0%, rgba(10,31,31,0.62) 50%, rgba(10,31,31,0.86) 100%);
  z-index: -1;
}
.wiht-hero__inner { max-width: 880px; }
.wiht-hero__eyebrow { color: var(--teal); }
.wiht-hero__h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 5.4vw, 4.2rem);
  margin: 0 0 0.4em;
  letter-spacing: -0.015em;
}
.wiht-hero__h1 em { color: var(--teal); }
.wiht-hero__sub {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.55;
  color: rgba(255,255,255,0.86);
  max-width: 660px;
  margin: 0;
}

/* ------------------------------------------------------------------ */
/* LEAD PARAGRAPHS                                                     */
/* ------------------------------------------------------------------ */
.wiht-lead { background: #FFFFFF; }
.wiht-lead p {
  font-size: clamp(1.05rem, 1.3vw, 1.18rem);
  line-height: 1.72;
  color: var(--ink-soft);
}
.wiht-lead p:first-of-type {
  font-size: clamp(1.15rem, 1.6vw, 1.32rem);
  color: var(--ink);
  line-height: 1.6;
}

/* ------------------------------------------------------------------ */
/* CONTENT SECTIONS (alternating, image + body grid)                   */
/* ------------------------------------------------------------------ */
.wiht-section { background: #FFFFFF; }
.wiht-section.section--dark { background: var(--dark); }

.wiht-section__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}
.wiht-section--media-right .wiht-section__grid { direction: rtl; }
.wiht-section--media-right .wiht-section__grid > * { direction: ltr; }

.wiht-section__media {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(10,31,31,0.45);
}
.wiht-section:not(.section--dark) .wiht-section__media {
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}
.wiht-section__media img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  max-height: 560px;
  object-fit: cover;
  display: block;
}

.wiht-section__body { max-width: 560px; }
.wiht-section__body h2 {
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  margin: 0 0 14px;
  letter-spacing: -0.015em;
}
.wiht-section.section--dark .wiht-section__body h2 { color: var(--white); }
.wiht-section.section--dark .wiht-section__body h2 em { color: var(--teal); }
.wiht-section__body .eyebrow { margin-bottom: 18px; }
.wiht-section.section--dark .wiht-section__body .eyebrow { color: var(--teal); }
.wiht-section__body p {
  font-size: 1.02rem;
  line-height: 1.7;
}
.wiht-section:not(.section--dark) .wiht-section__body p { color: var(--ink-soft); }
.wiht-section.section--dark .wiht-section__body p { color: rgba(255,255,255,0.86); }

/* ------------------------------------------------------------------ */
/* STYLED LIST (bulletless, bold lead-in)                              */
/* ------------------------------------------------------------------ */
.wiht-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.wiht-list li {
  font-size: 1.02rem;
  line-height: 1.65;
  padding-left: 18px;
  border-left: 2px solid var(--line);
}
.wiht-section.section--dark .wiht-list li {
  border-left-color: rgba(0,230,204,0.35);
  color: rgba(255,255,255,0.86);
}
.wiht-section:not(.section--dark) .wiht-list li { color: var(--ink-soft); }
.wiht-list strong {
  display: inline;
  font-weight: 600;
  color: var(--ink);
  margin-right: 4px;
}
.wiht-section.section--dark .wiht-list strong { color: var(--white); }

/* Mobile stack */
@media (max-width: 820px) {
  .wiht-section__grid,
  .wiht-section--media-right .wiht-section__grid {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 32px;
  }
  .wiht-section__media img {
    min-height: 280px;
    max-height: 420px;
  }
}

/* ------------------------------------------------------------------ */
/* CTA — Teal Bubbles                                                  */
/* ------------------------------------------------------------------ */
.wiht-cta {
  position: relative;
  isolation: isolate;
  padding: clamp(80px, 11vw, 140px) 0;
  color: var(--white);
  overflow: hidden;
}
.wiht-cta__bg {
  position: absolute;
  inset: 0;
  background-image: url('/assets/img/pages/use-cases/teal-bubbles.jpg');
  background-size: cover;
  background-position: center;
  z-index: -2;
}
.wiht-cta__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,31,31,0.94) 0%, rgba(10,31,31,0.78) 45%, rgba(10,31,31,0.55) 100%);
  z-index: -1;
}
.wiht-cta__inner { max-width: 760px; text-align: left; }
.wiht-cta__eyebrow { color: var(--teal); }
.wiht-cta h2 {
  color: var(--white);
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  margin: 0 0 0.5em;
  letter-spacing: -0.015em;
}
.wiht-cta h2 em { color: var(--teal); }
.wiht-cta__body p {
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  line-height: 1.65;
  color: rgba(255,255,255,0.86);
}
.wiht-cta__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0 0;
}

/* ------------------------------------------------------------------ */
/* CLOSING NOTE + REFERENCES                                            */
/* ------------------------------------------------------------------ */
.wiht-closing { background: #FFFFFF; }
.wiht-closing__eyebrow { color: var(--teal-readable); }
.wiht-closing__h3 {
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  font-weight: 500;
  margin: 0 0 18px;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.wiht-closing p {
  font-size: 1.0rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

.wiht-refs {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.wiht-refs__heading {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--teal-readable);
  margin: 0 0 14px;
}
.wiht-refs__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.wiht-refs__list li {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--ink-mute);
}
.wiht-refs__list cite { font-style: italic; }
.wiht-refs__list a {
  color: var(--teal-readable);
  text-decoration: none;
  border-bottom: 1px dotted rgba(0,122,106,0.35);
  padding-bottom: 1px;
}
.wiht-refs__list a:hover {
  color: var(--teal-deep);
  border-bottom-color: var(--teal-deep);
}
