/* ══════════════════════════════════════════════════════════════════
   AMBI — HERO.CSS
══════════════════════════════════════════════════════════════════ */



/* ──────────────────────────────────────────
   HERO — CONTENEDOR
────────────────────────────────────────── */

.hero {
    /*aspect-ratio: 1920 / 1080;*/
    height: 100dvh;      /* ocupa exactamente el viewport */
    /*min-height: unset;*/
    overflow: hidden;
}

.hero .section-content {
    position: absolute;
    inset: 0;
}

/* ──────────────────────────────────────────
   HERO — CAPA 1: FONDO
   .hero-bg vive dentro de .section-bg
   position/z-index los hereda del global
────────────────────────────────────────── */

/*.hero-bg {
    position: absolute;
    inset: 0;
    background-color: var(--c-black);
    background-image: inherit;
    background-size: cover;
    background-position: center center;
}*/

.hero-bg {
    position: absolute;
    inset: 0;
    background-color: var(--c-black);
    background-image: inherit;
    background-size: cover;
    background-position: center top;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
}


/* ──────────────────────────────────────────
   HERO — CAPA 2: CONTENIDO
   .hero-logo vive dentro de .section-content
────────────────────────────────────────── */

.hero-logo {
    position: absolute;
    top: 38%;          /* antes: 40% — compensa los ~60px del nav */
    left: 75%;
    transform: translate(-50%, -50%);
    width: 500px;
    max-width: 70%;
    pointer-events: none;
    animation: heroLogoFloat 4s ease-in-out infinite;
}

.hero-logo img {
    width: 100%;
    height: auto;
    display: block;
}

/* ── HERO LOGO — efecto levitación ── */
@keyframes heroLogoFloat {
    0%, 100% { transform: translateX(-50%) translateY(0px); }
    50%       { transform: translateX(-50%) translateY(-10px); }
}


/* ──────────────────────────────────────────
   HERO — CAPA 3: BLEEDS
   .hero-ovimg vive dentro de .section-bleeds
   position/z-index los hereda del global
────────────────────────────────────────── */

.hero-ovimg {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 35%;
    transform: translateX(-50%);
    width: auto;
    max-width: 100%;
}

.hero-ovimg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}





/* ════════════════════════════════════════════
   AMBI — HERO FX  |  hero.css
   Efectos activos: grain, scan, vignette
════════════════════════════════════════════ */

/* ── CAPA 1: FX — pegá esto en hero.css ── */

.hero-fx-vignette {
    position: absolute;
    inset: 0;
    z-index: 5;
    pointer-events: none;
    opacity: 0.74;
    background: radial-gradient(
        ellipse at center,
        transparent 45%,
        rgba(0, 0, 0, 0.95) 100%
    );
}

.hero-fx-scan {
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
    opacity: 1.00;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.35) 0px,
        rgba(0, 0, 0, 0.35) 1px,
        transparent 1px,
        transparent 3px
    );
}

.hero-fx-grain {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
}
.hero-fx-grain canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}