/* =========================================================
   EQC Jurídico — Hoja de estilos
   Colores, tipografías y medidas en variables (:root)
   ========================================================= */
:root {
  --navy-900: #040C13;   /* footer */
  --navy-800: #07131D;   /* hero y bandas oscuras */
  --navy-700: #0E2232;
  --azul: #1D435E;       /* azul EQC: botones, bordes, etiquetas */
  --azul-acero: #6FA3C8;
  --dorado: #E0B834;     /* acento sobre fondos oscuros */
  --ocre: #8A6D0E;       /* acento sobre fondos claros */
  --fondo-suave: #EEF3F7;
  --azul-claro: #DCE6EE;
  --blanco: #FFFFFF;
  --titulo: #0B1B28;
  --cuerpo: #3E4C57;
  --gris: #55636E;
  --gris-azul: #7C93A5;
  --claro: #B8C7D2;
  --linea: #DCE3E8;

  --f-titulo: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-texto: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-acento: "Aleo", Georgia, serif;

  --ancho: 1000px;
  --gutter: 32px;
  --radio: 14px;
  --radio-btn: 10px;
  --seccion: 112px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--f-texto); color: var(--titulo); background: var(--blanco); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--azul); }
a:hover { color: var(--titulo); }
h1, h2, h3, h4 { font-family: var(--f-titulo); margin: 0; color: inherit; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--dorado); outline-offset: 3px; }

.contenedor { max-width: calc(var(--ancho) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.seccion { padding: var(--seccion) 0; }
.seccion--suave { background: linear-gradient(180deg, var(--fondo-suave) 0%, var(--blanco) 100%); }
.seccion--suave-inv { background: linear-gradient(180deg, var(--blanco) 0%, var(--fondo-suave) 100%); }
.seccion--sin-top { padding-top: 0; }
.seccion--oscura { position: relative; overflow: hidden; background: var(--navy-800); color: var(--blanco); }
.seccion--oscura .contenedor { position: relative; z-index: 1; }
.haz { position: absolute; pointer-events: none; z-index: 0; max-width: none; }

/* Palabra destacada en títulos */
.acento { font-family: var(--f-acento); font-style: italic; font-weight: 600; letter-spacing: 0; color: var(--ocre); }
.seccion--oscura .acento, .hero .acento { color: var(--dorado); }

/* Etiqueta pequeña sobre títulos */
.etiqueta { display: inline-block; font-family: var(--f-titulo); font-size: 12px; font-weight: 600; line-height: 1.3; color: var(--blanco); background: var(--azul); padding: 6px 10px; border-radius: 6px; }
.etiqueta--dorada { color: var(--navy-800); background: var(--dorado); font-size: 13px; padding: 7px 12px; border-radius: 8px; }
.sobretitulo { font-family: var(--f-titulo); font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--dorado); }

.titulo-1 { font-size: 64px; font-weight: 700; line-height: 1.03; letter-spacing: -.035em; }
.titulo-2 { font-size: 44px; font-weight: 700; line-height: 1.1; letter-spacing: -.03em; color: var(--titulo); }
.titulo-2--lead { font-weight: 600; }
.titulo-3 { font-size: 26px; font-weight: 700; line-height: 1.2; letter-spacing: -.02em; }
.seccion--oscura .titulo-2 { color: var(--blanco); }
.texto-lg { font-size: 18px; line-height: 1.65; color: var(--cuerpo); }
.texto-tenue { color: var(--gris-azul); }
.seccion--oscura .texto-lg, .tarjeta--oscura p { color: var(--claro); }

.encabezado { display: flex; flex-direction: column; gap: 20px; margin-bottom: 44px; max-width: 820px; }
.encabezado--fila { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; max-width: none; gap: 24px; }
.encabezado--fila p { max-width: 400px; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--f-titulo); font-weight: 600; font-size: 16px; line-height: 1.2; padding: 16px 24px; border-radius: var(--radio-btn); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s; min-height: 48px; }
.btn:hover { transform: translateY(-1px); }
.btn--dorado { background: var(--dorado); color: var(--navy-800); }
.btn--dorado:hover { background: #EBC54A; color: var(--navy-800); }
.btn--contorno-claro { color: var(--blanco); border-color: rgba(255,255,255,.35); }
.btn--contorno-claro:hover { color: var(--blanco); border-color: var(--blanco); }
.btn--azul { background: var(--azul); color: var(--blanco); }
.btn--azul:hover { background: #163650; color: var(--blanco); }
.btn--contorno { color: var(--azul); border-color: var(--azul); background: var(--blanco); }
.btn--contorno:hover { background: var(--fondo-suave); color: var(--azul); }
.btn--suave { background: var(--azul-claro); color: var(--azul); }
.btn--suave:hover { background: #CCDAE6; color: var(--azul); }
.botones { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------------- Header ---------------- */
.header { position: absolute; top: 0; left: 0; right: 0; z-index: 20; border-bottom: 1px solid rgba(255,255,255,.08); background: rgba(7,19,29,.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.header--solido { position: relative; background: var(--navy-800); }
.header__barra { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 84px; }
.header__logo img { height: 56px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; font-family: var(--f-titulo); font-weight: 500; font-size: 15px; }
.nav a { color: #C5D2DC; text-decoration: none; padding: 8px 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--blanco); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--dorado); }
.nav .nav__cta { background: var(--blanco); color: var(--navy-800); font-weight: 600; font-size: 14px; padding: 11px 18px; border-radius: var(--radio-btn); box-shadow: none; }
.nav .nav__cta:hover, .nav .nav__cta[aria-current="page"] { background: var(--dorado); color: var(--navy-800); box-shadow: none; }
.menu-btn { display: none; background: transparent; border: 1px solid rgba(255,255,255,.25); border-radius: var(--radio-btn); color: var(--blanco); width: 48px; height: 48px; align-items: center; justify-content: center; cursor: pointer; }

/* ---------------- Hero ---------------- */
.hero { position: relative; overflow: hidden; background: var(--navy-800); color: var(--blanco); min-height: 760px; display: flex; flex-direction: column; justify-content: flex-end; padding: 150px 0 96px; }
.hero--corto { min-height: 600px; padding-bottom: 88px; }
.hero--limpio { min-height: 560px; }
.hero__foto { position: absolute; top: 0; right: -6%; width: 56%; height: 100%; object-fit: cover; opacity: .9; }
.hero__velo { position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy-800) 0%, var(--navy-800) 40%, rgba(7,19,29,.55) 66%, rgba(7,19,29,.2) 100%); }
.hero__resplandor { position: absolute; left: -10%; bottom: -35%; width: 760px; height: 760px; border-radius: 50%; background: radial-gradient(circle, rgba(29,67,94,.7) 0%, rgba(7,19,29,0) 70%); pointer-events: none; }
.hero .haz { top: -6%; left: 22%; width: 1250px; opacity: .9; }
.hero > .contenedor { width: 100%; position: relative; z-index: 2; }
.hero__contenido { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 26px; max-width: 680px; }
.hero__contenido p { font-size: 18px; line-height: 1.6; color: var(--claro); max-width: 580px; }

/* ---------------- Tarjetas ---------------- */
.rejilla { display: grid; gap: 20px; }
.rejilla--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rejilla--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rejilla--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tarjeta { border: 1.5px solid var(--azul); border-radius: var(--radio); padding: 28px; background: var(--blanco); display: flex; flex-direction: column; gap: 14px; }
.tarjeta h3 { font-size: 22px; font-weight: 600; line-height: 1.25; color: var(--titulo); }
.tarjeta p { font-size: 15px; line-height: 1.55; color: var(--gris); }
.tarjeta svg { width: 40px; height: 40px; stroke: var(--azul); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.tarjeta--grande { padding: 40px; border-radius: 18px; gap: 18px; }
.tarjeta--grande p { font-size: 16px; line-height: 1.6; color: var(--cuerpo); }
.tarjeta--oscura { position: relative; overflow: hidden; background: var(--navy-800); color: var(--blanco); border-color: var(--navy-800); }
.tarjeta--oscura h3, .tarjeta--oscura .titulo-3 { color: var(--blanco); }
.tarjeta--oscura svg { stroke: var(--dorado); }
.tarjeta--oscura .haz { right: -260px; bottom: -220px; width: 620px; opacity: .8; }
.tarjeta--oscura > *:not(.haz) { position: relative; z-index: 1; }
.tarjeta__cabeza { display: flex; justify-content: space-between; align-items: flex-start; }
.tarjeta__num { font-family: var(--f-titulo); font-weight: 600; font-size: 13px; color: var(--ocre); }
.tarjeta--servicio { min-height: 190px; gap: 22px; }
.tarjeta--servicio .tarjeta__pie { margin-top: auto; display: flex; flex-direction: column; gap: 6px; }
.tarjeta--servicio h3 { font-size: 20px; }
.tarjeta--servicio p { font-size: 14px; }
.tarjeta--enlace { text-decoration: none; transition: background-color .2s, transform .2s; }
.tarjeta--enlace:hover { background: var(--fondo-suave); transform: translateY(-2px); }
.tarjeta__mas { font-family: var(--f-titulo); font-weight: 600; font-size: 14px; color: var(--azul); margin-top: auto; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 8px 12px; border-radius: 8px; background: var(--fondo-suave); color: var(--azul); font-size: 14px; font-weight: 500; line-height: 1.3; }
.chip--borde { background: transparent; border: 1px solid rgba(255,255,255,.22); color: var(--blanco); font-size: 15px; padding: 9px 14px; }

/* Pasos del modelo */
.pasos { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; }
.paso { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radio); padding: 20px 16px; display: flex; flex-direction: column; gap: 24px; }
.paso span { font-family: var(--f-titulo); font-weight: 600; font-size: 14px; color: var(--dorado); }
.paso strong { font-family: var(--f-titulo); font-weight: 600; font-size: 16px; line-height: 1.3; }

/* Flujo (metodología) */
.flujo { display: flex; flex-wrap: wrap; align-items: stretch; gap: 0; counter-reset: flujo; }
.flujo li { list-style: none; flex: 1 1 140px; position: relative; padding: 22px 26px 22px 18px; background: var(--blanco); border: 1.5px solid var(--azul); margin-right: -1.5px; display: flex; flex-direction: column; gap: 10px; }
.flujo li:first-child { border-radius: var(--radio) 0 0 var(--radio); }
.flujo li:last-child { border-radius: 0 var(--radio) var(--radio) 0; background: var(--azul); color: var(--blanco); }
.flujo li::before { counter-increment: flujo; content: "0" counter(flujo); font-family: var(--f-titulo); font-weight: 600; font-size: 13px; color: var(--ocre); }
.flujo li:last-child::before { color: var(--dorado); }
.flujo li strong { font-family: var(--f-titulo); font-weight: 600; font-size: 16px; line-height: 1.3; }
.flujo li:not(:last-child)::after { content: ""; position: absolute; right: -9px; top: 50%; width: 16px; height: 16px; background: var(--blanco); border-top: 1.5px solid var(--azul); border-right: 1.5px solid var(--azul); transform: translateY(-50%) rotate(45deg); z-index: 2; }

/* Bloques divididos texto + foto */
.dividido { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; align-items: center; }
.dividido__texto { display: flex; flex-direction: column; gap: 22px; }
.foto { width: 100%; height: 420px; object-fit: cover; }
.foto--esquina-a { border-radius: 0 0 0 80px; }
.foto--esquina-b { border-radius: 0 80px 0 0; }
.foto--redonda { border-radius: var(--radio); }

/* Pilares con línea dorada */
.pilares { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; border-top: 1px solid var(--linea); padding-top: 36px; margin-top: 56px; }
.pilar { border-left: 3px solid var(--dorado); padding-left: 16px; display: flex; flex-direction: column; gap: 8px; }
.pilar strong { font-family: var(--f-titulo); font-weight: 600; font-size: 19px; line-height: 1.25; color: var(--titulo); }
.pilar span { font-size: 15px; line-height: 1.5; color: var(--gris); }

/* Valores */
.valores { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--linea); }
.valor { padding: 28px 16px 28px 0; display: flex; flex-direction: column; gap: 18px; border-bottom: 1px solid var(--linea); }
.valor svg { width: 34px; height: 34px; stroke: var(--azul); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.valor strong { font-family: var(--f-titulo); font-weight: 700; font-size: 24px; letter-spacing: -.02em; color: var(--titulo); }

/* Certificaciones */
.certificaciones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cert { border: 1px solid var(--linea); border-radius: var(--radio); padding: 28px; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; background: var(--blanco); }
.cert__logo { height: 110px; display: flex; align-items: center; }
.cert__logo img { max-height: 110px; width: auto; }
.cert strong { font-family: var(--f-titulo); font-weight: 600; font-size: 19px; line-height: 1.3; color: var(--titulo); }
.cert a { font-family: var(--f-titulo); font-weight: 600; font-size: 14px; }

/* Caja CTA */
.cta { background: var(--fondo-suave); border-radius: 24px; padding: 56px; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; }
.cta__texto { flex: 1 1 460px; display: flex; flex-direction: column; gap: 16px; }
.cta .titulo-2 { font-size: 36px; }

/* ---------------- Formularios ---------------- */
.form { background: var(--blanco); border-radius: 18px; padding: 40px; border: 1px solid #E3E8EC; box-shadow: 0 24px 60px rgba(7,19,29,.12); display: flex; flex-direction: column; gap: 18px; }
.form--borde { box-shadow: none; border: 1.5px solid var(--azul); }
.form h2, .form h3 { font-size: 26px; font-weight: 700; letter-spacing: -.02em; color: var(--titulo); }
.form__fila { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.campo { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; color: #33414C; }
.campo input, .campo select, .campo textarea { font: inherit; font-weight: 400; font-size: 16px; color: var(--titulo); padding: 14px 16px; border: 1px solid #CBD3D9; border-radius: var(--radio-btn); background: #F7F9FA; width: 100%; }
.campo textarea { resize: vertical; min-height: 120px; }
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: none; border-color: var(--azul); box-shadow: 0 0 0 3px rgba(29,67,94,.15); background: var(--blanco); }
.casilla { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--cuerpo); }
.casilla input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--azul); flex: 0 0 auto; }
.trampa { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.aviso-envio { display: none; padding: 14px 16px; border-radius: var(--radio-btn); font-size: 15px; line-height: 1.5; }
.aviso-envio.visible { display: block; }
.aviso-envio--ok { background: #E6F4EA; color: #1E5631; border: 1px solid #B7DFC3; }
.aviso-envio--error { background: #FDECEC; color: #8A1C1C; border: 1px solid #F3C1C1; }
.form .btn { align-self: flex-start; }

/* Contacto */
.contacto-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 20px; margin-top: -150px; position: relative; z-index: 3; }
.dato { border-radius: 18px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.dato--oscuro { background: var(--navy-800); color: var(--blanco); }
.dato--borde { border: 1.5px solid var(--azul); background: var(--blanco); }
.dato--suave { background: var(--fondo-suave); }
.dato svg { width: 30px; height: 30px; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.dato--oscuro svg { stroke: var(--dorado); }
.dato--borde svg { stroke: var(--azul); }
.dato small { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--gris); }
.dato--oscuro small { color: #93A7B6; }
.dato a { font-family: var(--f-titulo); font-weight: 600; text-decoration: none; word-break: break-all; }
.dato--oscuro a { color: var(--blanco); font-size: 17px; }
.dato--borde a { color: var(--titulo); font-size: 26px; letter-spacing: -.02em; font-weight: 700; }
.redes { display: flex; flex-wrap: wrap; gap: 16px; font-family: var(--f-titulo); font-weight: 600; font-size: 15px; }

/* Legales */
.legal { max-width: 820px; }
.legal h1 { font-size: 48px; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; margin-bottom: 12px; }
.legal h2 { font-size: 24px; font-weight: 700; letter-spacing: -.015em; margin: 40px 0 12px; color: var(--titulo); }
.legal p, .legal li { color: var(--cuerpo); font-size: 16px; line-height: 1.7; }
.legal p + p { margin-top: 12px; }
.legal ul, .legal ol { padding-left: 22px; margin: 12px 0; }
.legal li + li { margin-top: 8px; }
.legal .fecha { color: var(--gris); font-size: 14px; margin-top: 32px; }

/* ---------------- Footer ---------------- */
.footer { background: var(--navy-900); color: #93A7B6; padding: 64px 0 32px; }
.footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.footer__marca { flex: 1 1 260px; display: flex; flex-direction: column; gap: 14px; }
.footer__marca img { height: 64px; width: auto; align-self: flex-start; }
.footer__marca p { font-size: 15px; line-height: 1.6; max-width: 300px; }
.footer__cols { display: flex; flex-wrap: wrap; gap: 48px; font-size: 15px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col strong { color: var(--blanco); font-weight: 600; }
.footer a { color: #93A7B6; text-decoration: none; }
.footer a:hover { color: var(--blanco); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; }
.footer__redes { display: flex; gap: 18px; }

.tarjeta.tarjeta--oscura p { color: var(--claro); }

/* ---------------- Pop-up aviso de pagos ---------------- */
.sin-scroll { overflow: hidden; }
.aviso[hidden] { display: none; }
.aviso { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 20px; }
.aviso__fondo { position: absolute; inset: 0; background: rgba(4,12,19,.72); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); border: 0; padding: 0; cursor: pointer; }
.aviso__caja { position: relative; width: 100%; max-width: 560px; max-height: calc(100vh - 40px); overflow-y: auto; background: var(--blanco); border-radius: 18px; border-top: 6px solid var(--dorado); box-shadow: 0 30px 80px rgba(0,0,0,.4); padding: 36px; display: flex; flex-direction: column; gap: 18px; }
.aviso__icono { width: 52px; height: 52px; border-radius: 14px; background: var(--navy-800); display: flex; align-items: center; justify-content: center; }
.aviso__icono svg { width: 28px; height: 28px; stroke: var(--dorado); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.aviso h2 { font-size: 26px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; color: var(--titulo); }
.aviso__lead { font-size: 17px; line-height: 1.55; color: var(--titulo); font-weight: 500; }
.aviso ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.aviso li { position: relative; padding-left: 26px; font-size: 15px; line-height: 1.55; color: var(--cuerpo); }
.aviso li::before { content: ""; position: absolute; left: 4px; top: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--dorado); }
.aviso .btn { align-self: flex-start; margin-top: 6px; }
.aviso__x { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 10px; border: 0; background: transparent; color: var(--gris); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.aviso__x:hover { background: var(--fondo-suave); color: var(--titulo); }
.footer__boton { font: inherit; color: #93A7B6; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
.footer__boton:hover { color: var(--blanco); }
@media (max-width: 600px) { .aviso__caja { padding: 28px 22px; } .aviso h2 { font-size: 22px; } .aviso .btn { align-self: stretch; } }

/* ---------------- Responsive ---------------- */
@media (max-width: 1080px) {
  .pasos { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .flujo li { flex: 1 1 30%; }
}
@media (max-width: 900px) {
  :root { --seccion: 80px; --gutter: 24px; }
  .menu-btn { display: inline-flex; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--navy-800); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 24px; border-bottom: 1px solid rgba(255,255,255,.08); display: none; }
  .nav.abierto { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 17px; }
  .nav a[aria-current="page"] { box-shadow: none; color: var(--dorado); }
  .nav .nav__cta { margin-top: 16px; text-align: center; border-bottom: 0; padding: 14px 18px; }
  .header { background: rgba(7,19,29,.85); }
  .titulo-1 { font-size: 44px; }
  .titulo-2 { font-size: 34px; }
  .hero { min-height: 680px; padding-top: 130px; }
  .hero__foto { width: 100%; right: 0; opacity: .35; }
  .hero__velo { background: linear-gradient(180deg, rgba(7,19,29,.55) 0%, rgba(7,19,29,.85) 55%, var(--navy-800) 100%); }
  .hero .haz { left: -20%; width: 900px; top: 0; opacity: .7; }
  .rejilla--3, .rejilla--4, .certificaciones { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rejilla--2, .dividido, .contacto-grid { grid-template-columns: minmax(0, 1fr); }
  .dividido { gap: 36px; }
  .pilares { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .valores { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pasos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flujo { flex-direction: column; }
  .flujo li { margin-right: 0; margin-bottom: -1.5px; border-radius: 0 !important; }
  .flujo li:first-child { border-radius: var(--radio) var(--radio) 0 0 !important; }
  .flujo li:last-child { border-radius: 0 0 var(--radio) var(--radio) !important; }
  .flujo li:not(:last-child)::after { right: auto; left: 28px; top: auto; bottom: -9px; transform: rotate(135deg); }
  .contacto-grid { margin-top: -110px; }
  .cta { padding: 40px 28px; }
  .tarjeta--grande, .form { padding: 28px; }
  .foto { height: 320px; }
}
@media (max-width: 600px) {
  .titulo-1 { font-size: 38px; }
  .titulo-2 { font-size: 30px; }
  .cta .titulo-2 { font-size: 28px; }
  .rejilla--3, .rejilla--4, .certificaciones, .pilares, .form__fila { grid-template-columns: minmax(0, 1fr); }
  .valores { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .header__logo img { height: 46px; }
  .btn { width: 100%; }
  .botones { flex-direction: column; }
  .form .btn { align-self: stretch; }
  .legal h1 { font-size: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .tarjeta--enlace { transition: none; }
}

/* =========================================================
   Animaciones (sutiles). Se desactivan con "reducir movimiento".
   ========================================================= */
:root { --ease: cubic-bezier(.2,.7,.2,1); }

/* Entrada al hacer scroll: solo si JS está activo (clase .js en <html>) */
.js .revelar { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .revelar.visible { opacity: 1; transform: none; }

/* Hero al cargar la página */
@keyframes eqc-sube { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes eqc-aparece { from { opacity: 0; } to { opacity: 1; } }
@keyframes eqc-foto { from { opacity: 0; transform: scale(1.04); } to { opacity: .9; transform: scale(1); } }
.hero__contenido > * { animation: eqc-sube .8s var(--ease) both; }
.hero__contenido > *:nth-child(2) { animation-delay: .08s; }
.hero__contenido > *:nth-child(3) { animation-delay: .16s; }
.hero__contenido > *:nth-child(4) { animation-delay: .24s; }
.hero__foto { animation: eqc-foto 1.4s var(--ease) both; }
.hero .haz { animation: eqc-aparece 1.6s .2s var(--ease) both; }

/* Hover discreto */
.tarjeta, .cert, .paso { transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s var(--ease), border-color .3s var(--ease); }
.tarjeta:not(.tarjeta--grande):hover, .cert:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(7,19,29,.10); }
.paso:hover { border-color: rgba(224,184,52,.45); background: rgba(255,255,255,.06); }
.nav a { transition: color .2s, box-shadow .2s, background-color .2s; }
.foto { transition: transform .6s var(--ease); }

/* Pop-up: fade + ligero desplazamiento */
.aviso { opacity: 0; transition: opacity .25s ease; }
.aviso.abierto { opacity: 1; }
.aviso__caja { transform: translateY(14px) scale(.98); transition: transform .35s var(--ease); }
.aviso.abierto .aviso__caja { transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .revelar { opacity: 1; transform: none; transition: none; }
  .hero__contenido > *, .hero__foto, .hero .haz { animation: none; }
  .aviso, .aviso__caja, .tarjeta, .cert, .paso, .foto { transition: none; transform: none; }
}
