@charset "UTF-8";

/* ==========================================================================
   Teide Travel Escolar · tema de marca
   Paleta y tipografía derivadas del sello de la agencia.
   Cárgala DESPUÉS de estilo.css: lo que definas aquí manda.
   ========================================================================== */

/* --- Tipografías (alojadas en el propio servidor, sin CDN) ---------------- */

@font-face {
  font-family: 'Fredoka';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fuentes/fredoka-400_600-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: 'Fredoka';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fuentes/fredoka-400_600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fuentes/nunito-sans-400_800-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: 'Nunito Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fuentes/nunito-sans-400_800-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fuentes/ibm-plex-mono-400-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: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fuentes/ibm-plex-mono-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fuentes/ibm-plex-mono-600-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: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fuentes/ibm-plex-mono-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --- Fichas de diseño ---------------------------------------------------- */

:root {
  /* Colores tomados directamente del sello */
  --tinta:        #0b2c3d;  /* letras «ESCOLAR», trazo del sello */
  --tinta-suave:  #35576a;  /* texto secundario */
  --basalto:      #17414f;  /* montaña y aro exterior */
  --basalto-alto: #2b7d96;  /* enlaces y estados activos */
  --cielo:        #7acfe3;  /* rótulo «TEIDE TRAVEL» */
  --cielo-tenue:  #d6eff6;
  --sol:          #efa546;  /* el sol del sello */
  --sol-oscuro:   #b96f14;  /* mismo tono con contraste para texto */
  --pino:         #5c7a44;  /* el pino: confirmaciones */
  --pino-tenue:   #eaf2e2;
  --lava:         #b8462a;  /* la manzana: errores y vencimientos */
  --lava-tenue:   #fbeae5;

  --papel:        #f2f6f8;  /* fondo general, blanco enfriado hacia el aro */
  --fondo-contexto: var(--papel); /* fondo sobre el que se apoyan los resguardos */
  --papel-alto:   #ffffff;  /* tarjetas */
  --borde:        #d3e0e6;
  --borde-fuerte: #a8c3ce;

  /* Tipografías */
  --tipo-titulo: 'Fredoka', 'Trebuchet MS', system-ui, sans-serif;
  --tipo-texto:  'Nunito Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --tipo-dato:   'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  /* Escala de tamaños (razón 1,25) */
  --t--2: .75rem;
  --t--1: .875rem;
  --t-0:  1rem;
  --t-1:  1.25rem;
  --t-2:  1.5625rem;
  --t-3:  1.9531rem;
  --t-4:  clamp(2.2rem, 1.6rem + 2.6vw, 3.05rem);

  /* Ritmo y forma */
  --hueco:   1.25rem;
  --radio:   12px;
  --radio-s: 8px;
  --sombra:  0 1px 2px rgba(11, 44, 61, .06), 0 6px 20px rgba(11, 44, 61, .07);
  --sombra-alta: 0 2px 4px rgba(11, 44, 61, .08), 0 16px 40px rgba(11, 44, 61, .13);
  --ancho:   1120px;
}

/* --- Base ---------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--tipo-texto);
  font-size: var(--t-0);
  line-height: 1.6;
  color: var(--tinta);
  background-color: var(--papel);
  /* Textura muy leve de papel de sello: dos manchas de tinta diluida */
  background-image:
    radial-gradient(60rem 32rem at 82% -12%, rgba(122, 207, 227, .22), transparent 62%),
    radial-gradient(46rem 26rem at -8% 4%, rgba(239, 165, 70, .13), transparent 60%);
  background-repeat: no-repeat;
  background-attachment: fixed;
}

h1, h2, h3, h4, h5 {
  font-family: var(--tipo-titulo);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.005em;
  margin: 0 0 .5em;
  color: var(--tinta);
  text-wrap: balance;
}
h1 { font-size: var(--t-3); }
h2 { font-size: var(--t-2); }
h3 { font-size: var(--t-1); }
h4 { font-size: var(--t-0); }

p { margin: 0 0 1em; max-width: 68ch; }

a { color: var(--basalto-alto); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--tinta); }

:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid var(--sol);
  outline-offset: 2px;
  border-radius: 4px;
}

img { max-width: 100%; height: auto; }

hr { border: 0; border-top: 1px solid var(--borde); margin: 2rem 0; }

::selection { background: var(--cielo); color: var(--tinta); }

/* Cifras, códigos y fechas: siempre en la tipografía de datos y alineadas */
.dato, .importe, .codigo, td.importe, .fecha {
  font-family: var(--tipo-dato);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.01em;
}

/* --- Estructura ---------------------------------------------------------- */

.contenedor {
  width: min(100% - 2.5rem, var(--ancho));
  margin-inline: auto;
}

.seccion { padding-block: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); }

.rejilla {
  display: grid;
  gap: var(--hueco);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
}

/* --- Cinta de pruebas ---------------------------------------------------- */

.cinta-pruebas {
  background: var(--sol);
  color: #3d2606;
  font-family: var(--tipo-dato);
  font-size: var(--t--2);
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: center;
  padding: .45rem 1rem;
}

/* --- Cabecera ------------------------------------------------------------ */

.cabecera,
.cab {
  background: var(--papel-alto);
  border-bottom: 1px solid var(--borde);
  position: sticky;
  top: 0;
  z-index: 20;
}

.cabecera__fila,
.cab-fila {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
  padding-block: .6rem;
  flex-wrap: wrap;
}

/* Marca: sello + rótulo en dos líneas, como en el logotipo */
.marca {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  color: var(--tinta);
}
.marca .marca__sello {
  height: 44px;
  width: auto;
  flex: none;
  transition: transform .35s cubic-bezier(.2, .7, .3, 1);
}
.marca:hover .marca__sello { transform: rotate(-3deg) scale(1.05); }

/* Variante circular, por si en algún sitio prefieres el isotipo compacto */
.marca .marca__sello--redondo { height: 52px; width: 52px; border-radius: 50%; }

.marca .marca__texto { display: grid; line-height: 1; }
.marca .marca__nombre {
  font-family: var(--tipo-titulo);
  font-weight: 600;
  font-size: 1.32rem;
  letter-spacing: .01em;
  color: var(--basalto);
}
.marca .marca__cola {
  font-family: var(--tipo-dato);
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--basalto-alto);
  margin-top: .28rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: .35rem;
  flex-wrap: wrap;
}
.nav a, .nav .boton-enlace, .nav .enlace-boton {
  font-weight: 600;
  font-size: var(--t--1);
  color: var(--tinta-suave);
  text-decoration: none;
  padding: .5rem .75rem;
  border-radius: var(--radio-s);
}
.nav a:hover, .nav .boton-enlace:hover, .nav .enlace-boton:hover {
  background: var(--cielo-tenue);
  color: var(--tinta);
}
.nav a.boton { color: #fff; padding: .5rem 1.05rem; }
.nav a.boton:hover { background: var(--tinta); color: #fff; }
.nav a.boton--linea,
.nav a.boton-sec { color: var(--basalto); background: transparent; }
.nav a.boton-sec:hover { background: var(--cielo-tenue); color: var(--tinta); }

.nav a[aria-current] {
  color: var(--tinta);
  box-shadow: inset 0 -3px 0 var(--sol);
}
.nav form { margin: 0; display: inline; }

.boton-enlace,
.enlace-boton {
  background: none;
  border: 0;
  font: inherit;
  cursor: pointer;
}

/* --- Botones ------------------------------------------------------------- */

.boton,
button.boton,
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--tipo-texto);
  font-weight: 700;
  font-size: var(--t-0);
  line-height: 1.2;
  padding: .8rem 1.4rem;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  background: var(--basalto);
  color: #fff;
  transition: background-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.boton:hover, input[type="submit"]:hover {
  background: var(--tinta);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--sombra);
}
.boton:active { transform: translateY(0); }
.boton[disabled], .boton:disabled { opacity: .55; cursor: not-allowed; transform: none; }

.boton--sol { background: var(--sol); color: #33230a; }
.boton--sol:hover { background: #e0912c; color: #241703; }

.boton--linea,
.boton-sec {
  background: transparent;
  color: var(--basalto);
  border-color: var(--borde-fuerte);
}
.boton--linea:hover,
.boton-sec:hover { background: var(--cielo-tenue); color: var(--tinta); }

.boton--pequeno { padding: .5rem .95rem; font-size: var(--t--1); }
.boton--ancho { width: 100%; }

/* --- Portada ------------------------------------------------------------- */

.portada {
  padding-block: clamp(2.5rem, 1rem + 5vw, 4.5rem) clamp(1.5rem, .5rem + 2vw, 2.5rem);
}
/* Sin imagen lateral: el texto manda y se alinea con el resto de la página */
.portada__rejilla > * { max-width: 46rem; }
.portada__eyebrow {
  font-family: var(--tipo-dato);
  font-size: var(--t--2);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--basalto-alto);
  margin-bottom: .9rem;
}
.portada h1 {
  font-size: var(--t-4);
  letter-spacing: -.015em;
  margin-bottom: .6rem;
}
.portada h1 em {
  font-style: normal;
  color: var(--basalto-alto);
  /* Subrayado de trazo, como la arena del sello */
  background: linear-gradient(var(--sol), var(--sol)) bottom left / 100% .18em no-repeat;
  padding-bottom: .06em;
}
.portada__entrada { font-size: var(--t-1); color: var(--tinta-suave); max-width: 46ch; }
.portada__acciones { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

/* --- Tarjetas ------------------------------------------------------------ */

.tarjeta {
  background: var(--papel-alto);
  border: 1px solid var(--borde);
  border-radius: var(--radio);
  padding: 1.4rem;
  box-shadow: var(--sombra);
}

.tarjeta-programa {
  display: flex;
  flex-direction: column;
  background: var(--papel-alto);
  border: 1px solid var(--borde);
  border-radius: var(--radio);
  overflow: hidden;
  box-shadow: var(--sombra);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.tarjeta-programa:hover {
  transform: translateY(-3px);
  box-shadow: var(--sombra-alta);
  border-color: var(--borde-fuerte);
}
.tarjeta-programa__cuerpo { padding: 1.35rem; display: flex; flex-direction: column; flex: 1; }
.tarjeta-programa h3 { margin-bottom: .35rem; }
.tarjeta-programa h3 a { color: inherit; text-decoration: none; }
.tarjeta-programa h3 a:hover { color: var(--basalto-alto); }
.tarjeta-programa p { color: var(--tinta-suave); font-size: var(--t--1); }
.tarjeta-programa__pie {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px dashed var(--borde-fuerte);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .75rem;
}
.tarjeta-programa__precio {
  font-family: var(--tipo-dato);
  font-weight: 600;
  font-size: var(--t-1);
  font-variant-numeric: tabular-nums;
  color: var(--tinta);
}
.tarjeta-programa__precio small {
  display: block;
  font-family: var(--tipo-texto);
  font-weight: 400;
  font-size: var(--t--2);
  color: var(--tinta-suave);
}

/* Etiquetas de duración, destino o modalidad */
.etiqueta {
  display: inline-block;
  font-family: var(--tipo-dato);
  font-size: var(--t--2);
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .22rem .6rem;
  border-radius: 999px;
  background: var(--cielo-tenue);
  color: var(--basalto);
}
.etiqueta--sol   { background: #fdf0dc; color: var(--sol-oscuro); }
.etiqueta--pino  { background: var(--pino-tenue); color: var(--pino); }
.etiqueta--lava  { background: var(--lava-tenue); color: var(--lava); }

/* --- El elemento firma: la cuota como resguardo troquelado --------------- */

.cuotas { display: grid; gap: .85rem; margin: 1.5rem 0; padding: 0; list-style: none; }

.cuota {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.1rem;
  background: var(--papel-alto);
  border: 1px solid var(--borde);
  border-radius: var(--radio);
  padding: 1rem 1.35rem;
}
/* Los dos troqueles laterales del resguardo */
.cuota::before,
.cuota::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--fondo-contexto);
  transform: translateY(-50%);
}
.cuota::before { left: -10px; }
.cuota::after  { right: -10px; }

.cuota__numero {
  font-family: var(--tipo-dato);
  font-size: var(--t--2);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--basalto-alto);
  text-align: center;
  padding-right: 1.1rem;
  border-right: 2px dashed var(--borde-fuerte);
  align-self: stretch;
  display: grid;
  place-content: center;
}
.cuota__numero strong {
  display: block;
  font-size: var(--t-2);
  font-weight: 600;
  color: var(--tinta);
  letter-spacing: 0;
}
.cuota__detalle { min-width: 0; }
.cuota__detalle p { margin: 0; }
.cuota__fecha {
  font-family: var(--tipo-dato);
  font-size: var(--t--1);
  color: var(--tinta-suave);
  font-variant-numeric: tabular-nums;
}
.cuota__importe {
  font-family: var(--tipo-dato);
  font-weight: 600;
  font-size: var(--t-1);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.cuota--pagada { background: linear-gradient(var(--pino-tenue), var(--pino-tenue)) left / 5px 100% no-repeat, var(--papel-alto); }
.cuota--pagada .cuota__numero { border-right-color: #c3d5ae; }
.cuota--vencida { border-color: #e7b9a9; }

/* El sello de tinta: la marca vuelve a aparecer donde más importa */
.sello {
  display: inline-block;
  font-family: var(--tipo-titulo);
  font-weight: 600;
  font-size: var(--t--2);
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: .2em .65em .25em;
  border: 2px solid currentColor;
  border-radius: 6px;
  transform: rotate(-5deg);
  opacity: .92;
}
.sello--pagado    { color: var(--pino); }
.sello--pendiente { color: var(--sol-oscuro); border-style: dashed; }
.sello--vencido   { color: var(--lava); }

/* Barra de avance del pago */
.avance {
  height: 10px;
  border-radius: 999px;
  background: var(--cielo-tenue);
  overflow: hidden;
}
.avance > span,
[data-porcentaje] > span {
  display: block;
  height: 100%;
  width: var(--p, 0%);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--basalto-alto), var(--cielo));
  transition: width .6s cubic-bezier(.2, .7, .3, 1);
}

/* --- Formularios --------------------------------------------------------- */

label { display: block; font-weight: 700; font-size: var(--t--1); margin-bottom: .3rem; }

input[type="text"], input[type="email"], input[type="password"], input[type="tel"],
input[type="number"], input[type="date"], input[type="search"], select, textarea {
  width: 100%;
  font-family: var(--tipo-texto);
  font-size: var(--t-0);
  color: var(--tinta);
  background: var(--papel-alto);
  border: 1px solid var(--borde-fuerte);
  border-radius: var(--radio-s);
  padding: .7rem .85rem;
  transition: border-color .15s ease, box-shadow .15s ease;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--basalto-alto);
  box-shadow: 0 0 0 3px rgba(43, 125, 150, .18);
  outline: none;
}
input::placeholder, textarea::placeholder { color: #8ba3ad; }

.campo { margin-bottom: 1.1rem; }
.campo small, .ayuda { display: block; font-size: var(--t--2); color: var(--tinta-suave); margin-top: .3rem; }

/* Código de grupo: se teclea carácter a carácter, así que se ve como tal */
input.codigo-grupo {
  font-family: var(--tipo-dato);
  font-size: var(--t-2);
  letter-spacing: .35em;
  text-indent: .35em;
  text-transform: uppercase;
  text-align: center;
}

/* --- Avisos -------------------------------------------------------------- */

.aviso, [class*="aviso-"] {
  border: 1px solid var(--borde);
  border-left: 4px solid var(--basalto-alto);
  background: var(--papel-alto);
  border-radius: var(--radio-s);
  padding: .9rem 1.1rem;
  margin-bottom: 1.2rem;
  font-size: var(--t--1);
}
.aviso-exito, .aviso--exito { border-left-color: var(--pino); background: var(--pino-tenue); }
.aviso-error, .aviso--error { border-left-color: var(--lava); background: var(--lava-tenue); }
.aviso-info,  .aviso--info  { border-left-color: var(--basalto-alto); background: var(--cielo-tenue); }
.aviso-alerta, .aviso--alerta { border-left-color: var(--sol); background: #fdf3e3; }

/* --- Tablas -------------------------------------------------------------- */

.tabla, table {
  width: 100%;
  border-collapse: collapse;
  background: var(--papel-alto);
  font-size: var(--t--1);
}
.tabla th, table th {
  text-align: left;
  font-family: var(--tipo-dato);
  font-size: var(--t--2);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--basalto);
  background: var(--cielo-tenue);
  padding: .7rem .85rem;
  border-bottom: 1px solid var(--borde);
}
.tabla td, table td {
  padding: .7rem .85rem;
  border-bottom: 1px solid var(--borde);
  vertical-align: middle;
}
.tabla tbody tr:hover, table tbody tr:hover { background: #f7fbfc; }
.tabla td:last-child, table td:last-child { text-align: right; }

.tabla-envoltura { overflow-x: auto; border: 1px solid var(--borde); border-radius: var(--radio); }

/* --- Pie ----------------------------------------------------------------- */

.pie {
  margin-top: clamp(2rem, 4vw, 3.5rem);
  background: var(--tinta);
  color: #c3d7e0;
  padding-block: 3rem 1.75rem;
}
.pie h4 {
  font-family: var(--tipo-titulo);
  color: #fff;
  font-size: var(--t-0);
  letter-spacing: .02em;
  margin-bottom: .6rem;
}
.pie a { color: var(--cielo); text-decoration: none; }
.pie a:hover { color: #fff; text-decoration: underline; }
.pie p { font-size: var(--t--1); }
.pie__rejilla {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
}
.pie__sello { width: 92px; margin-bottom: 1rem; }
.pie__legal {
  margin-top: 2.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(122, 207, 227, .22);
  font-size: var(--t--2);
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.25rem;
  justify-content: space-between;
  color: #8fb0be;
}
.pie ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; font-size: var(--t--1); }

/* Marca sobre fondo oscuro */
.marca--claro .marca__nombre { color: #fff; }
.marca--claro .marca__cola   { color: var(--cielo); }
.pie .marca { margin-bottom: 1rem; }
.pie .marca .marca__sello { height: 40px; }

/* Enlace de salto al contenido */
.saltar-contenido {
  position: absolute;
  left: -9999px;
  background: var(--sol);
  color: #33230a;
  font-weight: 700;
  padding: .7rem 1.1rem;
  border-radius: 0 0 var(--radio-s) 0;
  z-index: 60;
}
.saltar-contenido:focus {
  left: 0;
  top: 0;
}

/* Piezas propias de la plantilla actual */
main.principal { padding-block: clamp(1.75rem, 1rem + 2vw, 3rem); }
.en-linea { display: inline; margin: 0; }
.enlaces-pie { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-top: 1rem; }
.pie .contenedor > .marca { display: inline-flex; margin-bottom: 1.25rem; }

/* --- Detalles finales ---------------------------------------------------- */

@media (max-width: 40rem) {
  .cabecera__fila, .cab-fila { min-height: 64px; }
  .marca .marca__sello { height: 38px; }
  .marca .marca__sello--redondo { width: 38px; }
  .marca__nombre { font-size: 1.1rem; }
  .marca__cola { font-size: .6rem; letter-spacing: .18em; }
  .cuota { grid-template-columns: auto 1fr; row-gap: .6rem; }
  .cuota__importe { grid-column: 2; justify-self: end; }
}

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

@media print {
  .cabecera, .cab, .nav, .pie, .cinta-pruebas { display: none; }
  body { background: #fff; color: #000; }
  .cuota, .tarjeta { box-shadow: none; border-color: #999; }
}
