/* Move On Argentina
   Colores del logo: naranja #F07B24 (acciones) y azul #2880D0 (links, en su versión oscura).
   Todos los pares de texto/fondo pasan WCAG AA. */

:root {
  --ink: #0F1D2E;
  --text: #1F2B3A;
  --muted: #5A6472;
  --muted-ink: #A9B4C2;
  --paper: #F7F4EF;
  --paper-2: #EFE9E0;
  --white: #FFFFFF;
  --line: rgba(15, 29, 46, .13);
  --line-strong: rgba(15, 29, 46, .28);
  --line-ink: rgba(247, 244, 239, .16);

  --orange: #F07B24;
  --orange-hover: #F58C3F;
  --orange-dark: #A84A0A;
  --blue: #1D5FA0;
  --blue-on-ink: #8EC1F0;

  --radius: 8px;
  --radius-sm: 6px;
  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 72px;
  --font: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body { font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
strong { font-weight: 650; color: var(--ink); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.section-ink :focus-visible, .final :focus-visible, .quiz-result :focus-visible { outline-color: var(--blue-on-ink); }

h1, h2, h3 { color: var(--ink); text-wrap: balance; }
h1, h2 { font-weight: 800; font-stretch: 115%; letter-spacing: -.025em; }
h1 { font-size: clamp(2.35rem, 3.3vw + 1.2rem, 4rem); line-height: 1.02; }
h2 { font-size: clamp(1.9rem, 1.7vw + 1.35rem, 2.8rem); line-height: 1.06; }
h3 { font-size: 1.2rem; font-weight: 700; font-stretch: 105%; line-height: 1.3; letter-spacing: -.01em; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.narrow > * { max-width: 820px; }
.small { font-size: .9rem; color: var(--muted); }
.lead { font-size: 1.15rem; color: var(--muted); }
.ico { width: 20px; height: 20px; flex: none; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 22px; border-radius: var(--radius-sm);
  border: 1px solid transparent; font-size: 1rem; font-weight: 650; font-stretch: 105%; line-height: 1.2;
  text-decoration: none; text-align: center; transition: background-color .15s, border-color .15s, color .15s;
}
.btn-primary { background: var(--orange); color: var(--ink); }
.btn-primary:hover { background: var(--orange-hover); }
.btn-secondary { background: var(--white); color: var(--ink); border-color: var(--line-strong); }
.btn-secondary:hover { border-color: var(--ink); }
.btn-sm { min-height: 42px; padding: 9px 16px; font-size: .95rem; }
.btn-block { width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.linklike { background: none; border: 0; padding: 0; color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(247, 244, 239, .96); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand img { height: 48px; width: auto; }
.nav-list { display: flex; align-items: center; gap: 26px; }
.nav-list a:not(.btn) { color: var(--ink); font-size: .97rem; font-weight: 500; text-decoration: none; }
.nav-list a:not(.btn):hover { color: var(--blue); text-decoration: underline; }
.nav-toggle { display: none; }

@media (max-width: 899px) {
  .nav-toggle { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--white); font-weight: 600; }
  .nav-list {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 4px var(--gutter) 16px; background: var(--paper); border-bottom: 1px solid var(--line);
  }
  .nav[data-open] .nav-list { display: flex; }
  .nav-list a:not(.btn) { display: block; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav-cta-li { margin-top: 14px; }
  .nav-cta-li .btn { width: 100%; }
}

/* ---------- Secciones ---------- */
.section { padding-block: clamp(64px, 8vw, 112px); }
.section-alt { background: var(--paper-2); }
.section-ink { background: var(--ink); color: var(--muted-ink); }
.section-ink h2, .section-ink h3 { color: var(--paper); }
.section-head { max-width: 700px; margin-bottom: 40px; }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 1.08rem; }
.section-ink .section-head p { color: var(--muted-ink); }
.section-head .small { font-size: .9rem; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(36px, 6vw, 88px) clamp(56px, 7vw, 104px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: clamp(36px, 6vw, 88px); align-items: center; }
.hero-kicker { display: flex; align-items: center; gap: 10px; font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-dark); margin-bottom: 16px; }
.hero-kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); flex: none; }
.hero h1 { margin-bottom: 22px; font-size: clamp(2.5rem, 3.4vw + 1.2rem, 4.1rem); font-stretch: 115%; line-height: .98; }
.hero h1 em { display: block; font-style: italic; color: #CC5A0E; }
.hero-note { margin-top: 14px; font-size: .93rem; color: var(--muted); max-width: 34em; }
.hero .lead { margin-bottom: 30px; max-width: 34em; }
.hero-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line-strong); max-width: 600px; }
.hero-facts li { font-size: .9rem; line-height: 1.4; color: var(--muted); }
.hero-facts strong { display: block; font-size: 1.55rem; font-weight: 800; font-stretch: 112%; letter-spacing: -.02em; line-height: 1.1; margin-bottom: 4px; }

.hero-photos { position: relative; padding: 0 0 18% 16%; }
.hero-photo img { width: 100%; object-fit: cover; border-radius: var(--radius); }
.hero-photo figcaption { margin-top: 8px; font-size: .85rem; font-weight: 600; color: var(--muted); }
.hero-photo-main img { aspect-ratio: 4 / 5; object-position: 55% 40%; }
.hero-photo-main figcaption { text-align: right; }
.hero-photo-second { position: absolute; left: 0; bottom: 0; width: 46%; background: var(--paper); padding: 8px 8px 4px; border-radius: 10px; }
.hero-photo-second img { aspect-ratio: 1 / 1; object-position: 50% 0; }
.hero-photo-second figcaption { margin-top: 6px; }

@media (max-width: 899px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photos { max-width: 460px; }
}
@media (max-width: 400px) {
  .hero h1 { font-size: 2.2rem; font-stretch: 110%; }
  .hero-kicker { margin-bottom: 10px; }
  .hero .lead { font-size: 1.05rem; margin-bottom: 24px; }
}
@media (max-width: 520px) {
  .hero .actions .btn { width: 100%; }
  .hero-facts { gap: 12px; }
  .hero-facts strong { font-size: 1.25rem; }
  .hero-facts li { font-size: .8rem; }
}

/* ---------- Programas ---------- */
.programs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.program { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .15s; }
.program:hover { border-color: var(--line-strong); }
.program img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.program-body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; }
.program h3 { font-size: 1.5rem; font-weight: 800; font-stretch: 112%; }
.program-body p { color: var(--muted); margin-top: 8px; }
.program-body .program-price { color: var(--ink); font-weight: 650; margin-top: auto; padding-top: 16px; }
.program-body a { margin-top: 6px; font-weight: 650; align-self: flex-start; }
.program-body a::after { content: ""; position: absolute; inset: 0; } /* toda la tarjeta es clickeable */
@media (max-width: 860px) { .programs { grid-template-columns: 1fr; max-width: 560px; } }

/* ---------- Cómo trabajamos ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; counter-reset: step; margin-bottom: 64px; }
.steps li { counter-increment: step; border-top: 2px solid var(--ink); padding-top: 14px; }
.steps li::before { content: counter(step); display: block; font-size: 2.6rem; font-weight: 800; font-stretch: 115%; line-height: 1; color: var(--orange-dark); margin-bottom: 12px; }
.steps p { margin-top: 8px; color: var(--muted); font-size: 1rem; }
@media (max-width: 899px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; gap: 28px; } }

.plan-sheet figcaption { max-width: 700px; margin-bottom: 16px; color: var(--muted); }
.table-scroll { overflow-x: auto; background: var(--white); border: 1px solid var(--line-strong); border-radius: var(--radius); }
.plan-sheet table { width: 100%; min-width: 860px; border-collapse: collapse; font-size: .92rem; line-height: 1.35; }
.plan-sheet th, .plan-sheet td { padding: 11px 12px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); text-align: left; vertical-align: top; }
.plan-sheet tr > :last-child { border-right: 0; }
.plan-sheet tbody tr:last-child > * { border-bottom: 0; }
.plan-sheet thead th { background: var(--ink); color: #fff; font-weight: 600; font-size: .85rem; border-color: rgba(255, 255, 255, .14); }
.plan-sheet tbody th { font-weight: 800; font-stretch: 112%; color: var(--ink); width: 76px; text-align: center; font-size: 1.1rem; }
.plan-sheet td.rest { color: var(--muted); }
.plan-sheet td.num { font-weight: 700; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; background: rgba(240, 123, 36, .1); }
.plan-sheet tbody tr:nth-child(even) > :not(.num) { background: var(--paper); }
.plan-sheet-note { margin-top: 12px; font-size: .95rem; color: var(--muted); }

/* ---------- Quiénes somos ---------- */
.coaches { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 5vw, 64px); }
.coach img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius); margin-bottom: 22px; }
.coach h3 { font-size: clamp(1.9rem, 1.4vw + 1.3rem, 2.5rem); font-weight: 800; font-stretch: 115%; letter-spacing: -.025em; line-height: 1.05; }
.coach-role { color: var(--orange-dark); font-weight: 650; margin: 6px 0 14px; }
.coach > p:not(.coach-role) { color: var(--muted); }
.creds { margin: 18px 0; display: grid; gap: 7px; }
.creds li { position: relative; padding-left: 20px; color: var(--ink); font-weight: 550; }
.creds li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; background: var(--orange); }
.coach .coach-tags { font-size: .95rem; }
@media (max-width: 760px) { .coaches { grid-template-columns: 1fr; gap: 56px; } }

/* ---------- Bloques de venta en Planes ---------- */
.cam-for { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 32px; margin: -10px 0 30px; max-width: 900px; }
.cam-for li { position: relative; padding-left: 20px; color: var(--text); }
.cam-for li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; background: var(--orange); }
.lead-magnet { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin-top: 24px; max-width: 780px; padding: 20px 24px; background: var(--white); border: 1px dashed var(--line-strong); border-radius: var(--radius); }
.lead-magnet h3 { font-size: 1.15rem; }
.lead-magnet p { color: var(--muted); margin-top: 2px; }
@media (max-width: 600px) { .cam-for { grid-template-columns: 1fr; } .lead-magnet .btn { width: 100%; } }

/* ---------- Testimonios ---------- */
.quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 64px; }
.quote { border-top: 1px solid var(--line-ink); padding-top: 22px; }
.quote-result { text-wrap: balance; font-size: clamp(1.35rem, .8vw + 1.1rem, 1.7rem); font-weight: 800; font-stretch: 112%; letter-spacing: -.02em; line-height: 1.15; color: var(--orange); }
.quote blockquote { margin: 12px 0 14px; }
.quote blockquote p { color: var(--paper); font-size: 1.04rem; }
.quote figcaption { font-size: .95rem; color: var(--muted-ink); }
@media (max-width: 760px) { .quotes { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- Test ---------- */
.quiz-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.quiz-layout > .section-head { position: sticky; top: calc(var(--header-h) + 24px); }
.quiz { display: grid; gap: 26px; }
.q { border: 0; padding: 0; min-width: 0; }
.q legend { font-weight: 700; font-stretch: 105%; color: var(--ink); font-size: 1.1rem; margin-bottom: 12px; padding: 0; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opts label { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 10px 16px 10px 12px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--white); cursor: pointer; line-height: 1.3; transition: background-color .15s, border-color .15s, color .15s; }
.opts label:hover { border-color: var(--ink); }
.opts label:has(input:checked) { background: var(--ink); border-color: var(--ink); color: #fff; }
.opts input { width: 18px; height: 18px; margin: 0; accent-color: var(--orange); flex: none; }
.q-missing legend { color: var(--orange-dark); }
.q-missing legend::after { content: " (falta responder)"; font-weight: 500; font-size: .9rem; }
.quiz-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.quiz-error { color: var(--orange-dark); font-weight: 600; }
.quiz-result { background: var(--ink); color: var(--muted-ink); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); outline: none; }
.qr-label { font-size: .95rem; font-weight: 600; color: var(--orange); }
.qr-name { color: var(--paper); font-size: clamp(1.8rem, 1.5vw + 1.3rem, 2.4rem); font-weight: 800; font-stretch: 115%; letter-spacing: -.025em; margin: 4px 0 6px; }
.qr-price { font-weight: 600; color: var(--paper); }
.qr-why { margin: 12px 0 22px; }
.quiz-result .btn-secondary { background: transparent; color: var(--paper); border-color: rgba(247, 244, 239, .4); }
.quiz-result .btn-secondary:hover { border-color: var(--paper); }
.qr-preview { margin-top: 18px; font-size: .92rem; }
.qr-preview summary { cursor: pointer; color: var(--blue-on-ink); text-decoration: underline; text-underline-offset: 3px; }
.qr-msg { margin-top: 8px; white-space: pre-line; padding-left: 12px; border-left: 2px solid var(--line-ink); }
@media (max-width: 899px) { .quiz-layout { grid-template-columns: 1fr; } .quiz-layout > .section-head { position: static; } }
@media (max-width: 520px) { .quiz-actions .btn, .quiz-result .actions .btn { width: 100%; } }

/* ---------- Planes ---------- */
.tabs { display: inline-flex; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 26px; background: var(--white); }
.tabs button { min-height: 46px; padding: 10px 22px; border: 0; background: transparent; font-weight: 650; color: var(--ink); }
.tabs button + button { border-left: 1px solid var(--line-strong); }
@media (max-width: 520px) { .tabs { display: grid; grid-template-columns: 1fr 1fr; width: 100%; } .tabs button { padding: 10px 8px; font-size: .95rem; } }
.tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
.plan-common { margin-bottom: 30px; color: var(--muted); max-width: 720px; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plans-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 780px; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px 24px; }
.plan-featured { background: var(--ink); border-color: var(--ink); color: var(--muted-ink); }
.plan-flag { position: absolute; top: -.85em; left: 18px; padding: 2px 10px; border-radius: var(--radius-sm); background: var(--orange); color: var(--ink); font-size: .85rem; font-weight: 700; line-height: 1.5; }
.plan h3 { font-size: 1.55rem; font-weight: 800; font-stretch: 112%; }
.plan-featured h3 { color: var(--paper); }
.plan-for { margin-top: 6px; color: var(--muted); font-size: .97rem; min-height: 3em; }
.plan-featured .plan-for { color: var(--muted-ink); }
.price { margin: 18px 0; padding: 16px 0; border-block: 1px solid var(--line); color: var(--muted); }
.plan-featured .price { border-color: var(--line-ink); color: var(--muted-ink); }
.price strong { font-size: 2.2rem; font-weight: 800; font-stretch: 112%; letter-spacing: -.025em; color: var(--ink); font-variant-numeric: tabular-nums; }
.plan-featured .price strong { color: var(--paper); }
.price span { display: block; font-size: .9rem; margin-top: 2px; }
.checks { display: grid; gap: 9px; margin-bottom: 26px; flex: 1; align-content: start; }
.checks li { position: relative; padding-left: 24px; font-size: .97rem; line-height: 1.4; }
.plan-featured .checks li { color: var(--paper); }
.checks li::before { content: ""; position: absolute; left: 0; top: .15em; width: 16px; height: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23A84A0A' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round' d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E") center / 16px no-repeat; }
.plan-featured .checks li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23F07B24' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round' d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E"); }
.plan-help { margin-top: 34px; }
.plan-legal { margin-top: 8px; max-width: 760px; }
@media (max-width: 960px) {
  .plans, .plans-2 { grid-template-columns: 1fr; max-width: 560px; gap: 28px; }
  .plan-for { min-height: 0; }
}

/* ---------- Preguntas ---------- */
.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 19px 0; font-weight: 650; font-stretch: 103%; color: var(--ink); font-size: 1.1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--orange-dark); font-weight: 500; }
.faq details[open] summary::after { content: "−"; }
.faq summary:hover { color: var(--blue); }
.faq details p { padding: 0 0 22px; color: var(--muted); max-width: 46em; }

/* ---------- Cierre ---------- */
.final { background: var(--ink); color: var(--muted-ink); padding-block: clamp(64px, 8vw, 112px); }
.final h2 { color: var(--paper); font-size: clamp(2.3rem, 3vw + 1.2rem, 3.8rem); }
.final p { margin: 14px 0 30px; max-width: 34em; font-size: 1.12rem; }
.final-link { color: var(--blue-on-ink); }
.final-ig { margin: 26px 0 0; font-size: .97rem; }
.final-ig a { color: var(--blue-on-ink); }

/* ---------- Footer ---------- */
.footer { background: var(--paper-2); padding-top: 52px; }
.footer-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-bottom: 32px; }
.footer-brand img { height: 52px; width: auto; margin-bottom: 12px; }
.footer-brand p { color: var(--muted); font-size: .95rem; max-width: 24em; }
.footer-links li { margin-bottom: 4px; }
.footer-links a, .footer-links .linklike { display: inline-flex; align-items: center; min-height: 40px; font-size: .97rem; color: var(--ink); text-decoration: none; }
.footer-links a:hover, .footer-links .linklike:hover { color: var(--blue); text-decoration: underline; }
.footer-links .linklike { text-decoration: none; }
.footer-legal p { border-top: 1px solid var(--line); padding: 18px 0 28px; font-size: .9rem; color: var(--muted); }
@media (max-width: 760px) { .footer-in { grid-template-columns: 1fr; gap: 20px; } }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 40;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: #25D366; color: #fff;
  box-shadow: 0 2px 10px rgba(15, 29, 46, .28);
  visibility: hidden; opacity: 0; transition: opacity .2s, visibility .2s;
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float.show { visibility: visible; opacity: 1; }

.mobile-bar { display: none; }
@media (max-width: 760px) {
  .wa-float { display: none; }
  .mobile-bar {
    display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(247, 244, 239, .97); border-top: 1px solid var(--line);
    transform: translateY(110%); transition: transform .25s ease;
  }
  .mobile-bar .btn { min-height: 46px; padding: 10px 12px; font-size: .95rem; }
  .mobile-bar.show { transform: none; }
  .footer { padding-bottom: 76px; }
}

/* ---------- Modal ---------- */
.modal { border: 1px solid var(--line-strong); border-radius: var(--radius); padding: clamp(24px, 4vw, 36px); max-width: 580px; width: calc(100% - 32px); max-height: 85vh; color: var(--text); background: var(--paper); }
.modal::backdrop { background: rgba(15, 29, 46, .55); }
.modal h2 { font-size: 1.7rem; margin-bottom: 14px; padding-right: 40px; }
.modal h3 { font-size: 1rem; margin: 16px 0 4px; }
.modal p { color: var(--muted); font-size: .97rem; }
.modal .small { margin-top: 20px; }
.modal-close-f { position: absolute; top: 12px; right: 12px; }
.modal-close { width: 40px; height: 40px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--white); font-size: 1.4rem; line-height: 1; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .mobile-bar { transition: none; } }
