/* =========================================================================
   Helix Health and Wellness — coastal telehealth
   Single stylesheet. Token-driven. No build step.
   ---------------------------------------------------------------------
   1.  Tokens
   2.  Reset & base
   3.  Typography
   4.  Layout primitives
   5.  Buttons & pills
   6.  Coastal motifs (waves, grain, glow)
   7.  Announce bar + header + nav
   8.  Hero (home) + page hero (inner)
   9.  Trust strip
   10. Category grid
   11. Mission
   12. Pillars
   13. Product sections + product card
   14. Testimonials
   15. How it works
   16. Articles
   17. FAQ accordion
   18. CTA band
   19. Prose / legal
   20. Contact form
   21. Footer
   22. Reveal animation
   23. Responsive
   24. Call-to-order cart
   25. Product search
   26. Medical Director profile
   27. Important Safety Information
   28. Telemedicine booking
   29. Legal documents (caps, signature block, footer)
   ========================================================================= */

/* ------------------------------------------------------------------ *
   1. Tokens
 * ------------------------------------------------------------------ */
:root {
  /* Ocean depth ramp */
  --abyss:    #062A3D;
  --ocean:    #0E5C77;
  --seafoam:  #2FB4A8;
  --shallow:  #A8DFE0;

  /* Shore */
  --sand:     #F3E7D3;
  --shell:    #FBF7F0;
  --foam:     #FFFFFF;

  /* Accent — used sparingly, one moment per page */
  --sunset:   #F2764B;

  /* Derived text colors */
  --ink:        var(--abyss);
  --ink-soft:   #3D6478;
  --ink-faint:  #7796A4;
  --on-dark:        #EAF6F7;
  --on-dark-soft:   #A9CBD6;

  /* Lines & surfaces */
  --line:        #E4DACA;
  --line-cool:   #D3E9EC;
  --surface:     var(--foam);

  /* Shadows — layered, soft, like light through water */
  --shadow-sm: 0 1px 2px rgba(6, 42, 61, .04), 0 2px 6px rgba(6, 42, 61, .04);
  --shadow-md: 0 2px 4px rgba(6, 42, 61, .04), 0 8px 20px rgba(6, 42, 61, .07);
  --shadow-lg: 0 4px 8px rgba(6, 42, 61, .05), 0 18px 44px rgba(6, 42, 61, .11);
  --shadow-cta: 0 6px 18px rgba(47, 180, 168, .32);

  /* Radii — rounded like sea glass */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* Rhythm */
  --gap: 24px;
  --section-y: 104px;
  --container: 1200px;
  --container-narrow: 820px;

  /* Type */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Header height, used for scroll offset */
  --header-h: 74px;
}

/* Grain overlay used on sand sections — inline SVG turbulence, no image request */
:root {
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.42'/%3E%3C/svg%3E");
}

/* ------------------------------------------------------------------ *
   2. Reset & base
 * ------------------------------------------------------------------ */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--shell);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

img { height: auto; }

a { color: var(--ocean); text-decoration: none; }
a:hover { color: var(--seafoam); }

button { font: inherit; color: inherit; }

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

hr {
  border: 0;
  border-top: 1px solid var(--line-cool);
  margin: 0;
}

:focus-visible {
  outline: 3px solid var(--seafoam);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--abyss);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ------------------------------------------------------------------ *
   3. Typography
 * ------------------------------------------------------------------ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 .5em;
  color: var(--ink);
  font-variation-settings: "SOFT" 0, "WONK" 0;
}

h1 { font-size: clamp(2.4rem, 5.2vw, 4.1rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.2rem, 1.9vw, 1.45rem); }
h4 { font-size: 1.08rem; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

strong { font-weight: 600; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--seafoam);
  margin-bottom: 18px;
}
.eyebrow--dark { color: var(--ocean); }

.lede {
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  line-height: 1.62;
  color: var(--ink-soft);
}

.section-head {
  max-width: 680px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head.is-left {
  margin-left: 0;
  text-align: left;
}
.section-head p { color: var(--ink-soft); }

/* ------------------------------------------------------------------ *
   4. Layout primitives
 * ------------------------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow { max-width: var(--container-narrow); }

.section {
  position: relative;
  padding: var(--section-y) 0;
}
.section--tight { padding: 68px 0; }

.section--sand {
  background: var(--sand);
  position: relative;
}
.section--sand::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  opacity: .28;
  pointer-events: none;
  mix-blend-mode: multiply;
}
.section--sand > * { position: relative; z-index: 1; }

.section--deep {
  background: linear-gradient(165deg, var(--abyss) 0%, #08405A 55%, var(--ocean) 100%);
  color: var(--on-dark);
  /* the sun-glow is 720px wide and deliberately overhangs — clip it here
     rather than relying on body { overflow-x: hidden } to hide the spill */
  overflow: hidden;
}
.section--deep h2,
.section--deep h3 { color: #fff; }
.section--deep p { color: var(--on-dark-soft); }

.section--shell { background: var(--shell); }
.section--foam  { background: var(--foam); }

.grid { display: grid; gap: var(--gap); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

/* ------------------------------------------------------------------ *
   5. Buttons & pills
 * ------------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease,
              background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--seafoam);
  color: #05343A;
  box-shadow: var(--shadow-cta);
}
.btn-primary:hover {
  background: #27a094;
  color: #05343A;
  box-shadow: 0 10px 26px rgba(47, 180, 168, .42);
}

.btn-deep {
  background: var(--ocean);
  color: #fff;
  box-shadow: 0 6px 18px rgba(14, 92, 119, .28);
}
.btn-deep:hover { background: var(--abyss); color: #fff; }

.btn-sunset {
  background: var(--sunset);
  color: #fff;
  box-shadow: 0 6px 18px rgba(242, 118, 75, .3);
}
.btn-sunset:hover { background: #e0653a; color: #fff; }

.btn-ghost {
  background: transparent;
  border-color: var(--line-cool);
  color: var(--ocean);
}
.btn-ghost:hover {
  background: rgba(168, 223, 224, .22);
  border-color: var(--shallow);
  color: var(--ocean);
}

.btn-ghost-light {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(234, 246, 247, .38);
  color: #fff;
  backdrop-filter: blur(6px);
}
.btn-ghost-light:hover {
  background: rgba(255, 255, 255, .18);
  color: #fff;
}

.btn-sand {
  background: var(--shell);
  color: var(--ocean);
  border-color: var(--line);
}
.btn-sand:hover { background: #fff; color: var(--ocean); }

.btn-lg { padding: 17px 36px; font-size: 1.02rem; }
.btn-sm { padding: 10px 20px; font-size: .86rem; }
.btn-block { width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.btn-row--center { justify-content: center; }

/* Pills */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.pill-rx {
  background: rgba(14, 92, 119, .09);
  color: var(--ocean);
}
.pill-new {
  background: var(--sunset);
  color: #fff;
}
.pill-fda {
  background: rgba(47, 180, 168, .14);
  color: #0d7a71;
}

/* ------------------------------------------------------------------ *
   6. Coastal motifs
 * ------------------------------------------------------------------ */

/* Wave divider — sits at the top or bottom edge of a section.
   Color is driven by --wave-fill so one shape serves every transition. */
.wave {
  position: absolute;
  left: 0;
  width: 100%;
  line-height: 0;
  pointer-events: none;
  z-index: 2;
}
.wave--bottom { bottom: -1px; }
.wave--top { top: -1px; transform: rotate(180deg); }

.wave svg {
  display: block;
  width: 100%;
  height: 90px;
}
.wave .wave-back  { fill: var(--wave-fill, var(--shell)); opacity: .35; }
.wave .wave-mid   { fill: var(--wave-fill, var(--shell)); opacity: .6; }
.wave .wave-front { fill: var(--wave-fill, var(--shell)); opacity: 1; }

/* Slow tidal drift on the two rear layers */
@media (prefers-reduced-motion: no-preference) {
  .wave .wave-back  { animation: drift 26s ease-in-out infinite alternate; }
  .wave .wave-mid   { animation: drift 19s ease-in-out infinite alternate-reverse; }
}
@keyframes drift {
  from { transform: translateX(-2.2%); }
  to   { transform: translateX(2.2%); }
}

/* Sun glow — a warm radial bloom behind dark sections */
.sun-glow {
  position: absolute;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(255, 205, 150, .30) 0%,
    rgba(242, 118, 75, .13) 38%,
    rgba(242, 118, 75, 0) 68%);
  pointer-events: none;
  z-index: 0;
}

/* Thin horizon rule */
.horizon {
  height: 1px;
  background: linear-gradient(90deg,
    transparent, var(--shallow) 18%, var(--shallow) 82%, transparent);
  border: 0;
  margin: 0;
}

/* ------------------------------------------------------------------ *
   7. Announce bar + header + nav
 * ------------------------------------------------------------------ */
.announce {
  background: var(--abyss);
  color: var(--on-dark);
  font-size: .82rem;
  text-align: center;
  padding: 9px 16px;
  position: relative;
  z-index: 60;
}
.announce p { margin: 0; }
.announce a { color: var(--shallow); font-weight: 600; }
.announce a:hover { color: #fff; }
.announce .sep { opacity: .35; margin: 0 10px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 247, 240, .86);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s ease, background-color .2s ease;
}
.site-header.is-stuck {
  box-shadow: var(--shadow-md);
  background: rgba(251, 247, 240, .95);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
  color: var(--abyss);
}
.logo:hover { color: var(--ocean); }
.logo img { width: 36px; height: 36px; border-radius: 9px; }
.logo-text {
  font-family: var(--font-display);
  font-size: 1.16rem;
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.1;
}
.logo-text small {
  display: block;
  font-family: var(--font-body);
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1px;
  margin-left: auto;
}
.main-nav a {
  position: relative;
  padding: 9px 10px;
  border-radius: var(--r-sm);
  font-size: .88rem;
  font-weight: 500;
  white-space: nowrap;
  color: var(--ink-soft);
  transition: color .16s ease, background-color .16s ease;
}

/* The in-nav CTA exists only for the mobile drawer — the header keeps its own */
.main-nav .btn { display: none; }
.main-nav a:hover {
  color: var(--ocean);
  background: rgba(168, 223, 224, .2);
}
.main-nav a.is-active {
  color: var(--ocean);
  font-weight: 600;
}
.main-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--seafoam);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  cursor: pointer;
  padding: 0;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--abyss);
  border-radius: 2px;
  transition: transform .22s ease, opacity .22s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ------------------------------------------------------------------ *
   8. Hero
 * ------------------------------------------------------------------ */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(168deg, var(--abyss) 0%, #084862 46%, #0B6D82 100%);
  color: var(--on-dark);
  padding: 92px 0 150px;
  isolation: isolate;
}
.hero .sun-glow { top: -260px; right: -180px; }

.hero-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .78;
}
/* Scrim: heavy on the left where the headline sits, opening up to the right
   so the shoreline stays legible. */
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg,
      rgba(6, 42, 61, .92) 0%,
      rgba(6, 42, 61, .74) 38%,
      rgba(8, 60, 84, .44) 66%,
      rgba(11, 109, 130, .28) 100%),
    linear-gradient(to bottom,
      rgba(6, 42, 61, .34) 0%,
      rgba(6, 42, 61, 0) 30%);
}

.hero-inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 60px;
  align-items: center;
}

.hero h1 { color: #fff; }
.hero h1 em {
  font-style: normal;
  color: var(--shallow);
}
.hero .lede {
  color: var(--on-dark-soft);
  max-width: 30em;
}

.hero-actions { margin: 32px 0 34px; }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: .87rem;
  color: var(--on-dark-soft);
}
.hero-trust li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-trust svg { flex-shrink: 0; color: var(--seafoam); }

.hero-card {
  background: rgba(6, 42, 61, .52);
  border: 1px solid rgba(234, 246, 247, .22);
  border-radius: var(--r-xl);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 32px;
  box-shadow: 0 24px 60px rgba(3, 24, 36, .38);
}
.hero-card h2 {
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 6px;
}
.hero-card > p {
  font-size: .93rem;
  color: var(--on-dark-soft);
  margin-bottom: 22px;
}

.hero-picker { display: grid; gap: 10px; }
.hero-picker a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 18px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(234, 246, 247, .2);
  color: #fff;
  font-weight: 500;
  font-size: .96rem;
  transition: background-color .18s ease, transform .18s ease, border-color .18s ease;
}
.hero-picker a:hover {
  background: rgba(47, 180, 168, .24);
  border-color: var(--seafoam);
  transform: translateX(4px);
  color: #fff;
}
.hero-picker svg { flex-shrink: 0; opacity: .7; }

/* Inner page hero — shorter, photo-backed */
.page-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(168deg, var(--abyss) 0%, #0A5470 100%);
  color: var(--on-dark);
  padding: 80px 0 110px;
  text-align: center;
  isolation: isolate;
}
.page-hero .hero-photo img { opacity: .3; }
.page-hero-inner {
  position: relative;
  z-index: 3;
  max-width: 760px;
  margin: 0 auto;
}
.page-hero h1 { color: #fff; }
.page-hero .lede { color: var(--on-dark-soft); }
.page-hero .btn-row { margin-top: 30px; }

/* ------------------------------------------------------------------ *
   9. Trust strip
 * ------------------------------------------------------------------ */
.trust-strip {
  background: var(--foam);
  border-bottom: 1px solid var(--line);
  padding: 30px 0;
}
.trust-strip-inner {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .84rem;
  font-weight: 500;
  color: var(--ink-soft);
  line-height: 1.35;
}
.trust-item svg {
  flex-shrink: 0;
  color: var(--seafoam);
}

/* ------------------------------------------------------------------ *
   10. Category grid
 * ------------------------------------------------------------------ */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(195px, 1fr));
  gap: 22px;
}

.cat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 400px;
  padding: 22px;
  border-radius: var(--r-xl);
  overflow: hidden;
  color: #fff;
  /* Stands in for the photo while it loads, so the card is never a blank box */
  background: linear-gradient(160deg, var(--ocean), var(--abyss));
  box-shadow: var(--shadow-md);
  transition: transform .28s ease, box-shadow .28s ease;
}
.cat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  color: #fff;
}
.cat-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform .5s ease;
}
.cat-card:hover img { transform: scale(1.06); }
.cat-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top,
    rgba(6, 42, 61, .92) 0%,
    rgba(6, 42, 61, .55) 42%,
    rgba(6, 42, 61, .12) 100%);
}
.cat-card-body { position: relative; z-index: 2; }
.cat-card h3 {
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 6px;
}
.cat-card p {
  font-size: .89rem;
  color: rgba(234, 246, 247, .85);
  margin-bottom: 16px;
}
.cat-card .cat-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--shallow);
}
.cat-card:hover .cat-link { color: var(--seafoam); }

/* ------------------------------------------------------------------ *
   11. Mission
 * ------------------------------------------------------------------ */
.mission-art {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.mission-art img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.mission-stat {
  position: absolute;
  left: 24px;
  bottom: 24px;
  background: rgba(251, 247, 240, .93);
  backdrop-filter: blur(10px);
  border-radius: var(--r-lg);
  padding: 16px 22px;
  box-shadow: var(--shadow-md);
}
.mission-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--ocean);
  line-height: 1;
}
.mission-stat span {
  font-size: .78rem;
  color: var(--ink-faint);
}

.check-list { display: grid; gap: 13px; margin: 26px 0 32px; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .97rem;
  color: var(--ink-soft);
}
.check-list svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--seafoam);
}

/* ------------------------------------------------------------------ *
   12. Pillars
 * ------------------------------------------------------------------ */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.pillar {
  background: var(--foam);
  border: 1px solid var(--line-cool);
  border-radius: var(--r-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease;
}
.pillar:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.pillar-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(47, 180, 168, .16), rgba(168, 223, 224, .3));
  color: var(--ocean);
}
.pillar h3 { font-size: 1.12rem; margin-bottom: 8px; }
.pillar p {
  font-size: .9rem;
  color: var(--ink-soft);
  margin: 0;
}

/* On deep sections the pillars go translucent */
.section--deep .pillar {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(234, 246, 247, .16);
  box-shadow: none;
}
/* `.pillar p` and `.section--deep p` have equal specificity, so source order
   was leaving dark ink on the dark ground. Scope it explicitly. */
.section--deep .pillar h3 { color: #fff; }
.section--deep .pillar p  { color: var(--on-dark); }
.section--deep .pillar-icon {
  background: rgba(47, 180, 168, .2);
  color: var(--shallow);
}

/* ------------------------------------------------------------------ *
   13. Product sections + product card
 * ------------------------------------------------------------------ */
.cat-section-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: end;
  margin-bottom: 44px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line-cool);
}
/* peptides.html has no per-section button, so its heads are a single
   centered column rather than the text/button pair used on the homepage. */
.cat-section-head--center {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
}
.cat-section-head--center p { margin-inline: auto; }

.cat-section-head h2 { margin-bottom: 10px; }
.cat-section-head p {
  color: var(--ink-soft);
  font-size: .98rem;
  max-width: 54em;
  margin: 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--foam);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--shallow);
}

.product-media {
  position: relative;
  background: var(--sand);
  padding: 18px;
}
.product-media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.product-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  z-index: 2;
}

.product-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 20px 22px;
}
.product-body h3 {
  font-size: 1.06rem;
  margin-bottom: 4px;
}
.product-form {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--seafoam);
  margin-bottom: 10px;
}
.product-body p {
  font-size: .88rem;
  color: var(--ink-soft);
  margin-bottom: 16px;
}
.product-price {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--ocean);
  margin-bottom: 16px;
}
.product-price span {
  font-family: var(--font-body);
  font-size: .78rem;
  color: var(--ink-faint);
  font-weight: 500;
}
.product-actions .btn[disabled] {
  opacity: .42;
  cursor: not-allowed;
  pointer-events: none;
}

/* Out of stock. Sits in the price slot, because that is where the eye goes
   looking for whether an item can be bought. */
.product-oos span {
  display: inline-block;
  padding: 3px 11px;
  border-radius: var(--r-pill);
  background: rgba(242, 118, 75, .12);
  border: 1px solid rgba(242, 118, 75, .35);
  color: #b4441c;
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.product-actions .btn[disabled] {
  opacity: .42;
  cursor: not-allowed;
  pointer-events: none;
}

.product-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
}
.product-actions .btn { flex: 1; padding: 11px 14px; font-size: .85rem; }

.product-isi {
  display: block;
  margin-top: 12px;
  font-size: .73rem;
  color: var(--ink-faint);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.product-isi:hover { color: var(--ocean); }

.cat-section-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 40px;
  padding: 26px 30px;
  background: var(--foam);
  border: 1px solid var(--line-cool);
  border-radius: var(--r-lg);
}
.cat-section-footer p {
  margin: 0;
  font-size: .95rem;
  color: var(--ink-soft);
}
.cat-section-footer strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--ink);
  margin-bottom: 2px;
}

/* Compounded / safety disclaimer block */
.disclaimer {
  margin-top: 30px;
  padding: 18px 22px;
  border-left: 3px solid var(--shallow);
  background: rgba(168, 223, 224, .14);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-size: .84rem;
  color: var(--ink-soft);
}
.disclaimer strong { color: var(--ink); }

/* Editor placeholder marker — visible on purpose until real copy lands */
.placeholder {
  background: rgba(242, 118, 75, .12);
  border: 1px dashed rgba(242, 118, 75, .55);
  border-radius: 4px;
  padding: 0 5px;
  color: #b4441c;
  font-size: .95em;
  font-style: normal;
}


/* Strength picker inside a product card ----------------------------- */
.strength-field{
  display:block;
  margin: 0 0 14px;
}
.strength-label{
  display:block;
  font-family: var(--font-body);
  font-size:.68rem;
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
  color: var(--ink-faint);
  margin-bottom:5px;
}
.strength-select{
  width:100%;
  padding:9px 30px 9px 11px;
  font-family: var(--font-body);
  font-size:.88rem;
  font-weight:500;
  color: var(--ink);
  background-color: var(--shell);
  border:1px solid var(--line);
  border-radius: var(--r-sm);
  appearance:none;
  -webkit-appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%237796A4' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right 11px center;
  transition:border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.strength-select:hover:not(:disabled){ border-color: var(--shallow); }
.strength-select:focus{
  outline:none;
  background-color: var(--foam);
  border-color: var(--seafoam);
  box-shadow:0 0 0 3px rgba(47,180,168,.16);
}
/* Single-strength products keep the field for alignment but can't be changed */
.strength-select:disabled{
  color: var(--ink-soft);
  background-image:none;
  padding-right:11px;
  cursor:default;
  opacity:1;
}

/* Count badge in a category section header --------------------------- */


/* Research-use-only disclosure ---------------------------------------
   Applied to products that are not FDA approved for human use. The
   styling is deliberately loud: this must not read as fine print. */
.pill-ruo {
  background: #8A2A12;
  color: #fff;
}

.product-card.is-ruo { border-color: rgba(138, 42, 18, .38); }

.ruo-note {
  margin: 0 0 14px;
  padding: 9px 11px;
  border: 1px solid rgba(138, 42, 18, .35);
  border-left: 3px solid #8A2A12;
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  background: rgba(138, 42, 18, .07);
  color: #8A2A12;
  font-size: .78rem;
  line-height: 1.4;
}
.ruo-note strong { font-weight: 700; }

.ruo-banner {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 24px;
  border: 1px solid rgba(138, 42, 18, .35);
  border-left: 4px solid #8A2A12;
  border-radius: 0 var(--r-lg) var(--r-lg) 0;
  background: rgba(138, 42, 18, .07);
}
.ruo-banner p { color: #6E2410; font-size: .92rem; }
.ruo-banner p:first-child { font-size: 1rem; }
.ruo-banner-tag {
  flex-shrink: 0;
  align-self: center;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: #8A2A12;
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
}

@media (max-width: 700px) {
  .ruo-banner { flex-direction: column; gap: 12px; }
  .ruo-banner-tag { align-self: flex-start; }
}

/* ------------------------------------------------------------------ *
   14. Testimonials
 * ------------------------------------------------------------------ */
.testimonial-viewport {
  overflow: hidden;
  border-radius: var(--r-xl);
}
.testimonial-track {
  display: flex;
  transition: transform .5s cubic-bezier(.22, .61, .36, 1);
}
.testimonial {
  flex: 0 0 100%;
  padding: 44px clamp(24px, 5vw, 70px);
  text-align: center;
}
.testimonial .stars {
  display: flex;
  justify-content: center;
  gap: 3px;
  color: var(--sunset);
  margin-bottom: 20px;
}
.testimonial blockquote {
  margin: 0 0 24px;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.2vw, 1.6rem);
  line-height: 1.45;
  color: #fff;
}
.testimonial cite {
  font-style: normal;
  font-size: .9rem;
  color: var(--on-dark-soft);
}
.testimonial cite strong {
  display: block;
  color: #fff;
  font-weight: 600;
  margin-bottom: 2px;
}

.testimonial-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
}
.testimonial-nav button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(234, 246, 247, .3);
  background: rgba(255, 255, 255, .07);
  color: #fff;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease;
}
.testimonial-nav button:hover {
  background: rgba(47, 180, 168, .3);
  border-color: var(--seafoam);
}
.testimonial-dots {
  display: flex;
  gap: 8px;
}
.testimonial-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border-radius: 50%;
  border: 0;
  background: rgba(234, 246, 247, .3);
  cursor: pointer;
  transition: background-color .2s ease, transform .2s ease;
}
.testimonial-dots button.is-active {
  background: var(--seafoam);
  transform: scale(1.35);
}

/* ------------------------------------------------------------------ *
   15. How it works
 * ------------------------------------------------------------------ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  position: relative;
}
/* Dotted tide line connecting the three steps */
.steps::before {
  content: "";
  position: absolute;
  top: 34px;
  left: 16%;
  right: 16%;
  height: 2px;
  background-image: linear-gradient(90deg, var(--shallow) 50%, transparent 50%);
  background-size: 10px 2px;
  z-index: 0;
}
.step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 12px;
}
.step-num {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: var(--foam);
  border: 2px solid var(--shallow);
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--ocean);
  box-shadow: 0 0 0 8px var(--shell);
}
.section--sand .step-num { box-shadow: 0 0 0 8px var(--sand); }
.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p {
  font-size: .92rem;
  color: var(--ink-soft);
  margin: 0;
}

/* ------------------------------------------------------------------ *
   16. Articles
 * ------------------------------------------------------------------ */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.article-card {
  display: flex;
  flex-direction: column;
  background: var(--foam);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease;
}
.article-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.article-thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--sand);
}
.article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.article-card:hover .article-thumb img { transform: scale(1.05); }
.article-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px;
}
.article-tag {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--seafoam);
  margin-bottom: 10px;
}
.article-body h3 {
  font-size: 1.06rem;
  line-height: 1.32;
  margin-bottom: 8px;
}
.article-body h3 a { color: inherit; }
.article-body h3 a:hover { color: var(--ocean); }
.article-body p {
  font-size: .88rem;
  color: var(--ink-soft);
  margin-bottom: 16px;
}
.article-more {
  margin-top: auto;
  font-size: .86rem;
  font-weight: 600;
  color: var(--ocean);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ------------------------------------------------------------------ *
   17. FAQ accordion
 * ------------------------------------------------------------------ */
.faq-list {
  max-width: 840px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}
.faq-item {
  background: var(--foam);
  border: 1px solid var(--line-cool);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq-item.is-open {
  border-color: var(--shallow);
  box-shadow: var(--shadow-sm);
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 19px 24px;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.04rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
}
.faq-q:hover { color: var(--ocean); }
.faq-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  position: relative;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 13px;
  height: 2px;
  border-radius: 2px;
  background: var(--seafoam);
  transform: translate(-50%, -50%);
  transition: transform .24s ease;
}
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.is-open .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }

.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height .3s ease;
}
.faq-a-inner {
  padding: 0 24px 22px;
  font-size: .95rem;
  color: var(--ink-soft);
}

.faq-group-title {
  max-width: 840px;
  margin: 46px auto 16px;
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.faq-group-title:first-of-type { margin-top: 0; }

/* ------------------------------------------------------------------ *
   18. CTA band
 * ------------------------------------------------------------------ */
.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, var(--abyss) 0%, #0A5470 60%, #0F7E8C 100%);
  color: #fff;
  text-align: center;
  padding: 100px 0;
  isolation: isolate;
}
.cta-band .sun-glow { bottom: -420px; left: 50%; transform: translateX(-50%); }
.cta-band-inner {
  position: relative;
  z-index: 3;
  max-width: 700px;
  margin: 0 auto;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: var(--on-dark-soft); }
.cta-band .btn-row { margin-top: 30px; }
.cta-note {
  margin-top: 22px;
  font-size: .82rem;
  color: rgba(169, 203, 214, .8);
}

/* ------------------------------------------------------------------ *
   19. Prose / legal
 * ------------------------------------------------------------------ */
.prose {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1rem;
  color: var(--ink-soft);
}
.prose h2 {
  font-size: 1.6rem;
  margin-top: 2em;
  margin-bottom: .55em;
  color: var(--ink);
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-size: 1.15rem;
  margin-top: 1.6em;
  margin-bottom: .4em;
  color: var(--ink);
}
.prose ul,
.prose ol {
  margin: 0 0 1.2em;
  padding-left: 1.3em;
  list-style: disc;
}
.prose ol { list-style: decimal; }
.prose li { margin-bottom: .5em; }
.prose a { text-decoration: underline; text-underline-offset: 2px; }

/* Patient acknowledgment. The source document uses typed underscore rules;
   on screen those read as broken text, so the fields are ruled with a border
   instead — same intent, and it still prints as a signable form. */
.sig-block {
  margin: 2.4em 0;
  padding: 26px 28px;
  border: 1px solid var(--line-cool);
  border-radius: var(--r-lg);
  background: var(--foam);
}
.sig-block h3 { margin: 0 0 4px; font-size: 1.05rem; }
.sig-fields { margin: 0; }
.sig-fields dt {
  margin-top: 22px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--ink-faint);
}
.sig-fields dd {
  margin: 0;
  height: 30px;
  border-bottom: 1px solid var(--line);
}

.legal-caps {
  font-size: .88rem;
  line-height: 1.7;
  letter-spacing: .01em;
  color: var(--ink);
}

.legal-foot {
  margin-top: 2.4em;
  padding-top: 1.2em;
  border-top: 1px solid var(--line-cool);
  font-size: .88rem;
  color: var(--ink-faint);
}

.legal-meta {
  padding: 16px 20px;
  margin-bottom: 34px;
  background: var(--sand);
  border-radius: var(--r-md);
  font-size: .87rem;
  color: var(--ink-soft);
}

/* ------------------------------------------------------------------ *
   20. Contact form
 * ------------------------------------------------------------------ */
.contact-layout {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 56px;
  align-items: start;
}
/* Grid items default to min-width:auto, so a wide non-wrapping child (the
   booking page's date strip) would blow past its fr share and crush the
   sidebar. Let the columns win; the strip scrolls instead. */
.contact-layout > * { min-width: 0; }

.form-card {
  background: var(--foam);
  border: 1px solid var(--line-cool);
  border-radius: var(--r-xl);
  padding: 36px;
  box-shadow: var(--shadow-md);
}

.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: .87rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 7px;
}
.field .hint {
  display: block;
  font-weight: 400;
  font-size: .8rem;
  color: var(--ink-faint);
  margin-top: 3px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--ink);
  background: var(--shell);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: var(--foam);
  border-color: var(--seafoam);
  box-shadow: 0 0 0 3px rgba(47, 180, 168, .16);
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .82rem;
  color: var(--ink-faint);
  line-height: 1.5;
  margin-bottom: 22px;
}
.form-consent input {
  width: auto;
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--seafoam);
}

.contact-aside { display: grid; gap: 16px; }
.contact-block {
  background: var(--foam);
  border: 1px solid var(--line-cool);
  border-radius: var(--r-lg);
  padding: 24px;
}
.contact-block h3 { font-size: 1.05rem; margin-bottom: 8px; }
.contact-block p {
  font-size: .9rem;
  color: var(--ink-soft);
  margin-bottom: 0;
}
.contact-block a { font-weight: 600; }
.contact-block.is-urgent {
  background: rgba(242, 118, 75, .07);
  border-color: rgba(242, 118, 75, .3);
}

/* ------------------------------------------------------------------ *
   21. Footer
 * ------------------------------------------------------------------ */
.site-footer {
  background: var(--abyss);
  color: var(--on-dark-soft);
  padding: 76px 0 0;
  font-size: .9rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 40px;
  padding-bottom: 52px;
}
.footer-brand .logo { color: #fff; margin-bottom: 16px; }
.footer-brand .logo:hover { color: var(--shallow); }
.footer-brand .logo-text small { color: var(--on-dark-soft); }
.footer-brand p {
  font-size: .89rem;
  color: var(--on-dark-soft);
  max-width: 32em;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
}
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  color: var(--on-dark-soft);
  font-size: .89rem;
}
.footer-col a:hover { color: var(--shallow); }

.footer-legal {
  border-top: 1px solid rgba(234, 246, 247, .12);
  padding: 26px 0 34px;
}
.footer-legal-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  align-items: center;
  justify-content: space-between;
}
.footer-legal p {
  margin: 0;
  font-size: .8rem;
  color: rgba(169, 203, 214, .7);
}
.footer-legal nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-legal nav a { font-size: .8rem; color: rgba(169, 203, 214, .82); }
.footer-legal nav a:hover { color: #fff; }

.footer-disclaimer {
  padding: 22px 0 40px;
  font-size: .76rem;
  line-height: 1.6;
  color: rgba(169, 203, 214, .62);
  border-top: 1px solid rgba(234, 246, 247, .08);
}

/* ------------------------------------------------------------------ *
   22. Reveal animation
 * ------------------------------------------------------------------ */
/* Gated on the `js` class, which an inline script in <head> adds.
   Without JS the content is simply visible — it is never hidden by CSS alone. */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .6s ease, transform .6s ease;
  }
  .js .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}

/* Anything that would move gets pinned down for reduced-motion users */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* ------------------------------------------------------------------ *
   23. Responsive
 * ------------------------------------------------------------------ */
@media (max-width: 1200px) {
  :root { --section-y: 88px; }
  .footer-top { grid-template-columns: 1.4fr repeat(3, 1fr); }
  .footer-brand { grid-column: span 4; }
}

@media (max-width: 1040px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .pillar-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-strip-inner { grid-template-columns: repeat(3, 1fr); }
  .hero-inner { grid-template-columns: 1fr; gap: 46px; }
  .hero { padding: 68px 0 130px; }
}

@media (max-width: 1200px) {
  :root { --section-y: 72px; }

  /* Absolute, not fixed: the header carries a backdrop-filter, which would
     otherwise become the containing block for a fixed child and break how the
     drawer composites over the hero. Anchoring to the header is also simpler. */
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 40;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin: 0;
    padding: 16px 20px 26px;
    background: var(--shell);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    transform: translateY(-14px);
    opacity: 0;
    visibility: hidden;
    transition: transform .22s ease, opacity .22s ease, visibility .22s;
    max-height: calc(100vh - var(--header-h) - 20px);
    overflow-y: auto;
  }
  .main-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .main-nav a {
    padding: 14px 12px;
    font-size: 1rem;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }
  .main-nav a.is-active::after { display: none; }
  .main-nav .btn {
    display: inline-flex;
    margin-top: 16px;
    border-bottom: 0;
  }

  .nav-toggle { display: block; }
  .header-cta { display: none; }
  .header-inner { gap: 12px; }

  .split { grid-template-columns: 1fr; gap: 40px; }
  .article-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; gap: 36px; }

  .cat-section-head {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .cat-section-head .btn { justify-self: start; }

  .steps { grid-template-columns: 1fr; gap: 34px; }
  .steps::before { display: none; }

  .wave svg { height: 60px; }
}

@media (max-width: 700px) {
  body { font-size: 16px; }
  :root { --section-y: 60px; }

  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: 1fr; gap: 18px; }
  .cat-card { min-height: 320px; }
  .pillar-grid { grid-template-columns: 1fr; }
  .trust-strip-inner { grid-template-columns: repeat(2, 1fr); }
  .article-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }

  .announce { font-size: .74rem; }
  .announce .sep { margin: 0 6px; }

  .btn { width: 100%; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .product-actions { flex-direction: column; }
  .cat-section-head .btn { width: auto; }
  .testimonial-nav button { width: 38px; height: 38px; }

  .cat-section-footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px;
  }
  .cat-section-footer .btn { width: 100%; }

  .form-card { padding: 26px 20px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-brand { grid-column: span 2; }
  .footer-legal-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
  .product-grid { grid-template-columns: 1fr; }
  .trust-strip-inner { grid-template-columns: 1fr; }
  .logo-text { font-size: 1.02rem; }
}


/* ------------------------------------------------------------------ *
   24. Call-to-order cart
   No payment gateway: the cart collects an order, the customer calls.
 * ------------------------------------------------------------------ */
body.has-overlay { overflow: hidden; }

/* Header trigger */
.cart-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--foam);
  color: var(--ocean);
  cursor: pointer;
  transition: border-color .18s ease, background-color .18s ease, transform .18s ease;
}
.cart-trigger:hover { border-color: var(--shallow); background: var(--shell); transform: translateY(-1px); }
.cart-trigger--mobile { display: none; margin-right: 10px; }

.cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: var(--r-pill);
  background: var(--seafoam);
  color: #05343A;
  font-size: .7rem;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

/* Backdrop shared by drawer and modal */
.cart-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(6, 42, 61, .5);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s;
}
.cart-backdrop.is-open { opacity: 1; visibility: visible; }

/* Drawer */
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 95;
  width: 420px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  background: var(--shell);
  box-shadow: -18px 0 50px rgba(6, 42, 61, .22);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform .3s cubic-bezier(.22,.61,.36,1), visibility .3s;
}
.cart-drawer.is-open { transform: none; visibility: visible; }

.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  background: var(--abyss);
  color: #fff;
}
.cart-head h2 { margin: 0; font-size: 1.2rem; color: #fff; }

.cart-close {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid rgba(234, 246, 247, .28);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .08);
  color: #fff;
  cursor: pointer;
  transition: background-color .18s ease;
}
.cart-close:hover { background: rgba(255, 255, 255, .2); }

.cart-body { flex: 1; overflow-y: auto; padding: 8px 24px 24px; }

.cart-empty { padding: 46px 0; text-align: center; color: var(--ink-faint); }
.cart-empty p { margin: 0 0 6px; font-size: .93rem; }
.cart-empty strong { color: var(--ink-soft); }

.cart-line { padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-line:last-child { border-bottom: 0; }
.cart-line-name { display: block; font-weight: 600; font-size: .95rem; line-height: 1.3; }
.cart-line-meta {
  display: block;
  margin-top: 3px;
  font-size: .8rem;
  color: var(--ink-faint);
  font-variant-numeric: tabular-nums;
}
.cart-line-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}
.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--foam);
  overflow: hidden;
}
.qty button {
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ocean);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}
.qty button:hover { background: rgba(168, 223, 224, .3); }
.qty-n {
  min-width: 24px;
  text-align: center;
  font-size: .88rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.cart-line-price {
  margin-left: auto;
  font-family: var(--font-display);
  font-size: .98rem;
  color: var(--ocean);
  font-variant-numeric: tabular-nums;
}
.cart-line-price em { font-family: var(--font-body); font-size: .78rem; color: var(--ink-faint); font-style: normal; }
.cart-line-remove {
  border: 0;
  background: none;
  padding: 0;
  font-size: .76rem;
  color: var(--ink-faint);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
.cart-line-remove:hover { color: #9E3520; }

.cart-line-rx {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  border-radius: 3px;
  background: rgba(14, 92, 119, .12);
  color: var(--ocean);
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  vertical-align: middle;
}
.cart-rx-notice {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  background: rgba(14, 92, 119, .07);
  font-size: .8rem;
  line-height: 1.5;
  color: var(--ink-soft);
}
.cart-rx-notice strong { color: var(--ink); }

.cart-foot { padding: 20px 24px 24px; border-top: 1px solid var(--line); background: var(--foam); }
.cart-total {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 16px;
}
.cart-total span { font-size: .88rem; color: var(--ink-soft); }
.cart-total strong {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.cart-total-note { flex: 0 0 100%; font-size: .76rem; color: var(--ink-faint); font-style: normal; }
.cart-pay:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.cart-foot-note { margin: 12px 0 0; font-size: .76rem; color: var(--ink-faint); text-align: center; }

/* Pay modal */
.cart-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s ease, visibility .22s;
}
.cart-modal.is-open { opacity: 1; visibility: visible; }

.cart-modal-inner {
  position: relative;
  width: min(480px, 100%);
  max-height: 88vh;
  overflow-y: auto;
  padding: 40px 36px 34px;
  border-radius: var(--r-xl);
  background: var(--shell);
  box-shadow: 0 30px 70px rgba(6, 42, 61, .34);
  text-align: center;
  transform: translateY(10px) scale(.98);
  transition: transform .28s cubic-bezier(.22,.61,.36,1);
}
.cart-modal.is-open .cart-modal-inner { transform: none; }

.cart-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  border-color: var(--line);
  background: var(--foam);
  color: var(--ink-soft);
}
.cart-modal-close:hover { background: var(--sand); }

.pay-eyebrow {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--seafoam);
  margin-bottom: 12px;
}
.cart-modal h2 { font-size: 1.55rem; margin-bottom: 10px; }
.pay-lede { font-size: .95rem; color: var(--ink-soft); margin-bottom: 22px; }

.pay-phone {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 6vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--ocean);
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}
.pay-phone:hover { color: var(--seafoam); }
.pay-hours { font-size: .82rem; color: var(--ink-faint); margin: 6px 0 24px; }

.pay-summary {
  text-align: left;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--foam);
}
.pay-ref {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.pay-ref span { font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); }
.pay-ref strong { font-family: var(--font-display); font-size: 1.05rem; color: var(--ocean); letter-spacing: .04em; }

.pay-lines { margin: 12px 0 0; padding: 0; list-style: none; }
.pay-lines li {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 4px 12px;
  align-items: baseline;
  padding: 6px 0;
  font-size: .86rem;
  color: var(--ink-soft);
  line-height: 1.35;
}
.pay-item { min-width: 0; overflow-wrap: anywhere; }
.pay-line-price {
  min-width: 62px;
  text-align: right;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.pay-qty { color: var(--ink-faint); font-variant-numeric: tabular-nums; white-space: nowrap; }

.pay-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.pay-total { flex-wrap: wrap; }
.pay-total span { font-size: .86rem; color: var(--ink-soft); }
.pay-total strong { font-family: var(--font-display); font-size: 1.15rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.pay-total-note {
  flex: 0 0 100%;
  font-style: normal;
  font-size: .76rem;
  color: var(--ink-faint);
  text-align: right;
}

.pay-rx {
  margin: 18px 0 0;
  padding: 14px 16px;
  border: 1px solid rgba(14, 92, 119, .28);
  border-radius: var(--r-md);
  background: rgba(14, 92, 119, .05);
}
.pay-rx-tag {
  display: inline-block;
  margin-bottom: 7px;
  padding: 3px 9px;
  border-radius: 3px;
  background: var(--ocean);
  color: #fff;
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.pay-rx p { margin: 0 0 8px; font-size: .85rem; line-height: 1.55; color: var(--ink-soft); }
.pay-rx p:last-child { margin-bottom: 0; }
.pay-rx a { font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

.pay-note { margin: 20px 0 0; font-size: .78rem; color: var(--ink-faint); line-height: 1.5; }

/* Add-to-cart confirmation state */
.btn.is-added { background: var(--abyss); color: #fff; }
.btn.is-added:hover { background: var(--abyss); color: #fff; }

@media (max-width: 1200px) {
  .cart-trigger--mobile { display: inline-flex; }
  .header-cta .cart-trigger { display: none; }
}
@media (max-width: 700px) {
  .cart-modal-inner { padding: 36px 22px 26px; }
  .cart-line-controls { flex-wrap: wrap; }
  .cart-line-price { margin-left: 0; }
}


/* Prescription markers inside the cart */




/* Customer details form — step 1 of the pay modal */
.cf { text-align: left; margin-top: 4px; }

.cf-required {
  margin: 0 0 16px;
  font-size: .76rem;
  color: var(--ink-faint);
}
.cf-field { margin-bottom: 14px; }
.cf-field label {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 5px;
}
.cf-field label em {
  font-style: normal;
  font-weight: 400;
  color: var(--ink-faint);
}
.cf-field input,
.cf-field select {
  width: 100%;
  padding: 11px 13px;
  font-family: var(--font-body);
  font-size: .93rem;
  color: var(--ink);
  background: var(--foam);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  transition: border-color .16s ease, box-shadow .16s ease;
}
.cf-field select { appearance: none; -webkit-appearance: none; }
.cf-field input:focus,
.cf-field select:focus {
  outline: none;
  border-color: var(--seafoam);
  box-shadow: 0 0 0 3px rgba(47, 180, 168, .16);
}
.cf-field.has-error input,
.cf-field.has-error select {
  border-color: #C0442A;
  background: rgba(192, 68, 42, .04);
}

.cf-error {
  display: block;
  min-height: 0;
  font-size: .75rem;
  color: #9E3520;
  margin-top: 4px;
}
.cf-field.has-error .cf-error { min-height: 1em; }

.cf-row {
  display: grid;
  grid-template-columns: 1fr 88px 110px;
  gap: 10px;
}

.cf-privacy {
  margin: 4px 0 18px;
  font-size: .76rem;
  line-height: 1.5;
  color: var(--ink-faint);
}
.cf-clear {
  border: 0;
  background: none;
  padding: 0;
  font-size: inherit;
  color: var(--ocean);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
.cf-clear:hover { color: var(--seafoam); }

.cf-back {
  display: inline-block;
  margin-top: 14px;
  border: 0;
  background: none;
  padding: 0;
  font-size: .82rem;
  font-weight: 600;
  color: var(--ocean);
  cursor: pointer;
}
.cf-back:hover { color: var(--seafoam); }

/* Customer block on the call screen */
.pay-who {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.pay-who > div { min-width: 0; }
.pay-who-addr { grid-column: 1 / -1; }
.pay-who span {
  display: block;
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 2px;
}
.pay-who strong {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
  overflow-wrap: anywhere;
}

@media (max-width: 480px) {
  .cf-row { grid-template-columns: 1fr 1fr; }
  .cf-row .cf-field:first-child { grid-column: 1 / -1; }
  .pay-who { grid-template-columns: 1fr; }
}


/* ------------------------------------------------------------------ *
   25. Product search
 * ------------------------------------------------------------------ */
.search-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--foam);
  color: var(--ocean);
  cursor: pointer;
  transition: border-color .18s ease, background-color .18s ease, transform .18s ease;
}
.search-trigger:hover { border-color: var(--shallow); background: var(--shell); transform: translateY(-1px); }
.search-trigger--mobile { display: none; margin-right: 8px; }

.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: flex;
  justify-content: center;
  padding: clamp(60px, 12vh, 140px) 20px 20px;
  background: rgba(6, 42, 61, .5);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, visibility .2s;
}
.search-overlay.is-open { opacity: 1; visibility: visible; }

.search-panel {
  width: min(600px, 100%);
  align-self: flex-start;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--shell);
  border-radius: var(--r-xl);
  box-shadow: 0 30px 70px rgba(6, 42, 61, .34);
  overflow: hidden;
  transform: translateY(-8px);
  transition: transform .22s cubic-bezier(.22,.61,.36,1);
}
.search-overlay.is-open .search-panel { transform: none; }

.search-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--foam);
  color: var(--ink-faint);
  flex-shrink: 0;
}
.search-bar input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: none;
  font-family: var(--font-body);
  font-size: 1.02rem;
  color: var(--ink);
  padding: 4px 0;
}
.search-bar input:focus { outline: none; }
.search-bar input::placeholder { color: var(--ink-faint); }

.search-close {
  flex-shrink: 0;
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--shell);
  font-family: var(--font-body);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--ink-faint);
  cursor: pointer;
}
.search-close:hover { border-color: var(--shallow); color: var(--ocean); }

.search-results {
  list-style: none;
  margin: 0;
  padding: 6px;
  overflow-y: auto;
  flex: 1;
}
.search-item a {
  display: block;
  padding: 11px 13px;
  border-radius: var(--r-md);
  color: inherit;
  text-decoration: none;
}
.search-item.is-active a { background: rgba(168, 223, 224, .28); }
.search-item-top {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}
.search-name {
  font-weight: 600;
  font-size: .95rem;
  color: var(--ink);
  line-height: 1.3;
}
.search-name mark {
  background: rgba(47, 180, 168, .3);
  color: inherit;
  border-radius: 2px;
  padding: 0 1px;
}
.search-meta {
  display: block;
  margin-top: 3px;
  font-size: .79rem;
  color: var(--ink-faint);
  line-height: 1.4;
}
.search-strengths {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 7px;
  border-radius: var(--r-pill);
  background: rgba(14, 92, 119, .09);
  color: var(--ocean);
  font-size: .7rem;
  font-weight: 600;
}
.search-status {
  margin: 0;
  padding: 10px 18px 14px;
  font-size: .78rem;
  color: var(--ink-faint);
  border-top: 1px solid var(--line);
  flex-shrink: 0;
}
.search-status:empty { display: none; }

@media (max-width: 1200px) {
  .search-trigger--mobile { display: inline-flex; }
  .header-cta .search-trigger { display: none; }
}
@media (max-width: 700px) {
  .search-overlay { padding: 16px 12px 12px; }
  .search-panel { max-height: calc(100vh - 28px); }
  .search-close { display: none; }
}


/* ------------------------------------------------------------------ *
   26. Medical Director profile
 * ------------------------------------------------------------------ */
.dr-hero .page-hero-inner { max-width: 820px; }

.dr-specialties {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 26px;
}
.dr-specialties li {
  padding: 5px 13px;
  border: 1px solid rgba(234, 246, 247, .26);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .07);
  font-size: .79rem;
  color: var(--on-dark);
}

/* Stat row under the intro */
.dr-stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: 34px;
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--line-cool);
}
.dr-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.85rem;
  line-height: 1;
  color: var(--ocean);
  font-variant-numeric: tabular-nums;
}
.dr-stats span {
  display: block;
  margin-top: 5px;
  font-size: .8rem;
  color: var(--ink-faint);
  max-width: 12em;
}

/* Portrait — placeholder frame until a real headshot lands */
.dr-portrait { margin: 0; }
.dr-portrait-frame {
  /* matches the source photo exactly, so nothing is cropped */
  aspect-ratio: 421 / 475;
  max-width: 470px;
  margin-left: auto;
  border-radius: var(--r-xl);
  background: linear-gradient(160deg, var(--ocean) 0%, var(--abyss) 100%);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.dr-portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.dr-portrait figcaption {
  max-width: 470px;
  margin: 12px 0 0 auto;
  font-size: .8rem;
  line-height: 1.5;
  color: var(--ink-faint);
  text-align: right;
}

/* Pull quote */
.dr-quote {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  padding-top: 34px;
}
.dr-quote::before {
  content: "\201C";
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 1;
  color: var(--seafoam);
  opacity: .5;
}
.dr-quote p {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 2rem);
  line-height: 1.42;
  color: #fff;
  margin-bottom: 22px;
  text-wrap: balance;
}
.dr-quote cite {
  font-style: normal;
  font-size: .88rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--shallow);
}

/* Panels */
.dr-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.dr-grid--three { grid-template-columns: repeat(3, 1fr); }

.dr-panel {
  background: var(--foam);
  border: 1px solid var(--line-cool);
  border-radius: var(--r-lg);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
}
.dr-panel h3 {
  font-size: 1.1rem;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-cool);
}
.dr-panel .check-list { margin: 0; }

.dr-list { display: grid; gap: 16px; }
.dr-list strong {
  display: block;
  font-size: .96rem;
  color: var(--ink);
  margin-bottom: 3px;
}
.dr-list span {
  display: block;
  font-size: .87rem;
  color: var(--ink-soft);
  line-height: 1.5;
}
.dr-list--plain { gap: 10px; }
.dr-list--plain li {
  position: relative;
  padding-left: 18px;
  font-size: .89rem;
  color: var(--ink-soft);
  line-height: 1.5;
}
.dr-list--plain li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .58em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--seafoam);
}

.dr-langs { display: grid; gap: 9px; }
.dr-langs li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--line);
}
.dr-langs li:last-child { border-bottom: 0; }
.dr-langs strong { font-size: .92rem; font-weight: 600; }
.dr-langs span {
  font-size: .76rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.dr-langs-note {
  margin: 16px 0 0;
  font-size: .82rem;
  color: var(--ink-faint);
  line-height: 1.5;
}

@media (max-width: 900px) {
  .dr-grid, .dr-grid--three { grid-template-columns: 1fr; }
  /* portrait goes full width once the split stacks, so stop right-aligning */
  .dr-portrait-frame { max-width: none; margin-left: 0; }
  .dr-portrait figcaption { max-width: none; margin-left: 0; text-align: left; }
}
@media (max-width: 620px) {
  .dr-stats { grid-template-columns: 1fr 1fr; gap: 20px 24px; }
}

.pillar-link { margin: 12px 0 0; font-size: .86rem; }
.pillar-link a { font-weight: 600; color: var(--shallow); }
.pillar-link a:hover { color: var(--seafoam); }


/* ------------------------------------------------------------------ *
   27. Important Safety Information
 * ------------------------------------------------------------------ */
.isi {
  padding: 30px 32px;
  border: 1px solid var(--line-cool);
  border-radius: var(--r-lg);
  background: var(--foam);
  box-shadow: var(--shadow-sm);
}
.isi h3 {
  font-size: 1.02rem;
  margin: 26px 0 10px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--line-cool);
}
.isi h3:first-child { margin-top: 0; }
.isi p {
  font-size: .92rem;
  line-height: 1.66;
  color: var(--ink-soft);
  margin-bottom: 12px;
}
.isi p:last-child { margin-bottom: 0; }
.isi strong { color: var(--ink); }

/* A boxed warning is the most serious label a drug carries — give it the
   visual weight regulators expect, not a line buried in a paragraph. */
.isi-boxed {
  margin: 18px 0;
  padding: 16px 18px;
  border: 2px solid #8A2A12;
  border-radius: var(--r-md);
  background: rgba(138, 42, 18, .06);
}
.isi-boxed-tag {
  display: inline-block;
  margin-bottom: 8px;
  padding: 3px 10px;
  border-radius: 3px;
  background: #8A2A12;
  color: #fff;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.isi-boxed p {
  margin: 0;
  font-size: .93rem;
  font-weight: 600;
  line-height: 1.6;
  color: #6E2410;
}

/* lists and sign-off inside an ISI block */
.isi ul,
.isi ol {
  margin: 0 0 14px;
  padding-left: 22px;
  list-style: disc;
}
.isi ol { list-style: decimal; }
.isi li {
  font-size: .92rem;
  line-height: 1.62;
  color: var(--ink-soft);
  margin-bottom: 7px;
}
.isi li strong { color: var(--ink); }

.isi-updated {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--line-cool);
  font-size: .82rem;
  color: var(--ink-faint);
}
.isi-signoff {
  margin: 4px 0 0;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--ink);
}
.isi-signoff span {
  display: block;
  margin-top: 3px;
  font-family: var(--font-body);
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--seafoam);
}

.isi-report {
  margin: 22px 0 0;
  font-size: .85rem;
  line-height: 1.6;
  color: var(--ink-faint);
}

@media (max-width: 620px) {
  .isi { padding: 24px 20px; }
}

/* Print — strip the ocean, keep the words */
@media print {
  .announce, .site-header, .wave, .sun-glow,
  .cta-band, .testimonial-nav, .site-footer { display: none !important; }
  body { background: #fff; color: #000; font-size: 12pt; }
  .section { padding: 18pt 0; }
}

/* ------------------------------------------------------------------ *
   28. Telemedicine booking
   29. Legal documents (caps, signature block, footer)
 * ------------------------------------------------------------------ */

/* Visit type — a radio group drawn as selectable cards. The real <input>
   stays in the DOM (never display:none) so it keeps keyboard and screen
   reader behaviour; it is only clipped out of sight. */
.visit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 6px;
}
.visit-option { position: relative; display: block; }
.visit-option input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
}
.visit-card {
  display: block;
  height: 100%;
  padding: 16px 16px 15px;
  background: var(--shell);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.visit-card strong {
  display: block;
  font-size: .93rem;
  color: var(--ink);
  margin-bottom: 4px;
}
.visit-card span {
  display: block;
  font-size: .8rem;
  line-height: 1.45;
  color: var(--ink-faint);
}
.visit-card em {
  display: block;
  margin-top: 7px;
  font-style: normal;
  font-size: .78rem;
  font-weight: 600;
  color: var(--ocean);
}
.visit-option:hover .visit-card { border-color: var(--shallow); }
.visit-option input:checked + .visit-card {
  background: var(--foam);
  border-color: var(--seafoam);
  box-shadow: 0 0 0 2px rgba(47, 180, 168, .22);
}
.visit-option input:focus-visible + .visit-card {
  outline: 2px solid var(--ocean);
  outline-offset: 2px;
}

/* Date strip — horizontally scrollable on narrow screens rather than
   wrapping into a ragged block. */
.date-strip {
  display: flex;
  min-width: 0;
  gap: 9px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
}
.date-btn {
  flex: 0 0 auto;
  width: 62px;
  padding: 10px 0 11px;
  text-align: center;
  background: var(--shell);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  cursor: pointer;
  transition: border-color .18s ease, background-color .18s ease;
}
.date-btn .dow {
  display: block;
  font-size: .7rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.date-btn .dom {
  display: block;
  margin-top: 3px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--ink);
}
.date-btn:hover { border-color: var(--shallow); }
.date-btn[aria-pressed="true"] {
  background: var(--ocean);
  border-color: var(--ocean);
}
.date-btn[aria-pressed="true"] .dow { color: rgba(255, 255, 255, .72); }
.date-btn[aria-pressed="true"] .dom { color: #fff; }

/* Time slots */
.slot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
}
.slot {
  padding: 11px 6px;
  background: var(--shell);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-size: .87rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: border-color .18s ease, background-color .18s ease, color .18s ease;
}
.slot:hover:not(:disabled) { border-color: var(--shallow); }
.slot[aria-pressed="true"] {
  background: var(--seafoam);
  border-color: var(--seafoam);
  color: #06333a;
}
.slot:disabled {
  color: var(--ink-faint);
  opacity: .45;
  cursor: not-allowed;
  text-decoration: line-through;
}
.slot-empty {
  grid-column: 1 / -1;
  padding: 14px 2px;
  font-size: .88rem;
  color: var(--ink-faint);
}

/* The running summary of what the patient has picked so far */
.booking-summary {
  margin: 4px 0 22px;
  padding: 15px 18px;
  background: rgba(47, 180, 168, .08);
  border: 1px solid rgba(47, 180, 168, .3);
  border-radius: var(--r-md);
  font-size: .89rem;
  color: var(--ink-soft);
}
.booking-summary strong { color: var(--ink); }
.booking-summary .none { color: var(--ink-faint); }

/* Inline validation, matching the cart's field errors */
.booking-error {
  display: block;
  margin-top: 6px;
  font-size: .8rem;
  font-weight: 600;
  color: #b4441c;
}
.field.is-invalid input,
.field.is-invalid select { border-color: #d1663f; }

@media (max-width: 900px) {
  .visit-grid { grid-template-columns: 1fr; }
  .slot-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .slot-grid { grid-template-columns: repeat(2, 1fr); }
}
