/* ==========================================================================
   HorseFil — style.css
   Palette sampled directly from the supplied brand assets:
   navy  #121838  and gold  #D4A03C  (apple-touch-icon.png),
   label red #C8102E and metallic gold #C09048 (bottle pack shot).
   ========================================================================== */

:root {
  /* Brand */
  --navy:        #121838;
  --navy-deep:   #0C1128;
  --navy-soft:   #1B2340;
  --gold:        #D4A03C;
  --gold-hover:  #B8862A;
  --gold-ink:    #6E4F0E;   /* gold that passes AAA as text on white */
  --red:         #C8102E;

  /* Surfaces */
  --white:       #FFFFFF;
  --off-white:   #F7F8FA;
  --tint:        #F5EBD6;
  --border:      #E2E5E8;
  --border-dark: #2C3559;

  /* Text — black on light, white on dark. Nothing in between for body copy. */
  --text:        #111111;
  --text-invert: #FFFFFF;
  --label:       #3D444B;   /* small caps labels only, never paragraphs */
  --on-navy-soft:#E6E9F2;   /* 14.3:1 on navy — labels on dark only */

  /* Shape */
  --r:      16px;
  --r-sm:   10px;
  --r-pill: 999px;

  /* Elevation */
  --shadow:    0 4px 16px rgba(18, 24, 56, 0.10);
  --shadow-lg: 0 8px 28px rgba(18, 24, 56, 0.18);

  /* Rhythm */
  --gap:     24px;
  --section: 88px;
  --maxw:    1180px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; overflow-x: hidden; max-width: 100%; }
body {
  margin: 0;
  overflow-x: hidden;
  max-width: 100%;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-ink); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.35em; }
li { margin-bottom: .5em; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- Type ---------- */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0 0 .5em;
  color: inherit;
}
h1 { font-size: clamp(2.1rem, 5.2vw, 3.35rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.45rem); font-weight: 600; }
h4 { font-size: 1.15rem; font-weight: 600; }
.lead { font-size: 20px; line-height: 1.7; }
.small { font-size: 17px; }

/* Signature device: a short gold rule above a tracked label.
   Used once per section so the page reads as a sequence of clearly named parts. */
.eyebrow {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin: 0 0 14px;
  line-height: 1.4;
}
.eyebrow::before {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  background: var(--gold);
  margin-bottom: 14px;
  border-radius: 2px;
}
.on-dark .eyebrow, .sect--navy .eyebrow { color: var(--gold); }
.eyebrow--center { text-align: center; }
.eyebrow--center::before { margin-left: auto; margin-right: auto; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.sect { padding: var(--section) 0; }
.sect--tight { padding: 60px 0; }
.sect--offwhite { background: var(--off-white); }
.sect--navy { background: var(--navy); color: var(--text-invert); }
.sect--navy h1, .sect--navy h2, .sect--navy h3, .sect--navy p, .sect--navy li { color: var(--text-invert); }
.sect--soft { background: var(--navy-soft); color: var(--text-invert); }
.sect-head { max-width: 760px; margin: 0 0 48px; }
.sect-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.divider { border: 0; border-top: 1px solid var(--border); margin: 0; }

.grid { display: grid; gap: var(--gap); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 200;
  background: var(--navy); color: #fff; padding: 14px 22px;
  border-radius: var(--r-sm); font-weight: 600; text-decoration: none;
  transition: top .15s ease;
}
.skip-link:focus { top: 16px; color: #fff; }

/* ---------- Focus ---------- */
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}
.sect--navy a:focus-visible, .site-footer a:focus-visible, .ticker a:focus-visible { outline-color: var(--gold); }

/* ---------- Ticker ---------- */
.ticker {
  background: var(--navy-deep);
  color: var(--text-invert);
  font-size: 17px;
  padding: 10px 0;
}
.ticker ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 8px 30px;
}
.ticker li { margin: 0; display: flex; align-items: center; gap: 9px; }
.ticker svg { flex: none; color: var(--gold); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.97);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; gap: 20px; min-height: 78px; }
.brand {
  display: inline-flex; align-items: center; gap: 11px;
  font-weight: 700; font-size: 22px; letter-spacing: -.02em;
  color: var(--navy); text-decoration: none; flex: none;
}
.brand img { width: 40px; height: 40px; border-radius: var(--r-sm); }
.brand span i { font-style: normal; color: var(--gold-ink); }

.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; list-style: none; padding: 0; }
.nav-links li { margin: 0; }
.nav-links a {
  display: block; padding: 12px 13px; font-size: 17px; font-weight: 500;
  color: var(--text); text-decoration: none; border-radius: var(--r-sm);
  min-height: 44px; line-height: 20px;
}
.nav-links a:hover { background: var(--off-white); color: var(--navy); }
.nav-cta { margin-left: 10px; flex: none; }

.nav-toggle {
  display: none; margin-left: auto;
  width: 48px; height: 48px; align-items: center; justify-content: center;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-sm); color: var(--navy); cursor: pointer;
}
@media (max-width: 1060px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--border);
    padding: 10px 24px 22px; box-shadow: var(--shadow); display: none;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 15px 8px; font-size: 18px; border-bottom: 1px solid var(--border); border-radius: 0; }
  .nav-links li:last-child a { border-bottom: 0; }
  .nav-cta { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: inherit; font-size: 18px; font-weight: 700; line-height: 1.3;
  padding: 18px 30px; min-height: 60px;
  border-radius: var(--r); border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, transform .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--gold); color: #111111; }   /* 8.0:1 */
.btn--primary:hover { background: var(--gold-hover); color: #111111; }
.btn--dark { background: var(--navy); color: #FFFFFF; }        /* 17.2:1 */
.btn--dark:hover { background: var(--navy-deep); color: #FFFFFF; }
.btn--ghost { background: transparent; color: #FFFFFF; border-color: rgba(255,255,255,.55); }
.btn--ghost:hover { background: rgba(255,255,255,.10); color: #FFFFFF; }
.btn--outline { background: var(--white); color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #FFFFFF; }
.btn--sm { padding: 13px 22px; min-height: 48px; font-size: 17px; }
.btn--block { display: flex; width: 100%; }
.btn--lg { font-size: 20px; padding: 22px 44px; min-height: 68px; }

/* ---------- Hero ---------- */
.hero {
  background: var(--navy);
  background-image: radial-gradient(105% 130% at 82% 18%, #23305C 0%, #121838 58%, #0C1128 100%);
  color: var(--text-invert);
  padding: 76px 0 84px;
}
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 20px; letter-spacing: -.025em; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lead { max-width: 34em; color: #FFFFFF; }
.chips { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; padding: 0; margin: 28px 0 34px; }
.chips li {
  margin: 0; display: inline-flex; align-items: center; gap: 9px;
  background: rgba(255,255,255,.09); border: 1px solid rgba(212,160,60,.42);
  color: #FFFFFF; font-size: 17px; font-weight: 500;
  padding: 9px 17px; border-radius: var(--r-pill);
}
.chips svg { color: var(--gold); flex: none; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.hero-note { font-size: 17px; color: #FFFFFF; margin-top: 20px; display: flex; align-items: center; gap: 9px; }
.hero-note svg { color: var(--gold); flex: none; }

.hero-media {
  position: relative;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(212,160,60,.35);
  border-radius: var(--r);
  padding: 34px 28px;
  text-align: center;
}
.hero-media img { margin: 0 auto; }
.hero-media figcaption { font-size: 17px; color: #FFFFFF; margin-top: 18px; font-weight: 500; }
.hero-flag {
  position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: #111111;
  font-size: 17px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  padding: 6px 20px; border-radius: var(--r-pill);
  max-width: calc(100% - 24px); text-align: center;
}
@media (max-width: 900px) {
  .hero { padding: 52px 0 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-media { order: -1; }
}

/* ---------- Trust row ---------- */
.trust { background: var(--white); border-bottom: 1px solid var(--border); padding: 34px 0; }
.trust ul {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px;
}
.trust li {
  margin: 0; display: flex; flex-direction: column; align-items: center; gap: 10px;
  text-align: center; font-size: 17px; font-weight: 600; color: var(--text); line-height: 1.4;
}
.trust svg { color: var(--gold-ink); flex: none; }
@media (max-width: 940px) { .trust ul { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .trust ul { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 30px 28px;
  box-shadow: var(--shadow);
}
.sect--offwhite .card { background: var(--white); }
.card h3 { margin-bottom: 10px; color: var(--navy); }
.card p { color: var(--text); }
.card-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: var(--r-sm);
  background: var(--tint); color: var(--gold-ink);
  font-weight: 700; font-size: 19px; margin-bottom: 16px;
}
.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: var(--r-sm);
  background: var(--tint); color: var(--gold-ink); margin-bottom: 16px;
}

/* ---------- Split (about / ingredients media) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split--media-left .split-media { order: -1; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } .split--media-left .split-media { order: 0; } }
.split-media {
  background: var(--off-white); border: 1px solid var(--border);
  border-radius: var(--r); padding: 36px 28px; text-align: center;
}
.sect--offwhite .split-media { background: var(--white); }
.split-media img { margin: 0 auto; }
.split-media figcaption { font-size: 17px; color: var(--text); margin-top: 16px; font-weight: 500; }

/* ---------- Ingredients ---------- */
.ing { display: flex; gap: 18px; align-items: flex-start; }
.ing-mark {
  flex: none; width: 52px; height: 52px; border-radius: var(--r-sm);
  background: var(--navy); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 17px; letter-spacing: .02em;
}
.ing h3 { margin-bottom: 6px; }
.ing p { margin-bottom: 0; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 20px; }
.step {
  display: grid; grid-template-columns: 64px 1fr; gap: 22px; align-items: start;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r); padding: 26px 28px; box-shadow: var(--shadow);
}
.step-n {
  width: 64px; height: 64px; border-radius: var(--r-sm);
  background: var(--navy); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 700;
}
@media (max-width: 560px) { .step { grid-template-columns: 1fr; gap: 14px; } }

/* ---------- Two-column list blocks ---------- */
.list-check, .list-x { list-style: none; padding: 0; margin: 0; }
.list-check li, .list-x li { display: flex; gap: 13px; align-items: flex-start; margin-bottom: 14px; }
.list-check svg { color: #1E6B3A; flex: none; margin-top: 5px; }
.list-x svg { color: var(--red); flex: none; margin-top: 5px; }
.sect--navy .list-check svg { color: var(--gold); }

/* ---------- Table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r); background: var(--white); }
table.compare { width: 100%; border-collapse: collapse; min-width: 720px; font-size: 18px; }
table.compare caption { text-align: left; padding: 20px 22px 0; font-size: 17px; color: var(--label); }
table.compare th, table.compare td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; line-height: 1.6; }
table.compare thead th { background: var(--navy); color: #FFFFFF; font-size: 18px; font-weight: 700; border-bottom: 0; }
table.compare thead th:first-child { border-top-left-radius: var(--r); }
table.compare thead th:last-child { border-top-right-radius: var(--r); }
table.compare tbody th { font-weight: 600; background: var(--off-white); width: 26%; color: var(--text); }
table.compare tbody tr:last-child th, table.compare tbody tr:last-child td { border-bottom: 0; }
table.compare .col-mark { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
table.compare .yes { color: #1A5E33; }
table.compare .no  { color: #9E0C24; }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
@media (max-width: 940px) { .pricing { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }
.plan {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r); padding: 32px 28px 30px; box-shadow: var(--shadow);
}
.plan--featured { border: 2px solid var(--gold); box-shadow: var(--shadow-lg); }
.plan-flag {
  position: absolute; top: -17px; left: 50%; transform: translateX(-50%);
  background: var(--red); color: #FFFFFF;
  font-size: 17px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 20px; border-radius: var(--r-pill);
  max-width: calc(100% - 24px); text-align: center;
}
.plan-tier { font-size: 17px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); margin: 0 0 6px; }
.plan h3 { font-size: 1.6rem; margin-bottom: 4px; }
.plan-supply { font-size: 17px; color: var(--text); margin: 0 0 20px; font-weight: 500; }
.plan img { margin: 0 auto 20px; }
.plan-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 4px; }
.plan-price b { font-size: 2.6rem; font-weight: 700; color: var(--navy); line-height: 1; letter-spacing: -.03em; }
.plan-price span { font-size: 18px; font-weight: 600; color: var(--text); }
.plan-total { font-size: 18px; margin: 0 0 22px; font-weight: 500; }
.plan ul { list-style: none; padding: 0; margin: 0 0 26px; }
.plan ul li { display: flex; gap: 11px; align-items: flex-start; font-size: 18px; margin-bottom: 11px; }
.plan ul svg { color: #1E6B3A; flex: none; margin-top: 5px; }
.plan .btn { margin-top: auto; }
.plan-fine { font-size: 17px; margin: 16px 0 0; text-align: center; }

/* ---------- Guarantee ---------- */
.guarantee { display: grid; grid-template-columns: 200px 1fr; gap: 40px; align-items: center; }
@media (max-width: 700px) { .guarantee { grid-template-columns: 1fr; gap: 26px; text-align: center; } }
.seal {
  width: 200px; height: 200px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--navy); border: 5px solid var(--gold); color: #FFFFFF;
  text-align: center; margin: 0 auto; padding: 12px;
}
.seal b { font-size: 3rem; line-height: 1; color: var(--gold); font-weight: 700; }
.seal span { font-size: 17px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; line-height: 1.35; margin-top: 6px; }

/* ---------- Transparency ---------- */
.tp { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
@media (max-width: 800px) { .tp { grid-template-columns: 1fr; } }
.tp-box { border-radius: var(--r); padding: 28px 26px; border: 1px solid var(--border); background: var(--white); }
.tp-box h3 { display: flex; align-items: center; gap: 11px; }
.tp-box--yes h3 { color: #1A5E33; }
.tp-box--no h3 { color: #9E0C24; }

/* ---------- Callout / warning ---------- */
.callout {
  border: 1px solid var(--border); border-left: 6px solid var(--gold);
  background: var(--off-white); border-radius: var(--r);
  padding: 26px 28px;
}
.callout--warn { border-left-color: var(--red); background: #FDF4F5; border-color: #F3D9DD; }
.callout h3 { display: flex; align-items: center; gap: 11px; margin-bottom: 12px; }
.callout--warn h3 { color: #9E0C24; }
.callout p:last-child, .callout ul:last-child { margin-bottom: 0; }

/* ---------- FAQ ---------- */
.faq { max-width: 880px; margin: 0 auto; border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 20px;
  padding: 24px 4px; font-size: 20px; font-weight: 600; color: var(--navy);
  line-height: 1.45; min-height: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--gold-ink); }
.faq .faq-sign { flex: none; width: 30px; height: 30px; position: relative; margin-top: 4px; }
.faq .faq-sign::before, .faq .faq-sign::after {
  content: ""; position: absolute; background: var(--gold-ink); border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.faq .faq-sign::before { left: 4px; right: 4px; top: 13px; height: 4px; }
.faq .faq-sign::after  { top: 4px; bottom: 4px; left: 13px; width: 4px; }
.faq details[open] .faq-sign::after { transform: rotate(90deg); opacity: 0; }
.faq-body { padding: 0 4px 26px; max-width: 46em; }

/* ---------- Article cards ---------- */
.post-card {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r); padding: 28px 26px; box-shadow: var(--shadow);
}
.post-card .kicker { font-size: 17px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-ink); margin: 0 0 10px; }
.post-card h3 { margin-bottom: 10px; }
.post-card h3 a { color: var(--navy); text-decoration: none; }
.post-card h3 a:hover { color: var(--gold-ink); text-decoration: underline; }
.post-card p { margin-bottom: 18px; }
.post-card .more { margin-top: auto; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.post-card .more:hover { text-decoration: underline; }

/* ---------- Final CTA ---------- */
.final-cta { background: var(--navy); background-image: radial-gradient(100% 130% at 50% 0%, #23305C 0%, #121838 55%, #0C1128 100%); color: #FFFFFF; text-align: center; padding: 84px 0; }
.final-cta img { margin: 0 auto 30px; }
.final-cta h2 { font-size: clamp(2rem, 4.6vw, 3rem); max-width: 20ch; margin-left: auto; margin-right: auto; }
.final-cta .lead { max-width: 60ch; margin: 0 auto 34px; color: #FFFFFF; }
.pay {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px;
  margin: 30px 0 0; list-style: none; padding: 0;
}
.pay li {
  margin: 0; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.24);
  border-radius: var(--r-sm); padding: 9px 18px; font-size: 17px; font-weight: 600; color: #FFFFFF;
}
.cta-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 32px; list-style: none; padding: 0; margin: 32px 0 0; }
.cta-trust li { margin: 0; display: flex; align-items: center; gap: 9px; font-size: 17px; font-weight: 500; color: #FFFFFF; }
.cta-trust svg { color: var(--gold); flex: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #FFFFFF; padding: 64px 0 34px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h3 { font-size: 18px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: #FFFFFF; text-decoration: none; display: inline-block; padding: 5px 0; min-height: 30px; }
.site-footer a:hover { color: var(--gold); text-decoration: underline; }
.site-footer p { color: #FFFFFF; }
.footer-brand { display: inline-flex; align-items: center; gap: 12px; font-size: 22px; font-weight: 700; color: #FFFFFF; text-decoration: none; margin-bottom: 18px; }
.footer-brand img { width: 44px; height: 44px; border-radius: var(--r-sm); }
.footer-legal { border-top: 1px solid var(--border-dark); margin-top: 46px; padding-top: 28px; }
.footer-legal p { font-size: 17px; line-height: 1.7; margin-bottom: 16px; }
.fda {
  border: 1px solid var(--border-dark); border-radius: var(--r);
  padding: 20px 22px; background: rgba(255,255,255,.05); margin-bottom: 20px;
}
.fda b { color: var(--gold); }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--navy); color: #FFFFFF; border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; opacity: 0; visibility: hidden;
  transition: opacity .2s ease, visibility .2s ease;
  box-shadow: var(--shadow-lg);
}
.to-top.is-visible { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--navy-soft); }
@media (max-width: 860px) { .to-top { bottom: 96px; right: 16px; } }

/* ---------- Mobile sticky CTA ---------- */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  background: var(--white); border-top: 1px solid var(--border);
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  display: none; box-shadow: 0 -4px 16px rgba(18,24,56,.12);
}
.mobile-cta .btn { width: 100%; }
@media (max-width: 860px) { .mobile-cta { display: block; } body { padding-bottom: 88px; } }

/* ---------- Exit popup ---------- */
.modal {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(12,17,40,.72);
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.modal.is-open { display: flex; }
.modal-box {
  background: var(--white); border-radius: var(--r);
  max-width: 560px; width: 100%; padding: 40px 34px 34px;
  position: relative; box-shadow: var(--shadow-lg); text-align: center;
  max-height: 92vh; overflow-y: auto;
}
.modal-box h2 { font-size: clamp(1.7rem, 4vw, 2.1rem); color: var(--navy); }
.modal-box p { font-size: 19px; }
.modal-box img { margin: 0 auto 20px; }
.modal-close {
  position: absolute; top: 10px; right: 10px;
  width: 48px; height: 48px; border-radius: var(--r-sm);
  background: var(--off-white); border: 1px solid var(--border);
  color: var(--navy); font-size: 26px; line-height: 1; cursor: pointer;
}
.modal-close:hover { background: var(--border); }
.modal-list { list-style: none; padding: 0; margin: 0 0 26px; text-align: left; display: inline-block; }
.modal-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 19px; margin-bottom: 12px; }
.modal-list svg { color: #1E6B3A; flex: none; margin-top: 6px; }
.modal-dismiss {
  background: none; border: 0; font-family: inherit; font-size: 18px; font-weight: 500;
  color: var(--text); text-decoration: underline; cursor: pointer;
  margin-top: 18px; padding: 12px; min-height: 44px;
}

/* ---------- Utilities ---------- */
.center { text-align: center; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-0 { margin-bottom: 0; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.badge-row { display: flex; flex-wrap: wrap; gap: 26px; align-items: center; justify-content: center; }
.badge-row img { width: 88px; height: auto; }

@media (max-width: 640px) {
  :root { --section: 60px; --gap: 20px; }
  .card, .step, .plan { padding: 24px 22px; }
}
