/* ============================================================
   HERO — dark, photographic, premium (mobile-first)
   Loaded after styles.css + enhance.css so it wins the cascade.
   ============================================================ */

:root { --hero-ink: #160d07; }

.hero.hero-redux {
  padding: 0;
  position: relative;
  background: var(--hero-ink);
  overflow: hidden;
  isolation: isolate;
}

/* Background photo (plain img → precise object-position + clean offline bundling) */
.hero.hero-redux .hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 28% 12%;
  z-index: 0;
}
.hero.hero-redux .hero-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(22,13,7,.42) 0%, rgba(22,13,7,.30) 24%, rgba(22,13,7,.72) 66%, rgba(22,13,7,.96) 100%),
    linear-gradient(102deg, rgba(22,13,7,.94) 0%, rgba(22,13,7,.74) 36%, rgba(22,13,7,.30) 70%, rgba(22,13,7,.06) 100%);
}

.hero.hero-redux .hero-inner {
  position: relative; z-index: 2;
  max-width: 1180px; margin: 0 auto;
  padding: clamp(22px, 5vw, 40px) 22px clamp(34px, 7vw, 60px);
  display: flex; flex-direction: column;
}

/* ---- Logo inside hero (light) ---- */
.hero.hero-redux .hero-logo {
  display: flex; align-items: center; gap: 13px; margin-bottom: clamp(22px, 5vw, 34px);
}
.hero.hero-redux .hero-logo .monogram {
  width: 46px; height: 46px; border-radius: 50%; flex: none;
  border: 1.5px solid var(--gold-soft);
  display: grid; place-items: center;
  color: #fff; font-family: var(--font-head); font-size: 22px; font-weight: 600;
}
.hero.hero-redux .hero-logo .lines { display: flex; flex-direction: column; line-height: 1.05; }
.hero.hero-redux .hero-logo .name { font-family: var(--font-head); font-size: 19px; color: #fff; font-weight: 600; white-space: nowrap; }
.hero.hero-redux .hero-logo .sub {
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold-soft); margin-top: 4px;
}

.hero.hero-redux .hero-col { max-width: 620px; }

/* ---- KIT badge (reuse .kit-badge, ensure dark contrast) ---- */
.hero.hero-redux .kit-badge {
  background: rgba(201,162,75,.14);
  border-color: rgba(201,162,75,.5);
  color: var(--gold-soft);
  margin-bottom: 18px;
}

/* ---- Headline ---- */
.hero.hero-redux h1 {
  color: #fff;
  font-size: clamp(34px, 9.2vw, 62px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0 0 18px;
}
.hero.hero-redux h1 em { color: var(--gold-soft); font-style: normal; }
.hero.hero-redux h1 em::after { display: none; }

/* ---- Subcopy ---- */
.hero.hero-redux .hero-sub {
  color: rgba(247,242,236,.82);
  font-size: clamp(15px, 2.6vw, 17px);
  line-height: 1.62;
  max-width: 480px;
  margin: 0 0 26px;
}
.hero.hero-redux .hero-sub b { color: var(--gold-soft); font-weight: 600; }

/* ---- Benefits row ---- */
.hero.hero-redux .hero-benefits {
  list-style: none; padding: 0; margin: 0 0 24px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px 8px;
}
.hero.hero-redux .hero-benefits li {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 9px;
}
.hero.hero-redux .hero-benefits svg {
  width: 27px; height: 27px; color: var(--gold-soft); stroke-width: 1.4; flex: none;
}
.hero.hero-redux .hero-benefits span {
  font-size: clamp(10.5px, 2.7vw, 13px);
  color: rgba(247,242,236,.86); font-weight: 500; line-height: 1.25;
}

/* ---- Social proof pill ---- */
.hero.hero-redux .hero-social {
  display: flex; align-items: center; gap: 14px;
  background: rgba(34,21,12,.5);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 999px; padding: 9px 20px 9px 11px;
  margin: 0 0 22px; max-width: 480px;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.hero.hero-redux .hs-avatars { display: flex; flex: none; }
.hero.hero-redux .hs-av {
  width: 36px; height: 36px; border-radius: 50%; margin-left: -11px;
  border: 2px solid #241509; overflow: hidden; flex: none;
  background: linear-gradient(140deg, #6a4a2e, #4a3320);
  display: grid; place-items: center; color: rgba(247,242,236,.7);
}
.hero.hero-redux .hs-av:first-child { margin-left: 0; }
.hero.hero-redux .hs-av svg { width: 18px; height: 18px; }
.hero.hero-redux .hs-av img { width: 100%; height: 100%; object-fit: cover; }
.hero.hero-redux .hs-body { min-width: 0; }
.hero.hero-redux .hs-stars { display: flex; gap: 2px; color: var(--gold-soft); margin-bottom: 3px; }
.hero.hero-redux .hs-stars svg { width: 15px; height: 15px; fill: currentColor; }
.hero.hero-redux .hs-text { font-size: 12.5px; color: rgba(247,242,236,.7); line-height: 1.4; }
.hero.hero-redux .hs-text b { color: #fff; font-weight: 600; }

/* ---- Offer card ---- */
.hero.hero-redux .hero-offer {
  background: rgba(30,18,10,.55);
  border: 1px solid rgba(201,162,75,.28);
  border-radius: var(--r-lg);
  padding: clamp(20px, 4.5vw, 26px);
  max-width: 480px;
  box-shadow: 0 24px 60px rgba(0,0,0,.4);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.hero.hero-redux .ho-price {
  display: flex; align-items: center; justify-content: center; gap: clamp(14px, 4vw, 26px);
  margin-bottom: 18px;
}
.hero.hero-redux .ho-was {
  color: rgba(247,242,236,.55); text-decoration: line-through;
  font-size: 16px; letter-spacing: .02em;
}
.hero.hero-redux .ho-sep { width: 1px; align-self: stretch; background: rgba(201,162,75,.35); }
.hero.hero-redux .ho-now-wrap { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.hero.hero-redux .ho-lab {
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(247,242,236,.65); margin-bottom: 6px;
}
.hero.hero-redux .ho-now {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(36px, 9vw, 46px); color: var(--gold-soft); line-height: 1;
}
.hero.hero-redux .ho-now small { font-size: .5em; font-weight: 600; vertical-align: baseline; margin-right: 2px; }
.hero.hero-redux .hero-offer .btn { width: 100%; }
.hero.hero-redux .ho-note {
  text-align: center; color: rgba(247,242,236,.66); font-size: 13px; margin-top: 13px;
}

/* ---- Gold CTA ---- */
.btn.btn-gold {
  background: linear-gradient(135deg, #ECCB73 0%, #C9A24B 58%, #B68C38 100%);
  color: #3a1c08; font-weight: 700;
  box-shadow: 0 16px 34px rgba(176,136,60,.40);
}
.btn.btn-gold svg { color: #3a1c08; }
.btn.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 22px 48px rgba(176,136,60,.52); }

/* ============================================================
   TOPBAR — hidden over hero, slides in solid after scroll
   ============================================================ */
.topbar {
  transform: translateY(-102%);
  opacity: 0; pointer-events: none;
  background: rgba(247,242,236,.9);
  box-shadow: var(--shadow-sm);
  transition: transform .45s cubic-bezier(.2,.8,.2,1), opacity .35s;
}
.topbar.solid { transform: none; opacity: 1; pointer-events: auto; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 360px) {
  .hero.hero-redux .hero-benefits { grid-template-columns: repeat(2, 1fr); gap: 16px 10px; }
}

@media (min-width: 760px) {
  /* Pin the photo to the right region so cover-crop has horizontal slack and
     the doctor occupies the right half — headline column gets a clean dark left. */
  .hero.hero-redux .hero-bg-img {
    left: auto; right: 0; width: 58%;
    object-position: center 12%;
  }
  .hero.hero-redux .hero-scrim {
    background:
      linear-gradient(180deg, rgba(22,13,7,.22) 0%, rgba(22,13,7,.06) 38%, rgba(22,13,7,.50) 100%),
      linear-gradient(90deg, var(--hero-ink) 0%, var(--hero-ink) 40%, rgba(22,13,7,.55) 52%, rgba(22,13,7,.10) 66%, rgba(22,13,7,0) 80%);
  }
  .hero.hero-redux .hero-col { max-width: 56%; }
}

@media (min-width: 980px) {
  .hero.hero-redux .hero-inner { padding: 132px 40px 84px; min-height: 88vh; justify-content: center; }
  .hero.hero-redux .hero-logo { position: absolute; top: 36px; left: 40px; margin: 0; }
  .hero.hero-redux .hero-bg-img { width: 54%; object-position: center 14%; }
  .hero.hero-redux .hero-col { max-width: 600px; }
  .hero.hero-redux h1 { font-size: clamp(44px, 4.4vw, 60px); }
  .hero.hero-redux .hero-benefits { max-width: 520px; }
}

@media (min-width: 1240px) {
  .hero.hero-redux .hero-bg-img { width: 50%; }
}
