/* ═══════════════════════════════════════════════════════════════════════
   Finyks — hoja de estilo única
   Mobile-first. Sin dependencias externas. Sin @import.
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Fuentes autoalojadas (variables: un archivo cubre 100–900) ───────── */
@font-face {
  font-family: 'Inter var';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/inter-var-latin.woff2') format('woff2');
  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: 'Space Grotesk var';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/assets/fonts/spacegrotesk-var-latin.woff2') format('woff2');
  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;
}

/* ── Tokens ───────────────────────────────────────────────────────────── */
:root {
  --bg:          #17191D;
  --surface:     #23262B;
  --surface-2:   #2E323A;
  --line:        #2E323A;
  --line-strong: #3A3E47;

  --text:        #FFFFFF;
  --text-muted:  #B9BCC2;   /* 9.3:1 sobre --bg */
  --text-faint:  #8E939C;   /* 5.7:1 sobre --bg — no bajar de aquí */

  --red:         #D9553C;   /* solo superficies y texto grande (4.2:1) */
  --red-text:    #FF8A6E;   /* variante accesible para texto pequeño */
  --orange:      #FF8A52;   /* naranja de marca Finyks — 7.6:1 sobre --bg */
  --grad:        linear-gradient(135deg, #E2673A, #FF8A52);

  --font-body:    'Inter var', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Space Grotesk var', 'Inter var', system-ui, sans-serif;

  --wrap:   1200px;
  --radius: 14px;
  --gutter: clamp(20px, 5vw, 48px);
  --pad-y:  clamp(64px, 9vw, 104px);
}

/* ── Reset acotado ────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--font-display); letter-spacing: -0.02em; margin: 0; }
p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--orange); text-decoration: none; }
a:hover { text-decoration: underline; }
strong { color: var(--text); font-weight: 600; }

/* Foco visible y consistente en todo el sitio (accesibilidad + teclado) */
:where(a, button, input, select, textarea, summary, label.nav-burger):focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 200;
  background: var(--surface); color: var(--text);
  padding: 12px 18px; border-radius: 8px; border: 1px solid var(--line-strong);
  font-weight: 600; transition: top .15s;
}
.skip-link:focus { top: 8px; }

/* ── Layout ───────────────────────────────────────────────────────────── */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: 860px; }
.section { padding-block: var(--pad-y); }
.band {
  padding-block: var(--pad-y);
  background: var(--surface);
  border-block: 1px solid var(--line);
}
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.narrow { max-width: 640px; margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(24px, 3.4vw, 34px); line-height: 1.25; margin-bottom: 16px; }
.section-head h2.quote { font-size: clamp(21px, 2.8vw, 30px); line-height: 1.4; }
.section-head > :last-child { margin-bottom: 0; }

.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; margin-bottom: 14px;
}
.eyebrow-red     { color: var(--red-text); }
.eyebrow-orange  { color: var(--orange); }
.eyebrow-muted   { color: var(--text-faint); }
.eyebrow-onbrand { color: rgba(255,255,255,.92); }

.body-lg { font-size: clamp(15px, 1.6vw, 17px); line-height: 1.65; color: var(--text-muted); }
.footnote { font-size: 13px; color: var(--text-faint); text-align: center; margin-top: 24px; }

/* ── Botones ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 15px 28px; border-radius: 10px;
  font-family: var(--font-body); font-size: 16px; font-weight: 600;
  line-height: 1.2; text-align: center; cursor: pointer;
  border: 1px solid transparent; transition: transform .15s, box-shadow .15s, background .15s;
  min-height: 48px;                      /* objetivo táctil cómodo */
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 12px 24px -12px rgba(228,39,30,.55);
}
.btn-primary:hover { box-shadow: 0 16px 30px -12px rgba(228,39,30,.7); }
.btn-ghost {
  background: var(--surface); border-color: var(--line-strong); color: var(--orange);
}
.btn-ghost:hover { background: var(--surface-2); }
.btn-sm { padding: 11px 20px; font-size: 14.5px; min-height: 42px; }
.btn-block { width: 100%; }

/* ── Cabecera ─────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(23,25,29,.92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--wrap); margin-inline: auto; padding: 12px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; object-fit: contain; border-radius: 8px; }
.brand-word {
  font-family: var(--font-display); font-weight: 700;
  font-size: 21px; letter-spacing: -.02em; color: var(--text);
}
.brand-k { color: var(--red); }

.nav-links { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); }
.nav-links > a:not(.btn) { font-size: 15px; font-weight: 500; color: var(--text-muted); }
.nav-links > a:not(.btn):hover { color: var(--text); text-decoration: none; }

.nav-burger { display: none; }

/* Menú móvil: solo CSS, funciona sin JavaScript */
@media (max-width: 900px) {
  .nav-burger {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 10px; cursor: pointer;
    border: 1px solid var(--line-strong); border-radius: 9px; background: var(--surface);
  }
  .nav-burger span {
    display: block; height: 2px; width: 100%; background: var(--text);
    border-radius: 2px; transition: transform .2s, opacity .2s;
  }
  .nav-links {
    position: absolute; inset-inline: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 12px var(--gutter) 22px;
    background: var(--bg); border-bottom: 1px solid var(--line);
    max-height: calc(100dvh - 64px); overflow-y: auto;
    display: none;
  }
  .nav-toggle:checked ~ .nav-links { display: flex; }
  .nav-toggle:checked ~ .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-links > a:not(.btn) { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .nav-links > .btn { margin-top: 10px; }
}

/* ── Hero ─────────────────────────────────────────────────────────────── */
.hero { padding-block: clamp(48px, 7vw, 80px) clamp(48px, 6vw, 64px); }
.hero-grid {
  max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter);
  display: grid; gap: clamp(40px, 5vw, 56px); align-items: center;
}
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.05fr .95fr; } }

.eyebrow-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; margin-bottom: 22px;
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: 999px;
  font-size: 13px; font-weight: 600; color: var(--text-muted); line-height: 1.4;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--grad); flex-shrink: 0; }
.dot-orange { background: var(--orange); }

.hero h1 {
  font-size: clamp(31px, 5.4vw, 52px); line-height: 1.1;
  font-weight: 700; margin-bottom: 20px;
  text-wrap: balance;
}
.lede {
  font-size: clamp(16px, 1.9vw, 18px); line-height: 1.6;
  color: var(--text-muted); max-width: 520px; margin-bottom: 32px;
}
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }

.trust-row {
  display: flex; flex-wrap: wrap; gap: 10px 26px;
  font-size: 14px; color: var(--text-muted);
}
.trust-row li { display: flex; align-items: center; gap: 7px; }
.trust-row li::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--orange); flex-shrink: 0;
}

/* Panel decorativo del hero */
.hero-visual { position: relative; }
.glow {
  position: absolute; inset: -24px; pointer-events: none;
  background: radial-gradient(circle at 70% 20%, rgba(245,148,29,.2), transparent 60%);
}
.panel {
  position: relative;
  background: var(--surface); border: 1px solid var(--line-strong);
  border-radius: 16px; padding: clamp(20px, 3vw, 28px);
  box-shadow: 0 30px 60px -24px rgba(0,0,0,.6);
}
.panel-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
  padding-bottom: 18px; margin-bottom: 22px; border-bottom: 1px solid var(--line);
}
.panel-title { font-family: var(--font-display); font-size: 17px; font-weight: 700; }
.panel-tag {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 600; color: var(--orange);
}
.metrics { display: flex; flex-direction: column; gap: 20px; margin-bottom: 22px; }
.metric-label {
  display: flex; justify-content: space-between; gap: 12px;
  font-size: 14px; font-weight: 600; margin-bottom: 8px;
}
.metric-label .pos { color: var(--orange); }
.metric-label .neu { color: var(--text-muted); }
.bar {
  height: 6px; border-radius: 999px; background: var(--bg);
  overflow: hidden; margin-bottom: 4px;
}
.bar i { display: block; height: 100%; background: var(--grad); border-radius: 999px; }
.bar-ghost { margin-bottom: 0; }
.bar-ghost i { background: #4A4E57; }
/* Anchos del panel ilustrativo. Van en clases, no en style="", para que la
   CSP pueda mantener style-src 'self' sin 'unsafe-inline'. */
.w92 { width: 92%; } .w86 { width: 86%; }
.w78 { width: 78%; } .w84 { width: 84%; }
.w68 { width: 68%; } .w64 { width: 64%; }
.panel-total {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
  padding-top: 18px; border-top: 1px solid var(--line);
  font-size: 15px; font-weight: 600;
}
.panel-total strong {
  font-family: var(--font-display); font-size: 17px; color: var(--red-text);
}

/* ── Cuadrículas de contenido ─────────────────────────────────────────── */
.split-12-08 { display: grid; gap: clamp(32px, 4vw, 56px); align-items: start; }
@media (min-width: 900px) { .split-12-08 { grid-template-columns: 1.2fr .8fr; } }

.split-2 { display: grid; gap: 20px; }
@media (min-width: 800px) { .split-2 { grid-template-columns: 1fr 1fr; } }

.stack-cards { display: flex; flex-direction: column; gap: 14px; }
.stack-cards li {
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px 22px;
}
.stack-cards h3 { font-family: var(--font-body); font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.stack-cards p { font-size: 13.5px; color: var(--text-muted); }

.cards-4 { display: grid; gap: 18px; }
@media (min-width: 620px)  { .cards-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .cards-4 { grid-template-columns: repeat(4, 1fr); } }
.cards-4 li {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 22px;
}
.band .cards-4 li { background: var(--bg); }
.cards-4 .num {
  display: block; font-family: var(--font-display);
  font-size: 14px; font-weight: 700; color: var(--orange); margin-bottom: 12px;
}
.cards-4 h3 { font-family: var(--font-body); font-size: 15.5px; font-weight: 600; margin-bottom: 8px; }
.cards-4 p { font-size: 13.5px; color: var(--text-muted); line-height: 1.55; }

/* ── Tablas ───────────────────────────────────────────────────────────── */
.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line); border-radius: 16px;
  -webkit-overflow-scrolling: touch;
}
table { width: 100%; border-collapse: collapse; min-width: 560px; }
caption { text-align: left; }

.compare th, .pricing th, .compare td, .pricing td {
  padding: clamp(16px, 2.2vw, 22px) clamp(18px, 2.4vw, 28px);
  text-align: left; vertical-align: top;
}
.compare thead th { background: var(--bg); font-size: 13px; font-weight: 700; }
.compare thead th:last-child { background: var(--surface-2); }
.th-off { letter-spacing: .06em; text-transform: uppercase; color: var(--text-faint); }
.th-on  { letter-spacing: .06em; text-transform: uppercase; color: var(--orange); }
.compare tbody tr { border-top: 1px solid var(--line); }
.compare td { font-size: 14.5px; line-height: 1.5; }
.compare td:first-child { color: var(--text-muted); border-right: 1px solid var(--line); width: 50%; }
.compare td:last-child  { color: var(--text); background: var(--surface); }

.pricing thead th {
  background: var(--bg); font-size: 12.5px; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase; color: var(--text);
}
.pricing tbody tr { border-top: 1px solid var(--line); background: var(--surface); }
.pricing tbody th { font-size: 15px; font-weight: 600; color: var(--text); }
.pricing tbody td { font-size: 15px; color: var(--text-muted); }

/* ── Pasos ────────────────────────────────────────────────────────────── */
.steps { display: grid; gap: 20px; counter-reset: step; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li {
  position: relative;
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 26px;
}
.step-n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; margin-bottom: 16px;
  border-radius: 11px; background: var(--grad);
  font-family: var(--font-display); font-size: 18px; font-weight: 700; color: #fff;
}
.steps h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.steps p { font-size: 14.5px; color: var(--text-muted); line-height: 1.6; }

/* ── Tarjetas ─────────────────────────────────────────────────────────── */
.card { border-radius: 16px; padding: clamp(26px, 3.4vw, 36px); }
.card-plain  { background: var(--bg);        border: 1px solid var(--line); }
.card-raised { background: var(--surface-2); border: 1px solid var(--line-strong); }
.card-gradient { background: var(--grad); position: relative; }
.card-gradient p { color: rgba(255,255,255,.92); }
.card-gradient strong { color: #fff; }
.section .card-plain { background: var(--surface); }

.ribbon {
  position: absolute; top: -13px; left: 28px;
  background: var(--bg); color: var(--text);
  font-size: 12px; font-weight: 700; padding: 5px 12px;
  border-radius: 999px; border: 1px solid var(--line-strong);
}
.price-big {
  font-family: var(--font-display); font-size: clamp(32px, 4.4vw, 40px);
  font-weight: 700; color: var(--text); margin-bottom: 12px; line-height: 1.1;
}
.card p { font-size: 14.5px; color: var(--text-muted); line-height: 1.6; }
.example {
  margin-top: 18px; padding: 15px 18px; border-radius: 10px;
  background: var(--bg); color: var(--orange); font-size: 14px; font-weight: 600;
}
.example strong { color: var(--orange); }
.example-dark { background: rgba(23,25,29,.42); color: #fff; }
.example-dark strong { color: #fff; }

.ticks li {
  display: flex; gap: 12px; font-size: 15px; line-height: 1.5;
  margin-bottom: 16px;
}
.ticks li:last-child { margin-bottom: 0; }
.ticks li::before { flex-shrink: 0; font-weight: 700; }
.ticks-off li { color: var(--text-muted); }
.ticks-off li::before { content: "✕"; color: var(--text-faint); }
.ticks-on li { color: var(--text); }
.ticks-on li::before { content: "✓"; color: var(--orange); }

/* ── Chips (roadmap) ──────────────────────────────────────────────────── */
.chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.chips li {
  padding: 12px 20px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line-strong);
  font-size: 14.5px; font-weight: 600; color: var(--text-muted);
}

/* ── FAQ ──────────────────────────────────────────────────────────────── */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details {
  background: var(--bg); border: 1px solid var(--line); border-radius: 12px;
  overflow: hidden;
}
.faq details[open] { border-color: var(--line-strong); }
.faq summary {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 18px 22px; cursor: pointer; list-style: none;
  font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 {
  font-family: var(--font-body); font-size: 16px; font-weight: 600;
  line-height: 1.45; margin: 0; flex: 1;
}
.faq summary::after {
  content: "+"; flex-shrink: 0; font-size: 22px; line-height: 1;
  color: var(--orange); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover h3 { color: var(--orange); }
.faq details > p {
  padding: 0 22px 20px; font-size: 15px; line-height: 1.65; color: var(--text-muted);
}

/* ── Formulario ───────────────────────────────────────────────────────── */
.section-cta { background: var(--bg); border-top: 1px solid var(--line); }
.cta-logo { width: 56px; height: 56px; object-fit: contain; margin: 0 auto 22px; border-radius: 12px; }

.lead-form { display: grid; gap: 18px; }
@media (min-width: 700px) { .lead-form { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 7px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--text); }
.req { color: var(--red-text); }
.opt { color: var(--text-faint); font-weight: 400; }

.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; min-height: 48px;
  background: var(--surface); color: var(--text);
  border: 1px solid var(--line-strong); border-radius: 10px;
  font-family: var(--font-body); font-size: 15.5px; line-height: 1.4;
  transition: border-color .15s, background .15s;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #6E727B; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #4A4E57; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--orange); background: var(--surface-2);
}
.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: var(--red-text); }
.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #B9BCC2 50%),
                    linear-gradient(135deg, #B9BCC2 50%, transparent 50%);
  background-position: calc(100% - 20px) 22px, calc(100% - 14px) 22px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 42px;
}

.consent .check {
  display: flex; align-items: flex-start; gap: 11px;
  font-size: 14px; font-weight: 400; color: var(--text-muted); line-height: 1.5;
  cursor: pointer;
}
.consent input[type="checkbox"] {
  width: 19px; height: 19px; min-height: 0; margin-top: 2px;
  flex-shrink: 0; accent-color: var(--red); cursor: pointer;
}
.form-note { font-size: 13.5px; color: var(--text-faint); text-align: center; margin-top: 14px; }
.form-status { grid-column: 1 / -1; font-size: 15px; margin: 0; min-height: 0; }
.form-status:not(:empty) {
  padding: 14px 18px; border-radius: 10px;
  border: 1px solid var(--line-strong); background: var(--surface);
}
.form-status.ok  { border-color: var(--orange); color: var(--orange); }
.form-status.err { border-color: var(--red-text); color: var(--red-text); }

/* Honeypot: fuera de pantalla, nunca display:none (algunos bots lo detectan) */
.hp {
  position: absolute; left: -9999px; width: 1px; height: 1px;
  overflow: hidden; opacity: 0; pointer-events: none;
}

/* ── Pie ──────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--bg); border-top: 1px solid var(--line);
  padding-block: clamp(40px, 6vw, 60px) 28px;
}
.footer-grid { display: grid; gap: 34px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; } }
.footer-brand { font-size: 19px; margin-bottom: 10px; }
.footer-tag { font-size: 13.5px; color: var(--text-muted); margin-bottom: 6px; max-width: 340px; }
.footer-h {
  font-family: var(--font-body); font-size: 12.5px; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase;
  color: var(--text-faint); margin-bottom: 14px;
}
.site-footer nav li { margin-bottom: 9px; }
.site-footer nav a { font-size: 14px; color: var(--text-muted); }
.site-footer nav a:hover { color: var(--orange); }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 12px 28px;
  justify-content: space-between; align-items: center;
  margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line);
  font-size: 12.5px; color: var(--text-faint);
}
.footer-disclaimer { max-width: 560px; }

/* ── Banner de cookies ────────────────────────────────────────────────── */
.cookie-banner {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 100;
  background: var(--surface); border-top: 1px solid var(--line-strong);
  box-shadow: 0 -12px 40px -18px rgba(0,0,0,.8);
  padding: 18px var(--gutter) max(18px, env(safe-area-inset-bottom));
}
.cookie-banner[hidden] { display: none; }
.cookie-inner {
  max-width: var(--wrap); margin-inline: auto;
  display: flex; flex-wrap: wrap; gap: 18px 28px;
  align-items: center; justify-content: space-between;
}
.cookie-h { font-family: var(--font-display); font-size: 15px; font-weight: 700; margin-bottom: 5px; }
.cookie-p { font-size: 13.5px; color: var(--text-muted); line-height: 1.55; max-width: 720px; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 600px) {
  .cookie-actions { width: 100%; }
  .cookie-actions .btn { flex: 1; }
}

/* ── Página legal (privacidad / términos) ─────────────────────────────── */
.legal { padding-block: clamp(48px, 7vw, 80px); }
.legal h1 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 10px; }
.legal .updated { font-size: 13.5px; color: var(--text-faint); margin-bottom: 36px; }
.legal h2 {
  font-size: clamp(19px, 2.4vw, 23px); margin-top: 40px; margin-bottom: 12px;
  padding-top: 20px; border-top: 1px solid var(--line);
}
.legal h3 { font-family: var(--font-body); font-size: 16px; font-weight: 600; margin: 22px 0 8px; }
.legal p, .legal li { font-size: 15.5px; line-height: 1.7; color: var(--text-muted); }
.legal p { margin-bottom: 14px; }
.legal ul { list-style: disc; padding-left: 22px; margin-bottom: 16px; }
.legal ul li { margin-bottom: 8px; }
.legal table { min-width: 0; margin-bottom: 20px; }
.legal table th, .legal table td {
  padding: 12px 16px; text-align: left; font-size: 14.5px;
  border: 1px solid var(--line); vertical-align: top;
}
.legal table th { background: var(--surface); color: var(--text); font-weight: 600; }
.legal table td { color: var(--text-muted); }

/* ── Página 404 ───────────────────────────────────────────────────────── */
.page-404 { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.page-404 .logo-404 { width: 72px; height: 72px; margin: 0 auto 26px; border-radius: 14px; object-fit: contain; }
.page-404 h1 { font-size: clamp(28px, 4.4vw, 40px); margin-bottom: 16px; }
.page-404 .body-lg { margin-bottom: 30px; }
.page-404 .cta-row { justify-content: center; margin-bottom: 0; }

/* Aviso de "pendiente por completar" — bórralo del HTML antes de publicar */
.callout-todo {
  background: rgba(245,148,29,.09);
  border: 1px solid var(--orange);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 28px;
}
.callout-todo p { color: var(--text-muted); font-size: 14.5px; margin: 0; }
.callout-todo strong { color: var(--orange); }

/* ── Impresión ────────────────────────────────────────────────────────── */
@media print {
  .site-header, .cookie-banner, .cta-row, .lead-form, .skip-link { display: none !important; }
  body { background: #fff; color: #000; }
  .band, .section, .card, .panel { background: #fff !important; border-color: #ccc !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 11px; }
}
