/* ============================================================
   glp1medications.org — TrimRx-style Design System
   ============================================================ */

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

:root {
  /* Palette — warm cream, deep navy, amber gold */
  --cream:       #f4ede3;
  --cream-dark:  #ede4d8;
  --navy:        #1c2d4a;
  --navy-dark:   #0f1e33;
  --navy-mid:    #263d5c;
  --gold:        #d4a84b;
  --gold-hover:  #c49438;
  --gold-light:  #f5e6c5;
  --teal:        #5bb5b0;
  --teal-light:  #e0f4f3;
  --white:       #ffffff;
  --off-white:   #fdfaf6;
  --gray-100:    #f0ece6;
  --gray-200:    #e0d9d0;
  --gray-400:    #9e9488;
  --gray-600:    #5a5248;
  --gray-800:    #2e2820;
  --green:       #3aaa6a;
  --red:         #e05252;

  /* Type */
  --font-sans:   'Inter', system-ui, -apple-system, sans-serif;
  --font-serif:  'Playfair Display', Georgia, 'Times New Roman', serif;

  /* Layout */
  --max-w:       1160px;
  --radius-sm:   8px;
  --radius:      14px;
  --radius-lg:   24px;
  --radius-xl:   40px;
  --section-y:   96px;

  --shadow-sm:   0 2px 8px rgba(28,45,74,.08);
  --shadow:      0 6px 24px rgba(28,45,74,.12);
  --shadow-lg:   0 16px 56px rgba(28,45,74,.16);
  --shadow-gold: 0 8px 32px rgba(212,168,75,.4);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--navy);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--gold); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-sans);
  font-weight: 800;
  line-height: 1.18;
  color: var(--navy);
}

.serif-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 700;
}

h1 { font-size: clamp(2.25rem, 4.5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-size: 1.3rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; }

p { color: var(--gray-600); line-height: 1.75; margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 24px;
}

section { padding-block: var(--section-y); }

.section-label {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .875rem;
}

.section-header {
  max-width: 640px;
  margin-bottom: 3rem;
}

.section-header p { font-size: 1.05rem; margin-top: .5rem; }

.text-center { text-align: center; }
.text-center.section-header { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .9rem 2rem;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s ease;
  border: 2px solid transparent;
  white-space: nowrap;
  text-decoration: none;
  letter-spacing: -.01em;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }

.btn-gold {
  background: var(--gold);
  color: var(--navy-dark);
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover { background: var(--gold-hover); box-shadow: 0 10px 40px rgba(212,168,75,.5); color: var(--navy-dark); }

.btn-navy {
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow);
}
.btn-navy:hover { background: var(--navy-dark); color: var(--white); }

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

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.4);
}
.btn-outline-white:hover { background: rgba(255,255,255,.1); color: var(--white); }

.btn-white {
  background: var(--white);
  color: var(--navy);
  box-shadow: var(--shadow);
}
.btn-white:hover { background: var(--off-white); color: var(--navy); }

.btn-sm  { padding: .65rem 1.5rem; font-size: .875rem; }
.btn-lg  { padding: 1.1rem 2.75rem; font-size: 1.1rem; }
.btn-xl  { padding: 1.25rem 3rem;   font-size: 1.15rem; }

.btn svg { flex-shrink: 0; }

/* ---------- Nav ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(244,237,227,.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--cream-dark);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 1.5rem;
}

.nav-logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -.03em;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo em {
  font-style: normal;
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--navy);
  opacity: .75;
  transition: opacity .15s, color .15s;
}
.nav-links a:hover { opacity: 1; color: var(--navy); }

.nav-right { display: flex; align-items: center; gap: 1rem; }

.nav-login {
  font-size: .9rem;
  font-weight: 600;
  color: var(--navy);
  opacity: .7;
}
.nav-login:hover { opacity: 1; }

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .25s;
}

/* ---------- HERO ---------- */
.hero {
  background: var(--cream);
  min-height: calc(100svh - 72px); /* 72px = nav height */
  display: flex;
  align-items: center;
  padding-block: 48px;
  position: relative;
  /* No overflow:hidden here — lets floating pills and phone mockup breathe */
}

.hero::before {
  content: '';
  position: absolute;
  right: 0; top: 0;
  width: 55%;
  height: 100%;
  background: radial-gradient(ellipse at 70% 40%, rgba(212,168,75,.08) 0%, transparent 70%);
  pointer-events: none;
  /* Clip the decorative blob only */
  clip-path: inset(0);
}

.hero > .container {
  width: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  /* Let the grid stretch to fill the hero height */
  min-height: calc(100svh - 72px - 96px);
}

/* Social proof mini bar */
.hero-social-proof {
  display: flex;
  align-items: center;
  gap: .875rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.avatar-stack {
  display: flex;
}

.avatar-stack img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--cream);
  object-fit: cover;
  margin-left: -10px;
}
.avatar-stack img:first-child { margin-left: 0; }

.stars-inline {
  display: flex;
  gap: 2px;
}

.stars-inline span {
  font-size: 1rem;
  color: var(--gold);
}

.social-proof-text {
  font-size: .85rem;
  color: var(--gray-600);
  font-weight: 500;
}

.social-proof-text strong {
  color: var(--navy);
}

/* Sub-headline */
.hero-sub {
  font-size: .9rem;
  font-weight: 500;
  color: var(--gray-600);
  letter-spacing: .02em;
  margin-bottom: .5rem;
}

/* H1 with italic serif mix */
.hero h1 {
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

.hero h1 .line-serif {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 700;
  font-size: 1.05em;
}

.hero-lead {
  font-size: 1.05rem;
  color: var(--gray-600);
  margin-bottom: 2rem;
  max-width: 480px;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

/* Trust badges */
.trust-badges {
  display: flex;
  align-items: center;
  gap: .875rem;
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: .5rem;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: .5rem .875rem;
  font-size: .78rem;
  font-weight: 700;
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}

.trust-badge .tb-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: -.02em;
  flex-shrink: 0;
  line-height: 1;
  text-align: center;
}

.trust-badge .tb-icon.teal { background: var(--teal); }

/* Hero visual side */
.hero-visual {
  position: relative;
  /* Stretch to fill grid row height */
  align-self: stretch;
  display: flex;
  align-items: stretch;
  min-height: 500px;
}

/* Full-height image wrapper — fills the column */
.hero-visual-inner {
  position: relative;
  width: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden; /* clip image to rounded corners */
  box-shadow: var(--shadow-lg);
}

.hero-img-main {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
  object-position: center top;
  display: block;
  /* No border-radius here — parent clips it */
  border-radius: 0;
}

/* Subtle dark gradient at bottom so phone card reads well */
.hero-visual-inner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,30,51,.55) 0%, rgba(15,30,51,.1) 40%, transparent 70%);
  pointer-events: none;
}

/* Phone mockup overlay — sits inside the image, above the gradient */
.phone-mockup {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 196px;
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(15,30,51,.35);
  padding: 1rem;
  border: 1.5px solid rgba(255,255,255,.8);
  z-index: 2;
}

.phone-screen-header {
  font-size: .7rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .75rem;
  line-height: 1.3;
}

.phone-option {
  background: var(--cream);
  border: 1.5px solid var(--gray-200);
  border-radius: 10px;
  padding: .625rem .75rem;
  margin-bottom: .5rem;
  cursor: pointer;
  transition: border-color .2s;
}

.phone-option.selected {
  border-color: var(--teal);
  background: var(--teal-light);
}

.phone-option .opt-title {
  font-size: .7rem;
  font-weight: 700;
  color: var(--navy);
}

.phone-option .opt-sub {
  font-size: .62rem;
  color: var(--gray-600);
}

.phone-option .opt-tag {
  font-size: .58rem;
  font-weight: 700;
  color: var(--teal);
  margin-top: 2px;
}

/* Hero floating pills — positioned inside .hero-visual (not inner wrapper) */
.hero-pill {
  position: absolute;
  background: var(--white);
  border-radius: 100px;
  padding: .5rem 1rem;
  box-shadow: var(--shadow-lg);
  font-size: .78rem;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: .4rem;
  white-space: nowrap;
  animation: float 4s ease-in-out infinite;
  z-index: 3;
}

/* Pills sit on the edges of the image — pulled slightly left/right of the inner card */
.hero-pill.pill-1 { top: 32px;  left: -12px;  animation-delay: 0s;   }
.hero-pill.pill-2 { top: 38%;   right: -12px; animation-delay: 1.5s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ---------- Disclaimer bar ---------- */
.disclaimer-bar {
  background: var(--navy-dark);
  color: rgba(255,255,255,.7);
  padding: .625rem 0;
  font-size: .78rem;
  text-align: center;
}

.disclaimer-bar strong { color: var(--white); }

/* ---------- Brand bar ---------- */
.brand-bar {
  background: var(--white);
  border-block: 1px solid var(--gray-200);
  padding-block: 1.5rem;
}

.brand-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.brand-bar-label {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gray-400);
  white-space: nowrap;
}

.brand-logo {
  font-size: .95rem;
  font-weight: 800;
  color: var(--gray-400);
  letter-spacing: -.02em;
  opacity: .7;
  transition: opacity .2s;
}

.brand-logo:hover { opacity: 1; }

/* ---------- HOW IT WORKS ---------- */
.how-section { background: var(--off-white); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.step-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: transform .2s, box-shadow .2s;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.step-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.step-card-img-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--cream), var(--gold-light));
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-card-body {
  padding: 1.5rem;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--gold);
  color: var(--navy-dark);
  border-radius: 50%;
  font-size: .9rem;
  font-weight: 800;
  margin-bottom: .875rem;
}

.step-card h3 { font-size: 1.1rem; margin-bottom: .375rem; }
.step-card p  { font-size: .875rem; margin: 0; }

.steps-cta { margin-top: 2.5rem; text-align: center; }

/* ---------- SCIENCE / STATS BANNER ---------- */
.science-section {
  background: var(--navy);
  color: var(--white);
  padding-block: var(--section-y);
  position: relative;
  overflow: hidden;
}

.science-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(212,168,75,.1) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 50%, rgba(91,181,176,.07) 0%, transparent 60%);
}

.science-inner { position: relative; z-index: 1; }

.science-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.science-section h2 { color: var(--white); margin-bottom: 1rem; }
.science-section p  { color: rgba(255,255,255,.75); }

.science-cta-row { margin-top: 2rem; display: flex; gap: 1rem; flex-wrap: wrap; }

.stat-blocks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.stat-block {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.stat-block .stat-num {
  font-size: 3rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  display: block;
}

.stat-block .stat-label {
  font-size: .85rem;
  color: rgba(255,255,255,.65);
  margin-top: .375rem;
}

/* Calculator widget inside science section */
.calc-widget {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  grid-column: 1 / -1;
}

.calc-label {
  font-size: .8rem;
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 700;
  margin-bottom: 1rem;
}

.calc-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.calc-input-group {
  flex: 1;
  min-width: 200px;
}

.calc-input-group label {
  display: block;
  font-size: .78rem;
  color: rgba(255,255,255,.6);
  margin-bottom: .375rem;
}

.calc-slider {
  width: 100%;
  accent-color: var(--gold);
}

.calc-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
}

.calc-result {
  margin-top: 1.25rem;
  padding: 1rem;
  background: var(--gold);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.calc-result .res-num {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--navy-dark);
  line-height: 1;
}

.calc-result .res-text {
  font-size: .85rem;
  color: var(--navy-dark);
  font-weight: 600;
}

/* ---------- PRODUCT CARDS ---------- */
.products-section { background: var(--cream); }

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid transparent;
  box-shadow: var(--shadow-sm);
  transition: all .2s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.product-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: var(--cream);
}

.product-card-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-badge {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .2rem .6rem;
  border-radius: 100px;
  margin-bottom: .75rem;
}

.badge-weight-mgmt { background: #e8f5f0; color: #2a7a60; }
.badge-t2d         { background: #e8eef8; color: #2a4a80; }

.product-card h3 { font-size: 1.15rem; margin-bottom: .2rem; }
.product-card .generic { font-size: .8rem; color: var(--gray-400); margin-bottom: .75rem; }
.product-card p   { font-size: .85rem; flex: 1; }

.product-card-footer {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-card-footer a {
  font-size: .82rem;
  font-weight: 700;
  color: var(--navy);
}
.product-card-footer a:hover { color: var(--gold); }

.products-disclaimer {
  margin-top: 1.5rem;
  font-size: .8rem;
  color: var(--gray-400);
  text-align: center;
  font-style: italic;
}

/* ---------- REVIEWS ---------- */
.reviews-section { background: var(--off-white); }

.reviews-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.overall-rating {
  display: flex;
  align-items: center;
  gap: .875rem;
}

.rating-num {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
}

.rating-stars {
  display: flex;
  gap: 3px;
  margin-bottom: .25rem;
}

.rating-stars span { font-size: 1.1rem; color: var(--gold); }

.rating-count {
  font-size: .82rem;
  color: var(--gray-400);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.review-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
}

.review-stars { display: flex; gap: 3px; margin-bottom: 1rem; }
.review-stars span { font-size: .9rem; color: var(--gold); }

.review-text {
  font-size: .9rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gray-200);
}

.review-author-name {
  font-weight: 700;
  font-size: .875rem;
  color: var(--navy);
  display: block;
}

.review-author-meta {
  font-size: .75rem;
  color: var(--gray-400);
}

/* ---------- PRICING / CTA BOX ---------- */
.pricing-section { background: var(--cream-dark); }

.pricing-box {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.pricing-left {
  background: var(--navy);
  padding: 3rem;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.pricing-left::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px;
  height: 200px;
  background: rgba(212,168,75,.15);
  border-radius: 50%;
}

.pricing-left h2 { color: var(--white); margin-bottom: 1rem; }
.pricing-left p  { color: rgba(255,255,255,.75); }

.pricing-starting {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.pricing-starting .from {
  font-size: .8rem;
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 700;
}

.pricing-starting .price {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}

.pricing-starting .per { font-size: .9rem; color: rgba(255,255,255,.6); }

.pricing-right {
  padding: 3rem;
}

.pricing-right h3 { color: var(--navy); margin-bottom: 1.5rem; }

.includes-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .875rem;
  margin-bottom: 2rem;
}

.includes-list li {
  display: flex;
  align-items: center;
  gap: .875rem;
  font-size: .9rem;
  color: var(--gray-600);
}

.includes-list li .check {
  width: 24px;
  height: 24px;
  background: var(--teal-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  flex-shrink: 0;
  font-size: .75rem;
}

.pricing-disclaimer {
  margin-top: 1rem;
  font-size: .75rem;
  color: var(--gray-400);
  font-style: italic;
}

/* ---------- BENEFITS ---------- */
.benefits-section {
  background: var(--navy-dark);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.benefits-section::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(212,168,75,.1) 0%, transparent 70%);
  pointer-events: none;
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.benefits-section h2 { color: var(--white); margin-bottom: 1rem; }
.benefits-section > .container > .benefits-grid > div > p { color: rgba(255,255,255,.7); }

.benefits-img {
  border-radius: var(--radius-xl);
  object-fit: cover;
  width: 100%;
  height: 500px;
  box-shadow: var(--shadow-lg);
}

.benefit-items {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.benefit-icon {
  width: 48px;
  height: 48px;
  background: rgba(212,168,75,.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.25rem;
}

.benefit-item h4 { color: var(--white); margin-bottom: .25rem; font-size: 1rem; }
.benefit-item p  { color: rgba(255,255,255,.65); font-size: .875rem; margin: 0; }

/* ---------- FAQ ---------- */
.faq-section { background: var(--off-white); }

.faq-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: start;
}

.faq-sidebar h2 { font-size: 2rem; }
.faq-sidebar p  { margin-top: .75rem; }

.faq-sidebar-cta { margin-top: 2rem; }

.faq-list { display: flex; flex-direction: column; gap: .75rem; }

.faq-item {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s;
}

.faq-item.open { border-color: var(--gold); }

.faq-q {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  font-size: .95rem;
  font-weight: 700;
  color: var(--navy);
  text-align: left;
  gap: 1rem;
  transition: background .15s;
}

.faq-q:hover { background: var(--cream); }
.faq-item.open .faq-q { background: var(--gold-light); }

.faq-q .chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  transition: transform .25s;
  color: var(--gold);
}

.faq-item.open .chevron { transform: rotate(180deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s;
  padding: 0 1.5rem;
  font-size: .9rem;
  color: var(--gray-600);
  line-height: 1.75;
}

.faq-item.open .faq-a {
  max-height: 400px;
  padding: 0 1.5rem 1.25rem;
}

/* ---------- NEWSLETTER ---------- */
.newsletter-section {
  background: var(--cream);
  padding-block: 64px;
}

.newsletter-box {
  background: var(--navy);
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.newsletter-box h2 { color: var(--white); font-size: 1.75rem; }
.newsletter-box p  { color: rgba(255,255,255,.7); margin-top: .375rem; }

.newsletter-form {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.newsletter-input {
  padding: .875rem 1.25rem;
  border-radius: 100px;
  border: 1.5px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.08);
  color: var(--white);
  font-size: .9rem;
  min-width: 240px;
  outline: none;
  transition: border-color .2s;
}

.newsletter-input::placeholder { color: rgba(255,255,255,.4); }
.newsletter-input:focus { border-color: var(--gold); }

/* ---------- COMPOUNDED / SAFETY ---------- */
.safety-section { background: var(--white); }

.product-types {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.product-type-card {
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  text-align: center;
  border: 2px solid transparent;
  transition: transform .2s;
}

.product-type-card:hover { transform: translateY(-2px); }

.product-type-card .pt-icon { font-size: 2.25rem; margin-bottom: .875rem; }
.product-type-card h4  { font-size: .9rem; margin-bottom: .5rem; }
.product-type-card p   { font-size: .8rem; margin: 0; }

.pt-approved   { background: #f0fdf4; border-color: #86efac; color: #166534; }
.pt-approved h4 { color: #166534; }
.pt-compounded { background: #fefce8; border-color: #fde68a; color: #92400e; }
.pt-compounded h4 { color: #92400e; }
.pt-otc        { background: #fff7ed; border-color: #fed7aa; color: #9a3412; }
.pt-otc h4     { color: #9a3412; }
.pt-grey       { background: #fef2f2; border-color: #fecaca; color: #7f1d1d; }
.pt-grey h4    { color: #7f1d1d; }

.fda-warning-box {
  margin-top: 1.75rem;
  background: #fef2f2;
  border: 1.5px solid #fecaca;
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  font-size: .875rem;
  color: #7f1d1d;
  display: flex;
  gap: .875rem;
  align-items: flex-start;
}

/* ---------- LINK GRID ---------- */
.link-grid-section { background: var(--navy); }

.link-grid-section h2 { color: var(--white); }
.link-grid-section .section-label { color: rgba(255,255,255,.5); }

.link-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}

.link-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: background .2s, transform .2s, border-color .2s;
  text-decoration: none;
  display: block;
}

.link-card:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(212,168,75,.4);
  transform: translateY(-2px);
}

.link-card .lc-icon { font-size: 1.75rem; margin-bottom: .75rem; }
.link-card h4 { color: var(--white); font-size: .9rem; margin-bottom: .3rem; }
.link-card p  { font-size: .78rem; color: rgba(255,255,255,.55); margin: 0; }

/* ---------- FINAL CTA ---------- */
.final-cta-section {
  background: var(--gold);
  padding-block: 96px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23000000' fill-opacity='0.04'%3E%3Ccircle cx='40' cy='40' r='20'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.final-cta-section > .container { position: relative; z-index: 1; }

.final-cta-section h2 { color: var(--navy-dark); font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
.final-cta-section p  { color: rgba(15,30,51,.75); max-width: 560px; margin-inline: auto; margin-bottom: 2rem; font-size: 1.05rem; }

.final-disclosure {
  margin-top: 1.5rem;
  font-size: .75rem;
  color: rgba(15,30,51,.5);
}

/* ---------- SOURCES ---------- */
.sources-section { background: var(--gray-100); padding-block: 56px; }
.sources-section h2 { font-size: 1.25rem; margin-bottom: 1.25rem; }

.source-list { list-style: none; display: flex; flex-direction: column; gap: .625rem; }

.source-list li {
  font-size: .85rem;
  color: var(--gray-600);
  display: flex;
  align-items: flex-start;
  gap: .5rem;
}

.source-list li::before { content: '↗'; color: var(--gold); flex-shrink: 0; }
.source-list a { color: var(--navy); }
.source-list a:hover { color: var(--gold); }

/* ---------- SITE DISCLAIMER ---------- */
.site-disclaimer {
  background: var(--gray-100);
  border-top: 1px solid var(--gray-200);
  padding-block: 1.5rem;
  font-size: .78rem;
  color: var(--gray-400);
  line-height: 1.75;
}

.site-disclaimer strong { color: var(--gray-600); }

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,.6);
  padding-block: 56px 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand-name {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.02em;
  margin-bottom: .75rem;
}

.footer-brand-name em {
  font-style: normal;
  color: var(--gold);
}

.footer-brand p { font-size: .875rem; line-height: 1.7; }

.footer-col h5 {
  color: var(--white);
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.footer-links { list-style: none; display: flex; flex-direction: column; gap: .625rem; }

.footer-links a {
  font-size: .85rem;
  color: rgba(255,255,255,.55);
  transition: color .15s;
}

.footer-links a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .8rem;
  flex-wrap: wrap;
  gap: .75rem;
}

.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { color: rgba(255,255,255,.45); transition: color .15s; }
.footer-bottom-links a:hover { color: var(--white); }

/* ---------- Disclosure / Affiliate bars ---------- */
.affiliate-bar {
  font-size: .78rem;
  color: var(--gray-400);
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: .625rem 1.125rem;
  display: inline-block;
  margin-top: .875rem;
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: .375rem;
  font-size: .8rem;
  color: var(--gray-400);
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.breadcrumb a { color: var(--gray-400); }
.breadcrumb a:hover { color: var(--navy); }
.breadcrumb .sep { color: var(--gray-200); }
.breadcrumb .current { color: var(--navy); font-weight: 600; }

/* ---------- QA Cards ---------- */
.qa-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.qa-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1.5px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s, transform .2s, border-color .2s;
}

.qa-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  border-color: var(--gold);
}

.qa-card .q {
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .625rem;
  font-size: .95rem;
  display: flex;
  align-items: flex-start;
  gap: .625rem;
}

.q-badge {
  background: var(--gold);
  color: var(--navy-dark);
  border-radius: 50%;
  width: 22px;
  height: 22px;
  font-size: .65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  font-weight: 800;
}

.qa-card .a { font-size: .875rem; color: var(--gray-600); margin: 0; padding-left: 1.875rem; }

/* ---------- Medication table ---------- */
.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  margin-top: 2rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: .9rem;
}

thead { background: var(--navy); color: var(--white); }

thead th {
  padding: 1rem 1.25rem;
  text-align: left;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

tbody tr { border-bottom: 1px solid var(--gray-100); transition: background .15s; }
tbody tr:last-child { border-bottom: none; }
tbody tr:hover { background: var(--gold-light); }

tbody td { padding: 1rem 1.25rem; vertical-align: middle; color: var(--gray-600); }

.drug-name { font-weight: 800; color: var(--navy); font-size: 1rem; }
.drug-maker { font-size: .78rem; color: var(--gray-400); }

.badge-pill {
  display: inline-block;
  padding: .25rem .75rem;
  border-radius: 100px;
  font-size: .72rem;
  font-weight: 700;
}

.badge-weight { background: #d1fae5; color: #065f46; }
.badge-diabetes { background: #dbeafe; color: #1e40af; }

/* ---------- Lottie wrapper ---------- */
.lottie-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

lottie-player {
  display: block;
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .link-cards    { grid-template-columns: repeat(3, 1fr); }
  .science-grid  { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-grid   { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  :root { --section-y: 64px; }

  /* Hero: stack columns, allow natural height, visual becomes a fixed-height strip */
  .hero {
    min-height: unset;
    padding-block: 48px 40px;
    align-items: flex-start;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    min-height: unset;
    gap: 2.5rem;
  }
  .hero-visual {
    min-height: 320px;
    align-self: auto;
  }
  .hero-img-main { min-height: 320px; }
  .hero-pill.pill-1 { top: 16px; left: 12px; }
  .hero-pill.pill-2 { top: auto; bottom: 80px; right: 12px; }

  .steps-grid    { grid-template-columns: 1fr; }
  .reviews-grid  { grid-template-columns: 1fr 1fr; }
  .pricing-box   { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .faq-layout    { grid-template-columns: 1fr; gap: 2rem; }
  .product-types { grid-template-columns: 1fr 1fr; }

  .nav-links { display: none; }
  .hamburger { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0; right: 0;
    background: var(--cream);
    padding: 1.25rem 1.5rem 1.75rem;
    border-bottom: 1px solid var(--cream-dark);
    box-shadow: var(--shadow);
    z-index: 99;
  }

  .nav-links.open li a { font-size: 1rem; opacity: 1; }
}

@media (max-width: 640px) {
  .hero-visual    { display: none; } /* hide image on small phones — text only */
  .reviews-grid   { grid-template-columns: 1fr; }
  .products-grid  { grid-template-columns: 1fr; }
  .link-cards     { grid-template-columns: 1fr 1fr; }
  .footer-grid    { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom  { flex-direction: column; text-align: center; }
  .stat-blocks    { grid-template-columns: 1fr 1fr; }
  .newsletter-box { flex-direction: column; align-items: flex-start; }
  .newsletter-form { width: 100%; flex-direction: column; }
  .newsletter-input { min-width: unset; width: 100%; }
  .product-types  { grid-template-columns: 1fr; }
  .link-cards     { grid-template-columns: 1fr 1fr; }
}
