/* ==========================================================================
   Hamilton Men's Health — base styles
   Clinical and trustworthy: white and pale-blue surfaces, the logo's deep
   navy for headings and dark panels, and the logo's blue (the cross in the
   shield) as the accent. Lexend headlines, Public Sans body.
   Built for a 55+ audience: 18px base, big tap targets, WCAG AA contrast.
   ========================================================================== */

:root {
  /* Palette (from the logo) */
  --navy-900: #0c2343;     /* deepest: footer */
  --navy: #13315b;         /* logo navy: headings, dark panels */
  --navy-700: #1b4176;
  --line-dark: #2b4d7c;    /* borders on navy */
  --steel: #b3c4da;        /* muted text on navy */
  --blue: #2a6cb7;         /* logo blue: buttons, accents (white text OK) */
  --blue-600: #215a9c;     /* hover */
  --blue-300: #8fbdec;     /* accent on navy */
  --blue-100: #e2ecf8;
  --blue-50: #f0f5fb;
  --sky: #f4f7fb;          /* alternate section background */
  --white: #ffffff;
  --green: #2c7650;
  --green-100: #e1f1e7;
  --text: #182436;
  --muted: #4b586b;
  --line: #d8e1ec;
  --focus: #1f6fe5;

  --font-display: "Lexend", "Segoe UI", system-ui, sans-serif;
  --font-body: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(19, 49, 91, 0.06), 0 2px 8px rgba(19, 49, 91, 0.05);
  --shadow: 0 12px 30px -14px rgba(19, 49, 91, 0.3);
  --shadow-lg: 0 28px 60px -24px rgba(19, 49, 91, 0.4);

  --container: 1200px;
  --gutter: clamp(1rem, 4vw, 2rem);
}

html { font-size: 112.5%; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.text-lg { font-size: 125%; }
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue-600); text-underline-offset: 3px; }
a:hover { color: var(--navy); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.3rem, 5vw, 3.7rem); }
h2 { font-size: clamp(1.8rem, 3.3vw, 2.6rem); }
h3 { font-size: 1.3rem; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
/* Light focus ring wherever the background is navy */
.section--dark, .site-footer, .guide, .plan.featured, .help-box, .cta-band { --focus: #9fcbff; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff; padding: 0.75rem 1rem; z-index: 100; font-weight: 700; }
.skip-link:focus { left: 1rem; top: 1rem; color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section--stone { background: var(--sky); }
.section--dark { background: var(--navy); color: #dbe5f1; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .lead { color: var(--steel); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--blue-600); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 1.6rem; height: 2px; background: currentColor; }
.section--dark .eyebrow, .guide .eyebrow { color: var(--blue-300); }
.lead { font-size: 1.18rem; color: var(--muted); max-width: 38rem; }
.section-head { max-width: 46rem; margin-bottom: 3rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }
.section-head.center .eyebrow::after { content: ""; width: 1.6rem; height: 2px; background: currentColor; }
.muted { color: var(--muted); }
.small { font-size: 0.85rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 3.2rem; padding: 0.8rem 1.7rem;
  font: 700 1rem/1.2 var(--font-body); letter-spacing: 0.01em;
  border-radius: var(--radius-sm); border: 2px solid transparent;
  cursor: pointer; text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-600); color: #fff; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-700); color: #fff; }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); }
.btn-ghost-light:hover { border-color: #fff; color: #fff; }
.btn-lg { min-height: 3.6rem; padding: 1rem 2.1rem; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn svg { width: 1.1em; height: 1.1em; }

/* ---------- Logo lockup: shield | Hamilton / Men's Health ---------- */
.logo { display: inline-flex; align-items: center; gap: 0.8rem; text-decoration: none; color: var(--navy); --mark-cross: var(--blue); }
.logo:hover { color: var(--navy); }
.logo-shield { flex: none; width: 2.35rem; height: 2.7rem; }
.logo-divider { flex: none; width: 2px; align-self: stretch; margin: 0.15rem 0; background: currentColor; opacity: 0.85; }
.logo-text { display: flex; flex-direction: column; font-family: var(--font-display); line-height: 1; }
.logo-text b { font-weight: 700; font-size: 1.42rem; letter-spacing: -0.01em; }
.logo-text span { font-weight: 400; font-size: 1.02rem; margin-top: 0.22rem; letter-spacing: 0; }
.site-footer .logo { color: #fff; --mark-cross: var(--blue-300); }

/* ---------- Announcement + header ---------- */
.announce {
  background: var(--navy); color: #e6eef8;
  font-size: 0.85rem; font-weight: 600; text-align: center; padding: 0.55rem var(--gutter);
}
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(19, 49, 91, 0.03);
  color: var(--navy);
}
.nav { display: flex; align-items: center; gap: 1.5rem; min-height: 4.8rem; }

.nav-links { display: flex; gap: 1.6rem; margin: 0 0 0 2rem; list-style: none; padding: 0; }
.nav-links a { text-decoration: none; color: var(--navy); font-weight: 600; white-space: nowrap; }
.nav-links a:hover { color: var(--blue-600); text-decoration: underline; text-decoration-color: var(--blue); text-decoration-thickness: 2px; }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 1rem; }
.nav-right .btn { white-space: nowrap; flex: none; }
.nav-phone { display: inline-flex; align-items: center; gap: 0.45rem; text-decoration: none; font-weight: 700; color: var(--navy); white-space: nowrap; }
.nav-phone:hover { color: var(--blue-600); }
.nav-phone svg { width: 1.1rem; height: 1.1rem; color: var(--blue); }

.text-size-btn {
  display: inline-flex; align-items: baseline; gap: 1px;
  min-height: 2.6rem; padding: 0 0.85rem;
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-family: var(--font-display); font-weight: 700; color: var(--navy); cursor: pointer;
}
.text-size-btn:hover { border-color: var(--navy); }
.text-size-btn .a-sm { font-size: 0.8rem; }
.text-size-btn .a-lg { font-size: 1.1rem; }
.text-size-btn[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }

.menu-toggle { display: none; background: none; border: 0; padding: 0.5rem; cursor: pointer; color: var(--navy); min-width: 2.8rem; min-height: 2.8rem; }
.menu-toggle svg { width: 1.6rem; height: 1.6rem; }
.mobile-menu { display: none; border-top: 1px solid var(--line); background: #fff; }
.mobile-menu.open { display: block; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0.5rem var(--gutter) 1.5rem; }
.mobile-menu li a { display: block; padding: 1rem 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--navy); font-size: 1.15rem; font-weight: 600; }
.mobile-menu li a.btn { color: #fff; border: 0; }
.mobile-menu .btn { margin-top: 1.25rem; }

/* ---------- Hero (light) ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse at 90% 10%, rgba(42,108,183,0.12), transparent 55%),
    linear-gradient(180deg, var(--blue-50) 0%, #fff 100%);
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(4rem, 8vw, 7rem);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(19,49,91,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(19,49,91,0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 80%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 80%);
}
.hero .container { position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 .accent { color: var(--blue); }
.hero .lead { margin-bottom: 2rem; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.hero-cta .note { display: inline-flex; align-items: center; gap: 0.45rem; color: var(--muted); font-size: 0.95rem; }
.hero-cta .note svg { width: 1.1rem; height: 1.1rem; color: var(--blue); }

.stat-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 3rem;
  border-top: 1px solid var(--line); padding-top: 1.75rem; gap: 1rem;
}
.stat-strip div { display: flex; flex-direction: column; }
.stat-strip strong { font-family: var(--font-display); font-size: 1.55rem; font-weight: 700; color: var(--navy); line-height: 1.1; }
.stat-strip span { font-size: 0.85rem; color: var(--muted); }

.hero-visual { position: relative; }
.hero-card {
  position: relative; aspect-ratio: 4 / 4.3; border-radius: var(--radius-lg);
  background: linear-gradient(160deg, #1f4a84 0%, var(--navy) 55%, var(--navy-900) 100%);
  box-shadow: var(--shadow-lg);
  display: grid; place-items: center; overflow: hidden;
}
.hero-card .ring { position: absolute; border-radius: 50%; border: 1px solid rgba(143,189,236,0.3); }
.hero-card .ring.r1 { width: 80%; aspect-ratio: 1; }
.hero-card .ring.r2 { width: 105%; aspect-ratio: 1; border-color: rgba(255,255,255,0.08); }
.hero-card .glow { position: absolute; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(143,189,236,0.3), transparent 65%); }
.bottle { position: relative; width: 50%; filter: drop-shadow(0 28px 30px rgba(5,15,30,0.5)); }

.float-card {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: 0.75rem;
  background: #fff; color: var(--text);
  border-radius: var(--radius); padding: 0.8rem 1.05rem;
  box-shadow: var(--shadow-lg);
  font-size: 0.88rem; line-height: 1.3;
  border-left: 4px solid var(--blue);
}
.float-card strong { display: block; color: var(--navy); font-size: 0.95rem; }
.float-card .icon { flex: none; width: 2.3rem; height: 2.3rem; border-radius: var(--radius-sm); display: grid; place-items: center; background: var(--blue-100); color: var(--blue-600); }
.float-card .icon svg { width: 1.2rem; height: 1.2rem; }
.float-card.f1 { top: 9%; left: -7%; }
.float-card.f2 { bottom: 11%; right: -6%; border-left-color: var(--green); }
.float-card.f2 .icon { background: var(--green-100); color: var(--green); }

/* ---------- Symptoms ---------- */
.symptom-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); }
.symptom { padding: 2rem 1.75rem; border-right: 1px solid var(--line); }
.symptom:last-child { border-right: 0; }
.symptom .num { font-family: var(--font-display); font-weight: 600; font-size: 0.85rem; color: var(--blue-600); letter-spacing: 0.1em; display: block; margin-bottom: 1.25rem; }
.symptom .icon { width: 3rem; height: 3rem; border-radius: var(--radius-sm); background: var(--blue-100); color: var(--blue-600); display: grid; place-items: center; margin-bottom: 1.1rem; }
.symptom .icon svg { width: 1.5rem; height: 1.5rem; }
.symptom h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.symptom p { color: var(--muted); margin: 0; font-size: 0.95rem; }

.alert-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 1.75rem; }
.callout { padding: 1.4rem 1.6rem; border-radius: var(--radius); display: flex; gap: 1rem; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--blue); }
.callout.urgent { border-left-color: #b3261e; }
.callout svg { flex: none; width: 1.6rem; height: 1.6rem; margin-top: 0.1rem; color: var(--blue); }
.callout.urgent svg { color: #b3261e; }
.callout p { margin: 0; font-size: 0.97rem; }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.step-card { position: relative; background: #fff; border-radius: var(--radius-lg); padding: 2rem; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.step-num { display: grid; place-items: center; width: 3.2rem; height: 3.2rem; border-radius: 50%; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; line-height: 1; color: #fff; background: var(--blue); margin-bottom: 1.25rem; }
.step-card p { color: var(--muted); margin: 0; }
.step-card .tag { display: inline-block; margin-top: 1.25rem; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; background: var(--blue-100); color: var(--navy); padding: 0.35rem 0.75rem; border-radius: var(--radius-sm); }

/* ---------- Treatments ---------- */
.treatment-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.treatment { background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); display: flex; flex-direction: column; overflow: hidden; box-shadow: var(--shadow-sm); }
.treatment-top { padding: 1.9rem 2rem 1.5rem; display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; border-bottom: 1px solid var(--line); border-top: 4px solid var(--blue); }
.treatment .kind { display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue-600); margin-bottom: 0.5rem; }
.treatment h3 { font-size: 1.8rem; font-weight: 700; margin-bottom: 0.2rem; }
.treatment .generic-of { color: var(--muted); font-size: 0.95rem; margin: 0; }
.pill-chip { flex: none; font-size: 0.8rem; font-weight: 700; padding: 0.35rem 0.75rem; border-radius: var(--radius-sm); background: var(--navy); color: #fff; white-space: nowrap; }
.treatment-body { padding: 1.5rem 2rem 2rem; display: flex; flex-direction: column; flex: 1; }
.treatment-body > p { color: var(--muted); }
.facts { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 0.75rem; }
.facts li { display: flex; gap: 0.7rem; align-items: flex-start; }
.facts svg { flex: none; width: 1.25rem; height: 1.25rem; color: var(--blue); margin-top: 0.22rem; }
.price-from { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.price-from .amt { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; color: var(--navy); }
.price-from .amt small { font-family: var(--font-body); font-weight: 500; font-size: 0.9rem; color: var(--muted); }

.guide { margin-top: 3rem; background: var(--navy); color: #dbe5f1; border-radius: var(--radius-lg); padding: clamp(1.75rem, 4vw, 3rem); display: grid; grid-template-columns: 0.9fr 1.3fr; gap: 2.5rem; align-items: center; }
.guide h3 { color: #fff; font-size: 1.8rem; font-weight: 700; }
.guide p { color: var(--steel); }
.guide-table { width: 100%; border-collapse: collapse; font-size: 0.97rem; }
.guide-table th, .guide-table td { padding: 1rem 0.75rem; text-align: left; border-bottom: 1px solid var(--line-dark); vertical-align: top; }
.guide-table thead th { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--steel); font-weight: 700; }
.guide-table tbody th { color: #fff; font-weight: 600; }
.guide-table td strong { color: var(--blue-300); }
.guide-table tr:last-child th, .guide-table tr:last-child td { border-bottom: 0; }

/* ---------- Pricing ---------- */
.toggle-wrap { text-align: center; }
.med-toggle { display: inline-flex; flex-wrap: wrap; justify-content: center; padding: 0.35rem; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); margin: 0 auto 3rem; gap: 0.25rem; }
.med-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.med-toggle label { min-height: 3rem; padding: 0.7rem 1.4rem; border-radius: var(--radius-sm); cursor: pointer; font-weight: 700; color: var(--muted); display: inline-flex; align-items: center; transition: background 0.15s ease, color 0.15s ease; }
.med-toggle label:hover { color: var(--navy); }
.med-toggle input:checked + label { background: var(--navy); color: #fff; }
.med-toggle input:focus-visible + label { outline: 3px solid var(--focus); outline-offset: 2px; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: stretch; }
.plan { position: relative; background: #fff; border-radius: var(--radius-lg); padding: 2.25rem 2rem; border: 2px solid var(--line); display: flex; flex-direction: column; }
.plan.featured { background: var(--navy); border-color: var(--navy); color: #dbe5f1; box-shadow: var(--shadow-lg); }
.plan.featured h3, .plan.featured .price .num { color: #fff; }
.plan.featured .plan-sub, .plan.featured .billed, .plan.featured .price .per { color: var(--steel); }
.plan.featured li svg { color: var(--blue-300); }
.plan-badge { position: absolute; top: -0.9rem; left: 2rem; background: var(--blue); color: #fff; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.4rem 0.85rem; border-radius: var(--radius-sm); white-space: nowrap; }
.plan-badge.value { background: var(--green); color: #fff; }
.plan h3 { font-size: 1.45rem; margin-bottom: 0.25rem; }
.plan .plan-sub { color: var(--muted); font-size: 0.95rem; margin-bottom: 1.5rem; }
.plan .price { display: flex; align-items: baseline; gap: 0.35rem; margin-bottom: 0.3rem; }
.plan .price .num { font-family: var(--font-display); font-weight: 700; font-size: 3.1rem; line-height: 1; color: var(--navy); letter-spacing: -0.03em; }
.plan .price .per { color: var(--muted); font-weight: 600; }
.plan .billed { font-size: 0.92rem; color: var(--muted); margin-bottom: 0.75rem; min-height: 1.5em; }
.save-pill { display: inline-block; align-self: flex-start; font-size: 0.8rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; background: var(--green-100); color: var(--green); padding: 0.3rem 0.7rem; border-radius: var(--radius-sm); margin-bottom: 1.5rem; }
.plan.featured .save-pill { background: rgba(143,189,236,0.18); color: var(--blue-300); }
.save-pill.hidden { visibility: hidden; }
.plan ul { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: 0.7rem; font-size: 0.95rem; }
.plan li { display: flex; gap: 0.6rem; align-items: flex-start; }
.plan li svg { flex: none; width: 1.15rem; height: 1.15rem; color: var(--blue); margin-top: 0.25rem; }
.plan .btn { margin-top: auto; }
.pricing-note { text-align: center; margin-top: 2.5rem; color: var(--muted); font-size: 0.9rem; }

/* ---------- Why Hamilton (navy) ---------- */
.why-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line-dark); border-radius: var(--radius-lg); overflow: hidden; }
.feature { padding: 1.75rem; border-bottom: 1px solid var(--line-dark); border-right: 1px solid var(--line-dark); }
.feature:nth-child(2n) { border-right: 0; }
.feature:nth-last-child(-n+2) { border-bottom: 0; }
.feature .icon { width: 2.8rem; height: 2.8rem; border-radius: var(--radius-sm); background: var(--navy-700); color: var(--blue-300); display: grid; place-items: center; margin-bottom: 0.9rem; }
.feature .icon svg { width: 1.35rem; height: 1.35rem; }
.feature h3 { font-size: 1.15rem; margin-bottom: 0.35rem; }
.feature p { margin: 0; color: var(--steel); font-size: 0.95rem; }

.doctor-card { background: var(--navy-700); border: 1px solid var(--line-dark); border-radius: var(--radius-lg); padding: 2rem; margin-top: 2.5rem; }
.doctor-card .row { display: flex; gap: 1rem; align-items: center; margin-bottom: 1.25rem; }
.avatar { flex: none; width: 4rem; height: 4rem; border-radius: 50%; background: var(--blue); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; color: #fff; font-size: 1.1rem; }
.doctor-card strong { color: #fff; }
.doctor-card blockquote { margin: 0; font-size: 1.2rem; line-height: 1.5; color: #fff; font-weight: 500; }
.doctor-card .placeholder-tag { margin-top: 1.25rem; }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.review { background: #fff; border-radius: var(--radius-lg); padding: 2rem; border: 1px solid var(--line); display: flex; flex-direction: column; margin: 0; box-shadow: var(--shadow-sm); }
.stars { color: var(--blue); letter-spacing: 0.15em; margin-bottom: 1rem; font-size: 1.1rem; }
.review blockquote { margin: 0 0 1.5rem; font-size: 1.05rem; }
.review cite { margin-top: auto; font-style: normal; font-weight: 700; color: var(--navy); }
.review cite span { display: block; font-weight: 400; color: var(--muted); font-size: 0.9rem; }
.placeholder-tag { display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #7a5000; background: #fff3d6; border: 1px dashed #d9a640; padding: 0.25rem 0.6rem; border-radius: 4px; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 1.4rem 0; display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-weight: 700; font-size: 1.1rem; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { flex: none; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--blue-100); display: grid; place-items: center; color: var(--navy); transition: transform 0.2s ease, background 0.2s ease; }
.faq summary .plus svg { width: 1rem; height: 1rem; }
.faq details[open] summary .plus { transform: rotate(45deg); background: var(--blue); color: #fff; }
.faq details p { color: var(--muted); padding-bottom: 1.4rem; margin: 0; max-width: 42rem; }
.help-box { background: var(--navy); color: var(--steel); border-radius: var(--radius-lg); padding: 1.75rem; margin-top: 2rem; }
.help-box strong { color: #fff; }
.help-box a.phone { font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; text-decoration: none; display: block; margin: 0.25rem 0; color: var(--blue-300); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--blue) 0%, var(--blue-600) 100%); color: #fff;
  border-radius: var(--radius-lg); padding: clamp(2.5rem, 6vw, 4.5rem);
  display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.cta-band::after { content: ""; position: absolute; right: -6rem; top: -6rem; width: 18rem; height: 18rem; border-radius: 50%; border: 2px solid rgba(255,255,255,0.16); }
.cta-band h2 { color: #fff; margin: 0 0 0.5rem; }
.cta-band p { margin: 0; font-size: 1.1rem; font-weight: 500; color: #eef4fb; }
.cta-band .btn { position: relative; z-index: 1; }
.cta-band .btn-dark { background: var(--navy-900); }
.cta-band .btn-dark:hover { background: var(--navy); }

/* ---------- Safety info ---------- */
.isi { background: #fff; border-top: 1px solid var(--line); }
.isi h2 { font-size: 1.6rem; }
.isi h3 { font-size: 1.1rem; font-family: var(--font-body); font-weight: 700; color: var(--navy); margin-top: 1.25rem; }
.isi p, .isi li { font-size: 0.93rem; color: #33404f; }
.isi ul { padding-left: 1.2rem; }
.isi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 2.5rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: var(--steel); padding: 4rem 0 2.5rem; font-size: 0.92rem; border-top: 4px solid var(--blue); }
.site-footer a { color: #dbe5f1; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2rem; margin-bottom: 3rem; }
.site-footer .logo { margin-bottom: 1rem; }
.site-footer h4 { font-family: var(--font-body); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; color: #fff; margin-bottom: 1rem; font-weight: 700; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.footer-legal { border-top: 1px solid var(--line-dark); padding-top: 2rem; font-size: 0.82rem; color: #9fb2ca; }
.footer-legal p { max-width: 60rem; }
.emergency { display: inline-flex; gap: 0.5rem; align-items: center; background: var(--navy); padding: 0.6rem 1rem; border-radius: var(--radius-sm); color: #e6eef8; margin-bottom: 1.25rem; font-size: 0.9rem; }
.sister-link { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 0.25rem; font-weight: 600; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
/* Header breakpoints are sized for the logo lockup. Large-text mode
   (the "AA" button) needs more room, so it collapses earlier. */
@media (max-width: 1680px) {
  .text-lg .nav-phone .label { display: none; }
}
@media (max-width: 1340px) {
  .nav-phone .label { display: none; }
  .text-lg .nav-links { display: none; }
  .text-lg .menu-toggle { display: inline-grid; place-items: center; }
}
@media (max-width: 1140px) {
  .nav-links { display: none; }
  .menu-toggle { display: inline-grid; place-items: center; }
}
@media (max-width: 1080px) {
  .symptom-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .symptom:nth-child(2) { border-right: 0; }
  .symptom:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 900px) {
  .hero-grid, .why-grid, .faq-grid, .guide, .isi-grid, .alert-row { grid-template-columns: 1fr; }
  .hero-visual { max-width: 30rem; margin: 0 auto; width: 100%; }
  .float-card.f1 { left: 0; }
  .float-card.f2 { right: 0; }
  .steps, .reviews, .treatment-grid { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 30rem; margin: 0 auto; gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); row-gap: 1.5rem; }
}
@media (max-width: 820px) {
  .text-lg .nav-phone { display: none; }
}
@media (max-width: 660px) {
  .text-lg .nav-right .btn { display: none; }
}
@media (max-width: 600px) {
  .nav-right .btn { display: none; }
  .nav-phone { display: none; }
  .symptom-grid { grid-template-columns: 1fr; }
  .symptom { border-right: 0; border-bottom: 1px solid var(--line); }
  .symptom:last-child { border-bottom: 0; }
  .feature-list { grid-template-columns: 1fr; }
  .feature { border-right: 0; }
  .feature:nth-last-child(2) { border-bottom: 1px solid var(--line-dark); }
  .footer-grid { grid-template-columns: 1fr; }
  .med-toggle label { padding: 0.7rem 0.9rem; }
  .hero-cta .btn { width: 100%; }
  .treatment-top, .treatment-body { padding-left: 1.4rem; padding-right: 1.4rem; }
  .guide-table th, .guide-table td { padding: 0.8rem 0.4rem; }
}

/* Small phones: the lockup shrinks with the screen so the header never overflows. */
@media (max-width: 420px) {
  .logo { gap: 9px; }
  .logo-shield { width: 32px; height: 37px; }
  .logo-text b { font-size: min(1.25rem, 5.6vw); }
  .logo-text span { font-size: min(0.92rem, 4.1vw); }
}
@media (max-width: 340px) {
  .logo { gap: 7px; }
  .logo-shield { width: 28px; height: 32px; }
  .logo-divider { display: none; }
  .logo-text b { font-size: 5.3vw; }
  .logo-text span { font-size: 3.9vw; }
}
