/* Hero: esfera de código binario y presentación */

/* =====================================================================
   HERO · esfera de código binario (estilo Midjourney, en gris claro)
   ===================================================================== */
.hero { position: relative; z-index: 2; min-height: 100vh; min-height: 100svh; overflow: hidden; display: flex; align-items: center; justify-content: center; padding: 110px 24px 90px; background: var(--sec-b); }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(ellipse 32% 28% at 50% 50%, rgba(227,227,227,.94), rgba(227,227,227,.5) 60%, rgba(227,227,227,0) 100%),
        linear-gradient(180deg, rgba(227,227,227,0) 72%, #e3e3e3 100%);
}
.hero-inner { position: relative; z-index: 2; text-align: center; max-width: 900px; display: flex; flex-direction: column; align-items: center; }
.hero-eyebrow { font-size: 1rem; font-weight: 500; letter-spacing: -0.2px; color: var(--muted); margin-bottom: 18px; }
.hero-title { font-size: clamp(2.3rem, 6.2vw, 5.6rem); font-weight: 600; letter-spacing: -0.05em; line-height: 1; color: var(--ink); }
.hero-title span { display: block; }
.hero-inner { padding: 30px 10px; }
.hero-sub { margin-top: 26px; font-size: 1.08rem; line-height: 1.6; color: var(--sub); max-width: 560px; }
.hero-actions { margin-top: 30px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
/* Datos clave: texto llano con separadores finos, sin chips */
.hero-facts { list-style: none; margin-top: 34px; display: flex; flex-wrap: wrap; justify-content: center; font-size: .95rem; color: var(--sub); }
.hero-facts li { padding: 0 18px; border-left: 1px solid rgba(34,34,34,.22); line-height: 1.2; }
.hero-facts li:first-child { border-left: 0; }
.hero-facts b { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
/* Una sola entrada al cargar la página, breve y en orden */
.hero-reveal > * { animation: heroIn .5s cubic-bezier(.23, 1, .32, 1) both; }
.hero-reveal > *:nth-child(2) { animation-delay: .06s; } .hero-reveal > *:nth-child(3) { animation-delay: .12s; }
.hero-reveal > *:nth-child(4) { animation-delay: .18s; } .hero-reveal > *:nth-child(5) { animation-delay: .24s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(8px); } }
@media (max-width: 600px) {
    .hero { padding: 100px 18px 80px; }
    .hero-actions .btn { flex: 1 1 100%; }
    .hero::after { background: radial-gradient(ellipse 60% 34% at 50% 50%, rgba(227,227,227,.92), rgba(227,227,227,0) 100%), linear-gradient(180deg, rgba(227,227,227,0) 75%, #e3e3e3 100%); }
}

/* El texto del hero nunca se pierde: la animación deja libre su espacio
   (ver hero-binario.js) y además lleva un halo del color del lienzo */
.hero-eyebrow, .hero-title, .hero-sub, .hero-facts {
    text-shadow: 0 0 2px #e3e3e3, 0 0 10px #e3e3e3, 0 0 18px #e3e3e3;
}
