/* ------------------------------ */
/*   TIPOGRAFÍAS GLOBALES         */
/* ------------------------------ */

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
}


/* ------------------------------ */
/*            HERO                */
/* ------------------------------ */

.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding-left: 70px;
}


/* Vídeo que SIEMPRE cubre toda la pantalla */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}


/* Overlay suave estilo Canva */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(2px);
    z-index: 1;
}


/* Contenido del hero (150% tamaño real sin usar scale) */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 100%;
    margin-left: 6rem;
    padding-top: 5rem;
    color: #97928d;
}


/* ------------------------------ */
/*            LOGO                */
/* ------------------------------ */

.logo {
    width: 260px;
    height: auto;
    margin-bottom: 2.5rem;
    display: block;
}


/* ------------------------------ */
/*            TITULOS             */
/* ------------------------------ */

.hero-content h1 {
    font-family: 'League Spartan', sans-serif;
    font-size: 6.5rem;
    font-weight: 600;
    line-height: 1.05;
    margin: 0 0 1.5rem 0;
    color: #97928d;
}


/* ------------------------------ */
/*        PÁRRAFO PRINCIPAL       */
/* ------------------------------ */

.hero-content p {
    font-size: 1.35rem;
    line-height: 1.55;
    max-width: 1100px;
    margin-bottom: 2rem;
    color: #3a3a3a;
}



/* ------------------------------ */
/*            BOTÓN               */
/* ------------------------------ */

.btn{
  font-family:'Montserrat', sans-serif;
  font-weight: 700;
  padding: 1rem 2.6rem;
  background: #fff;
  border: 1px solid #222;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-decoration: none;
  display: inline-block;
  transition: 0.3s ease;
  color: #575656;
  width: 250px;
  text-align:center;
}

.btn:hover {
    background: #222;
    color: #fff;
}


/* ------------------------------ */
/*          RESPONSIVE            */
/* ------------------------------ */

@media (max-width: 1024px) {
    .hero-content {
        margin-left: 3rem;
        padding-top: 3rem;
        max-width: 600px;
    }

    .logo {
        width: 200px;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }

    .hero-content p {
        font-size: 1.15rem;
    }
}

@media (max-width: 768px) {
    .hero {
        align-items: flex-start;
    }

    .hero-content {
        margin-left: 1.5rem;
        margin-right: 1.5rem;
        padding-top: 2.5rem;
        max-width: 100%;
    }

    .logo {
        width: 170px;
    }

    .hero-content h1 {
        font-size: 2.7rem;
    }

    .hero-content p {
        font-size: 1.05rem;
    }

    .btn {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-content {
        margin-left: 1rem;
        margin-right: 1rem;
        padding-top: 2rem;
    }

    .logo {
        width: 150px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 0.95rem;
    }

    .btn {
        padding: 0.7rem 1.6rem;
        font-size: 0.9rem;
    }
}


/* =============================== */
/*      ICONO HAMBURGUESA         */
/* =============================== */

.header {
    position: fixed;
    top: 40px;
    left: 60px;
    z-index: 9999;
    
}

.menu-icon {
    width: 45px;
    height: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.menu-icon span {
    display: block;
    height: 5px;
    /* barras más gruesas */
    width: 100%;
    background: #ffffff;
    /* blancas para contraste */
    border-radius: 4px;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.menu-icon:hover span {
    opacity: 1;
}


/* =============================== */
/*       SIDEBAR CON HOVER        */
/* =============================== */

.sidebar-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 260px;
    height: 100vh;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(10px);
    box-shadow: 5px 0 25px rgba(0,0,0,0.15);
    transform: translateX(-100%);
    transition: transform 0.35s ease;
    z-index: 9998;
    padding-top: 2rem;
}

.sidebar-menu ul {
    margin: 0;
    padding: 0;
}
.sidebar-menu ul li {
    list-style: none;
}

.sidebar-menu ul li a {
    display: block;
                   /* ocupa todo el ancho del menú */
    padding: 1rem 1.5rem;        /* separación interna */
    font-size: 1.25rem;
    color: #222;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    transition: 0.25s ease;
}

.sidebar-menu ul li a:hover {
    background: #333;
    color: #fff;
    padding-left: 2rem;          /* efecto desplazamiento elegante */
}


/* =============================== */
/*    HOVER: MOSTRAR MENÚ         */
/* =============================== */

.header:hover .sidebar-menu {
    transform: translateX(0);
    /* SE DESPLIEGA */
}

/* Animación a "X" */
.header:hover .menu-icon span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.header:hover .menu-icon span:nth-child(2) {
    opacity: 0;
}

.header:hover .menu-icon span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}