/* ============================================================
   TB Tasaciones — sistema visual compartido (home, /express, páginas auxiliares)
   Dirección: estructura "Técnica" (retícula de plano, cotas, numerales mono,
   esquinas vivas, azul noche dominante) + tipografía "Editorial" (Fraunces 300
   en titulares, filetes dorados finos, aire, servicios en filas).
   Contraste: dorado #c9a84c solo sobre azul noche o como relleno; sobre fondo
   claro el dorado de texto es #7a5f14 (6,6:1 sobre blanco).
   ============================================================ */

:root {
  /* color */
  --navy: #0d2a6e;
  --navy-deep: #071a47;
  --navy-2: #10327f;
  --gold: #c9a84c;
  --gold-text: #7a5f14;
  --cream: #f4efe4;
  --ink: #0d2a6e;
  --muted: #4a5568;
  --white: #ffffff;
  --line: rgba(13, 42, 110, .16);
  --line-strong: rgba(13, 42, 110, .35);
  --line-dark: rgba(255, 255, 255, .16);
  --on-dark: #c7d1e8;      /* texto secundario sobre azul noche: 9,5:1 */
  --on-dark-soft: #aab7d6; /* 6,9:1 */
  --ok: #1f7a43;
  --err: #b3261e;
  --wa: #128c4a;           /* WhatsApp, oscurecido para 4,5:1 con blanco */

  /* tipografía */
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* escala de espaciado (A): 8 px */
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 40px; --s6: 48px;
  --s8: 64px; --s10: 80px; --s12: 96px;

  /* compatibilidad con tokens antiguos usados por scripts/estilos de página */
  --azul-noche: var(--navy);
  --azul-principal: var(--navy-2);
  --azul-medio: var(--navy-2);
  --azul-claro: var(--on-dark-soft);
  --azul-fondo: #e8eef8;
  --dorado: var(--gold);
  --dorado-texto: var(--gold-text);
  --blanco: var(--white);
  --gris-texto: var(--muted);
  --gris-suave: var(--cream);
  --borde: #cfd6e6;
  --rojo: var(--err);
  --verde: var(--ok);
  --radio: 0;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  font-family: var(--sans); font-weight: 300; font-size: 16px; line-height: 1.6;
  color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
strong, b { font-weight: 500; }
button { font: inherit; color: inherit; }

/* foco visible en todo elemento interactivo */
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.on-dark :focus-visible, .tb-nav :focus-visible { outline-color: var(--gold); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 1000; background: var(--gold); color: var(--navy); padding: 8px 14px; font-family: var(--mono); font-size: 13px; }
.skip:focus { left: 8px; }

/* ── contenedores ───────────────────────────────────────── */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 clamp(16px, 5vw, 64px); }
.wrap-narrow { max-width: 820px; margin: 0 auto; padding: 0 clamp(16px, 5vw, 64px); }
.sec { padding: var(--s10) 0 var(--s8); }
.sec-dark { background: var(--navy); color: var(--white); }
.sec-cream { background: var(--cream); }
@media (max-width: 760px) { .sec { padding: var(--s6) 0 var(--s5); } }

/* retícula de plano (C): 16 px fina, 80 px gruesa */
.grid-light {
  background-color: var(--white);
  background-image:
    linear-gradient(rgba(13,42,110,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(13,42,110,.06) 1px, transparent 1px),
    linear-gradient(rgba(13,42,110,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(13,42,110,.12) 1px, transparent 1px);
  background-size: 16px 16px, 16px 16px, 80px 80px, 80px 80px;
}
.grid-dark {
  background-color: var(--navy);
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.09) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.09) 1px, transparent 1px);
  background-size: 16px 16px, 16px 16px, 80px 80px, 80px 80px;
}

/* ── tipografía ─────────────────────────────────────────── */
.hl, h1, h2, h3 { font-family: var(--serif); font-weight: 300; letter-spacing: -.01em; line-height: 1.05; color: var(--navy); }
.hl em, h1 em, h2 em { font-style: italic; font-weight: 300; }
.sec-dark h1, .sec-dark h2, .sec-dark h3, .on-dark h2, .on-dark h3 { color: var(--white); }
.sec-dark h1 em, .sec-dark h2 em, .on-dark h2 em { color: var(--gold); }
.h1 { font-size: clamp(42px, 4.8vw, 64px); }
.h2 { font-size: clamp(32px, 4vw, 54px); margin: 12px 0 var(--s3); }
.h3 { font-size: clamp(22px, 2.2vw, 28px); font-weight: 400; line-height: 1.15; }
.lead { font-size: 17px; color: var(--muted); max-width: 640px; }
.sec-dark .lead { color: var(--on-dark); }
.mono { font-family: var(--mono); }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-text); }
.eyebrow::before { content: "+ "; }
.sec-dark .eyebrow, .on-dark .eyebrow { color: var(--gold); }
.rule { height: 1px; background: var(--gold); opacity: .8; border: 0; }
.sec-head { display: grid; grid-template-columns: 1fr auto; gap: var(--s5); align-items: end; margin-bottom: var(--s5); }
.sec-head .idx { font-family: var(--mono); font-size: 12px; color: var(--muted); text-align: right; line-height: 1.9; letter-spacing: .04em; text-transform: uppercase; }
.sec-dark .sec-head .idx { color: var(--on-dark-soft); }
@media (max-width: 760px) { .sec-head { grid-template-columns: 1fr; gap: 10px; margin-bottom: var(--s4); } .sec-head .idx { text-align: left; } }

/* ── cabecera ───────────────────────────────────────────── */
.tb-nav { position: sticky; top: 0; z-index: 100; background: var(--navy); color: var(--white); border-bottom: 1px solid var(--gold); }
.tb-nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: var(--s3); }
.tb-nav .brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); }
.tb-nav .brand .logo { display: block; width: 36px; height: 36px; overflow: hidden; border: 1px solid var(--gold); flex-shrink: 0; }
.tb-nav .brand img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.9); transform-origin: 50% 44%; display: block; }
.tb-nav .brand span { font-family: var(--mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.tb-nav .links { display: flex; align-items: center; gap: clamp(14px, 1.7vw, 28px); font-family: var(--mono); font-size: 12.5px; letter-spacing: .02em; }
.tb-nav .links a { color: var(--on-dark); text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent; white-space: nowrap; }
.tb-nav .links a:hover { color: var(--white); border-bottom-color: var(--gold); }
.tb-nav .links a.cta { background: var(--gold); color: var(--navy); padding: 10px 18px; font-weight: 500; border: 0; }
.tb-nav .links a.cta:hover { background: #d9b85a; color: var(--navy); }
.tb-nav .burger { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; position: relative; margin-right: -10px; }
.tb-nav .burger span { position: absolute; left: 9px; right: 9px; height: 1.5px; background: var(--gold); transition: transform .2s, opacity .2s; }
.tb-nav .burger span:nth-child(1) { top: 14px; } .tb-nav .burger span:nth-child(2) { top: 21px; } .tb-nav .burger span:nth-child(3) { top: 28px; }
.tb-nav .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.tb-nav .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.tb-nav .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 1140px) {
  .tb-nav .burger { display: block; }
  .tb-nav .links { display: none; position: absolute; left: 0; right: 0; top: 64px; flex-direction: column; align-items: stretch; gap: 0; background: var(--navy); border-bottom: 1px solid var(--gold); padding: 8px 0 16px; font-size: 14px; }
  .tb-nav .links.open { display: flex; }
  .tb-nav .links a { padding: 14px clamp(16px, 5vw, 64px); border-bottom: 1px solid var(--line-dark); }
  .tb-nav .links a:hover { border-bottom-color: var(--line-dark); }
  .tb-nav .links a.cta { margin: 12px clamp(16px, 5vw, 64px) 0; text-align: center; }
}
@media (max-width: 420px) { .tb-nav .brand span { font-size: 12px; } }
/* selector de idioma ES · CA · EN (discreto, en mono; el idioma activo en dorado) */
.tb-nav .links, .tb-nav .salir { margin-left: auto; }
.tb-nav .lang { display: flex; align-items: center; gap: 2px; margin-left: auto; font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; flex-shrink: 0; }
.tb-nav .links + .lang, .tb-nav .salir + .lang { margin-left: 0; }
.tb-nav .lang a { color: var(--on-dark-soft, rgba(255,255,255,.6)); text-decoration: none; padding: 6px 5px; border-bottom: 1px solid transparent; }
.tb-nav .lang a + a { position: relative; margin-left: 9px; }
.tb-nav .lang a + a::before { content: "\00b7"; position: absolute; left: -9px; color: var(--on-dark-soft, rgba(255,255,255,.6)); }
.tb-nav .lang a:hover { color: var(--white); border-bottom-color: var(--gold); }
.tb-nav .lang a.on { color: var(--gold); }
@media (max-width: 1140px) { .tb-nav .lang { order: 2; margin-left: auto; } .tb-nav .burger { order: 3; } }
@media (max-width: 560px) { .tb-nav .salir { display: none; } }

/* ── botones (C: mono, 0 radio) ─────────────────────────── */
.btn, .btn-line, .btn-text { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--mono); font-size: 14px; letter-spacing: .02em; text-decoration: none; cursor: pointer; border-radius: 0; transition: background .15s, color .15s, border-color .15s; }
.btn { background: var(--gold); color: var(--navy); font-weight: 500; padding: 16px 26px; border: 1px solid var(--gold); }
.btn:hover { background: #d9b85a; border-color: #d9b85a; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-navy { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-navy:hover { background: var(--navy-2); border-color: var(--navy-2); }
.btn-line { padding: 15px 22px; border: 1px solid var(--gold); color: var(--white); background: transparent; font-size: 13.5px; }
.btn-line:hover { background: rgba(201,168,76,.14); }
.btn-line.dark { color: var(--navy); border-color: var(--navy); }
.btn-line.dark:hover { background: rgba(13,42,110,.06); }
.btn-text { font-size: 13px; color: var(--navy); border-bottom: 1px solid var(--gold); padding-bottom: 3px; }
.btn-text:hover { color: var(--gold-text); }
.on-dark .btn-text, .sec-dark .btn-text { color: var(--white); }
.btn-block { width: 100%; }
.cta-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
@media (max-width: 560px) { .cta-row .btn, .cta-row .btn-line { width: 100%; } }

/* ── línea de cota (C) ──────────────────────────────────── */
.dim { position: relative; display: flex; justify-content: space-between; gap: 12px; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); padding-top: 12px; }
.dim::before { content: ""; position: absolute; left: 0; right: 0; top: 0; border-top: 1px solid var(--gold); }
.dim span { position: relative; padding-top: 4px; }
.dim span::before { content: ""; position: absolute; left: 0; top: -13px; height: 9px; border-left: 1px solid var(--gold); }
.dim span:last-child::before { left: auto; right: 0; }
.dim span:last-child { text-align: right; }
.dim.light { color: var(--gold-text); }
.dim.light::before, .dim.light span::before { border-color: var(--gold-text); }
@media (max-width: 560px) { .dim { font-size: 9.5px; letter-spacing: .02em; } }

/* ── cotas / cifras (C) ─────────────────────────────────── */
.cotas { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-dark); }
.cotas > div { padding: 22px 0 24px 18px; border-right: 1px solid var(--line-dark); }
.cotas > div:first-child { padding-left: 0; }
.cotas > div:last-child { border-right: 0; }
.cotas b { display: block; font-family: var(--mono); font-weight: 500; font-size: 30px; color: var(--gold); line-height: 1; margin-bottom: 8px; }
.cotas span { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark); }
@media (max-width: 760px) {
  .cotas { grid-template-columns: 1fr 1fr; }
  .cotas > div { padding: 18px 0 18px 14px; border-bottom: 1px solid var(--line-dark); }
  .cotas > div:nth-child(odd) { padding-left: 0; }
  .cotas > div:nth-child(2n) { border-right: 0; }
  .cotas > div:nth-last-child(-n+2) { border-bottom: 0; }
  .cotas b { font-size: 26px; }
}

/* ── filas de servicio (A) ──────────────────────────────── */
.rows { display: grid; gap: 10px; }
.row { display: grid; grid-template-columns: 72px 1fr 1.6fr; gap: var(--s4); align-items: baseline; padding: 24px 28px; background: var(--white); border: 1px solid var(--line-strong); }
.sec-cream .row { background: var(--white); }
.row .n { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--gold-text); }
.row h3 { font-size: 26px; font-weight: 400; line-height: 1.15; }
.row p { color: var(--muted); font-size: 16px; }
.row.has-link { grid-template-columns: 72px 1fr 1.6fr auto; }
.row a.btn-text { white-space: nowrap; justify-self: start; }
@media (max-width: 760px) {
  .row, .row.has-link { grid-template-columns: 1fr; gap: 8px; padding: 20px 18px; }
  .row h3 { font-size: 23px; }
}

/* ── pasos ──────────────────────────────────────────────── */
.steps { border-top: 1px solid var(--line-strong); counter-reset: paso; }
.step { display: grid; grid-template-columns: 72px 1fr; gap: var(--s4); padding: 22px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.step .n { font-family: var(--mono); font-size: 12px; color: var(--gold-text); letter-spacing: .06em; }
.step h3 { font-size: 22px; font-weight: 400; line-height: 1.2; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 15.5px; max-width: 640px; }
.sec-dark .step .n { color: var(--gold); } .sec-dark .step p { color: var(--on-dark); } .sec-dark .steps, .sec-dark .step { border-color: var(--line-dark); }
@media (max-width: 560px) { .step { grid-template-columns: 1fr; gap: 6px; } }

/* ── lista de precios (C: tabla con filetes dorados, destacada en dorado) ── */
.plist { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--gold); }
.pl { position: relative; display: flex; flex-direction: column; padding: 26px 24px 24px; border-right: 1px solid rgba(201,168,76,.45); background: rgba(7,26,71,.55); color: var(--white); text-decoration: none; }
.pl:last-child { border-right: 0; }
.pl.best { background: var(--gold); color: var(--navy); }
.pl .k { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); display: flex; justify-content: space-between; gap: 8px; }
.pl.best .k { color: var(--navy); }
.pl .t { font-family: var(--serif); font-size: 21px; font-weight: 400; margin: 14px 0 18px; min-height: 52px; line-height: 1.2; color: inherit; }
.pl .v { font-family: var(--mono); font-weight: 500; font-size: 54px; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.pl .v small { font-size: 20px; margin-left: 4px; color: var(--gold); font-weight: 400; }
.pl.best .v small { color: var(--navy); }
.pl .iva { font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark); margin-top: 8px; min-height: 34px; line-height: 1.5; }
.pl.best .iva { color: #3d3410; }
.pl .d { font-size: 14.5px; color: var(--on-dark); margin-top: 12px; flex: 1; }
.pl.best .d { color: #2b2508; }
.pl .pl-cta { display: block; margin-top: 22px; font-family: var(--mono); font-size: 12.5px; text-align: center; padding: 12px; border: 1px solid var(--gold); color: var(--white); text-decoration: none; letter-spacing: .02em; }
.pl .pl-cta:hover { background: rgba(201,168,76,.18); }
.pl.best .pl-cta { background: var(--navy); color: var(--white); border-color: var(--navy); }
.pl.best .pl-cta:hover { background: var(--navy-2); }
.checks { display: flex; gap: 12px 28px; flex-wrap: wrap; margin-top: 22px; font-family: var(--mono); font-size: 12px; color: var(--on-dark); align-items: center; }
.checks span::before { content: "[✓] "; color: var(--gold); }
.checks a { margin-left: auto; color: var(--white); border-bottom: 1px solid var(--gold); padding-bottom: 2px; text-decoration: none; }
@media (max-width: 1000px) { .plist { grid-template-columns: 1fr 1fr; } .pl:nth-child(2) { border-right: 0; } .pl:nth-child(-n+2) { border-bottom: 1px solid rgba(201,168,76,.45); } }
@media (max-width: 640px) {
  .plist { grid-template-columns: 1fr; }
  .pl { border-right: 0; border-bottom: 1px solid rgba(201,168,76,.45); display: grid; grid-template-columns: 1fr auto; grid-template-areas: "k k" "t v" "iva v" "d d" "a a"; column-gap: 14px; align-items: center; }
  .pl:last-child { border-bottom: 0; }
  .pl .k { grid-area: k; } .pl .t { grid-area: t; min-height: 0; margin: 10px 0 0; } .pl .v { grid-area: v; font-size: 42px; } .pl .iva { grid-area: iva; min-height: 0; } .pl .d { grid-area: d; } .pl .pl-cta { grid-area: a; margin-top: 16px; }
  .checks { gap: 10px; flex-direction: column; align-items: flex-start; } .checks a { margin-left: 0; }
}

/* ── tarjeta técnica con marcas de esquina (C) ──────────── */
.tcard { position: relative; border: 1px solid var(--navy); background: var(--white); padding: 28px; }
.tcard::before, .tcard::after { content: ""; position: absolute; width: 9px; height: 9px; border: 1px solid var(--gold); background: var(--white); }
.tcard::before { top: -5px; left: -5px; } .tcard::after { bottom: -5px; right: -5px; }
.tcard.dark { background: var(--navy); color: var(--white); border-color: var(--gold); }
.tcard.dark::before, .tcard.dark::after { background: var(--navy); }

/* ── FAQ ────────────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; max-width: 820px; border-top: 1px solid var(--line-strong); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question { width: 100%; text-align: left; background: none; border: 0; padding: 18px 0; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: var(--serif); font-size: 20px; font-weight: 400; line-height: 1.25; color: var(--navy); }
.faq-question:hover { color: var(--gold-text); }
.faq-icon { font-family: var(--mono); font-size: 18px; flex-shrink: 0; transition: transform .25s; color: var(--gold-text); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .3s ease; font-size: 15.5px; color: var(--muted); line-height: 1.7; }
.faq-answer p { padding-bottom: 18px; max-width: 720px; }
.faq-item.open .faq-answer { max-height: 600px; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
@media (max-width: 560px) { .faq-question { font-size: 18px; } }

/* ── formularios ────────────────────────────────────────── */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea, .input { width: 100%; font: inherit; font-weight: 400; font-size: 16px; padding: 12px 14px; border: 1px solid var(--borde); border-radius: 0; background: var(--white); color: var(--navy); outline: none; transition: border-color .15s, box-shadow .15s; }
.field input:focus, .field select:focus, .field textarea:focus, .input:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(201,168,76,.35); }
.field textarea { resize: vertical; min-height: 88px; }
.on-dark .field label { color: var(--on-dark); }
.on-dark .field input, .on-dark .field select, .on-dark .field textarea { background: rgba(255,255,255,.06); border-color: var(--line-dark); color: var(--white); }
.on-dark .field input::placeholder, .on-dark .field textarea::placeholder { color: rgba(255,255,255,.45); }
.on-dark .field select option { background: var(--navy); color: var(--white); }
.on-dark .field input:focus, .on-dark .field select:focus, .on-dark .field textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,168,76,.25); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }

/* ── WhatsApp flotante ──────────────────────────────────── */
.whatsapp-btn { position: fixed; bottom: 20px; right: 20px; z-index: 90; width: 52px; height: 52px; background: var(--wa); color: var(--white); display: flex; align-items: center; justify-content: center; text-decoration: none; border: 1px solid rgba(255,255,255,.5); box-shadow: 0 4px 14px rgba(0,0,0,.25); transition: transform .2s, opacity .2s, visibility .2s; }
.whatsapp-btn svg { width: 26px; height: 26px; fill: currentColor; }
.whatsapp-btn:hover { transform: scale(1.06); }
.whatsapp-btn.oculto { opacity: 0; visibility: hidden; pointer-events: none; }
@media (max-width: 760px) { .whatsapp-btn { bottom: 16px; right: 16px; width: 48px; height: 48px; } }

/* ── pie ────────────────────────────────────────────────── */
.tb-foot { background: var(--navy-deep); color: var(--on-dark); border-top: 1px solid var(--gold); }
.tb-foot .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; padding-top: 28px; padding-bottom: 28px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase; }
.tb-foot nav { display: flex; gap: 8px 18px; flex-wrap: wrap; }
.tb-foot a { color: var(--on-dark); text-decoration: none; border-bottom: 1px solid transparent; }
.tb-foot a:hover { color: var(--white); border-bottom-color: var(--gold); }

/* ── páginas auxiliares (gracias, legales, testimonio) ──── */
.aux-main { max-width: 820px; margin: 0 auto; padding: var(--s5) clamp(16px, 5vw, 64px) var(--s10); }
.aux-card { background: var(--white); border: 1px solid var(--line-strong); padding: 28px 24px; margin-bottom: 18px; }
.aux-card h1 { font-size: clamp(30px, 4vw, 42px); margin-bottom: 8px; }
.aux-card h2 { font-size: 24px; font-weight: 400; margin: 24px 0 8px; }
.aux-card p, .aux-card li { color: var(--muted); margin-bottom: 10px; }
.aux-card ol { padding-left: 20px; }
.aux-card li b { color: var(--navy); font-weight: 500; }
.aviso { background: var(--cream); border-left: 3px solid var(--gold); padding: 12px 14px; font-size: 14px; color: var(--navy); }
.centered { min-height: calc(100vh - 64px); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: var(--s5) 16px; }
.centered .tcard { max-width: 520px; width: 100%; text-align: center; padding: 44px 32px; }
.centered h1 { font-size: 34px; margin-bottom: 10px; }
.centered p { font-size: 15px; color: var(--muted); margin-bottom: 8px; }
.centered .num { font-family: var(--mono); font-size: 22px; font-weight: 500; color: var(--navy); margin: 14px 0; letter-spacing: .02em; }
.centered .btn { margin-top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
