/* ===================================================================
   THE BEST PEPTIDES — app.css
   Single stylesheet: base → layout → components → pages
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&display=swap');

/* ─── Reset ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ─── Design tokens ─────────────────────────────────────────────────── */
:root {
  --teal:        #0a807a;
  --navy:        #002c62;
  --navy-dark:   #001f47;
  --ink:         #14161b;   /* near-black — headings */
  --white:       #ffffff;
  --page-bg:     #eef1f5;   /* a hair off-white so neumorphic highlights read */
  --off-white:   #f8f9fb;
  --light-grey:  #f0f2f5;
  --border:      #e4e8ed;
  --text:        #1a2035;
  --text-mid:    #4a5568;
  --text-light:  #8a96a8;
  --font:        'Manrope', sans-serif;
  --font-display:'Manrope', sans-serif;
  --header-h:    92px;
  --radius:      6px;
}

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--page-bg);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { line-height: 1.1; font-family: var(--font-display); }

/* Headings → near-black (per request). !important overrides the per-section
   navy rules AND the inline style="color:var(--navy)" on some blade headings. */
h1, h2, h3 { color: var(--ink) !important; }
/* …but headings that sit on dark sections stay white (declared last, wins). */
.contact-left h1, .verify-strip h1, .hero:not(.hero--lite) h1 { color: #fff !important; }

/* ─── Utilities ─────────────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.section    { padding: 100px 0; }
.section-sm { padding: 64px 0; }

/* ─── Buttons ───────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 8px;
  font-family: var(--font); font-size: 15px; font-weight: 600;
  cursor: pointer; transition: all 0.2s; text-decoration: none; border: none;
}
.btn-primary { background: var(--teal); color: white; }
.btn-primary:hover { background: #086b65; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(18,179,168,.35); }
.btn-navy { background: var(--navy); color: white; }
.btn-navy:hover { background: var(--teal); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: white; }
.btn-outline-white { background: transparent; color: white; border: 1.5px solid rgba(255,255,255,.4); }
.btn-outline-white:hover { background: white; color: var(--navy); }

.btn-teal {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--teal); color: white; font-family: var(--font);
  font-size: 13px; font-weight: 600; padding: 15px 30px;
  border: none; cursor: pointer;
  border-radius: 999px; text-decoration: none;
  box-shadow: -5px -5px 12px #ffffff, 6px 6px 14px rgba(163, 177, 198, 0.55);
  transition: background .2s ease, box-shadow .22s ease, transform .18s ease;
  align-self: flex-start; justify-content: center;
}
.btn-teal:hover {
  background: #086b65;
  transform: translateY(-2px);
  box-shadow: -7px -7px 16px #ffffff, 9px 9px 20px rgba(174, 188, 209, 0.7);
}
.btn-teal:active {
  transform: translateY(0);
  box-shadow: inset 4px 4px 10px rgba(0, 30, 60, 0.3), inset -4px -4px 10px rgba(255, 255, 255, 0.14);
}
.btn-teal svg { transition: transform .2s ease; }
.btn-teal:hover svg { transform: translateX(3px); }

/* ─── Section label ─────────────────────────────────────────────────── */
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 16px;
}
.section-label::before {
  content: ''; display: block;
  width: 20px; height: 1.5px; background: var(--teal);
}

/* ─── Placeholder image ─────────────────────────────────────────────── */
.img-placeholder {
  background: repeating-linear-gradient(45deg, #f0f2f5 0px, #f0f2f5 2px, #f8f9fb 2px, #f8f9fb 12px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; color: #b0bac8; font-size: 11px; font-family: monospace; text-align: center;
  border-radius: inherit;
}
.img-placeholder svg { opacity: .4; }

/* ─── Product card ──────────────────────────────────────────────────── */
.prod-item { text-decoration: none; color: inherit; display: block; }

/* Premium card */
.product-card--premium {
  position: relative;
  border-radius: 24px;
}
.product-card--premium > * { position: relative; z-index: 1; }

.prod-img {
  width: 100%; aspect-ratio: 7/10; background: var(--page-bg);
  border-radius: 20px; overflow: hidden; margin-bottom: 20px;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.prod-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.prod-item:hover .prod-img {
  transform: translateY(-4px);
  box-shadow: 12px 12px 24px #c8ccd3, -12px -12px 24px #ffffff;
}

/* ─── Video product card ────────────────────────────────────────────── */
.prod-video-wrap { width: 100%; height: 100%; position: relative; overflow: hidden; }
.prod-video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ─── Stop-motion viewer ────────────────────────────────────────────── */
.stop-motion-viewer { position: relative; cursor: pointer; }
.stop-motion-viewer .stop-motion-poster { transition: opacity 0s; }
.stop-motion-viewer canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0; transition: opacity 0.15s;
}
.stop-motion-viewer.is-playing canvas  { opacity: 1; }
.stop-motion-viewer.is-playing .stop-motion-poster { opacity: 0; }
.stop-motion-hint { display: none; }
.prod-name { font-size: 22px; font-weight: 700; color: var(--navy); margin-bottom: 10px; letter-spacing: -.01em; }
.prod-price { font-size: 18px; font-weight: 800; color: var(--navy); letter-spacing: -.02em; margin-bottom: 12px; }
.product-card--premium .prod-price { color: var(--teal); }
.prod-link {
  font-size: 15px; font-weight: 600; color: var(--teal);
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: 999px;
  background: var(--page-bg);
  transition: box-shadow 0.25s ease, transform 0.25s ease, color 0.2s ease;
}
.prod-item:hover .prod-link {
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 7px 7px 15px #c8ccd3, -7px -7px 15px #ffffff;
}
.prod-item:active .prod-link {
  transform: translateY(0);
  box-shadow: inset 5px 5px 11px #c8ccd3, inset -5px -5px 11px #ffffff;
}

/* ===================================================================
   HEADER
   =================================================================== */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: linear-gradient(180deg, rgba(255,255,255,.68), rgba(255,255,255,.5));
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,.55);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 8px 32px -14px rgba(0,44,98,.20);
  transition: background 0.4s, backdrop-filter 0.4s, -webkit-backdrop-filter 0.4s, border-color 0.4s, box-shadow 0.3s;
}
header.scrolled {
  background: linear-gradient(180deg, rgba(255,255,255,.8), rgba(255,255,255,.6));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 12px 36px -12px rgba(0,44,98,.24);
}

/* Browsers without backdrop-filter → fall back to a near-solid bar */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  header { background: rgba(255,255,255,.96); }
  header.scrolled { background: rgba(255,255,255,.98); }
}

.header-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 32px;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
}

/* Logo */
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.logo-mark { width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.logo-mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text .top    { font-size: 13px; font-weight: 600; color: var(--teal);  letter-spacing: .08em; text-transform: uppercase; }
.logo-text .bottom { font-size: 19px; font-weight: 700; color: var(--navy);  letter-spacing: -.01em; }

/* Inline lockup: THE BEST · icon · PEPTIDES (original logo layout) */
.logo--inline { gap: 12px; }
.logo--inline .logo-word {
  font-size: 18px; font-weight: 800; color: #000;
  letter-spacing: -.005em; text-transform: uppercase;
  white-space: nowrap; line-height: 1;
  -webkit-text-stroke: .7px currentColor;
  text-stroke: .7px currentColor;
}
.logo--inline .logo-mark { width: 46px; height: 46px; }

/* Header right (nav + lang on desktop) */
.header-right { display: flex; align-items: center; gap: 4px; }

/* Nav */
nav { display: flex; align-items: center; gap: 1px; }
nav a {
  font-size: 14px; font-weight: 500; color: var(--text-mid);
  text-decoration: none; padding: 8px 10px;
  border-radius: 999px; border: 1px solid transparent;
  transition: color 0.2s, background 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  white-space: nowrap;
}
/* same "glass pill" format as .hero-btn-glass — text colour stays grey in every state */
nav a:hover {
  color: var(--text-mid);
  background: rgba(255,255,255,.82);
  border-color: rgba(0,64,143,.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 10px 30px -16px rgba(0,64,143,.25);
  transform: translateY(-1px);
}
nav a.active {
  color: var(--text-mid); font-weight: 600;
  background: rgba(255,255,255,.9);
  border-color: rgba(0,64,143,.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 10px 30px -16px rgba(0,64,143,.28);
}
.nav-cta {
  background: var(--navy) !important; color: var(--white) !important;
  padding: 9px 14px !important; border-radius: 8px !important;
  font-weight: 600 !important; transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--teal) !important; }

.nav-verify {
  background: var(--teal) !important; color: var(--white) !important;
  padding: 9px 14px !important; border-radius: 8px !important;
  font-weight: 600 !important; transition: background 0.2s !important;
}
.nav-verify:hover { background: var(--navy) !important; }

/* Header CTA buttons — borrow the "glass pill" FORMAT from .hero-btn-glass
   (pill radius, thin top-lit edge, soft diffuse shadow, hover lift). Colours kept. */
.nav-cta, .nav-verify {
  border-radius: 999px !important;
  border: 1px solid rgba(255,255,255,.18) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 10px 30px -16px rgba(0,64,143,.35) !important;
  transition: background .2s, border-color .2s, transform .2s, box-shadow .2s !important;
}
.nav-cta:hover, .nav-verify:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.34), 0 14px 34px -14px rgba(0,64,143,.42) !important;
}

/* Calculator — outlined teal pill, sits between plain link and solid CTA */
.nav-calc {
  color: var(--teal) !important; font-weight: 600 !important;
  padding: 9px 13px !important;
  border-radius: 999px !important;
  border: 1.5px solid rgba(10,128,122,.35) !important;
  background: rgba(255,255,255,.5) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7) !important;
  transition: background .2s, border-color .2s, color .2s, transform .2s, box-shadow .2s !important;
}
.nav-calc:hover {
  color: #fff !important;
  background: var(--teal) !important;
  border-color: var(--teal) !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -14px rgba(10,128,122,.6) !important;
}
.nav-calc.active {
  color: #fff !important; background: var(--teal) !important; border-color: var(--teal) !important;
}

/* Products dropdown */
.nav-dd { position: relative; display: flex; align-items: center; }
.nav-dd-trigger { display: inline-flex; align-items: center; gap: 5px; }
.nav-dd-caret { transition: transform 0.2s; }
.nav-dd:hover .nav-dd-caret,
.nav-dd:focus-within .nav-dd-caret { transform: rotate(180deg); }
.nav-dd-menu {
  position: absolute; top: calc(100% + 10px); left: 0;
  min-width: 230px; max-height: 68vh; overflow-y: auto;
  background: #fff; border: 1px solid var(--border); border-radius: 18px;
  box-shadow: 0 16px 40px rgba(0,64,143,.14);
  padding: 8px; display: flex; flex-direction: column; gap: 2px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
  z-index: 101;
}
.nav-dd:hover .nav-dd-menu,
.nav-dd:focus-within .nav-dd-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dd-menu a {
  font-size: 13.5px; font-weight: 500; color: var(--text-mid);
  padding: 9px 14px; border-radius: 12px; white-space: nowrap;
}
.nav-dd-menu a:hover { color: var(--navy); background: var(--off-white); }

/* Language switcher — desktop */
.lang-switcher {
  display: flex; align-items: center; gap: 4px;
  margin-left: 4px; padding-left: 8px; border-left: 1px solid var(--border);
}
.lang-btn {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 24px; border-radius: 4px; overflow: hidden;
  opacity: .45; transition: opacity 0.2s, transform 0.15s;
  text-decoration: none; flex-shrink: 0;
}
.lang-btn .flag-svg { width: 100%; height: 100%; display: block; }
.lang-btn:hover     { opacity: .82; transform: scale(1.07); }
.lang-btn.active    { opacity: 1; box-shadow: 0 0 0 2px var(--navy); border-radius: 3px; }

/* Language switcher — mobile (inside nav) */
.lang-nav { display: none; }
.lang-nav-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px; border-radius: 8px; text-decoration: none;
  color: var(--text-mid); font-size: 13px; font-weight: 600;
  flex: 1; justify-content: center; transition: background 0.2s, color 0.2s;
}
.lang-nav-btn:hover  { background: var(--off-white); color: var(--navy); }
.lang-nav-btn.active { background: var(--off-white); color: var(--navy); font-weight: 700; }
.lang-nav-btn .flag-svg { width: 26px; height: 18px; border-radius: 3px; flex-shrink: 0; }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 6px; background: none; border: none; flex-shrink: 0;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--navy); border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===================================================================
   FOOTER
   =================================================================== */
footer { background: var(--navy-dark); color: rgba(255,255,255,.7); padding: 60px 0 32px; }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.footer-top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px;
  padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand .logo      { gap: 16px; }
.footer-brand .logo-mark { width: 84px; height: 84px; }
.footer-brand .logo-mark img { filter: brightness(0) invert(1); }
.footer-brand .logo-text .top    { color: #fff; font-size: 18px; }
.footer-brand .logo-text .bottom { color: #fff; font-size: 28px; }
.footer-desc { font-size: 14px; color: rgba(255,255,255,.5); margin-top: 16px; line-height: 1.7; max-width: 280px; }
.footer-col h4 { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 20px; }
.footer-col a { display: block; color: rgba(255,255,255,.7); text-decoration: none; font-size: 14px; margin-bottom: 12px; transition: color 0.2s; }
.footer-col a:hover { color: var(--teal); }
.footer-col p { font-size: 14px; margin-bottom: 8px; }
.footer-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
.footer-bottom {
  display: flex; justify-content: center; align-items: center;
  padding-top: 32px; font-size: 12px; color: rgba(255,255,255,.3); text-align: center;
}

/* ===================================================================
   SCROLL REVEAL ANIMATIONS
   =================================================================== */
[data-anim] {
  opacity: 0;
  /* Every reveal now also un-blurs as it settles — same effect as the
     middle-of-page "blur-in" banner, layered on top of whatever
     transform each element already animates. */
  filter: blur(10px);
  /* One reveal curve for the whole site. Every [data-anim] element — a lone
     section header or a staggered grid card — travels a similar distance over
     the same 1.1s ease, so the cadence reads the same on every page. Tune here
     only; the home product-card rule below mirrors these values. */
  transition:
    opacity    1.1s cubic-bezier(.22,.61,.36,1),
    transform  1.1s cubic-bezier(.22,.61,.36,1),
    filter     1.1s cubic-bezier(.22,.61,.36,1);
  transition-delay: var(--anim-delay, 0s);
  will-change: opacity, transform, filter;
}
[data-anim="fade-up"]    { transform: translateY(48px); }
[data-anim="fade-down"]  { transform: translateY(-40px); }
[data-anim="fade-left"]  { transform: translateX(-52px); }
[data-anim="fade-right"] { transform: translateX(52px); }
[data-anim="fade-in"]    { transform: none; }
[data-anim="scale-in"]   { transform: scale(0.88); }
[data-anim="blur-in"]    { filter: blur(18px); transform: translateY(24px) scale(1.02); }

[data-anim].is-visible { opacity: 1; transform: none; filter: none; }

/* Paired split halves have no inline delay of their own — give the second one a
   small offset so the two sides cascade in like the product grid instead of
   slamming in together. */
.info-split [data-anim]:nth-child(2),
.uk-grid    [data-anim]:nth-child(2) { --anim-delay: 130ms; }

/* "What defines us" — a touch calmer, still in step with the global cadence */
.values-section [data-anim] {
  transition:
    opacity   1.35s cubic-bezier(.16,.68,.32,1),
    transform 1.35s cubic-bezier(.16,.68,.32,1),
    filter    1.35s cubic-bezier(.16,.68,.32,1);
}
.values-section .values-grid .value-card:nth-child(1) { --anim-delay: 80ms; }
.values-section .values-grid .value-card:nth-child(2) { --anim-delay: 220ms; }
.values-section .values-grid .value-card:nth-child(3) { --anim-delay: 360ms; }

@media (prefers-reduced-motion: reduce) {
  [data-anim], [data-anim].is-visible {
    opacity: 1 !important; transform: none !important;
    filter: none !important; transition: none !important;
  }
}

/* ===================================================================
   GLOBAL RESPONSIVE
   =================================================================== */
/* Header collapses to the drawer early: 7 nav items + the products dropdown +
   the language switcher stop fitting the horizontal bar below ~1200px
   (worse in ES/BR, whose labels are longer). */
@media (max-width: 1200px) {
  .hamburger { display: flex; }
  .header-inner { padding: 0 24px; justify-content: flex-end; gap: 14px; }
  /* Logo hugs the left; flags + hamburger group together on the right */
  .logo { margin-right: auto; }

  nav {
    display: none; position: fixed;
    top: calc(var(--header-h) + 10px); left: 12px; right: 12px;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    flex-direction: column; align-items: stretch;
    padding: 14px; border: 1px solid rgba(255,255,255,.6); border-radius: 24px;
    gap: 4px;
    box-shadow: 0 20px 50px -12px rgba(0,44,98,.28), inset 0 1px 0 rgba(255,255,255,.7);
    z-index: 99; max-height: calc(100vh - var(--header-h) - 28px); overflow-y: auto;
    overscroll-behavior: contain;
  }
  nav.open { display: flex; }
  nav a {
    border-radius: 14px; padding: 13px 16px; width: 100%; font-size: 15px;
    border: 1px solid transparent; text-align: center;
  }
  nav a:hover, nav a.active {
    background: var(--off-white); border-color: var(--border);
    box-shadow: none; transform: none;
  }
  nav .nav-calc, nav .nav-verify, nav .nav-cta {
    display: flex; align-items: center; justify-content: center;
    margin-top: 4px;
    padding: 13px 16px !important; border-radius: 14px !important;
  }
  nav .nav-verify, nav .nav-cta { box-shadow: none !important; }

  /* Products dropdown → tap-to-expand accordion inside the mobile drawer */
  .nav-dd { display: block; width: 100%; }
  .nav-dd-trigger { justify-content: center; }
  .nav-dd-caret { display: inline-flex; transition: transform .25s ease; }
  .nav-dd.open .nav-dd-caret { transform: rotate(180deg); }
  .nav-dd-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    min-width: 0; box-shadow: none; border: none; border-radius: 14px;
    background: var(--off-white);
    margin: 4px 0 4px; padding: 0; gap: 2px;
    max-height: 0; overflow: hidden;
    transition: max-height .3s ease, padding .3s ease;
  }
  .nav-dd.open .nav-dd-menu {
    max-height: min(46vh, 360px); overflow-y: auto; padding: 8px;
    -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
  }
  .nav-dd-menu a { font-size: 14px; padding: 11px 14px; border-radius: 10px; }

  /* Keep the language flags on the header bar itself (next to the
     hamburger) instead of hiding them inside the drawer. */
  .lang-nav { display: none; }
  .lang-switcher {
    display: flex;
    margin-left: 0; padding-left: 0; border-left: none;
    margin-right: 0; gap: 5px;
  }
}

@media (max-width: 768px) {
  :root { --header-h: 72px; }
  .header-inner { padding: 0 20px; }
  .logo-mark   { width: 44px; height: 44px; }
  .logo-text .bottom { font-size: 16px; }
  .logo-text .top    { font-size: 11px; }
  .logo--inline { gap: 8px; }
  .logo--inline .logo-word { font-size: 13px; }
  .logo--inline .logo-mark { width: 34px; height: 34px; }

  /* Trim the header flags so logo + flags + hamburger fit narrow phones */
  .lang-switcher { margin-right: 2px; gap: 4px; }
  .lang-btn { width: 28px; height: 20px; }

  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .footer-inner { padding: 0 20px; }
  .container    { padding: 0 20px; }
  .section      { padding: 48px 0; }

  /* Reduce inline paddings on container divs */
  .container[style*="padding-top:100px"] { padding-top: 48px !important; }
  .container[style*="padding-bottom:100px"] { padding-bottom: 48px !important; }

  /* Science section header spacing */
  .science-section [style*="margin-bottom:110px"] { margin-bottom: 48px !important; }

  /* Page headers */
  .page-header  { padding: 90px 0 24px; }
  .products-header { padding: 90px 0 24px; }
}

@media (max-width: 480px) {
  .container  { padding: 0 16px; }
  .footer-inner { padding: 0 16px; }
  .prod-name  { font-size: 18px; }
}

/* ===================================================================
   PAGE: HOME — Hero
   =================================================================== */

/* Transparent header on hero pages */
body:has(.hero) header:not(.scrolled) {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
  box-shadow: none;
}
body:has(.hero) header:not(.scrolled) nav a          { color: rgba(255,255,255,.85); }
body:has(.hero) header:not(.scrolled) nav a:hover    { color: white; background: rgba(255,255,255,.1); }
body:has(.hero) header:not(.scrolled) .nav-cta       { background: rgba(255,255,255,.15) !important; color: white !important; border: 1px solid rgba(255,255,255,.3) !important; }
body:has(.hero) header:not(.scrolled) .nav-cta:hover { background: white !important; color: var(--navy) !important; }

/* Mobile: when nav is open over hero, restore dark colors (white bg) */
body:has(.hero) header:not(.scrolled) nav.open a          { color: var(--text-mid); }
body:has(.hero) header:not(.scrolled) nav.open a:hover    { color: var(--navy); background: var(--off-white); }
body:has(.hero) header:not(.scrolled) nav.open .nav-cta   { background: var(--navy) !important; color: white !important; border: none !important; }
body:has(.hero) header:not(.scrolled) nav.open .nav-cta:hover { background: var(--teal) !important; }
body:has(.hero) header:not(.scrolled) .logo-text .top    { color: rgba(255,255,255,.7); }
body:has(.hero) header:not(.scrolled) .logo-text .bottom { color: white; }
body:has(.hero) header:not(.scrolled) .logo--inline .logo-word { color: #fff; }
body:has(.hero--lite) header:not(.scrolled) .logo--inline .logo-word { color: #000; }
body:has(.hero) header:not(.scrolled) .hamburger span    { background: white; }
body:has(.hero) header:not(.scrolled) .lang-btn          { opacity: .65; }
body:has(.hero) header:not(.scrolled) .lang-btn:hover    { opacity: .9; }
body:has(.hero) header:not(.scrolled) .lang-btn.active   { opacity: 1; box-shadow: 0 0 0 2px rgba(255,255,255,.6); }
body:has(.hero) header:not(.scrolled) .lang-switcher     { border-left-color: rgba(255,255,255,.2); }

.hero {
  position: relative; height: 100vh; min-height: 600px;
  overflow: hidden; display: flex; align-items: center;
}
.hero-bg { position: absolute; inset: -80px 0; background: #1a2035; will-change: transform; pointer-events: none; }
.hero-bg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(0,10,30,.62) 0%, rgba(0,10,30,.38) 55%, rgba(0,10,30,.15) 100%);
  z-index: 1;
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto; padding: 0 48px; width: 100%;
}
.hero-eyebrow {
  font-size: 16px; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: rgba(255,255,255,1);
  margin-bottom: 24px; display: flex; align-items: center; gap: 12px;
}
.hero-eyebrow::before { content: ''; display: block; width: 28px; height: 1px; background: var(--teal); }
.hero h1 {
  font-size: clamp(52px, 7.5vw, 104px); font-weight: 800;
  color: white; letter-spacing: -.04em; line-height: 1;
  margin-bottom: 28px; max-width: 1000px;
}
.hero h1 em { font-style: normal; color: var(--teal); }
.hero-sub { font-size: 16px; color: rgba(255,255,255,1); max-width: 380px; line-height: 1.7; margin-bottom: 44px; }
.hero-btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--teal); color: white;
  font-family: var(--font); font-size: 14px; font-weight: 600; letter-spacing: .02em;
  padding: 14px 28px; border-radius: 999px;
  text-decoration: none; border: none; cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  touch-action: manipulation; -webkit-tap-highlight-color: transparent;
  position: relative; z-index: 3;
}
.hero-btn:hover { background: #086b65; transform: translateY(-1px); }
.hero-scroll {
  position: absolute; bottom: 36px; left: 48px; z-index: 2;
  display: flex; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.35);
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,.4), transparent);
  animation: scrollLine 1.8s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleY(1);   opacity: 1; }
  50%       { transform: scaleY(.4); opacity: .3; }
}

/* ─── Home: hero — clean premium, light ─────────────────────────── */

/* Light hero → transparent header floating over the hero */
body:has(.hero--lite) header:not(.scrolled) {
  background: transparent;
  backdrop-filter: none; -webkit-backdrop-filter: none;
  border-bottom-color: transparent; box-shadow: none;
}
body:has(.hero--lite) header:not(.scrolled) nav a          { color: var(--text-mid); }
body:has(.hero--lite) header:not(.scrolled) nav a:hover    { color: var(--text-mid); background: var(--off-white); }
body:has(.hero--lite) header:not(.scrolled) .nav-cta       { background: var(--navy) !important; color: #fff !important; border: none !important; }
body:has(.hero--lite) header:not(.scrolled) .nav-cta:hover { background: var(--teal) !important; }
body:has(.hero--lite) header:not(.scrolled) .logo-text .top    { color: var(--teal); }
body:has(.hero--lite) header:not(.scrolled) .logo-text .bottom { color: var(--navy); }
body:has(.hero--lite) header:not(.scrolled) .hamburger span    { background: var(--navy); }
body:has(.hero--lite) header:not(.scrolled) .lang-btn          { opacity: .5; }
body:has(.hero--lite) header:not(.scrolled) .lang-btn.active   { opacity: 1; box-shadow: 0 0 0 2px var(--navy); }
body:has(.hero--lite) header:not(.scrolled) .lang-switcher     { border-left-color: var(--border); }

.hero--lite {
  position: relative; height: auto; min-height: 100svh; overflow: hidden;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 104px) 0 76px;
  color: var(--navy); isolation: isolate;
  background: #fff;
}

/* Blur lives on the (frame-sized, static) wrapper, NOT on the moving photo —
   animating transform on a filtered element forces a re-raster every frame. */
.hero-bg-layers {
  position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none;
}
/* The photo is the only element that moves on scroll. Its own compositor
   layer (translateZ + will-change), filter-free so each frame is a pure
   composite. It slides DOWN up to 8% of the hero height (see the GSAP
   factor in app.js), so a small top/bottom overhang is enough to never
   expose an edge — kept tight so object-fit:cover doesn't over-zoom. */
.hero-bg-photo {
  position: absolute; left: -3%; right: auto; top: -10%; width: 106%; height: 114%;
  object-fit: cover; object-position: 48% 45%;
  filter: saturate(.82) contrast(.95) brightness(1.14);
  transform: translateZ(0);
  will-change: transform;
  backface-visibility: hidden;
}
/* White wash — keeps the copy side readable while letting more of the photo
   show through than a full frosting would. */
.hero-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.8) 34%, rgba(255,255,255,.5) 62%, rgba(255,255,255,.32) 100%),
    rgba(255, 255, 255, .32);
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(64px); }
.hero-glow--1 {
  width: 40vw; height: 40vw; max-width: 560px; max-height: 560px; top: -18vh; right: -4vw;
  background: radial-gradient(circle at 42% 42%, rgba(18,179,168,.12), transparent 70%);
}
.hero-glow--2 {
  width: 34vw; height: 34vw; max-width: 480px; max-height: 480px; bottom: -22vh; left: -8vw;
  background: radial-gradient(circle at 50% 50%, rgba(0,64,168,.08), transparent 70%);
}

.hero-lite-inner {
  position: relative; z-index: 2;
  max-width: 1260px; margin: 0 auto; padding: 0 48px; width: 100%;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 62px; align-items: center;
}

/* ---- left: copy ---- */
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase;
  color: var(--text-mid);
}
.hero-eyebrow::before {
  content: ""; width: 28px; height: 1px; flex-shrink: 0;
  background: linear-gradient(90deg, var(--navy), transparent);
}
.hero--lite h1 {
  margin: 22px 0 20px; max-width: 13ch;
  font-size: clamp(40px, 5vw, 72px); font-weight: 800; color: var(--navy) !important;
  letter-spacing: -.045em; line-height: 1.04;
}
.hero--lite h1 em { font-style: normal; color: var(--teal); }
.hero-sub {
  max-width: 420px; margin-bottom: 34px; font-size: 16px; line-height: 1.75;
  color: var(--text-mid); font-weight: 500;
}

.hero-actions { display: flex; align-items: center; gap: 16px; margin-bottom: 38px; flex-wrap: wrap; }
.hero--lite .hero-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--navy); color: #fff; cursor: pointer;
  border: 1px solid rgba(255,255,255,.18);
  font-family: var(--font); font-size: 14px; font-weight: 700; letter-spacing: .01em;
  padding: 15px 26px; border-radius: 999px; text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 10px 30px -16px rgba(0,64,143,.35);
  transition: transform .2s, box-shadow .2s, background .2s, border-color .2s;
}
.hero--lite .hero-btn:hover {
  background: var(--teal); transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.34), 0 14px 34px -14px rgba(18,179,168,.42);
}
/* teal CTA — same green as the "peptide" word in the headline */
.hero--lite .hero-btn.hero-btn--teal {
  background: var(--teal); border-color: rgba(255,255,255,.26);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.34), 0 12px 32px -14px rgba(18,179,168,.45);
}
.hero--lite .hero-btn.hero-btn--teal:hover {
  background: #086b65;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.38), 0 16px 36px -14px rgba(18,179,168,.5);
}
.hero-btn-glass {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 22px; border-radius: 999px; text-decoration: none;
  font-size: 14px; font-weight: 600; color: var(--navy);
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(0,64,143,.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 10px 30px -16px rgba(0,64,143,.25);
  transition: background .2s, border-color .2s, transform .2s;
}
.hero-btn-glass:hover { background: rgba(255,255,255,.88); border-color: rgba(0,64,143,.28); transform: translateY(-2px); }
.hero-btn-glass svg { transition: transform .2s; }
.hero-btn-glass:hover svg { transform: translateX(3px); }

.hero-cred {
  display: flex; align-items: stretch; max-width: 480px;
  padding: 16px 8px; border-radius: 18px;
  background: rgba(255,255,255,.8);
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 26px 60px -32px rgba(0,64,143,.3);
}
.hero-cred-item { flex: 1; padding: 0 20px; }
.hero-cred-item + .hero-cred-item { border-left: 1px solid rgba(0,64,143,.12); }
.hero-cred-item b { display: block; font-size: 20px; font-weight: 800; color: var(--navy); letter-spacing: -.02em; }
.hero-cred-item span { display: block; margin-top: 4px; font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--text-light); }

/* ---- right: light glass spec card ---- */
.hero-showcase { position: relative; align-self: center; }
.hero-showcase-frame {
  position: relative; width: 88%; margin-left: auto;
  border-radius: 26px; padding: 22px;
  display: flex; flex-direction: column; gap: 16px;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(255,255,255,.95);
  box-shadow:
    inset 0 1px 0 #fff,
    0 50px 100px -46px rgba(0,64,143,.38);
}
.hero-sc-eyebrow {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--text-light);
}
.hero-sc-eyebrow span:last-child { color: var(--teal); }
.hero-sc-photo {
  position: relative; border-radius: 16px; overflow: hidden;
  aspect-ratio: 16 / 11; background: #fff;
  border: 1px solid rgba(0,64,143,.08);
}
.hero-sc-photo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.hero-sc-name {
  font-size: 18px; font-weight: 800; letter-spacing: -.02em;
  color: var(--ink); line-height: 1.1;
}
.hero-sc-specs { display: flex; flex-direction: column; gap: 10px; }
.hero-sg-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.hero-sg-row + .hero-sg-row { border-top: 1px solid rgba(0,64,143,.1); padding-top: 10px; }
.hero-sg-k { font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--text-light); }
.hero-sg-v { font-size: 13px; font-weight: 700; color: var(--navy); }
.hero-sg-v em { font-style: normal; color: var(--teal); }
/* Premium compounds carousel inside the showcase card */
.hero-sc-carousel {
  position: relative;
  cursor: grab; user-select: none; -webkit-user-select: none;
}
.hero-sc-carousel:active { cursor: grabbing; }
.hero-sc-carousel img { -webkit-user-drag: none; user-drag: none; pointer-events: none; }
.hero-sc-slide {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; gap: 14px;
  opacity: 0; visibility: hidden;
  transition: opacity .55s ease;
}
.hero-sc-slide.is-active {
  position: relative;
  opacity: 1; visibility: visible;
}

@media (prefers-reduced-motion: reduce) {
  .hero-sc-slide { transition: none; }
}

.hero-chip {
  position: absolute; z-index: 3; right: 20px; top: -22px;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 18px 12px 14px; border-radius: 14px;
  background: rgba(255,255,255,.94);
  border: 1px solid #fff;
  box-shadow: inset 0 1px 0 #fff, 0 22px 44px -20px rgba(0,64,143,.3);
}
.hero-chip-dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--teal); flex-shrink: 0;
  box-shadow: 0 0 0 4px rgba(18,179,168,.2);
}
.hero-chip span { font-size: 11px; color: var(--text-mid); line-height: 1.35; }
.hero-chip b { display: block; font-size: 12.5px; font-weight: 700; color: var(--navy); }

@media (prefers-reduced-motion: reduce) {
  .hero-glow { animation: none !important; }
}
@media (max-width: 980px) {
  /* Drop the featured-compound card and credential row here — stacking them
     below the hero copy looked bad. The photo hero carries the section alone. */
  .hero-lite-inner { grid-template-columns: 1fr; gap: 0; }
  .hero-showcase, .hero-cred { display: none !important; }
  .hero-lattice { display: none; }
  .hero--lite {
    min-height: 90svh;
    align-items: flex-end;
    padding-top: calc(var(--header-h) + 20px);
    padding-bottom: 52px;
  }
}
@media (max-width: 560px) {
  .hero--lite { padding: calc(var(--header-h) + 104px) 0 56px; }
  .hero-lite-inner { padding: 0 22px; }
  .hero-cred { flex-wrap: wrap; row-gap: 14px; padding: 14px 4px; }
  .hero-cred-item { flex: 0 0 50%; padding: 8px 16px; }
  .hero-cred-item:nth-child(odd) { border-left: none; }
  .hero-chip { right: 0; top: -12px; }
}

/* ─── Mobile home hero: the peptide photo IS the hero ───────────────────
   Hide the featured-compound card and the credential row, grow the hero so
   the full-bleed photo (cover + parallax, same as desktop) has room to move
   and the whole peptide is on screen before the next section scrolls in. */
@media (max-width: 900px) {
  .hero-showcase { display: none !important; }
  .hero-cred     { display: none !important; }

  /* Banner a touch shorter than the viewport, copy pinned to the bottom.
     Background photo keeps its normal cover framing + parallax (base rule). */
  .hero--lite {
    min-height: 90svh;
    align-items: flex-end;
    padding-top: calc(var(--header-h) + 20px);
    padding-bottom: 52px;
  }

  /* "Our Laboratories": single column, carousel above the text */
  .info-split { display: block; }
  .info-split-img { margin-bottom: 32px; }
}

/* ─── Home: sections ────────────────────────────────────────────────── */
.products-section { padding: 140px 0 60px; }
.section-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 110px; flex-wrap: wrap; gap: 16px;
}
.section-header h2 { font-size: clamp(34px, 4.5vw, 56px); font-weight: 800; color: var(--navy); letter-spacing: -.03em; line-height: 1.05; }

/* "View all" — neumorphic pill: raised on a light chip, pressed-in on click */
.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px;
  font-size: 13px; font-weight: 600; color: var(--navy);
  text-decoration: none; white-space: nowrap;
  background: var(--page-bg); border: none;
  box-shadow:
    -5px -5px 12px #ffffff,
     6px 6px 14px rgba(163, 177, 198, 0.55);
  transition: box-shadow .22s, transform .18s, color .2s;
}
.text-link:hover {
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow:
    -7px -7px 16px #ffffff,
     9px 9px 20px rgba(174, 188, 209, 0.7);
}
.text-link:active {
  transform: translateY(0);
  box-shadow:
    inset -4px -4px 8px #ffffff,
    inset  5px  5px 10px rgba(174, 188, 209, 0.7);
}
.text-link:hover svg { transform: translateX(3px); }
.text-link svg { transition: transform 0.2s; }

.science-section { padding: 60px 0 100px; }
.science-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.science-col { padding: 0 48px 0 0; border-right: 1px solid var(--border); }
.science-col:last-child  { border-right: none; padding-right: 0; padding-left: 48px; }
.science-col:nth-child(2) { padding-left: 48px; }
.science-col-num { font-size: 11px; font-weight: 700; letter-spacing: .12em; color: var(--teal); text-transform: uppercase; margin-bottom: 20px; }
.science-col h3 { font-size: 22px; font-weight: 700; color: var(--navy); letter-spacing: -.02em; margin-bottom: 14px; }
.science-col p  { font-size: 15px; color: var(--text-mid); line-height: 1.75; }

.info-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.info-split-img { height: 520px; overflow: hidden; background: #f4f5f7; border-radius: 16px; }
.info-split-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.info-split-text { display: flex; flex-direction: column; justify-content: center; }
.info-split-text h2 { font-size: clamp(28px, 3.2vw, 42px); font-weight: 800; color: var(--navy); letter-spacing: -.03em; line-height: 1.1; margin-bottom: 20px; }
.info-split-text p  { font-size: 16px; color: var(--text-mid); line-height: 1.8; margin-bottom: 18px; }

.verify-banner { background: var(--off-white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-top: 100px; }

.explore-cta { border-top: 1px solid var(--border); padding: 100px 0; }
.explore-inner { display: grid; grid-template-columns: 2.2fr 1fr; align-items: center; gap: 56px; }
.explore-inner h2 { font-size: clamp(32px, 4vw, 56px); font-weight: 800; color: var(--navy); letter-spacing: -.04em; line-height: 1.08; margin: 0; }
.explore-inner .btn-teal { justify-self: end; }

@media (max-width: 1024px) {
  .products-grid  { grid-template-columns: repeat(2, 1fr); }
  .science-grid   { grid-template-columns: 1fr; gap: 40px; }
  .science-col    { border-right: none; padding: 0 0 40px; border-bottom: 1px solid var(--border); }
  .science-col:last-child  { border-bottom: none; padding-bottom: 0; padding-left: 0; }
  .science-col:nth-child(2) { padding-left: 0; }
  .info-split { grid-template-columns: 1fr; }
  .info-split-img { height: 320px; }
  .section-header { margin-bottom: 60px; }
}
@media (max-width: 768px) {
  .products-section { padding: 48px 0 40px; }
  .science-section  { padding: 40px 0 48px; }
  .verify-banner .container > div { grid-template-columns: 1fr !important; gap: 32px; }
  .verify-banner .container > div { padding: 48px 0 !important; }
  .explore-inner { grid-template-columns: 1fr; gap: 28px; }
  .explore-inner .btn-teal { justify-self: start; }
  .explore-cta { padding: 48px 0; }
}
@media (max-width: 600px) {
  .hero-content { padding: 0 24px; }
  .hero-scroll  { left: 24px; }
  .info-split-img { height: 260px; }
}

/* ===================================================================
   PAGE: PRODUCTS
   =================================================================== */
.products-header { padding: 160px 0 48px; }

.products-header-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.products-header-title { display: flex; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.products-header-title h1 { font-size: clamp(34px, 4.5vw, 56px); font-weight: 800; color: var(--navy); letter-spacing: -.03em; line-height: 1.05; margin: 0; }
.catalog-label { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text-light); padding-bottom: 8px; white-space: nowrap; }

.search-wrap { position: relative; display: inline-flex; align-items: center; }
.search-wrap input {
  width: 240px; padding: 10px 16px 10px 38px;
  border: 1.5px solid var(--border); border-radius: 100px;
  background: white; font-family: var(--font); font-size: 13px; color: var(--text);
  outline: none; transition: border-color 0.2s, box-shadow 0.2s, width 0.2s;
}
.search-wrap input::placeholder { color: var(--text-light); }
.search-wrap input:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(18,179,168,.12); width: 280px; }
.search-wrap .search-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--text-light); pointer-events: none; }

.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 24px; }

.no-results { text-align: center; padding: 60px 0; color: var(--text-light); font-size: 15px; display: none; }
.no-results.show { display: block; }

/* ─── Product line labels ───────────────────────────────────────────── */
.line-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.line-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.line-label--premium { color: var(--navy); }
.line-label--premium::after { background: linear-gradient(to right, var(--navy), transparent); }
.line-label--commercial { color: var(--teal); }
.line-label--commercial::after { background: linear-gradient(to right, var(--teal), transparent); }

@media (max-width: 1024px) { .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px)  { .products-header { padding: 110px 0 32px; } }
@media (max-width: 700px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .products-header-title { flex-direction: column; align-items: flex-start; gap: 8px; }
  .search-wrap input, .search-wrap input:focus { width: 100%; }
  .search-wrap { width: 100%; }
  .products-header-inner { gap: 20px; }
}

/* ─── Carousel ──────────────────────────────────────────────────────── */
.carousel {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  user-select: none;
}
.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}
.carousel-slide {
  flex: 0 0 100%;
  overflow: hidden;
}
.info-split-img .carousel { height: 100%; border-radius: 0; }
.info-split-img .carousel-track { height: 100%; }
.info-split-img .carousel-slide { height: 100%; aspect-ratio: unset; }
.info-split-img .carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.carousel-slide img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  pointer-events: none;
}
.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.9); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--navy); box-shadow: 0 2px 12px rgba(0,0,0,.15);
  transition: background 0.2s, transform 0.2s;
  z-index: 2;
}
.carousel-btn:hover { background: #fff; transform: translateY(-50%) scale(1.08); }
.carousel-btn--prev { left: 16px; }
.carousel-btn--next { right: 16px; }
.carousel-dots {
  position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 7px; z-index: 2;
}
.carousel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.5); border: none; cursor: pointer;
  padding: 0; transition: background 0.2s, transform 0.2s;
}
.carousel-dot.active {
  background: #fff; transform: scale(1.25);
}
@media (max-width: 700px) {
  .carousel-btn { width: 36px; height: 36px; }
  .carousel-slide { aspect-ratio: 4/3; }
}

/* ===================================================================
   PAGE: ABOUT
   =================================================================== */
.page-header { padding: 160px 0 48px; }
.page-header-inner { display: grid; grid-template-columns: 3fr 2fr; gap: 64px; align-items: start; }
.page-header-title h1 { font-size: clamp(44px, 6vw, 84px); font-weight: 800; color: var(--navy); letter-spacing: -.03em; line-height: 1.02; margin: 0; }
.page-header-title h1 span { color: var(--teal); }
.page-header-sub { margin: 0; font-size: 16px; color: var(--text-mid); line-height: 1.75; padding-bottom: 8px; }

.section-hdr { display: flex; align-items: flex-end; gap: 40px; margin-bottom: 80px; flex-wrap: wrap; }
.section-hdr h2 { font-size: clamp(32px, 4vw, 52px); font-weight: 800; color: var(--navy); letter-spacing: -.03em; line-height: 1.05; margin: 0; }

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.value-card { background: var(--off-white); border: 1px solid var(--border); border-radius: 16px; padding: 40px 36px; }
.value-icon { width: 56px; height: 56px; border-radius: 14px; background: rgba(18,179,168,.12); display: flex; align-items: center; justify-content: center; margin-bottom: 28px; }
.value-card h3 { font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 12px; letter-spacing: -.01em; }
.value-card p  { font-size: 14px; color: var(--text-mid); line-height: 1.75; }

.uk-grid  { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.uk-text p { font-size: 16px; color: var(--text-mid); line-height: 1.8; margin-bottom: 18px; }
.uk-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.uk-stat  { background: var(--off-white); border: 1px solid var(--border); border-radius: 14px; padding: 24px 22px; }
.uk-stat-val   { font-size: 34px; font-weight: 800; color: var(--teal); letter-spacing: -.02em; line-height: 1; }
.uk-stat-label { font-size: 13px; color: var(--text-light); margin-top: 6px; }
.uk-img { height: 520px; border-radius: 16px; overflow: hidden; background: #f4f5f7; }
.uk-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.process-step { position: relative; padding-right: 16px; }
.process-step:not(:last-child)::after {
  content: ''; position: absolute; top: 28px; right: -16px;
  width: 32px; height: 1px; background: var(--border);
}
.process-num { width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: white; font-size: 16px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-bottom: 24px; }
.process-step h4 { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.process-step p  { font-size: 14px; color: var(--text-mid); line-height: 1.75; }

.about-cta { border-top: 1px solid var(--border); padding: 100px 0; }
.about-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 56px; flex-wrap: wrap; }
.about-cta-inner h2 { font-size: clamp(32px, 4vw, 56px); font-weight: 800; color: var(--navy); letter-spacing: -.04em; line-height: 1.08; margin: 0; max-width: 620px; }

@media (max-width: 1024px) {
  .info-split, .uk-grid { grid-template-columns: 1fr; gap: 40px; }
  .info-split-img, .uk-img { height: 360px; }
  .values-grid  { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .process-step:not(:last-child)::after { display: none; }
}
@media (max-width: 1024px) {
  .page-header { padding: 130px 0 40px; }
  .page-header-inner { grid-template-columns: 1fr; gap: 24px; align-items: start; }
  .page-header-sub { padding-bottom: 0; }
}
@media (max-width: 768px) {
  .page-header { padding: 110px 0 32px; }
  .values-grid { grid-template-columns: 1fr; }
  .about-cta   { padding: 60px 0; }
}
@media (max-width: 600px) {
  .process-grid { grid-template-columns: 1fr; }
  .section-hdr  { flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* ─── About page — neumorphic skin ────────────────────────────────────
   Soft-UI treatment scoped to .about-page. Panels/images sit on the
   page background and are extruded with a paired light/dark shadow;
   icons and number chips are pressed-in wells. */
.about-page {
  --neu-d: #c5c9d2;   /* shadow  — page-bg darkened */
  --neu-l: #ffffff;   /* highlight */
  --neu-raised:    10px 10px 24px var(--neu-d), -10px -10px 24px var(--neu-l);
  --neu-raised-lg: 16px 16px 34px var(--neu-d), -16px -16px 34px var(--neu-l);
  --neu-sm:        6px 6px 14px var(--neu-d), -6px -6px 14px var(--neu-l);
  --neu-inset:     inset 5px 5px 11px var(--neu-d), inset -5px -5px 11px var(--neu-l);
}

/* Raised soft panels */
.about-page .value-card,
.about-page .uk-stat,
.about-page .process-step {
  background: var(--page-bg);
  border: none;
  border-radius: 22px;
  box-shadow: var(--neu-raised);
  transition: box-shadow .3s ease, transform .3s ease;
}
.about-page .process-step { padding: 34px 28px; }
.about-page .process-step:not(:last-child)::after { display: none; }

.about-page .value-card:hover,
.about-page .uk-stat:hover,
.about-page .process-step:hover {
  transform: translateY(-5px);
  box-shadow: var(--neu-raised-lg);
}

/* Pressed-in icon well */
.about-page .value-icon {
  background: var(--page-bg);
  box-shadow: var(--neu-inset);
}

/* Process number as an inset chip */
.about-page .process-num {
  width: 54px; height: 54px;
  border-radius: 16px;
  background: var(--page-bg);
  color: var(--teal);
  box-shadow: var(--neu-inset);
  margin-bottom: 20px;
}

/* Images sit flush — no neumorphic frame, just the photo */
.about-page .info-split-img,
.about-page .uk-img,
.about-page .about-hero-img {
  background: none;
  border-radius: 16px;
  padding: 0;
  box-shadow: none;
}
.about-page .about-hero-img { height: 620px; overflow: hidden; }
.about-page .info-split-img img,
.about-page .uk-img img,
.about-page .about-hero-img img {
  border-radius: 16px;
}

/* Intro paragraph as a soft card */
.about-page .page-header-sub {
  background: var(--page-bg);
  border-radius: 20px;
  padding: 26px 28px;
  box-shadow: var(--neu-raised);
}

/* Closing CTA on a raised slab */
.about-page .about-cta { border-top: none; }
.about-page .about-cta-inner {
  background: var(--page-bg);
  border-radius: 30px;
  padding: 60px 52px;
  box-shadow: var(--neu-raised-lg);
}

@media (max-width: 980px) {
  .about-page .about-hero-img { height: 360px; }
}
@media (max-width: 768px) {
  .about-page .about-cta-inner { padding: 40px 28px; }
  .about-page .about-hero-img { height: 280px; }
}

/* ===================================================================
   PAGE: CONTACT
   =================================================================== */
.contact-layout { min-height: 100vh; padding-top: var(--header-h); display: grid; grid-template-columns: 1fr 1fr; }

.contact-left {
  background: var(--navy); padding: 80px 64px;
  display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden;
}
.contact-left::before { content: ''; position: absolute; top: -100px; right: -100px; width: 500px; height: 500px; background: radial-gradient(circle, rgba(18,179,168,.15) 0%, transparent 70%); }
.contact-left::after  { content: ''; position: absolute; bottom: -80px; left: -60px; width: 350px; height: 350px; background: radial-gradient(circle, rgba(0,93,210,.2) 0%, transparent 70%); }
.contact-left-content { position: relative; z-index: 1; }
.contact-left .section-label { color: rgba(255,255,255,.45); margin-bottom: 16px; }
.contact-left .section-label::before { background: var(--teal); }
.contact-left h1 { font-size: clamp(32px, 3.5vw, 52px); font-weight: 800; color: white; letter-spacing: -.03em; line-height: 1.08; margin-bottom: 20px; }
.contact-left h1 span { color: var(--teal); }
.contact-left > .contact-left-content > p { font-size: 16px; color: rgba(255,255,255,.6); line-height: 1.75; max-width: 380px; margin-bottom: 48px; }

.contact-info-items { display: flex; flex-direction: column; gap: 20px; }
.contact-info-item {
  display: flex; align-items: center; gap: 16px;
  padding: 20px 24px; background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1); border-radius: 14px;
  text-decoration: none; transition: background 0.2s, border-color 0.2s;
}
.contact-info-item:hover { background: rgba(18,179,168,.12); border-color: rgba(18,179,168,.3); }
.contact-info-icon { width: 44px; height: 44px; background: rgba(18,179,168,.15); border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info-label { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.35); margin-bottom: 3px; }
.contact-info-val   { font-size: 15px; font-weight: 600; color: white; }
.contact-disclaimer { margin-top: 48px; padding: 20px 24px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 12px; font-size: 12px; color: rgba(255,255,255,.3); line-height: 1.65; }

.contact-right { background: white; padding: 80px 64px; display: flex; flex-direction: column; justify-content: center; }
.contact-right h2 { font-size: 28px; font-weight: 800; color: var(--navy); letter-spacing: -.02em; margin-bottom: 8px; }
.contact-right > p { font-size: 14px; color: var(--text-light); margin-bottom: 36px; }

.form-group { margin-bottom: 20px; }
.form-row   { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-mid); margin-bottom: 8px; }
input, textarea, select {
  width: 100%; font-family: var(--font); font-size: 15px; color: var(--text);
  background: var(--off-white); border: 1.5px solid var(--border);
  border-radius: 10px; padding: 13px 16px; outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  -webkit-appearance: none;
}
input:focus, textarea:focus, select:focus { border-color: var(--teal); background: white; box-shadow: 0 0 0 3px rgba(18,179,168,.12); }
textarea { resize: vertical; min-height: 130px; }
select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%238a96a8' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px;
}
.form-submit { margin-top: 8px; }
.form-submit .btn { width: 100%; justify-content: center; padding: 15px; }

.success-msg {
  display: none; background: rgba(18,179,168,.08);
  border: 1px solid rgba(18,179,168,.25); border-radius: 12px;
  padding: 20px 24px; margin-top: 16px;
  font-size: 14px; color: #2a8a84; font-weight: 600;
  align-items: center; gap: 12px;
}
.success-msg.show { display: flex; }

@media (max-width: 1024px) {
  .contact-layout { grid-template-columns: 1fr; }
  .contact-left   { padding: 80px 40px 60px; }
  .contact-right  { padding: 60px 40px; }
}
@media (max-width: 768px) {
  .contact-left  { padding: 60px 24px; }
  .contact-right { padding: 48px 24px; }
  .form-row { grid-template-columns: 1fr; }
}

/* ===================================================================
   PAGE: VERIFY
   =================================================================== */
.verify-page { min-height: 100vh; padding-top: var(--header-h); display: flex; flex-direction: column; background: var(--off-white); }

.verify-strip { background: var(--navy); padding: 80px 0 100px; position: relative; overflow: hidden; }
.verify-strip::before { content: ''; position: absolute; top: -80px; right: -80px; width: 400px; height: 400px; background: radial-gradient(circle, rgba(18,179,168,.12) 0%, transparent 70%); }
.verify-strip-inner { max-width: 640px; margin: 0 auto; padding: 0 32px; text-align: center; position: relative; z-index: 1; }
.verify-strip .section-label { justify-content: center; color: rgba(255,255,255,.4); margin-bottom: 16px; }
.verify-strip .section-label::before { background: var(--teal); }
.verify-strip h1 { font-size: clamp(28px, 4vw, 46px); font-weight: 800; color: white; letter-spacing: -.03em; margin-bottom: 14px; }
.verify-strip p  { font-size: 15px; color: rgba(255,255,255,.55); line-height: 1.7; }

.verify-card-wrap { max-width: 880px; margin: -40px auto 0; padding: 0 32px 80px; flex: 1; }
.verify-card { background: white; border-radius: 12px; border: 1px solid var(--border); box-shadow: 0 4px 24px rgba(0,0,0,.07); padding: 40px; }

.code-row   { display: flex; gap: 12px; margin-bottom: 28px; }
.code-input {
  flex: 1; font-family: 'Courier New', monospace;
  font-size: 18px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--navy);
  background: var(--off-white); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 16px 20px; outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.code-input::placeholder { color: #c0cad6; letter-spacing: .05em; font-size: 15px; }
.code-input:focus { border-color: var(--teal); background: white; box-shadow: 0 0 0 3px rgba(18,179,168,.12); }
.verify-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--teal); color: white;
  font-family: var(--font); font-size: 14px; font-weight: 700;
  padding: 16px 30px; border: none; border-radius: 999px;
  cursor: pointer; white-space: nowrap;
  box-shadow: -5px -5px 12px #ffffff, 6px 6px 14px rgba(163, 177, 198, 0.55);
  transition: background .2s ease, box-shadow .22s ease, transform .18s ease;
}
.verify-btn:hover {
  background: #086b65;
  transform: translateY(-2px);
  box-shadow: -7px -7px 16px #ffffff, 9px 9px 20px rgba(174, 188, 209, 0.7);
}
.verify-btn:active {
  transform: translateY(0);
  box-shadow: inset 4px 4px 10px rgba(0, 30, 60, 0.3), inset -4px -4px 10px rgba(255, 255, 255, 0.14);
}
.verify-btn:disabled { opacity: .6; cursor: not-allowed; box-shadow: none; }
.code-hint { font-size: 12px; color: var(--text-light); margin-top: -12px; margin-bottom: 0; }

.verify-divider { border: none; border-top: 1px solid var(--border); margin: 32px 0; }

/* "Where is my code?" — scratch-to-reveal explainer with the box photo.
   Stacked: photo on top, then the heading + steps full width below. */
.verify-howto {
  display: grid; grid-template-columns: 366px 1fr; gap: 34px; align-items: start;
}

.verify-howto-media {
  border-radius: 14px; overflow: hidden;
  background: var(--off-white); border: 1px solid var(--border);
}
.verify-howto-media img {
  width: 100%; display: block;
  aspect-ratio: 1 / 1; object-fit: cover; object-position: 55% 48%;
}
.verify-howto-caption {
  display: block; padding: 10px 12px 12px;
  font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-mid); text-align: center;
  border-top: 1px solid var(--border);
}

.verify-howto-body h3 {
  font-size: 19px; font-weight: 800; color: var(--ink);
  letter-spacing: -.02em; margin-bottom: 12px;
}
.verify-howto-lead {
  font-size: 14px; color: var(--ink); line-height: 1.7;
  margin-bottom: 20px;
}
.verify-howto-lead strong { color: var(--navy); font-weight: 800; }

.verify-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.verify-step { display: flex; align-items: flex-start; gap: 14px; }
.verify-step-n {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
  background: var(--teal); color: #fff;
  font-size: 12px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}
.verify-step div { font-size: 14px; color: var(--ink); line-height: 1.65; }
.verify-step strong { color: var(--navy); font-weight: 800; }

.verify-howto-note {
  grid-column: 1 / -1;
  margin-top: 6px; padding-left: 14px;
  border-left: 2px solid var(--border);
  font-size: 12.5px; color: var(--text); line-height: 1.65;
}

.result-box     { display: none; border-radius: 10px; padding: 28px; margin-top: 24px; }
.result-box.show { display: block; }
.result-success { background: rgba(18,179,168,.06); border: 1.5px solid rgba(18,179,168,.25); }
.result-header  { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.result-icon    { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.result-icon.ok  { background: rgba(18,179,168,.12); }
.result-icon.err { background: rgba(220,38,38,.1); }
.result-title    { font-size: 18px; font-weight: 800; color: var(--navy); letter-spacing: -.01em; }
.result-subtitle { font-size: 13px; color: var(--text-mid); margin-top: 2px; }
.result-specs    { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rspec           { background: white; border: 1px solid var(--border); border-radius: 8px; padding: 14px 16px; }
.rspec-label     { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-light); margin-bottom: 3px; }
.rspec-val       { font-size: 14px; font-weight: 700; color: var(--navy); }
.result-error    { background: rgba(220,38,38,.04); border: 1.5px solid rgba(220,38,38,.2); }
.result-error .result-title { color: #b91c1c; }
.result-warning  { background: rgba(217,119,6,.04); border: 1.5px solid rgba(217,119,6,.25); }
.result-warning .result-title { color: #92400e; }
.result-icon.warn { background: rgba(217,119,6,.12); }

.loading-box      { display: none; align-items: center; gap: 14px; padding: 20px 0; color: var(--text-mid); font-size: 14px; }
.loading-box.show { display: flex; }
.spinner          { width: 22px; height: 22px; border: 2px solid var(--border); border-top-color: var(--teal); border-radius: 50%; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 600px) {
  .verify-card { padding: 28px 20px; }
  .code-row    { flex-direction: column; }
  .result-specs { grid-template-columns: 1fr; }
  .verify-howto { grid-template-columns: 1fr; gap: 20px; }
  .verify-howto-media { max-width: 340px; }
  .verify-howto-media img { aspect-ratio: 4 / 3; }
  .verify-howto-body h3 { font-size: 17px; }
  .verify-howto-lead { font-size: 13.5px; }
  .verify-step div { font-size: 13.5px; }
}

/* ===================================================================
   COMPONENT: PRODUCT MODAL
   =================================================================== */

/* Overlay */
.pmodal-overlay {
  position: fixed; inset: 0; z-index: 9000;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  background: rgba(0, 10, 30, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.pmodal-overlay.is-open {
  opacity: 1; pointer-events: all;
}
.pmodal-overlay[hidden] { display: none; }

/* Box */
.pmodal-box {
  position: relative;
  width: 100%; max-width: 860px;
  max-height: calc(100vh - 40px);
  border-radius: 20px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transform: translateY(20px) scale(0.98);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 24px 60px rgba(0, 20, 60, 0.18), 0 0 0 1px var(--border);
}
.pmodal-overlay.is-open .pmodal-box {
  transform: translateY(0) scale(1);
}

/* Minimalist background — soft off-white with one faint teal wash */
.pmodal-bg {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fa 100%);
}
.pmodal-bg-grad {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 55% 45% at 100% 0%, rgba(10,128,122,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 45% 40% at 0% 100%, rgba(0,44,98,0.04) 0%, transparent 60%);
}

/* Close button */
.pmodal-close {
  position: absolute; top: 16px; right: 18px; z-index: 10;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--off-white);
  color: var(--text-mid);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background 0.2s, color 0.2s;
}
.pmodal-close:hover { background: var(--border); color: var(--text); }

/* Header bar */
.pmodal-header {
  position: relative; z-index: 1;
  display: flex; align-items: center;
  padding: 16px 24px 12px;
  border-bottom: 1px solid var(--border);
}
.pmodal-logo { pointer-events: none; }

/* Content area */
.pmodal-content {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 372px;
  gap: 0;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}

/* Text side */
.pmodal-text {
  padding: 28px 32px 24px;
  display: flex; flex-direction: column;
  min-height: 100%;
}

.pmodal-head {
  display: flex; flex-direction: column; gap: 6px;
  margin-bottom: 20px;
}
.pmodal-title {
  margin-bottom: 0;
}
.pmodal-name {
  display: block;
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 800; letter-spacing: -0.03em;
  color: var(--navy);
  line-height: 1.1;
}
.pmodal-price {
  font-size: 22px; font-weight: 800; letter-spacing: -0.02em;
  color: var(--teal);
}

/* Paginated pages */
.pmodal-pages {
  flex: 1;
  min-height: 216px;
}
.pmodal-page {
  animation: pmodalPageIn 0.25s ease;
}
.pmodal-page[hidden] { display: none; }
@keyframes pmodalPageIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}

/* Footer: pager + buy */
.pmodal-footer {
  position: sticky; bottom: 0; z-index: 5;
  margin-top: 22px; padding-top: 16px;
  background: #f7f9fa;
  box-shadow: 0 -12px 14px 4px #f7f9fa;
}
.pmodal-pdf-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%;
  padding: 10px 16px; margin-bottom: 12px;
  border-radius: 999px;
  border: 1px solid var(--border); background: #fff;
  color: var(--navy); font-family: var(--font);
  font-size: 13px; font-weight: 700;
  cursor: pointer; text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.pmodal-pdf-btn:hover {
  background: var(--off-white); border-color: var(--teal); color: var(--teal);
}
.pmodal-pdf-btn.is-loading { opacity: 0.6; pointer-events: none; }

.pmodal-pager {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-bottom: 16px;
}
.pmodal-pager-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--border); background: #fff;
  color: var(--navy); font-family: var(--font);
  font-size: 13px; font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, opacity 0.2s;
}
.pmodal-pager-btn:hover:not(:disabled) {
  background: var(--off-white); border-color: var(--teal); color: var(--teal);
}
.pmodal-pager-btn:disabled { opacity: 0.35; cursor: default; }
.pmodal-pager-count {
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-light);
  white-space: nowrap;
}

.pmodal-section { margin-bottom: 20px; }
.pmodal-section-title {
  font-size: 11px; font-weight: 800; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--teal);
  margin-bottom: 10px;
  display: flex; align-items: center; gap: 8px;
}
.pmodal-section-title::after {
  content: ''; flex: 1; height: 1px;
  background: var(--border);
  display: block;
}

.pmodal-bullets {
  list-style: none; display: flex; flex-direction: column; gap: 4px;
}
.pmodal-bullets li {
  font-size: 12.5px; color: var(--text); line-height: 1.4;
  display: flex; align-items: flex-start; gap: 8px;
}
.pmodal-bullets li::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--teal); flex-shrink: 0; margin-top: 6px;
}

.pmodal-paragraph {
  font-size: 13.5px; color: var(--text-mid); line-height: 1.75;
}

.pmodal-small-label {
  font-size: 11px; color: var(--text-light);
  margin-bottom: 8px; font-style: italic;
}
.pmodal-prescription {
  font-size: 9.5px; font-weight: 400; color: var(--text-light);
  font-style: italic; text-transform: none; letter-spacing: 0;
}

.pmodal-dosing {
  font-size: 14px; color: var(--text); line-height: 1.65;
}
.pmodal-dosing strong {
  color: var(--navy); font-weight: 700;
}
.pmodal-dosing .dose-range {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(18,179,168,0.12);
  border: 1px solid rgba(18,179,168,0.3);
  border-radius: 8px; padding: 6px 12px;
  font-size: 14px; font-weight: 800; color: var(--teal);
  margin: 6px 0 10px;
}
.pmodal-dosing .dose-option { margin-bottom: 6px; }
.pmodal-dosing .dose-option-title { font-weight: 700; color: var(--navy); }

/* Image side */
.pmodal-image-wrap {
  display: flex; align-items: center; justify-content: center;
  padding: 14px 12px;
  margin-left: 0;
  position: relative;
  overflow: hidden;
  border-left: 1px solid var(--border);
}

/* Decorative shapes behind the image */
.pmodal-image-deco {
  position: absolute; inset: 0; pointer-events: none;
}
.pmodal-deco-ring {
  position: absolute; border-radius: 50%;
  border: 1.5px solid rgba(10,128,122,0.14);
}
.pmodal-deco-ring.r1 {
  width: 280px; height: 280px;
  bottom: -70px; right: -70px;
}
.pmodal-deco-blob {
  position: absolute;
  width: 240px; height: 240px;
  bottom: -50px; right: -40px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(10,128,122,0.08) 0%, transparent 70%);
}

.pmodal-image-inner {
  position: relative; z-index: 1;
  width: 100%; max-width: 360px;
  aspect-ratio: 4 / 5;
  border-radius: 16px;
  overflow: hidden;
}
.pmodal-product-img {
  width: 100%; height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 40%;
  transform: rotate(3deg) scale(1.22);
  transform-origin: center;
  cursor: pointer;
  pointer-events: auto;
  transition: filter 0.2s;
}
.pmodal-product-img:hover { filter: brightness(1.08) drop-shadow(0 4px 12px rgba(10,128,122,0.30)); }

/* Buy button */
.pmodal-buy-wrap { margin-top: 0; }
.pmodal-buy-wrap .hero-btn { width: 100%; justify-content: center; }

/* Responsive — tablet */
@media (max-width: 820px) {
  .pmodal-content { grid-template-columns: 1fr 264px; }
  .pmodal-image-wrap { margin-left: 0; padding: 12px 10px; }
  .pmodal-image-inner { max-width: 250px; }
  .pmodal-text { padding: 22px 24px 28px; }
  .pmodal-name { font-size: clamp(20px, 3.8vw, 34px); }
  .pmodal-bullets li { font-size: 13px; }
  .pmodal-paragraph { font-size: 13px; }
  .pmodal-dosing { font-size: 13px; }
  .pmodal-dosing .dose-range { font-size: 15px; }
}

/* Responsive — móvil: el texto pasa a una sola columna a lo ancho y el vial
   queda a la derecha del nombre + precio (como en la ficha descargable). */
@media (max-width: 560px) {
  .pmodal-overlay { padding: 10px; }
  .pmodal-box {
    border-radius: 16px;
    max-width: 100%;
  }
  .pmodal-header { padding: 12px 14px 8px; }

  .pmodal-content { grid-template-columns: 1fr; position: relative; }

  /* vial anclado arriba a la derecha, junto a los títulos */
  .pmodal-image-wrap {
    position: absolute; top: 0; right: 0;
    width: 118px; height: auto;
    margin: 0; padding: 14px 12px 0 0;
    border-left: none; overflow: visible;
    pointer-events: none; z-index: 3;
  }
  .pmodal-image-deco { display: none; }
  .pmodal-image-inner { max-width: 106px; border-radius: 12px; }
  .pmodal-product-img { pointer-events: auto; transform: rotate(3deg) scale(1.18); }

  .pmodal-text {
    padding: 16px 16px 18px;
    min-width: 0;
    position: relative; z-index: 2;
  }
  /* hueco reservado para el vial al lado del título; el nombre + precio
     van centrados vertical con el vial para que no quede aire debajo */
  .pmodal-head {
    padding-right: 116px; min-height: 132px; margin-bottom: 10px;
    justify-content: center;
  }

  .pmodal-name { font-size: clamp(17px, 5.2vw, 22px); }
  .pmodal-price { font-size: 16px; }
  .pmodal-pages { min-height: 180px; }
  .pmodal-section { margin-bottom: 12px; }
  .pmodal-section-title { font-size: 10px; }
  .pmodal-bullets { gap: 5px; }
  .pmodal-bullets li { font-size: 12px; }
  .pmodal-paragraph { font-size: 12px; line-height: 1.65; }
  .pmodal-small-label { font-size: 10px; }
  .pmodal-dosing { font-size: 12px; }
  .pmodal-dosing .dose-range { font-size: 13px; padding: 5px 10px; }
  .pmodal-footer { margin-top: 14px; padding-top: 12px; }
  .pmodal-pdf-btn { padding: 9px 14px; font-size: 12px; margin-bottom: 10px; }
  .pmodal-pager { margin-bottom: 12px; }
  .pmodal-pager-btn { padding: 7px 10px; font-size: 12px; }
  .pmodal-pager-btn span { display: none; }
  .pmodal-pager-count { font-size: 11px; letter-spacing: .06em; }
  .pmodal-buy-wrap { margin-top: 0; }
  .pmodal-buy-wrap .hero-btn { font-size: 13px; padding: 11px 14px; }
}

/* Pantallas muy chicas (≤380px): vial y textos un poco más chicos. */
@media (max-width: 380px) {
  .pmodal-image-wrap { width: 104px; }
  .pmodal-image-inner { max-width: 94px; }
  .pmodal-head { padding-right: 102px; min-height: 120px; }
  .pmodal-name { font-size: clamp(15px, 5.4vw, 20px); }
  .pmodal-paragraph { font-size: 11.5px; line-height: 1.6; }
  .pmodal-bullets li { font-size: 11.5px; }
  .pmodal-dosing { font-size: 11.5px; }
  .pmodal-dosing .dose-range { font-size: 12px; }
}

/* Large product view (with background) — opens on product-image click */
.pmodal-lightbox {
  position: absolute; inset: 0; z-index: 20;
  display: flex; align-items: center; justify-content: center;
  padding: 32px;
  background: rgba(6, 20, 40, 0.82);
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease;
}
.pmodal-lightbox.is-open { opacity: 1; pointer-events: all; }
.pmodal-lightbox[hidden] { display: flex; }
.pmodal-lightbox img {
  max-width: 100%; max-height: 100%;
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
  transform: scale(0.96);
  transition: transform 0.25s ease;
}
.pmodal-lightbox.is-open img { transform: scale(1); }
.pmodal-lightbox-close {
  position: absolute; top: 16px; right: 18px; z-index: 21;
  width: 38px; height: 38px; border-radius: 50%;
  border: none; background: rgba(255,255,255,0.14);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background 0.2s;
}
.pmodal-lightbox-close:hover { background: rgba(255,255,255,0.26); }

@media (max-width: 560px) {
  .pmodal-lightbox { padding: 16px; }
}

/* ===================================================================
   SCROLL PROMO — centred, blocking, neumorphic
   =================================================================== */
.promo-overlay {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  background: rgba(6, 18, 38, 0.5);
  -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px);
  opacity: 0; visibility: hidden;
  transition: opacity .35s ease, visibility .35s;
}
.promo-overlay.is-visible { opacity: 1; visibility: visible; }

/* Outer container: a page-coloured bed so the card's twin shadows read as
   real neumorphism, instead of painting the whole screen that colour. */
.promo-frame {
  max-width: 100%;
  padding: 46px; border-radius: 44px;
  background: var(--page-bg);
  box-shadow: 0 50px 110px -34px rgba(0, 0, 0, .55);
  transform: translateY(26px) scale(.96);
  transition: transform .45s cubic-bezier(.22,.61,.36,1);
}
.promo-overlay.is-visible .promo-frame { transform: none; }

.promo-pop {
  position: relative;
  width: 790px; max-width: 100%;
  display: flex; align-items: stretch; gap: 36px;
  padding: 44px 48px;
  border-radius: 30px;
  background: var(--page-bg);
  box-shadow: -11px -11px 26px #ffffff, 15px 15px 36px rgba(163,177,198,.6);
}

.promo-pop-media {
  flex-shrink: 0; align-self: stretch;
  width: 360px; min-height: 320px;
  border-radius: 24px; overflow: visible;
  display: flex; align-items: center; justify-content: center;
}
.promo-pop-media img { width: 108%; height: 108%; object-fit: contain; display: block; }

.promo-pop-body { display: flex; flex-direction: column; gap: 9px; text-align: left; min-width: 0; }
.promo-pop-badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal);
}
.promo-pop-name  { font-size: 33px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); line-height: 1.12; overflow-wrap: break-word; }
.promo-pop-text  { font-size: 15px; color: var(--text-mid); line-height: 1.6; max-width: 330px; overflow-wrap: break-word; }
.promo-pop-price { font-size: 20px; font-weight: 700; color: var(--navy); }
.promo-pop-cta {
  margin-top: auto; align-self: flex-start;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 17px 42px; border-radius: 999px;
  font-size: 14px; font-weight: 800; letter-spacing: .01em;
  color: var(--navy); text-decoration: none;
  background: var(--page-bg);
  box-shadow: -6px -6px 14px #ffffff, 8px 8px 18px rgba(163,177,198,.6);
  transition: transform .18s ease, box-shadow .2s ease, color .2s ease;
}
.promo-pop-cta:hover  { color: var(--teal); transform: translateY(-2px); box-shadow: -8px -8px 18px #ffffff, 11px 11px 24px rgba(163,177,198,.68); }
.promo-pop-cta:active { transform: translateY(0); box-shadow: inset -4px -4px 8px #ffffff, inset 6px 6px 12px rgba(163,177,198,.62); }
.promo-pop-cta svg { transition: transform .2s ease; }
.promo-pop-cta:hover svg { transform: translateX(3px); }

.promo-pop-close {
  position: absolute; top: 14px; right: 14px;
  width: 36px; height: 36px; border: none; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--page-bg); color: var(--text-light);
  font-size: 20px; line-height: 1; cursor: pointer;
  box-shadow: -3px -3px 7px #ffffff, 4px 4px 9px rgba(163,177,198,.55);
  transition: color .2s ease, box-shadow .2s ease;
}
.promo-pop-close:hover  { color: var(--navy); }
.promo-pop-close:active { box-shadow: inset -3px -3px 6px #ffffff, inset 4px 4px 8px rgba(163,177,198,.6); }

@media (max-width: 900px) {
  .promo-overlay { padding: 16px; }
  .promo-frame {
    padding: 22px; border-radius: 30px;
    max-height: calc(100dvh - 32px); overflow-y: auto;
  }
  .promo-pop {
    width: 100%;
    flex-direction: column; text-align: center; gap: 20px; padding: 30px 26px;
  }
  .promo-pop-body { text-align: center; align-items: center; }
  .promo-pop-text { max-width: 420px; }
  .promo-pop-cta { align-self: center; margin-top: 14px; }
  .promo-pop-media {
    width: 100%; max-width: 380px; min-height: 0; height: 260px;
    align-self: center; margin: 0 auto;
  }
  .promo-pop-name { font-size: clamp(22px, 6vw, 30px); }
}
@media (max-width: 620px) {
  .promo-overlay { padding: 12px; }
  .promo-frame { padding: 14px; border-radius: 24px; max-height: calc(100dvh - 24px); }
  .promo-pop { padding: 26px 18px; gap: 16px; }
  .promo-pop-media { height: 220px; }
}
@media (prefers-reduced-motion: reduce) {
  .promo-frame { transition: none; transform: none; }
}

/* ======================================================================
   NEUMORPHIC INDEX  -  experimental full-page soft-UI pass
   Scoped to the home page only (body:has(.hero--lite)).
   To remove: delete everything from this banner to the end of the file.
   ====================================================================== */
:root {
  --nm-bg:       #eef1f5;
  --nm-light:    #ffffff;
  --nm-shadow:   rgba(163,177,198,.55);
  --nm-raise:    -6px -6px 14px var(--nm-light),  6px 6px 16px var(--nm-shadow);
  --nm-raise-lg: -11px -11px 24px var(--nm-light), 13px 13px 30px var(--nm-shadow);
  --nm-inset:    inset -4px -4px 10px var(--nm-light), inset 5px 5px 12px var(--nm-shadow);
  --nm-inset-sm: inset -3px -3px 7px var(--nm-light),  inset 4px 4px 9px var(--nm-shadow);
}
body:has(.hero--lite) {
  background: var(--nm-bg);
}

/* kill hard hairlines, let shadow do the separating */
body:has(.hero--lite) .verify-banner,
body:has(.hero--lite) .explore-cta,
body:has(.hero--lite) .science-col,
body:has(.hero--lite) .science-col:nth-child(2),
body:has(.hero--lite) .science-col:last-child { border: none; }

/* ---- HERO ----
   Left completely untouched — the hero section (photo background, veil,
   glows, showcase card, chip, credential row and its two buttons) keeps
   its original design. */

/* ---- buttons ---- */
body:has(.hero--lite) .btn-teal {
  background: var(--nm-bg);
  color: var(--teal);
  box-shadow: var(--nm-raise);
  border: none;
}
body:has(.hero--lite) .btn-teal:hover {
  background: var(--nm-bg);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: var(--nm-raise-lg);
}
body:has(.hero--lite) .btn-teal:active { box-shadow: var(--nm-inset); transform: translateY(0); }

body:has(.hero--lite) .text-link {
  background: var(--nm-bg);
  padding: 10px 20px; border-radius: 999px;
  box-shadow: var(--nm-raise);
}
body:has(.hero--lite) .text-link:hover { box-shadow: var(--nm-raise-lg); transform: translateY(-2px); }
body:has(.hero--lite) .text-link:active { box-shadow: var(--nm-inset-sm); transform: translateY(0); }

/* ---- PRODUCT CARDS ---- */
body:has(.hero--lite) .product-card {
  background: var(--nm-bg);
  border-radius: 28px;
  padding: 22px;
  box-shadow: var(--nm-raise);
  /* Keep the [data-anim] reveal (opacity/transform/filter 1.1s) — this rule
     would otherwise override it and the cards would snap in. Mirrors the global
     curve at the top of the file. box-shadow is the only hover-driven change
     left on the card itself, so it rides along here. */
  transition:
    opacity    1.1s cubic-bezier(.22,.61,.36,1) var(--anim-delay, 0s),
    transform  1.1s cubic-bezier(.22,.61,.36,1) var(--anim-delay, 0s),
    filter     1.1s cubic-bezier(.22,.61,.36,1) var(--anim-delay, 0s),
    box-shadow .25s ease;
}
body:has(.hero--lite) .product-card:hover {
  box-shadow: var(--nm-raise-lg);
}
/* Hover lift lives on the inner <a> so it stays snappy and doesn't fight the
   1.1s transform the card uses for its reveal. */
body:has(.hero--lite) .prod-item { transition: transform .25s ease; }
body:has(.hero--lite) .product-card:hover .prod-item { transform: translateY(-4px); }
/* image fills the whole card, no neumorphism on the photo itself */
body:has(.hero--lite) .prod-img {
  background: transparent;
  box-shadow: none;
  padding: 0;
}
body:has(.hero--lite) .prod-item:hover .prod-img { transform: none; box-shadow: none; }
body:has(.hero--lite) .prod-link {
  background: var(--nm-bg);
  box-shadow: var(--nm-raise);
}
body:has(.hero--lite) .prod-item:hover .prod-link { box-shadow: var(--nm-raise-lg); }
body:has(.hero--lite) .prod-item:active .prod-link { box-shadow: var(--nm-inset-sm); }

/* ---- SCIENCE COLUMNS ---- */
body:has(.hero--lite) .science-grid { gap: 28px; }
body:has(.hero--lite) .science-col {
  background: var(--nm-bg);
  border-radius: 24px;
  padding: 38px 34px;
  box-shadow: var(--nm-raise);
}

/* ---- VALUE CARDS (research tools) ---- */
body:has(.hero--lite) .value-card {
  background: var(--nm-bg);
  border: none;
  border-radius: 24px;
  box-shadow: var(--nm-raise);
}
body:has(.hero--lite) .value-icon {
  background: var(--nm-bg);
  box-shadow: var(--nm-inset);
}

/* ---- UK STATS (tiles only — images stay flat) ---- */
body:has(.hero--lite) .uk-stat {
  background: var(--nm-bg);
  border: none;
  border-radius: 18px;
  box-shadow: var(--nm-raise);
}

/* Photos left untouched: .uk-img, .info-split-img, #parallax-banner-wrap
   and the whole carousel keep their original (non-neumorphic) styling. */

/* ---- VERIFY BANNER + EXPLORE CTA ---- */
body:has(.hero--lite) .verify-banner {
  background: var(--nm-bg);
  box-shadow: var(--nm-inset-sm);
}
body:has(.hero--lite) .explore-cta { background: var(--nm-bg); }
body:has(.hero--lite) .explore-inner {
  background: var(--nm-bg);
  border-radius: 28px;
  padding: 56px 48px;
  box-shadow: var(--nm-raise);
}

/* ---- PRODUCT MODAL - soft-UI, same on every page ---- */
.pmodal-box { box-shadow: 0 30px 60px rgba(0,20,60,.18); }
.pmodal-bg { background: var(--nm-bg); }
.pmodal-footer { background: var(--nm-bg); box-shadow: 0 -12px 14px 4px var(--nm-bg); }
.pmodal-pager-btn {
  background: var(--nm-bg);
  border: none;
  box-shadow: var(--nm-raise);
}
.pmodal-pager-btn:hover:not(:disabled) {
  background: var(--nm-bg);
  box-shadow: var(--nm-raise-lg);
}
.pmodal-pager-btn:disabled { box-shadow: var(--nm-inset-sm); }
.pmodal-close {
  background: var(--nm-bg); border: none; box-shadow: var(--nm-raise);
}
.pmodal-image-wrap { border-left: none; }
.pmodal-dosing .dose-range {
  background: var(--nm-bg); border: none; box-shadow: var(--nm-inset-sm);
}

/* ---- mobile: smaller shadows so cards don't feel bulky ---- */
@media (max-width: 620px) {
  :root {
    --nm-raise:    -4px -4px 9px var(--nm-light),  4px 4px 11px var(--nm-shadow);
    --nm-raise-lg: -6px -6px 14px var(--nm-light), 7px 7px 18px var(--nm-shadow);
  }
  body:has(.hero--lite) .product-card { padding: 16px; border-radius: 22px; }
  body:has(.hero--lite) .science-col { padding: 28px 24px; }
}
