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

/* ─── TOKENS ─────────────────────────────────────────────────── */
:root {
  --slate:      #0D1117;
  --slate-80:   rgba(13,17,23,.8);
  --slate-10:   rgba(13,17,23,.08);
  --platinum:   #A8BFCE;
  --gold:       #4A7FA5;
  --gold-dim:   rgba(74,127,165,.12);
  --gold-hover: #5A9DBF;
  --bg:         #F0F4F8;
  --bg-card:    #E8EEF4;
  --white:      #ffffff;
  --text:       #0D1117;
  --text-2:     #4A5668;
  --text-3:     #7A8A9A;
  --border:     rgba(13,17,23,.1);
  --border-md:  rgba(13,17,23,.16);

  --ff-display: 'Georgia', 'Times New Roman', serif;
  --ff-body:    'Inter', system-ui, sans-serif;

  --radius:     3px;
  --radius-lg:  6px;
  --max-w:      1200px;
  --transition: 200ms cubic-bezier(.4,0,.2,1);
}

/* ─── RESET ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--ff-body);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }

/* ─── NAV ─────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: 72px;
  display: flex;
  align-items: center;
  padding: 0 2.5rem;
  background: transparent;
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
  border-bottom: 1px solid transparent;
  overflow: visible;
}
.nav.scrolled {
  background: var(--slate);
  border-color: rgba(255,255,255,.06);
  box-shadow: 0 2px 24px rgba(0,0,0,.18);
}
.nav.nav-light {
  background: var(--bg);
  border-color: var(--border);
}
.nav.nav-light .nav-link { color: var(--text-2); }
.nav.nav-light .nav-link:hover { color: var(--text); }
.nav.nav-light .nav-logo-name { color: var(--gold); }
.nav.nav-light .nav-logo-sub { color: var(--text-2); }
.nav.nav-light .nav-portal { color: var(--text-3); }
.nav-inner {
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
}
.nav-logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-logo-text { display: flex; flex-direction: column; line-height: 1; align-items: center; }
.nav-logo-name {
  font-family: var(--ff-display);
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: .15em;
  color: var(--gold);
  text-transform: uppercase;
  transition: color var(--transition);
}
.nav-logo-sub {
  font-size: .6rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--platinum);
  font-weight: 400;
  margin-top: 2px;
  transition: color var(--transition);
}
/* Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-link {
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(255,255,255,.7);
  transition: color var(--transition);
  white-space: nowrap;
}
.nav-link:hover { color: var(--white); }
.nav-link.active { color: var(--gold); }
/* Protocols dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle { display: flex; align-items: center; gap: .3rem; cursor: pointer; }
.nav-dropdown-toggle svg { width: 10px; height: 10px; transition: transform var(--transition); }
.nav-dropdown.open .nav-dropdown-toggle svg { transform: rotate(180deg); }
/* invisible bridge fills gap between toggle and menu so hover doesn't break */
.nav-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -20px;
  right: -20px;
  height: 16px;
}
.nav-dropdown-menu {
  position: fixed;
  top: 72px;
  transform: translateX(-50%) translateY(-4px);
  background: var(--slate);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: .5rem 0;
  min-width: 190px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
  box-shadow: 0 12px 40px rgba(0,0,0,.25);
  z-index: 9999;
}
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a {
  display: block;
  padding: .65rem 1.25rem;
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.nav-dropdown-menu a:hover { color: var(--white); background: rgba(255,255,255,.06); }
/* Nav right */
.nav-right { display: flex; align-items: center; gap: 1.25rem; }
.nav-portal {
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(255,255,255,.45);
  transition: color var(--transition);
}
.nav-portal:hover { color: rgba(255,255,255,.75); }
/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  margin-left: .5rem;
}
.nav-hamburger span {
  display: block;
  width: 22px; height: 1.5px;
  background: rgba(255,255,255,.8);
  transition: var(--transition);
}
.nav-light .nav-hamburger span { background: var(--text-2); }
/* Mobile nav */
.nav-mobile {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0; bottom: 0;
  background: var(--slate);
  z-index: 190;
  padding: 2rem 2.5rem;
  overflow-y: auto;
  flex-direction: column;
  gap: 0;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  display: block;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  font-size: 1rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  font-weight: 400;
}
.nav-mobile a:hover { color: var(--white); }
.nav-mobile .btn { margin-top: 2rem; width: 100%; justify-content: center; }

/* ─── BUTTONS ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 1.8rem;
  border-radius: var(--radius);
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 500;
  font-family: var(--ff-body);
  transition: var(--transition);
  white-space: nowrap;
  cursor: pointer;
}
.btn-gold {
  background: var(--gold);
  color: var(--white);
}
.btn-gold:hover {
  background: var(--gold-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(184,150,62,.3);
}
.btn-slate {
  background: var(--slate);
  color: var(--white);
}
.btn-slate:hover {
  background: #243347;
  transform: translateY(-1px);
}
.btn-outline {
  border: 1px solid var(--border-md);
  color: var(--text-2);
  background: transparent;
}
.btn-outline:hover {
  border-color: var(--slate);
  color: var(--slate);
}
.btn-outline-white {
  border: 1px solid rgba(255,255,255,.3);
  color: var(--white);
  background: transparent;
}
.btn-outline-white:hover {
  border-color: var(--white);
  background: rgba(255,255,255,.05);
}
.btn-lg { padding: 1rem 2.4rem; font-size: .8rem; letter-spacing: .1em; }
.btn-outline-white.btn-lg { font-size: .8rem; letter-spacing: .1em; padding: 1rem 2.4rem; }

/* ─── LAYOUT ──────────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2.5rem;
}
section { padding: 6rem 0; }
.page-body { padding-top: 106px; }

/* ─── SECTION LABELS ─────────────────────────────────────────── */
.label {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.label::before {
  content: '';
  display: block;
  width: 20px; height: 1px;
  background: var(--gold);
}

/* ─── TYPOGRAPHY ──────────────────────────────────────────────── */
.display-1 {
  font-family: var(--ff-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--white);
}
.display-2 {
  font-family: var(--ff-display);
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -.01em;
  color: var(--slate);
}
.display-2-white { color: var(--white); }
.body-lg {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-2);
}
.body-lg-white {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: rgba(255,255,255,.65);
}

/* ─── HERO ────────────────────────────────────────────────────── */
.hero {
  background: var(--slate);
  min-height: 92vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 7rem 0 5rem;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 80% 50%, rgba(184,150,62,.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 80% at 10% 80%, rgba(184,150,62,.04) 0%, transparent 60%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 2rem;
}
.hero-eyebrow-line {
  width: 32px; height: 1px;
  background: var(--gold);
}
.hero-eyebrow-text {
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}
.hero-headline {
  font-family: var(--ff-display);
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--white);
  margin-bottom: 1.75rem;
}
.hero-headline em {
  font-style: italic;
  color: var(--gold);
}
.hero-sub {
  font-size: 1.05rem;
  line-height: 1.72;
  color: rgba(255,255,255,.6);
  max-width: 480px;
  margin-bottom: 2.5rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-badge-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: 340px;
}
.hero-badge {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.hero-badge-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4A7FA5 0%, #2d6a8f 100%);
  border: none;
  box-shadow: 0 2px 10px rgba(74,127,165,.45);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #ffffff;
  font-size: .9rem;
}
.hero-badge-text { font-size: .85rem; color: rgba(255,255,255,1); line-height: 1.5; }
.hero-badge-text strong { display: block; color: #fff; font-size: .92rem; margin-bottom: .2rem; letter-spacing: .01em; }

/* ─── AUTHORITY STRIP ─────────────────────────────────────────── */
.authority {
  background: var(--slate);
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: 1.5rem 0;
}
.authority-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.authority-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  font-weight: 500;
}
.authority-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4A7FA5 0%, #2d6a8f 100%);
  box-shadow: 0 0 6px rgba(74,127,165,.6);
  flex-shrink: 0;
}

/* ─── PROBLEM SECTION ─────────────────────────────────────────── */
.problem { background: var(--bg); }
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
  margin-top: 3.5rem;
}
.problem-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.problem-card-num {
  font-family: var(--ff-display);
  font-size: 2.5rem;
  color: var(--gold);
  opacity: .8;
  line-height: 1;
  margin-bottom: 1rem;
  font-weight: 400;
}
.problem-card h3 {
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 700;
  color: #0D1117;
  margin-bottom: .75rem;
}
.problem-card p { font-size: .9rem; color: #2a3142; line-height: 1.65; }

/* ─── PROTOCOL GRID ───────────────────────────────────────────── */
.protocols-section { background: var(--bg-card); }
.protocol-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}
.protocol-card:not(.protocol-card-photo) {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.protocol-card:not(.protocol-card-photo):hover {
  border-color: var(--gold);
  box-shadow: 0 4px 24px rgba(184,150,62,.1);
  transform: translateY(-2px);
}
.protocol-card-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4A7FA5 0%, #2d6a8f 100%);
  border: none;
  box-shadow: 0 2px 10px rgba(74,127,165,.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
}
.protocol-card-icon svg { width: 18px; height: 18px; }
.protocol-card h3 {
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--slate);
}
.protocol-card p { font-size: .82rem; color: var(--text-2); line-height: 1.55; flex: 1; }
.protocol-card-cta {
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: .4rem;
  margin-top: .25rem;
}

/* ─── PHOTO PROTOCOL CARDS ───────────────────────────────────── */
.protocol-card-photo,
a.protocol-card-photo,
div.protocol-card-photo {
  background-color: #0d1117;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  min-height: 300px;
  position: relative;
  overflow: hidden;
  border: none;
  padding: 0;
  display: flex;
  flex-direction: column;
}
@media (max-width: 767px) {
  .protocol-card-photo,
  a.protocol-card-photo,
  div.protocol-card-photo { min-height: 220px; }
}
.protocol-card-photo .protocol-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,17,23,.35) 0%, rgba(13,17,23,.75) 60%, rgba(13,17,23,.92) 100%);
  z-index: 0;
  transition: background var(--transition);
}
.protocol-card-photo:hover .protocol-card-overlay {
  background: linear-gradient(180deg, rgba(13,17,23,.45) 0%, rgba(13,17,23,.82) 60%, rgba(13,17,23,.95) 100%);
}
.protocol-card-photo .protocol-card-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  padding: 1.75rem;
  height: 100%;
}
.protocol-card-photo .protocol-card-emoji {
  font-size: 2.2rem;
  line-height: 1;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.4));
}
.protocol-card-photo h3 {
  font-size: .95rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--white);
}
.protocol-card-photo p {
  font-size: .82rem;
  color: rgba(255,255,255,.78);
  line-height: 1.6;
  flex: 1;
}
.protocol-card-photo .protocol-card-cta {
  color: var(--gold);
  font-size: .85rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 600;
}

/* ─── Add to Cart button on protocol cards ─── */
.protocol-card-basket {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: .6rem;
  background: var(--gold);
  color: #0D1117;
  border: none;
  border-radius: 999px;
  padding: .35rem 1rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity .15s, transform .1s;
  white-space: nowrap;
}
.protocol-card-basket:hover { opacity: .85; transform: translateY(-1px); }
.protocol-card-basket svg { flex-shrink: 0; }

/* ─── Protocol card icon emoji (protocols/index page) ─── */
.protocol-card-icon-emoji {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: .5rem;
  display: block;
  filter: drop-shadow(0 1px 4px rgba(0,0,0,.2));
}

/* ─── Cognitive card emoji flip ─── */
.protocol-card-flip .protocol-card-emoji {
  display: inline-block;
  transform: scaleX(-1);
}

/* ─── HOW IT WORKS ────────────────────────────────────────────── */
.how { background: var(--bg); }
.how-steps {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  margin-top: 3.5rem;
  position: relative;
}
.how-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(16.66% + 1rem);
  right: calc(16.66% + 1rem);
  height: 1px;
  background: var(--border-md);
}
.how-step { text-align: center; position: relative; }
.how-step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4A7FA5 0%, #2d6a8f 100%);
  box-shadow: 0 3px 14px rgba(74,127,165,.5);
  color: #ffffff;
  font-family: var(--ff-display);
  font-size: 1.25rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  position: relative;
  z-index: 1;
}
.how-step h3 {
  font-size: .85rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--slate);
  margin-bottom: .75rem;
}
.how-step p { font-size: .9rem; color: var(--text-2); line-height: 1.65; max-width: 280px; margin: 0 auto; }

/* ─── BLOG TEASER ─────────────────────────────────────────────── */
.blog-section { background: var(--bg-card); }
.blog-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  grid-auto-rows: 340px;
  align-items: stretch;
}
.blog-card {
  background-color: #0d1117;
  height: 340px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: none;
  border-radius: var(--radius-lg);
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: box-shadow var(--transition), transform var(--transition);
  text-decoration: none;
  color: inherit;
  min-height: 300px;
  position: relative;
  overflow: hidden;
  justify-content: flex-end;
}
.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0,0,0,.4);
}
/* Dark gradient overlay */
.blog-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,12,20,.45) 0%, rgba(8,12,20,.78) 45%, rgba(8,12,20,.97) 100%);
  z-index: 1;
  transition: background var(--transition);
}
.blog-card:hover::after {
  background: linear-gradient(180deg, rgba(8,12,20,.5) 0%, rgba(8,12,20,.82) 45%, rgba(8,12,20,.98) 100%);
}
/* All children above overlay */
.blog-card > * { position: relative; z-index: 2; }
/* Inner body wrapping all content */
.blog-card-body {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  padding: 1.5rem;
  position: relative;
  z-index: 3;
  height: 100%;
  justify-content: flex-end;
  box-sizing: border-box;
}
.blog-card-emoji {
  font-size: 2.2rem;
  line-height: 1;
  margin-bottom: .1rem;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,.6));
}
.blog-card h3,
.blog-card .blog-card-body h3 {
  font-family: var(--ff-display);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  color: #ffffff !important;
  margin: 0;
  letter-spacing: .01em;
  text-shadow: 0 1px 4px rgba(0,0,0,.7);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card p,
.blog-card .blog-card-body p {
  font-size: .8rem;
  color: rgba(255,255,255,.88) !important;
  line-height: 1.55;
  margin: 0;
  text-shadow: 0 1px 3px rgba(0,0,0,.6);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
  margin-top: .25rem;
  color: rgba(255,255,255,.85);
  font-size: .72rem;
}
.blog-card-meta span { color: rgba(255,255,255,.85); }
.blog-card-meta-dot { width: 3px; height: 3px; border-radius: 50%; background: rgba(255,255,255,.5); }
.blog-cat-tag {
  background: rgba(212,175,55,.18);
  color: var(--gold);
  border: 1px solid rgba(212,175,55,.35);
  padding: .15rem .65rem;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.blog-card-cta {
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: .4rem;
  margin-top: .25rem;
  padding: 0;
}

/* ─── CTA BANNER ──────────────────────────────────────────────── */
.cta-banner {
  background: var(--slate);
  padding: 5rem 0;
}
.cta-banner-inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.cta-banner-inner h2 {
  font-family: var(--ff-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 400;
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.2;
}
.cta-banner-inner p { color: rgba(255,255,255,.6); margin-bottom: 2rem; }
.cta-banner-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ─── PAGE HERO (inner pages) ─────────────────────────────────── */
.page-hero {
  background-color: var(--slate);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  padding: 7rem 0 5rem;
  position: relative;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: center;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(13,17,23,.92) 0%, rgba(13,17,23,.78) 55%, rgba(13,17,23,.60) 100%);
  z-index: 0;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero-inner { max-width: 700px; }
.page-hero-label {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 1.25rem;
}
.page-hero-label::before { content: ''; display: block; width: 20px; height: 1px; background: var(--gold); }
.page-hero h1 {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -.01em;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.page-hero p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255,255,255,.6);
  max-width: 560px;
}

/* ─── FOOTER ──────────────────────────────────────────────────── */
.footer {
  background: var(--slate);
  color: var(--white);
  padding: 4rem 0 0;
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.footer-brand p {
  font-size: .88rem;
  color: rgba(255,255,255,.45);
  line-height: 1.65;
  margin-top: 1rem;
  max-width: 240px;
}
.footer-col h4 {
  font-size: .65rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255,255,255,.35);
  margin-bottom: 1.25rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: .6rem; }
.footer-col a {
  font-size: .85rem;
  color: rgba(255,255,255,.5);
  transition: color var(--transition);
}
.footer-col a:hover { color: rgba(255,255,255,.9); }
.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer-copy {
  font-size: .75rem;
  color: rgba(255,255,255,.28);
}
.footer-credential {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
}
.footer-credential-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); opacity: .6; }
.footer-disclaimer {
  background: rgba(0,0,0,.2);
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255,255,255,.04);
}
.footer-disclaimer p {
  font-size: .72rem;
  color: rgba(255,255,255,.28);
  line-height: 1.6;
  max-width: 860px;
}

/* ─── ACCORDION ───────────────────────────────────────────────── */
.accordion { display: flex; flex-direction: column; gap: 0; }
.accordion-item {
  border-bottom: 1px solid var(--border);
}
.accordion-item:first-child { border-top: 1px solid var(--border); }
.accordion-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 0;
  font-size: .95rem;
  font-weight: 500;
  color: var(--slate);
  text-align: left;
  gap: 1rem;
}
.accordion-btn svg {
  width: 18px; height: 18px;
  flex-shrink: 0;
  color: var(--gold);
  transition: transform var(--transition);
}
.accordion-item.open .accordion-btn svg { transform: rotate(45deg); }
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 320ms ease;
}
.accordion-body-inner {
  padding: 0 0 1.5rem;
  font-size: .92rem;
  color: var(--text-2);
  line-height: 1.72;
}
.accordion-item.open .accordion-body { max-height: 600px; }

/* ─── MISC COMPONENTS ─────────────────────────────────────────── */
.divider { border: none; border-top: 1px solid var(--border); margin: 0; }
.tag {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .25rem .7rem;
  border-radius: 100px;
  font-size: .65rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 500;
}
.tag-gold { background: var(--gold-dim); color: var(--gold); border: 1px solid rgba(184,150,62,.2); }
.tag-slate { background: var(--slate-10); color: var(--slate); border: 1px solid var(--border); }

/* ─── DRAFT WARNING ───────────────────────────────────────────── */
.draft-warning {
  background: rgba(184,150,62,.08);
  border: 1px solid rgba(184,150,62,.2);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  font-size: .85rem;
  color: var(--gold);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: .75rem;
}

/* ─── FORM ────────────────────────────────────────────────────── */
.form-group { display: flex; flex-direction: column; gap: .5rem; }
.form-label {
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--text-3);
}
.form-input, .form-select, .form-textarea {
  background: var(--white);
  border: 1px solid var(--border-md);
  border-radius: var(--radius);
  padding: .75rem 1rem;
  font-size: .92rem;
  font-family: var(--ff-body);
  color: var(--text);
  outline: none;
  transition: border-color var(--transition);
  width: 100%;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--gold);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ─── PROSE SECTION ───────────────────────────────────────────── */
.prose { max-width: 720px; }
.prose h2 {
  font-family: var(--ff-display);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--slate);
  margin: 2.5rem 0 1rem;
  line-height: 1.25;
}
.prose h3 {
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--slate);
  margin: 2rem 0 .75rem;
}
.prose p { font-size: .95rem; color: var(--text-2); line-height: 1.75; margin-bottom: 1.25rem; }
.prose ul { margin: 0 0 1.25rem 1.25rem; }
.prose ul li { font-size: .95rem; color: var(--text-2); line-height: 1.75; margin-bottom: .4rem; list-style: disc; }

/* ─── AVATAR CARDS ────────────────────────────────────────────── */
.avatar-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 3rem; }
.avatar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}
.avatar-card-tag { margin-bottom: 1.5rem; }
.avatar-card h3 {
  font-family: var(--ff-display);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--slate);
  margin-bottom: 1rem;
}
.avatar-card p { font-size: .9rem; color: var(--text-2); line-height: 1.7; }
.avatar-card ul { margin: 1rem 0 0 1.25rem; }
.avatar-card ul li { font-size: .88rem; color: var(--text-2); line-height: 1.65; margin-bottom: .35rem; list-style: disc; }

/* ─── TEAM CARD ───────────────────────────────────────────────── */
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 3rem; }
.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.team-card-photo {
  background: var(--bg-card);
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border);
}
.team-card-photo-placeholder {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-3);
}
.team-card-body { padding: 2rem; }
.team-card-body h3 {
  font-family: var(--ff-display);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--slate);
  margin-bottom: .25rem;
}
.team-card-title {
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 1rem;
}
.team-card-body p { font-size: .88rem; color: var(--text-2); line-height: 1.65; }

/* ─── PORTAL ──────────────────────────────────────────────────── */
.portal-nav {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2.5rem;
}
.portal-nav-item {
  padding: .85rem 1.5rem;
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--text-2);
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: color var(--transition), border-color var(--transition);
}
.portal-nav-item.active { color: var(--slate); border-color: var(--gold); }
.portal-placeholder {
  background: var(--bg-card);
  border: 1px dashed var(--border-md);
  border-radius: var(--radius-lg);
  padding: 4rem 2rem;
  text-align: center;
  color: var(--text-3);
  font-size: .9rem;
}

/* ─── STICKY PROTOCOL CTA ─────────────────────────────────────── */
.sticky-protocol-cta {
  position: sticky;
  top: 90px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.sticky-protocol-cta h3 {
  font-family: var(--ff-display);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--slate);
}
.sticky-protocol-cta p { font-size: .85rem; color: var(--text-2); line-height: 1.6; }
.sticky-protocol-cta .btn { width: 100%; justify-content: center; }

/* ─── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 1200px) {
  .protocol-cards { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 1024px) {
  .protocol-cards { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links, .nav-portal { display: none; }
  .nav-hamburger { display: flex; }
  .nav { padding: 0 1.5rem; }
  .container { padding: 0 1.5rem; }
  section { padding: 4rem 0; }
  .hero { min-height: auto; padding: 5rem 0 4rem; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .problem-grid { grid-template-columns: 1fr; }
  .protocol-cards { grid-template-columns: 1fr 1fr; }
  .how-steps { grid-template-columns: 1fr; }
  .how-steps::before { display: none; }
  .blog-cards { grid-template-columns: 1fr; }
  .avatar-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .authority-grid { gap: 1.5rem; }
}
@media (max-width: 480px) {
  .protocol-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-headline { font-size: 2.2rem; }
}

/* ─── MEGA MENU ───────────────────────────────────────────────── */
.mega-menu {
  position: fixed;
  top: 72px;
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  width: min(960px, 96vw);
  background: var(--slate);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms cubic-bezier(.4,0,.2,1), transform 200ms cubic-bezier(.4,0,.2,1);
  box-shadow: 0 16px 48px rgba(0,0,0,.35);
  z-index: 9999;
}
.mega-menu.open {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .5rem;
}
.mega-cat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .55rem .75rem;
  border-radius: var(--radius);
  background: rgba(255,255,255,.04);
  cursor: pointer;
  user-select: none;
  transition: background 200ms;
  gap: .5rem;
}
.mega-cat-header:hover { background: rgba(255,255,255,.12); border-left: 2px solid var(--gold); }
.add-to-cart-btn, .mega-item-cart, .btn { touch-action: manipulation; }
.mega-item { -webkit-tap-highlight-color: transparent; }
.mega-cat-header.open { background: rgba(184,150,62,.18); border-radius: 4px 4px 0 0; border-left: 2px solid var(--gold); }
.mega-cat-title {
  font-size: .62rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
  line-height: 1.3;
}
.mega-cat-chevron {
  width: 10px; height: 10px;
  flex-shrink: 0;
  color: rgba(255,255,255,.3);
  transition: transform 200ms;
}
.mega-cat-header.open .mega-cat-chevron { transform: rotate(180deg); }
.mega-cat-items {
  max-height: 0;
  overflow: hidden;
  transition: max-height .28s ease;
  background: rgba(255,255,255,.02);
  border-radius: 0 0 4px 4px;
}
.mega-cat-items.open { max-height: 280px; overflow-y: auto; }
.mega-cat-items.open::-webkit-scrollbar { width: 3px; }
.mega-cat-items.open::-webkit-scrollbar-track { background: transparent; }
.mega-cat-items.open::-webkit-scrollbar-thumb { background: rgba(184,150,62,.35); border-radius: 2px; }
.mega-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  padding: .38rem .75rem;
  font-size: .73rem;
  color: rgba(255,255,255,.58);
  transition: color 150ms, background 150ms;
  border-left: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  line-height: 1.4;
}
.mega-add-btn.in-basket { background: linear-gradient(135deg,#2a7a4a,#1e5e38) !important; }
.mega-item:hover {
  color: var(--white);
  background: rgba(255,255,255,.04);
  border-left-color: var(--gold);
}
.mega-item-name { flex: 1; }
.mega-item-price {
  font-size: .68rem;
  color: var(--gold);
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
}
.mega-menu-footer {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,.07);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
}
.mega-footer-link {
  font-size: .65rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  text-decoration: none;
  opacity: .85;
  transition: opacity 150ms;
}
.mega-footer-link:hover { opacity: 1; }

/* ─── NAV RESPONSIVE FIXES ────────────────────────────────────── */

/* Collapse nav earlier — at 1100px the bar starts crowding */
@media (max-width: 1100px) {
  .nav-links { gap: 1.25rem; }
  .nav-links .nav-link { font-size: .68rem; }
  .btn.btn-gold { padding: .65rem 1.2rem; font-size: .68rem; }
}

/* At 960px hide the least critical items */
@media (max-width: 960px) {
  .nav-portal { display: none; }
  .nav-links { gap: 1rem; }
}

/* At 860px collapse to hamburger entirely */
@media (max-width: 860px) {
  .nav-links { display: none !important; }
  .nav-portal { display: none; }
  .nav-hamburger { display: flex; }
  /* hide the desktop CTA — mobile menu has one */
  .nav-right > .btn { display: none; }
}

/* ─── MOBILE NAV — full Products accordion ─────────────────────── */
.nav-mobile-section {
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav-mobile-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  font-size: 1rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  cursor: pointer;
  user-select: none;
}
.nav-mobile-section-header svg {
  width: 14px; height: 14px;
  color: rgba(255,255,255,.4);
  transition: transform 200ms;
  flex-shrink: 0;
}
.nav-mobile-section-header.open svg { transform: rotate(180deg); }
.nav-mobile-section-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.nav-mobile-section-body.open { max-height: 2000px; }
.nav-mobile-cat-title {
  font-size: .62rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  padding: .75rem 0 .35rem .75rem;
}
.nav-mobile-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: .35rem .75rem;
  font-size: .82rem;
  color: rgba(255,255,255,.55);
  text-decoration: none;
  transition: color 150ms;
  gap: .5rem;
}
.nav-mobile-item:hover { color: var(--white); }
.nav-mobile-item-price {
  font-size: .72rem;
  color: var(--gold);
  white-space: nowrap;
  flex-shrink: 0;
}

/* ─── MOBILE BADGE PILLS (desktop: hidden) ───────────────────── */
.hero-badge-stack-mobile { display: none; }

/* ─── ICON RULE — ALL BREAKPOINTS ────────────────────────────── */
/* Applied globally so icons are NEVER faint or transparent       */
.hero-badge-icon,
.protocol-card-icon,
.how-step-num,
.authority-dot {
  background: linear-gradient(135deg, #4A7FA5 0%, #2d6a8f 100%) !important;
  box-shadow: 0 2px 10px rgba(74,127,165,.45) !important;
  color: #fff !important;
}
/* authority-dot is just a circle, no text — keep it small */
.authority-dot {
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
  flex-shrink: 0;
  display: inline-block;
}
/* ─── HERO DISCLAIMER ─────────────────────────────────────────── */
.hero-disclaimer {
  margin-top: 1.5rem;
  font-size: .75rem;
  line-height: 1.65;
  color: rgba(255,255,255,.35);
  max-width: 540px;
}
.hero-disclaimer strong {
  color: rgba(255,255,255,.5);
  font-weight: 500;
}

/* ─── DESKTOP BACKGROUND IMAGES (people/lifestyle) ───────────── */
/* Applied only on desktop to preserve mobile experience          */

@media (min-width: 768px) {

  /* HERO — athletic lifestyle, full-bleed with dark overlay */
  .hero {
    background-image: url('https://images.unsplash.com/photo-1571019614242-c5c5dee9f50b?w=1800&q=80&auto=format&fit=crop');
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
  }
  .hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
      linear-gradient(105deg, rgba(18,28,40,.92) 0%, rgba(18,28,40,.78) 55%, rgba(18,28,40,.55) 100%),
      radial-gradient(ellipse 60% 60% at 80% 50%, rgba(184,150,62,.06) 0%, transparent 70%),
      radial-gradient(ellipse 40% 80% at 10% 80%, rgba(184,150,62,.04) 0%, transparent 60%);
    z-index: 0;
  }
  .hero .container { position: relative; z-index: 1; }

  /* PROBLEM SECTION — clinical/lab feel, very dark overlay */
  .problem {
    background-image: url('https://images.unsplash.com/photo-1576091160399-112ba8d25d1d?w=1800&q=80&auto=format&fit=crop');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
  }
  .problem::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(13, 20, 29, 0.91);
    z-index: 0;
  }
  .problem .container { position: relative; z-index: 1; }
  .problem .display-2 { color: var(--white); }
  .problem .label { color: var(--gold); }
  .problem-card { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); }
  .problem-card h3 { color: #ffffff; font-size: 1rem; }
  .problem-card p { color: rgba(255,255,255,.88); font-size: .88rem; line-height: 1.75; }

  /* HOW IT WORKS — clean wellness/lifestyle person */
  .how {
    background-image: url('https://images.unsplash.com/photo-1544367567-0f2fcb009e0b?w=1800&q=80&auto=format&fit=crop');
    background-size: cover;
    background-position: center 40%;
    background-repeat: no-repeat;
    position: relative;
  }
  .how::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(13, 20, 29, 0.89);
    z-index: 0;
  }
  .how .container { position: relative; z-index: 1; }
  .how .display-2 { color: var(--white); }
  .how .label { color: var(--gold); }
  .how .how-step h3 { color: var(--white); }
  .how .how-step p { color: rgba(255,255,255,.65); }
  .how .how-step-num { color: #ffffff; box-shadow: 0 3px 14px rgba(74,127,165,.5); }

  /* CTA BANNER — confident/active person, strong dark overlay */
  .cta-banner {
    background-image: url('https://images.unsplash.com/photo-1517836357463-d25dfeac3438?w=1800&q=80&auto=format&fit=crop');
    background-size: cover;
    background-position: center 25%;
    background-repeat: no-repeat;
    position: relative;
  }
  .cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(13, 20, 29, 0.85);
    z-index: 0;
  }
  .cta-banner .container { position: relative; z-index: 1; }

}
/* ─── END DESKTOP BACKGROUND IMAGES ──────────────────────────── */

/* ═══════════════════════════════════════════════════════════════
   MOBILE — Full Visual Treatment (max-width: 767px)
   Photos, glass-morphism, bright gradient icons, dramatic impact
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 767px) {

  /* ── GLOBAL MOBILE RESETS ──────────────────────────────────── */
  section { padding: 3.5rem 0; }
  .container { padding: 0 1.25rem; }
  .display-2 { font-size: clamp(1.65rem, 6.5vw, 2.2rem); color: var(--slate); }

  /* ── HERO — full-bleed photo, huge headline, dramatic ──────── */
  .hero {
    background-image: url('https://images.unsplash.com/photo-1571019614242-c5c5dee9f50b?w=900&q=85&auto=format&fit=crop');
    background-size: cover;
    background-position: center 25%;
    background-repeat: no-repeat;
    min-height: 92vh;
    padding: 6rem 0 4rem;
    display: flex;
    align-items: center;
  }
  .hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(170deg,
      rgba(8,13,20,.96) 0%,
      rgba(10,16,26,.88) 45%,
      rgba(10,16,26,.72) 100%);
    z-index: 0;
  }
  .hero .container { position: relative; z-index: 1; }
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-visual { display: none; }

  /* Eyebrow label */
  .hero-eyebrow { margin-bottom: 1.25rem; }
  .hero-eyebrow-text {
    font-size: .7rem;
    letter-spacing: .18em;
    color: var(--gold);
  }

  /* HUGE bold headline */
  .hero-headline {
    font-size: clamp(2rem, 8.5vw, 2.8rem);
    line-height: 1.08;
    letter-spacing: -.025em;
    margin-bottom: 1.1rem;
    font-weight: 400;
    color: #fff;
  }
  .hero-headline em { color: var(--gold); font-style: italic; }

  /* Sub-text */
  .hero-sub {
    font-size: .88rem;
    line-height: 1.68;
    color: rgba(255,255,255,.65);
    margin-bottom: 1.75rem;
    max-width: 100%;
  }

  /* CTA buttons — full-width stacked */
  .hero-actions {
    flex-direction: column;
    gap: .75rem;
    margin-bottom: 0;
  }
  .hero-actions .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 1rem 1.5rem;
    font-size: .8rem;
    letter-spacing: .1em;
  }

  /* ── TRUST BADGE PILLS — below buttons ─────────────────────── */
  .hero-badge-stack-mobile {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: 1.5rem;
  }
  .hero-badge-mobile {
    display: flex;
    align-items: center;
    gap: .45rem;
    background: rgba(255,255,255,.09);
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 2rem;
    padding: .42rem .9rem;
    font-size: .68rem;
    color: rgba(255,255,255,.9);
    font-weight: 500;
    letter-spacing: .03em;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }
  .hero-badge-mobile-icon {
    width: 20px; height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4A7FA5 0%, #2d6a8f 100%) !important;
    box-shadow: 0 2px 8px rgba(74,127,165,.6) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff !important;
  }
  .hero-badge-mobile-icon svg { width: 10px; height: 10px; }

  /* ── AUTHORITY STRIP ───────────────────────────────────────── */
  .authority { padding: 1rem 0; }
  .authority-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .6rem 1rem;
    justify-items: start;
  }
  .authority-item { font-size: .72rem; }

  /* ── PROBLEM SECTION — dark photo + glass cards ─────────────── */
  .problem {
    background-image: url('https://images.unsplash.com/photo-1576091160399-112ba8d25d1d?w=900&q=85&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
  }
  .problem::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(8,13,22,.93);
    z-index: 0;
  }
  .problem .container { position: relative; z-index: 1; }
  .problem h2,
  .problem .display-2 { color: #fff !important; }
  .problem .label { color: var(--gold) !important; }

  /* Glass-morphism cards */
  .problem-grid { grid-template-columns: 1fr; gap: 1rem; }
  .problem-card {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.13);
    border-radius: var(--radius-lg);
    padding: 1.6rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
  /* Bright blue gradient number badge */
  .problem-card-num {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4A7FA5 0%, #2d6a8f 100%);
    box-shadow: 0 3px 12px rgba(74,127,165,.55);
    color: #fff;
    font-size: .9rem;
    font-family: var(--ff-display);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    opacity: 1;
  }
  .problem-card h3 { color: #fff; }
  .problem-card p { color: rgba(255,255,255,.7); }

  /* ── PROTOCOL CATEGORY CARDS — 2-col photo grid ─────────────── */
  .protocols-section { padding: 3rem 0; }
  .protocols-section h2,
  .protocols-section .display-2 { color: var(--slate) !important; }
  .protocol-cards {
    grid-template-columns: 1fr 1fr;
    gap: .85rem;
    margin-top: 2rem;
  }
  .protocol-card-photo {
    min-height: 210px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: none;
  }
  /* Dark gradient overlay for readability */
  .protocol-card-photo .protocol-card-overlay {
    background: linear-gradient(
      180deg,
      rgba(8,13,22,.2) 0%,
      rgba(8,13,22,.65) 50%,
      rgba(8,13,22,.95) 100%
    );
  }
  .protocol-card-photo:hover .protocol-card-overlay {
    background: linear-gradient(
      180deg,
      rgba(8,13,22,.3) 0%,
      rgba(8,13,22,.75) 50%,
      rgba(8,13,22,.97) 100%
    );
  }
  .protocol-card-photo .protocol-card-body { padding: 1rem; gap: .45rem; }
  /* Emoji icon top-left */
  .protocol-card-photo .protocol-card-emoji {
    font-size: 1.75rem;
    line-height: 1;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,.5));
  }
  .protocol-card-photo h3 {
    font-size: .78rem;
    letter-spacing: .07em;
    color: #fff;
    font-weight: 700;
  }
  .protocol-card-photo p {
    font-size: .7rem;
    line-height: 1.5;
    color: rgba(255,255,255,.78);
  }
  .protocol-card-photo .protocol-card-cta {
    font-size: .65rem;
    color: var(--gold);
    font-weight: 600;
    letter-spacing: .08em;
  }

  /* ── HOW IT WORKS — dark photo, glass step cards ──────────────── */
  .how {
    background-image: url('https://images.unsplash.com/photo-1544367567-0f2fcb009e0b?w=900&q=85&auto=format&fit=crop');
    background-size: cover;
    background-position: center 35%;
    background-repeat: no-repeat;
    position: relative;
  }
  .how::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(8,13,22,.91);
    z-index: 0;
  }
  .how .container { position: relative; z-index: 1; }
  .how h2,
  .how .display-2 { color: #fff !important; }
  .how .label { color: var(--gold) !important; }

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

  /* Each step = glass card, number circle LEFT, text RIGHT (flex row) */
  .how-step {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1.4rem;
    text-align: left;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 1.25rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
  /* Blue gradient number circle on the LEFT */
  .how-step-num {
    width: 48px; height: 48px;
    min-width: 48px;
    font-size: 1.1rem;
    margin: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #4A7FA5 0%, #2d6a8f 100%) !important;
    box-shadow: 0 3px 12px rgba(74,127,165,.55) !important;
    color: #fff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-family: var(--ff-display);
    font-weight: 700;
  }
  /* Text content on the RIGHT */
  .how-step-content { flex: 1; }
  .how .how-step h3 {
    color: #fff;
    font-size: .92rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: .4rem;
    text-align: left;
  }
  .how .how-step p {
    color: rgba(255,255,255,.65);
    font-size: .82rem;
    line-height: 1.6;
    text-align: left;
    max-width: none;
    margin: 0;
  }

  /* ── BLOG SECTION — photo cards ────────────────────────────── */
  .blog-section { background: var(--bg-card); }
  .blog-cards { grid-template-columns: 1fr; gap: 1rem; }
  .blog-card {
    min-height: 240px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0;
    border: none;
    /* inline style in HTML provides background-image */
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
  }
  /* Dark gradient overlay over the photo */
  .blog-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
      180deg,
      rgba(8,13,22,.08) 0%,
      rgba(8,13,22,.7) 50%,
      rgba(8,13,22,.96) 100%
    );
    z-index: 1;
  }
  /* All children above the overlay */
  .blog-card > * { position: relative; z-index: 2; }

  /* Meta row */
  .blog-card-meta {
    padding: 0 1.25rem;
    margin-bottom: .3rem;
  }
  .blog-card-meta span { color: rgba(255,255,255,.65); font-size: .68rem; }
  .blog-card-meta-dot { background: rgba(255,255,255,.35); }

  /* White title */
  .blog-card h3 {
    color: #fff;
    font-size: .95rem;
    line-height: 1.35;
    padding: 0 1.25rem;
    margin-bottom: .5rem;
  }

  /* Hide body text on mobile to keep it clean */
  .blog-card p {
    display: none;
  }

  /* Gold CTA */
  .blog-card-cta {
    color: var(--gold);
    padding: 0 1.25rem 1.25rem;
    font-size: .72rem;
    letter-spacing: .1em;
    display: block;
    font-weight: 600;
  }

  /* ── CTA BANNER — full-bleed photo, stacked buttons ─────────── */
  .cta-banner {
    background-image: url('https://images.unsplash.com/photo-1517836357463-d25dfeac3438?w=900&q=85&auto=format&fit=crop');
    background-size: cover;
    background-position: center 20%;
    background-repeat: no-repeat;
    position: relative;
    padding: 4.5rem 0;
  }
  .cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(8,13,22,.88);
    z-index: 0;
  }
  .cta-banner .container { position: relative; z-index: 1; }
  .cta-banner-inner h2 { color: #fff; }
  .cta-banner-actions {
    flex-direction: column;
    gap: .75rem;
    align-items: stretch;
  }
  .cta-banner-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 1rem 1.5rem;
  }

}

/* ── EXTRA SMALL (max 480px) ──────────────────────────────────── */
@media (max-width: 480px) {
  .protocol-cards { grid-template-columns: 1fr 1fr; gap: .7rem; }
  .protocol-card-photo { min-height: 195px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-headline { font-size: clamp(1.85rem, 8vw, 2.4rem); }
  .blog-card { min-height: 220px; }
}

/* ═══════════════════════════════════════════════════════════════
   END MOBILE VISUAL TREATMENT
   ═══════════════════════════════════════════════════════════════ */

/* ── PROTOCOL PAGE MOBILE FIXES ───────────────────────────────── */
@media (max-width: 900px) {
  /* Show mobile CTA block */
  .mobile-cta-block { display: block !important; }

  /* Sticky sidebar becomes static, full-width at bottom */
  .sticky-protocol-cta {
    position: static !important;
    width: 100% !important;
    margin-top: 2rem;
  }

  /* Protocol layout single column */
  .protocol-layout { grid-template-columns: 1fr !important; }

  /* Make Add to Basket button big and gold on mobile */
  .mobile-cta-block .btn,
  .mobile-cta-block a {
    width: 100% !important;
    justify-content: center !important;
    display: flex !important;
    font-size: 1rem !important;
    padding: 1rem 1.5rem !important;
  }
}
/* ── END PROTOCOL PAGE MOBILE FIXES ───────────────────────────── */

/* ═══════════════════════════════════════════════════════════════
   PRODUCT SELECTOR — Protocol pages
   ═══════════════════════════════════════════════════════════════ */
.product-selector-section {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 4rem 0;
}
.product-selector-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  align-items: start;
  margin-top: 2rem;
}
.product-variants-list {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.product-variant-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
  background: var(--white);
  gap: 1rem;
}
.product-variant-row:hover {
  border-color: var(--gold);
  box-shadow: 0 2px 12px rgba(74,127,165,.1);
}
.product-variant-row:has(input:checked) {
  border-color: #4A7FA5;
  background: rgba(74,127,165,.05);
  box-shadow: 0 2px 16px rgba(74,127,165,.15);
}
.product-variant-left {
  display: flex;
  align-items: center;
  gap: .85rem;
  flex: 1;
}
.product-variant-row input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: #4A7FA5;
  cursor: pointer;
  flex-shrink: 0;
}
.product-variant-info {
  display: flex;
  flex-direction: column;
  gap: .2rem;
}
.product-variant-name {
  font-size: .88rem;
  font-weight: 600;
  color: var(--slate);
  line-height: 1.3;
}
.product-variant-meta {
  font-size: .75rem;
  color: var(--text-2);
  letter-spacing: .03em;
}
.product-variant-price {
  font-size: 1rem;
  font-weight: 700;
  color: #4A7FA5;
  white-space: nowrap;
}

/* Sticky CTA panel */
.product-selector-cta {
  position: sticky;
  top: 100px;
  background: var(--slate);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid rgba(255,255,255,.08);
}
.product-selected-display {
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding-bottom: 1.25rem;
  margin-bottom: 0;
}
.product-selected-name {
  font-size: .9rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.35;
  margin-bottom: .35rem;
}
.product-selected-meta {
  font-size: .75rem;
  color: rgba(255,255,255,.55);
  margin-bottom: .75rem;
}
.product-selected-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  font-family: var(--ff-display);
}

/* Mobile */
@media (max-width: 860px) {
  .product-selector-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .product-selector-cta {
    position: static;
  }
}
/* ═══════════════════════════════════════════════════════════════
   END PRODUCT SELECTOR
   ═══════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════
   FIND YOUR PROTOCOL — Goal Selector
   ═══════════════════════════════════════════════════════════════ */
.goal-selector-section {
  background: var(--bg);
  padding: 5rem 0;
}
.goal-selector-section .display-2 { color: var(--slate); margin-bottom: .75rem; }
.goal-selector-section .label { margin-bottom: .75rem; }
.goal-selector-sub {
  font-size: .95rem;
  color: var(--text-2);
  margin-bottom: 2.5rem;
  max-width: 520px;
}
.goal-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.goal-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 320px;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-decoration: none;
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.goal-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0,0,0,.25);
}
.goal-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,17,23,.2) 0%, rgba(13,17,23,.65) 50%, rgba(13,17,23,.92) 100%);
  transition: background 200ms ease;
  z-index: 0;
  pointer-events: none;
}
.goal-card:hover .goal-card-overlay {
  background: linear-gradient(180deg, rgba(13,17,23,.3) 0%, rgba(13,17,23,.72) 50%, rgba(13,17,23,.95) 100%);
}
.goal-card-body {
  position: relative;
  z-index: 1;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.goal-card-emoji {
  font-size: 1.8rem;
  line-height: 1;
  margin-bottom: .25rem;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.4));
}
.goal-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: .02em;
  margin: 0;
}
.goal-card p {
  font-size: .78rem;
  color: rgba(255,255,255,.65);
  margin: 0;
}
.goal-card-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: .5rem;
}
.goal-card-pills span {
  font-size: .63rem;
  font-weight: 600;
  letter-spacing: .05em;
  color: rgba(255,255,255,.92);
  background: rgba(74,127,165,.45);
  border: 1px solid rgba(74,127,165,.6);
  border-radius: 2rem;
  padding: .2rem .55rem;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Mobile */
@media (max-width: 767px) {
  .goal-cards { grid-template-columns: 1fr 1fr; gap: .85rem; }
  .goal-card { min-height: 220px; }
  .goal-card-body { padding: 1.1rem; }
  .goal-card h3 { font-size: .88rem; }
}
@media (max-width: 480px) {
  .goal-cards { grid-template-columns: 1fr 1fr; }
  .goal-card { min-height: 200px; }
}
/* ═══════════════════════════════════════════════════════════════
   END GOAL SELECTOR
   ═══════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════
   GOAL SELECTOR — Tabbed Interactive Panel
   ═══════════════════════════════════════════════════════════════ */
.goal-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.25rem;
}
.goal-tab {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: 2rem;
  padding: .55rem 1.1rem;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .03em;
  color: var(--text-2);
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: .35rem;
}
.goal-tab:hover { border-color: #4A7FA5; color: #4A7FA5; }
.goal-tab.active {
  background: linear-gradient(135deg, #4A7FA5 0%, #2d6a8f 100%);
  border-color: #4A7FA5;
  color: #fff;
  box-shadow: 0 3px 12px rgba(74,127,165,.35);
}
/* Make emojis in tabs bigger and vibrant */
.goal-tab span.tab-emoji,
.goal-tab:first-child::before { font-size: 1.1rem; }
.goal-tabs .goal-tab { font-size: .8rem; }
/* Pop the emoji inside each tab */
.goal-tab { filter: none; }
.goal-tab:not(.active) { opacity: .85; }
.goal-tab:not(.active):hover { opacity: 1; }
.goal-panel-wrap { position: relative; }
.goal-panel {
  display: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  position: relative;
  min-height: 480px;
}
.goal-panel.active { display: block; }
.goal-panel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(13,17,23,.97) 0%, rgba(13,17,23,.88) 50%, rgba(13,17,23,.65) 100%);
  z-index: 0;
}
.goal-panel-inner {
  position: relative;
  z-index: 1;
  padding: 2rem 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.goal-panel-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.goal-panel-emoji { font-size: 2.2rem; line-height: 1; }
.goal-panel-title { font-size: 1.15rem; font-weight: 700; color: #fff; margin-bottom: .2rem; }
.goal-panel-sub { font-size: .8rem; color: rgba(255,255,255,.6); }
.goal-product-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .4rem;
  max-height: 340px;
  overflow-y: auto;
  padding-right: .25rem;
}
.goal-product-list::-webkit-scrollbar { width: 4px; }
.goal-product-list::-webkit-scrollbar-track { background: rgba(255,255,255,.05); }
.goal-product-list::-webkit-scrollbar-thumb { background: rgba(74,127,165,.5); border-radius: 2px; }
.goal-product-row {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .6rem .85rem;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
}
.goal-product-row:hover { background: rgba(74,127,165,.15); border-color: rgba(74,127,165,.35); }
.goal-product-row:has(input:checked) { background: rgba(74,127,165,.2); border-color: #4A7FA5; }
.goal-product-row input[type="checkbox"] { accent-color: #4A7FA5; width: 15px; height: 15px; flex-shrink: 0; cursor: pointer; }
.goal-product-info { flex: 1; min-width: 0; }
.goal-product-name { font-size: .82rem; color: rgba(255,255,255,.88); font-weight: 500; line-height: 1.35; display: block; white-space: normal; word-break: break-word; }
.goal-product-price { font-size: .82rem; font-weight: 700; color: var(--gold); white-space: nowrap; }
.goal-add-btn {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: #fff;
  background: linear-gradient(135deg, #4A7FA5 0%, #2d6a8f 100%);
  border: none;
  border-radius: 2rem;
  padding: .25rem .6rem;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity var(--transition);
}
.goal-add-btn:hover { opacity: .85; }
.goal-panel-footer {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: .75rem;
  border-top: 1px solid rgba(255,255,255,.08);
}
.goal-panel-footer p { font-size: .72rem; color: rgba(255,255,255,.45); }

/* Mobile */
@media (max-width: 767px) {
  .goal-tabs { gap: .4rem; }
  .goal-tab { font-size: .7rem; padding: .45rem .85rem; }
  .goal-product-list { grid-template-columns: 1fr; max-height: 340px; }
  .goal-product-name { font-size: .88rem; line-height: 1.4; }
  .goal-product-price { font-size: .88rem; }
  .goal-product-row { flex-wrap: wrap; gap: .45rem; padding: .7rem .85rem; }
  .goal-product-info { flex: 1 1 100%; min-width: 0; }
  .goal-add-btn { font-size: .72rem; padding: .3rem .75rem; align-self: flex-end; margin-left: auto; }
  .goal-panel-inner { padding: 1.25rem; }
  .goal-panel { min-height: 420px; }
  .goal-panel-footer { flex-direction: column; align-items: flex-start; gap: .75rem; }
  .goal-panel-footer .btn { width: 100%; justify-content: center; }
}
/* ═══════════════════════════════════════════════════════════════
   END GOAL SELECTOR
   ═══════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════
   GOAL SELECTOR — Cards + Expandable Drawer
   ═══════════════════════════════════════════════════════════════ */
.goal-card { cursor: pointer; user-select: none; }
.goal-card, .goal-card * { pointer-events: none; }
.goal-cards .goal-card { pointer-events: all; }
/* Protocol page cards — same click behavior */
.protocol-card[data-proto] { cursor: pointer; user-select: none; }
.protocol-card[data-proto], .protocol-card[data-proto] * { pointer-events: none; }
.protocol-card[data-proto] { pointer-events: all; }
.protocol-card[data-proto].active { box-shadow: 0 0 0 3px #4A7FA5, 0 8px 30px rgba(74,127,165,.3); transform: translateY(-4px); }

/* ── Protocol card spec line (mg/ml · vial · price) ─────────── */
.proto-card-spec {
  font-size: .72rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .04em;
  margin-top: .1rem;
  opacity: .95;
}
@media (max-width: 767px) {
  .proto-card-spec { font-size: .68rem; }
}

/* ── Proto card Add to Basket button ─────────────────────────── */
.proto-card-add-btn {
  pointer-events: all;
  display: block;
  width: 100%;
  padding: .55rem 1rem;
  background: linear-gradient(135deg,#4A7FA5,#2d6a8f);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(74,127,165,.5);
  transition: background .2s, transform .1s;
  text-align: center;
  margin-top: auto;
}
.proto-card-add-btn:hover { background: linear-gradient(135deg,#2d6a8f,#1e5070); transform: translateY(-1px); }
.proto-card-add-btn.in-basket { background: linear-gradient(135deg,#2a7a4a,#1e5e38) !important; }
@media (max-width: 767px) {
  .proto-card-add-btn { font-size: .72rem; padding: .5rem .8rem; }
}
.goal-card.active { box-shadow: 0 0 0 3px #4A7FA5, 0 8px 30px rgba(74,127,165,.3); transform: translateY(-4px); }
.goal-card.active .goal-card-overlay { background: linear-gradient(180deg, rgba(13,17,23,.35) 0%, rgba(13,17,23,.72) 50%, rgba(13,17,23,.95) 100%); }

/* Drawer */
.goal-product-drawer {
  background: var(--slate);
  border-radius: var(--radius-lg);
  margin-top: 1.5rem;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  animation: drawerIn .25s ease;
}
@keyframes drawerIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.goal-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
}
.goal-drawer-title-wrap { display: flex; align-items: center; gap: 1rem; }
.goal-drawer-emoji { font-size: 2rem; }
.goal-drawer-title { font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: .2rem; }
.goal-drawer-sub { font-size: .8rem; color: rgba(255,255,255,.5); }
.goal-drawer-close {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.7);
  border-radius: 2rem;
  padding: .4rem 1rem;
  font-size: .75rem;
  cursor: pointer;
  transition: all var(--transition);
}
.goal-drawer-close:hover { background: rgba(255,255,255,.15); color: #fff; }

/* Product rows */
.goal-drawer-list {
  padding: 1rem 2rem;
  max-height: 460px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.goal-drawer-list::-webkit-scrollbar { width: 4px; }
.goal-drawer-list::-webkit-scrollbar-thumb { background: rgba(74,127,165,.5); border-radius: 2px; }

.drawer-row {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .85rem 1.25rem;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.drawer-row:hover { background: rgba(74,127,165,.12); border-color: rgba(74,127,165,.3); }
.drawer-row:has(input:checked) { background: rgba(74,127,165,.18); border-color: #4A7FA5; }
.drawer-row input[type="radio"] {
  width: 18px; height: 18px;
  accent-color: #4A7FA5;
  cursor: pointer;
  flex-shrink: 0;
}
/* Label wraps name+cat+price, fills remaining space */
.drawer-row-label {
  flex: 1;
  display: flex;
  align-items: center;
  gap: .75rem;
  cursor: pointer;
  min-width: 0;
}
.drawer-row-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  width: 2rem;
  text-align: center;
  filter: drop-shadow(0 1px 4px rgba(0,0,0,.4));
}
.drawer-row-info { flex: 1; min-width: 0; }
.drawer-row-name { display: block; font-size: .85rem; font-weight: 600; color: #fff; line-height: 1.3; }
.drawer-row-cat { display: block; font-size: .72rem; color: rgba(255,255,255,.4); margin-top: .15rem; }
.drawer-row-price { font-size: 1rem; font-weight: 700; color: var(--gold); white-space: nowrap; min-width: 64px; text-align: right; }
.drawer-add-btn {
  background: linear-gradient(135deg, #4A7FA5 0%, #2d6a8f 100%);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: .5rem 1.1rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .04em;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(74,127,165,.35);
  transition: all var(--transition);
}
.drawer-add-btn:hover { opacity: .85; }
.drawer-add-btn.in-basket {
  background: linear-gradient(135deg, #2a7a4a 0%, #1e5e38 100%);
  box-shadow: 0 2px 8px rgba(42,122,74,.35);
  cursor: default;
}

/* ── BASKET PANEL ─────────────────────────────────────────── */
.basket-panel {
  background: linear-gradient(135deg, rgba(26,42,58,.97) 0%, rgba(20,34,48,.97) 100%);
  border: 1.5px solid rgba(74,127,165,.4);
  border-radius: 1rem;
  margin-top: 1.5rem;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,.5);
}
.basket-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(74,127,165,.12);
}
.basket-title { font-size: 1rem; font-weight: 700; color: #fff; }
.basket-clear {
  background: none;
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.5);
  border-radius: 2rem;
  padding: .3rem .85rem;
  font-size: .72rem;
  cursor: pointer;
  transition: all var(--transition);
}
.basket-clear:hover { border-color: #e05555; color: #e05555; }
.basket-items { padding: .75rem 1.5rem; display: flex; flex-direction: column; gap: .5rem; max-height: 260px; overflow-y: auto; }
.basket-items::-webkit-scrollbar { width: 4px; }
.basket-items::-webkit-scrollbar-thumb { background: rgba(74,127,165,.4); border-radius: 2px; }
.basket-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .6rem 1rem;
  background: rgba(255,255,255,.05);
  border-radius: .5rem;
  border: 1px solid rgba(255,255,255,.07);
}
.basket-item-info { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.basket-item-name { font-size: .82rem; font-weight: 600; color: #fff; line-height: 1.3; }
.basket-item-price { font-size: .9rem; font-weight: 700; color: var(--gold); white-space: nowrap; }
.basket-item-remove {
  background: none;
  border: none;
  color: rgba(255,255,255,.3);
  font-size: .9rem;
  cursor: pointer;
  padding: .2rem .4rem;
  border-radius: .3rem;
  transition: color var(--transition);
  flex-shrink: 0;
}
.basket-item-remove:hover { color: #e05555; }
.basket-footer { padding: 1rem 1.5rem; border-top: 1px solid rgba(255,255,255,.08); }
.basket-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .9rem;
  color: rgba(255,255,255,.6);
  font-weight: 600;
}
.basket-total { font-size: 1.3rem; font-weight: 800; color: var(--gold); }
.basket-disclaimer { font-size: .68rem; color: rgba(255,255,255,.3); margin-top: .75rem; line-height: 1.5; }

/* Mobile basket */
@media (max-width: 767px) {
  .basket-items { max-height: 200px; padding: .5rem 1rem; }
  .basket-item-info { flex-direction: column; align-items: flex-start; gap: .25rem; }
  .basket-footer { padding: .75rem 1rem; }
}

.goal-drawer-footer {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem 2rem;
  border-top: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.02);
}
.goal-drawer-footer span { font-size: .72rem; color: rgba(255,255,255,.4); }

/* Mobile */
@media (max-width: 767px) {
  .goal-drawer-list { padding: .75rem 1rem; max-height: 360px; }
  .goal-drawer-header { padding: 1rem 1.25rem; flex-wrap: wrap; gap: .75rem; }
  .drawer-row { padding: .75rem 1rem; gap: .5rem; flex-wrap: wrap; }
  .drawer-row-cat { display: none; }
  .drawer-row-label { flex-wrap: wrap; gap: .4rem; }
  .drawer-row-icon { display: none; }
  .drawer-row-info { flex: 1 1 100%; min-width: 0; }
  .drawer-row-name { font-size: .88rem; line-height: 1.4; white-space: normal; word-break: break-word; }
  .drawer-row-price { font-size: .9rem; min-width: auto; margin-left: 0; }
  .drawer-add-btn { padding: .4rem .75rem; font-size: .72rem; margin-left: auto; }
  .goal-drawer-footer { flex-direction: column; align-items: flex-start; padding: 1rem 1.25rem; }
  .goal-drawer-footer .btn { width: 100%; justify-content: center; }
}
/* ═══════════════════════════════════════════════════════════════
   END GOAL SELECTOR DRAWER
   ═══════════════════════════════════════════════════════════════ */

/* ── GOAL CARD EMOJI — bright + bold ─────────────────────────── */
.goal-card-emoji {
  font-size: 2.4rem !important;
  line-height: 1;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.5)) saturate(1.3) brightness(1.15);
  margin-bottom: .35rem;
}
/* Protocol category cards — emoji pop */
.protocol-card-photo .protocol-card-emoji {
  font-size: 2.4rem !important;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.5)) saturate(1.3) brightness(1.15);
}

/* ── HAMBURGER FIX — force visible on mobile ── */
@media (max-width: 860px) {
  .nav-hamburger { display: flex !important; }
  .nav-right > .btn { display: none !important; }
  .nav-right > .nav-portal { display: none !important; }
}

/* ── All Products badge — size + color ── */
.all-products-badge {
  background: #e53e3e !important;
  color: #fff !important;
}
@media (max-width: 860px) {
  .all-products-badge {
    font-size: .6rem !important;
    padding: .15rem .45rem !important;
    letter-spacing: .02em !important;
  }
}

/* ── All Products sub-nav bar ── */
.nav-sub-bar {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--slate);
  border-bottom: 1px solid rgba(255,255,255,.07);
  text-align: center;
  padding: .35rem 1rem;
}
.nav-sub-bar .all-products-badge {
  display: inline-block;
  background: #e53e3e !important;
  color: #fff !important;
  font-weight: 700;
  padding: .22rem .85rem;
  border-radius: 999px;
  font-size: .75rem;
  letter-spacing: .06em;
  text-decoration: none;
  text-transform: uppercase;
  transition: opacity .15s;
}
.nav-sub-bar .all-products-badge:hover { opacity: .85; }
@media (max-width: 860px) {
  .nav-sub-bar { padding: .28rem 1rem; }
  .nav-sub-bar .all-products-badge { font-size: .65rem; padding: .18rem .65rem; }
}

/* ── Consult intake grid — stack on mobile ── */
@media (max-width: 768px) {
  .consult-intake-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
}
