/* ============================================================
   NOMAD Industrial SpA — styles.css
   Sistema visual del sitio. Paleta y reglas según manual de marca
   + ampliación web aprobada (plan.md §2).
   ============================================================ */

:root {
  /* Manual de marca — base obligatoria */
  --nomad-blue: #1451C4;
  --nomad-blue-60: #7C95DC;
  --nomad-blue-30: #BDCBED;
  --nomad-blue-10: #E7ECF9;
  --nomad-black: #1F1F1F;
  --nomad-gray-700: #4A4A4A;
  --nomad-gray-500: #999999;
  --nomad-gray-300: #CCCCCC;
  --nomad-gray-100: #F5F5F5;
  --nomad-white: #FFFFFF;
  /* Ampliación web — mismo matiz azul 220° (aprobada 21-07-2026) */
  --nomad-blue-deep: #0B1D41;
  --nomad-blue-accent: #4A87F8;
  --nomad-blue-dark: #0E3A8E;  /* variante tonal oscura (estados hover) */
  /* Tipografía: cascada invertida para sitio público de alto perfil */
  --font-display: 'Jost', 'Trebuchet MS', 'Futura', Arial, sans-serif;
  --font-body: 'Urbanist', 'Century Gothic', Arial, sans-serif;
  /* Métricas */
  --ancho-max: 1180px;
  --radio: 4px;
  --sombra-card: 0 2px 10px rgba(11, 29, 65, 0.08);
  --alto-header: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
  color: var(--nomad-black);
  background: var(--nomad-white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.2; }
h1 { font-size: 32px; }
h2 { font-size: 24px; color: var(--nomad-blue); }
h3 { font-size: 18px; }

p { margin: 0 0 1em; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--nomad-blue); }

.contenedor { max-width: var(--ancho-max); margin: 0 auto; padding: 0 20px; }

/* Foco visible (accesibilidad AA) */
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--nomad-blue-accent);
  outline-offset: 2px;
}

.saltar-contenido {
  position: absolute; left: -9999px; top: 0;
  background: var(--nomad-blue); color: var(--nomad-white);
  padding: 10px 18px; z-index: 200; border-radius: var(--radio);
}
.saltar-contenido:focus { left: 12px; top: 12px; }

/* Texto solo para lectores de pantalla */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* Etiqueta estilo brochure: mayúsculas espaciadas */
.etiqueta {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--nomad-blue);
  margin-bottom: 12px;
}
.etiqueta--clara { color: var(--nomad-blue-30); }

/* Línea decorativa bajo títulos de sección */
.linea-titulo {
  width: 56px; height: 4px;
  background: var(--nomad-blue);
  border: 0; margin: 16px 0 0;
}
.linea-titulo--clara { background: var(--nomad-blue-accent); }
.linea-titulo--centrada { margin-left: auto; margin-right: auto; }

/* ---------- Botones ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-decoration: none;
  padding: 14px 32px;
  border-radius: var(--radio);
  border: 2px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}
.btn--primario { background: var(--nomad-blue); color: var(--nomad-white); }
.btn--primario:hover { background: var(--nomad-blue-dark); }
.btn--claro { background: var(--nomad-white); color: var(--nomad-blue); }
.btn--claro:hover { background: var(--nomad-blue-10); }
.btn--borde-claro { background: transparent; color: var(--nomad-white); border-color: var(--nomad-white); }
.btn--borde-claro:hover { background: rgba(255, 255, 255, 0.12); }

/* ---------- Header / Navegación ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--alto-header);
  background: var(--nomad-white);
  border-bottom: 1px solid var(--nomad-blue-30);
  z-index: 100;
}
.header__inner {
  max-width: var(--ancho-max);
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.header__logo { flex-shrink: 0; display: block; }
.header__logo img { height: auto; display: block; }

/* Botón hamburguesa (móvil) */
.nav-toggle {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px;
  padding: 8px;
  background: none; border: none; cursor: pointer;
}
.nav-toggle span {
  display: block; height: 3px; width: 100%;
  background: var(--nomad-blue);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Menú móvil: panel desplegable */
.nav {
  position: absolute;
  top: var(--alto-header); left: 0; right: 0;
  background: var(--nomad-white);
  border-bottom: 1px solid var(--nomad-blue-30);
  box-shadow: 0 12px 24px rgba(11, 29, 65, 0.12);
  display: none;
  max-height: calc(100vh - var(--alto-header));
  overflow-y: auto;
}
.nav.abierto { display: block; }
.nav__lista { list-style: none; padding: 8px 0 16px; }
.nav__item { border-top: 1px solid var(--nomad-blue-10); }
.nav__enlace, .nav__boton {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%;
  font-family: var(--font-display);
  font-weight: 600; font-size: 16px;
  color: var(--nomad-black);
  text-decoration: none;
  padding: 14px 24px;
  background: none; border: none; cursor: pointer; text-align: left;
}
.nav__enlace:hover, .nav__boton:hover { color: var(--nomad-blue); }
.nav__flecha { transition: transform 0.2s ease; stroke: var(--nomad-blue); }
.nav__boton[aria-expanded="true"] .nav__flecha { transform: rotate(180deg); }

.submenu {
  list-style: none;
  display: none;
  background: var(--nomad-blue-10);
  padding: 6px 0;
}
.nav__item.desplegado .submenu { display: block; }
.submenu a {
  display: block;
  font-size: 15px;
  color: var(--nomad-black);
  text-decoration: none;
  padding: 10px 24px 10px 40px;
}
.submenu a:hover { color: var(--nomad-blue); background: var(--nomad-blue-30); }
.submenu__todos { font-weight: 700; color: var(--nomad-blue); }

/* Nota: .nav__item--con-sub no tiene estilos propios — es un hook que usa
   script.js para los desplegables; no eliminarla del HTML. */

/* Navegación escritorio */
@media (min-width: 992px) {
  .nav-toggle { display: none; }
  .nav {
    position: static; display: block;
    background: none; border: 0; box-shadow: none;
    overflow: visible; max-height: none;
  }
  .nav__lista { display: flex; align-items: center; gap: 4px; padding: 0; }
  .nav__item { border: 0; position: relative; }
  .nav__enlace, .nav__boton { padding: 10px 14px; font-size: 15px; width: auto; }
  .submenu {
    position: absolute; top: 100%; left: 0;
    min-width: 280px;
    background: var(--nomad-white);
    border: 1px solid var(--nomad-blue-30);
    border-top: 3px solid var(--nomad-blue);
    border-radius: 0 0 var(--radio) var(--radio);
    box-shadow: var(--sombra-card);
    padding: 6px 0;
  }
  /* La visibilidad la gobierna solo .desplegado (JS), para que el estado
     ARIA siempre coincida con lo visible; el hover lo maneja script.js */
  .submenu a { padding: 10px 18px; }
  .submenu a:hover { background: var(--nomad-blue-10); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  margin-top: var(--alto-header);
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__foto { position: absolute; inset: 0; }
.hero__foto img { width: 100%; height: 100%; object-fit: cover; }
.hero__overlay {
  position: absolute; inset: 0;
  /* Degradado único permitido: azul profundo -> azul NOMAD (familia del azul) */
  background: linear-gradient(112deg, rgba(11, 29, 65, 0.92) 0%, rgba(11, 29, 65, 0.72) 45%, rgba(20, 81, 196, 0.45) 100%);
}
.hero__contenido { position: relative; z-index: 1; padding-top: 72px; padding-bottom: 72px; max-width: 720px; }
.hero__contenido h1 { color: var(--nomad-white); margin-bottom: 18px; }
.hero__contenido h1 .destacado { color: var(--nomad-blue-accent); }
.hero__bajada {
  color: var(--nomad-blue-30);
  font-size: 17px;
  max-width: 560px;
  margin-bottom: 32px;
}
.hero__acciones { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Hero de página interior ---------- */
.hero-pagina {
  position: relative;
  margin-top: var(--alto-header);
  min-height: 300px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-pagina__foto { position: absolute; inset: 0; }
.hero-pagina__foto img { width: 100%; height: 100%; object-fit: cover; }
.hero-pagina__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(112deg, rgba(11, 29, 65, 0.93) 0%, rgba(11, 29, 65, 0.75) 45%, rgba(20, 81, 196, 0.5) 100%);
}
.hero-pagina__contenido {
  position: relative; z-index: 1;
  padding-top: 56px; padding-bottom: 40px;
  max-width: 760px;
}
.hero-pagina h1 { color: var(--nomad-white); font-size: 30px; margin-bottom: 10px; }
.hero-pagina__bajada { color: var(--nomad-blue-30); margin: 0; max-width: 620px; }
/* Variante sin fotografía: degradado dentro de la familia del azul.
   Termina en --nomad-blue-dark para garantizar contraste AA del texto
   claro en todo el ancho del hero. */
.hero-pagina--plano {
  min-height: 240px;
  background: linear-gradient(112deg, var(--nomad-blue-deep) 0%, var(--nomad-blue-dark) 100%);
}

/* ---------- Ficha de producto (dos columnas) ---------- */
.ficha { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: start; }
.ficha__fotos { display: grid; gap: 20px; }
.ficha__fotos img {
  width: 100%; height: auto;
  border: 1px solid var(--nomad-blue-30);
  border-radius: var(--radio);
  box-shadow: var(--sombra-card);
  background: var(--nomad-white);
}
.ficha__fotos figcaption {
  font-size: 13px; color: var(--nomad-gray-700);
  margin-top: 8px;
}

.lista-specs { list-style: none; margin: 18px 0 0; }
.lista-specs li {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 9px 0;
  border-bottom: 1px solid var(--nomad-blue-10);
  color: var(--nomad-gray-700);
}
.lista-specs svg { flex-shrink: 0; stroke: var(--nomad-blue); margin-top: 3px; }
.lista-specs strong { color: var(--nomad-black); }

/* ---------- Pasos de metodología ---------- */
.pasos { list-style: none; counter-reset: paso; display: grid; gap: 16px; margin: 0; padding: 0; }
.pasos li {
  counter-increment: paso;
  position: relative;
  background: var(--nomad-white);
  border: 1px solid var(--nomad-blue-30);
  border-left: 4px solid var(--nomad-blue);
  border-radius: var(--radio);
  box-shadow: var(--sombra-card);
  padding: 20px 22px 20px 76px;
}
.pasos li::before {
  content: counter(paso, decimal-leading-zero);
  position: absolute; left: 20px; top: 18px;
  font-family: var(--font-display);
  font-weight: 700; font-size: 24px;
  color: var(--nomad-blue-60);
}
.pasos strong {
  display: block;
  font-family: var(--font-display);
  color: var(--nomad-blue);
  margin-bottom: 4px;
}
.pasos li p { margin: 0; color: var(--nomad-gray-700); }

/* ---------- Tabla técnica ---------- */
.tabla-wrap {
  overflow-x: auto;
  border: 1px solid var(--nomad-blue-30);
  border-radius: var(--radio);
  box-shadow: var(--sombra-card);
}
.tabla { width: 100%; border-collapse: collapse; min-width: 760px; font-size: 14px; }
.tabla th {
  background: var(--nomad-blue);
  color: var(--nomad-white);
  font-family: var(--font-display);
  font-weight: 600;
  text-align: left;
  padding: 12px 14px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.tabla td { padding: 11px 14px; border-top: 1px solid var(--nomad-blue-30); vertical-align: top; }
/* Encabezados de fila (th scope="row"): mismo aspecto que una celda destacada */
.tabla tbody th {
  background: none;
  color: var(--nomad-black);
  font-family: var(--font-body);
  font-weight: 700;
  text-align: left;
  padding: 11px 14px;
  border-top: 1px solid var(--nomad-blue-30);
  vertical-align: top;
  white-space: normal;
}
.tabla tbody tr:nth-child(even) { background: var(--nomad-blue-10); }
.tabla .centro { text-align: center; }
.tabla .si { color: var(--nomad-blue); font-weight: 700; }
.tabla__nota { font-size: 13px; color: var(--nomad-gray-700); margin-top: 12px; }

/* ---------- Banda de cifras ---------- */
.cifras { background: var(--nomad-blue-deep); padding: 40px 0; }
.cifras__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  text-align: center;
}
.cifra__numero {
  font-family: var(--font-display);
  font-size: 40px; font-weight: 700;
  color: var(--nomad-blue-accent);
  line-height: 1.1;
}
.cifra__texto {
  font-family: var(--font-display);
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--nomad-white);
  margin-top: 6px;
}

/* ---------- Secciones genéricas ---------- */
.seccion { padding: 64px 0; }
.seccion--clara { background: var(--nomad-blue-10); }
.seccion--oscura { background: var(--nomad-blue-deep); color: var(--nomad-white); }
.seccion__cabecera { max-width: 720px; margin-bottom: 40px; }
.seccion__cabecera--centrada { margin-left: auto; margin-right: auto; text-align: center; }
.seccion__cabecera p { color: var(--nomad-gray-700); margin: 14px 0 0; }

/* ---------- Pilares (Productos / Servicios) ---------- */
.pilares { display: grid; grid-template-columns: 1fr; gap: 28px; }
.pilar {
  background: var(--nomad-white);
  border: 1px solid var(--nomad-blue-30);
  border-radius: var(--radio);
  box-shadow: 0 1px 3px rgba(11, 29, 65, 0.08), 0 14px 32px rgba(11, 29, 65, 0.14);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.pilar:hover {
  transform: translateY(-4px);
  box-shadow: 0 2px 5px rgba(11, 29, 65, 0.1), 0 24px 48px rgba(11, 29, 65, 0.2);
}
.pilar__foto { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.pilar__foto img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
}
.pilar:hover .pilar__foto img { transform: scale(1.04); }
.pilar__foto::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(11, 29, 65, 0.38), transparent 55%);
  pointer-events: none;
}
.pilar__numero {
  position: absolute; top: 0; left: 0; z-index: 1;
  background: var(--nomad-blue);
  color: var(--nomad-white);
  font-family: var(--font-display);
  font-weight: 700; font-size: 14px;
  letter-spacing: 0.12em;
  padding: 8px 16px;
  box-shadow: 0 4px 12px rgba(11, 29, 65, 0.35);
}
.pilar__cuerpo { padding: 26px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.pilar__cuerpo h3 { font-size: 22px; color: var(--nomad-blue); margin-bottom: 10px; }
.pilar__cuerpo > p { color: var(--nomad-gray-700); margin-bottom: 18px; }
.pilar__lista { list-style: none; margin: 0 0 24px; flex: 1; }
.pilar__lista li { border-top: 1px solid var(--nomad-blue-10); }
.pilar__lista a {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 2px;
  color: var(--nomad-black);
  text-decoration: none;
  font-weight: 500;
}
.pilar__lista a:hover { color: var(--nomad-blue); }
.pilar__lista svg { flex-shrink: 0; stroke: var(--nomad-blue); }
.pilar__cta { align-self: flex-start; }

/* Variante compacta para cards de categoría en landings */
.pilar--compacto .pilar__cuerpo { padding: 22px 22px 26px; }
.pilar--compacto .pilar__cuerpo h3 { font-size: 20px; }
.pilar--compacto .pilar__cuerpo > p { flex: 1; }

.enlace-flecha {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--nomad-blue);
  text-decoration: none;
}
.enlace-flecha svg { stroke: var(--nomad-blue); transition: transform 0.2s ease; }
.enlace-flecha:hover { text-decoration: underline; }
.enlace-flecha:hover svg { transform: translateX(4px); }

/* ---------- ¿Por qué NOMAD? ---------- */
.ventajas { display: grid; grid-template-columns: 1fr; gap: 22px; }
.ventaja {
  position: relative;
  background: var(--nomad-white);
  border-left: 4px solid var(--nomad-blue);
  border-radius: var(--radio);
  box-shadow: 0 1px 3px rgba(11, 29, 65, 0.08), 0 14px 32px rgba(11, 29, 65, 0.14);
  padding: 30px 26px 32px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.ventaja:hover {
  transform: translateY(-4px);
  box-shadow: 0 2px 5px rgba(11, 29, 65, 0.1), 0 24px 48px rgba(11, 29, 65, 0.2);
}
/* Numeral grande estilo brochure (decorativo, detrás del contenido) */
.ventaja::before {
  content: attr(data-numero);
  position: absolute; top: 2px; right: 16px;
  font-family: var(--font-display);
  font-size: 84px; font-weight: 700; line-height: 1;
  color: var(--nomad-blue-10);
  pointer-events: none;
}
.ventaja > * { position: relative; }
.ventaja__icono {
  width: 56px; height: 56px;
  background: var(--nomad-blue);
  border-radius: var(--radio);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 8px 18px rgba(20, 81, 196, 0.35);
}
.ventaja__icono svg { stroke: var(--nomad-white); }
.ventaja h3 { color: var(--nomad-blue); margin-bottom: 10px; }
.ventaja h3::after {
  content: '';
  display: block;
  width: 34px; height: 3px;
  background: var(--nomad-blue-accent);
  margin-top: 10px;
}
.ventaja p { color: var(--nomad-gray-700); margin: 0; }

/* ---------- Clientes ---------- */
.clientes__nota { text-align: center; color: var(--nomad-gray-700); margin: 0 0 28px; }
.clientes__lista {
  list-style: none;
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 12px 14px;
}
.clientes__lista li {
  font-family: var(--font-display);
  font-weight: 600; font-size: 14px;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--nomad-gray-700);
  border: 1px solid var(--nomad-gray-300);
  border-bottom: 3px solid var(--nomad-blue-30);
  border-radius: var(--radio);
  padding: 10px 18px;
  background: var(--nomad-white);
  box-shadow: 0 2px 8px rgba(11, 29, 65, 0.07);
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.clientes__lista li:hover {
  color: var(--nomad-blue);
  border-bottom-color: var(--nomad-blue);
  transform: translateY(-2px);
}

/* ---------- Banda pre-footer (wallpaper + CTA) ---------- */
.banda-cta {
  position: relative;
  min-height: 340px;
  display: flex; align-items: center;
  background-image: url('img/banda-nomad.jpg');
  background-size: cover;
  background-position: top center;
}
.banda-cta::before {
  content: '';
  position: absolute; inset: 0;
  /* Refuerzo de legibilidad por la izquierda; el logo incrustado (arriba derecha) queda libre */
  background: linear-gradient(to right, rgba(11, 29, 65, 0.88) 0%, rgba(11, 29, 65, 0.65) 55%, rgba(11, 29, 65, 0.12) 100%);
}
.banda-cta__contenido { position: relative; z-index: 1; max-width: 560px; padding: 56px 0; }
.banda-cta__contenido h2 { color: var(--nomad-white); font-size: 26px; margin-bottom: 12px; }
.banda-cta__contenido p { color: var(--nomad-blue-30); margin-bottom: 26px; }

/* ---------- Avisos de resultado del formulario ----------
   Verde/rojo funcionales: única excepción de color permitida por el
   manual de marca (estados de formulario, no decoración). */
.aviso {
  padding: 14px 18px;
  border-radius: var(--radio);
  font-weight: 600;
  margin: 20px 0 4px;
}
.aviso--ok { background: #E5F1E6; color: #205723; border: 1px solid #2E7D32; }
.aviso--error { background: #FBEAEA; color: #8E1F1F; border: 1px solid #C62828; }
.aviso a { color: inherit; }

/* ---------- Formulario de contacto ---------- */
.formulario { display: grid; gap: 16px; }
.campo label {
  display: block;
  font-family: var(--font-display);
  font-weight: 600; font-size: 14px;
  color: var(--nomad-black);
  margin-bottom: 6px;
}
.campo input, .campo textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--nomad-gray-300);
  border-radius: var(--radio);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--nomad-black);
  background: var(--nomad-white);
}
.campo input:focus, .campo textarea:focus {
  outline: none;
  border-color: var(--nomad-blue);
  box-shadow: 0 0 0 3px rgba(20, 81, 196, 0.18);
}
.campo textarea { resize: vertical; min-height: 130px; }
.formulario__nota { font-size: 13px; color: var(--nomad-gray-700); margin: 0; }
/* Honeypot antispam: invisible para personas, presente para bots */
.campo--honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Mapa embebido ---------- */
.mapa {
  border: 1px solid var(--nomad-blue-30);
  border-radius: var(--radio);
  overflow: hidden;
  box-shadow: var(--sombra-card);
}
.mapa iframe { width: 100%; height: 360px; border: 0; display: block; }

/* ---------- Footer ---------- */
.footer { background: var(--nomad-blue-deep); color: var(--nomad-white); }
.footer__grid {
  display: grid; grid-template-columns: 1fr;
  gap: 36px;
  padding: 56px 0 40px;
}
.footer__marca img { display: block; }
.footer__marca p {
  margin: 16px 0 0;
  color: var(--nomad-blue-30);
  font-size: 14px;
}
.footer h3 {
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--nomad-blue-accent);
  margin-bottom: 16px;
}
.footer ul { list-style: none; }
.footer li { margin-bottom: 10px; font-size: 14px; }
.footer a { color: var(--nomad-white); text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer__dato { display: flex; gap: 10px; align-items: flex-start; color: var(--nomad-blue-30); }
.footer__dato svg { flex-shrink: 0; stroke: var(--nomad-blue-accent); margin-top: 1px; }
.footer__legal {
  border-top: 1px solid rgba(124, 149, 220, 0.25);
  padding: 22px 0;
  font-size: 13px;
  color: var(--nomad-blue-60);
}
.footer__legal p { margin: 0 0 4px; }

/* Sin animaciones para usuarios con sensibilidad al movimiento */
@media (prefers-reduced-motion: reduce) {
  .ventaja, .pilar, .pilar__foto img, .clientes__lista li { transition: none; }
  .ventaja:hover, .pilar:hover, .clientes__lista li:hover { transform: none; }
  .pilar:hover .pilar__foto img { transform: none; }
}

/* ---------- Escritorio ---------- */
@media (min-width: 768px) {
  body { font-size: 16px; }
  h1 { font-size: 48px; }
  h2 { font-size: 32px; }
  h3 { font-size: 24px; }
  .contenedor { padding: 0 24px; }
  .header__inner { padding: 0 24px; }
  .seccion { padding: 88px 0; }
  .hero-pagina { min-height: 380px; }
  .hero-pagina--plano { min-height: 280px; }
  .hero-pagina h1 { font-size: 40px; }
  .hero-pagina__contenido { padding-top: 72px; padding-bottom: 52px; }
  .ficha { grid-template-columns: 1.1fr 0.9fr; gap: 48px; }
  .hero { min-height: 640px; }
  .hero__contenido { padding-top: 96px; padding-bottom: 96px; }
  .cifras__grid { grid-template-columns: repeat(3, 1fr); }
  .cifra__numero { font-size: 48px; }
  .cifra + .cifra { border-left: 1px solid rgba(124, 149, 220, 0.3); }
  .pilares { grid-template-columns: 1fr 1fr; }
  .pilares--3 { grid-template-columns: repeat(3, 1fr); }
  .ventajas { grid-template-columns: repeat(3, 1fr); }
  .banda-cta { min-height: 400px; }
  .banda-cta__contenido h2 { font-size: 32px; }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1.2fr; gap: 48px; }
}
