/* Portal de convenios · Clínica S&D (convenios.clinicasyd.cl)

   Mismas convenciones que clinicasyd.cl: los colores viven en :root y no se repiten como hex
   sueltos; las fuentes son propias (la CSP solo permite font-src 'self', sin Google Fonts);
   nada de estilos en línea. El aspecto es el del diseño "Portal de convenios Clínica S&D ·
   propuesta": Manrope también en los títulos, fondo marfil, tarjetas blancas y botones píldora. */

@font-face { font-family: 'Manrope'; src: url('/assets/fonts/manrope-latin.woff2') format('woff2'); font-weight: 200 800; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; src: url('/assets/fonts/manrope-flechas.woff2') format('woff2'); font-weight: 200 800; font-style: normal; font-display: swap; unicode-range: U+2190-2192, U+2197; }

/* ─── tokens ─────────────────────────────────────────────────────────── */
[hidden] { display: none !important; }
:root {
  --bg: #f7f5f1;
  --card: #ffffff;
  --panel: #eae2d6;
  --tint: #f3eee7;
  --fg: #302720;
  --muted: #716358;
  --muted-strong: #5d5148;
  --accent: #654c3b;
  --on-accent: #ffffff;
  --border: #ddd4c8;
  --border-panel: #cfc4b5;
  --border-input: #8c7c6e;
  --line: #b9ab9b;
  --focus: #9a7b65;
  --error: #b42318;
  --photo-bg: #1b1512;
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --container: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --radius: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --pill: 999px;
}

/* ─── base ───────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ol, ul, dl, dd, fieldset, legend { margin: 0; padding: 0; }
ol, ul { list-style: none; }
fieldset { border: 0; min-width: 0; }
img, svg { display: block; max-width: 100%; }
button, input, select { font: inherit; color: inherit; }
a { color: var(--accent); }
a:hover { color: var(--fg); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
.skip { position: absolute; left: 20px; top: -100px; z-index: 100; background: var(--bg); padding: 12px; }
.skip:focus { top: 10px; }
.icon { flex: none; color: var(--accent); }
.num { font-variant-numeric: tabular-nums; }

/* ─── primitivas ─────────────────────────────────────────────────────── */
/* El ancho útil es de 1200 px más el margen lateral, como en el diseño. */
.container { box-sizing: content-box; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.band { background: var(--card); }
.section { display: flex; flex-direction: column; gap: clamp(28px, 4vw, 48px); padding-block: clamp(44px, 6vw, 88px); }
.section-head { display: flex; flex-direction: column; gap: 16px; }

.eyebrow { font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
h1 { font-weight: 500; letter-spacing: -0.045em; text-wrap: balance; }
.h2 { font-size: clamp(28px, 3.2vw, 44px); font-weight: 500; line-height: 1.12; letter-spacing: -0.04em; text-wrap: balance; }
.h2--short { max-width: 18ch; }
.lead { font-size: 17px; line-height: 1.7; color: var(--muted); }
.hint { font-size: 14px; color: var(--muted); }

/* ─── botones ────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 28px;
  border: 0; border-radius: var(--pill);
  font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap;
  cursor: pointer;
}
.btn:hover { filter: brightness(.92); }
.btn:disabled { opacity: .65; cursor: not-allowed; filter: none; }
.btn-primary, .btn-primary:hover { background: var(--accent); color: var(--on-accent); }
.btn-outline, .btn-outline:hover { border: 1px solid var(--accent); background: transparent; color: var(--accent); }
.btn-outline { padding-inline: 24px; }
.btn-nav, .btn-nav:hover { min-height: 46px; padding-inline: 20px; border: 1px solid var(--fg); background: transparent; color: var(--fg); font-size: 14px; }
.btn-doctor { margin-top: auto; justify-content: space-between; gap: 12px; min-height: 50px; padding-inline: 20px; }
.link-strong { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--fg); font-size: 14px; font-weight: 600; text-underline-offset: 4px; }

/* ─── barra superior y pie ───────────────────────────────────────────── */
.topnav { border-bottom: 1px solid var(--border); }
.topnav-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-block: 14px; }
.logo, .logo:hover { display: flex; flex-direction: column; justify-content: center; gap: 2px; min-height: 44px; color: var(--fg); text-decoration: none; }
.logo span { font-size: 26px; font-weight: 600; letter-spacing: -0.06em; line-height: 1; }
.logo small { font-size: 10px; letter-spacing: 0.13em; color: var(--muted); line-height: 1.2; }

.pagefoot { border-top: 1px solid var(--border); font-size: 14px; color: var(--muted); }
.pagefoot-inner { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 20px 48px; padding-block: 32px 40px; }
.pagefoot-brand { display: flex; flex-direction: column; gap: 6px; }
.pagefoot-brand strong { font-size: 22px; font-weight: 600; letter-spacing: -0.06em; color: var(--fg); line-height: 1; }
.pagefoot nav { display: flex; flex-wrap: wrap; gap: 4px 28px; }
.pagefoot a, .pagefoot a:hover { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); text-underline-offset: 3px; }
.pagefoot--slim .pagefoot-inner { align-items: center; gap: 4px 32px; padding-block: 20px 28px; }

/* ─── campos ─────────────────────────────────────────────────────────── */
.field { display: flex; flex-direction: column; gap: 8px; }
.field > label, .code-card > label, legend { font-size: 15px; font-weight: 600; }
.input {
  width: 100%; min-height: 52px; padding: 0 16px;
  border: 1px solid var(--border-input); border-radius: var(--radius);
  background: var(--bg); color: var(--fg);
  font-size: 16px;
}
select.input { padding-inline: 14px; }
.input::placeholder { color: var(--muted); opacity: 1; }
.input[aria-invalid="true"] { border: 1.5px solid var(--error); background: var(--card); }
.field-ok { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted-strong); }
.field-error { display: flex; align-items: flex-start; gap: 6px; font-size: 14px; line-height: 1.45; color: var(--error); }
.field-error .icon { color: var(--error); }
/* Campo trampa para bots: fuera de pantalla y fuera del orden de tabulación. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ─── entrada: portada ───────────────────────────────────────────────── */
.hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(460px, 100%), 1fr)); gap: clamp(28px, 5vw, 64px); align-items: center; padding-block: clamp(36px, 6vw, 72px); }
.hero-copy { display: flex; flex-direction: column; gap: 24px; }
.hero h1 { font-size: clamp(38px, 4.4vw, 62px); line-height: 1.08; }
.hero h1 span { color: var(--accent); }
.hero .lead { max-width: 46ch; text-wrap: pretty; }
.hero-photo { width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius-lg); background: var(--panel); }

.code-card { display: flex; flex-direction: column; gap: 12px; padding: clamp(20px, 3vw, 28px); background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.code-row { display: flex; flex-wrap: wrap; gap: 12px; }
.code-row .input { flex: 4 1 220px; min-width: 0; width: auto; }
.code-row .btn { flex: 1 1 198px; padding-inline: 24px; }
.code-card .hint { line-height: 1.55; }
.code-card .hint a { text-underline-offset: 3px; white-space: nowrap; }
.checks { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; color: var(--muted); }
.checks li { display: inline-flex; align-items: center; gap: 8px; }

/* ─── entrada: cómo funciona ─────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: clamp(24px, 3vw, 40px); }
.steps li { display: flex; flex-direction: column; gap: 10px; padding-top: 24px; border-top: 1px solid var(--border); }
.steps h3 { margin-top: 6px; font-size: 20px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.3; }
.steps p { font-size: 15px; color: var(--muted); max-width: 38ch; }
.badge { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--panel); color: var(--accent); font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }

/* ─── entrada: equipo ────────────────────────────────────────────────── */
.team .lead { max-width: 52ch; }
.doctor-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); gap: clamp(20px, 2.5vw, 32px); }
.doctor { display: flex; flex-wrap: wrap; overflow: hidden; background: var(--card); border-radius: var(--radius-lg); }
.doctor-photo { flex: 1 1 200px; min-width: 0; position: relative; min-height: clamp(250px, 24vw, 340px); background: var(--photo-bg); }
.doctor-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 16%; }
/* content-box: los 240 px son de texto, sin contar el relleno, igual que en el diseño. */
.doctor-body { box-sizing: content-box; flex: 1.4 1 240px; min-width: 0; display: flex; flex-direction: column; gap: 12px; padding: clamp(24px, 3vw, 32px); }
.doctor-body h3 { font-size: 24px; font-weight: 500; letter-spacing: -0.03em; line-height: 1.2; }
.doctor-role { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; color: var(--accent); }
.doctor-bio { font-size: 15px; color: var(--muted); }
.doctor-areas { font-size: 14px; }

/* ─── entrada: áreas ─────────────────────────────────────────────────── */
.areas { gap: clamp(24px, 3vw, 40px); }
.areas .lead { max-width: 56ch; }
.area-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); column-gap: clamp(24px, 4vw, 64px); }
.area-row, .area-row:hover { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 8px; border-top: 1px solid var(--border); color: var(--fg); text-decoration: none; }
.area-row:hover { background: var(--bg); }
.area-text { display: flex; flex-direction: column; gap: 4px; }
.area-name { font-size: 18px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.3; }
.area-desc { font-size: 14px; color: var(--muted); }
.area-who { font-size: 13px; color: var(--accent); }
.area-arrow { font-size: 20px; color: var(--accent); }

/* ─── entrada: preguntas ─────────────────────────────────────────────── */
.faq { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: clamp(24px, 5vw, 80px); align-items: start; padding-block: clamp(44px, 6vw, 88px); }
.faq .lead { max-width: 40ch; }
.faq-list details { border-top: 1px solid var(--border); }
.faq-list details:last-child { border-bottom: 1px solid var(--border); }
.faq-list summary { padding: 18px 0; min-height: 44px; font-size: 18px; font-weight: 500; letter-spacing: -0.02em; cursor: pointer; }
.faq-list p { padding-bottom: 20px; font-size: 15px; color: var(--muted); max-width: 56ch; }

/* ─── entrada: contacto y cierre ─────────────────────────────────────── */
.contact { gap: clamp(24px, 3vw, 40px); }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); gap: clamp(20px, 3vw, 32px); }
.contact-item { display: flex; flex-direction: column; gap: 8px; padding-top: 20px; border-top: 1px solid var(--border); }
.contact-item dt { font-size: 13px; color: var(--muted); }
.contact-item dd { font-size: 16px; font-weight: 500; }
/* En el diseño son texto plano; aquí son enlaces (mapa y WhatsApp) que se ven igual. */
.contact-item a, .contact-item a:hover { color: var(--fg); text-decoration: none; text-underline-offset: 3px; }
.contact-item a:hover, .contact-item a:focus-visible { text-decoration: underline; }

.cta { padding-block: clamp(40px, 6vw, 80px); }
.cta-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; padding: clamp(28px, 4.5vw, 56px); background: var(--panel); border-radius: var(--radius-lg); }
.cta-copy { flex: 1 1 320px; display: flex; flex-direction: column; gap: 12px; }
.cta-copy h2 { font-size: clamp(26px, 2.6vw, 36px); font-weight: 500; line-height: 1.15; letter-spacing: -0.04em; text-wrap: balance; }
.cta-copy p { font-size: 15px; color: var(--muted-strong); max-width: 52ch; }

/* ─── solicitud: estructura de los dos pasos ─────────────────────────── */
.flow { display: flex; flex-direction: column; gap: clamp(24px, 3vw, 36px); padding-block: clamp(28px, 4vw, 52px) clamp(48px, 6vw, 88px); }
.flow-intro { display: flex; flex-direction: column; gap: 14px; }
.flow-intro h1 { font-size: clamp(32px, 3.6vw, 48px); line-height: 1.1; }
.flow-intro .lead { max-width: 56ch; }

.progress { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; font-size: 15px; }
.progress li { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.progress .is-done { color: var(--fg); }
.progress [aria-current] { color: var(--fg); font-weight: 600; }
.progress .step-num { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--border-input); font-size: 14px; }
.progress [aria-current] .step-num { border-color: var(--accent); background: var(--accent); color: var(--on-accent); }
.progress .is-done .step-num { border: 1.5px solid var(--accent); }
.progress .step-sep { flex: 0 1 72px; min-width: 24px; height: 1px; background: var(--line); }
.progress .step-sep.is-done { background: var(--accent); }

.flow-layout { display: flex; flex-wrap: wrap; align-items: flex-start; gap: clamp(20px, 2.5vw, 28px); }
.form-card { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 30px; padding: clamp(22px, 3vw, 36px); background: var(--card); border-radius: var(--radius-lg); }
.form-card--datos { gap: 28px; }
.flow-aside { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }

/* Opciones grandes (profesional y modalidad): un radio real dentro de la etiqueta. */
.choice-group legend { margin-bottom: 12px; }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 12px; }
.choice { position: relative; display: flex; align-items: center; gap: 14px; min-height: 68px; padding: 12px 16px; border: 1px solid var(--border-input); border-radius: var(--radius-md); font-size: 15px; cursor: pointer; }
.choice--doctor { min-height: 84px; padding-block: 14px; }
.choice input, .chip input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.choice:has(input:checked) { border: 1.5px solid var(--accent); background: var(--tint); }
.choice:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 3px; }
.choice:has(input:disabled) { border: 1px dashed var(--line); background: transparent; cursor: not-allowed; }
.choice img { flex: none; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: center 10%; }
.choice:has(input:disabled) img { filter: grayscale(1); opacity: .55; }
.choice-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.choice-text strong { font-size: 16px; font-weight: 600; }
.choice-text small { font-size: 14px; color: var(--muted); }
.choice:has(input:checked) .choice-text small { color: var(--muted-strong); }
.choice:has(input:disabled) .choice-text strong { color: var(--muted); }
.choice-mark { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--border-input); }
.choice:has(input:checked) .choice-mark { border-color: var(--accent); }
.choice:has(input:checked) .choice-mark::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.choice:has(input:disabled) .choice-mark { display: none; }

/* Opciones cortas en píldora (preferencia de día, horario y canal de contacto). */
.when { display: flex; flex-direction: column; gap: 14px; }
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.chips-label { margin-right: 4px; font-size: 14px; color: var(--muted); }
.chip { position: relative; display: inline-flex; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--border-input); border-radius: var(--pill); font-size: 14px; font-weight: 500; cursor: pointer; }
.chip input:checked + span { border-color: var(--accent); background: var(--accent); color: var(--on-accent); font-weight: 600; }
.chip input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 3px; }

.form-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 24px; border-top: 1px solid var(--border); }
.form-actions--datos { gap: 12px 16px; }
.btn-next { flex: 1 1 256px; max-width: 336px; }
.link-back { display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 8px; color: var(--fg); font-size: 15px; font-weight: 600; text-underline-offset: 4px; }

/* ─── solicitud: resumen lateral ─────────────────────────────────────── */
.summary { display: flex; flex-direction: column; padding: clamp(22px, 2.6vw, 28px); background: var(--panel); border-radius: var(--radius-lg); }
.summary h2 { margin-bottom: 14px; font-size: 22px; font-weight: 500; letter-spacing: -0.03em; line-height: 1.2; }
.summary dl > div { display: flex; flex-direction: column; gap: 2px; padding: 12px 0; border-top: 1px solid var(--border-panel); }
.summary dt { font-size: 13px; color: var(--muted-strong); }
.summary dd { font-size: 15px; font-weight: 600; overflow-wrap: anywhere; }
.summary .state { font-weight: 400; color: var(--muted-strong); }
.summary-note { display: flex; align-items: flex-start; gap: 8px; padding-top: 14px; border-top: 1px solid var(--border-panel); font-size: 13px; color: var(--muted-strong); }
.summary-edit { display: inline-flex; align-items: center; min-height: 44px; margin-top: 4px; padding-top: 14px; border-top: 1px solid var(--border-panel); font-size: 14px; font-weight: 600; text-underline-offset: 4px; }
.help { display: flex; flex-direction: column; gap: 6px; padding: 0 8px; font-size: 14px; color: var(--muted); }
.help strong { font-size: 16px; font-weight: 600; color: var(--fg); }
.help a { white-space: nowrap; }

/* ─── solicitud: tus datos ───────────────────────────────────────────── */
.field-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 24px 20px; }
.phone { display: flex; }
.phone-prefix { flex: none; display: grid; place-items: center; min-height: 52px; padding: 0 14px; border: 1px solid var(--border-input); border-right: 0; border-radius: var(--radius) 0 0 var(--radius); background: var(--panel); font-size: 16px; font-variant-numeric: tabular-nums; }
.phone .input { flex: 1; min-width: 0; border-radius: 0 var(--radius) var(--radius) 0; }
.consent-block { display: flex; flex-direction: column; gap: 16px; }
.consent { display: flex; align-items: flex-start; gap: 12px; min-height: 44px; font-size: 15px; cursor: pointer; }
.consent input { flex: none; width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--accent); }
.consent a { text-underline-offset: 3px; white-space: nowrap; }
.notice { display: flex; align-items: flex-start; gap: 10px; padding: 14px 16px; border-radius: var(--radius); background: var(--bg); font-size: 14px; color: var(--muted-strong); }
.notice--error { border: 1px solid var(--error); background: var(--card); color: var(--error); }
.notice--error .icon { color: var(--error); }
.notice--error a, .notice--error a:hover { color: var(--error); font-weight: 600; text-underline-offset: 3px; }

/* ─── confirmación ───────────────────────────────────────────────────── */
.done { box-sizing: content-box; max-width: 1040px; margin-inline: auto; display: flex; flex-direction: column; gap: clamp(28px, 3.5vw, 44px); padding: clamp(36px, 5vw, 72px) var(--gutter) clamp(48px, 6vw, 88px); }
.done-head { display: flex; flex-direction: column; gap: 18px; }
.done-head h1 { font-size: clamp(34px, 4vw, 56px); line-height: 1.08; }
.done-head .lead { max-width: 58ch; }
.done-check { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--panel); }
.ticket { align-self: flex-start; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding: 10px 18px; border: 1px solid var(--border); border-radius: var(--pill); background: var(--card); font-size: 14px; }
.ticket span { color: var(--muted); }
.ticket strong { font-weight: 600; }
.done-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr)); gap: clamp(20px, 2.5vw, 28px); align-items: start; }
.next-card { display: flex; flex-direction: column; gap: 20px; padding: clamp(22px, 3vw, 32px); background: var(--card); border-radius: var(--radius-lg); }
.next-card h2 { font-size: 22px; font-weight: 500; letter-spacing: -0.03em; line-height: 1.2; }
.next-list { display: flex; flex-direction: column; gap: 18px; }
.next-list li { display: flex; align-items: flex-start; gap: 14px; }
.next-list .badge { flex: none; width: 32px; height: 32px; }
.next-text { display: flex; flex-direction: column; gap: 2px; }
.next-text strong { font-size: 16px; font-weight: 600; }
.next-text span { font-size: 15px; color: var(--muted); }
.summary--done { padding: clamp(22px, 3vw, 32px); }
.summary--done dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); column-gap: 20px; }
.done-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.done-actions .link-back { padding-inline: 8px; }

/* ─── página no encontrada ───────────────────────────────────────────── */
.lost { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding-block: clamp(48px, 8vw, 120px); }
.lost h1 { font-size: clamp(34px, 4vw, 56px); line-height: 1.08; }
.lost .lead { max-width: 52ch; }

/* ─── comprobante impreso ────────────────────────────────────────────── */
@media print {
  body { background: var(--card); }
  .skip, .topnav .link-strong, .done-actions, .pagefoot a { display: none; }
  .done { padding-block: 24px; }
  .next-card, .summary { border: 1px solid var(--border); }
}
