/* ==========================================================
   ESTUDIO NEGRETTE
   HEADER PREMIUM v1.0
========================================================== */

.home-header{

    position:fixed;

    top:0;
    left:0;
    right:0;

    width:100%;

    z-index:1000;

    background:#08152F;

    box-shadow:0 8px 24px rgba(0,0,0,.15);

}

.home-header .container{

    max-width:1200px;

    margin:auto;

    min-height:84px;

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:25px;

}

/* ==========================================
   LOGO
========================================== */

.home-logo{

    display:flex;

    align-items:center;

    gap:14px;

    color:#FFF;

    text-decoration:none;

    flex-shrink:0;

}

.home-logo img{

    height:56px;

    width:auto;

}

.home-logo-text{

    display:flex;

    flex-direction:column;

}

.home-logo-text h1{

    margin:0;

    font-size:1.35rem;

    color:#FFF;

    line-height:1.1;

    letter-spacing:.5px;

}

.home-logo-text span{

    color:#D4AF37;

    font-size:.82rem;

    text-transform:uppercase;

    letter-spacing:2px;

}

/* ==========================================
   NAVEGACIÓN
========================================== */

.home-nav{

    display:flex;

    align-items:center;

    gap:30px;

    margin-left:auto;

}

.home-nav a{

    color:#FFF;

    text-decoration:none;

    font-weight:600;

    transition:.25s;

    position:relative;

}

.home-nav a:hover{

    color:#D4AF37;

}

.home-nav a.active{

    color:#D4AF37;

}

/* ==========================================
   BOTÓN WHATSAPP
========================================== */

.home-whatsapp{

    display:flex;

    align-items:center;

    justify-content:center;

    background:#25D366;

    color:#FFF;

    text-decoration:none;

    font-weight:700;

    padding:12px 22px;

    border-radius:10px;

    transition:.25s;

}

.home-whatsapp:hover{

    transform:translateY(-2px);

}

/* ==========================================
   BOTÓN MENÚ
========================================== */

.menu-toggle{

    display:none;

    width:46px;

    height:46px;

    border:none;

    border-radius:8px;

    background:transparent;

    color:#FFF;

    font-size:1.9rem;

    cursor:pointer;

    transition:.25s;

}

.menu-toggle:hover{

    background:rgba(255,255,255,.08);

}
/* ==========================================================
   HEADER RESPONSIVE
========================================================== */

@media (max-width:768px){

    /* Header */

    .home-header{

    position:fixed;

    top:0;
    left:0;
    right:0;

    z-index:9999;

}

    .home-header .container{

        min-height:74px;

        padding:0 16px;

        display:grid;

        grid-template-columns:1fr auto;

        align-items:center;

    }

    /* Logo */

    .home-logo{

        gap:10px;

    }

    .home-logo img{

        height:44px;

    }

    .home-logo-text h1{

        font-size:1rem;

    }

    .home-logo-text span{

        display:none;

    }

    /* WhatsApp del header desaparece */

    .home-whatsapp{

        display:none;

    }

    /* Botón hamburguesa */

    .menu-toggle{

        display:flex;

        align-items:center;

        justify-content:center;

    }

    /* Menú */

    .home-nav{

    position:fixed;

    top:84px;

    left:0;

    right:0;

    display:none;

    flex-direction:column;

    padding:10px;

    gap:8px;

    background:#08152F;

    border-top:1px solid rgba(255,255,255,.08);

    box-shadow:0 12px 30px rgba(0,0,0,.25);

    max-height:calc(100vh - 84px);

    overflow-y:auto;

    animation:menuFade .20s ease;

}

    .home-nav.active{

        display:flex;

    }

    .home-nav a{

        width:100%;

        padding:14px;

        border-radius:10px;

        background:rgba(255,255,255,.05);

        text-align:center;

    }

    .home-nav a:hover{

        background:rgba(255,255,255,.10);

    }

}

/* ==========================================================
   ANIMACIÓN
========================================================== */

@keyframes menuFade{

    from{

        opacity:0;

        transform:translateY(-12px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }
}
/* ==========================================================
   PÁGINAS INTERNAS
========================================================== */

body.portal-page{

    padding-top:84px;

}