/* ERP-Track · estilos compartidos
   Tipografía: Archivo (variable, ejes de peso y ancho), alojada en este sitio. Licencia OFL 1.1.
   Idea: el ancho tipográfico como lenguaje industrial. Títulos expandidos como señalética de planta,
   folios condensados como etiquetas de almacén. */

@font-face {
  font-family: "Archivo";
  src: url("fuentes/archivo-variable.woff2") format("woff2-variations"), url("fuentes/archivo-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #0B1D3A;
  --navy-2: #132A50;
  --navy-3: #1D3763;
  --azul: #1660DA;          /* botones: 5.6:1 con blanco */
  --azul-texto: #1452C2;    /* enlaces sobre claro: 6.9:1 */
  --azul-claro: #6FA3FF;    /* enlaces sobre navy: 6.7:1 */
  --cobre: #C4883A;         /* solo sobre navy o decorativo */
  --cobre-claro: #E0A65C;   /* texto sobre navy: 7.8:1 */
  --cobre-oscuro: #8A5A1C;  /* texto cobre sobre claro: 5.9:1 */
  --papel: #FFFFFF;
  --niebla: #EDF1F6;
  --tinta: #0B1D3A;
  --tinta-2: #46536B;       /* texto secundario: 7.7:1 en blanco, 6.8:1 en niebla */
  --linea: #CBD3DF;
  --sobre-navy: #E6ECF5;
  --sobre-navy-2: #A9B6CC;
  --error: #B42318;

  --fuente: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --t-1: 0.875rem; --t0: 1rem; --t1: 1.125rem; --t2: 1.375rem; --t3: 1.75rem; --t4: 2.25rem; --t5: clamp(2.25rem, 5.2vw, 3.75rem);
  --marco: 72rem;
  --radio: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--fuente); font-size: var(--t0); line-height: 1.6;
  color: var(--tinta); background: var(--papel); font-stretch: 100%;
}
img, svg { max-width: 100%; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .6em; }
p { margin: 0 0 1em; }
a { color: var(--azul-texto); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--azul-texto); outline-offset: 3px; border-radius: 2px; }
.seccion-navy :focus-visible, .heroe :focus-visible, .pie :focus-visible, .aviso-cookies :focus-visible { outline-color: var(--cobre-claro); }

.marco { width: 100%; max-width: var(--marco); margin-inline: auto; padding-inline: 1.25rem; }
.marco-angosto { max-width: 48rem; }

.saltar { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--papel); color: var(--tinta); padding: .6rem 1rem; border-radius: var(--radio); font-weight: 600; }
.saltar:focus { top: 1rem; }
.oculto { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Botones ---------- */
.boton {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 3rem; padding: .7rem 1.4rem; border-radius: var(--radio);
  background: var(--azul); color: #fff; border: 2px solid var(--azul);
  font: inherit; font-weight: 650; font-stretch: 105%; text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease;
}
.boton:hover { background: #124FB5; border-color: #124FB5; text-decoration: none; }
.boton-chico { min-height: 2.5rem; padding: .45rem 1rem; }
.boton-claro { background: transparent; color: var(--sobre-navy); border-color: var(--sobre-navy-2); }
.boton-claro:hover { background: var(--navy-2); border-color: var(--sobre-navy); }
.boton-borde { background: transparent; color: var(--azul-texto); border-color: var(--azul-texto); width: 100%; }
.boton-borde:hover { background: var(--azul-texto); color: #fff; border-color: var(--azul-texto); }
.enlace-boton { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: .18em; cursor: pointer; }

/* ---------- Cabecera ---------- */
.cabecera { position: sticky; top: 0; z-index: 50; background: var(--navy); color: var(--sobre-navy); border-bottom: 1px solid var(--navy-3); }
.cabecera-fila { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4rem; }
.marca { display: flex; align-items: baseline; gap: .6rem; color: var(--sobre-navy); text-decoration: none; }
.marca-icono { width: 1.6rem; height: 1.6rem; color: var(--navy-3); align-self: center; }
.marca-nombre { font-weight: 800; font-stretch: 125%; font-size: var(--t1); letter-spacing: -.01em; }
.marca-de { font-size: var(--t-1); color: var(--sobre-navy-2); }
.menu { display: flex; align-items: center; gap: 1.5rem; }
.menu a:not(.boton) { color: var(--sobre-navy); text-decoration: none; font-size: .95rem; }
.menu a:not(.boton):hover { text-decoration: underline; }
.menu-boton { display: none; }

@media (max-width: 52rem) {
  .marca-de { display: none; }
  .con-js .menu-boton { display: inline-flex; background: transparent; color: var(--sobre-navy); border: 2px solid var(--sobre-navy-2); border-radius: var(--radio); padding: .4rem .9rem; font: inherit; font-weight: 600; cursor: pointer; }
  .con-js .menu { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--navy); flex-direction: column; align-items: stretch; padding: 1rem 1.25rem 1.5rem; gap: .25rem; border-bottom: 1px solid var(--navy-3); }
  .con-js .menu.abierto { display: flex; }
  .con-js .menu a:not(.boton) { padding: .75rem 0; border-bottom: 1px solid var(--navy-3); }
  .con-js .menu .boton { margin-top: .75rem; }
  .sin-js .menu { flex-wrap: wrap; gap: .75rem; }
  .sin-js .cabecera-fila { flex-wrap: wrap; padding-block: .75rem; }
}

/* ---------- Héroe ---------- */
.heroe { background: var(--navy); color: var(--sobre-navy); padding-block: clamp(3rem, 7vw, 5.5rem) clamp(3rem, 6vw, 5rem); overflow: hidden; }
.heroe-rejilla { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.heroe h1 { font-size: var(--t5); font-weight: 800; font-stretch: 125%; letter-spacing: -.02em; line-height: 1.04; color: #fff; max-width: 14ch; }
.heroe-bajada { font-size: var(--t1); color: var(--sobre-navy); max-width: 38rem; }
.acciones { display: flex; flex-wrap: wrap; gap: .75rem; margin-block: 1.75rem 1.25rem; }
.heroe-estado { font-size: var(--t-1); color: var(--sobre-navy-2); max-width: 30rem; border-left: 3px solid var(--cobre); padding-left: .8rem; }
.heroe a:not(.boton) { color: var(--azul-claro); }

/* El flujo: lo memorable de la página */
.flujo { background: var(--navy-2); border: 1px solid var(--navy-3); border-radius: 10px; padding: clamp(1.25rem, 2.5vw, 2rem); }
.flujo-titulo { font-size: var(--t1); font-weight: 650; font-stretch: 100%; color: #fff; margin-bottom: 1rem; }
.giros { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.giro {
  font: inherit; font-size: var(--t-1); font-weight: 600; cursor: pointer;
  background: transparent; color: var(--sobre-navy); border: 1px solid var(--navy-3); border-radius: 999px; padding: .4rem .9rem;
}
.giro[aria-pressed="true"] { background: var(--sobre-navy); color: var(--navy); border-color: var(--sobre-navy); }

.cadena {
  --n: 5; list-style: none; margin: 0 0 1.5rem; padding: 0; position: relative;
  display: flex; align-items: stretch; gap: 0; min-height: 7.5rem;
}
.doc {
  position: relative; z-index: 1; flex: 1 1 0; min-width: 0; max-width: 12rem;
  background: var(--papel); color: var(--tinta); border-radius: 4px;
  display: flex; flex-direction: column; margin-right: 1.4rem;
  transition: flex-grow .35s ease, max-width .35s ease, margin .35s ease, opacity .25s ease, transform .35s ease;
}
.doc:last-child { margin-right: 0; }
.doc::after { /* conector entre documentos */
  content: ""; position: absolute; top: 50%; right: -1.4rem; width: 1.4rem; height: 2px; background: var(--cobre);
}
.doc:last-of-type::after, .doc.ultimo::after { display: none; }
.doc-folio {
  display: block; background: var(--cobre); color: var(--navy); border-radius: 4px 4px 0 0;
  padding: .3rem .55rem; font-size: .78rem; font-weight: 700; font-stretch: 75%; letter-spacing: .02em;
  font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.doc-tipo { display: block; padding: .55rem .55rem .7rem; font-size: .9rem; font-weight: 650; font-stretch: 85%; line-height: 1.2; hyphens: auto; overflow-wrap: anywhere; }
.doc.fuera { flex-grow: 0; max-width: 0; margin-right: 0; opacity: 0; transform: scale(.9); overflow: hidden; pointer-events: none; }
.doc.fuera::after { display: none; }
.doc.fuera > * { position: absolute; visibility: hidden; } /* que el texto oculto no estire la cadena */

/* Un solo movimiento orquestado: el pulso que recorre la cadena */
.cadena::before {
  content: ""; position: absolute; z-index: 0; top: calc(50% - 5px); left: 0; width: 10px; height: 10px; border-radius: 50%;
  background: var(--cobre-claro); box-shadow: 0 0 0 4px rgba(224,166,92,.25);
  animation: pulso 3.6s cubic-bezier(.6,0,.4,1) infinite; opacity: 0;
}
@keyframes pulso { 0% { left: 0; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { left: calc(100% - 10px); opacity: 0; } }

.pasos { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.paso {
  font: inherit; font-size: var(--t-1); font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: .45rem;
  background: transparent; color: var(--sobre-navy-2); border: 1px dashed var(--sobre-navy-2); border-radius: var(--radio); padding: .4rem .75rem;
  text-decoration: line-through; text-decoration-thickness: 1px;
}
.paso::before { content: ""; width: .7rem; height: .7rem; border-radius: 2px; border: 2px solid currentColor; }
.paso[aria-pressed="true"] { color: #fff; border-style: solid; border-color: var(--cobre); text-decoration: none; }
.paso[aria-pressed="true"]::before { background: var(--cobre); border-color: var(--cobre); }
.paso[aria-disabled="true"] { cursor: not-allowed; opacity: .85; }
.flujo-resumen { color: var(--sobre-navy); margin-bottom: .25rem; }
.flujo-nota { font-size: .8rem; color: var(--sobre-navy-2); margin: 0; }
.sin-js .pasos, .sin-js .giros, .sin-js .flujo-titulo { display: none; }

@media (max-width: 60rem) {
  .heroe-rejilla { grid-template-columns: 1fr; }
}
@media (max-width: 40rem) {
  .cadena { flex-direction: column; min-height: 0; }
  .cadena::before { display: none; }
  .doc { max-width: none; margin-right: 0; margin-bottom: 1rem; flex-direction: row; align-items: stretch; }
  .doc-folio { border-radius: 4px 0 0 4px; width: 6.2rem; flex: 0 0 auto; display: flex; align-items: center; }
  .doc::after { top: auto; bottom: -1rem; left: 1.5rem; right: auto; width: 2px; height: 1rem; }
  .doc.fuera { max-width: none; max-height: 0; margin-bottom: 0; }
  .doc { max-height: 6rem; transition: max-height .3s ease, margin .3s ease, opacity .25s ease; }
}

/* ---------- Secciones ---------- */
.seccion { padding-block: clamp(3.5rem, 7vw, 6rem); }
.seccion-niebla { background: var(--niebla); }
.seccion-navy { background: var(--navy); color: var(--sobre-navy); }
.seccion-navy a { color: var(--azul-claro); }
.titulo-seccion { font-size: clamp(1.75rem, 3.6vw, 2.6rem); font-weight: 780; font-stretch: 118%; letter-spacing: -.015em; max-width: 24ch; }
.seccion-navy .titulo-seccion { color: #fff; }
.entrada { font-size: var(--t1); color: var(--tinta-2); max-width: 44rem; margin-bottom: 2rem; }
.seccion-navy .entrada { color: var(--sobre-navy); }
h3 { font-size: var(--t2); font-weight: 700; font-stretch: 105%; }

.lista { padding-left: 0; list-style: none; margin: 0 0 1rem; }
.lista li { position: relative; padding-left: 1.4rem; margin-bottom: .55rem; max-width: 40rem; }
.lista li::before { content: ""; position: absolute; left: 0; top: .62em; width: .6rem; height: 2px; background: var(--cobre); }

/* Comparativa */
.tabla-envoltura { overflow-x: auto; }
.comparativa { width: 100%; border-collapse: collapse; min-width: 34rem; }
.comparativa th { text-align: left; font-size: var(--t1); font-weight: 750; font-stretch: 110%; padding: 0 1.25rem .75rem 0; border-bottom: 2px solid var(--tinta); }
.comparativa th:last-child { color: var(--cobre-oscuro); border-bottom-color: var(--cobre); }
.comparativa td { vertical-align: top; padding: 1rem 1.25rem 1rem 0; border-bottom: 1px solid var(--linea); width: 50%; }
.comparativa td:first-child { color: var(--tinta-2); }

/* Pestañas de sectores */
.pestanas { display: flex; flex-wrap: wrap; gap: 0; border-bottom: 2px solid var(--linea); margin-bottom: 2rem; }
.pestanas [role="tab"] {
  font: inherit; font-weight: 650; font-stretch: 100%; background: none; border: 0; cursor: pointer;
  padding: .85rem 1.1rem; margin-bottom: -2px; color: var(--tinta-2); border-bottom: 3px solid transparent;
}
.pestanas [role="tab"][aria-selected="true"] { color: var(--tinta); border-bottom-color: var(--cobre); }
.pestanas [role="tab"]:hover { color: var(--tinta); }
.panel h3 { font-size: var(--t3); font-stretch: 112%; }
.panel > p { font-size: var(--t1); color: var(--tinta-2); max-width: 40rem; }
.sin-js .pestanas { display: none; }
.sin-js .panel { margin-bottom: 2.5rem; }
.con-js .panel[hidden] { display: none; }

/* Módulos */
.modulos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 3rem; margin: 0; }
.modulos > div { display: grid; grid-template-columns: 11rem 1fr; gap: 1rem; padding-block: 1.1rem; border-top: 1px solid var(--linea); }
.modulos dt { font-weight: 750; font-stretch: 112%; }
.modulos dd { margin: 0; color: var(--tinta-2); }
@media (max-width: 52rem) { .modulos { grid-template-columns: 1fr; } .modulos > div { grid-template-columns: 1fr; gap: .25rem; } }

/* IA */
.ia-rejilla { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.ia-reglas { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 1rem; }
.ia-reglas h3 { color: #fff; font-size: var(--t1); }
.ia-costo { font-size: .95rem; color: var(--sobre-navy-2); border-left: 3px solid var(--cobre); padding-left: .8rem; max-width: 40rem; }
.chat { background: var(--navy-2); border: 1px solid var(--navy-3); border-radius: 10px; padding: 1.5rem; }
.chat-titulo { color: #fff; font-size: var(--t1); }
.chat-preguntas { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1.25rem; }
.pregunta {
  font: inherit; text-align: left; cursor: pointer; padding: .7rem .9rem; border-radius: var(--radio);
  background: transparent; color: var(--sobre-navy); border: 1px solid var(--navy-3);
}
.pregunta[aria-pressed="true"] { background: var(--sobre-navy); color: var(--navy); border-color: var(--sobre-navy); font-weight: 600; }
.chat-respuesta { background: var(--papel); color: var(--tinta); border-radius: 6px; padding: 1rem 1.1rem; min-height: 9rem; border-left: 4px solid var(--cobre); }
.chat-respuesta p:last-child { margin-bottom: 0; }
.chat-respuesta strong { font-variant-numeric: tabular-nums; }
.chat-respuesta.escribiendo { opacity: .55; }
.chat-nota { font-size: .8rem; color: var(--sobre-navy-2); margin: .75rem 0 0; }
.sin-js .chat-preguntas { display: none; }
@media (max-width: 60rem) { .ia-rejilla { grid-template-columns: 1fr; } }
@media (max-width: 36rem) { .ia-reglas { grid-template-columns: 1fr; } }

/* Columnas de datos */
.columnas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
.columnas h3 { font-size: var(--t1); padding-top: .9rem; border-top: 3px solid var(--tinta); }
.columnas p { color: var(--tinta-2); }
@media (max-width: 60rem) { .columnas { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 36rem) { .columnas { grid-template-columns: 1fr; } }

/* Secuencia de implementación: sí es una secuencia, por eso va numerada */
.secuencia { list-style: none; counter-reset: paso; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.5rem; }
.secuencia li { counter-increment: paso; position: relative; padding-top: 3.25rem; }
.secuencia li::before {
  content: counter(paso); position: absolute; top: 0; left: 0; width: 2.4rem; height: 2.4rem; display: grid; place-items: center;
  background: var(--navy); color: var(--cobre-claro); font-weight: 800; font-stretch: 125%; border-radius: 4px; font-variant-numeric: tabular-nums;
}
.secuencia li::after { content: ""; position: absolute; top: 1.2rem; left: 2.9rem; right: -1rem; height: 2px; background: var(--linea); }
.secuencia li:last-child::after { display: none; }
.secuencia h3 { font-size: var(--t1); }
.secuencia p { color: var(--tinta-2); font-size: .95rem; }
@media (max-width: 60rem) {
  .secuencia { grid-template-columns: 1fr; gap: 0; }
  .secuencia li { padding: 0 0 1.5rem 3.5rem; }
  .secuencia li::after { top: 2.6rem; bottom: .2rem; left: 1.15rem; right: auto; width: 2px; height: auto; }
}

/* Planes */
.planes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; align-items: stretch; }
.plan { display: flex; flex-direction: column; border: 1px solid var(--linea); border-top: 6px solid var(--navy); border-radius: 0 0 var(--radio) var(--radio); padding: 1.6rem 1.5rem 1.5rem; }
.plan:nth-child(2) { border-top-color: var(--azul); }
.plan:nth-child(3) { border-top-color: var(--cobre); }
.plan h3 { font-size: var(--t3); font-stretch: 120%; margin-bottom: .3rem; }
.plan-para { color: var(--tinta-2); min-height: 4.9em; }
.precio { margin-bottom: 1.25rem; }
.precio-monto { font-size: 2.6rem; font-weight: 800; font-stretch: 112%; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.precio-nota { display: block; color: var(--tinta-2); font-size: var(--t-1); }
.plan-limites { list-style: none; margin: 0 0 1.25rem; padding: .9rem 0; border-block: 1px solid var(--linea); font-weight: 600; font-stretch: 95%; }
.plan-limites li { padding-block: .15rem; }
.plan-incluye { flex: 1; }
.plan .boton { margin-top: 1rem; }
@media (max-width: 60rem) { .planes { grid-template-columns: 1fr; } .plan-para { min-height: 0; } }

.aparte { margin-top: 3rem; background: var(--niebla); border-radius: 10px; padding: clamp(1.5rem, 3vw, 2.25rem); }
.aparte > p { color: var(--tinta-2); }
.aparte-lista { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2.5rem; }
.aparte-lista > div { padding-block: .9rem; border-top: 1px solid var(--linea); }
.aparte-lista dt { font-weight: 750; }
.aparte-lista dd { margin: .2rem 0 0; color: var(--tinta-2); }
.aparte-nota { margin: 1.25rem 0 0; font-weight: 600; }
@media (max-width: 52rem) { .aparte-lista { grid-template-columns: 1fr; } }

/* Preguntas */
details { border-top: 1px solid var(--linea); }
details:last-of-type { border-bottom: 1px solid var(--linea); }
summary { cursor: pointer; padding: 1.1rem 2rem 1.1rem 0; font-weight: 650; font-size: var(--t1); list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: .25rem; top: .85rem; font-size: 1.5rem; font-weight: 400; color: var(--cobre-oscuro); }
details[open] summary::after { content: "−"; }
details p { color: var(--tinta-2); max-width: 42rem; padding-bottom: .5rem; }

/* Contacto */
.contacto-rejilla { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.contacto-directo { color: var(--tinta-2); }
.formulario { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.25rem; }
.campo { display: flex; flex-direction: column; }
.campo-ancho { grid-column: 1 / -1; }
.campo label { font-weight: 600; margin-bottom: .35rem; }
.opcional { font-weight: 400; color: var(--tinta-2); }
.campo input, .campo select, .campo textarea {
  font: inherit; color: var(--tinta); background: var(--papel); border: 1.5px solid #7D8AA0; border-radius: var(--radio);
  padding: .7rem .8rem; min-height: 3rem; width: 100%;
}
.campo textarea { resize: vertical; min-height: 8rem; }
.campo input:focus-visible, .campo select:focus-visible, .campo textarea:focus-visible { border-color: var(--azul-texto); }
.campo [aria-invalid="true"] { border-color: var(--error); }
.ayuda { font-size: var(--t-1); color: var(--tinta-2); margin: .4rem 0 0; }
.error { color: var(--error); font-size: var(--t-1); font-weight: 600; margin: .3rem 0 0; min-height: 0; }
.error:empty { display: none; }
.campo-casilla { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: .75rem; }
.campo-casilla input { width: 1.35rem; height: 1.35rem; min-height: 0; margin-top: .15rem; flex: 0 0 auto; accent-color: var(--azul); }
.campo-casilla label { font-weight: 400; flex: 1; margin: 0; }
.campo-casilla .error { flex-basis: 100%; }
.estado-envio { margin: 1rem 0 0; font-weight: 600; }
.estado-envio.ok { color: #116B3A; }
.estado-envio.mal { color: var(--error); }
@media (max-width: 52rem) { .contacto-rejilla, .formulario { grid-template-columns: 1fr; } }

/* Pie */
.pie { background: var(--navy); color: var(--sobre-navy); padding-block: 3rem 1.5rem; font-size: .95rem; }
.pie a, .pie .enlace-boton { color: var(--sobre-navy); }
.pie-rejilla { display: grid; grid-template-columns: 2fr 1fr; gap: 2rem; }
.pie-marca { font-weight: 750; font-stretch: 112%; color: #fff; }
.pie address { font-style: normal; color: var(--sobre-navy-2); line-height: 1.7; }
.pie address a { color: var(--sobre-navy); }
.pie-enlaces { list-style: none; margin: 0; padding: 0; }
.pie-enlaces li { margin-bottom: .55rem; }
.pie-legal { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--navy-3); color: var(--sobre-navy-2); font-size: .82rem; }
@media (max-width: 44rem) { .pie-rejilla { grid-template-columns: 1fr; } }

/* Aviso de cookies: sin muros, sin botones disparejos */
.aviso-cookies { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--navy-2); color: var(--sobre-navy); border-top: 2px solid var(--cobre); padding-block: 1rem; }
.aviso-fila { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; }
.aviso-fila p { margin: 0; max-width: 46rem; font-size: .95rem; }
.aviso-cookies a { color: var(--azul-claro); }
.aviso-botones { display: flex; gap: .6rem; flex-wrap: wrap; }
.aviso-botones .boton { min-height: 2.6rem; padding: .45rem 1.1rem; }
.aviso-botones .boton-par { background: var(--sobre-navy); color: var(--navy); border-color: var(--sobre-navy); }
.aviso-botones .boton-par:hover { background: #fff; border-color: #fff; }

/* Páginas legales */
.legal { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.legal h1 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 800; font-stretch: 120%; letter-spacing: -.015em; }
.legal .fecha { color: var(--tinta-2); margin-bottom: 2.5rem; }
.legal h2 { font-size: var(--t2); font-weight: 750; font-stretch: 108%; margin-top: 2.25rem; }
.legal p, .legal li { max-width: 44rem; }
.legal ul { padding-left: 1.2rem; }
.legal li { margin-bottom: .45rem; }
.legal table { border-collapse: collapse; width: 100%; margin-bottom: 1.5rem; min-width: 32rem; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: .6rem .8rem .6rem 0; border-bottom: 1px solid var(--linea); }
.legal th { border-bottom: 2px solid var(--tinta); }
.volver { display: inline-block; margin-bottom: 2rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .cadena::before { display: none; }
}
