/* ============================================================
   ProveLink — hoja compartida para páginas secundarias
   (guías, comparativas, calculadoras). Reproduce los tokens de
   landing/index.html sin depender de su JS ni de su estructura.
   No usar en landing/index.html ni en app/login.html.
   ============================================================ */

:root {
  --bg:        #0c0b10;
  --bg-1:      #100e18;
  --bg-2:      #15131c;
  --bg-3:      #1c1a25;
  --surface:   rgba(28, 25, 37, 0.6);
  --surface-hi:rgba(36, 33, 49, 0.75);
  --border:    rgba(184, 179, 197, 0.10);
  --border-hi: rgba(184, 179, 197, 0.18);
  --border-x:  rgba(184, 179, 197, 0.30);

  --text:      #f5f5f7;
  --text-soft: #b8b3c5;
  --text-mute: #837d91;
  --text-dim:  #5f5a6b;

  --naranja:        #e8651f;
  --naranja-bright: #ff8a45;
  --naranja-glow:   rgba(232, 101, 31, 0.4);
  --violeta:        #8a6af0;
  --violeta-bright: #ad95ff;
  --violeta-glow:   rgba(138, 106, 240, 0.35);
  --verde:          #4cc76a;
  --verde-bright:   #7ddb8e;
  --rojo:           #ff8080;

  --brand:        #ff8a45;
  --brand-strong: #e8651f;

  --f-sans: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --f-mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --f-marca: 'Archivo', var(--f-sans);

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --container: 1180px;
  --lectura: 720px;
}

/* ---------- Reset y base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  font-family: var(--f-sans);
  background: var(--bg);
  background-image:
    radial-gradient(60% 40% at 12% 0%, rgba(232, 101, 31, 0.10), transparent 70%),
    radial-gradient(50% 35% at 90% 4%, rgba(138, 106, 240, 0.08), transparent 70%);
  background-repeat: no-repeat;
  color: var(--text);
  font-feature-settings: "ss01", "cv11", "ss03";
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
img, svg { display: block; max-width: 100%; }
::selection { background: var(--naranja); color: #fff; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }

.wrap { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.wrap-lectura { max-width: calc(var(--lectura) + 48px); margin: 0 auto; padding: 0 24px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Marca (mismas clases que la landing) ---------- */
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; letter-spacing: -0.02em;
}
.brand-mark {
  width: 39.3px; height: 24px; flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
}
.brand-iso { width: 100%; height: 100%; }
.marca {
  font-family: var(--f-marca); font-weight: 700; font-size: 20px;
  letter-spacing: -0.01em; line-height: 1; white-space: nowrap;
}
.marca-prove { color: #E8E6F0; }
.marca-link  { color: #F97316; }

/* ---------- Header sticky (sin JS) ---------- */
.cab {
  position: sticky; top: 0; z-index: 50;
  background: rgba(12, 11, 16, 0.85);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
          backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--border);
}
.cab-in {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 68px;
}
.cab-links { display: flex; gap: 4px; }
.nav-link {
  padding: 8px 14px; border-radius: 999px;
  font-size: 13.5px; color: var(--text-soft);
  transition: color .2s, background .2s;
}
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--text); background: var(--surface); }
.nav-cta { display: flex; align-items: center; gap: 6px; }
@media (max-width: 880px) { .cab-links { display: none; } }
@media (max-width: 480px) { .nav-cta .btn-ghost { display: none; } }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px;
  font-size: 14.5px; font-weight: 500; line-height: 1.2;
  border-radius: 999px; border: 1px solid transparent;
  white-space: nowrap; cursor: pointer;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), background .25s, border-color .25s;
}
.btn .arrow { transition: transform .3s var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary {
  background: linear-gradient(135deg, #ffffff 0%, #d4d4dc 100%);
  color: #0c0b10;
  box-shadow: 0 1px 0 rgba(255,255,255,0.5) inset, 0 8px 24px rgba(255,255,255,0.08);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.5) inset, 0 12px 32px rgba(255,255,255,0.18);
}
.btn-ghost {
  background: var(--surface); color: var(--text); border-color: var(--border-hi);
}
.btn-ghost:hover { background: var(--surface-hi); border-color: var(--border-x); }
.btn-naranja {
  background: linear-gradient(135deg, var(--naranja), #c2530f);
  color: #fff;
  box-shadow: 0 8px 24px -8px var(--naranja-glow);
}
.btn-naranja:hover { transform: translateY(-1px); box-shadow: 0 12px 32px -8px var(--naranja-glow); }
.btn-sm { padding: 9px 16px; font-size: 13.5px; }
.btn[disabled] { opacity: .6; pointer-events: none; }

/* ---------- Breadcrumbs ---------- */
.migas { padding: 28px 0 0; }
.migas ol {
  list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  font-size: 13px; color: var(--text-mute);
}
.migas li { display: inline-flex; align-items: center; gap: 6px; }
.migas li + li::before { content: "/"; color: var(--text-dim); }
.migas a { color: var(--text-mute); transition: color .2s; }
.migas a:hover { color: var(--text); }
.migas [aria-current="page"] { color: var(--text-soft); }

/* ---------- Etiquetas ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-mute);
  padding: 7px 14px; border: 1px solid var(--border-hi); border-radius: 999px;
  background: var(--surface);
}
.section-eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--text-mute); margin-bottom: 18px;
}
.section-eyebrow::before {
  content: ""; width: 28px; height: 1px;
  background: linear-gradient(to right, var(--naranja), transparent);
}

/* ---------- Cabecera de página ---------- */
.pag-cab { padding: 40px 0 44px; border-bottom: 1px solid var(--border); margin-bottom: 48px; }
.pag-cab h1 {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.05; letter-spacing: -0.03em; font-weight: 600;
  margin: 18px 0 18px; max-width: 880px;
}
.pag-cab .lead {
  font-size: clamp(17px, 1.8vw, 20px); line-height: 1.55;
  color: var(--text-soft); max-width: 680px;
}
.pag-meta {
  margin-top: 18px;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .04em;
  color: var(--text-dim);
}
.acento { color: var(--naranja-bright); }

/* ---------- Layout de artículo (con índice lateral opcional) ---------- */
.articulo-grid {
  display: grid;
  grid-template-columns: minmax(0, var(--lectura)) 240px;
  justify-content: space-between; gap: 64px;
  padding-bottom: 96px;
}
.articulo-grid > .indice { order: 2; }
@media (max-width: 1000px) {
  .articulo-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .articulo-grid > .indice { order: 0; margin-bottom: 36px; }
}

.indice {
  position: sticky; top: 92px; align-self: start;
  border-left: 1px solid var(--border); padding-left: 18px;
}
.indice h2 {
  font-family: var(--f-mono); font-size: 11px; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--text-dim); margin-bottom: 12px;
}
.indice ol { list-style: none; display: grid; gap: 8px; }
.indice a { font-size: 13.5px; color: var(--text-mute); line-height: 1.4; transition: color .2s; }
.indice a:hover { color: var(--text); }
@media (max-width: 1000px) {
  .indice { position: static; border: 1px solid var(--border); border-radius: var(--r-md); padding: 18px 20px; background: var(--surface); }
}

/* ---------- Prosa ---------- */
.prosa { max-width: var(--lectura); color: var(--text-soft); font-size: 17px; line-height: 1.7; }
.prosa > * + * { margin-top: 1.1em; }
.prosa h2 {
  color: var(--text); font-size: clamp(26px, 3vw, 34px); font-weight: 600;
  line-height: 1.15; letter-spacing: -0.025em;
  margin-top: 2.2em; scroll-margin-top: 92px;
}
.prosa h3 {
  color: var(--text); font-size: 21px; font-weight: 600;
  line-height: 1.25; letter-spacing: -0.02em;
  margin-top: 1.8em; scroll-margin-top: 92px;
}
.prosa h2 + *, .prosa h3 + * { margin-top: .6em; }
.prosa strong { color: var(--text); font-weight: 600; }
.prosa a {
  color: var(--brand);
  text-decoration: underline; text-decoration-color: rgba(255,138,69,.35);
  text-underline-offset: 3px;
}
.prosa a:hover { text-decoration-color: var(--brand); }
.prosa ul, .prosa ol { padding-left: 1.3em; }
.prosa li + li { margin-top: .45em; }
.prosa li::marker { color: var(--text-dim); }
.prosa code {
  font-family: var(--f-mono); font-size: .86em;
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: 5px; padding: 1px 6px; color: var(--text);
}
.prosa hr { border: 0; border-top: 1px solid var(--border); margin: 2.4em 0; }
.prosa blockquote {
  border-left: 2px solid var(--naranja); padding: 2px 0 2px 18px; color: var(--text-soft);
}
.prosa figure img { border: 1px solid var(--border-hi); border-radius: var(--r-md); }
.prosa figcaption { margin-top: 10px; font-size: 13.5px; color: var(--text-mute); }

/* Bloque destacado: ejemplo, nota, advertencia */
.nota {
  border: 1px solid var(--border-hi); border-radius: var(--r-md);
  background: var(--surface); padding: 18px 20px;
  font-size: 15.5px; line-height: 1.6;
}
.nota-titulo {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--naranja-bright); margin-bottom: 8px;
}
.nota-titulo svg { width: 16px; height: 16px; }
.nota-ejemplo .nota-titulo { color: var(--verde-bright); }
.nota-alerta { border-color: rgba(255,138,69,.35); background: rgba(255,138,69,.06); }

/* Fórmula o cuenta en línea */
.formula {
  font-family: var(--f-mono); font-size: 15px; color: var(--text);
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--r-sm); padding: 14px 16px;
  overflow-x: auto; white-space: nowrap;
}

/* ---------- Tabla comparativa ---------- */
.tabla-env {
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border-hi); border-radius: var(--r-md);
  background: linear-gradient(180deg, rgba(28,25,37,.6), rgba(21,19,28,.6));
}
.tabla { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14.5px; }
.tabla caption {
  caption-side: top; text-align: left; padding: 16px 18px 0;
  font-size: 13.5px; color: var(--text-mute);
}
.tabla th, .tabla td {
  padding: 13px 18px; text-align: left; vertical-align: top;
  border-bottom: 1px solid var(--border);
}
.tabla thead th {
  font-family: var(--f-mono); font-size: 11px; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-mute); background: rgba(12,11,16,.35);
  white-space: nowrap;
}
.tabla tbody th { color: var(--text); font-weight: 500; }
.tabla td { color: var(--text-soft); }
.tabla tbody tr:last-child > * { border-bottom: 0; }
.tabla tbody tr:hover > * { background: rgba(255,255,255,.015); }
.tabla .num { text-align: right; font-family: var(--f-mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tabla .col-destacada { background: rgba(232,101,31,.06); }
.tabla thead .col-destacada { color: var(--naranja-bright); box-shadow: inset 0 2px 0 var(--naranja); }
.tabla .si, .tabla .no, .tabla .parcial { display: inline-flex; align-items: center; gap: 6px; }
.tabla .si svg, .tabla .no svg, .tabla .parcial svg { width: 16px; height: 16px; flex: 0 0 auto; }
.tabla .si { color: var(--verde-bright); }
.tabla .no { color: var(--text-dim); }
.tabla .parcial { color: var(--violeta-bright); }
.tabla-nota { margin-top: 10px; font-size: 13px; color: var(--text-mute); }

/* ---------- Calculadora ---------- */
.calc {
  border: 1px solid var(--border-hi); border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(28,25,37,.7), rgba(12,12,18,.7));
  padding: 28px;
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 28px;
}
@media (max-width: 760px) { .calc { grid-template-columns: 1fr; padding: 22px; gap: 22px; } }
.calc-titulo { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 6px; }
.calc-desc { font-size: 14.5px; color: var(--text-mute); margin-bottom: 20px; }
.calc-campos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 480px) { .calc-campos { grid-template-columns: 1fr; } }
.campo-ancho { grid-column: 1 / -1; }

.campo label, .campo .campo-label {
  display: block; margin-bottom: 7px;
  font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--text-mute);
}
.campo-ayuda { margin-top: 6px; font-size: 12.5px; color: var(--text-dim); }
.input, .select {
  width: 100%; padding: 12px 14px;
  background: var(--bg); color: var(--text);
  border: 1px solid var(--border-hi); border-radius: 10px;
  font-size: 15px; font-variant-numeric: tabular-nums;
  transition: border-color .15s;
  -webkit-appearance: none; appearance: none;
}
.input::placeholder { color: var(--text-dim); }
.input:focus, .select:focus { outline: none; border-color: var(--brand); }
.input[aria-invalid="true"] { border-color: var(--rojo); }
.select {
  padding-right: 38px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23837d91' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 16px;
}
.input-grupo { position: relative; }
.input-grupo .input { padding-left: 30px; }
.input-grupo .prefijo, .input-grupo .sufijo {
  position: absolute; top: 50%; transform: translateY(-50%);
  font-family: var(--f-mono); font-size: 13px; color: var(--text-mute); pointer-events: none;
}
.input-grupo .prefijo { left: 13px; }
.input-grupo .sufijo { right: 13px; }
.input-grupo.con-sufijo .input { padding-left: 14px; padding-right: 46px; }

/* Segmentado: radios con aspecto de píldora (como .plan-lado) */
.segmentado {
  display: inline-flex; gap: 4px; padding: 4px;
  border: 1px solid var(--border-hi); border-radius: 999px; background: var(--surface);
}
.segmentado label { position: relative; cursor: pointer; }
.segmentado input { position: absolute; opacity: 0; pointer-events: none; }
.segmentado span {
  display: block; padding: 8px 16px; border-radius: 999px;
  font-size: 13.5px; font-weight: 500; color: var(--text-mute);
  transition: color .18s, background .18s;
}
.segmentado input:checked + span {
  color: #fff; background: linear-gradient(135deg, var(--naranja), #c2530f);
  box-shadow: 0 6px 18px -8px var(--naranja-glow);
}
.segmentado input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }

.calc-resultado {
  border: 1px solid var(--border); border-radius: var(--r-md);
  background: rgba(12,11,16,.55);
  padding: 22px; display: flex; flex-direction: column; gap: 14px;
}
.calc-resultado-lbl {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-mute);
}
.calc-cifra {
  font-size: clamp(34px, 5vw, 48px); font-weight: 600; letter-spacing: -0.035em; line-height: 1;
  color: var(--text); font-variant-numeric: tabular-nums;
}
.calc-cifra .unidad { font-size: .45em; font-weight: 500; letter-spacing: -0.01em; color: var(--naranja-bright); margin-left: 4px; }
.calc-filas { list-style: none; border-top: 1px dashed var(--border); }
.calc-filas li {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 9px 0; border-bottom: 1px dashed var(--border);
  font-size: 14px; color: var(--text-soft);
}
.calc-filas li:last-child { border-bottom: 0; }
.calc-filas b { color: var(--text); font-weight: 500; font-family: var(--f-mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc-filas .mejor b { color: var(--verde-bright); }
.calc-vacio { font-size: 14px; color: var(--text-dim); }
.calc-error {
  font-size: 13px; color: var(--rojo);
  background: rgba(255,90,90,.09); border: 1px solid rgba(255,90,90,.25);
  border-radius: 9px; padding: 9px 12px;
}
.calc-aviso { font-size: 12.5px; color: var(--text-dim); line-height: 1.5; }

/* ---------- Tarjetas ---------- */
.tarjetas { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.tarjeta {
  display: block; position: relative;
  border: 1px solid var(--border-hi); border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(28,25,37,.7), rgba(12,12,18,.7));
  padding: 24px;
  transition: border-color .3s, transform .4s var(--ease-out);
}
a.tarjeta:hover { border-color: var(--border-x); transform: translateY(-3px); }
.tarjeta .ic {
  width: 38px; height: 38px; border-radius: 10px;
  display: grid; place-items: center; margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid var(--border-hi); color: var(--text);
}
.tarjeta .ic svg { width: 20px; height: 20px; }
.tarjeta h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 8px; }
.tarjeta p { font-size: 14.5px; color: var(--text-mute); line-height: 1.55; }
.tarjeta .mas { margin-top: 14px; display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--naranja-bright); }

/* ---------- Llamado a la acción ---------- */
.cta {
  position: relative; overflow: hidden; isolation: isolate;
  margin: 72px 0;
  border: 1px solid var(--border-hi); border-radius: var(--r-xl);
  padding: 56px 40px; text-align: center;
  background: linear-gradient(135deg, rgba(76,199,106,.06), rgba(232,101,31,.10) 50%, rgba(138,106,240,.06));
}
.cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(232,101,31,.16), transparent 60%);
}
.cta h2 {
  font-size: clamp(28px, 4vw, 44px); font-weight: 600;
  line-height: 1.1; letter-spacing: -0.03em;
  max-width: 640px; margin: 0 auto 14px;
}
.cta p { font-size: 17px; color: var(--text-soft); max-width: 520px; margin: 0 auto 28px; }
.cta-botones { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.cta-pie {
  margin-top: 18px; font-family: var(--f-mono); font-size: 11.5px;
  letter-spacing: .08em; text-transform: uppercase; color: var(--text-dim);
}
@media (max-width: 560px) { .cta { padding: 40px 22px; border-radius: var(--r-lg); } }

/* CTA en línea, dentro del artículo */
.cta-linea {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  border: 1px solid var(--border-hi); border-radius: var(--r-md);
  background: var(--surface); padding: 18px 20px;
}
.cta-linea p { margin: 0; font-size: 15px; color: var(--text-soft); max-width: 460px; }
.cta-linea strong { color: var(--text); }

/* ---------- FAQ con <details> (funciona sin JS) ---------- */
.faq { max-width: var(--lectura); border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 4px;
  font-size: 17px; font-weight: 500; letter-spacing: -0.01em; color: var(--text);
  transition: color .2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover, .faq details[open] summary { color: var(--naranja-bright); }
.faq summary::after {
  content: ""; flex: 0 0 auto;
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--border-hi);
  background:
    linear-gradient(var(--text), var(--text)) center / 12px 1.5px no-repeat,
    linear-gradient(var(--text), var(--text)) center / 1.5px 12px no-repeat;
  transition: background-size .3s var(--ease-out), border-color .3s, background-color .3s;
}
.faq details[open] summary::after {
  border-color: var(--naranja);
  background-color: rgba(232,101,31,.1);
  background-size: 12px 1.5px, 1.5px 0;
}
.faq .faq-r { padding: 0 4px 22px; font-size: 15.5px; line-height: 1.7; color: var(--text-soft); max-width: 660px; }
.faq .faq-r > * + * { margin-top: .8em; }
.faq .faq-r a { color: var(--brand); }

/* ---------- Secciones genéricas ---------- */
.bloque { padding: 72px 0; }
.bloque-cab { max-width: 720px; margin-bottom: 36px; }
.bloque-cab h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 600; line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 12px; }
.bloque-cab p { font-size: 17px; color: var(--text-soft); }

/* ---------- Footer (mismo que la landing) ---------- */
.pie { border-top: 1px solid var(--border); padding: 60px 0 36px; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.footer-brand { max-width: 320px; }
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand .marca { font-size: 22px; }
.footer-brand p { color: var(--text-mute); font-size: 14px; line-height: 1.55; }
.footer-col h5 {
  font-family: var(--f-mono); font-size: 11px; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--text-mute); font-size: 14px; transition: color .2s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  padding-top: 30px; border-top: 1px solid var(--border);
}
.footer-bottom .copy { font-family: var(--f-mono); font-size: 12px; color: var(--text-dim); }
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: span 2; }
}

/* ---------- Iconos SVG inline ---------- */
.icon { width: 18px; height: 18px; flex: 0 0 auto; }

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- Impresión (útil para guías y calculadoras) ---------- */
@media print {
  body { background: #fff; color: #111; }
  .cab, .pie, .cta, .cta-linea, .indice, .migas { display: none; }
  .prosa, .tabla td, .tabla th, .faq .faq-r { color: #222; }
  .tabla-env, .calc, .nota { border-color: #ccc; background: none; }
}
