/* /var/www/subdominios/viso/assets/css/main.css */
:root {
    --slate-950: #0a0a0a;
    --optical-blue: #0047ff;
}
body { 
    font-family: 'Space Grotesk', sans-serif; 
    background-color: #f8f8f8;
    color: var(--slate-950);
    overflow-x: hidden;
    margin: 0;
    scroll-behavior: smooth;
}
.serif { font-family: 'Instrument Serif', serif; font-style: italic; }

/* Efecto de Tarjetas Apiladas Profesional */
.stack-container {
    perspective: 1px;
    height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
}

.stack-section {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    background: #f8f8f8;
}

/* Solo el Hero es realmente Sticky al inicio para el efecto de revelado */
.sticky-hero {
    position: sticky;
    top: 0;
    height: 100vh;
    z-index: 1;
}

/* Las secciones siguientes suben con sombra para el efecto de tarjeta */
.card-overlay {
    z-index: 20;
    box-shadow: 0 -30px 100px rgba(0,0,0,0.1);
    border-top: 1px solid rgba(0,0,0,0.05);
}

.bg-editorial { background-color: #f8f8f8; }
.bg-pure { background-color: #ffffff; }
.bg-deep { background-color: #0a0a0a; }
.text-white { color: #ffffff; }

/* Líneas técnicas de fondo */
.tech-grid {
    background-image: linear-gradient(#e5e5e5 1px, transparent 1px), linear-gradient(90deg, #e5e5e5 1px, transparent 1px);
    background-size: 100px 100px;
    position: fixed;
    inset: 0;
    z-index: -1;
    opacity: 0.5;
}

.line-detail {
    height: 1px;
    background: var(--slate-950);
    width: 0;
    transition: width 1s cubic-bezier(0.19, 1, 0.22, 1);
}

.reveal-text {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
    transition: transform 0.8s ease;
}

.big-number {
    font-size: 12vw;
    line-height: 0.8;
    letter-spacing: -0.05em;
    font-weight: 700;
    opacity: 0.05;
    position: absolute;
}
