/* =========================================================
   AXEL SECOPS — ESTILOS PRINCIPALES
   Inteligencia Digital y Reputación
========================================================== */

:root {
    --ink: #0A0A0A;
    --red: #FF0000;
    --red-dark: #CC0000;
    --line: #E5E5E5;
}

/* ---------------------------------------------------------
   BASE & RESET
---------------------------------------------------------- */

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Barlow', sans-serif;
    background: #ffffff;
    color: #0A0A0A;
    overflow-x: hidden;
}

::selection {
    background: #FF0000;
    color: #ffffff;
}

*:focus-visible {
    outline: 2px solid #FF0000;
    outline-offset: 2px;
}

/* ---------------------------------------------------------
   TIPOGRAFÍAS
---------------------------------------------------------- */

.font-display {
    font-family: 'Anton', sans-serif;
}

.font-condensed {
    font-family: 'Barlow Condensed', sans-serif;
}

/* ---------------------------------------------------------
   FONDOS & EFECTOS VISUALES
---------------------------------------------------------- */

.grid-lines {
    background-image:
        linear-gradient(to right, rgba(10, 10, 10, .06) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(10, 10, 10, .06) 1px, transparent 1px);
    background-size: 40px 40px;
}

.noise {
    position: relative;
}

.noise::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

/* ---------------------------------------------------------
   ANIMACIONES: REVEAL
---------------------------------------------------------- */

.reveal {
    opacity: 0;
    transform: translateY(20px);
    animation: reveal .8s ease forwards;
}

.delay-1 {
    animation-delay: .1s;
}

.delay-2 {
    animation-delay: .2s;
}

.delay-3 {
    animation-delay: .3s;
}

@keyframes reveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------------------------------------------------------
   ANIMACIONES: SCAN LINE
---------------------------------------------------------- */

.scan-line {
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: #FF0000;
    opacity: .6;
    animation: scan 4s linear infinite;
}

@keyframes scan {
    0% {
        top: 0;
        opacity: 0;
    }

    10% {
        opacity: .6;
    }

    90% {
        opacity: .6;
    }

    100% {
        top: 100%;
        opacity: 0;
    }
}

/* ---------------------------------------------------------
   ANIMACIONES: HERO LEVITATION
---------------------------------------------------------- */

}

/* ---------------------------------------------------------
   ANIMACIONES: HERO LEVITATION
---------------------------------------------------------- */

.floating-hero {
    animation: heroFloat 6s ease-in-out infinite;
    will-change: transform;
}

@keyframes heroFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

/* ---------------------------------------------------------
   HERO: INTEGRACIÓN TOTAL DEL LIENZO
---------------------------------------------------------- */

.hero-section-unified {
    background-color: #f5f3ee;
}

.hero-video-blend {
    position: relative;
    width: 100%;
    height: 100%;
    mask-image: linear-gradient(to right, transparent 0%, black 14%, black 96%, transparent 100%),
                linear-gradient(to bottom, transparent 0%, black 6%, black 94%, transparent 100%);
    mask-composite: intersect;
    -webkit-mask-image: -webkit-linear-gradient(left, transparent 0%, black 14%, black 96%, transparent 100%);
}

.hero-video-blend video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    background: transparent;
}

/* ---------------------------------------------------------
   PREFERENCIAS DE MOVIMIENTO REDUCIDO
---------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
    .reveal {
        animation: none;
        opacity: 1;
        transform: none;
    }

    .scan-line {
        animation: none;
        display: none;
    }

    .floating-hero {
        animation: none;
        transform: none;
    }

    html {
        scroll-behavior: auto;
    }
}