/* ============================================================
   BIOPATID — premium redesign
   Palette: #F3F0FA bg · #4B3AAE primary · #5B4BC4 secondary ·
            #D4A94A gold · white cards, blue-tinted shadows
   Fonts: Cormorant Garamond (display) + Onest (body),
   full system fallbacks for offline file:// use.
   ============================================================ */

:root {
  --bg: #F3F0FA;
  --bg-soft: #EAE4F6;
  --ink: #241A3D;
  --ink-soft: #55496E;
  --primary: #4B3AAE;
  --primary-2: #5B4BC4;
  --primary-deep: #322573;
  --navy: #1D1536;
  --gold: #D4A94A;
  --gold-soft: #F1DEB2;
  --gold-ink: #4A3810;
  --white: #FFFFFF;
  --shadow-blue: rgba(59, 48, 122, 0.22);
  --card-shadow: 0 30px 45px -30px var(--shadow-blue), 0 14px 28px -16px rgba(30, 22, 60, 0.14);
  --card-shadow-hover: 0 42px 60px -32px rgba(59, 48, 122, 0.38), 0 18px 36px -18px rgba(30, 22, 60, 0.18);
  --r-sm: 16px;
  --r-md: 20px;
  --r-lg: 24px;
  --font-display: 'Cormorant Garamond', 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Onest', -apple-system, BlinkMacSystemFont, 'Segoe UI', Tahoma, Verdana, sans-serif;
  --header-h: 72px;
  --gap: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
  font-weight: 300; /* Stripe signature: weight-300 elegance */
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }

.container { width: min(1260px, 92%); margin-inline: auto; }

/* ---------- typography ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; color: var(--ink); }
h1 { font-size: clamp(2.5rem, 6vw, 4.2rem); letter-spacing: -0.015em; font-weight: 700; }
h2 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); letter-spacing: -0.01em; font-weight: 500; }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.5rem); font-weight: 600; }
h4 { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--primary); }

p { max-width: 65ch; }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem; /* ≥ 12.8px — audit: no eyebrows under 12px */
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(91, 75, 196, 0.10);
  border: 1px solid rgba(91, 75, 196, 0.22);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.lead { color: var(--ink-soft); font-size: clamp(1rem, 2.2vw, 1.13rem); font-weight: 300; max-width: 62ch; line-height: 1.65; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--primary); color: #fff; padding: 10px 18px; border-radius: 0 0 12px 0;
}
.skip-link:focus { left: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 500;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  font-family: var(--font-body);
}
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-sm { padding: 10px 22px; font-size: 0.9rem; }
.btn:not(.btn-lg):not(.btn-sm) { padding: 13px 28px; font-size: 0.98rem; }

.btn-primary {
  background: linear-gradient(135deg, var(--primary-2), var(--primary));
  color: #fff;
  box-shadow: 0 14px 30px -12px rgba(75, 58, 174, 0.55);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -14px rgba(75, 58, 174, 0.65); }
.btn-primary:active { transform: translateY(-1px); }

.btn-gold {
  background: linear-gradient(135deg, var(--gold), #E8C97E);
  color: #3E2F0C;
  box-shadow: 0 18px 40px -14px rgba(212, 169, 74, 0.8);
  font-size: 1.1rem;
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 24px 48px -16px rgba(212, 169, 74, 0.9); }

.btn-ghost { background: transparent; color: var(--primary); border-color: rgba(75, 58, 174, 0.35); }
.btn-ghost:hover { background: rgba(75, 58, 174, 0.08); transform: translateY(-2px); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(243, 240, 250, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(75, 58, 174, 0.10);
  transition: box-shadow 0.3s ease;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(36, 26, 61, 0.35); }

.header-inner {
  display: flex; align-items: center; gap: 18px;
  min-height: var(--header-h);
  /* audit fix: burger cluster is pinned right at EVERY width,
     even while .main-nav is hidden/fixed on mobile */
  justify-content: space-between;
}

.logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.1;
}
.logo-main {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  color: var(--primary);
}
.logo-sub {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.logo-ig {
  font-size: 0.58rem;
  font-weight: 400;
  color: var(--gold);
  letter-spacing: 0.05em;
}

.main-nav { display: none; gap: 22px; }
.main-nav a {
  text-decoration: none; color: var(--ink-soft);
  font-size: 0.9rem; font-weight: 500;
  position: relative; padding: 4px 0;
  transition: color 0.2s ease;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--primary-2), var(--gold));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s ease;
}
.main-nav a:hover { color: var(--primary); }
.main-nav a:hover::after { transform: scaleX(1); }

/* controls cluster ALWAYS pinned right: logo | nav … (auto) lang + cta + burger */
.header-side { display: flex; align-items: center; gap: 12px; margin-left: auto; }

.lang-switch { display: flex; border: 1px solid rgba(75, 58, 174, 0.28); border-radius: 999px; overflow: hidden; background: #fff; }
.lang-btn {
  border: 0; background: transparent; cursor: pointer;
  padding: 8px 12px; font-size: 0.78rem; font-weight: 600;
  color: var(--ink-soft); letter-spacing: 0.04em;
  min-height: 36px;
  transition: background 0.2s ease, color 0.2s ease;
  font-family: var(--font-body);
}
.lang-btn:hover { color: var(--primary); }
.lang-btn.is-active { background: var(--primary); color: #fff; }

.header-cta { display: none; }

/* burger — last child of .header-side, therefore strictly right */
.burger {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 46px; height: 46px; padding: 12px;
  background: #fff; border: 1px solid rgba(75, 58, 174, 0.25);
  border-radius: 12px; cursor: pointer;
  flex: 0 0 auto;
}
.burger span { display: block; height: 2px; width: 100%; background: var(--primary); border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile nav drawer */
@media (max-width: 979px) {
  .lang-btn { min-height: 44px; padding: 10px 13px; }
  .lang-switch--footer .lang-btn { min-height: 44px; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    display: flex; flex-direction: column; gap: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(75, 58, 174, 0.15);
    box-shadow: 0 30px 50px -25px rgba(36, 26, 61, 0.4);
    padding: 10px 6%;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  .main-nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .main-nav a { padding: 14px 6px; border-bottom: 1px solid rgba(75, 58, 174, 0.08); font-size: 1rem; }
  .main-nav a::after { display: none; }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 48px 0 60px; }

.hero-blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.55; pointer-events: none; z-index: 0; }
.hero-blob--a { width: 480px; height: 480px; left: -160px; top: -120px; background: radial-gradient(circle, rgba(91, 75, 196, 0.5), transparent 70%); }
.hero-blob--b { width: 420px; height: 420px; right: -140px; bottom: -140px; background: radial-gradient(circle, rgba(212, 169, 74, 0.35), transparent 70%); }

.hero-grid {
  position: relative; z-index: 1;
  display: grid; gap: 40px; align-items: center;
}

.hero-copy .lead { margin: 18px 0 24px; }

.chip-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; list-style: none; margin-bottom: 26px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin-bottom: 10px; }
.chip {
  font-size: 0.85rem; font-weight: 600; color: var(--primary);
  background: #fff; border: 1px solid rgba(75, 58, 174, 0.2);
  padding: 10px 16px; border-radius: 999px;
  box-shadow: 0 8px 20px -12px rgba(75, 58, 174, 0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-align: center;
}
.chip:hover { transform: translateY(-3px); box-shadow: 0 14px 26px -12px rgba(75, 58, 174, 0.5); }
.chip:last-child {
  background: linear-gradient(135deg, var(--primary-2), var(--primary));
  color: #fff;
  border-color: var(--primary);
  font-weight: 700;
}
.chip--before { background: var(--bg-soft); text-align: left; }
.chip--after { background: var(--primary); color: #fff; border-color: var(--primary); text-align: left; }

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 28px; }
.stat {
  border-radius: var(--r-md); padding: 18px 14px;
  text-align: center; box-shadow: var(--card-shadow);
  border: 1px solid rgba(75, 58, 174, 0.08);
}
.stat--violet { background: linear-gradient(160deg, #FFFFFF 30%, rgba(91, 75, 196, 0.16)); }
.stat--gold { background: linear-gradient(160deg, #FFFFFF 30%, rgba(212, 169, 74, 0.22)); }
.stat--deep { background: linear-gradient(160deg, var(--primary-deep), var(--primary)); border: 0; }
.stat--deep .stat-value { color: var(--gold-soft); }
.stat--deep .stat-label { color: rgba(255, 255, 255, 0.78); }
.stat-value {
  display: block; font-family: var(--font-display);
  font-size: clamp(1.8rem, 4.6vw, 2.6rem); font-weight: 700; color: var(--primary);
  line-height: 1;
}
.stat-label { display: block; font-size: 0.8rem; color: var(--ink-soft); line-height: 1.35; margin-top: 6px; font-weight: 400; }
.stat-anim.is-popping { animation: stat-pop 0.7s ease both; }
@keyframes stat-pop {
  0% { opacity: 0; transform: translateY(14px) scale(0.92); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-note { font-size: 0.85rem; color: var(--ink-soft); max-width: 30ch; }

.quick-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.quick-nav .btn { font-size: 0.8rem; letter-spacing: 0.06em; }

.hero-media { position: relative; }
.hero-img {
  border-radius: var(--r-lg); box-shadow: var(--card-shadow-hover);
  transform: rotate(1.2deg);
  border: 6px solid #fff;
  width: 100%;
}
.hero-img-mini {
  display: none;
}

/* ---------- sections ---------- */
.section { padding: 64px 0; position: relative; }
.section--tint { background: linear-gradient(180deg, var(--bg-soft), var(--bg)); }
.section-head { max-width: 760px; margin-bottom: 36px; }
.section-head h2 { margin-bottom: 14px; }
.section-head .lead { margin-bottom: 18px; }

.sub-title { margin: 44px 0 20px; }

.card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 26px;
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(75, 58, 174, 0.07);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--card-shadow-hover); }

.card-figure {
  margin: 0; border-radius: var(--r-sm); overflow: hidden;
  background: var(--bg-soft);
}
.card-figure img { width: 100%; height: auto; border-radius: var(--r-sm); }

/* ---------- info grid (about biopatid) ---------- */
/* flex-wrap with fixed shares: cards size to content, no stretched empty panels */
.info-grid { display: flex; flex-wrap: wrap; gap: 20px; }
.info-card { flex: 1 1 100%; display: flex; flex-direction: column; }
.info-card h3 { margin-bottom: 12px; }
.info-card p { color: var(--ink-soft); margin-bottom: 12px; font-size: 0.97rem; }
.info-card p:last-child { margin-bottom: 0; }
.info-card .card-figure { margin-top: 16px; max-width: 380px; }
.info-card .btn { margin-top: 18px; align-self: flex-start; }
.info-card--accent {
  background: linear-gradient(160deg, var(--primary-deep), var(--primary));
  border: 0;
}
.info-card--accent h3 { color: #fff; }
.info-card--accent p { color: rgba(255, 255, 255, 0.85); }
.info-card--accent .card-figure { box-shadow: 0 16px 40px -18px rgba(0, 0, 0, 0.5); }

/* ---------- ribbon (dark banners) ---------- */
.ribbon {
  margin-top: 60px;
  background: linear-gradient(135deg, var(--navy), var(--primary-deep));
  padding: 40px 0 44px;
  position: relative;
  overflow: hidden;
}
.ribbon::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 85% 0%, rgba(212, 169, 74, 0.16), transparent 70%);
  pointer-events: none;
}
.ribbon-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 26px; position: relative; }
.ribbon-title { color: #fff; font-size: clamp(1.5rem, 3.2vw, 2.2rem); }
.ribbon-title::after { content: ""; display: block; width: 72px; height: 3px; margin-top: 10px; border-radius: 3px; background: var(--gold); }

.ribbon-arrows { display: flex; gap: 10px; }
.ribbon-arrow {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08); color: #fff;
  font-size: 1.5rem; line-height: 1; cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}
.ribbon-arrow:hover { background: rgba(212, 169, 74, 0.35); transform: scale(1.06); }
.section-head .ribbon-arrows { margin-top: 16px; }
.section-head .ribbon-arrow { border-color: rgba(75, 58, 174, 0.35); background: #fff; color: var(--primary); }

.ribbon-track {
  display: flex; gap: 20px; align-items: center;
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 6px max(4%, calc((100vw - 1260px) / 2)) 18px;
  scrollbar-width: thin; scrollbar-color: var(--gold) transparent;
}
.ribbon-track::-webkit-scrollbar { height: 6px; }
.ribbon-track::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 6px; }
.ribbon-track img {
  height: clamp(260px, 34vw, 380px); width: auto; flex: 0 0 auto;
  border-radius: var(--r-md);
  scroll-snap-align: center;
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.65);
  border: 3px solid rgba(212, 169, 74, 0.4);
  transition: transform 0.4s ease, border-color 0.4s ease;
  cursor: pointer;
}
.ribbon-track img:hover { transform: translateY(-8px) scale(1.015); border-color: var(--gold); }

/* ---------- dosage ---------- */
.dosage-grid { display: grid; gap: 20px; grid-template-columns: 1fr; align-items: stretch; }
.dosage-card { display: flex; flex-direction: column; gap: 10px; }
.dosage-card h3 { font-size: 1.3rem; }
.dosage-figure {
  aspect-ratio: 3 / 4;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, var(--bg-soft), #F7F4FC);
  margin-bottom: 6px;
}
.dosage-figure img { width: 100%; height: 100%; object-fit: contain; border-radius: var(--r-sm); }
.dosage-range {
  font-weight: 700; color: var(--primary-deep);
  background: var(--bg-soft); border-radius: 999px;
  padding: 6px 14px; font-size: 0.88rem; align-self: flex-start;
}
.dosage-desc { color: var(--ink-soft); font-size: 0.93rem; flex-grow: 1; }
.dosage-card .btn { align-self: flex-start; }
.dosage-card--featured { border: 2px solid var(--gold); }
.dosage-card--featured .dosage-range { background: var(--gold-soft); color: #7A5E17; }

/* vials: unified substrate, contain — no holes from different heights */
.vials-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 28px 0; }
.vials-cell {
  background: linear-gradient(160deg, #FFFFFF, var(--bg-soft));
  border-radius: var(--r-md);
  box-shadow: var(--card-shadow);
  display: flex; align-items: center; justify-content: center;
  padding: 14px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.vials-cell img { max-width: 100%; max-height: 100%; width: auto; height: 100%; object-fit: contain; border-radius: var(--r-sm); }

/* choose panel — filled with copy + 3 schemes */
.choose-panel {
  display: grid; gap: 24px; align-items: center;
  padding: 30px;
}
.choose-copy h3 { margin-bottom: 10px; font-size: 1.6rem; }
.choose-copy p { color: var(--ink-soft); margin-bottom: 18px; }
.choose-figures { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.choose-figure {
  aspect-ratio: 3 / 4;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, var(--bg-soft), #F7F4FC);
}
.choose-figure img { width: 100%; height: 100%; object-fit: contain; border-radius: var(--r-sm); }
.choose-figure--tall { grid-row: span 2; aspect-ratio: auto; min-height: 100%; }

/* ---------- before / after: PINTEREST-STYLE MASONRY ---------- */
/* CSS columns, image-first: natural proportions, dense grid (Pinterest §5),
   every photo keeps its natural proportions — zero cropping */
.ba-masonry { column-count: 2; column-gap: 14px; }
.lb-item {
  display: block; width: 100%;
  break-inside: avoid; -webkit-column-break-inside: avoid;
  margin: 0 0 14px;
  border: 0; padding: 0; background: none; cursor: zoom-in;
  border-radius: var(--r-sm); overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  line-height: 0;
}
.lb-item img {
  width: 100%; height: auto; display: block;
  border-radius: var(--r-sm);
  transition: transform 0.4s ease;
}
.lb-item:hover { transform: translateY(-4px); box-shadow: var(--card-shadow-hover); }
.lb-item:hover img { transform: scale(1.03); }
.lb-item:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* ---------- reviews carousel ---------- */
.reviews-track {
  display: flex; gap: 18px; align-items: stretch;
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 8px max(4%, calc((100vw - 1260px) / 2)) 24px;
  scrollbar-width: thin; scrollbar-color: var(--primary-2) transparent;
}
.reviews-track::-webkit-scrollbar { height: 6px; }
.reviews-track::-webkit-scrollbar-thumb { background: var(--primary-2); border-radius: 6px; }
.review-slide {
  flex: 0 0 auto; margin: 0;
  scroll-snap-align: center;
  background: #fff; padding: 12px; border-radius: var(--r-md);
  box-shadow: var(--card-shadow);
  transition: transform 0.35s ease;
  display: flex; flex-direction: column; justify-content: center;
}
.review-slide:hover { transform: translateY(-6px); }
/* big readable cards: fixed height, width follows natural ratio — no cropping */
.review-slide img {
  height: clamp(360px, 52vw, 460px); width: auto;
  border-radius: 12px;
}
.review-slide--video { gap: 8px; }
.review-slide--video video { height: clamp(360px, 52vw, 460px); width: auto; border-radius: 12px; background: #000; }
.review-slide--video figcaption { font-size: 0.85rem; font-weight: 600; color: var(--primary); text-align: center; padding-bottom: 4px; }

/* ---------- skin glow ---------- */
.section--skin {
  overflow: hidden;
  background:
    radial-gradient(900px 480px at 8% 0%, rgba(212, 169, 74, 0.14), transparent 70%),
    radial-gradient(700px 420px at 100% 30%, rgba(91, 75, 196, 0.16), transparent 70%),
    var(--bg);
}
.skin-glow-blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.5; pointer-events: none; }
.skin-glow-blob--a { width: 380px; height: 380px; left: -140px; top: 200px; background: radial-gradient(circle, rgba(212, 169, 74, 0.35), transparent 70%); }
.skin-glow-blob--b { width: 420px; height: 420px; right: -160px; top: 60px; background: radial-gradient(circle, rgba(91, 75, 196, 0.4), transparent 70%); }

.skin-slogan {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.4vw, 2.3rem);
  font-weight: 600; font-style: italic;
  color: var(--primary-deep);
  max-width: 26ch;
  margin: 0 0 36px;
  padding-left: 20px;
  border-left: 4px solid var(--gold);
  line-height: 1.25;
}

.skin-grid { display: grid; gap: 22px; position: relative; z-index: 1; }
.skin-grid h3 { margin-bottom: 14px; }
.skin-grid .btn { margin-top: 18px; align-self: flex-start; }

.card--glass {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  display: flex; flex-direction: column;
}

.tick-list { list-style: none; display: grid; gap: 10px; margin-bottom: 16px; }
.tick-list li {
  position: relative; padding-left: 30px;
  color: var(--ink-soft); font-size: 0.96rem;
}
.tick-list li::before {
  content: ""; position: absolute; left: 0; top: 4px;
  width: 18px; height: 18px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--primary-2), var(--primary));
  box-shadow: inset 0 0 0 3px #fff, 0 0 0 1px rgba(75, 58, 174, 0.3);
}

.badge-gold {
  display: inline-block; margin-top: 6px;
  background: linear-gradient(135deg, var(--gold), #E8C97E);
  color: var(--gold-ink); font-weight: 700; font-size: 0.9rem;
  padding: 10px 18px; border-radius: 999px;
  box-shadow: 0 12px 26px -12px rgba(212, 169, 74, 0.7);
}

.pep-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 20px; }
.pep {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.9), rgba(234, 228, 246, 0.75));
  border: 1px solid rgba(91, 75, 196, 0.18);
  border-radius: var(--r-sm); padding: 14px;
  display: grid; gap: 4px;
  backdrop-filter: blur(6px);
  box-shadow: 0 12px 26px -18px rgba(75, 58, 174, 0.45);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.pep:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 18px 32px -16px rgba(212, 169, 74, 0.5); }
.pep strong { font-family: var(--font-display); color: var(--primary-deep); font-size: 1.1rem; font-weight: 700; }
.pep span { font-size: 0.82rem; color: var(--ink-soft); }

.skin-for { color: var(--ink-soft); font-size: 0.92rem; margin-bottom: 6px; }

/* ---------- review quote cards ---------- */
.review-cards { display: grid; gap: 20px; position: relative; z-index: 1; }
.quote-card { position: relative; padding-top: 40px; display: flex; flex-direction: column; }
.quote-card::before {
  content: "\201C"; position: absolute; top: 6px; left: 22px;
  font-family: var(--font-display); font-size: 3.4rem; line-height: 1;
  color: var(--gold);
}
.quote-card p { color: var(--ink-soft); font-size: 0.97rem; margin-bottom: 14px; }
.quote-card footer { margin-top: auto; }
.quote-name { font-weight: 700; color: var(--primary); }

.quote-card--ba .ba-before {
  background: var(--bg-soft); border-radius: 12px; padding: 10px 14px;
  color: var(--ink-soft); font-size: 0.92rem;
}
.quote-card--ba .ba-after {
  background: rgba(75, 58, 174, 0.08); border-left: 3px solid var(--primary);
  border-radius: 12px; padding: 10px 14px;
  color: var(--ink); font-size: 0.95rem;
}

/* ---------- energy ---------- */
.energy-tagline {
  font-family: var(--font-display);
  font-style: italic; font-weight: 600;
  font-size: clamp(1.1rem, 2.6vw, 1.5rem);
  color: var(--primary);
  margin-bottom: 14px;
  max-width: 40ch;
}
.energy-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
.energy-grid h3 { margin-bottom: 10px; font-size: 1.6rem; }
.energy-grid h3 + p { color: var(--ink-soft); font-size: 0.96rem; margin-bottom: 16px; }
.energy-lead { color: var(--primary-deep); font-weight: 600; font-size: 0.95rem; margin-bottom: 14px; }

.fx-title { margin-bottom: 10px; }
.fx-list { list-style: none; display: grid; grid-template-columns: 1fr; gap: 8px; }
.fx-list li {
  background: var(--bg); border: 1px solid rgba(75, 58, 174, 0.12);
  border-radius: 12px; padding: 8px 14px;
  font-size: 0.9rem; color: var(--ink);
}

.energy-synergy {
  background: linear-gradient(150deg, var(--navy), var(--primary-deep) 60%, var(--primary));
  border: 0;
}
.energy-synergy h3 { color: #fff; }
.energy-synergy h3::after { content: ""; display: block; width: 64px; height: 3px; border-radius: 3px; background: var(--gold); margin-top: 10px; }
.synergy-list { list-style: none; display: grid; gap: 10px; margin-top: 18px; }
.synergy-list li {
  color: rgba(255, 255, 255, 0.9); font-size: 0.96rem;
  padding-left: 28px; position: relative;
}
.synergy-list li::before {
  content: ""; position: absolute; left: 0; top: 6px;
  width: 12px; height: 12px; border-radius: 3px;
  background: linear-gradient(135deg, var(--gold), #E8C97E);
  transform: rotate(45deg);
}

.energy-course {
  background: var(--bg-soft); border-radius: 12px; padding: 12px 16px;
  font-size: 0.92rem; color: var(--primary-deep); font-weight: 600;
  margin-top: 4px;
}
.energy-grid .btn { margin-top: 18px; align-self: flex-start; }
.energy-card { display: flex; flex-direction: column; }

/* energy media: full photos on a unified substrate — contain, never cropped */
.energy-media { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.energy-figure {
  aspect-ratio: 1 / 1;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, #FFFFFF, var(--bg-soft));
  padding: 10px;
}
.energy-figure img { max-width: 100%; max-height: 100%; width: auto; height: 100%; object-fit: contain; border-radius: var(--r-sm); }

/* ---------- final CTA ---------- */
.final-cta {
  position: relative;
  background:
    radial-gradient(700px 380px at 85% 10%, rgba(212, 169, 74, 0.22), transparent 70%),
    linear-gradient(150deg, var(--primary-deep), var(--primary) 55%, var(--primary-2));
  overflow: hidden;
  padding: 72px 0;
}
.final-blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.4; pointer-events: none; }
.final-blob--a { width: 420px; height: 420px; left: -140px; bottom: -160px; background: radial-gradient(circle, rgba(255, 255, 255, 0.5), transparent 70%); }
.final-blob--b { width: 360px; height: 360px; right: 8%; top: -140px; background: radial-gradient(circle, rgba(212, 169, 74, 0.6), transparent 70%); }

.final-inner {
  position: relative; z-index: 1;
  display: grid; gap: 30px; align-items: center;
}
.final-copy .eyebrow { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.25); color: var(--gold-soft); }
.final-copy h2 { color: #fff; margin-bottom: 14px; font-size: clamp(2rem, 4.6vw, 3.2rem); }
.final-copy .lead { color: rgba(255, 255, 255, 0.85); }
.final-action { display: grid; gap: 14px; justify-items: start; }
.final-channels { color: rgba(255, 255, 255, 0.72); font-size: 0.85rem; letter-spacing: 0.08em; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, 0.75); padding: 28px 0 20px; }
.footer-inner { display: grid; gap: 14px; }
.footer-row { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; font-size: 0.9rem; }
.footer-brand {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.footer-brand .logo-main { color: #fff; font-size: 1.1rem; }
.footer-brand .logo-sub { color: rgba(255,255,255,0.6); font-size: 0.55rem; }
.footer-brand .logo-ig { color: var(--gold); font-size: 0.55rem; }
.footer-disclaimer {
  font-size: 0.8rem; color: rgba(255, 255, 255, 0.55);
  border-left: 3px solid var(--gold); padding-left: 14px; max-width: 60ch;
  flex: 1 1 300px;
}
.footer-row--bottom { justify-content: space-between; border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 16px; }
.footer-row a { color: var(--gold); text-decoration: none; }
.footer-row a:hover { text-decoration: underline; }
.lang-switch--footer { background: transparent; border-color: rgba(255, 255, 255, 0.25); margin-left: auto; }
.lang-switch--footer .lang-btn { color: rgba(255, 255, 255, 0.7); min-height: 40px; }
.lang-switch--footer .lang-btn.is-active { background: var(--gold); color: #3E2F0C; }
.footer-copy { font-size: 0.8rem; color: rgba(255, 255, 255, 0.4); }

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(20, 14, 40, 0.94);
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 20px;
  animation: lb-in 0.25s ease both;
}
.lightbox[hidden] { display: none; }
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }

.lb-stage { margin: 0; max-width: min(92vw, 760px); text-align: center; }
.lb-stage img {
  max-height: 82vh; width: auto; max-width: 100%;
  margin-inline: auto; border-radius: var(--r-md);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.9);
}
.lb-counter { margin-top: 14px; color: rgba(255, 255, 255, 0.75); font-size: 0.9rem; letter-spacing: 0.06em; }

.lb-close, .lb-nav {
  background: rgba(255, 255, 255, 0.1); color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%; cursor: pointer;
  font-size: 1.6rem; line-height: 1;
  width: 52px; height: 52px; flex: 0 0 auto;
  transition: background 0.25s ease, transform 0.25s ease;
}
.lb-close { position: absolute; top: 18px; right: 18px; }
.lb-close:hover, .lb-nav:hover { background: rgba(212, 169, 74, 0.4); transform: scale(1.06); }

/* ---------- reveal animations ---------- */
/* hidden state only when JS is available (html gets the .js class) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }

/* stagger children inside grids */
.js .info-grid .reveal:nth-child(2), .js .dosage-grid .reveal:nth-child(2),
.js .review-cards .reveal:nth-child(2), .js .skin-grid .reveal:nth-child(2),
.js .energy-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.js .info-grid .reveal:nth-child(3), .js .dosage-grid .reveal:nth-child(3),
.js .review-cards .reveal:nth-child(3), .js .energy-grid .reveal:nth-child(3) { transition-delay: 0.2s; }
.js .info-grid .reveal:nth-child(4), .js .dosage-grid .reveal:nth-child(4) { transition-delay: 0.3s; }

/* ---------- responsive ---------- */
@media (min-width: 640px) {
  .ba-masonry { column-count: 3; }
  .dosage-grid { grid-template-columns: repeat(2, 1fr); }
  .review-cards { grid-template-columns: repeat(3, 1fr); }
  .choose-panel { grid-template-columns: 0.9fr 1.4fr; }
  .info-card { flex: 1 1 calc(50% - 20px); }
  .fx-list { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 980px) {
  .main-nav { display: flex; margin-inline: auto; }
  .burger { display: none; }
  .header-cta { display: inline-block; }

  .hero { padding: 72px 0 92px; }
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 60px; }
  .chip-grid { max-width: 460px; }

  .section { padding: 92px 0; }

  /* bento-ish info grid: fixed shares, content-sized heights */
  .info-card { flex: 1 1 calc(33.333% - 20px); }
  .info-card--what { flex-basis: calc(46% - 20px); flex-grow: 7; }
  .info-card--how { flex-basis: calc(54% - 20px); flex-grow: 5; }
  .info-card--accent { flex: 1 1 calc(38% - 20px); }
  .info-card--support { flex: 1 1 calc(62% - 20px); }
  .info-card--wide { flex: 1 1 100%; }
  .info-card--wide p { max-width: 88ch; }

  .dosage-grid { grid-template-columns: repeat(4, 1fr); }

  .ba-masonry { column-count: 4; }

  .skin-grid { grid-template-columns: 1fr 1fr; }

  .energy-grid { grid-template-columns: 1fr 1fr; }
  .energy-synergy { grid-column: span 2; }
  .energy-media { grid-column: span 2; grid-template-columns: repeat(4, 1fr); }

  .review-slide img { height: 600px; }
  .review-slide--video video { height: 600px; }

  .final-cta { padding: 92px 0; }
  .final-inner { grid-template-columns: 1.2fr 0.8fr; }
  .final-action { justify-items: end; }
}

@media (min-width: 1280px) {
  .ba-masonry { column-count: 5; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- floating side panel ---------- */
.floating-side {
  position: fixed;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.floating-side a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid rgba(75, 58, 174, 0.18);
  box-shadow: 0 4px 16px rgba(59, 48, 122, 0.18);
  color: var(--primary);
  text-decoration: none;
  font-size: 1.2rem;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.floating-side a:hover {
  transform: scale(1.12);
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 24px rgba(75, 58, 174, 0.35);
}
.floating-side svg { width: 22px; height: 22px; fill: currentColor; }
@media (max-width: 768px) {
  .floating-side { right: 8px; gap: 8px; }
  .floating-side a { width: 42px; height: 42px; font-size: 1rem; }
}

/* ---------- before/after strip between sections ---------- */
.ba-strip {
  padding: 32px 0;
  overflow: hidden;
}
.ba-strip-track {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0 4%;
  scroll-snap-type: x mandatory;
}
.ba-strip-track::-webkit-scrollbar { display: none; }
.ba-strip-track img {
  height: clamp(120px, 16vw, 200px);
  width: auto;
  flex: 0 0 auto;
  border-radius: var(--r-sm);
  box-shadow: 0 8px 24px -8px rgba(0,0,0,0.25);
  border: 3px solid #fff;
  transition: transform 0.3s ease;
  scroll-snap-align: center;
}
.ba-strip-track img:hover { transform: scale(1.04); }

/* ---------- before/after grid tweaks ---------- */
.ba-masonry .lb-item {
  break-inside: avoid;
  margin-bottom: 12px;
}

/* ---------- before/after ring carousel ---------- */
.ba-carousel {
  display: flex; gap: 20px; align-items: center;
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 8px max(4%, calc((100vw - 1260px) / 2)) 24px;
  scrollbar-width: thin; scrollbar-color: var(--primary-2) transparent;
}
.ba-carousel::-webkit-scrollbar { height: 6px; }
.ba-carousel::-webkit-scrollbar-thumb { background: var(--primary-2); border-radius: 6px; }
.ba-slide {
  flex: 0 0 auto; margin: 0;
  scroll-snap-align: center;
  border: 0; padding: 0; background: none; cursor: zoom-in;
  border-radius: var(--r-md); overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  line-height: 0;
}
.ba-slide img {
  height: clamp(260px, 34vw, 380px); width: auto; display: block;
  border-radius: var(--r-md);
  transition: transform 0.4s ease;
}
.ba-slide:hover { transform: translateY(-6px); box-shadow: var(--card-shadow-hover); }
.ba-slide:hover img { transform: scale(1.03); }

/* ---------- header instagram icon ---------- */
.header-ig {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(75, 58, 174, 0.18);
  color: var(--primary);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
  flex: 0 0 auto;
}
.header-ig:hover { background: var(--primary); color: #fff; }
.header-ig svg { width: 18px; height: 18px; fill: currentColor; }
@media (min-width: 980px) {
  .header-ig { display: flex; }
}

/* ---------- lightbox: full-screen on mobile ---------- */
@media (max-width: 600px) {
  .lightbox {
    position: fixed !important;
    inset: 0 !important;
    z-index: 10000 !important;
    background: rgba(0,0,0,0.96) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100vw !important;
    height: 100dvh !important;
    padding: 0 !important;
  }
  .lightbox[hidden] { display: none !important; }
  .lb-stage {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .lb-stage img {
    max-width: 100vw !important;
    max-height: 100dvh !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    border-radius: 0 !important;
  }
  .lb-close {
    position: fixed !important;
    top: 12px !important;
    right: 12px !important;
    width: 44px !important;
    height: 44px !important;
    font-size: 28px !important;
    z-index: 10001 !important;
    background: rgba(0,0,0,0.5) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .lb-nav {
    position: fixed !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 44px !important;
    height: 44px !important;
    font-size: 32px !important;
    z-index: 10001 !important;
    background: rgba(0,0,0,0.4) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .lb-prev { left: 8px !important; }
  .lb-next { right: 8px !important; }
  .lb-counter {
    position: fixed !important;
    bottom: 16px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    color: #fff !important;
    font-size: 14px !important;
    background: rgba(0,0,0,0.5) !important;
    padding: 4px 14px !important;
    border-radius: 999px !important;
  }
}

/* ---------- reviews track: tappable screenshots ---------- */
.reviews-track .lb-item {
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
  background: #1a1230;
}
.reviews-track .lb-item img {
  width: 100%;
  object-fit: contain;
}

