/* ==========================================================================
   ASTRA GROUP — Sistema de Diseño "Elegancia Dorada" · v2.0
   Design tokens + components. Mobile-first. WCAG 2.1 AA.
   ========================================================================== */

/* ------------------------------ Tokens ---------------------------------- */
:root {
  /* Navy — autoridad */
  --navy-900: #0A1626;
  --navy-700: #152A45;
  --navy:     #1E3A5F;
  --navy-100: #D9E2ED;
  --navy-50:  #F0F4F9;
  /* Dorado — acento y CTA */
  --gold:       #C4A052;
  --gold-light: #D4B570;
  --gold-dark:  #8B7355;
  --link:       #3498DB;
  /* Neutrales */
  --white:      #FFFFFF;
  --text:       #2C3E50;
  --gray-soft:  #F8F9FA;
  --border:     #E5E7EB;
  /* Semánticos */
  --success: #28A745;
  --error:   #DC3545;
  --warning: #FFC107;

  /* Tipografía */
  --font-head: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;

  /* Espaciado / layout */
  --section:    clamp(3rem, 8vw, 6rem);
  --section-sm: clamp(2rem, 5vw, 4rem);
  --gutter:     clamp(1.5rem, 6vw, 6rem);
  --max:    75rem;   /* 1200px */
  --prose:  65ch;
  --narrow: 45rem;

  /* Radios */
  --r-1: 0.25rem;
  --r-2: 0.5rem;
  --r-3: 0.75rem;
  --r-4: 1rem;

  /* Sombras */
  --sh-card:    0 2px 8px rgba(30, 58, 95, 0.08);
  --sh-hover:   0 8px 24px rgba(30, 58, 95, 0.12);
  --sh-premium: 0 12px 40px rgba(30, 58, 95, 0.15);

  /* Transiciones */
  --t-fast: 150ms;
  --t:      250ms;
  --t-slow: 400ms;
}

/* ------------------------------ Reset ----------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; padding: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: var(--link); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--navy); }
::selection { background: var(--gold); color: var(--navy-900); }
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Skip link */
.skip-link {
  position: absolute; left: 1rem; top: -4rem;
  z-index: 200;
  background: var(--navy); color: #fff;
  padding: 0.75rem 1.25rem; border-radius: var(--r-2);
  font-weight: 600; transition: top var(--t);
}
.skip-link:focus { top: 1rem; color: #fff; }

/* ---------------------------- Typography -------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.2;
  font-weight: 700;
  text-wrap: balance;
}
p { text-wrap: pretty; }

.display-1 { font-size: clamp(2.5rem, 5vw, 4rem);   line-height: 1.08; font-weight: 700; }
.display-2 { font-size: clamp(2rem, 4vw, 3rem);     line-height: 1.15; font-weight: 700; }
.h1, h1   { font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.2;  font-weight: 700; }
.h2, h2   { font-size: clamp(1.5rem, 2.5vw, 2rem);  line-height: 1.25; font-weight: 600; }
.h3, h3   { font-size: 1.25rem; line-height: 1.3; font-weight: 600; }
h4 { font-size: 1.125rem; line-height: 1.3; font-weight: 600; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 600;
  margin: 0 0 0.9rem;
}
.eyebrow--gold { color: var(--gold); }
.lead { font-size: 1.125rem; line-height: 1.6; color: var(--text); }
.muted { color: var(--gold-dark); }
.small { font-size: 0.875rem; }
.caption { font-size: 0.75rem; line-height: 1.4; color: var(--gold-dark); }
strong, b { font-weight: 600; color: inherit; }
.text-gold { color: var(--gold); }
.text-white { color: #fff; }

/* ------------------------------ Layout ---------------------------------- */
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section    { padding-block: var(--section); }
.section-sm { padding-block: var(--section-sm); }
.narrow  { max-width: var(--narrow); }
.measure { max-width: 60ch; }
.center  { margin-inline: auto; text-align: center; }

.bg-navy    { background: var(--navy); color: #fff; }
.bg-navy-900 { background: var(--navy-900); color: #fff; }
.bg-soft    { background: var(--gray-soft); }
.bg-navy-50 { background: var(--navy-50); }
.bordered-y { border-block: 1px solid var(--border); }
section.bg-navy h1, section.bg-navy h2, section.bg-navy h3,
section.bg-navy-900 h1, section.bg-navy-900 h2, section.bg-navy-900 h3 { color: #fff; }

.stack > * + * { margin-top: 1.1rem; }
.stack-lg > * + * { margin-top: 1.75rem; }

/* Grids */
.grid { display: grid; gap: clamp(1.25rem, 3vw, 2rem); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 13.5rem), 1fr)); }

/* ------------------------------ Buttons --------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font-body); font-weight: 600; font-size: 0.9375rem;
  line-height: 1.2; text-align: center;
  padding: 0.8rem 1.5rem; border: 1.5px solid transparent; border-radius: var(--r-2);
  cursor: pointer; transition: background var(--t), color var(--t), transform var(--t), box-shadow var(--t), border-color var(--t);
  white-space: normal; text-wrap: balance; max-width: 100%;
}
.btn:hover { color: var(--navy-900); }
.btn:active { transform: scale(0.98); }

.btn-primary { background: var(--gold); color: var(--navy-900); }
.btn-primary:hover { background: var(--gold-light); color: var(--navy-900); transform: translateY(-1px); box-shadow: var(--sh-hover); }

.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-700); color: #fff; transform: translateY(-1px); }

.btn-ghost { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }

.btn-ghost-light { background: transparent; border-color: rgba(255,255,255,0.5); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--navy-900); border-color: #fff; }

.btn-lg { padding: 0.95rem 1.9rem; font-size: 1rem; }
.btn[disabled], .btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.link-arrow { font-weight: 600; color: var(--link); display: inline-flex; align-items: center; gap: 0.35rem; }
.link-arrow:hover { color: var(--navy); }
.link-arrow::after { content: "→"; transition: transform var(--t); }
.link-arrow:hover::after { transform: translateX(3px); }

/* ------------------------------ Badges ---------------------------------- */
.badge {
  display: inline-block; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.02em;
  padding: 0.35rem 0.75rem; border-radius: 999px; background: var(--navy-50); color: var(--navy);
}
.badge-gold    { background: rgba(196,160,82,0.15); color: var(--gold-dark); }
.badge-navy    { background: var(--navy); color: #fff; }
.badge-success { background: rgba(40,167,69,0.12); color: var(--success); }
.badge-outline { background: transparent; border: 1px solid var(--border); color: var(--gold-dark); }

/* ------------------------------ Cards ----------------------------------- */
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-3);
  padding: clamp(1.4rem, 3vw, 1.9rem); box-shadow: var(--sh-card);
  transition: box-shadow var(--t), transform var(--t);
  display: flex; flex-direction: column;
}
.card h3, .card h4 { margin-bottom: 0.55rem; }
.card p { color: var(--text); }
a.card, .card--link { color: inherit; }
a.card:hover, .card--hover:hover { box-shadow: var(--sh-hover); transform: translateY(-3px); color: inherit; }
.card__cta { margin-top: auto; padding-top: 1rem; }
.card-accent::before {
  content: ""; display: block; width: 40px; height: 4px;
  background: var(--gold); border-radius: 2px; margin-bottom: 1.2rem;
}
.card-soft { background: var(--gray-soft); box-shadow: none; }
.card-navy { background: var(--navy); color: #fff; border: none; box-shadow: var(--sh-premium); }
.card-navy h3, .card-navy h4 { color: #fff; }
.card-navy p { color: rgba(255,255,255,0.82); }

/* Testimonial */
.quote { background: var(--navy); color: #fff; border: none; box-shadow: var(--sh-premium); }
.quote .eyebrow { color: var(--gold); }
.quote blockquote { font-size: 1.0625rem; line-height: 1.55; color: #fff; font-family: var(--font-body); }
.quote figcaption { font-size: 0.8125rem; color: rgba(255,255,255,0.65); margin-top: 1.1rem; }

/* ------------------------------ Alerts ---------------------------------- */
.alert {
  display: flex; gap: 0.75rem; align-items: flex-start;
  padding: 1rem 1.25rem; border-radius: var(--r-2); border-left: 4px solid var(--border);
  background: var(--gray-soft); font-size: 0.9375rem; color: var(--text);
}
.alert-success { background: rgba(40,167,69,0.08); border-left-color: var(--success); }
.alert-error   { background: rgba(220,53,69,0.07); border-left-color: var(--error); }
.alert-warning { background: rgba(255,193,7,0.12); border-left-color: var(--warning); }
.alert-icon { font-weight: 700; line-height: 1.5; }
.alert-success .alert-icon { color: var(--success); }
.alert-error .alert-icon { color: var(--error); }
.alert-warning .alert-icon { color: var(--gold-dark); }

/* ------------------------------ Forms ----------------------------------- */
.field { display: block; margin-bottom: 1.25rem; }
.field > label { display: block; font-size: 0.875rem; font-weight: 600; color: var(--navy); margin-bottom: 0.5rem; }
.field .req { color: var(--gold-dark); }
.input, .field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--text);
  padding: 0.7rem 0.9rem; border: 1.5px solid var(--border); border-radius: var(--r-2);
  background: #fff; outline: none; transition: border-color var(--t), box-shadow var(--t);
}
.field textarea { resize: vertical; min-height: 7rem; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--gold); box-shadow: 0 0 0 3px rgba(196,160,82,0.25);
}
.field .help { display: block; font-size: 0.75rem; color: var(--gold-dark); margin-top: 0.4rem; }
.field-error input, .field-error select, .field-error textarea { border-color: var(--error); }
.field-error > label { color: var(--error); }
.error-text { display: block; font-size: 0.75rem; color: var(--error); margin-top: 0.4rem; }
.check { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.9375rem; color: var(--text); }
.check input[type="checkbox"] { width: 1.15rem; height: 1.15rem; margin-top: 0.15rem; accent-color: var(--gold); flex: none; }

/* ------------------------------ Table ----------------------------------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r-3); }
.table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; min-width: 34rem; }
.table th, .table td { text-align: left; padding: 0.85rem 1.1rem; border-bottom: 1px solid var(--border); vertical-align: top; }
.table thead th { background: var(--navy-50); color: var(--navy); font-family: var(--font-head); font-weight: 600; font-size: 0.875rem; }
.table tbody tr:last-child td { border-bottom: none; }
.table tr.is-total td { background: var(--navy-50); font-weight: 700; color: var(--navy); }
.table caption { caption-side: bottom; font-size: 0.75rem; color: var(--gold-dark); padding-top: 0.75rem; text-align: left; }

/* --------------------------- Accordion (details) ------------------------ */
.accordion { border: 1px solid var(--border); border-radius: var(--r-3); overflow: hidden; background: #fff; }
.accordion details { border-bottom: 1px solid var(--border); }
.accordion details:last-child { border-bottom: none; }
.accordion summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1rem 1.25rem; font-family: var(--font-body); font-weight: 600; font-size: 0.9375rem;
  color: var(--navy); cursor: pointer; list-style: none;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; color: var(--gold); font-size: 1.4rem; line-height: 1; transition: transform var(--t); }
.accordion details[open] summary::after { content: "–"; }
.accordion .panel { padding: 0 1.25rem 1.1rem; font-size: 0.9375rem; line-height: 1.6; color: var(--text); }

/* ----------------------------- Breadcrumb ------------------------------- */
.breadcrumb { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; font-size: 0.8125rem; }
.breadcrumb .sep { color: var(--gold-dark); }
.breadcrumb [aria-current="page"] { color: var(--navy); font-weight: 600; }
.breadcrumb--light a { color: rgba(255,255,255,0.75); }
.breadcrumb--light a:hover { color: #fff; }
.breadcrumb--light .sep { color: rgba(255,255,255,0.4); }
.breadcrumb--light [aria-current="page"] { color: var(--gold); }

/* ------------------------------- Hero ----------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--navy-900); color: #fff;
  padding-block: clamp(3.5rem, 9vw, 6.5rem);
}
.hero::before {
  content: ""; position: absolute; inset: 0 0 0 auto; width: 45%;
  background: linear-gradient(135deg, transparent, rgba(196,160,82,0.12));
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 { color: #fff; max-width: 18ch; }
.hero .lead { color: rgba(255,255,255,0.74); max-width: 54ch; margin-top: 1.25rem; }
.hero .btn-row { margin-top: 2rem; }
.hero--compact { padding-block: clamp(2.75rem, 6vw, 4.5rem); }
.hero .breadcrumb { margin-bottom: 1.5rem; }

/* ---------------------------- Funnel viz -------------------------------- */
.funnel { display: flex; flex-wrap: wrap; align-items: stretch; gap: 0.5rem; }
.funnel-step {
  flex: 1 1 8rem; text-align: center; padding: 1.25rem 0.75rem;
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-3); box-shadow: var(--sh-card);
  position: relative;
}
.funnel-step .num { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--gold); line-height: 1; }
.funnel-step .lbl { display: block; font-size: 0.8125rem; color: var(--text); margin-top: 0.5rem; }
.funnel-arrow { align-self: center; color: var(--gold-dark); font-weight: 700; }

/* ----------------------------- Timeline --------------------------------- */
.timeline { display: grid; gap: 1.25rem; counter-reset: step; }
.timeline-step {
  position: relative; padding-left: 3.5rem;
}
.timeline-step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 2.5rem; height: 2.5rem; border-radius: 999px;
  background: var(--navy); color: var(--gold);
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem;
  display: flex; align-items: center; justify-content: center;
}
.timeline-step::after {
  content: ""; position: absolute; left: 1.23rem; top: 2.9rem; bottom: -1.6rem;
  width: 2px; background: var(--border);
}
.timeline-step:last-child::after { display: none; }
.timeline-step h3 { font-size: 1.05rem; margin-bottom: 0.2rem; }
.timeline-step .when { font-size: 0.75rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--gold-dark); font-weight: 600; }

/* --------------------------- Feature list ------------------------------- */
.check-list { display: grid; gap: 0.7rem; }
.check-list li { position: relative; padding-left: 1.9rem; line-height: 1.55; }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0.05rem;
  color: var(--gold); font-weight: 700;
}
.rule { width: 56px; height: 4px; background: var(--gold); border-radius: 2px; border: none; }

/* Manifesto */
.manifesto { max-width: 46rem; border-left: 3px solid var(--gold); padding-left: clamp(1.25rem, 3vw, 2rem); }
.manifesto p { font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.6; color: var(--text); }
.manifesto p + p { margin-top: 1.1rem; }
.manifesto .accent { font-family: var(--font-head); font-weight: 600; color: var(--navy); }

/* Avatar / team */
.person { display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; }
.avatar {
  flex: none; width: 6.5rem; height: 6.5rem; border-radius: 999px;
  background: var(--navy); color: var(--gold); border: 3px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; font-size: 1.9rem; letter-spacing: 0.02em;
}

/* ------------------------------ Header ---------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.95); backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--t);
}
.site-header.is-scrolled { box-shadow: var(--sh-card); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.5rem; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 2.6rem; width: auto; }
@media (max-width: 420px) { .brand img { height: 2.2rem; } }
.main-nav { display: flex; align-items: center; gap: 0.35rem; }
.main-nav > ul { display: flex; align-items: center; gap: 0.2rem; }
.nav-link {
  position: relative;
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.55rem 0.85rem; border-radius: var(--r-2);
  font-weight: 500; font-size: 0.95rem; color: var(--navy); background: none; border: none;
}
.nav-link:hover, .nav-link[aria-expanded="true"] { color: var(--navy); background: var(--navy-50); }
.nav-link[aria-current="page"], .nav-link.is-active { color: var(--navy); font-weight: 600; }
.nav-link[aria-current="page"]::after, .nav-link.is-active::after {
  content: ""; position: absolute; left: 0.85rem; right: 0.85rem; bottom: 0.2rem;
  height: 2px; background: var(--gold); border-radius: 2px;
}
.nav-caret { transition: transform var(--t); font-size: 0.7rem; }
.nav-link[aria-expanded="true"] .nav-caret { transform: rotate(180deg); }

.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 0.4rem); left: 0; min-width: 17rem;
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-3); box-shadow: var(--sh-hover);
  padding: 0.5rem; opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity var(--t), transform var(--t), visibility var(--t);
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.dropdown[data-open="true"] { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: 0.6rem 0.8rem; border-radius: var(--r-2); color: var(--navy); font-size: 0.9rem; }
.dropdown a:hover { background: var(--navy-50); }
.dropdown a .d-sub { display: block; font-size: 0.78rem; color: var(--gold-dark); font-weight: 400; margin-top: 0.1rem; }
.dropdown a strong { font-weight: 600; }

.header-cta { display: flex; align-items: center; gap: 0.6rem; }
.nav-cta { display: none; }
.nav-toggle {
  display: none; width: 2.75rem; height: 2.75rem; border: 1px solid var(--border);
  border-radius: var(--r-2); background: #fff; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 1.25rem; height: 2px; background: var(--navy); transition: transform var(--t), opacity var(--t); position: relative;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after  { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

/* ------------------------------ Footer ---------------------------------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,0.7); }
.footer-grid { display: grid; gap: 2rem clamp(1.5rem, 4vw, 3rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); }
.footer-col h3 { font-family: var(--font-head); font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.footer-col ul { display: grid; gap: 0.6rem; }
.footer-col a { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  margin-top: clamp(2rem, 5vw, 3.5rem); padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.12);
  display: flex; flex-wrap: wrap; gap: 1.25rem 2rem; align-items: center; justify-content: space-between;
}
.footer-bottom img { height: 2.5rem; width: auto; }
.footer-meta { font-size: 0.8rem; color: rgba(255,255,255,0.55); line-height: 1.7; }
.footer-social { display: flex; gap: 0.75rem; }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center; width: 2.4rem; height: 2.4rem;
  border: 1px solid rgba(255,255,255,0.18); border-radius: var(--r-2); color: rgba(255,255,255,0.8);
}
.footer-social a:hover { background: rgba(255,255,255,0.08); color: #fff; border-color: rgba(196,160,82,0.6); }
.footer-social svg { width: 1.1rem; height: 1.1rem; }
.footer-badge { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; padding: 0.4rem 0.8rem; border-radius: 999px; background: rgba(40,167,69,0.15); color: #7ed99a; }
.footer-badge:hover { color: #a6ecb8; }

/* ---------------------------- Cookie notice ----------------------------- */
.cookie {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 150;
  max-width: 40rem; margin-inline: auto;
  background: var(--navy-900); color: rgba(255,255,255,0.85);
  border: 1px solid rgba(196,160,82,0.35); border-radius: var(--r-3); box-shadow: var(--sh-premium);
  padding: 1.25rem 1.4rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between;
}
.cookie p { font-size: 0.85rem; line-height: 1.55; flex: 1 1 18rem; margin: 0; }
.cookie p a { color: var(--gold-light); }
.cookie .btn-row { flex: 0 0 auto; }
.cookie .btn { padding: 0.6rem 1.1rem; font-size: 0.85rem; }
.cookie[hidden] { display: none; }

/* ------------------------------ Prose ----------------------------------- */
.prose { max-width: var(--prose); }
.prose > * + * { margin-top: 1.1rem; }
.prose h2 { margin-top: 2.4rem; font-size: clamp(1.4rem, 2.5vw, 1.8rem); }
.prose h3 { margin-top: 1.6rem; }
.prose h2 + p, .prose h3 + p { margin-top: 0.6rem; }
.prose ul { list-style: disc; padding-left: 1.4rem; display: grid; gap: 0.4rem; }
.prose ol { list-style: decimal; padding-left: 1.4rem; display: grid; gap: 0.4rem; }
.prose a { text-decoration: underline; text-underline-offset: 2px; }
.prose strong { color: var(--navy); }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.9rem; margin-block: 0.5rem; }
.prose th, .prose td { border: 1px solid var(--border); padding: 0.6rem 0.8rem; text-align: left; vertical-align: top; }
.prose thead th { background: var(--navy-50); color: var(--navy); }

/* ------------------------- Reveal on scroll ----------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity var(--t-slow) ease, transform var(--t-slow) ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ------------------------------ Utilities ------------------------------- */
.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;
}
.divider { height: 1px; background: var(--border); border: none; }
.note { font-size: 0.8rem; color: var(--gold-dark); }
.pill-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.tag { font-size: 0.85rem; font-weight: 500; color: var(--gold-dark); padding: 0.4rem 0.9rem; border: 1px solid var(--border); border-radius: 999px; background: #fff; filter: grayscale(100%); opacity: 0.85; }

/* ------------------------------ Responsive ------------------------------ */
@media (max-width: 1023px) {
  .nav-toggle { display: inline-flex; }
  .header-cta .btn { display: none; }
  .main-nav {
    position: fixed; inset: 4.5rem 0 auto 0; display: none;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--border); box-shadow: var(--sh-hover);
    padding: 0.75rem var(--gutter) 1.5rem; max-height: calc(100vh - 4.5rem); overflow-y: auto;
  }
  .main-nav.is-open { display: flex; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0.15rem; width: 100%; }
  .nav-link { width: 100%; justify-content: space-between; padding: 0.85rem 0.5rem; font-size: 1rem; }
  .has-dropdown { position: static; }
  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    border: none; border-radius: 0; padding: 0 0 0.5rem 0.9rem; min-width: 0;
    display: block; border-left: 2px solid var(--border);
  }
  .dropdown a .d-sub { display: none; }
  .nav-cta { display: block; }
  .nav-cta .btn { display: inline-flex; width: 100%; margin-top: 0.75rem; }
}

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

/* ------------------------------ Print ----------------------------------- */
@media print {
  .site-header, .site-footer, .cookie, .nav-toggle { display: none !important; }
  body { color: #000; }
}
