/* Veras · página pública (veras.com.mx). Pantallas completas que se acomodan solas al desplazarse. */
:root{
  --bg:#ffffff; --gris:#f5f7fa; --line:#e6eaf0; --fg:#0b1220; --muted:#5b6678; --faint:#98a2b3;
  --accent:#2453d4; --accent-hover:#1b45b5; --menta:#7fe0c4; --marino:#0b1428;
  --verde:#1f9d55; --morado:#6638c4; --naranja:#e0592a; --teal:#0c7670;
  --f-body:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  --f-display:'Manrope','Inter',system-ui,-apple-system,'Segoe UI',sans-serif;
  --alto-top:68px;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--fg);font:16px/1.6 var(--f-body);-webkit-font-smoothing:antialiased}
h1,h2,h3{font-family:var(--f-display);margin:0;letter-spacing:-.03em;text-wrap:balance}
p{margin:0}
a{color:inherit}
.oculto{position:absolute;width:0;height:0;overflow:hidden}
.tenue{color:var(--faint)}
.caja{width:100%;max-width:1200px;margin:0 auto;padding:0 28px}

/* Pantallas: cada sección ocupa la pantalla y el desplazamiento se acomoda a ella */
@media (min-width:900px) and (min-height:640px){
  html{scroll-snap-type:y mandatory}
  .pantalla{scroll-snap-align:start;scroll-snap-stop:always}
}
.pantalla{position:relative;min-height:100vh;min-height:100svh;display:flex;flex-direction:column;justify-content:center;
  padding:calc(var(--alto-top) + 32px) 0 48px;overflow:hidden}
.pantalla.gris{background:var(--gris)}
.pantalla.oscura{background:radial-gradient(900px 500px at 80% 10%,#1a2b57 0,rgba(26,43,87,0) 60%),var(--marino);color:#c8d1e1}
.pantalla.oscura h2{color:#fff}

/* encabezado */
.top{position:fixed;inset:0 0 auto 0;z-index:20;height:var(--alto-top);background:rgba(255,255,255,.82);
  backdrop-filter:saturate(1.6) blur(14px);-webkit-backdrop-filter:saturate(1.6) blur(14px);border-bottom:1px solid rgba(230,234,240,.8)}
.top-in{height:100%;max-width:1200px;margin:0 auto;padding:0 28px;display:flex;align-items:center;gap:28px}
.marca{display:inline-flex;align-items:center;gap:10px;text-decoration:none;font:800 21px/1 var(--f-display);letter-spacing:-.03em}
.marca.chica{font-size:15px;gap:8px}
.menu{display:flex;gap:2px}
.menu a{padding:8px 12px;border-radius:999px;text-decoration:none;color:var(--muted);font-size:14px;font-weight:500;transition:color .15s,background .15s}
.menu a:hover{color:var(--fg);background:var(--gris)}
.top-acc{margin-left:auto;display:flex;gap:8px}

/* botones tipo píldora */
.pildora{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:40px;padding:0 18px;border-radius:999px;
  font:600 14px/1 var(--f-body);text-decoration:none;border:1px solid transparent;white-space:nowrap;
  transition:transform .15s,background .15s,box-shadow .15s,border-color .15s}
.pildora.grande{min-height:52px;padding:0 26px;font-size:15px}
.pildora.negra{background:var(--fg);color:#fff;box-shadow:0 8px 20px -8px rgba(11,18,32,.6)}
.pildora.negra:hover{transform:translateY(-1px);box-shadow:0 12px 26px -10px rgba(11,18,32,.7)}
.pildora.clara{background:#fff;color:var(--fg);border-color:var(--line)}
.pildora.clara:hover{border-color:#cfd6e1}
.pildora.menta{background:var(--menta);color:var(--marino)}
.pildora.menta:hover{transform:translateY(-1px)}
.pildora svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
a:focus-visible{outline:3px solid var(--accent);outline-offset:3px;border-radius:999px}

/* puntos de navegación */
.puntos{position:fixed;right:22px;top:50%;transform:translateY(-50%);z-index:15;display:flex;flex-direction:column;gap:14px}
.puntos a{position:relative;display:block;width:10px;height:10px;border-radius:50%;background:#cfd6e1;transition:background .2s,transform .2s}
.puntos a.activo{background:var(--fg);transform:scale(1.25)}
.puntos.sobre-oscuro a{background:rgba(255,255,255,.35)}
.puntos.sobre-oscuro a.activo{background:#fff}
.puntos span{position:absolute;right:20px;top:50%;transform:translateY(-50%);white-space:nowrap;font-size:12px;font-weight:600;
  background:var(--fg);color:#fff;padding:4px 10px;border-radius:999px;opacity:0;pointer-events:none;transition:opacity .15s}
.puntos a:hover span,.puntos a:focus-visible span{opacity:1}

/* aparición al llegar a cada pantalla (sólo con JavaScript; sin él, todo se ve) */
.js .aparece{opacity:0;transform:translateY(22px);transition:opacity .7s ease,transform .7s cubic-bezier(.2,.7,.2,1)}
.js .heroe .aparece{opacity:1;transform:none}   /* lo primero que se ve nunca espera a la animación */
.js .pantalla.vista .aparece{opacity:1;transform:none}
.js .pantalla.vista .aparece:nth-child(2){transition-delay:.12s}
.js .pantalla.vista .aparece:nth-child(3){transition-delay:.24s}

/* textos comunes */
.ceja{font-size:13px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--accent);margin-bottom:14px}
.ceja.menta{color:var(--menta)}
h1{font-size:clamp(40px,5.6vw,72px);line-height:1.02;font-weight:800}
h2{font-size:clamp(32px,4.2vw,54px);line-height:1.06;font-weight:800}
.lead{font-size:clamp(17px,1.5vw,20px);line-height:1.55;margin-top:22px;max-width:560px;color:var(--fg)}
.lead b{font-weight:600}
.sub{font-size:18px;color:var(--muted);margin-top:16px;max-width:620px}
.oscura .sub{color:#a8b3c7}
.acc{display:flex;flex-wrap:wrap;gap:12px;margin-top:32px}
.titulo{text-align:center;max-width:820px;margin:0 auto 40px}
.titulo .sub{margin-left:auto;margin-right:auto}
.titulo.izq{text-align:left;margin:0}

/* 1 · héroe */
.heroe{background:radial-gradient(800px 600px at 78% 45%,#eef2fd 0,rgba(238,242,253,0) 65%),#fff}
.heroe-in{display:grid;grid-template-columns:1fr 1.05fr;gap:40px;align-items:center}
.sellos{display:flex;flex-wrap:wrap;gap:10px 22px;list-style:none;padding:0;margin:30px 0 0;font-size:14px;color:var(--muted)}
.sellos li{display:flex;align-items:center;gap:6px}
.sellos svg,.incluye svg{width:18px;height:18px;fill:none;stroke:var(--verde);stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;flex:none}
.orbita{position:relative;width:100%;max-width:620px;justify-self:center;aspect-ratio:1}
.orbita-svg{width:100%;height:100%;overflow:visible}
.orbita .linea{fill:none;stroke:#d9dfe8;stroke-width:1.2}
.orbita .linea.tenue{stroke-dasharray:3 6;stroke:#dfe4ec}
.trazo{fill:none;stroke:var(--fg);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.trazo.blanco{stroke:#fff}.trazo.verde{stroke:var(--verde)}.trazo.azul{stroke:var(--accent)}.trazo.morado{stroke:var(--morado)}
.nucleo-txt{font:800 30px var(--f-display);letter-spacing:-.04em;fill:var(--fg)}
.nucleo-sub{font:600 12px var(--f-body);letter-spacing:.12em;text-transform:uppercase;fill:var(--faint)}
.baja{position:absolute;left:50%;bottom:22px;transform:translateX(-50%);width:26px;height:42px;border:2px solid #cfd6e1;border-radius:14px}
.baja span{position:absolute;left:50%;top:8px;width:4px;height:8px;margin-left:-2px;border-radius:2px;background:var(--fg);animation:rueda 1.8s infinite}
@keyframes rueda{0%{opacity:0;transform:translateY(0)}30%{opacity:1}100%{opacity:0;transform:translateY(12px)}}

/* 2 · cómo funciona */
.flujo{display:flex;align-items:center;justify-content:center;gap:0;margin:0 auto 44px;max-width:900px}
.nodo{display:flex;flex-direction:column;align-items:center;gap:4px;text-align:center;min-width:150px}
.nodo b{font:700 16px var(--f-display);margin-top:8px}
.nodo small{color:var(--muted);font-size:13px}
.nodo-ico{display:grid;place-items:center;width:64px;height:64px;border-radius:18px;background:#fff;border:1px solid var(--line);box-shadow:0 10px 24px -12px rgba(11,18,32,.25)}
.nodo-ico svg{width:28px;height:28px;fill:none;stroke:var(--fg);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.nodo-ico.azul{background:var(--accent);border-color:var(--accent)}
.nodo-ico.azul svg{width:38px;height:38px}
.nodo.destacado .nodo-ico{width:76px;height:76px;border-radius:22px}
.via{position:relative;flex:1;height:64px;display:grid;place-items:center;min-width:70px}
.via-linea{position:absolute;left:0;right:0;top:50%;height:2px;margin-top:-1px;
  background:repeating-linear-gradient(90deg,var(--accent) 0 8px,transparent 8px 16px);background-size:32px 2px;animation:flujo 1.2s linear infinite;opacity:.55}
@keyframes flujo{to{background-position:32px 0}}
.via-candado{position:relative;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#fff;border:1px solid var(--line)}
.via-candado svg{width:16px;height:16px;fill:none;stroke:var(--verde);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.pasos{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.pasos li{display:flex;gap:16px;padding:22px;border:1px solid var(--line);border-radius:18px;background:#fff}
.num{flex:none;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--fg);color:#fff;font:800 15px/1 var(--f-display)}
.pasos h3{font-size:18px}
.pasos p{color:var(--muted);font-size:15px;margin-top:4px}
.enlace{display:inline-block;margin-top:10px;color:var(--accent);font-weight:600;font-size:15px;text-decoration:none}
.enlace:hover{text-decoration:underline}

/* 3 · módulos */
.rejilla{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.ficha{display:flex;gap:14px;align-items:flex-start;padding:20px;background:#fff;border:1px solid var(--line);border-radius:18px;transition:transform .2s,box-shadow .2s}
.ficha:hover{transform:translateY(-3px);box-shadow:0 16px 30px -18px rgba(11,18,32,.35)}
.ficha h3{font-size:16px}
.ficha p{color:var(--muted);font-size:14px;margin-top:3px;line-height:1.45}
.f-ico{flex:none;display:grid;place-items:center;width:42px;height:42px;border-radius:12px}
.f-ico svg{width:22px;height:22px;fill:none;stroke:#fff;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.f-ico.azul{background:var(--accent)}.f-ico.morado{background:var(--morado)}.f-ico.naranja{background:var(--naranja)}.f-ico.verde{background:var(--verde)}

/* 4 · IA */
.ia-in{display:grid;grid-template-columns:.9fr 1.1fr;gap:56px;align-items:center}
.ia-tarjetas{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.ia-t{display:flex;gap:14px;padding:18px;border-radius:18px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1)}
.ia-t:first-child{grid-column:1/-1}
.ia-t:not(:first-child){flex-direction:column;gap:10px}
.ia-t h3{color:#fff;font-size:17px}
.ia-t p{font-size:14px;color:#a8b3c7;margin-top:3px}
.burbuja{margin-top:12px;padding:10px 14px;border-radius:14px;font-size:14px;max-width:88%}
.burbuja.yo{background:var(--accent);color:#fff;margin-left:auto;border-bottom-right-radius:4px}
.burbuja.ella{background:rgba(255,255,255,.08);color:#dfe5ef;border-bottom-left-radius:4px}

/* 5 · seguridad */
.seg-in{display:grid;grid-template-columns:.9fr 1.1fr;gap:64px;align-items:center}
.seg-sello{position:relative;aspect-ratio:1;max-width:420px;width:100%;justify-self:center;display:grid;place-items:center}
.anillo{position:absolute;border-radius:50%;border:1px solid var(--line)}
.anillo.a1{inset:0;animation:pulso 4s ease-in-out infinite}
.anillo.a2{inset:14%;border-color:#dbe3f6;animation:pulso 4s ease-in-out .6s infinite}
.anillo.a3{inset:28%;background:radial-gradient(circle,#eef2fd,#fff);border-color:#cdd8f3}
@keyframes pulso{50%{transform:scale(1.03);opacity:.6}}
.seg-ico{position:relative;display:grid;place-items:center;width:96px;height:96px;border-radius:28px;background:var(--fg);box-shadow:0 20px 40px -18px rgba(11,18,32,.6)}
.seg-ico svg{width:44px;height:44px;fill:none;stroke:#fff;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.seg-lista{list-style:none;margin:28px 0 0;padding:0;display:grid;gap:12px}
.seg-lista li{padding:14px 18px;border-radius:14px;background:var(--gris);color:var(--muted);font-size:15px}
.seg-lista b{color:var(--fg)}

/* 6 · precio y pie */
.final{justify-content:space-between}
.precio-in{flex:1;display:flex;flex-direction:column;justify-content:center}
.plan{max-width:860px;width:100%;margin:0 auto;display:grid;grid-template-columns:1fr 1fr;gap:28px 40px;padding:36px;
  background:#fff;border:1px solid var(--line);border-radius:24px;box-shadow:0 30px 60px -40px rgba(11,18,32,.45)}
.plan h3{font-size:20px}
.precio{font:800 clamp(44px,5vw,60px)/1 var(--f-display);letter-spacing:-.04em;margin-top:12px}
.precio-nota{color:var(--muted);font-size:14px;margin:6px 0 14px}
.incluye{list-style:none;margin:0;padding:0;display:grid;gap:12px;align-content:center}
.incluye li{display:flex;align-items:center;gap:10px;font-size:15px}
.plan-acc{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:12px}
.pie{margin-top:36px;border-top:1px solid var(--line);padding-top:20px}
.pie-in{display:flex;align-items:center;gap:20px;flex-wrap:wrap;font-size:13px;color:var(--faint)}
.pie-in p{flex:1;min-width:260px}
.pie-links{display:flex;gap:18px}
.pie-links a{color:var(--muted);text-decoration:none}
.pie-links a:hover{color:var(--fg)}

/* tabletas y celulares: pantallas que crecen con su contenido, sin ajuste forzado */
@media (max-width:1100px){
  .rejilla{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:899px){
  .menu,.puntos{display:none}
  .caja,.top-in{padding:0 20px}
  .pantalla{min-height:auto;padding:calc(var(--alto-top) + 40px) 0 64px}
  .heroe{min-height:100svh}
  .heroe-in,.ia-in,.seg-in{grid-template-columns:1fr;gap:36px}
  .orbita{max-width:440px}
  .seg-sello{max-width:260px;order:2}
  .baja{display:none}
  .pasos{grid-template-columns:1fr}
  .flujo{flex-direction:column;gap:0}
  .via{height:44px;width:2px;flex:none;min-width:0}
  .via-linea{left:50%;right:auto;top:0;bottom:0;width:2px;height:auto;margin:0 0 0 -1px;
    background:repeating-linear-gradient(180deg,var(--accent) 0 8px,transparent 8px 16px);background-size:2px 32px;animation:flujo-v 1.2s linear infinite}
  .via-candado{display:none}
  .plan{grid-template-columns:1fr;padding:26px}
}
@keyframes flujo-v{to{background-position:0 32px}}
@media (max-width:600px){
  .solo-ancho{display:none}
  .rejilla,.ia-tarjetas{grid-template-columns:1fr}
  .acc .pildora{flex:1 1 100%}
  .lead{font-size:17px}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation:none!important;transition:none!important}
  .js .aparece{opacity:1;transform:none}
}
