/* Fichqo · sitio. Mismos tokens que src/app/globals.css: el color sale solo de variables. */
@font-face { font-family: "Outfit"; font-weight: 600; font-style: normal; font-display: swap; src: url("../assets/fuentes/outfit-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("../assets/fuentes/plus-jakarta-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 500; font-style: normal; font-display: swap; src: url("../assets/fuentes/plus-jakarta-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url("../assets/fuentes/plus-jakarta-sans-latin-600-normal.woff2") format("woff2"); }

:root {
  --navy: #0b2d4a;
  --teal: #12adad;
  --teal-strong: #0e9090;
  --blue: #3b82f6;
  --gray: #e5e7eb;
  --slate: #5b6675;
  --mist: #f6f8fa;

  --fg: var(--navy);
  --text: color-mix(in oklab, var(--navy) 78%, white);
  --muted: var(--slate);
  --danger: oklch(0.577 0.245 27.325);
  --teal-soft: color-mix(in oklab, var(--teal) 10%, white);
  --edge: color-mix(in oklab, var(--navy) 12%, transparent);
  --tint: color-mix(in oklab, var(--navy) 6%, transparent);
  --on-navy: color-mix(in oklab, white 78%, transparent);
  --edge-on-navy: color-mix(in oklab, white 14%, transparent);

  /* Esquinas: 10px en controles, 16px en capturas y tarjetas, 28px en paneles grandes. */
  --r-ctl: 10px;
  --r-box: 16px;
  --r-panel: 28px;

  /* Sombras: pocas, suaves y teñidas de azul. Solo en la barra, las capturas y los celulares. */
  --shade: color-mix(in oklab, var(--navy) 22%, transparent);
  --shade-soft: color-mix(in oklab, var(--navy) 7%, transparent);
  --shadow-sm: 0 1px 2px var(--shade-soft);
  --shadow-md: 0 1px 2px var(--shade-soft), 0 14px 32px -18px var(--shade);
  --shadow-lg: 0 2px 4px var(--shade-soft), 0 36px 64px -36px var(--shade);

  /* Luces de fondo: círculos difusos en teal y azul, solo en las franjas blancas. */
  --glow-teal: color-mix(in oklab, var(--teal) 20%, transparent);
  --glow-teal-mid: color-mix(in oklab, var(--teal) 8%, transparent);
  --glow-blue: color-mix(in oklab, var(--blue) 11%, transparent);
  --glow-blue-mid: color-mix(in oklab, var(--blue) 4%, transparent);

  /* Capas: contenido 0 · barra flotante 30 · enlace de salto 100. */
  --font-title: "Outfit", system-ui, sans-serif;
  --font-text: "Plus Jakarta Sans", system-ui, sans-serif;
  --max: 1200px;
  --gutter: 20px;
  --gap-sec: clamp(72px, 9vw, 128px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--fg); font: 400 1rem/1.65 var(--font-text); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--font-title); font-weight: 600; line-height: 1.1; margin: 0; letter-spacing: -0.025em; text-wrap: balance; }
h3 { letter-spacing: -0.015em; line-height: 1.2; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--teal-strong); text-underline-offset: 3px; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--teal-strong); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--teal); color: #fff; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.ico { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: var(--r-ctl); z-index: 100; }
.skip:focus { left: 8px; }
[hidden] { display: none !important; }
/* Solo para lectores de pantalla. */
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Franjas */
.band-navy { background: var(--navy); color: #fff; }
.band-mist { background: var(--mist); }
.band-white { background: #fff; }

/* Luces de fondo: pocas y suaves. Cada círculo se apaga antes de llegar a la orilla que comparte con otra
   franja blanca, para que no se vea cortado. */
.hero { background-image:
  radial-gradient(circle clamp(260px, 42vw, 580px) at var(--gx, 94%) var(--gy, 26%), var(--glow-teal), var(--glow-teal-mid) 38%, transparent 66%),
  radial-gradient(circle clamp(200px, 26vw, 380px) at 2% 34%, var(--glow-blue), var(--glow-blue-mid) 38%, transparent 66%); }
#para-quien { background-image:
  radial-gradient(circle clamp(220px, 28vw, 400px) at 92% 22%, var(--glow-blue), var(--glow-blue-mid) 38%, transparent 66%); }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: var(--r-ctl); border: 1px solid transparent; font: 600 0.9375rem/1 var(--font-text); text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color .18s, border-color .18s, transform .18s var(--ease); }
.btn:active { transform: translateY(1px); }
.btn .ico { font-size: 1.1em; transition: transform .18s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn-primary { background: var(--teal-strong); color: #fff; }
.btn-primary:hover { background: color-mix(in oklab, var(--teal-strong) 84%, var(--navy)); }
.btn-ghost { background: #fff; border-color: var(--edge); color: var(--fg); }
.btn-ghost:hover { background: var(--mist); border-color: color-mix(in oklab, var(--navy) 22%, transparent); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 0.875rem; }
.btn-lg { min-height: 52px; padding: 0 24px; font-size: 1rem; }

/* Barra flotante */
.top { position: fixed; inset: 12px 0 auto; z-index: 30; padding-inline: var(--gutter); pointer-events: none; }
.top-bar { pointer-events: auto; position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: calc(var(--max) - 2 * var(--gutter)); min-height: 60px; margin-inline: auto; padding: 0 10px 0 18px; border: 1px solid var(--edge); border-radius: var(--r-box); background: color-mix(in oklab, white 84%, transparent); -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%); box-shadow: var(--shadow-md); }
.brand { display: inline-flex; flex: none; }
.brand img { height: 34px; width: auto; }
.nav { display: none; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a { color: var(--text); text-decoration: none; white-space: nowrap; font-size: 0.9rem; font-weight: 500; padding: 8px 11px; border-radius: 8px; transition: color .15s, background-color .15s; }
.nav-links a:hover { color: var(--fg); background: var(--tint); }
.menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 0; border-radius: var(--r-ctl); background: none; color: var(--fg); font-size: 1.3rem; cursor: pointer; transition: background-color .15s; }
.menu-btn:hover, .top.open .menu-btn { background: var(--tint); }
.menu-btn .ico { pointer-events: none; }
.top.open .nav { display: grid; gap: 4px; position: absolute; inset: calc(100% + 8px) -1px auto; padding: 8px; border: 1px solid var(--edge); border-radius: var(--r-box); background: #fff; box-shadow: var(--shadow-md); }
.top.open .nav-links { display: grid; gap: 0; }
.top.open .nav-links a { padding: 13px 12px; font-size: 1rem; }
.top.open .nav .btn { min-height: 48px; margin-top: 4px; }
@media (prefers-reduced-transparency: reduce) {
  .top-bar { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* Portada */
.hero { padding-block: clamp(112px, 13vw, 156px) clamp(40px, 6vw, 80px); overflow-x: clip; }
.hero-grid { display: grid; gap: clamp(40px, 6vw, 56px); align-items: center; }
.hero h1 { font-size: clamp(min(2.4rem, 11vw), 4.5vw, 3.4rem); line-height: 1.04; letter-spacing: -0.035em; margin-bottom: 22px; }
.hero h1 span { color: var(--teal-strong); }
.lead { font-size: 1.125rem; line-height: 1.6; max-width: 44ch; margin: 0; color: var(--text); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 32px; }
.hero-art { position: relative; margin-bottom: 12vw; }
.hero-phone { position: absolute; right: 5%; bottom: -12vw; width: 31%; }

/* Capturas: una sola forma de mostrarlas, sin nada detrás */
.shot { width: 100%; background: var(--mist); border: 1px solid var(--edge); border-radius: var(--r-box); box-shadow: var(--shadow-lg); }
/* Celulares: la captura ya viene dentro del marco de iPhone (PNG con fondo transparente); la sombra sigue su silueta. */
.phone img { width: 100%; filter: drop-shadow(0 1px 2px var(--shade-soft)) drop-shadow(0 12px 12px color-mix(in oklab, var(--navy) 16%, transparent)); }
.phone picture { display: block; }

/* Reforma 2027: la fecha en grande y la gráfica de topes. Las barras salen de las horas (--h) y se cortan a partir
   de 36, para que la bajada de 48 a 40 se note. */
.reform-grid { display: grid; gap: clamp(40px, 6vw, 80px); align-items: center; }
.reform-date { margin: 0 0 20px; font: 600 clamp(3rem, 9vw, 5.75rem)/0.95 var(--font-title); letter-spacing: -0.045em; color: var(--teal); }
.reform-date span { display: block; color: #fff; }
.reform h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.2; letter-spacing: -0.02em; max-width: 26ch; margin-bottom: 16px; }
.reform-copy > p:last-child { margin: 0; max-width: 44ch; font-size: 1.0625rem; color: var(--on-navy); }
.reform-chart { margin: 0; padding: clamp(24px, 3.4vw, 40px); border: 1px solid var(--edge-on-navy); border-radius: var(--r-box); }
.reform-chart figcaption { font-size: 0.9375rem; font-weight: 600; color: var(--on-navy); margin-bottom: 24px; }
.bars { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(10px, 2vw, 20px); align-items: end; height: clamp(200px, 26vw, 260px); }
.bars li { display: grid; grid-template-rows: auto 1fr auto; gap: 8px; height: 100%; text-align: center; }
.bars b { font: 600 clamp(1.125rem, 2vw, 1.5rem)/1 var(--font-title); align-self: end; }
.bars i { align-self: end; height: calc((var(--h) - 36) / 12 * 100%); border-radius: 8px 8px 2px 2px; background: var(--edge-on-navy); transform-origin: bottom; }
.bars .is-next i { background: var(--teal); }
.bars .is-next b { color: var(--teal); }
.bars span { font-size: 0.875rem; color: var(--on-navy); font-variant-numeric: tabular-nums; }
.reform-note { margin: 24px 0 0; padding-top: 18px; border-top: 1px solid var(--edge-on-navy); font-size: 0.9375rem; color: var(--on-navy); }

/* Secciones */
.sec { padding-block: var(--gap-sec); }
.sec h2 { font-size: clamp(1.9rem, 3.5vw, 2.75rem); line-height: 1.08; letter-spacing: -0.03em; }
.sec-head { max-width: 760px; margin-bottom: clamp(32px, 4.5vw, 56px); }
.sec-head p { margin: 16px 0 0; font-size: 1.0625rem; color: var(--muted); max-width: 56ch; }

/* Carrusel de pantallas */
.car { display: grid; gap: 28px; }
.car-bar { display: flex; align-items: center; justify-content: center; gap: 8px; min-width: 0; }
.car-tabs { display: flex; gap: 2px; min-width: 0; padding: 4px; border-radius: 13px; background: var(--tint); overflow-x: auto; scrollbar-width: none; }
.car-tabs::-webkit-scrollbar { display: none; }
.car-tabs button { position: relative; flex: none; border: 0; border-radius: 9px; background: none; padding: 11px 16px; font: 600 0.9rem/1 var(--font-text); color: var(--muted); cursor: pointer; transition: color .15s, background-color .15s; }
.car-tabs button:hover { color: var(--fg); }
.car-tabs button[aria-selected="true"] { background: #fff; color: var(--fg); box-shadow: var(--shadow-sm); }
.car-fill { position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--teal-strong); transform: scaleX(0); transform-origin: left; }
.car-tabs button[aria-selected="true"] .car-fill { transform: none; }
.car.is-auto .car-tabs button[aria-selected="true"] .car-fill { animation: car-fill 7s linear both; }
.car.is-held .car-fill { animation-play-state: paused !important; }
@keyframes car-fill { from { transform: scaleX(0); } to { transform: none; } }
.car-btn { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 40px; height: 40px; border: 0; border-radius: var(--r-ctl); background: none; color: var(--muted); font-size: 1rem; cursor: pointer; transition: background-color .15s, color .15s; }
.car-btn:hover { background: var(--tint); color: var(--fg); }
.car-btn[hidden] { display: none; }
.car-btn .ico { fill: currentColor; stroke-width: 0; }
.car-stage { min-width: 0; }
.slide { display: grid; justify-items: center; gap: 28px; margin-bottom: 64px; text-align: center; }
.slide-copy h3 { font-size: clamp(1.25rem, 2.2vw, 1.5rem); margin-bottom: 6px; }
.slide-copy p { margin: 0; font-size: 1.0625rem; color: var(--muted); }
/* La captura nunca es más alta que la ventana: se ve completa sin tener que bajar. */
.slide .shot { width: min(100%, max(520px, (100dvh - 330px) * 1.6)); }
.car-note { margin: 0; text-align: center; font-size: 0.875rem; color: var(--muted); }
html:not(.js) .car-bar { display: none; }
.js .car-stage { display: grid; touch-action: pan-y; }
.js .slide { grid-area: 1 / 1; margin-bottom: 0; align-content: start; visibility: hidden; opacity: 0; transition: opacity .4s ease, visibility 0s .4s; }
.js .slide.is-active { visibility: visible; opacity: 1; transition: opacity .4s ease; }

/* Comparación: tabla de tres columnas; la de Fichqo va resaltada. En celular, cada fila es un bloque. */
.cmp { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 1rem; }
.cmp th, .cmp td { padding: 16px 20px; text-align: left; vertical-align: top; border-top: 1px solid var(--edge); }
.cmp thead th { border-top: 0; padding-block: 14px; font: 600 1rem/1.3 var(--font-title); color: var(--muted); }
.cmp tbody th { font-weight: 600; color: var(--fg); width: 24%; }
.cmp td { color: var(--muted); width: 34%; }
.cmp .cmp-us { background: var(--teal-soft); color: var(--fg); font-weight: 500; border-top-color: color-mix(in oklab, var(--teal) 18%, white); }
.cmp thead .cmp-us { color: var(--teal-strong); border-radius: var(--r-box) var(--r-box) 0 0; }
/* "Con" y el logo de un solo color como encabezado de la columna de Fichqo. El logo es una caja vacía: se alinea por
   su orilla de abajo, y se baja lo que hay entre esa orilla y la base de sus letras (el 18.5 % de su alto). */
.cmp-con { display: inline-flex; align-items: baseline; gap: 6px; font-size: 1.0625rem; }
.cmp-logo { display: inline-block; width: 66px; aspect-ratio: 636 / 200; position: relative; top: 3.85px; background: url("../assets/fichqo-logo-verde.png") center / contain no-repeat; }
.cmp tbody th { white-space: nowrap; }
.cmp-ico { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; margin: -5px 12px -5px 0; vertical-align: middle; border-radius: var(--r-ctl); background: var(--teal-soft); color: var(--teal-strong); font-size: 1.05rem; }
/* La marca va colgada a la izquierda: si el texto da vuelta, las líneas quedan alineadas. */
.cmp td { position: relative; padding-left: 48px; }
.cmp-mark { position: absolute; left: 20px; top: 20px; stroke-width: 2.5; }
.cmp td .cmp-mark { color: color-mix(in oklab, var(--slate) 70%, white); }
.cmp td.cmp-us .cmp-mark { color: var(--teal-strong); stroke-width: 3; }
.cmp tbody tr:last-child .cmp-us { border-radius: 0 0 var(--r-box) var(--r-box); }
@media (max-width: 639px) {
  .cmp, .cmp tbody, .cmp tr, .cmp th, .cmp td { display: block; width: auto; }
  .cmp thead { display: none; }
  .cmp tr { padding: 18px 0; border-top: 1px solid var(--edge); }
  .cmp tbody th, .cmp td { width: auto; padding: 0; border: 0; }
  .cmp tbody th { margin-bottom: 10px; font-family: var(--font-title); font-size: 1.0625rem; white-space: normal; }
  .cmp td .cmp-mark { display: none; }
  .cmp td { padding-left: 0; }
  .cmp td::before { content: attr(data-label); display: block; margin-bottom: 2px; font-size: 0.8125rem; font-weight: 600; color: var(--muted); }
  .cmp td.cmp-us::before { content: "Con"; width: max-content; padding-right: 60px; color: var(--teal-strong); background: url("../assets/fichqo-logo-verde.png") right 0 top 2px / 54px auto no-repeat; }
  .cmp td + td { margin-top: 10px; }
  .cmp .cmp-us, .cmp tbody tr:last-child .cmp-us { padding: 12px 14px; border-radius: var(--r-ctl); }
  .cmp .cmp-us::before { color: var(--teal-strong); }
}

/* Celular */
.phones-panel { display: grid; gap: 36px; padding: clamp(32px, 6vw, 72px) clamp(24px, 6vw, 72px) 0; border-radius: var(--r-panel); background: var(--teal-soft); overflow: hidden; }
.phones-copy h2 { margin-bottom: 18px; }
.phones-copy p { max-width: 42ch; margin: 0; font-size: 1.0625rem; color: var(--text); }
/* Lleva aire a los lados y arriba para que la sombra de los celulares no choque con la orilla del recorte. */
.phone-crop { display: flex; justify-content: center; align-items: flex-start; gap: 6%; aspect-ratio: 8 / 7; max-height: 540px; padding: 12px 28px 0; overflow: hidden; }
.phone-crop .phone { width: min(44%, 232px); flex: none; }
.phone-crop .phone-low { margin-top: clamp(24px, 7vw, 56px); }

/* Confianza: dos reglas en tarjeta, tres en texto plano */
.rules { display: grid; gap: 16px; }
/* Las tres reglas con foto: la persona, y encima lo que Fichqo registra de ella (una tarjetita como las del sistema). */
.rule.rule-photo { display: block; padding-top: 0; border-top: 0; }
.photo { position: relative; margin: 0 0 20px; border-radius: var(--r-box); overflow: hidden; aspect-ratio: 4 / 3; background: var(--mist); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.chip { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid color-mix(in oklab, white 60%, transparent); border-radius: 12px; background: color-mix(in oklab, white 88%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: var(--shadow-md); font-size: 0.8125rem; line-height: 1.35; color: var(--text); }
.chip b { display: block; font-size: 0.9375rem; color: var(--fg); }
.chip-ico { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 34px; height: 34px; border-radius: var(--r-ctl); background: var(--teal-soft); color: var(--teal-strong); font-size: 1.1rem; }
@media (prefers-reduced-transparency: reduce) {
  .chip { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
.rule-photo h3 { margin-bottom: 8px; }
/* Las tres reglas sencillas: icono a la izquierda y texto a la derecha, con una línea fina arriba. */
.rule { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-content: start; padding-top: 24px; border-top: 1px solid var(--edge); }
.rule > .rule-ico { grid-row: span 2; margin-bottom: 0; }
.rule-ico { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: var(--r-ctl); background: var(--teal-soft); color: var(--teal-strong); font-size: 1.25rem; margin-bottom: 18px; }
.rule h3 { font-size: 1.1875rem; margin-bottom: 8px; }
.rule p { margin: 0; color: var(--text); max-width: 40ch; }
.rule-wide, .rule-dark { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-content: space-between; padding: clamp(24px, 3vw, 36px); border: 1px solid var(--edge); border-radius: var(--r-box); }
.rule-wide .rule-ico, .rule-dark .rule-ico { margin-bottom: 18px; }
.rule-wide { align-items: center; background: #fff; }
.rule-wide h3, .rule-dark h3 { font-size: 1.375rem; }
.rule-dark { background: var(--navy); border-color: var(--navy); color: #fff; }
.rule-dark p { color: var(--on-navy); }
.rule-dark .rule-ico { background: var(--edge-on-navy); color: var(--teal); }
/* Celular asomado en las tarjetas de corrección y de cierre: una grabación de la app que sale de la orilla de abajo. */
.rule-wide, .rule-dark { padding-bottom: 0; }
.rule-phone { align-self: end; justify-self: center; width: min(100%, 250px); padding: 10px 14px 0; overflow: hidden; }
.rule-phone .phone { width: 100%; }
.rule-wide .rule-phone { aspect-ratio: 640 / 1180; }
.rule-dark .rule-phone { aspect-ratio: 640 / 930; }

/* Tus datos: un solo panel blanco con cuatro garantías, separadas por líneas finas. */
/* Panel partido: a la izquierda qué es, a la derecha cuatro mosaicos blancos separados por líneas finas. */
.data { display: grid; margin-top: clamp(40px, 5vw, 56px); overflow: hidden; border: 1px solid color-mix(in oklab, var(--teal) 22%, white); border-radius: var(--r-box); background: #fff; box-shadow: var(--shadow-sm); }
.data-head { padding: clamp(24px, 3.4vw, 40px); background: var(--teal-soft); }
.data-tag { display: inline-block; margin-bottom: 12px; font: 600 0.8125rem/1 var(--font-text); letter-spacing: .04em; text-transform: uppercase; color: var(--teal-strong); }
.data h3 { font-size: clamp(1.375rem, 2.2vw, 1.625rem); line-height: 1.2; letter-spacing: -0.02em; margin-bottom: 10px; }
.data-head p { margin: 0; color: var(--text); font-size: 0.9375rem; max-width: 34ch; }
.data-grid { display: grid; gap: 1px; background: color-mix(in oklab, var(--teal) 16%, white); border-top: 1px solid color-mix(in oklab, var(--teal) 16%, white); }
.data-grid li { display: grid; grid-template-columns: auto 1fr; align-content: start; column-gap: 14px; row-gap: 4px; padding: 22px clamp(20px, 3vw, 28px); background: #fff; }
.data-ico { grid-row: span 2; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: var(--r-ctl); background: var(--teal-soft); color: var(--teal-strong); font-size: 1.2rem; }
.data-grid b { font-weight: 600; line-height: 1.35; padding-top: 1px; }
.data-grid span:not(.data-ico) { font-size: 0.9375rem; color: var(--text); line-height: 1.45; }

/* Para quién: dos columnas separadas por una línea */
.fit { display: grid; gap: 16px; max-width: 1000px; margin-inline: auto; }
.fit-card { padding: clamp(24px, 3.4vw, 40px); border-radius: var(--r-box); }
.fit-yes { background: #fff; border: 1px solid color-mix(in oklab, var(--teal) 45%, white); }
.fit-no { background: var(--mist); border: 1px solid var(--edge); }
.fit-card h3 { display: flex; align-items: center; gap: 12px; font-size: 1.375rem; margin-bottom: 20px; }
.fit-mark { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 40px; height: 40px; border-radius: var(--r-ctl); background: var(--teal-strong); color: #fff; font-size: 1.25rem; }
.fit-mark .ico { stroke-width: 2.5; }
.fit-no .fit-mark { background: var(--slate); }
.fit-card li { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; font-size: 1.0625rem; color: var(--fg); }
.fit-card li + li { border-top: 1px solid var(--edge); }
.fit-card li .ico { width: 22px; height: 22px; margin-top: 3px; padding: 5px; border-radius: 50%; background: var(--teal-soft); color: var(--teal-strong); stroke-width: 3; }
.fit-no li { color: var(--text); }
.fit-no li .ico { background: #fff; color: var(--slate); }

/* Puesta en marcha */
/* Tres tarjetas que suben de tono hasta la última, en azul: ahí ya se checa. Una flecha lleva de una a la siguiente.
   Van una bajo otra hasta 960 px. */
.steps { display: grid; gap: 28px; }
.steps li { position: relative; padding: 22px 22px 22px 86px; border-radius: var(--r-box); background: color-mix(in oklab, var(--teal) var(--tone, 11%), white); }
.steps li:nth-child(2) { --tone: 19%; }
.steps li:last-child { background: var(--navy); color: #fff; }
.step-ico { position: absolute; left: 22px; top: 22px; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: var(--r-ctl); background: #fff; color: var(--teal-strong); font-size: 1.35rem; box-shadow: var(--shadow-sm); }
.sn { position: absolute; right: 18px; top: 12px; font: 600 3.25rem/1 var(--font-title); letter-spacing: -0.04em; color: color-mix(in oklab, var(--teal-strong) 24%, transparent); pointer-events: none; }
.steps li:last-child .sn { color: color-mix(in oklab, white 18%, transparent); }
.steps h3 { font-size: 1.25rem; margin: 0 0 6px; padding-right: 48px; }
.steps p { margin: 0; color: var(--text); max-width: 32ch; }
.steps li:last-child p { color: var(--on-navy); }
.step-next { position: absolute; left: 31px; bottom: -28px; width: 28px; height: 28px; padding: 6px; color: var(--teal-strong); stroke-width: 2.5; transform: rotate(90deg); }

/* Preguntas */
.faq-grid { display: grid; gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq-side h2 { margin-bottom: 20px; }
.faq-side p { max-width: 34ch; margin-bottom: 24px; font-size: 1.0625rem; color: var(--text); }
.faq details { border-top: 1px solid var(--edge); }
.faq details:last-child { border-bottom: 1px solid var(--edge); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font: 600 1.125rem/1.3 var(--font-title); letter-spacing: -0.01em; transition: color .15s; }
.faq summary:hover { color: var(--teal-strong); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; margin-right: 4px; background: linear-gradient(currentColor, currentColor) center / 14px 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 14px no-repeat; transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 24px; max-width: 58ch; color: var(--text); }

/* Contacto */
.contact { padding-block: var(--gap-sec); }
.contact-grid { display: grid; gap: clamp(32px, 6vw, 80px); align-items: center; }
.contact h2 { font-size: clamp(2.1rem, 4.4vw, 3.25rem); line-height: 1.04; letter-spacing: -0.035em; margin-bottom: 18px; }
.contact-copy p { color: var(--on-navy); max-width: 40ch; font-size: 1.125rem; }
.contact-list { margin-top: 32px; display: grid; gap: 14px; }
.contact-list li { display: flex; align-items: flex-start; gap: 12px; font-weight: 500; line-height: 1.5; }
.contact-list .ico { flex: none; margin-top: 1px; }
.contact-list .ico { width: 22px; height: 22px; padding: 5px; border-radius: 50%; background: var(--edge-on-navy); color: var(--teal); stroke-width: 3; }
.contact-copy .contact-mail { display: flex; align-items: center; gap: 14px; margin: 32px 0 0; padding-top: 24px; border-top: 1px solid var(--edge-on-navy); font-size: 0.9375rem; }
.contact-mail-ico { flex: none; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--edge-on-navy); color: var(--teal); }
.contact-mail-ico .ico { width: 20px; height: 20px; }
.contact-mail-text { display: grid; gap: 2px; min-width: 0; }
.contact-mail a { color: #fff; font-size: 1.0625rem; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.contact-mail a:hover { text-decoration: underline; text-underline-offset: 3px; }
.form { display: grid; gap: 18px; background: #fff; color: var(--fg); border-radius: 20px; padding: clamp(24px, 4vw, 40px); }
.form-title { font: 600 1.5rem/1.2 var(--font-title); letter-spacing: -0.02em; margin: 0; }
.form-sub { margin: -10px 0 4px; color: var(--muted); font-size: 0.9375rem; }
.field label { display: block; font-size: 0.875rem; font-weight: 600; margin-bottom: 6px; }
.req { color: var(--danger); margin-left: 2px; }
.control { position: relative; }
.control > .ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 17px; pointer-events: none; }
.control-area > .ico { top: 16px; transform: none; }
.control input, .control select, .control textarea { width: 100%; min-height: 48px; padding: 12px 14px 12px 42px; border-radius: var(--r-ctl); border: 1px solid color-mix(in oklab, var(--navy) 18%, white); background: #fff; color: var(--fg); font: inherit; font-size: 1rem; text-overflow: ellipsis; appearance: none; -webkit-appearance: none; transition: border-color .15s, box-shadow .15s; }
.control textarea { display: block; resize: vertical; min-height: 96px; }
.control select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235b6675' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.control select:invalid { color: var(--muted); }
.control input::placeholder, .control textarea::placeholder { color: var(--muted); opacity: 1; }
.control input:hover, .control select:hover, .control textarea:hover { border-color: color-mix(in oklab, var(--navy) 32%, white); }
.control input:focus, .control select:focus, .control textarea:focus { outline: 0; border-color: var(--teal-strong); box-shadow: 0 0 0 3px color-mix(in oklab, var(--teal) 28%, transparent); }
.field.bad input, .field.bad select { border-color: var(--danger); }
.form .btn { width: 100%; margin-top: 4px; }
.form-note { margin: 0; font-size: 0.8125rem; line-height: 1.5; color: var(--muted); }
.form-note a { font-weight: 600; }
/* Mensaje de error del formulario. */
.form-msg { display: flex; align-items: flex-start; gap: 10px; margin: 0; padding: 12px 14px; border-radius: var(--r-ctl); background: color-mix(in oklab, var(--danger) 7%, white); color: color-mix(in oklab, var(--danger) 78%, var(--navy)); font-size: 0.9rem; line-height: 1.45; }
.form-msg .ico { flex: none; margin-top: 1px; font-size: 18px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Botón de envío mientras se manda: un círculo girando en lugar de la flecha. */
.form .btn.is-loading { cursor: progress; }
.btn.is-loading .ico { display: none; }
.btn.is-loading::after { content: ""; flex: none; width: 18px; height: 18px; border: 2px solid color-mix(in oklab, white 40%, transparent); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Captcha de Cloudflare: centrado y con su alto reservado para que el formulario no brinque al cargarlo. */
.captcha { display: flex; justify-content: center; min-height: 65px; }
.captcha.is-compact { min-height: 140px; }
/* En celular, el captcha normal mide al menos 300 px: se le presta casi todo el relleno del formulario para que quepa
   entero en vez del cuadrito compacto. */
@media (max-width: 480px) {
  .captcha { margin-inline: -20px; }
}

/* Confirmación de envío: ocupa el mismo recuadro que el formulario. */
.form.is-done > :not(.form-done) { display: none; }
.form-done { display: grid; justify-items: center; gap: 12px; padding-block: clamp(16px, 4vw, 40px); text-align: center; }
.form-done-ico { display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 72px; margin-bottom: 8px; border-radius: 50%; background: var(--teal-soft); color: var(--teal-strong); font-size: 2rem; box-shadow: 0 0 0 10px color-mix(in oklab, var(--teal) 6%, white); }
.form-done-ico .ico { stroke-width: 2.5; }
.form-done .form-title:focus { outline: 0; }
.form-done p { margin: 0; max-width: 34ch; color: var(--text); line-height: 1.55; }
.form-done .form-done-mail { max-width: 100%; padding: 8px 14px; border-radius: var(--r-ctl); background: var(--mist); color: var(--fg); font-weight: 600; overflow-wrap: anywhere; }
.form-done .form-done-note { color: var(--muted); font-size: 0.875rem; }
.form .form-done .btn { width: auto; margin-top: 12px; }

/* Pie: sigue en azul, unido al contacto */
.foot { font-size: 0.875rem; }
.foot-row { display: flex; flex-direction: column; align-items: flex-start; gap: 16px 24px; padding-block: 28px; border-top: 1px solid var(--edge-on-navy); }
.foot .brand img { height: 32px; }
.foot-contact { display: flex; flex-wrap: wrap; gap: 8px 24px; color: var(--on-navy); font-size: 0.875rem; }
.foot-contact li { display: inline-flex; align-items: center; gap: 8px; }
.foot-contact .ico { color: var(--teal); }
.foot-end { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-size: 0.8125rem; }
.foot-end a { color: var(--on-navy); font-weight: 500; text-decoration: none; transition: color .15s; }
.foot-end a:hover, .foot-end a[aria-current] { color: #fff; }
.foot p { margin: 0; font-size: 0.8125rem; color: var(--on-navy); }

/* Página de texto legal (aviso de privacidad): barra sencilla y una columna de lectura */
.top-simple .nav { display: flex; gap: 8px; margin-left: auto; }
.legal { padding-block: clamp(124px, 14vw, 172px) var(--gap-sec); background-image: radial-gradient(circle clamp(240px, 36vw, 480px) at 94% 14%, var(--glow-teal), var(--glow-teal-mid) 38%, transparent 66%); }
.legal-body { max-width: 720px; margin-inline: auto; }
.legal h1 { font-size: clamp(2.1rem, 4.4vw, 3rem); line-height: 1.05; letter-spacing: -0.035em; margin-bottom: 12px; }
.legal-date { margin-bottom: 32px; font-size: 0.9375rem; color: var(--muted); }
.legal h2 { font-size: 1.375rem; line-height: 1.2; letter-spacing: -0.02em; margin: 44px 0 12px; }
.legal p, .legal li { color: var(--text); }
.legal ul { display: grid; gap: 6px; margin: 0 0 1em; padding-left: 1.25rem; list-style: disc; }
.legal li::marker { color: var(--teal-strong); }
.legal a { font-weight: 600; }
/* Dato que falta en config.js: se nota a propósito, para no publicar el aviso incompleto. */
.pend { padding: 1px 6px; border-radius: 6px; background: color-mix(in oklab, var(--danger) 10%, white); color: var(--danger); font-weight: 600; text-decoration: none; }
@media (max-width: 519px) {
  .top-simple .btn-ghost { display: none; }
}
@media (max-width: 379px) {
  .top-simple .top-bar { gap: 10px; padding-left: 14px; }
  .top-simple .brand img { height: 30px; }
  .top-simple .btn { padding: 0 12px; font-size: 0.8125rem; }
}

/* Aparición */
/* Corta y cercana: el bloque se dispara antes de entrar a la pantalla, así nunca se ve un hueco al bajar rápido. */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease var(--d, 0s), transform .6s var(--ease) var(--d, 0s); }
.js .reveal.from-left { transform: translateX(-20px); }
.js .reveal.from-right { transform: translateX(20px); }
.js .reveal.in { opacity: 1; transform: none; }
/* Las barras de la reforma crecen al aparecer, una tras otra: se ve la jornada bajar año con año. */
.js .bars i { transform: scaleY(0); transition: transform .7s var(--ease) calc(.25s + var(--i, 0) * .08s); }
.js .reform-chart.in .bars i { transform: none; }
.bars li:nth-child(2) { --i: 1; }
.bars li:nth-child(3) { --i: 2; }
.bars li:nth-child(4) { --i: 3; }
.bars li:nth-child(5) { --i: 4; }
.rule-dark, .rule:nth-child(4), .steps li:nth-child(2), .phone-crop, .faq, .form, .reform-chart { --d: .1s; }
.rule:nth-child(5), .steps li:nth-child(3) { --d: .2s; }

/* Entrada de la portada: la barra baja, el texto entra por la izquierda y la captura por la derecha */
@media (prefers-reduced-motion: no-preference) {
  .form-done { animation: in-up .5s var(--ease) both; }
  .form-done-ico { animation: pop .45s var(--ease) .12s both; }
}
@keyframes pop { from { opacity: 0; transform: scale(.6); } }
@media (prefers-reduced-motion: reduce) {
  .btn.is-loading::after { animation: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .top-bar { animation: in-down .7s var(--ease) both; }
  .hero-copy > * { animation: in-left .8s var(--ease) both; }
  .hero-copy > :nth-child(2) { animation-delay: .07s; }
  .hero-copy > :nth-child(3) { animation-delay: .14s; }
  .hero-copy > :nth-child(4) { animation-delay: .21s; }
  .hero-art .shot { animation: in-right .9s var(--ease) .1s both; }
  .hero-phone { animation: in-up .8s var(--ease) .5s both; }
}
@keyframes in-down { from { opacity: 0; transform: translateY(-16px); } }
@keyframes in-left { from { opacity: 0; transform: translateX(-40px); } }
@keyframes in-right { from { opacity: 0; transform: translateX(48px); } }
@keyframes in-up { from { opacity: 0; transform: translateY(28px); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .bars i, .btn, .btn .ico { transition: none !important; transform: none !important; opacity: 1 !important; }
  .js .slide { transition: none !important; }
  .car-fill { animation: none !important; }
  .faq summary::after { transition: none; }
}

/* Celular angosto */
@media (max-width: 399px) {
  .steps li { padding-left: 76px; }
  .step-ico { left: 18px; width: 42px; height: 42px; }
  .step-next { left: 25px; }
  .steps h3 { padding-right: 36px; }
  .sn { right: 14px; font-size: 2.5rem; }
}
@media (max-width: 420px) {
  .hero-actions .btn { width: 100%; }
}
/* Las pestañas del carrusel se deslizan: la orilla desvanecida avisa que hay más. */
@media (max-width: 639px) {
  .car-bar { justify-content: space-between; }
  .car-tabs { padding-right: 28px; -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent); }
}

/* Anchos */
@media (min-width: 640px) {
  .foot-row { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; }
  :root { --gutter: 24px; }
  .center { margin-inline: auto; text-align: center; }
  .center p { margin-inline: auto; }
  .rules { grid-template-columns: repeat(6, 1fr); gap: 20px; }
  .rule { grid-column: span 2; }
  .rule-wide, .rule-dark { grid-column: 1 / -1; }
  .rule-wide { grid-template-columns: minmax(0, 4fr) minmax(0, 5fr); gap: 32px; }
  .rule-wide > div:first-child { padding-bottom: clamp(24px, 3vw, 36px); }
  .hero-phone { width: 26%; }
  .data-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fit { grid-template-columns: 1fr 1fr; gap: 20px; }
}
@media (min-width: 640px) and (max-width: 959px) {
  /* Tres reglas en columnas angostas: el icono va arriba para que el texto respire. */
  .rule { grid-template-columns: minmax(0, 1fr); }
  .rule > .rule-ico { grid-row: auto; margin-bottom: 14px; }
  /* Las de foto no caben en tres columnas: una por fila, foto a la izquierda y texto a la derecha. */
  .rule.rule-photo { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 28px; align-content: center; }
  .rule-photo .photo { grid-row: span 2; margin: 0; }
  .rule-photo h3 { align-self: end; }
  .nav, .top.open .nav { display: flex; position: static; margin-left: auto; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
  .nav-links { display: none; }
  .top.open .nav-links { display: grid; position: absolute; inset: calc(100% + 8px) -1px auto auto; width: 280px; padding: 8px; border: 1px solid var(--edge); border-radius: var(--r-box); background: #fff; box-shadow: var(--shadow-md); }
  .top.open .nav .btn { min-height: 40px; margin-top: 0; }
}
@media (min-width: 960px) {
  .top { inset-block-start: 16px; }
  .top-bar { min-height: 64px; padding: 0 12px 0 22px; }
  .brand img { height: 40px; }
  .menu-btn { display: none; }
  .hero { --gx: 84%; --gy: 32%; }
  .nav { display: flex; align-items: center; }
  .nav-links { position: absolute; left: 50%; transform: translateX(-50%); }
  .hero-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 7fr); gap: 48px; }
  /* La captura completa, más grande, sale por la orilla derecha: se leen las cifras y se ve que hay más. El celular
     queda dentro de la parte visible. */
  .hero-art { width: 150%; margin-bottom: 56px; }
  .hero-phone { left: 49%; right: auto; bottom: -56px; width: 19%; }
  .phones-panel { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
  .phones-copy { padding-bottom: clamp(32px, 6vw, 72px); }
  .phone-crop { align-self: end; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps li { padding: 24px 24px 28px; }
  .step-ico { position: static; margin-bottom: 30px; }
  .sn { right: 22px; top: 14px; font-size: 4rem; }
  .steps h3 { padding-right: 0; }
  .step-next { left: auto; right: -28px; top: 33px; bottom: auto; transform: none; }
    .reform-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
  .rules { grid-template-columns: repeat(12, 1fr); row-gap: 40px; }
  .rule { grid-column: span 4; }
  .rule-wide { grid-column: span 8; grid-template-columns: minmax(0, 1fr); align-items: stretch; }
  .rule-wide p { max-width: 52ch; }
  .rule-dark { grid-column: span 4; }
  .faq-grid { grid-template-columns: 5fr 7fr; }
  .faq-side { position: sticky; top: 112px; }
  .contact-grid { grid-template-columns: 1fr 1fr; align-items: start; }
  .contact-copy { padding-top: clamp(24px, 4vw, 40px); }
}
@media (min-width: 960px) and (max-width: 1119px) {
  .hero-actions .btn { min-height: 48px; padding: 0 18px; font-size: 0.9375rem; }
}
@media (min-width: 1024px) {
  :root { --gutter: 32px; }
}
@media (min-width: 1120px) {
  .hero-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
}
/* En pantallas anchas la captura ya no llega a la orilla y quedaría flotando cargada a la derecha: se queda dentro
   de la columna, alineada con la barra, para que la portada quede centrada con el resto. */
@media (min-width: 1440px) {
  .hero-grid { grid-template-columns: minmax(0, 440px) minmax(0, 1fr); }
  .hero-art { width: 100%; }
  .hero-phone { left: 72%; width: 26%; }
}

/* Ajustes responsivos */
/* Pestañas del carrusel: en pantallas táctiles miden al menos 44 px de alto para tocarlas con el dedo. */
@media (pointer: coarse) {
  .car-tabs button { min-height: 44px; }
}
/* Comparación en tablet: menos relleno para que la columna de Fichqo no se parta en tres líneas. */
@media (min-width: 640px) and (max-width: 959px) {
  .cmp { font-size: 0.9375rem; }
  .cmp th, .cmp td { padding: 14px 14px; }
  .cmp td { padding-left: 38px; }
  .cmp-mark { left: 14px; top: 17px; }
  .cmp-ico { margin-right: 10px; }
}
/* Tus datos: panel partido solo cuando la columna de la izquierda tiene espacio; antes, encabezado arriba y 2×2. */
@media (min-width: 1200px) {
  .data { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
  .data-head { display: flex; flex-direction: column; justify-content: center; }
  .data-grid { border-top: 0; border-left: 1px solid color-mix(in oklab, var(--teal) 16%, white); }
  .data-grid li { padding: 28px; }
}
/* Corrección en escritorio ancho: el texto a la izquierda y el celular completo a la derecha, dentro de la tarjeta.
   La altura la pone la tarjeta azul de al lado; el celular toma esa altura sin recortarse. */
@media (min-width: 1200px) {
  .rule-wide { grid-template-columns: minmax(0, 1fr) 300px; column-gap: clamp(32px, 4vw, 56px); align-content: stretch; padding-bottom: clamp(24px, 3vw, 36px); }
  .rule-wide > div:first-child { align-self: center; }
  .rule-wide .rule-phone { position: relative; align-self: stretch; width: 100%; min-height: 440px; padding: 0; overflow: visible; aspect-ratio: auto; }
  .rule-wide .rule-phone .phone { position: absolute; inset: 0; display: flex; justify-content: center; }
  .rule-wide .rule-phone picture { height: 100%; }
  .rule-wide .rule-phone img { width: auto; height: 100%; }
}
