/* ============================================================
   SISTEMA BASE CORREGIDO
============================================================ */

html,
body {
    margin: 0;
    padding: 0;
    background: black;
    font-family: 'Kumbh Sans', sans-serif;
}

/* WRAPPER QUE CONTROLA LA ALTURA REAL ESCALADA
#aria-wrapper {
    width: 100%;
    overflow: hidden;
    /* recorta cualquier sobrante por escala
    background: black;
}*/

/* Canvas oculto al iniciar */
#aria-canvas {
    opacity: 0;
    transition: opacity .6s ease-in-out;
}

/* Body oscuro al cargar (por si el canvas tarda) */
body {
    background: black !important;
}

/* Cuando todo ya está escalado */
body.page-loaded #aria-canvas {
    opacity: 1;
}


#aria-canvas {
    width: 1920px;
    height: auto;
    position: relative;
    overflow: visible;
    /* ← importante */
    transition: opacity .9s ease;
}

/* Offset del header fuera del canvas */
#aria-canvas {
    padding-top: 80px !important;
    /* altura de tu header */
}


/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Kumbh Sans', sans-serif !important;
}

/* Scroll REAL aquí — nunca arriba */
body {
    background: black;
    overflow-x: hidden;
    overflow-y: auto;
    margin: 0;
    padding: 0;
    transform-origin: top left;
    opacity: 0;
    transition: opacity .9s ease-out;
}

/* Cuando el DOM ya cargó */
body.page-loaded {
    opacity: 1;
}

/* Bloqueo inicial controlado solo desde JS */
body.locked-scroll {
    height: 100vh;
    overflow: hidden !important;
}


/* -------------------------------- HEADER -------------------------------- */
#aria-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    background: black;
    z-index: 9999;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    display: flex;
    align-items: center;
}

.header-inner {
    width: 92%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
}

.nav-links {
    display: flex;
    gap: 48px;
}

/* -------------------------------- MOBILE NAV (HAMBURGER + DRAWER) -------------------------------- */

/* Hidden on desktop */
.nav-toggle {
    display: none;
    width: 46px;
    height: 40px;
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    gap: 7px;
    flex-direction: column;
}

.nav-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: rgba(255,255,255,0.85);
    border-radius: 2px;
    transition: transform .22s ease, opacity .18s ease, background .22s ease;
}

/* Drawer + overlay (exists in DOM always; controlled by .is-open + [hidden]) */
.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    z-index: 9998;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(82vw, 360px);
    background: #000;
    border-left: 1px solid rgba(255,255,255,0.08);
    z-index: 9999;
    padding: 110px 28px 28px;
    display: flex;
    flex-direction: column;
    gap: 22px;
    transform: translateX(105%);
    transition: transform .28s ease;
}

.mobile-nav a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    letter-spacing: 4px;
    font-size: 13px;
    font-weight: 300;
    padding: 8px 2px;
}

.mobile-nav a.active {
    color: #fbb03b;
    text-shadow:
        0 0 8px rgba(248, 176, 59, 0.9),
        0 0 18px rgba(248, 176, 59, 0.8),
        0 0 32px rgba(248, 176, 59, 0.75);
}

/* Open state */
body.nav-open .mobile-nav {
    transform: translateX(0);
}

body.nav-open {
    overflow: hidden !important;
    touch-action: none;
}

/* Animate hamburger into X when open */
body.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
body.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
}
body.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Mobile breakpoint */
@media (max-width: 980px) {
    .nav-links {
        display: none;
    }
    .nav-toggle {
        display: flex;
    }
    .header-inner {
        width: 94%;
    }
    .logo img {
        height: 44px;
    }
}

/* ============================
NAV LINKS (NORMAL + HOVER + ACTIVE GLOW)
============================ */

/* Estado normal */
.nav-links a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    letter-spacing: 4px;
    font-size: 12px;
    font-weight: 300;
    transition:
        color .28s ease,
        text-shadow .28s ease,
        letter-spacing .28s ease,
        filter .28s ease;
}

/* Hover (suave) */
.nav-links a:hover {
    color: #fbb03b;
    text-shadow: 0 0 14px rgba(248, 176, 59, 0.55);
    letter-spacing: 4.4px;
}

/* ACTIVE — Glow real */
.nav-links a.active {
    color: #fbb03b;

    /* GLOW fuerte, como en tu referencia */
    text-shadow:
        0 0 8px rgba(248, 176, 59, 0.9),
        0 0 18px rgba(248, 176, 59, 0.8),
        0 0 32px rgba(248, 176, 59, 0.75);

    letter-spacing: 6px;
    filter: brightness(1.10);
}


/* -------------------------------- BASE SECTIONS -------------------------------- */
.section-video {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    color: white;
}

.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    z-index: 1;
}

/* -------------------------------- SECCIÓN 1 -------------------------------- */
.poster-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
    transition: opacity .8s ease;
}

#click-start {
    position: absolute;
    bottom: 18%;
    width: 100%;
    text-align: center;
    font-size: 28px;
    color: white;
    letter-spacing: 0px;
    cursor: pointer;
    z-index: 4;
    font-weight: 300;
}

#video-sec1 {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    display: none;
    z-index: 2;
}

/* ============================
       SECCIÓN 1 – BOTÓN DE TEXTO
    ============================ */

.sec1-start-text {
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    cursor: pointer;
    user-select: none;
    color: #ffffff;
    font-size: 1.3vw;
    letter-spacing: 4px;
    font-weight: 200;
    text-transform: uppercase;

    opacity: 0.9;
    transition: opacity .3s ease;
}

.sec1-start-text:hover {
    opacity: 1;
}


/* -------------------------------- SECCIÓN 2 -------------------------------- */
.sec2-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 8vw;
    z-index: 5;
}

.sec2-title {
    font-size: 70px;
    line-height: 0.95;
    text-align: right;
    padding-left: 18vw;
    font-weight: 500;
}

.sec2-text {
    font-size: 30px;
    line-height: 1.5;
    text-align: left;
    font-weight: 200;
    letter-spacing: 0px;
    padding-right: 9vw;
}

.fade-late-left,
.fade-late-right {
    opacity: 0;
    transition: opacity .9s ease, transform .9s ease;
}

.fade-late-left {
    transform: translateX(-50px);
}

.fade-late-right {
    transform: translateX(50px);
}

.show {
    opacity: 1 !important;
    transform: translate(0, 0) !important;
}

/* -------------------------------- SECCIÓN 3 -------------------------------- */
.sec3-content {
    width: 100%;
    height: 100%;
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 5;
}

.sec3-title {
    font-size: 250px;
    font-weight: 800;
    opacity: 0;
    transition: 1s ease;
    position: absolute;
    top: 6%;
    z-index: 1;
}

.sec3-people {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    position: absolute;
    bottom: 0;
    z-index: 5;
}

.avatar {
    opacity: 0;
    transition: 1s ease;
}

.avatar-left,
.avatar-right {
    height: 770px;
}

.avatar-center {
    height: 870px;
}

.avatar-left {
    transform: translateX(-170px);
    margin: 0 -5px;
}

.avatar-center {
    transform: translateY(140px);
    margin: 0 -65px;
    z-index: 1;
}

.avatar-right {
    transform: translateX(170px);
    margin: 0 -65px;
}

/* -------------------------------- SECCIÓN 4 -------------------------------- */
#section-4-content {
    position: absolute;
    top: 60%;
    left: 52%;
    transform: translate(-50%, -50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

#section-4-main-title {
    position: absolute;
    top: 8%;
    transform: translateX(-50%);
    width: 100%;
    text-align: center;
    font-size: 32px;
    font-weight: 300;
    opacity: 0;
    line-height: 1.4;
    letter-spacing: 1px;
    transition: 1s ease;
    z-index: 5;
}

.sec4-left-title {
    font-size: 70px;
    font-weight: 500;
    text-align: right;
    line-height: .95;
    opacity: 0;
    transform: translateX(-60px);
    transition: 1s ease;
    padding-left: 7vw;
}

.sec4-right {
    max-width: 520px;
    opacity: 0;
    transform: translateX(60px);
    transition: 1s ease;
    padding-right: 10vw;
}

.sec4-right h3 {
    color: #F8B03B;
    font-size: 22px;
    font-weight: 200;
    margin-bottom: 4px;
}

.sec4-right p {
    font-size: 22px;
    font-weight: 200;
    margin-bottom: 26px;
}

.show4 {
    opacity: 1 !important;
    transform: translate(0, 0) !important;
}

/* ============================
   BOTONES DE VIDEO
============================ */
.video-btn {
    position: absolute;
    bottom: 40px;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    z-index: 50;
}

.video-btn img {
    width: 120px !important;
    height: auto !important;
    display: block !important;
    user-select: none;
    -webkit-user-drag: none;
    transition: transform .25s ease;
}

.video-btn img:hover {
    transform: scale(1.08);
}

/* Replay → Derecha
.replay-btn {
    right: 40px;
} */

/* Audio → A la izquierda del replay
.audio-btn {
    right: 180px;
} */

/* ============================
   BOTONES DE VIDEO — CENTRADOS
============================ */

.video-btn {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    z-index: 50;
}

/* Ajuste fino entre botones */
.replay-btn {
    margin-left: -90px; /* empuja a la izquierda */
}

.audio-btn {
    margin-left: 90px; /* empuja a la derecha */
}


/* -------------------------------- SECCIÓN 5 -------------------------------- */

.section5 {
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding: 80px 8%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #fff;
}

/* VIDEO DE FONDO */
.section5 .video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.section5 .video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9);
}

/* GRID */
.section5-content {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 180px;
    position: relative;
    z-index: 10;
}

/* IZQUIERDA */
.section5 .left {
    text-align: right;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 420px;
    margin-left: auto;
}

.section5 .title {
    font-size: 70px;
    font-weight: 500;
    line-height: 1;
}

.section5 .desc {
    margin: 25px 0 40px;
    opacity: 0.85;
    font-size: 22px;
    line-height: 1.5;
    font-weight: 200;
}

/* BOTONES */
.section5 .buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 90px;
    width: 100%;
    padding-right: 120px;
}

/* Para imágenes como botones */
.btn-img {
    width: 160px;
    height: auto;
    cursor: pointer;
    transition: transform .25s ease, filter .25s ease, box-shadow .25s ease;
}

.btn-img:hover {
    transform: scale(1.07);
    /*filter: brightness(1.1);
        box-shadow: 0 0 35px rgba(255, 120, 20, 0.55);*/
}

/* FRASE */
.section5 .bottom-quote {
    margin-top: 50px;
    font-size: 36px;
    line-height: 1.2;
    font-weight: 400;
    text-align: center;
}

/* CENTRO (vacío) */
.section5 .middle {
    pointer-events: none;
}

/* DERECHA */
.section5 .right {
    max-width: 420px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section5 .right .item {
    margin-bottom: 32px;
    opacity: 0;
    transform: translate(60px, 40px);
    transition: .8s ease;
    font-size: 22px;
    font-weight: 200;
}

.section5 .right .item.sec5-bullet-show {
    opacity: 1;
    transform: translate(0, 0);
}

/* ANIMACIONES */
.sec5-anim-left,
.sec5-anim-right {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity .9s ease, transform .9s ease;
}

.sec5-anim-left {
    transform: translate(-60px, 60px);
}

.sec5-anim-right {
    transform: translate(60px, 60px);
}

.sec5-show {
    opacity: 1 !important;
    transform: translate(0, 0) !important;
}

.sec5-bullet-show h4 {
    color: #F8B03B;
    font-size: 22px;
    font-weight: 300;
    margin-bottom: 4px;
}


/* -------------------------------- SECCIÓN 6 -------------------------------- */
#section-6 video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --------------------------- SECCIÓN 7 --------------------------- */

.sec7-grid {
    position: absolute;
    top: 46%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    padding: 0 12vw;
    gap: 90px;
    z-index: 5;
    align-items: center;
}

/* Texto inferior visible y con prioridad */
.sec7-bottom {
    position: absolute;
    bottom: 4%;
    width: 100%;
    padding: 0 8vw;
    display: flex;
    justify-content: space-between;
    font-size: 32px;
    font-weight: 300;
    letter-spacing: 1px;
    /*opacity: 0.95;*/
    z-index: 12;
    color: white;
}

/* ---------------- IZQUIERDA ---------------- */
.sec7-left {
    text-align: right;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.sec7-sub {
    color: #F8B03B;
    font-size: 22px;
    font-weight: 200;
    margin-bottom: 6px;
}

.sec7-desc {
    font-size: 22px;
    font-weight: 200;
    line-height: 1.4;
    opacity: 0.9;
}

/* ---------------- CENTRO ---------------- */
.sec7-middle {
    pointer-events: none;
}

/* ---------------- DERECHA ---------------- */
.sec7-right {
    max-width: 480px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.sec7-header {
    font-size: 82px;
    font-weight: 500;
    line-height: .87;
    letter-spacing: -1px;
}

.sec7-paragraph {
    font-size: 22px;
    font-weight: 200;
    line-height: 1.45;
    opacity: 0.88;
    color: #d8d8d8;
}

/* ---------------- ANIMACIONES ---------------- */
.sec7-anim-left,
.sec7-anim-right {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity .9s ease, transform .9s ease;
}

.sec7-anim-left {
    transform: translate(-60px, 60px);
}

.sec7-anim-right {
    transform: translate(60px, 60px);
}

.show7 {
    opacity: 1 !important;
    transform: translate(0, 0) !important;
}

/* -------------------------------- SECCIÓN 8 -------------------------------- */

/* CONTENEDOR PRINCIPAL */
#section-8 {
    background: #F7931E;
    position: relative;
    height: 100vh;
    overflow: hidden;
}

/* Línea vertical centrada */
.orange-line {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 0%;
    /* empieza en 0, crecerá por JS */
    background: rgba(255, 255, 255, 0.45);
    z-index: 3;
}

/* GRID 3 COLUMNAS – Izq / Centro vacío / Der */
.sec8-grid {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    display: grid;
    grid-template-columns: 1fr 0.5fr 1fr;
    /* ← LA COLUMNA CENTRAL VACÍA */
    gap: 50px;

    width: 100%;
    padding: 0 8vw;
    z-index: 10;
    align-items: center;
}

/* COLUMNA IZQUIERDA */
.sec8-left {
    font-size: 58px;
    font-weight: 800;
    line-height: 0.95;
    color: #fff;

    text-align: right;

    opacity: 0;
    transform: translateY(30px);
    transition: .8s ease;
}

/* COLUMNA CENTRAL VACÍA */
.sec8-middle {
    width: 100%;
    height: 100%;
    /* no necesita más */
}

/* COLUMNA DERECHA */
.sec8-right {
    max-width: 510px;
    font-size: 33px;
    font-weight: 200;
    line-height: 1.45;
    color: #fff;

    text-align: left;

    opacity: 0;
    transform: translateY(30px);
    transition: .8s ease;
}

/* Animación */
.show8 {
    opacity: 1 !important;
    transform: translateY(0) !important;
}


/* --------------------------- SECCIÓN 9 --------------------------- */

#section-9 {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    color: #fff;
}

/* VIDEO */
#video-sec9 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: black;
    z-index: 1;
}

/* TÍTULO */
.sec9-title {
    position: absolute;
    top: 2%;
    width: 100%;
    text-align: center;
    font-size: 40px;
    font-weight: 200;
    letter-spacing: 4.6px;
    z-index: 5;
    opacity: 0;
    transform: translateY(40px);
    transition: 1s ease;
}

/* OVERLAYS DE TELÉFONOS */
.phone-overlay {
    position: absolute;
    width: 14%;
    aspect-ratio: 9/19.5;
    overflow: hidden;
    border-radius: 28px;
    transform: translate(-50%, -50%);
    opacity: 0;
    z-index: 20;
    transition: opacity .8s ease, transform .8s ease;
}

.phone-overlay img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.phone-left {
    left: 25.5%;
    top: 48%;
}

.phone-center {
    left: 50%;
    top: 48%;
}

.phone-right {
    left: 74.14%;
    top: 48%;
}

.phone-start {
    transform: translate(-50%, -50%) translateY(80px);
}

.phone-show {
    opacity: 1;
    transform: translate(-50%, -50%) translateY(0);
}

.sec9-grid {
    position: absolute;
    bottom: 12%;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 120px;
    z-index: 5;
    padding-left: 50px;
}

.sec9-item {
    text-align: center;
    opacity: 0;
    transform: translateY(60px);
    transition: 1s ease;
}

.sec9-role {
    color: #F8B03B;
    font-size: 24px;
    margin-bottom: 6px;
    letter-spacing: 1px;
}

.sec9-desc {
    font-size: 22px;
    font-weight: 200;
    opacity: 0.8;
}

.show9 {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* -------------------------------- SECCIÓN 10 -------------------------------- */




#section-10 .bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.sec10-grid {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    padding: 0 10vw;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    z-index: 5;
}

.sec10-phone {
    width: 380px;
    max-width: 100%;
    display: block;
    margin: auto;
}

.sec10-left {
    font-size: 36px;
    font-weight: 600;
    color: white;
    text-align: right;
    line-height: 1.2;
    opacity: 0;
    transform: translate(-80px, 30px);
    transition: .8s ease;
}

.sec10-right {
    font-size: 26px;
    font-weight: 300;
    color: white;
    line-height: 1.35;
    opacity: 0;
    transform: translate(80px, 30px);
    transition: .8s ease;
}

.show10 {
    opacity: 1 !important;
    transform: translate(0, 0) !important;
}

.sec10-anim-center {
    opacity: 0;
    transform: translateY(120px);
    transition: .9s ease;
}

.show10-center {
    opacity: 1 !important;
    transform: translateY(0) !important;
}



/* ---------------------- SECCIÓN 11 ---------------------- */
/* SECCIÓN 11 — GRID CON 3 COLUMNAS */
#section-11 {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    color: #fff;
}

#section-11 .bg-video {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    object-fit: cover;
    z-index: 1;
}

/* GRID 3 COLUMNAS */
.sec11-grid {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 100%;
    padding: 0 10vw;

    display: grid;
    grid-template-columns: 1fr 0.5fr 1fr;
    /* izquierda – centro – derecha */
    gap: 60px;
    align-items: center;

    z-index: 5;
}

/* IZQUIERDA */
.sec11-left {
    width: 100%;
    text-align: left;
}

.sec11-subtitle {
    font-size: 42px;
    font-weight: 200;
    line-height: 1.1;
    margin-bottom: 25px;
}

.sec11-p,
.sec11-bottom {
    font-size: 22px;
    /* ← aumentado */
    line-height: 1.55;
    opacity: 0.95;
    margin-bottom: 22px;
    font-weight: 200;
}

.sec11-list div {
    font-size: 22px;
    /* ← aumentado */
    line-height: 1.5;
    margin-bottom: 16px;
    font-weight: 200;
}

.label {
    color: #F8A43B;
    font-weight: 200;
}

/* CENTRO (vacío) */
.sec11-center {
    pointer-events: none;
}

/* DERECHA */
.sec11-right {
    text-align: left;
}

.sec11-title {
    font-size: 60px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: 2px;
}

/* ANIMACIONES */
.sec11-anim-left,
.sec11-anim-right {
    opacity: 0;
    transform: translateY(40px);
    transition: 1s ease;
}

.show11 {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.sec11-anim-left {
    transform: translate(-60px, 40px);
}

.sec11-anim-right {
    transform: translate(60px, 40px);
}

/* ============================================================
   SECCIÓN 12 — COMPLETAMENTE CORREGIDA
============================================================ */

#section-12 {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    color: #fff;
}

/* VIDEO EXACTO COMO LO NECESITA LA ESPIRAL */
#video-sec12.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: black;
    z-index: 1;
}

/* BLOQUE IZQUIERDO */
.sec12-left {
    position: absolute;
    top: 41%;
    left: 6.5%;
    z-index: 5;
}

.sec12-title {
    font-size: 50px;
    font-weight: 500;
    line-height: 0.92;
    opacity: 0;
    transform: translateY(40px);
    transition: .8s ease;
}

.sec12-sub {
    margin-top: -85px;
    font-size: 25px;
    font-weight: 300;
    letter-spacing: 3px;
    opacity: 0;
    transform: translateY(40px);
    transition: .8s ease;
    padding-left: 550px;
}

/* FILA SUPERIOR */
.sec12-top {
    position: absolute;
    top: 10%;
    left: 60%;
    transform: translateX(-50%);
    display: flex;
    gap: 90px;
    z-index: 5;
}

/* FILA INFERIOR */
.sec12-bottom {
    position: absolute;
    top: 50%;
    left: 60%;
    transform: translateX(-50%);
    display: flex;
    gap: 90px;
    z-index: 5;
}

/* BLOQUES */
.sec12-block {
    width: 360px;
    opacity: 0;
    filter: brightness(0.95);

    /* ⚠️ Aquí el cambio importante:
       Solo animamos translateX del bloque,
       NO tocamos el translateX del contenedor.
    */
    transform: translateX(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* INICIO DESDE IZQUIERDA */
.sec12-from-left {
    transform: translateX(-70px);
    /* solo el bloque */
}

/* INICIO DESDE DERECHA */
.sec12-from-right {
    transform: translateX(70px);
    /* solo el bloque */
}

/* ESTADO FINAL */
.sec12-show {
    opacity: 1 !important;
    transform: translateX(0) !important;
}


/* ============================ */
/*        SECCIÓN 13            */
/* ============================ */

#section-13 {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    color: #fff;
}

/* ============================
   FIX VIDEO SECTION 13
============================ */

#section-13 #video-sec13 {
    object-fit: contain;
    background: black;
}

/* ============================ */
/*   GRID CENTRAL DE TEXTOS     */
/* ============================ */

.sec13-grid {
    position: absolute;
    top: 15%;
    /* SUBIDO para dejar espacio a los botones */
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    padding: 0 11vw;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    z-index: 10;
}

/* COLUMNAS */
.sec13-left,
.sec13-right {
    width: 38%;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* IZQUIERDA */
.sec13-left {
    text-align: right;
}

.sec13-title {
    font-size: 40px;
    font-weight: 500;
    line-height: 0.95;
}

.sec13-sub {
    font-size: 22px;
    font-weight: 200;
    letter-spacing: 3px;
    opacity: 0.9;
}

/* DERECHA */
.sec13-right {
    text-align: left;
}

.sec13-title-right {
    font-size: 60px;
    font-weight: 400;
    line-height: 0.9;
}

.sec13-paragraph {
    font-size: 22px;
    font-weight: 200;
    line-height: 1.5;
    opacity: 0.9;
    max-width: 520px;
}

/* ============================ */
/*   BOTONES SOBRE EL VIDEO     */
/* ============================ */

.sec13-buttons-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 20;
    /* por encima del video */
    pointer-events: none;
    /* no bloquea scroll */
}

/* Botón izquierdo → círculo */
.sec13-btn-left {
    position: absolute;
    top: 83.9%;
    /* AJUSTADO a la posición del círculo */
    left: 23.8%;
    /* AJUSTADO */
    transform: translate(-50%, -50%);
    pointer-events: auto;
}

/* Botón derecho → cuadrado */
.sec13-btn-right {
    position: absolute;
    top: 83.9%;
    /* AJUSTADO a la posición del cuadrado */
    left: 76.3%;
    /* AJUSTADO */
    transform: translate(-50%, -50%);
    pointer-events: auto;
}

.sec13-video-safe .btn-img {
    width: 340px;
    height: auto;
    cursor: pointer;
    transition: transform .25s ease;
}

.sec13-video-safe .btn-img:hover {
    transform: scale(1.06);
}

/* ============================ */
/*   TEXTO GIGANTE AL FONDO     */
/* ============================ */

.sec13-background-text {
    position: absolute;
    bottom: 0%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    text-align: center;
    font-size: 65px;
    font-weight: 600;
    letter-spacing: -1px;
    color: rgba(255, 255, 255, 0.2);
    z-index: 3;
    pointer-events: none;
}

/* ============================ */
/*       ANIMACIONES            */
/* ============================ */

.sec13-anim-left,
.sec13-anim-right {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity .9s ease, transform .9s ease;
}

.sec13-anim-left {
    transform: translate(-60px, 60px);
}

.sec13-anim-right {
    transform: translate(60px, 60px);
}

.sec13-show {
    opacity: 1 !important;
    transform: translate(0, 0) !important;
}

/* =========================== */
/*         SECTION 14          */
/* =========================== */

#section-14 {
    position: relative;
    height: 100vh;
    overflow: hidden;
    width: 100%;
}

.sec14-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 85%;
    max-width: 1600px;
    z-index: 10;
}

/* ================= LEFT TEXT ================= */
.sec14-left {
    text-align: right;
    width: 40%;
}

.sec14-title {
    font-size: 70px;
    font-weight: 900;
    line-height: 0.92;
    letter-spacing: -1px;
}

/* ================= RIGHT BLOCK ================= */
.sec14-right {
    width: 55%;
    display: flex;
    justify-content: flex-start;
}

.sec14-right-inner {
    display: flex;
    align-items: center;
    gap: 40px;
    /* espacio entre botón y textos */
}

.sec14-btn-img {
    width: 260px;
    height: auto;
    cursor: pointer;
}

/* CONTACT TEXT */
.sec14-contact-text {
    font-size: 22px;
    font-weight: 400;
    line-height: 1.3;
}

.sec14-phone {
    color: #ffb347;
    font-weight: 700;
    margin-bottom: 6px;
}

.sec14-mail {
    color: #fff;
    opacity: 0.8;
}

/* ===== Forzar centrado absoluto de iconos Section 14 ===== */
.sec14-icons {
    position: absolute;
    bottom: 0%;
    left: 0% !important;
    transform: translateX(-50%) !important;
    width: 100%;
    display: flex !important;
    justify-content: center !important;
    align-items: center;
    gap: 50px !important;
    text-align: center !important;
    z-index: 20;
}

/* Tamaño garantizado */
.sec14-icon-img {
    width: 150px !important;
    height: auto;
    display: block;
}


.sec14-icon-img:hover {
    transform: scale(1.08);
}

/* ============================ */
/*   ANIMACIÓN SECTION 14       */
/* ============================ */

.sec14-anim {
    opacity: 0;
    transform: translateY(80px);
    /* aparece desde abajo */
    transition: opacity 1s ease, transform 1s cubic-bezier(.25, 0, .15, 1);
}

.show14 {
    opacity: 1 !important;
    transform: translateY(0) !important;
}


/* ====================== FOOTER ====================== */

#aria-footer {
    width: 100%;
    background: #1a1a1a;
    color: #d5d5d5;
    padding: 80px 0 0;
    font-family: 'Kumbh Sans', sans-serif;
}

/* CONTENEDOR PRINCIPAL — LOGO + MENÚ EN LA MISMA LÍNEA */
.footer-row {
    width: 100%;
    padding: 0 120px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* ← ALINEADO PERFECTO */
    margin-bottom: 80px;
}

/* LOGO DE 60PX */
.footer-logo {
    height: 60px;
    /* ← TU TAMAÑO REAL */
    opacity: 0.9;
    display: block;
}

/* LINKS A LA DERECHA */
.footer-right {
    display: flex;
    gap: 60px;
}

.footer-right a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.55);
    font-size: 14px;
    letter-spacing: 2px;
    transition:
        color .28s ease,
        text-shadow .28s ease,
        letter-spacing .28s ease,
        filter .28s ease;
}

/* HOVER */
.footer-right a:hover {
    color: #fbb03b;
    text-shadow: 0 0 14px rgba(248, 176, 59, 0.5);
    letter-spacing: 2.4px;
}

/* ACTIVE */
.footer-right a.active {
    color: #fbb03b;
    text-shadow:
        0 0 8px rgba(248, 176, 59, 0.9),
        0 0 18px rgba(248, 176, 59, 0.8),
        0 0 32px rgba(248, 176, 59, 0.75);
    letter-spacing: 2.8px;
    filter: brightness(1.1);
}

/* ====================== SUBFOOTER ====================== */

.footer-subfooter {
    width: 100%;
    padding: 40px 120px 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: #484949;
    display: flex;
    justify-content: space-between;
    gap: 60px;

    color: #b5b5b5;
    font-size: 16px;
    line-height: 1.6;
    letter-spacing: 1px;
    font-weight: 200;
}

.sub-left {
    width: 70%;
    opacity: 0.75;
}

.sub-right {
    width: 30%;
    display: flex;
    justify-content: flex-end;
    gap: 40px;
    padding-top: 30px;
}

.sub-right a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.55);
    font-size: 12px;
    letter-spacing: 2px;
    transition:
        color .28s ease,
        text-shadow .28s ease,
        letter-spacing .28s ease;
}

.sub-right a:hover {
    color: #fbb03b;
    text-shadow: 0 0 12px rgba(248, 176, 59, 0.4);
    letter-spacing: 2.3px;
}


#scroll-indicator {
    animation: bounceScroll 1.6s infinite ease-in-out;
}

@keyframes bounceScroll {
    0% {
        transform: translate(-50%, 0);
    }

    50% {
        transform: translate(-50%, 14px);
    }

    100% {
        transform: translate(-50%, 0);
    }
}


body.locked-scroll {
    height: 100vh;
    overflow: hidden !important;
}

#intro-start-btn {
    animation: bounceScroll 1.6s infinite ease-in-out;
}

/* ============================================================
FIX — AISLAR ANIMACIÓN DE SECTION 14
============================================================ */

#section-14 .sec14-anim {
    opacity: 0 !important;
    transform: translateY(180px) !important;
    transition: opacity 1.1s ease, transform 1.1s cubic-bezier(.25, 0, .15, 1) !important;
}

#section-14 .show14 {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.replay-btn {
    position: absolute;
    bottom: 40px;
    /*right: 40px;*/
    z-index: 50;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
}

.replay-btn img {
    width: 120px;
    /* ajusta el tamaño si quieres */
    height: auto;
    display: block;
    transition: transform .25s ease;
}

.replay-btn img:hover {
    transform: scale(1.08);
}

/* =====================================================
   SECTION 9 + 10 — STICKY SLIDE SYSTEM
===================================================== */

#sec9-10-wrap {
    position: relative;
    height: 180vh; /* controla duración del swap */
}

#sec9-10-stage {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
}

/* Paneles que se deslizan */
#sec9-10-stage .panel {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    will-change: transform;
}

/* Estados iniciales */
#panel-9 {
    transform: translateX(0%);
    z-index: 2;
}

#panel-10 {
    transform: translateX(-100%);
    z-index: 3;
}

/* IMPORTANTE:
   Section 10 ahora es NORMAL, no fixed */
#panel-10 #section-10 {
    position: relative;
    opacity: 1;
    pointer-events: auto;
}
/* =========================================
   SECTION 9 → 10 CLICK SLIDE (FINAL)
========================================= */

/* Wrapper controla el tiempo del swap */
#sec9-10-wrap {
    position: relative;
    height: 100vh;
}

/* Sticky stage */
#sec9-10-stage {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
}

/* Panel base */
#sec9-10-stage .panel {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transition: transform 1.1s cubic-bezier(.25,.8,.25,1);
    will-change: transform;
}

/* Estado inicial */
#panel-9 {
    transform: translateX(0%);
    z-index: 2;
}

#panel-10 {
    transform: translateX(100%);
    z-index: 3;
}

/* Estado ACTIVADO (por JS) */
#sec9-10-wrap.is-active #panel-9 {
    transform: translateX(-100%);
}

#sec9-10-wrap.is-active #panel-10 {
    transform: translateX(0%);
}

/* Click claro en los phones */
.sec9-trigger {
    cursor: pointer;
    pointer-events: auto;
}

/*--*/

.sec9-video-safe {
    position: absolute;
    inset: 0;
    z-index: 15;
    pointer-events: none;
}

.sec9-video-safe .phone-overlay {
    pointer-events: auto;
}

/*--*/

/* ============================
   SECTION 13 — VIDEO SAFE AREA
============================ */

.sec13-video-safe {
    position: absolute;
    inset: 0;
    z-index: 20;
    pointer-events: none;
}

.sec13-video-safe a {
    pointer-events: auto;
}

@media (max-width: 980px) {
    .logo img {
        height: 25px; /* 50% de 50px */
    }
}

/* =========================================
   POPUP AVISO SOLO MÓVIL
========================================= */

.desktop-warning {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.desktop-warning-box {
  background: #000;
  border: 1px solid rgba(255,255,255,0.15);
  padding: 28px 24px;
  max-width: 340px;
  text-align: center;
  font-family: 'Kumbh Sans', sans-serif;
}

.desktop-warning-box h2 {
  font-size: 20px;
  margin-bottom: 14px;
  color: #fff;
}

.desktop-warning-box p {
  font-size: 15px;
  line-height: 1.5;
  color: #ccc;
  margin-bottom: 22px;
}

.desktop-warning-box button {
  background: #fbb03b;
  border: none;
  color: #000;
  padding: 12px 18px;
  font-size: 14px;
  cursor: pointer;
  transition: transform .2s ease;
}

.desktop-warning-box button:hover {
  transform: scale(1.05);
}

#navToggle,
.mobile-nav a,
.mobile-nav-overlay {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
@media (max-width: 980px) {

  /* El canvas sigue siendo 1920, pero lo vamos a escalar con JS */
  #aria-canvas{
    width: 1920px !important;
    transform-origin: top left;
  }

  /* Secciones como artboards (apiladas) */
  .aria-sec,
  .section-video,
  #section-8, #section-9, #section-10, #section-11, #section-12, #section-13, #section-14,
  .section5,
  #sec9-10-stage {
    position: relative !important;
    width: 1920px !important;
    height: 1080px !important;
    min-height: 1080px !important;

    /* apaga restos de fixed/sticky */
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
  }

  /* Apaga wrappers sticky del scroll-cinema SOLO en móvil */
  #sec9-10-wrap,
  .sticky,
  .pin,
  .is-sticky {
    position: relative !important;
    height: auto !important;
  }
}

@media (max-width: 980px) {
  #aria-canvas{
    /* Header fijo (90px) + notch iPhone */
    margin-top: calc(80px + env(safe-area-inset-top)) !important;
  }
}

@media (max-width: 980px) {
  #intro-start-btn {
    font-size: 45px;
    line-height: 1.1;
    letter-spacing: 2px;
  }
}




