@font-face {
    font-family: "Futura-Bold";
    src: url("./fuentes/futura-std-bold.otf") format("opentype");
}

@font-face {
    font-family: "Futura-Medium";
    src: url("./fuentes/futura-std-medium.otf") format("opentype");
}

@font-face {
    font-family: "Futura-Heavy";
    src: url("./fuentes/futura-std-heavy.otf") format("opentype");
}


:root {
    --primary-blue: #3E4B92;
    --dark-blue: #002271;
    --white: #ffffff;
    --text-light: rgba(255, 255, 255, 0.9);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --nav-height: 0px;
    --contact-height: 0px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Futura-Medium', 'Poppins', sans-serif;
}

body {
    width: 100%;
    /*min-height: 100vh;*/
    background-color: var(--white);
    overflow-x: hidden;
}

/* --- Header --- */
nav {
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 1.5rem;
    padding: 0.75rem 1rem;
    background-color: var(--primary-blue);
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 1000;
    
}


nav .lcdh{
    width: 10rem;
}
nav .lcdhsrv{
    width:3.5rem;
}

.whatsapp-icon-link {
    color: var(--white);
    transition: var(--transition);
}

.whatsapp-icon-link:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.5));
}

/* --- Hero Section --- */
header {
    width: 100%;
}

.hero {
    width: 100%;
    margin-top: 70px;
    position: relative;
    line-height: 0;
}

.hero-img {
    width: 100%;
    height: auto;
    display: block;
}

.desk {
    display: block;
}

.mov {
    display: none;
}

@media (max-width: 850px) {
    .desk {
        display: none;
    }

    .mov {
        display: block;
    }

    nav {
        justify-content: space-between;
    }
    nav .lcdh{
    width: 7rem;
    }
    nav .lcdhsrv{
    width:2.5rem;
    }
}

/* --- Contact Banner --- */
.contacto-section {
    position: fixed;
    width: fit-content;
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 0.7rem 3rem 0.7rem 1rem;
    z-index: 999;
    right: 0;
    bottom: 15%;
}

.contacto-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    /*! padding: 0 5%; */
}

.contacto-text p {
    font-size: 1.2rem;
    font-weight: 300;
    margin: 0;
}

.contacto-text b {
    font-weight: 900;
    font-size: 1.2rem;
    font-family: 'Futura-Bold', 'Futura-Medium', sans-serif;
}

.whatsapp-button {
    background-color: var(--white);
    color: var(--primary-blue);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 2px solid transparent;
}

.whatsapp-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background-color: #f8f8f8;
}

.whatsapp-button:active {
    transform: translateY(0);
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.whatsapp-button {
    animation: pulse 3s infinite ease-in-out;
}

/* --- Mobile Specific Adjustments --- */
@media (max-width: 768px) {
    .hero {
        margin-top: 0;
    }

    .contacto-section {
        padding: 1.5rem 1rem 3rem;
        height: 25%;
        bottom: 0;
    }

    .contacto-container {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .contacto-text p {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    .contacto-text b {
        font-size: 0.80rem;
    }

    .whatsapp-button {
        width: fit-content;
        justify-content: center;
        padding: 0.5rem;
        gap:5px;
    }
    
    .whatsapp-button span{
        font-family: 'Futura-Bold';
    }
}


/* ------------- Redes Sociales ------------------*/



#container-redes {
    padding: 0;
    margin: 0;
    position: fixed;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    top: var(--nav-height);
    bottom: var(--contact-height);
}

#container-redes ul {
    min-height: 80dvh;
    margin: 0 auto;
    padding: 10px 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#container-redes ul li {
    display: flex;
    align-items: center;
    justify-content: start;
}

#container-redes ul li:hover,
#container-redes-navbar a {
    cursor: pointer;
}

.redes-items {
    color:white;
    font-size: xx-large;
}

.redes-items .bi:hover,
#container-redes-navbar .bi:hover {
    color: rgb(255, 69, 0);
}



#container-redes-navbar {
    display: flex;
    justify-content: start;
    margin-top: 2em;
}

#container-redes-navbar .bi {
    font-size: large;
}

/* @MEDIAS QUERY PARA LA REACTIVIDAD DEL SITIO EN LO RESPONSIVE */

@media (min-width: 1367px) and (max-width:1920px) {
    #container-redes ul {
        margin: 0 auto;
        padding: 5px 0;
    }

}


@media (max-width: 850px) {
    #container-redes {
        left: 0px;
        margin-left: 15px;
    }

    #container-redes ul {
        gap: 2em;
    }

}



@media (min-width: 766px) {
    #container-redes {
        left: 0px;
        margin-left: 15px;
    }

    #container-redes ul li {
        margin: 1.5em 0em;
    }

    #container-redes-navbar {
        display: none;
    }
}