/* Ajusta la altura del hero aquí */
:root {
    --hero-height: 70vh;
    /* opciones: 80%, 500px, etc. */
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    font-family: "PP Neue Montreal", sans-serif;
    font-size: 16px;
    background-color: #ffffff;
    margin: 0;
    padding: 0;
}

/* ===== HERO ===== */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: 10rem 0 0rem;
    position: relative;
    background: #ffffff;
    color: rgb(255, 255, 255);
    height: 30vh;
    overflow: hidden;
}

.hero h1 {
    font-size: 2.2em;
    line-height: 1em;
    margin-bottom: 0.1em;
    color: #fff;
}

.hero h2 {
    position: relative;
    z-index: 1;
    font-size: 4.5rem;
    line-height: 1;
    color: rgb(255, 255, 255);
}

.hero p {
    width: 60vw;
    margin: 0 auto;
    line-height: 1.5em;
    padding: 10px 20px 0;
    border-top: 1px solid rgba(255, 255, 255, .2);
    letter-spacing: 0.015em;
    display: block;
    color: #ffffff;
    position: relative;
    margin-top: -350px;
    z-index: 1;
    font-size: 1rem;
}


.hero-left {
    position: relative;
    width: 100%;
}

/* ===== Hero ===== */
.heroEffects {
    height: var(--hero-height);
    position: relative;
    z-index: 0;
    top: 0;
    left: 0;
}

.heroEffects .bg {
    height: var(--hero-height);
    position: absolute;
    width: 100%;
    background-image: url('/assets/video/heroCICOVE.mp4');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    transform: scale(1);
    /* fija estado inicial para algunos navegadores */
}

.heroEffects .arrow {
    position: fixed;
    left: 50%;
    margin-left: -20px;
    bottom: 0;
    width: 40px;
    height: 50px;
    opacity: 1;
}

.vertical-column {
    writing-mode: vertical-rl;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.2rem;
    color: #ffffff;
    position: absolute;
    top: 22%;
    left: 20%;
    transform: translateY(-50%) rotate(180deg);
    z-index: 10;
    padding: 1rem;
}

/* ========================= */
/* ===== MEDIA QUERIES ===== */
/* ========================= */

/* Tablets (≤ 1024px) */
@media (max-width: 1024px) {
    .hero {
        padding: 8rem 1.5rem 0;
        min-height: 70vh;
    }

    .hero h2 {
        font-size: 3rem;
    }

    .hero p {
        display: none;
    }

    .vertical-column {
        left: 10%;
        top: 25%;
        font-size: 0.9rem;
    }
}

/* Celulares grandes (≤ 768px) */
@media (max-width: 768px) {

    .text-desktop {
        display: none;
    }

    .hero {
        padding: 6rem 1rem 0;
        min-height: 10vh;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero h2 {
        font-size: 2.5rem;
        line-height: 1.2;
    }


    .hero p {
        display: none;
    }

    .vertical-column {
        display: none;
        /* opcional: oculta texto vertical en móvil */
    }

}

/* Celulares pequeños (≤ 480px) */
@media (max-width: 480px) {

    .text-desktop {
        display: none;
    }

    .hero {
        padding: 1rem 1rem 0;
        min-height: 5vh;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero p {
        display: none;
    }

    /* ===== HERO EFFECTS ===== */
    .heroEffects {
        height: auto;
        position: relative;
        z-index: 0;
        top: 0;
        left: 0;
    }

    .heroEffects .bg {
        height: auto;
        width: 100%;
        position: absolute;
        background-image: url('/assets/video/heroCICOVE.mp4');
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        transform: scale(1);
    }


}