/* =========================================================
   Dr. Austin — Home Page Styles
   Visual reference: MaeLuxe-style wellness site
   Tokens · Reset · Header · Hero · Sections · Footer · Responsive
   ========================================================= */

:root {
  /* Brand palette */
  --ink:        #233563;
  --ink-2:      #1a2a55;
  --navy:       #152b63;
  --navy-deep:  #0e1f4a;
  --muted:      #6c7894;
  --muted-2:    #8a93a8;
  --soft:       #f7f8fb;
  --cream:      #fff8dc;
  --cream-2:    #fff6ca;
  --line:       #e4e7ee;
  --line-2:     #f0f1f4;

  --yellow:        #ffe985;
  --yellow-strong: #ffd12c;
  --yellow-soft:   #fff1a8;

  --rust:   #e36d52;
  --green:  #51a553;
  --teal:   #4e83a2;
  --slate:  #5978ab;

  --white:   #ffffff;
  --black:   #0a1230;

  --shadow-sm: 0 6px 22px rgba(31, 45, 85, 0.06);
  --shadow:    0 22px 70px rgba(31, 45, 85, 0.10);
  --shadow-lg: 0 40px 90px rgba(31, 45, 85, 0.16);

  --container: min(1440px, calc(100vw - 64px));
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 18px;
  --r-pill: 999px;

  --font-sans: "Inter", "Aptos", "Segoe UI", Arial, sans-serif;
  --font-serif: "DM Serif Display", Georgia, "Times New Roman", serif;
}

/* =========================================================
   Reset
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main { overflow: hidden; }
main > section:not(.hero):not(.ask) { margin-bottom: 0; }

a { color: inherit; text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--navy); }

img { display: block; max-width: 100%; }

button, input, textarea {
  font: inherit;
  color: inherit;
}

button { cursor: pointer; border: 0; background: none; }

ul { list-style: none; padding: 0; margin: 0; }

svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

.pb-0 { padding-bottom: 0 !important; }

/* =========================================================
   Promo bar
   ========================================================= */
.promo {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--yellow);
  color: #2f3f63;
  font-size: 13px;
  letter-spacing: 0.01em;
  overflow: hidden;
}

/* Rotating promo copy — all items share one grid cell */
.promo-track { display: grid; }
.promo-item {
  grid-area: 1 / 1;
  margin: 0;
  padding: 0 16px;
  text-align: center;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .5s ease, transform .5s ease;
  pointer-events: none;
}
.promo-item.is-active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.promo a { font-weight: 700; color: var(--navy); }
.promo a:hover { color: var(--navy-deep); text-decoration: underline; }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line-2);
}

.nav-shell {
  width: var(--container);
  height: 84px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 48px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--font-sans);
  font-size: 32px;
  line-height: 1;
  letter-spacing: -0.06em;
  color: #6d7090;
}
.brand img{ height: 40px;}
.brand .brand-mark { color: var(--yellow-strong); font-weight: 900; }
.brand .brand-name { font-weight: 600; color: #6d7090; }
.brand:hover { color: inherit; }

.nav-links {
  display: flex;
  gap: 50px;
  margin-right: auto;
  font-size: 14px;
  font-weight: 700;
  color: #4a5677;
}
.nav-links a {
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--yellow-strong);
  transition: width .25s ease, left .25s ease;
}
.nav-links a:hover::after { width: 100%; left: 0; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Header search */
.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 208px;
  height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--soft);
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.header-search:focus-within {
  background: var(--white);
  border-color: var(--yellow-strong);
  box-shadow: 0 0 0 3px rgba(255, 209, 44, 0.28);
}
.header-search svg {
  width: 15px;
  height: 15px;
  flex: none;
  color: #98a1b5;
  stroke-width: 2.6;
}
.header-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 12.5px;
}
.header-search input::placeholder { color: #9aa2b6; }
.header-search input::-webkit-search-cancel-button { -webkit-appearance: none; }

.icon-btn {
  position: relative;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  transition: transform .2s ease, background .2s ease;
}
.icon-btn:hover { background: var(--navy-deep); transform: translateY(-1px); }
.icon-btn svg { width: 16px; height: 16px; }
.icon-btn.cart { background: var(--yellow); color: var(--ink); }
.icon-btn.cart:hover { background: var(--yellow-strong); }
.cart-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--rust);
  color: var(--white);
  font-size: 10px;
  font-weight: 600;
  display: grid;
  place-items: center;
}

.cta-pill {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 22px;
  border-radius: var(--r-pill);
  background: var(--yellow);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 14px rgba(255, 209, 44, 0.32);
  transition: transform .2s ease, box-shadow .2s ease;
}
.cta-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(255, 209, 44, 0.42);
  color: var(--ink);
}

/* =========================================================
   Nav dropdowns
   ========================================================= */
.nav-links li { position: relative; }
.has-menu > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.nav-caret {
  width: 11px;
  height: 11px;
  color: #7c88a6;
  transition: transform .25s ease;
}
.has-menu:hover > a .nav-caret,
.has-menu:focus-within > a .nav-caret,
.has-menu.open > a .nav-caret {
  transform: rotate(180deg);
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  min-width: 210px;
  padding: 10px 0;
  background: var(--white);
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  box-shadow: var(--shadow);
  transform: translateX(-50%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  /* No transition on the panel: opacity/visibility transitions from a
     `visibility: hidden` start state can stall in some engines, leaving
     the menu stuck closed on hover. Instant show/hide is bulletproof. */
  z-index: 60;
}
/* Transparent bridge: keeps the hover state alive while the cursor
   travels from the nav link into the panel (no dead zone). */
.dropdown::before {
  content: "";
  position: absolute;
  top: -10px;
  left: -14px;
  right: -14px;
  height: 12px;
}
.dropdown a {
  display: block;
  padding: 9px 22px;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 600;
  color: #4a5677;
  transition: color .15s ease, background .15s ease;
}
.dropdown a:hover {
  color: var(--navy);
  background: var(--soft);
}

@media (min-width: 901px) {
  .has-menu:hover > .dropdown,
  .has-menu:focus-within > .dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  min-height: 760px;
  background: var(--cream);
  overflow: hidden;
}

/* --- Carousel -------------------------------------------------
   All slides stack in a single grid cell so the section height
   is driven by the tallest slide and stays responsive.        */
.hero-slides { display: grid; }
.hero-slide {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .7s ease, transform .9s ease, visibility .7s ease;
  transform: scale(1.015);
}
.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

/* Arrows */
.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.78);
  color: var(--navy);
  box-shadow: var(--shadow-sm);
  transition: background .2s ease, transform .2s ease, color .2s ease;
}
.hero-arrow:hover { background: var(--white); color: var(--navy-deep); }
.hero-arrow.prev { left: 26px; }
.hero-arrow.next { right: 26px; }
.hero-arrow svg { width: 18px; height: 18px; stroke-width: 2.8; }
.hero-arrow.prev:hover { transform: translateY(-50%) translateX(-2px); }
.hero-arrow.next:hover { transform: translateY(-50%) translateX(2px); }

/* Dots */
.hero-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 54px;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 10px;
}
.hero-dot {
  width: 30px;
  height: 4px;
  border-radius: var(--r-pill);
  background: rgba(21, 43, 99, 0.18);
  transition: background .25s ease, width .25s ease;
}
.hero-dot:hover { background: rgba(21, 43, 99, 0.35); }
.hero-dot.is-active {
  width: 46px;
  background: var(--navy);
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: opacity .01s linear; }
}

.hero-video {
  grid-column: 1 / -1;
  position: relative;
  min-height: 760px;
  overflow: hidden;
}
.hero-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-video .hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 0 8% 0;
  color: var(--white);
  pointer-events: none;
}
.hero-rotate-line {
  margin: 0 0 20px;
  max-width: 560px;
  color: rgba(255, 255, 255, 0.92);
  font-family: "DM Serif Display", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: 30px;
  line-height: 1.7;
  text-shadow: 0 1px 12px rgba(15, 25, 50, 0.5);
}
.hero-rotate-line .word-rotate {
  display: inline-block;
  font-style: italic;
  transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
}
.hero-rotate-line .word-rotate.is-hidden {
  opacity: 0;
  transform: translateY(24px);
}
.hero-overlay-sub {
  margin: 0;  
  font-size: clamp(28px, 4.6vw, 52px);
  line-height: 1.3;
  text-shadow: 0 2px 18px rgba(15, 25, 50, 0.55);
}

.hero-image {
  background-image: var(--hero-img, url("../images/hero.jpg"));
  background-size: cover;
  background-position: center;
}

.hero-copy {
  padding: 140px 64px 0 80px;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 22px;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.7);
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero-eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rust);
}

.hero-copy h1 {
  margin: 0 0 20px;
  font-family: var(--font-serif);
  color: var(--ink);
  font-size: clamp(40px, 4.2vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 400;
}
.hero-copy h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--navy);
}

.hero-sub {
  margin: 0 0 38px;
  font-family: var(--font-serif);
  font-style: italic;
  color: #4f5e82;
  font-size: clamp(20px, 1.4vw, 28px);
  font-weight: 400;
  max-width: 460px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 28px;
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn-dark {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(21, 43, 99, 0.22);
}
.btn-dark:hover { background: var(--navy-deep); color: var(--white); }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }

/* =========================================================
   Section utilities
   ========================================================= */
.section-pad {
  width: var(--container);
  margin: 0 auto;
  padding: 120px 0;
}

h2 {
  margin: 0;
  text-align: center;
  color: var(--ink);
  font-size: clamp(28px, 2.2vw, 44px);
  font-weight: 600;
  line-height: 1.2;
}
h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--ink);
}

.micro {
  max-width: 800px;
  margin: 18px auto;
  color: #97a0b4;
  text-align: center;
  font-size: 12px;
  line-height: 1.85;
  letter-spacing: 0.01em;
}
.script {
  margin-bottom: 6px;
  color: #7b83a0;
  font-family: var(--font-serif);
  font-size: 17px;
  font-style: italic;
  text-transform: none;
}

/* =========================================================
   Why Us
   ========================================================= */
.why { padding: 118px 0 92px; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-top: 64px;
}
.why-grid article,
.feature-grid article {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.why-grid article svg {
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  color: #637191;
}
.why-grid span {
  color: #324368;
  font-size: 13px;
  font-weight: 700;
}

/* =========================================================
   Journey
   ========================================================= */
.journey { padding: 50px 0 80px; }
.stage-grid {
  width: min(1560px, calc(100vw - 64px));
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 32px;
  margin-top: 56px;
  margin-left: 50%;
  transform: translateX(-50%);
}
.stage-grid a {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: var(--r-md);
  transition: transform .25s ease;
}
.stage-grid a:hover { transform: translateY(-4px); }
.stage-grid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.stage-grid span {
  display: block;
  margin-top: 18px;
  text-align: center;
  color: #2c3a5e;
  font-size: 13px;
  font-weight: 700;
}

/* =========================================================
   Shop bestsellers
   ========================================================= */
.products { padding: 50px 0 80px; }
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 56px;
}
.product-card {
  border-radius: var(--r-md);
  padding: 24px 24px 22px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.product-media {
  background: var(--yellow-soft);
  border-radius: var(--r-sm);
  overflow: hidden;
  margin-bottom: 22px;
}
.product-media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.product-card h3 {
  min-height: 48px;
  margin: 0 0 18px;
  color: #43537b;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}
.buy-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.buy-row strong {
  color: #1d2d59;
  font-size: 17px;
  font-weight: 600;
}
.buy-row button {
  min-width: 56px;
  height: 32px;
  padding: 0 14px;
  border-radius: var(--r-pill);
  background: var(--yellow);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  transition: background .2s ease, transform .2s ease;
}
.buy-row button:hover { background: var(--yellow-strong); transform: scale(1.04); }

/* =========================================================
   Made with you in mind
   ========================================================= */
.made { padding: 120px 0 144px; }
.made h2 { margin-bottom: 22px; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 96px;
  margin-top: 56px;
}
.feature-grid article svg {
  width: 76px;
  height: 76px;
  margin: 0 auto 22px;
  color: #5e6f93;
}
.feature-grid h3 {
  margin: 0 0 14px;
  color: #2c3a5e;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.feature-grid p {
  margin: 0;
  color: #7d869c;
  font-size: 13px;
  line-height: 1.8;
}

/* =========================================================
   Ask Dr. Austin
   ========================================================= */
.ask {
  width: var(--container);
  margin: 56px auto 0;
}
.ask-card {
  overflow: hidden;
  border: 2px solid #f5ca33;
  border-radius: var(--r-lg);
  background: linear-gradient(90deg, var(--cream-2) 0 43%, #fff 43% 100%);
  box-shadow: var(--shadow);
}

.ask-head {
  min-height: 76px;
  padding: 22px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(90deg, #ffeb85 0%, #ffd94a 100%);
}
.ask-head h2 {
  text-align: left;
  font-size: 32px;
  font-weight: 600;
}
.ask-head h2::before {
  content: "✦";
  margin-right: 12px;
  color: var(--ink);
}
.ask-tag {
  display: block;
  margin-top: 4px;
  color: #4d5a7a;
  font-size: 12px;
  font-weight: 700;
}
.ask-status {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.6);
  color: var(--ink);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.ask-body {
  display: grid;
  grid-template-columns: 43% 57%;
}
.ask-info { padding: 56px 56px 44px; }
.ask-info h3 {
  margin: 0 0 22px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.45;
}
.ask-info p {
  margin: 0;
  color: #7d869c;
  font-size: 13px;
  line-height: 1.75;
}
.ask-info ul {
  margin: 26px 0;
}
.ask-info li {
  position: relative;
  padding: 8px 0 8px 30px;
  color: #4d5a7a;
  font-size: 13px;
  line-height: 1.5;
}
.ask-info li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 8px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--rust);
  color: var(--white);
  font-size: 11px;
  font-weight: 900;
}

.wide-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 50px;
  margin-top: 8px;
  padding: 0 18px;
  border-radius: var(--r-sm);
  background: var(--navy);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background .2s ease, transform .2s ease;
}
.wide-button:hover { background: var(--navy-deep); transform: translateY(-1px); }

.ask-info small {
  display: block;
  margin-top: 28px;
  color: #97a0b4;
  font-size: 10px;
  letter-spacing: 0.16em;
  line-height: 1.7;
}

.chat-panel {
  padding: 42px 52px;
  background: var(--white);
}
.chat-title {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 26px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 600;
}
.chat-title span {
  color: #9099ad;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.bubble {
  max-width: 92%;
  padding: 16px 22px;
  border-radius: 20px;
  font-size: 13px;
  line-height: 1.65;
}
.bubble.soft {
  margin-bottom: 18px;
  background: #fff8dc;
  color: #6f7690;
}
.bubble.dark {
  margin: 22px 0 22px auto;
  background: var(--navy);
  color: var(--white);
}

.quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}
.quick-replies button {
  padding: 7px 14px;
  border: 1px solid #f1d151;
  border-radius: var(--r-pill);
  background: #fff;
  color: #555f7a;
  font-size: 11px;
  font-weight: 700;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.quick-replies button:hover {
  background: var(--yellow);
  border-color: var(--yellow-strong);
  color: var(--ink);
}

.chat-input {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  padding: 6px 6px 6px 20px;
  border: 1px solid #edf0f4;
  border-radius: var(--r-pill);
  background: var(--white);
}
.chat-input input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
}
.chat-input button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  transition: transform .2s ease, background .2s ease;
}
.chat-input button:hover {
  background: var(--yellow-strong);
  transform: scale(1.06);
}
.chat-input button svg {
  width: 16px;
  height: 16px;
  stroke-width: 2.6;
}

/* =========================================================
   Glow section (Ingredients)
   ========================================================= */
.glow {
  width: 100%;
  padding: 80px 0 130px;
  background: radial-gradient(circle at 50% 6%, rgba(255, 233, 133, 0.5), rgba(255, 255, 255, 0) 50%),
    var(--white);
}
.glow > * { width: var(--container); margin-left: auto; margin-right: auto; }
.glow-2 {
  width: 100%;
  padding: 80px 0;
  background: radial-gradient(circle at 50% 6%, rgba(255, 233, 133, 0.5), rgba(255, 255, 255, 0) 100%),
    var(--white);
}
.glow-2 > * { width: var(--container); margin-left: auto; margin-right: auto; }
.ingredients h2 { line-height: 1.32; }
.primary {
  display: block;
  width: fit-content;
  margin: 30px auto 0;
  padding: 14px 36px;
  border-radius: var(--r-pill);
  background: var(--navy);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background .2s ease, transform .2s ease;
}
.primary:hover { background: var(--navy-deep); transform: translateY(-1px); color: var(--white); }

.image-row {
  display: grid;
  gap: 42px;
  margin-top: 64px;
}
.image-row.three,
.image-row.doctors {
  grid-template-columns: repeat(3, 1fr);
}
.image-row img {
  width: 100%;
  object-fit: cover;
  border-radius: var(--r-sm);
}
.image-row.three img { aspect-ratio: 4 / 3; }
.image-row.three span {
  display: block;
  margin-top: 18px;
  color: #4a587a;
  font-size: 14px;
  font-weight: 700;
}

/* =========================================================
   Experts
   ========================================================= */
.experts { padding: 50px 0; }
.doctors img { aspect-ratio: 5 / 6; }
.doctors h3 {
  margin: 26px 0 6px;
  color: #2c3a5e;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}
.doctors h3 span {
  display: block;
  margin-top: 2px;
  color: #7d869c;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.doctors p {
  margin: 0;
  color: #97a0b4;
  font-size: 12px;
}

/* =========================================================
   Pharmacies
   ========================================================= */
.pharmacies { padding: 80px 0; }
.section-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
  text-align: center;
}
.section-title-row p:not(.micro) {
  margin: 18px auto 0;
  color: #7d869c;
  font-size: 13px;
  line-height: 1.7;
  max-width: 540px;
}
.section-title-row > a {
  position: absolute;
  right: 0;
  bottom: 8px;
  color: #c89700;
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.section-title-row > a:hover { color: var(--navy); }
.yellow-rule {
  width: 56%;
  height: 3px;
  margin: 70px auto 58px;
  background: linear-gradient(90deg, transparent 0, var(--yellow-strong) 17%, var(--yellow-strong) 33%, transparent 33%, transparent 50%, #e8e9ed 50%, #e8e9ed 67%, transparent 67%, transparent 84%, #e8e9ed 84%, #e8e9ed 100%);
}
.pharmacy-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
}
.pharmacy-grid img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: var(--r-sm);
}
.pharmacy-grid h3 {
  margin: 24px 0 12px;
  color: #2c3a5e;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.pharmacy-grid p {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  color: #7d869c;
  font-size: 12px;
  line-height: 1.6;
}
.pharmacy-grid p::before {
  content: "♟";
  color: #c89700;
  font-size: 14px;
}

/* =========================================================
   Trust
   ========================================================= */
.trust { padding: 80px 0; text-align: center; }
.trust h2 { margin-bottom: 24px; }
.trust p {
  max-width: 480px;
  margin: 0 auto;
  color: #7d869c;
  font-size: 14px;
}
.logo-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 40px;
  margin-top: 64px;
}
.logo-row article {
  text-align: center;
}
.cert {
  width: 110px;
  height: 110px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  border: 3px solid #d8e2eb;
  border-radius: 50%;
  background: var(--white);
  color: #4a587a;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.02em;
  transition: transform .2s ease, box-shadow .2s ease;
}
.cert:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}
.cert-tga { color: #4a587a; }
.cert-fda {
  border: 0;
  background: transparent;
  color: #5978ab;
  font-size: 32px;
  font-family: var(--font-serif);
  font-style: italic;
}
.cert-gmp,
.cert-green {
  border-color: #b6d8af;
  color: #51a553;
  font-size: 19px;
}
.cert-haccp { color: #4a587a; font-size: 18px; font-style: italic; }

/* =========================================================
   Section carousels (Ingredients / Pharmacies / Trust)
   ========================================================= */
.carousel {
  position: relative;
  --cg: 42px;
}
.carousel--ph { --cg: 36px; }
.carousel--tr { --cg: 40px; }
.carousel-viewport { overflow: hidden; }

.carousel-track {
  display: flex;
  align-items: stretch;
  gap: var(--cg);
  transition: transform .55s cubic-bezier(.22, .61, .36, 1);
  will-change: transform;
}
.carousel-track > * {
  flex: 0 0 100%;
  min-width: 0;
}
.carousel[data-visible="3"] .carousel-track > * {
  flex-basis: calc((100% - 2 * var(--cg)) / 3);
}
.carousel[data-visible="4"] .carousel-track > * {
  flex-basis: calc((100% - 3 * var(--cg)) / 4);
}
.carousel[data-visible="5"] .carousel-track > * {
  flex-basis: calc((100% - 4 * var(--cg)) / 5);
}

/* Carousel tracks that were grids before */
.carousel-track.image-row,
.carousel-track.pharmacy-grid,
.carousel-track.logo-row {
  display: flex;
  gap: var(--cg);
  margin-top: 0;
}
.ingredients .carousel { margin-top: 64px; }
.trust .carousel { margin-top: 64px; }

.carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
  box-shadow: var(--shadow-sm);
  transition: background .2s ease, color .2s ease, transform .2s ease, opacity .2s ease;
}
.carousel-arrow:hover:not(:disabled) { background: var(--navy); color: var(--white); }
.carousel-arrow:disabled {
  opacity: .32;
  cursor: default;
}
.carousel-arrow.prev { left: -18px; }
.carousel-arrow.next { right: -18px; }
.carousel-arrow svg { width: 18px; height: 18px; stroke-width: 2.8; }
.carousel-arrow.prev:hover:not(:disabled) { transform: translateY(-50%) translateX(-2px); }
.carousel-arrow.next:hover:not(:disabled) { transform: translateY(-50%) translateX(2px); }

@media (prefers-reduced-motion: reduce) {
  .carousel-track { transition: none; }
}

/* =========================================================
   Where to buy
   ========================================================= */
.buy { padding: 30px 0 80px; }
.buy h2 { margin-bottom: 64px; }
.buy-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 72px;
  max-width: 1140px;
  margin: 0 auto;
}
.buy-options article {
  min-height: 480px;
  padding: 78px 76px 68px;
  text-align: center;
  background: var(--soft);
  border-radius: var(--r-md);
  transition: transform .25s ease, box-shadow .25s ease;
}
.buy-options article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.buy-options svg {
  width: 110px;
  height: 110px;
  margin: 0 auto 34px;
  color: #4a587a;
}
.buy-options h3 {
  margin: 0 0 16px;
  color: #2c3a5e;
  font-size: 16px;
  font-weight: 600;
}
.buy-options p {
  max-width: 280px;
  min-height: 88px;
  margin: 0 auto 30px;
  color: #7d869c;
  font-size: 13px;
  line-height: 1.7;
}
.buy-options a {
  display: inline-flex;
  align-items: center;
  height: 46px;
  padding: 0 26px;
  border-radius: var(--r-pill);
  background: var(--yellow);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  transition: background .2s ease, transform .2s ease;
}
.buy-options a:hover {
  background: var(--yellow-strong);
  transform: translateY(-1px);
  color: var(--ink);
}

/* =========================================================
   Footer (white, matches home.jpg reference)
   ========================================================= */
.footer {
  background: var(--white);
  color: #4a587a;
  border-top: 5px solid var(--yellow-strong);
  padding: 0 0 30px;
}
.footer-card {
  width: var(--container);
  margin: 0 auto;
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.4fr;
  gap: 48px;
  padding-bottom: 50px;
}
.footer h3 {
  margin: 0 0 26px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.footer a {
  display: block;
  margin: 0 0 13px;
  color: #5a6884;
  font-size: 13px;
  transition: color .2s ease;
}
.footer a:hover { color: var(--navy); }

.connect-intro {
  margin: 0 0 18px;
  color: #5a6884;
  font-size: 13px;
  line-height: 1.65;
}
.subscribe {
  display: flex;
  height: 46px;
  margin-bottom: 26px;
  border: 1px solid #dfe4ee;
  border-radius: var(--r-sm);
  background: var(--white);
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.subscribe:focus-within {
  border-color: var(--yellow-strong);
  box-shadow: 0 0 0 3px rgba(255, 209, 44, 0.25);
}
.subscribe input {
  flex: 1;
  min-width: 0;
  padding: 0 16px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
}
.subscribe input::placeholder { color: #9aa3b8; }
.subscribe input:focus { outline: 0; }
.subscribe button {
  padding: 0 18px;
  background: var(--navy);
  color: var(--white);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: background .2s ease;
}
.subscribe button:hover { background: var(--navy-deep); }

.app-note {
  margin: 0 0 14px;
  color: #42506f;
  font-size: 12.5px;
  font-weight: 700;
}
.store-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
}
.store-row img { height: 50px; width: auto; border-radius: var(--r-sm);}
.store-row svg { height: 35px; width: auto; }

.socials {
  display: flex;
  align-items: center;
  gap: 20px;
}
.socials a {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  margin: 0;
  color: #33436b;
  transition: color .2s ease, transform .2s ease;
}
.socials a:hover { color: var(--yellow-strong); transform: translateY(-1px); }
.socials svg { width: 30px; height: 30px; }

.legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line-2);
  color: #3d4b6e;
  font-size: 12.5px;
  font-weight: 600;
}
.legal a {
  display: inline;
  margin: 0;
  color: #3d4b6e;
}
.legal a:hover { color: var(--navy); }

.disclaimer {
  max-width: 980px;
  margin: 30px auto 0;
  text-align: center;
  color: #8a93a8;
  font-size: 11.5px;
  line-height: 1.7;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .stage-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .carousel[data-visible="5"] .carousel-track > * { flex-basis: calc((100% - 2 * var(--cg)) / 3); }
  .carousel[data-visible="4"] .carousel-track > * { flex-basis: calc((100% - var(--cg)) / 2); }
  .carousel[data-visible="3"] .carousel-track > * { flex-basis: calc((100% - var(--cg)) / 2); }
}

@media (max-width: 900px) {
  :root {
    --container: min(100vw - 32px, 720px);
  }
  .promo { height: auto; min-height: 38px; padding: 8px 16px; font-size: 11px; text-align: center; }

  .nav-shell {
    height: auto;
    padding: 14px 0;
    flex-wrap: wrap;
    gap: 14px;
  }
  .brand { font-size: 26px; }
  .nav-links {
    order: 4;
    width: 100%;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 6px;
    font-size: 12px;
  }
  .nav-links::-webkit-scrollbar { display: none; }

  .nav-links li.has-menu { position: static; }
  .dropdown {
    position: fixed;
    top: auto;
    left: 0;
    right: 0;
    min-width: 0;
    padding: 12px 16px 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    border: 0;
    border-top: 1px solid var(--line-2);
    border-radius: 0 0 var(--r-md) var(--r-md);
    box-shadow: var(--shadow);
    transform: none;
  }
  .dropdown::before { display: none; }
  .dropdown a {
    padding: 8px 15px;
    white-space: normal;
    font-size: 12px;
    border-radius: var(--r-pill);
    background: var(--soft);
  }
  .dropdown a:hover { background: var(--yellow); color: var(--ink); }
  .has-menu.open > .dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }
  .header-actions { margin-left: auto; gap: 10px; }
  .header-search { width: 150px; height: 36px; }
  .cta-pill { height: 40px; padding: 0 16px; font-size: 12px; }

  .hero { min-height: 0; }
  .hero-slide { grid-template-columns: 1fr; }
  .hero-video { min-height: 360px; }
  .hero-video .hero-overlay {justify-content: center; align-items: center; padding: 0; }
  .hero-rotate-line { font-size: 18px; margin-bottom: 10px;}
  .hero-overlay-sub { font-size: 20px; }
  .hero-image { min-height: 360px; background-position: center top; }
  .hero-copy { padding: 36px 24px 56px; text-align: center; }
  .hero-cta { justify-content: center; }
  .hero-arrow { width: 38px; height: 38px; }
  .hero-arrow.prev { left: 12px; }
  .hero-arrow.next { right: 12px; }
  .hero-dots { bottom: 24px; }

  .section-pad { padding: 64px 0; }
  .why,
  .journey,
  .products,
  .made,
  .experts,
  .pharmacies,
  .trust,
  .buy { padding: 64px 0; }

  .why-grid,
  .product-grid,
  .feature-grid,
  .image-row.doctors,
  .buy-options,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .why-grid { gap: 32px; margin-top: 40px; }
  .stage-grid {
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-left: 0;
    transform: none;
  }
  .product-card { max-width: 360px; margin: 0 auto; }

  .ask { padding: 0; }
  .ask-card { background: var(--cream-2); }
  .ask-head, .section-title-row { flex-direction: column; gap: 12px; align-items: center; text-align: center; }
  .ask-body { grid-template-columns: 1fr; }
  .ask-info, .chat-panel { padding: 32px 24px; }
  .section-title-row > a { position: static; }
  .yellow-rule { width: 100%; margin: 36px auto; }
  .logo-row { gap: 22px; }
  .buy-options article { min-height: 0; padding: 48px 28px; }
  .footer-card { padding: 50px 0 0; }

  .carousel[data-visible="5"] .carousel-track > * { flex-basis: calc((100% - var(--cg)) / 2); }
  .carousel[data-visible="4"] .carousel-track > * { flex-basis: 100%; }
  .carousel[data-visible="3"] .carousel-track > * { flex-basis: 100%; }
  .carousel-arrow.prev { left: 6px; }
  .carousel-arrow.next { right: 6px; }
  .ingredients .carousel,
  .trust .carousel { margin-top: 44px; }
}

@media (max-width: 520px) {
  .header-actions { width: 100%; }
  .header-search { width: auto; flex: 1; }
  .promo { height: auto; min-height: 38px; }
  .promo-item { white-space: normal; font-size: 11px; }
  .icon-btn { width: 34px; height: 34px; }
  .stage-grid { grid-template-columns: 1fr; }
  .stage-grid a, .product-card { width: min(100%, 320px); margin: 0 auto; }
  .legal { gap: 14px; }
}
