@charset "UTF-8";

/* ==========================================================================
   Transvapesa — hoja de estilos única
   Paleta extraída del logo corporativo. Contraste WCAG AA verificado.
   ========================================================================== */

/* ---------- Fuentes locales ---------- */

@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/barlow-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: "Barlow";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/barlow-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/barlow-700-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: "Barlow";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/barlow-700-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/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: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-var-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Variables ---------- */

:root {
  --azul: #54719c;
  --azul-oscuro: #3a4f73;
  --azul-oscuro-hover: #2f4160;
  --rojo: #e71d24;
  --rojo-hover: #c8161d;
  --verde: #0c9f51;
  --texto: #1f2937;
  --texto-suave: #4b5563;
  --fondo: #ffffff;
  --fondo-claro: #f4f6f9;
  --borde: #d1d5db;

  --fuente-titulos: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fuente-texto: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --h1: clamp(2.2rem, 4vw, 3.5rem);
  --h2: clamp(1.6rem, 2.6vw, 2.4rem);
  --h3: clamp(1.25rem, 1.8vw, 1.6rem);
  --cuerpo: clamp(1rem, 0.4vw + 0.95rem, 1.125rem);
  --pequenyo: 0.875rem;

  --ancho: 1140px;
  --aire: clamp(1.5rem, 4vw, 3rem);
  --seccion-y: clamp(3rem, 6vw, 5rem);
  --radio: 10px;
  --sombra: 0 8px 24px rgba(31, 41, 55, 0.09);
}

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

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--fuente-texto);
  font-size: var(--cuerpo);
  line-height: 1.65;
  color: var(--texto);
  background: var(--fondo);
  -webkit-text-size-adjust: 100%;
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--fuente-titulos);
  line-height: 1.15;
  margin: 0 0 0.6em;
  color: var(--texto);
  text-wrap: balance;
}

h1 {
  font-size: var(--h1);
  font-weight: 700;
  letter-spacing: -0.01em;
}

h2 {
  font-size: var(--h2);
  font-weight: 700;
}

h3 {
  font-size: var(--h3);
  font-weight: 600;
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--azul);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover {
  color: var(--azul-oscuro);
}

:focus-visible {
  outline: 3px solid var(--rojo);
  outline-offset: 2px;
}

ul,
ol {
  margin: 0 0 1em;
  padding-left: 1.2em;
}

.contenedor {
  width: min(100% - 2 * var(--aire), var(--ancho));
  margin-inline: auto;
}

.salto-contenido {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--azul-oscuro);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 var(--radio) 0;
}

.salto-contenido:focus {
  left: 0;
}

.oculto-visual {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

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

.btn {
  display: inline-block;
  font-family: var(--fuente-titulos);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  padding: 0.85em 1.6em;
  border-radius: var(--radio);
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn--principal {
  background: var(--azul-oscuro);
  color: #fff;
}

.btn--principal:hover {
  background: var(--azul-oscuro-hover);
  color: #fff;
}

.btn--cta {
  background: var(--rojo);
  color: #fff;
}

.btn--cta:hover {
  background: var(--rojo-hover);
  color: #fff;
}

.btn--linea {
  background: transparent;
  color: var(--azul-oscuro);
  border-color: var(--azul-oscuro);
}

.btn--linea:hover {
  background: var(--azul-oscuro);
  color: #fff;
}

.btn--claro {
  background: #fff;
  color: var(--azul-oscuro);
}

.btn--claro:hover {
  background: var(--fondo-claro);
  color: var(--azul-oscuro);
}

.seccion--oscura .btn--linea,
.hero .btn--linea {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.75);
}

.seccion--oscura .btn--linea:hover,
.hero .btn--linea:hover {
  background: #fff;
  color: var(--azul-oscuro);
  border-color: #fff;
}

.grupo-botones {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

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

.cabecera {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--borde);
}

.cabecera__interior {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-block: 0.75rem;
  flex-wrap: wrap;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.logo img {
  width: auto;
  height: 40px;
}

.navegacion {
  margin-left: auto;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
}

.navegacion__boton {
  display: none;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--fuente-titulos);
  font-weight: 600;
  font-size: 1rem;
  color: var(--azul-oscuro);
  background: var(--fondo-claro);
  border: 1px solid var(--borde);
  border-radius: var(--radio);
  padding: 0.55em 1em;
  cursor: pointer;
}

.navegacion__boton svg {
  width: 20px;
  height: 20px;
}

.navegacion__lista {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.75rem);
}

.navegacion__lista a {
  font-weight: 500;
  color: var(--texto);
  text-decoration: none;
  padding: 0.35em 0;
  display: inline-block;
  border-bottom: 2px solid transparent;
}

.navegacion__lista a:hover {
  color: var(--azul);
  border-bottom-color: var(--rojo);
}

.navegacion__lista a[aria-current="page"] {
  color: var(--azul);
  border-bottom-color: var(--azul);
  font-weight: 600;
}

.cabecera__cta {
  flex: 0 0 auto;
}

@media (max-width: 899px) {
  .cabecera__cta {
    display: none;
  }

  .js .navegacion__boton {
    display: inline-flex;
  }

  .js .navegacion__lista {
    display: none;
    flex-direction: column;
    flex: 1 1 100%;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--borde);
    border-radius: var(--radio);
    background: #fff;
    box-shadow: var(--sombra);
    margin-top: 0.5rem;
    overflow: hidden;
  }

  .js .navegacion--abierta .navegacion__lista {
    display: flex;
  }

  .js .navegacion__lista li {
    border-bottom: 1px solid var(--fondo-claro);
  }

  .js .navegacion__lista li:last-child {
    border-bottom: 0;
  }

  .js .navegacion__lista a {
    display: block;
    padding: 0.85em 1em;
  }

  .js .navegacion__lista a[aria-current="page"] {
    background: var(--fondo-claro);
    border-bottom-color: transparent;
    border-left: 3px solid var(--azul);
  }
}

@media (min-width: 900px) {
  .navegacion__lista {
    display: flex !important;
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background-color: var(--azul-oscuro);
  background-image: linear-gradient(
      105deg,
      rgba(31, 46, 71, 0.94) 0%,
      rgba(47, 65, 96, 0.86) 45%,
      rgba(58, 79, 115, 0.62) 100%
    ),
    url("/img/fondo-hero.webp");
  background-size: cover;
  background-position: center;
  color: #fff;
  padding-block: clamp(3.5rem, 9vw, 7rem);
}

.hero h1 {
  color: #fff;
  max-width: 20ch;
}

.hero__destacado {
  font-family: var(--fuente-titulos);
  font-size: var(--h3);
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.75em;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.hero__destacado::before {
  content: "";
  width: 2.5rem;
  height: 4px;
  background: var(--rojo);
  border-radius: 2px;
  flex: 0 0 auto;
}

.hero__texto {
  font-size: clamp(1.05rem, 1vw + 1rem, 1.25rem);
  max-width: 58ch;
  color: #eef2f7;
  margin-bottom: 1.75em;
}

/* ---------- Secciones ---------- */

.seccion {
  padding-block: var(--seccion-y);
}

.seccion--clara {
  background: var(--fondo-claro);
}

.seccion--oscura {
  background: var(--azul-oscuro);
  color: #eef2f7;
}

.seccion--oscura h2,
.seccion--oscura h3 {
  color: #fff;
}

.seccion--oscura a:not(.btn) {
  color: #fff;
}

.seccion__cabecera {
  max-width: 70ch;
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}

.seccion__cabecera--centrada {
  margin-inline: auto;
  text-align: center;
}

.etiqueta {
  display: inline-block;
  font-family: var(--fuente-titulos);
  font-weight: 600;
  font-size: var(--pequenyo);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--azul);
  margin-bottom: 0.75rem;
}

.seccion--oscura .etiqueta {
  color: #c7d4e8;
}

.etiqueta::before {
  content: "";
  display: inline-block;
  width: 1.75rem;
  height: 3px;
  background: var(--verde);
  vertical-align: middle;
  margin-right: 0.6rem;
  border-radius: 2px;
}

.suave {
  color: var(--texto-suave);
}

.seccion--oscura .suave {
  color: #d6dfee;
}

/* ---------- Tarjetas y rejillas ---------- */

.rejilla {
  display: grid;
  gap: clamp(1rem, 2.5vw, 1.75rem);
}

.rejilla--2 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr));
}

.rejilla--3 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
}

.rejilla--4 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
}

.tarjeta {
  background: #fff;
  border: 1px solid var(--borde);
  border-radius: var(--radio);
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  box-shadow: 0 2px 10px rgba(31, 41, 55, 0.04);
}

.tarjeta h3 {
  margin-bottom: 0.5em;
}

.tarjeta p {
  color: var(--texto-suave);
}

.tarjeta--ventaja {
  border-top: 4px solid var(--azul);
}

.tarjeta--ventaja:nth-child(2n) {
  border-top-color: var(--verde);
}

.tarjeta--ventaja:nth-child(3n) {
  border-top-color: var(--rojo);
}

.icono {
  width: 52px;
  height: 52px;
  margin-bottom: 1rem;
  color: var(--azul);
}

.icono--verde {
  color: var(--verde);
}

.icono--rojo {
  color: var(--rojo);
}

.lista-marca {
  list-style: none;
  padding: 0;
  margin: 0;
}

.lista-marca li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.7em;
}

.lista-marca li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: var(--verde);
}

.seccion--oscura .lista-marca li::before {
  background: #4fd18c;
}

/* ---------- Sectores ---------- */

.seccion--sectores {
  position: relative;
  background-color: var(--azul-oscuro);
  background-image: linear-gradient(rgba(47, 65, 96, 0.9), rgba(47, 65, 96, 0.92)),
    url("/img/fondo-sectores.webp");
  background-size: cover;
  background-position: center;
  color: #eef2f7;
}

.seccion--sectores h2 {
  color: #fff;
}

.tarjeta-sector {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radio);
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.tarjeta-sector h3 {
  color: #fff;
  margin: 0;
  font-size: 1.15rem;
}

.tarjeta-sector p {
  margin: 0;
  color: #d6dfee;
  font-size: 0.98rem;
}

.tarjeta-sector svg {
  width: 56px;
  height: 56px;
}

/* ---------- CTA ---------- */

.cta-bloque {
  background: var(--fondo-claro);
  border-left: 6px solid var(--rojo);
  border-radius: var(--radio);
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cta-bloque h2,
.cta-bloque h3 {
  margin-bottom: 0.35em;
}

.cta-bloque p {
  margin: 0;
  color: var(--texto-suave);
  max-width: 55ch;
}

/* ---------- Bloque con imagen ---------- */

.media {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.75rem);
  align-items: center;
}

@media (min-width: 860px) {
  .media {
    grid-template-columns: 1fr 1fr;
  }

  .media--invertido .media__texto {
    order: 2;
  }
}

.media__imagen {
  border-radius: var(--radio);
  overflow: hidden;
  box-shadow: var(--sombra);
}

.media__imagen img {
  width: 100%;
}

.media__imagen figcaption {
  font-size: var(--pequenyo);
  color: var(--texto-suave);
  padding: 0.6rem 0.9rem;
  background: var(--fondo-claro);
}

/* ---------- Datos de contacto ---------- */

.lista-datos {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.1rem;
}

.lista-datos li {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}

.lista-datos svg {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  color: var(--verde);
  margin-top: 0.2em;
}

.lista-datos strong {
  display: block;
  font-family: var(--fuente-titulos);
  font-weight: 600;
}

.lista-datos span,
.lista-datos a {
  color: var(--texto-suave);
  text-decoration: none;
}

.lista-datos a:hover {
  color: var(--azul);
  text-decoration: underline;
}

.seccion--oscura .lista-datos span,
.seccion--oscura .lista-datos a {
  color: #d6dfee;
}

.seccion--oscura .lista-datos svg {
  color: #4fd18c;
}

/* ---------- Mapa ---------- */

.mapa {
  border: 0;
  border-radius: var(--radio);
  width: 100%;
  min-height: 320px;
  box-shadow: var(--sombra);
  background: var(--fondo-claro);
}

/* ---------- Formulario ---------- */

.formulario {
  background: #fff;
  border: 1px solid var(--borde);
  border-radius: var(--radio);
  padding: clamp(1.25rem, 3vw, 2.25rem);
  box-shadow: var(--sombra);
}

.campo {
  margin-bottom: 1.15rem;
}

.campo label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.obligatorio {
  color: var(--rojo);
}

.campo input,
.campo textarea {
  width: 100%;
  font-family: var(--fuente-texto);
  font-size: 1rem;
  color: var(--texto);
  background: #fff;
  border: 1px solid var(--borde);
  border-radius: var(--radio);
  padding: 0.7em 0.85em;
}

.campo textarea {
  min-height: 10rem;
  resize: vertical;
}

.campo input:focus,
.campo textarea:focus {
  border-color: var(--azul);
}

.campo--par {
  display: grid;
  gap: 1.15rem;
}

@media (min-width: 640px) {
  .campo--par {
    grid-template-columns: 1fr 1fr;
  }

  .campo--par .campo {
    margin-bottom: 0;
  }
}

.campo-trampa {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.casilla {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.98rem;
}

.casilla input {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.3em;
  flex: 0 0 auto;
  accent-color: var(--azul);
}

.casilla a {
  font-weight: 600;
}

.aviso-legal-formulario {
  font-size: var(--pequenyo);
  color: var(--texto-suave);
  background: var(--fondo-claro);
  border-radius: var(--radio);
  padding: 0.9rem 1rem;
  margin-top: 1rem;
}

.formulario-error {
  display: none;
  background: #fdecec;
  border: 1px solid var(--rojo);
  border-left-width: 5px;
  border-radius: var(--radio);
  color: #8f1218;
  padding: 0.85rem 1rem;
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.formulario-error:target {
  display: block;
}

/* ---------- Listado de servicios ---------- */

.tarjeta-servicio {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: #fff;
  border: 1px solid var(--borde);
  border-radius: var(--radio);
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.tarjeta-servicio:hover {
  transform: translateY(-4px);
  box-shadow: var(--sombra);
  border-color: var(--azul);
  color: inherit;
}

.tarjeta-servicio h3 {
  margin: 0;
  color: var(--azul-oscuro);
}

.tarjeta-servicio p {
  margin: 0;
  color: var(--texto-suave);
  flex: 1 0 auto;
}

.tarjeta-servicio .enlace-flecha {
  font-family: var(--fuente-titulos);
  font-weight: 600;
  color: var(--azul);
}

.tarjeta-servicio:hover .enlace-flecha {
  color: var(--rojo);
}

/* ---------- Cabecera de página interior ---------- */

.portada-seccion {
  background: var(--azul-oscuro);
  color: #fff;
  padding-block: clamp(2.25rem, 5vw, 3.5rem);
}

.portada-seccion h1 {
  color: #fff;
  margin-bottom: 0.35em;
}

.portada-seccion p {
  color: #d6dfee;
  max-width: 65ch;
  margin: 0;
  font-size: clamp(1.02rem, 0.5vw + 1rem, 1.15rem);
}

/* ---------- Migas de pan ---------- */

.migas {
  font-size: var(--pequenyo);
  padding-block: 1rem;
  border-bottom: 1px solid var(--borde);
  background: var(--fondo);
}

.migas ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.migas li {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--texto-suave);
}

.migas li + li::before {
  content: "›";
  color: var(--borde);
}

.migas a {
  color: var(--azul);
  text-decoration: none;
}

.migas a:hover {
  text-decoration: underline;
}

.migas [aria-current="page"] {
  color: var(--texto);
  font-weight: 600;
}

/* ---------- FAQ ---------- */

.faq details {
  background: #fff;
  border: 1px solid var(--borde);
  border-radius: var(--radio);
  padding: 0.25rem 1.1rem;
  margin-bottom: 0.75rem;
}

.faq summary {
  cursor: pointer;
  font-family: var(--fuente-titulos);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 0.85rem 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-family: var(--fuente-texto);
  font-weight: 400;
  font-size: 1.4rem;
  color: var(--azul);
  line-height: 1;
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  padding-bottom: 1rem;
  color: var(--texto-suave);
}

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

.pie {
  background: var(--azul-oscuro);
  color: #d6dfee;
  padding-block: clamp(2.5rem, 5vw, 3.5rem) 1.5rem;
  font-size: 0.98rem;
}

.pie h2 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 0.9em;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.pie__rejilla {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
}

.pie ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.pie a {
  color: #d6dfee;
  text-decoration: none;
}

.pie a:hover {
  color: #fff;
  text-decoration: underline;
}

.pie__logo img {
  height: 40px;
  width: auto;
  background: #fff;
  padding: 6px 8px;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.pie__legal {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  font-size: var(--pequenyo);
}

.pie__legal ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

/* ---------- Página de error / gracias ---------- */

.centrado {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-block: clamp(3rem, 8vw, 6rem);
}

.centrado .grupo-botones {
  margin-top: 1.5rem;
}

/* ---------- Contenido común ---------- */

.texto-destacado {
  font-size: clamp(1.05rem, 0.6vw + 1rem, 1.2rem);
  color: var(--texto-suave);
  max-width: 70ch;
}

.datos-pendientes {
  background: var(--fondo-claro);
  border: 1px dashed var(--borde);
  border-radius: var(--radio);
  padding: 1.1rem 1.25rem;
  font-size: var(--pequenyo);
  color: var(--texto-suave);
}

.seccion--oscura .datos-pendientes {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.3);
  color: #d6dfee;
}

.valor {
  border-left: 4px solid var(--verde);
  padding-left: 1rem;
}

.valor h3 {
  margin-bottom: 0.3em;
}

.valor p {
  color: var(--texto-suave);
  margin: 0;
}

/* ---------- Movimiento ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

@media print {
  .cabecera,
  .pie,
  .hero,
  .cta-bloque {
    background: #fff !important;
    color: #000 !important;
  }

  a {
    color: #000;
  }
}
