/* =====================================================================
   LR ASESORÍAS — HOJA DE ESTILOS (Identidad nov. 2026)
   Fondo blanco · Amarillo #FFB215 · Azul #152D47
   Tipografía: Montserrat (normal 400 · negrilla 700/800)
   ===================================================================== */

/* ---------- Fuente Montserrat (alojada en el propio sitio) ---------- */
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400; font-display: swap; src: url("../assets/fonts/montserrat-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap; src: url("../assets/fonts/montserrat-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 700; font-display: swap; src: url("../assets/fonts/montserrat-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 800; font-display: swap; src: url("../assets/fonts/montserrat-latin-800-normal.woff2") format("woff2"); }

:root {
  /* Colores de marca */
  --c-azul: #152D47;
  --c-azul-deep: #0E2135;
  --c-azul-soft: #24405F;
  --c-amarillo: #FFB215;
  --c-amarillo-hover: #F2A300;
  --c-amarillo-suave: #FFF3D6;
  --c-white: #FFFFFF;

  /* Neutros derivados del azul (solo para texto y líneas) */
  --c-texto: #3A4A5C;
  --c-muted: #5C6B7C;
  --c-line: #E2E7ED;
  --c-tinte: #F1F4F7;          /* relleno de íconos y pistas, nunca fondo de sección */
  --c-sobre-azul: #C9D3DE;     /* texto secundario sobre azul */
  --c-wa: #25D366;
  --c-alert: #C8372D;

  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --fs-0: 1rem;
  --fs-1: 1.15rem;
  --fs-2: 1.45rem;
  --fs-3: 1.85rem;
  --fs-4: clamp(1.7rem, 1.1rem + 2.2vw, 2.5rem);

  --r-pill: 999px;
  --r-card: 20px;
  --r-input: 12px;

  --container: 1200px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --section-y: clamp(3.5rem, 8vw, 6.5rem);

  --shadow-card: 0 14px 34px -22px rgba(21, 45, 71, .35);
  --shadow-pop: 0 30px 60px -30px rgba(21, 45, 71, .45), 0 1px 0 rgba(21, 45, 71, .05);
  --shadow-float: 0 12px 26px -10px rgba(21, 45, 71, .55);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  color: var(--c-texto);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@supports (overflow: clip) { html, body { overflow-x: clip; } }
@media (max-width: 600px) { body { font-size: 16px; } }

img, svg { max-width: 100%; }
img { height: auto; display: block; }
figure { margin: 0; }
a { color: var(--c-azul); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--c-azul-soft); }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--font);
  font-weight: 800;
  line-height: 1.14;
  margin: 0 0 .5em;
  color: var(--c-azul);
  letter-spacing: -0.015em;
  text-wrap: balance;
  overflow-wrap: break-word;
}
p { margin: 0 0 1em; max-width: 68ch; }
strong { font-weight: 700; color: var(--c-azul); }
button, input, select, textarea { font-family: inherit; }
:focus-visible { outline: 3px solid var(--c-amarillo); outline-offset: 3px; border-radius: 4px; }
.hidden { display: none !important; }

.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--c-azul); color: #fff; padding: .6rem 1rem; border-radius: var(--r-pill);
}
.skip-link:focus { top: 1rem; }

.section-title { font-size: var(--fs-4); margin-bottom: .45em; }
.section-lead { font-size: var(--fs-1); color: var(--c-muted); margin-bottom: 2rem; }
@media (max-width: 600px) { .section-lead { font-size: var(--fs-0); margin-bottom: 1.5rem; } }

/* Resaltado de marca: texto azul con trazo amarillo */
.hl {
  background: linear-gradient(transparent 62%, var(--c-amarillo) 62%, var(--c-amarillo) 92%, transparent 92%);
  padding: 0 .08em; -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; font-size: .82rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--c-azul); margin-bottom: .9rem;
}
.eyebrow::before { content: ""; width: 28px; height: 4px; border-radius: 2px; background: var(--c-amarillo); flex: none; }
.on-azul .eyebrow { color: #fff; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font-weight: 700; font-size: var(--fs-0); min-height: 50px;
  padding: .8rem 1.5rem; border-radius: var(--r-pill); border: 2px solid transparent;
  text-decoration: none; cursor: pointer; line-height: 1.2; text-align: center;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .15s ease, box-shadow .18s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn svg { width: 1.3em; height: 1.3em; fill: currentColor; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 1rem 1.8rem; font-size: var(--fs-1); min-height: 58px; }
.btn-block { width: 100%; }
.btn-primary, .btn-wa, .btn-gold { background: var(--c-amarillo); color: var(--c-azul); border-color: var(--c-amarillo); box-shadow: 0 10px 22px -12px rgba(255, 178, 21, .9); }
.btn-primary:hover, .btn-wa:hover, .btn-gold:hover { background: var(--c-amarillo-hover); border-color: var(--c-amarillo-hover); color: var(--c-azul); }
.btn-azul { background: var(--c-azul); color: #fff; border-color: var(--c-azul); }
.btn-azul:hover { background: var(--c-azul-soft); border-color: var(--c-azul-soft); color: #fff; }
.btn-outline { background: #fff; color: var(--c-azul); border-color: var(--c-azul); }
.btn-outline:hover { background: var(--c-azul); color: #fff; }
.text-link { font-weight: 700; display: inline-flex; align-items: center; gap: .4rem; text-decoration: none; border-bottom: 2px solid var(--c-amarillo); padding-bottom: 2px; align-self: flex-start; }
.text-link::after { content: "→"; transition: transform .2s ease; }
.text-link:hover::after { transform: translateX(4px); }

/* ---------- Barra de progreso de lectura ---------- */
.scroll-progress { position: fixed; left: 0; top: 0; height: 4px; width: 100%; z-index: 70; background: var(--c-amarillo); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }

/* ---------- Encabezado ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--c-line); box-shadow: 0 10px 30px -22px rgba(21, 45, 71, .5); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.brand img { height: 38px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 1.75rem; }
.site-nav ul { display: flex; gap: 1.35rem; }
.site-nav ul a { font-weight: 600; text-decoration: none; color: var(--c-azul); font-size: .92rem; white-space: nowrap; padding: .4rem 0; background: linear-gradient(var(--c-amarillo), var(--c-amarillo)) 0 100% / 0 3px no-repeat; transition: background-size .25s ease; }
.site-nav ul a:hover { background-size: 100% 3px; }
.nav-actions { display: flex; align-items: center; gap: .9rem; }
.nav-phone { display: inline-flex; align-items: center; gap: .45rem; text-decoration: none; font-weight: 700; color: var(--c-azul); white-space: nowrap; }
.nav-phone svg { width: 1.2em; height: 1.2em; fill: currentColor; }
.nav-actions .btn { min-height: 46px; padding: .65rem 1.25rem; white-space: nowrap; }

.nav-toggle {
  display: none; width: 48px; height: 48px; border: 0; background: transparent; cursor: pointer; padding: 0;
  flex-direction: column; justify-content: center; align-items: center; gap: 6px; border-radius: 12px; flex: none;
}
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--c-azul); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

@media (max-width: 1280px) {
  .site-nav { gap: 1.1rem; }
  .site-nav ul { gap: 1rem; }
  .nav-phone span { display: none; }
}
@media (max-width: 1100px) {
  .nav-toggle { display: flex; }
  .header-inner { min-height: 66px; }
  .brand img { height: 32px; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--c-line); box-shadow: 0 24px 40px -28px rgba(21, 45, 71, .5);
    padding: .25rem var(--gutter) 1.25rem; display: none;
    max-height: calc(100vh - 66px); max-height: calc(100dvh - 66px); overflow-y: auto; -webkit-overflow-scrolling: touch;
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: .95rem 0; border-bottom: 1px solid var(--c-line); font-size: 1.05rem; background: none; }
  .nav-actions { flex-direction: column; align-items: stretch; margin-top: 1rem; gap: .75rem; }
  .nav-phone { justify-content: center; padding: .6rem; min-height: 48px; }
  .nav-phone span { display: inline; }
}
@media (max-width: 360px) { .brand img { height: 28px; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(2rem, 5vw, 4.5rem) 0 clamp(3rem, 7vw, 6rem); background: var(--c-white); }
.hero-deco { position: absolute; pointer-events: none; border-radius: 50%; will-change: transform; }
.hero-deco-1 { width: clamp(280px, 42vw, 620px); aspect-ratio: 1; right: clamp(-220px, -12vw, -90px); top: -18%; background: var(--c-amarillo); opacity: .16; }
.hero-deco-2 { width: clamp(120px, 16vw, 230px); aspect-ratio: 1; right: 38%; bottom: -70px; border: clamp(16px, 2.2vw, 30px) solid var(--c-azul); opacity: .07; }
.hero-deco-3 { width: 150px; height: 96px; left: var(--gutter); bottom: 1.5rem; border-radius: 0; background: radial-gradient(circle, rgba(21, 45, 71, .22) 1.6px, transparent 1.8px) 0 0 / 15px 15px; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; position: relative; }
.hero-grid > * { min-width: 0; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: .55rem; font-weight: 600; font-size: .88rem; line-height: 1.3;
  color: var(--c-azul); background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-pill);
  padding: .45rem 1rem .45rem .55rem; margin-bottom: 1.25rem; max-width: 100%;
}
.hero-kicker svg { width: 1.5em; height: 1.5em; fill: var(--c-amarillo); flex: none; }
.hero h1 { font-size: clamp(2rem, 1.1rem + 3.6vw, 3.5rem); letter-spacing: -0.025em; line-height: 1.08; max-width: 15ch; }
.hero-lead { font-size: var(--fs-1); color: var(--c-texto); max-width: 48ch; margin: 1.25rem 0 1.75rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 1.75rem; }
.tagline {
  display: inline-flex; align-items: center; gap: .8rem;
  background: var(--c-azul); color: #fff; border-radius: 14px; padding: .8rem 1.1rem .8rem .9rem;
  line-height: 1.3; max-width: 100%;
}
.tagline svg { width: 30px; height: 30px; flex: none; fill: var(--c-amarillo); }
.tagline strong { color: #fff; font-weight: 700; display: block; }
.tagline span { color: var(--c-sobre-azul); font-size: .95em; }
.hero-visual { position: relative; }

@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: 18ch; }
  .hero-deco-2, .hero-deco-3 { display: none; }
  .hero-deco-1 { top: -6%; }
}
@media (max-width: 520px) {
  .hero-actions .btn { width: 100%; }
  .tagline { width: 100%; }
}

/* ---------- Simulador (desprendible) ---------- */
.stub {
  position: relative; background: var(--c-white); border-radius: 8px 8px var(--r-card) var(--r-card);
  padding: 1.75rem 1.75rem 1.5rem; box-shadow: var(--shadow-pop);
  max-width: 520px; margin-left: auto; border: 1px solid var(--c-line); border-top: 6px solid var(--c-amarillo);
}
.stub-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin: 0 0 1.25rem; }
.stub-eyebrow { font-size: .8rem; color: var(--c-muted); margin: 0 0 .15rem; font-weight: 600; }
.stub h2 { font-size: var(--fs-2); margin: 0; }
.stub-badge {
  flex: none; font-size: .8rem; font-weight: 600; color: var(--c-azul);
  background: var(--c-amarillo); border-radius: var(--r-pill); padding: .4rem .8rem; white-space: nowrap; margin-top: .2rem;
}
.stub-badge strong { font-weight: 800; }
@media (max-width: 940px) { .stub { margin-inline: auto; max-width: 600px; } }
@media (max-width: 480px) {
  .stub { padding: 1.4rem 1.1rem 1.2rem; }
  .stub-head { flex-wrap: wrap; }
  .stub-badge { order: -1; margin: 0 0 .25rem; }
}

.stub-field { margin-bottom: 1.1rem; }
.stub-field-row { display: flex; justify-content: space-between; align-items: baseline; gap: .75rem; margin-bottom: .3rem; flex-wrap: wrap; }
.stub-field label { font-weight: 600; color: var(--c-azul); }
.stub-field output { font-weight: 800; font-size: var(--fs-1); color: var(--c-azul); font-variant-numeric: tabular-nums; }
.stub-field-text label { display: block; margin-bottom: .4rem; }
.stub-field-text label span { font-weight: 400; color: var(--c-muted); font-size: .9rem; }

input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 36px; background: transparent; margin: 0; cursor: pointer; touch-action: pan-y; }
input[type="range"]::-webkit-slider-runnable-track { height: 8px; border-radius: 4px; background: linear-gradient(to right, var(--c-azul) 0 var(--pct, 50%), var(--c-line) var(--pct, 50%) 100%); }
input[type="range"]::-moz-range-track { height: 8px; border-radius: 4px; background: var(--c-line); }
input[type="range"]::-moz-range-progress { height: 8px; border-radius: 4px; background: var(--c-azul); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -11px; border-radius: 50%; background: var(--c-amarillo); border: 4px solid #fff; box-shadow: 0 2px 8px rgba(21, 45, 71, .4); }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--c-amarillo); border: 4px solid #fff; box-shadow: 0 2px 8px rgba(21, 45, 71, .4); }
input[type="range"]:focus-visible { outline-offset: 0; }

.input-money { display: flex; align-items: center; border: 2px solid var(--c-line); border-radius: var(--r-input); background: #fff; overflow: hidden; min-height: 52px; }
.input-money:focus-within { border-color: var(--c-azul); }
.input-money span { padding: 0 .4rem 0 .9rem; color: var(--c-muted); font-weight: 700; }
.input-money input { border: 0; outline: 0; padding: .75rem .9rem .75rem 0; font: inherit; font-size: 16px; width: 100%; min-width: 0; font-variant-numeric: tabular-nums; background: transparent; color: var(--c-azul); border-radius: 0; }

.stub-lines { margin: 1.25rem 0; border-top: 2px dashed var(--c-line); padding-top: 1rem; }
.stub-line { display: flex; justify-content: space-between; align-items: baseline; gap: .75rem; padding: .3rem 0; flex-wrap: wrap; }
.stub-line dt { color: var(--c-muted); font-weight: 600; }
.stub-line dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--c-azul); }
.stub-line-total dt { color: var(--c-azul); font-weight: 700; }
.stub-line-total dd { font-size: clamp(1.5rem, 1.1rem + 2vw, 1.95rem); font-weight: 800; line-height: 1; color: var(--c-azul); }
.stub-line-mesada { display: block; margin-top: .75rem; padding-top: .75rem; border-top: 1px solid var(--c-line); }
.capacity { margin-top: .6rem; }
.capacity-bar { position: relative; height: 10px; border-radius: 5px; background: var(--c-line); }
.capacity-bar span { display: block; height: 100%; width: 0; border-radius: 5px; background: var(--c-azul); transition: width .25s ease, background-color .25s ease; }
.capacity-bar span.is-over { background: var(--c-alert); }
.capacity-bar i { position: absolute; top: -4px; width: 3px; height: 18px; background: var(--c-amarillo); transform: translateX(-1px); border-radius: 2px; }
.capacity p { font-size: .85rem; color: var(--c-muted); margin: .5rem 0 0; }
.capacity p.is-over { color: var(--c-alert); font-weight: 600; }
.stub-fine { font-size: .78rem; color: var(--c-muted); margin: .9rem 0 0; line-height: 1.45; }

/* ---------- Franja de confianza ---------- */
.trust { background: var(--c-azul); color: #fff; padding: 1.5rem 0; }
.trust ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.trust li { display: flex; align-items: center; gap: .8rem; font-weight: 700; font-size: .95rem; line-height: 1.25; }
.trust li span { color: var(--c-sobre-azul); font-weight: 400; display: block; font-size: .88em; }
.trust svg { width: 42px; height: 42px; flex: none; }
@media (max-width: 940px) { .trust ul { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .trust ul { grid-template-columns: 1fr; gap: .9rem; } }

/* ---------- Créditos ---------- */
.credits { padding: var(--section-y) 0; }
.credit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.credit-card {
  background: #fff; border-radius: var(--r-card); padding: 2rem 1.75rem 1.75rem;
  border: 1px solid var(--c-line); display: flex; flex-direction: column; box-shadow: var(--shadow-card);
  position: relative; overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s ease, border-color .3s ease;
}
.credit-card::before { content: ""; position: absolute; left: 0; top: 0; height: 5px; width: 100%; background: var(--c-amarillo); transform: scaleX(0); transform-origin: 0 50%; transition: transform .35s var(--ease); }
.credit-card:hover { transform: translateY(-6px); box-shadow: 0 26px 44px -26px rgba(21, 45, 71, .5); }
.credit-card:hover::before { transform: scaleX(1); }
.credit-icon { width: 60px; height: 60px; border-radius: 16px; background: var(--c-azul); color: var(--c-amarillo); display: grid; place-items: center; margin-bottom: 1.25rem; }
.credit-icon svg { width: 34px; height: 34px; }
.credit-card h3 { font-size: var(--fs-2); }
.credit-tag { font-weight: 700; color: var(--c-azul); margin: -.25rem 0 .75rem; }
.credit-card p { color: var(--c-texto); }
.credit-card > p:not(.credit-tag) { flex: 1; }
.credit-card ul { display: grid; gap: .45rem; margin: 0 0 1.4rem; }
.credit-card ul li, .check-list li { position: relative; padding-left: 1.7rem; font-weight: 600; color: var(--c-azul); font-size: .95rem; }
.credit-card ul li::before, .check-list li::before {
  content: ""; position: absolute; left: 0; top: .22em; width: 1.15rem; height: 1.15rem; border-radius: 50%;
  background: var(--c-amarillo) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M6 12.5l4 4 8-9' fill='none' stroke='%23152D47' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/68% no-repeat;
}
@media (max-width: 940px) { .credit-grid { grid-template-columns: 1fr; } .credit-card { padding: 1.6rem 1.35rem 1.5rem; } }
@media (min-width: 700px) and (max-width: 940px) {
  .credit-grid { grid-template-columns: repeat(2, 1fr); }
  .credit-card:last-child { grid-column: 1 / -1; }
}

/* ---------- Tu crédito puede mejorar (bloque azul) ---------- */
.improve { padding: var(--section-y) 0; background: var(--c-azul); color: #fff; position: relative; overflow: hidden; }
.improve-deco { position: absolute; right: -90px; top: -90px; width: 360px; height: 360px; border-radius: 50%; border: 46px solid var(--c-amarillo); opacity: .14; pointer-events: none; will-change: transform; }
.improve .container { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.improve .container > * { min-width: 0; }
.improve .section-title { color: #fff; }
.improve .section-lead { color: var(--c-sobre-azul); }
.improve-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.improve-grid li { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); border-radius: 16px; padding: 1.1rem 1.1rem 1rem; }
.improve-grid h3 { color: #fff; font-size: 1.05rem; font-weight: 700; margin-bottom: .3em; display: flex; align-items: center; gap: .55rem; }
.improve-grid h3 svg { width: 28px; height: 28px; flex: none; }
.improve-grid p { color: var(--c-sobre-azul); margin: 0; font-size: .92rem; }
.improve-cases { background: #fff; border-radius: var(--r-card); padding: 1.75rem; box-shadow: var(--shadow-pop); border-top: 6px solid var(--c-amarillo); }
.improve-cases h3 { color: var(--c-azul); font-size: var(--fs-1); }
.improve-cases ul { display: grid; gap: .9rem; }
.improve-cases li { display: flex; gap: .8rem; align-items: flex-start; color: var(--c-texto); }
.improve-cases li strong { display: block; }
.improve-cases li span { color: var(--c-muted); font-size: .92em; }
.improve-cases svg { width: 40px; height: 40px; flex: none; fill: var(--c-azul); background: var(--c-amarillo-suave); border-radius: 12px; padding: 8px; }
@media (max-width: 940px) { .improve .container { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .improve-grid { grid-template-columns: 1fr; } .improve-cases { padding: 1.4rem 1.15rem; } }

/* ---------- Para quién ---------- */
.who { padding: var(--section-y) 0; }
.who-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.who-card { background: #fff; border-radius: var(--r-card); padding: 1.6rem 1.4rem; border: 1px solid var(--c-line); box-shadow: var(--shadow-card); transition: transform .3s var(--ease), border-color .3s ease; }
.who-card:hover { transform: translateY(-5px); border-color: var(--c-amarillo); }
.who-card h3 { font-size: var(--fs-1); margin-bottom: .35em; }
.who-card p { color: var(--c-texto); font-size: .95rem; margin: 0; }
.who-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--c-azul); color: var(--c-amarillo); display: grid; place-items: center; margin-bottom: 1rem; }
.who-icon svg { width: 30px; height: 30px; }
@media (max-width: 1000px) { .who-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .who-grid { grid-template-columns: 1fr; } }

/* ---------- Fondos de pensiones (logos) ---------- */
.funds { padding: var(--section-y) 0; border-top: 1px solid var(--c-line); }
.funds .container { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.funds .container > * { min-width: 0; }
.funds-photo { border-radius: var(--r-card); overflow: hidden; aspect-ratio: 4 / 5; background: var(--c-tinte); position: relative; box-shadow: var(--shadow-card); }
.funds-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 40%; }
.funds-copy .section-lead { margin-bottom: 1.75rem; }

.logo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; }
.logo-grid li {
  background: #fff; border: 1px solid var(--c-line); border-radius: 14px;
  height: 92px; padding: 12px 14px; display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--c-azul); font-size: .9rem; text-align: center; line-height: 1.15;
  transition: transform .25s var(--ease), box-shadow .25s ease, border-color .25s ease;
}
.logo-grid li:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: var(--c-amarillo); }
.logo-grid img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 6px; }
@media (max-width: 940px) {
  .funds .container { grid-template-columns: 1fr; }
  .funds-photo { aspect-ratio: 16 / 9; }
  .funds-photo img { object-position: 55% 30%; }
}
@media (max-width: 640px) { .logo-grid { grid-template-columns: repeat(3, 1fr); gap: .6rem; } .logo-grid li { height: 84px; padding: 10px; } }
@media (max-width: 420px) { .logo-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Entidades gubernamentales ---------- */
.gov { padding: var(--section-y) 0; border-top: 1px solid var(--c-line); text-align: center; position: relative; overflow: hidden; }
.gov-deco { position: absolute; left: -120px; top: 20%; width: 300px; height: 300px; border-radius: 50%; background: var(--c-amarillo); opacity: .12; pointer-events: none; will-change: transform; }
.gov .container { position: relative; }
.gov .section-title, .gov .section-lead { margin-inline: auto; }
.gov .section-lead { max-width: 62ch; }
.gov-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-bottom: 2rem; }
.gov-grid li {
  flex: 0 1 calc((100% - 4rem) / 5); min-width: 170px; height: 150px; padding: 1.1rem 1.25rem;
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-card); box-shadow: var(--shadow-card);
  display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--c-azul);
  transition: transform .25s var(--ease), border-color .25s ease;
}
.gov-grid li:hover { transform: translateY(-5px); border-color: var(--c-amarillo); }
.gov-grid img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.gov-note { color: var(--c-muted); font-size: .95rem; margin: 0 auto 1.5rem; }
@media (max-width: 640px) {
  .gov-grid { gap: .6rem; }
  .gov-grid li { flex: 0 1 calc((100% - .6rem) / 2); min-width: 0; height: 120px; padding: .9rem; }
}

/* ---------- Pasos ---------- */
.steps { padding: var(--section-y) 0; border-top: 1px solid var(--c-line); }
.steps-head { max-width: 60ch; }
.steps-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; counter-reset: paso; position: relative; margin-top: 1rem; }
.steps-list li { counter-increment: paso; position: relative; padding-top: 4.5rem; }
.steps-list li::before {
  content: counter(paso); position: absolute; top: 0; left: 0;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 800; font-size: 1.4rem; background: var(--c-amarillo); color: var(--c-azul);
  box-shadow: 0 0 0 6px var(--c-amarillo-suave);
}
.steps-list li::after {
  content: ""; position: absolute; top: 27px; left: 72px; right: -1.4rem; height: 2px;
  background: repeating-linear-gradient(90deg, var(--c-azul) 0 8px, transparent 8px 16px); opacity: .3;
}
.steps-list li:last-child::after { display: none; }
.steps-list h3 { font-size: var(--fs-1); margin-bottom: .35em; }
.steps-list p { color: var(--c-texto); margin: 0; }
@media (max-width: 1000px) {
  .steps-list { grid-template-columns: repeat(2, 1fr); }
  .steps-list li:nth-child(2)::after { display: none; }
}
@media (max-width: 600px) {
  .steps-list { grid-template-columns: 1fr; gap: 1.6rem; }
  .steps-list li { padding-top: 0; padding-left: 4.6rem; min-height: 60px; }
  .steps-list li::after { display: none; }
}

/* ---------- Conoce a tu asesora ---------- */
.advisor { padding: var(--section-y) 0; border-top: 1px solid var(--c-line); overflow: hidden; }
.advisor-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.advisor-grid > * { min-width: 0; }
.advisor-photo { position: relative; max-width: 380px; margin-inline: auto; width: 100%; }
.advisor-photo img { border-radius: var(--r-card); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; position: relative; }
.advisor-photo .photo-back { position: absolute; inset: 1.25rem -1.25rem -1.25rem 1.25rem; border-radius: var(--r-card); background: var(--c-amarillo); will-change: transform; }
.advisor-photo .photo-dots { position: absolute; right: -2.2rem; top: -1.6rem; width: 110px; height: 80px; background: radial-gradient(circle, rgba(21, 45, 71, .3) 1.6px, transparent 1.8px) 0 0 / 14px 14px; will-change: transform; }
.advisor-badge {
  position: absolute; left: 1rem; right: 1rem; bottom: 1rem; width: fit-content; max-width: calc(100% - 2rem); background: #fff; border-radius: 12px; padding: .6rem .9rem;
  box-shadow: var(--shadow-card); display: flex; align-items: center; gap: .6rem; font-weight: 700; color: var(--c-azul); font-size: .9rem; line-height: 1.25;
}
.advisor-badge svg { width: 28px; height: 28px; fill: var(--c-amarillo); flex: none; }
.advisor-badge span { color: var(--c-muted); font-weight: 400; font-size: .85em; display: block; }
.advisor-quote { font-weight: 800; font-size: var(--fs-3); color: var(--c-azul); line-height: 1.2; margin: 0 0 1.25rem; max-width: 22ch; letter-spacing: -0.015em; }
.advisor-quote em { font-style: normal; background: linear-gradient(transparent 62%, var(--c-amarillo) 62%, var(--c-amarillo) 92%, transparent 92%); }
.advisor-list { display: grid; gap: 1rem; margin: 1.5rem 0 2rem; }
.advisor-list li { display: flex; gap: .9rem; align-items: flex-start; }
.advisor-list svg { width: 42px; height: 42px; flex: none; }
.advisor-list strong { display: block; }
.advisor-list span { color: var(--c-texto); font-size: .95rem; }
.advisor-sign { font-weight: 700; color: var(--c-azul); font-size: 1.1rem; margin: 1.5rem 0 0; padding-left: 1rem; border-left: 4px solid var(--c-amarillo); }
@media (max-width: 940px) {
  .advisor-grid { grid-template-columns: 1fr; }
  .advisor-photo { max-width: 320px; margin: 0 auto 2rem; }
  .advisor-quote { font-size: var(--fs-2); max-width: none; }
}
@media (max-width: 420px) {
  .advisor-photo { max-width: 270px; }
  .advisor-photo .photo-back { inset: .9rem -.9rem -.9rem .9rem; }
  .advisor-photo .photo-dots { right: -1.2rem; }
}

/* ---------- Secretarías de educación (mapa) ---------- */
.teachers { padding: var(--section-y) 0; border-top: 1px solid var(--c-line); position: relative; overflow: hidden; }
.teachers-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; position: relative; }
.teachers-grid > * { min-width: 0; }
.check-list { display: grid; gap: .7rem; margin: 0 0 2rem; }
.check-list li { font-size: 1rem; }
.map-figure { position: relative; max-width: 460px; margin-inline: auto; width: 100%; }
.map-figure .map-back { position: absolute; left: 6%; right: 6%; top: 10%; aspect-ratio: 1; border-radius: 50%; background: var(--c-amarillo); opacity: .22; will-change: transform; }
.map-figure img { position: relative; width: 100%; height: auto; filter: drop-shadow(0 22px 26px rgba(21, 45, 71, .28)); will-change: transform; }
.map-badge {
  position: absolute; right: 0; bottom: 12%; background: #fff; border-radius: 14px; padding: .7rem 1rem; box-shadow: var(--shadow-pop);
  display: flex; align-items: center; gap: .6rem; font-weight: 700; color: var(--c-azul); font-size: .92rem; line-height: 1.25; border-left: 5px solid var(--c-amarillo); max-width: 78%;
}
.map-badge span { display: block; font-weight: 400; color: var(--c-muted); font-size: .88em; }
.map-pin { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--c-amarillo); box-shadow: 0 0 0 4px rgba(255, 255, 255, .9); }
.map-pin::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--c-amarillo); animation: ping 2.4s ease-out infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(3.4); opacity: 0; } }
@media (max-width: 940px) {
  .teachers-grid { grid-template-columns: 1fr; }
  .map-figure { max-width: 360px; }
}
@media (max-width: 420px) { .map-figure { max-width: 290px; } .map-badge { font-size: .82rem; padding: .55rem .75rem; } }

/* ---------- Requisitos ---------- */
.requirements { padding: var(--section-y) 0; border-top: 1px solid var(--c-line); }
.req-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 1rem clamp(1.5rem, 5vw, 5rem); align-items: start; }
.req-grid > * { min-width: 0; }
.req-list { display: grid; gap: 1rem; }
.req-list li { position: relative; padding: 1rem 1.25rem 1rem 3.4rem; background: #fff; border: 1px solid var(--c-line); border-radius: 14px; font-weight: 600; color: var(--c-azul); box-shadow: var(--shadow-card); }
.req-list li::before {
  content: ""; position: absolute; left: 1.1rem; top: 1.05rem; width: 1.5rem; height: 1.5rem; border-radius: 50%;
  background: var(--c-amarillo) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M6 12.5l4 4 8-9' fill='none' stroke='%23152D47' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/65% no-repeat;
}
.req-note { grid-column: 2; margin: .5rem 0 0; padding: 1rem 1.25rem; border-left: 4px solid var(--c-amarillo); color: var(--c-texto); background: var(--c-amarillo-suave); border-radius: 0 14px 14px 0; max-width: none; }
@media (max-width: 940px) { .req-grid { grid-template-columns: 1fr; } .req-note { grid-column: 1; } }

/* ---------- Preguntas frecuentes ---------- */
.faq { padding: var(--section-y) 0; border-top: 1px solid var(--c-line); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(1.5rem, 5vw, 5rem); align-items: start; }
.faq-grid > * { min-width: 0; }
.faq-head { position: sticky; top: 100px; }
.faq-list details { background: #fff; border: 1px solid var(--c-line); border-radius: 16px; margin-bottom: .75rem; box-shadow: var(--shadow-card); transition: border-color .2s ease; }
.faq-list details[open] { border-color: var(--c-amarillo); }
.faq-list summary {
  list-style: none; cursor: pointer; padding: 1.15rem 3.6rem 1.15rem 1.4rem; position: relative; min-height: 60px;
  font-weight: 700; font-size: 1.02rem; color: var(--c-azul); line-height: 1.3; -webkit-tap-highlight-color: transparent;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; position: absolute; right: 1.1rem; top: 50%; width: 32px; height: 32px; transform: translateY(-50%);
  border-radius: 50%; background: var(--c-amarillo) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 5v14M5 12h14' stroke='%23152D47' stroke-width='2.8' stroke-linecap='round'/></svg>") center/52% no-repeat;
  transition: transform .2s ease;
}
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-list details p { padding: 0 1.4rem 1.25rem; color: var(--c-texto); margin: 0; max-width: none; }
.faq-list details a { font-weight: 700; }
@media (max-width: 940px) { .faq-grid { grid-template-columns: 1fr; } .faq-head { position: static; } }

/* ---------- Contacto ---------- */
.contact { padding: var(--section-y) 0; border-top: 1px solid var(--c-line); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.contact-grid > * { min-width: 0; }
.phone-pills { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.5rem; }
.phone-pill {
  display: inline-flex; align-items: center; gap: .55rem; background: var(--c-azul); color: #fff; text-decoration: none; min-height: 48px;
  font-weight: 700; padding: .55rem 1.1rem .55rem .6rem; border-radius: var(--r-pill); font-variant-numeric: tabular-nums; transition: transform .15s ease, background-color .18s ease;
}
.phone-pill svg { width: 30px; height: 30px; fill: #fff; background: var(--c-wa); border-radius: 50%; padding: 6px; flex: none; }
.phone-pill:hover { background: var(--c-azul-soft); color: #fff; transform: translateY(-2px); }
.contact-channels { display: grid; gap: .8rem; margin-bottom: 1.5rem; }
.contact-channels li { display: grid; grid-template-columns: 110px 1fr; align-items: baseline; gap: 1rem; }
.channel-label { color: var(--c-muted); font-weight: 600; }
.contact-channels a { font-weight: 700; overflow-wrap: anywhere; }
.contact-photo { border-radius: var(--r-card); overflow: hidden; aspect-ratio: 16 / 10; box-shadow: var(--shadow-card); margin-top: 2rem; }
.contact-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }

/* Redes sociales */
.social { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; }
.social-label { font-weight: 600; color: var(--c-muted); margin-right: .2rem; }
.social a {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; text-decoration: none;
  background: var(--c-azul); color: #fff; transition: transform .2s var(--ease), background-color .2s ease, color .2s ease;
}
.social a svg { width: 22px; height: 22px; fill: currentColor; }
.social a:hover { background: var(--c-amarillo); color: var(--c-azul); transform: translateY(-3px); }
.site-footer .social a { background: rgba(255, 255, 255, .1); color: #fff; }
.site-footer .social a:hover { background: var(--c-amarillo); color: var(--c-azul); }

.lead-form { background: #fff; border: 1px solid var(--c-line); border-top: 6px solid var(--c-amarillo); border-radius: var(--r-card); padding: 2rem; position: sticky; top: 100px; box-shadow: var(--shadow-pop); }
.lead-form h3 { font-size: var(--fs-2); margin-bottom: .25rem; }
.lead-form .form-intro { color: var(--c-muted); margin-bottom: 1.25rem; font-size: .95rem; }
.form-row { margin-bottom: 1.1rem; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-row-2 > * { min-width: 0; }
.form-row label { display: block; font-weight: 600; margin-bottom: .4rem; color: var(--c-azul); font-size: .95rem; }
.form-row input, .form-row select {
  width: 100%; font: inherit; font-size: 16px; padding: .8rem .95rem; border: 2px solid var(--c-line); border-radius: var(--r-input);
  background-color: #fff; color: var(--c-azul); min-height: 52px; -webkit-appearance: none; appearance: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form-row select {
  padding-right: 2.6rem; text-overflow: ellipsis;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M6 9l6 6 6-6' fill='none' stroke='%23152D47' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat; background-position: right .85rem center; background-size: 18px;
}
.form-row input::placeholder, .input-money input::placeholder { color: #94A0AE; }
.form-row input:focus, .form-row select:focus { outline: none; border-color: var(--c-azul); box-shadow: 0 0 0 4px rgba(255, 178, 21, .35); }
.form-row .input-money input { min-height: 0; border: 0; box-shadow: none; padding-left: 0; }
.form-row input.is-invalid, .form-row select.is-invalid, .input-money.is-invalid { border-color: var(--c-alert); }
.check { display: flex; gap: .75rem; align-items: flex-start; margin: 1.25rem 0; font-size: .92rem; color: var(--c-muted); cursor: pointer; }
.check input { width: 24px; height: 24px; flex: none; margin: .1rem 0 0; accent-color: var(--c-azul); }
.check a { font-weight: 700; }
.form-error { color: var(--c-alert); font-weight: 600; margin: 0 0 1rem; }
.form-fine { font-size: .85rem; color: var(--c-muted); margin: .9rem 0 0; text-align: center; max-width: none; }
.form-success { margin-top: 1.25rem; padding: 1.25rem; background: var(--c-amarillo-suave); border-radius: 14px; }
.form-success h4 { font-size: var(--fs-1); margin-bottom: .3em; }
.form-success p { margin: 0; color: var(--c-azul); }
@media (max-width: 940px) {
  .contact-grid { grid-template-columns: 1fr; }
  .lead-form { position: static; padding: 1.5rem; }
  .contact-photo { display: none; }
}
@media (max-width: 520px) {
  .form-row-2 { grid-template-columns: 1fr; gap: 1.1rem; }
  .contact-channels li { grid-template-columns: 1fr; gap: .1rem; }
  .lead-form { padding: 1.25rem 1.1rem; }
  .phone-pill { flex: 1 1 100%; }
}

/* ---------- Pie de página ---------- */
.site-footer { background: var(--c-azul); color: rgba(255, 255, 255, .82); padding: 4rem 0 calc(6.5rem + env(safe-area-inset-bottom, 0px)); border-top: 6px solid var(--c-amarillo); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.1fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.footer-grid > * { min-width: 0; }
.footer-brand img { height: 44px; width: auto; }
.footer-brand p { margin-top: 1.25rem; max-width: 36ch; }
.footer-legal-id { font-size: .9rem; color: rgba(255, 255, 255, .62); }
.site-footer h4 { color: #fff; font-size: var(--fs-0); font-weight: 700; margin-bottom: .9rem; }
.site-footer ul { display: grid; gap: .55rem; }
.site-footer a { color: rgba(255, 255, 255, .88); text-decoration: none; overflow-wrap: anywhere; }
.site-footer a:hover { color: var(--c-amarillo); }
.footer-contact .social { margin-top: 1.25rem; }
.footer-disclaimer { padding-top: 1.75rem; font-size: .85rem; color: rgba(255, 255, 255, .66); }
.footer-disclaimer p { max-width: none; }
.footer-disclaimer .fine-brand { color: var(--c-amarillo); font-weight: 700; }
@media (max-width: 940px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } .site-footer { padding-top: 3rem; } }

/* ---------- Botones flotantes (WhatsApp y llamada) ---------- */
.float-actions {
  position: fixed; z-index: 60; display: flex; flex-direction: column; gap: .8rem; align-items: center;
  right: calc(1.1rem + env(safe-area-inset-right, 0px)); bottom: calc(1.1rem + env(safe-area-inset-bottom, 0px));
}
.float-btn {
  position: relative; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; text-decoration: none; flex: none;
  box-shadow: var(--shadow-float); transition: transform .2s var(--ease), box-shadow .2s ease; -webkit-tap-highlight-color: transparent;
}
.float-btn svg { display: block; fill: currentColor; }
.float-btn:hover { transform: translateY(-3px) scale(1.05); }
.float-wa { background: var(--c-wa); color: #fff; }
.float-wa svg { width: 34px; height: 34px; }
.float-wa:hover { color: #fff; }
.float-wa::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--c-wa); animation: ping-wa 2.6s ease-out infinite; pointer-events: none; }
@keyframes ping-wa { 0% { transform: scale(1); opacity: .8; } 80%, 100% { transform: scale(1.65); opacity: 0; } }
.float-tel { background: var(--c-azul); color: #fff; width: 52px; height: 52px; }
.float-tel svg { width: 24px; height: 24px; }
.float-tel:hover { color: #fff; }
.float-label {
  position: absolute; right: calc(100% + .7rem); top: 50%; transform: translateY(-50%) translateX(8px); white-space: nowrap;
  background: var(--c-azul); color: #fff; font-weight: 600; font-size: .85rem; padding: .45rem .8rem; border-radius: 10px;
  opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease;
}
.float-btn:hover .float-label, .float-btn:focus-visible .float-label { opacity: 1; transform: translateY(-50%); }
@media (hover: none) { .float-label { display: none; } }
@media (max-width: 480px) { .float-btn { width: 56px; height: 56px; } .float-tel { width: 48px; height: 48px; } .float-wa svg { width: 31px; height: 31px; } }

/* ---------- Entrada del hero ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { opacity: 0; transform: translateY(18px); animation: rise .7s var(--ease) forwards; }
  .hero-copy > *:nth-child(1) { animation-delay: .05s; }
  .hero-copy > *:nth-child(2) { animation-delay: .14s; }
  .hero-copy > *:nth-child(3) { animation-delay: .23s; }
  .hero-copy > *:nth-child(4) { animation-delay: .32s; }
  .hero-copy > *:nth-child(5) { animation-delay: .41s; }
  .hero-visual { opacity: 0; transform: translateY(26px); animation: rise .8s var(--ease) .3s forwards; }
  @keyframes rise { to { opacity: 1; transform: none; } }
}

/* ---------- Animaciones de scroll (aparición + parallax) ----------
   Solo se ocultan los elementos cuando hay JavaScript (clase .js en <html>),
   así el contenido siempre se ve aunque el script no cargue.            */
@media (prefers-reduced-motion: no-preference) {
  html.js [data-reveal] {
    opacity: 0; transform: translate3d(0, 44px, 0);
    transition: opacity .8s var(--ease), transform .9s var(--ease);
    transition-delay: var(--d, 0ms);
  }
  html.js [data-reveal="left"] { transform: translate3d(-56px, 0, 0); }
  html.js [data-reveal="right"] { transform: translate3d(56px, 0, 0); }
  html.js [data-reveal="zoom"] { transform: scale(.9); }
  html.js [data-reveal].is-in { opacity: 1; transform: none; }
  [data-parallax] { will-change: transform; }
  .parallax-img { transform: scale(1.18); }
}
@media (prefers-reduced-motion: reduce) {
  .float-wa::before, .map-pin::after { animation: none; }
  .btn:hover, .credit-card:hover, .who-card:hover, .logo-grid li:hover, .gov-grid li:hover { transform: none; }
}
@media (max-width: 1099px) {
  html.js [data-reveal="left"], html.js [data-reveal="right"] { transform: translate3d(0, 36px, 0); }
  html.js [data-reveal].is-in { transform: none; }
}

/* ---------- Página legal ---------- */
.legal { padding: clamp(2.5rem, 6vw, 5rem) 0; }
.legal .container { max-width: 820px; }
.legal h1 { font-size: var(--fs-4); }
.legal h2 { font-size: var(--fs-2); margin-top: 2rem; }
.legal p, .legal li { max-width: none; }
.legal ul { list-style: disc; padding-left: 1.4rem; display: grid; gap: .4rem; }
.legal-note { background: var(--c-amarillo-suave); border-left: 4px solid var(--c-amarillo); padding: 1rem 1.25rem; border-radius: 0 12px 12px 0; margin-bottom: 2rem; }
.site-footer.is-compact { padding: 0 0 2rem; }

@media print {
  .site-header, .float-actions, .hero-actions, .lead-form, .nav-toggle, .scroll-progress { display: none !important; }
  html.js [data-reveal] { opacity: 1 !important; transform: none !important; }
  body { background: #fff; }
}
