/* ---------------------------------------------------- */
/* CONFIGURACIÓN BASE Y ESTILOS DE ESCRITORIO */
/* ---------------------------------------------------- */

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* FONTS */
@font-face {
    font-family: 'Roo';
    src: url("/assets/fonts/RooneySansMedium.OTF");
}

@font-face {
    font-family: 'Ney';
    src: url("/assets/fonts/RooneySansHv.OTF");
}

/* FONTS */

/* ROOT (Variables de Color) */
:root {
    --Rosa: #fd7fed;
    --Azul: #7a81ff;
    --Turquesa: #00e2d5;
    --Verde: #dbfe76;

    --Main: 'Ney';
    --Sec: 'Roo';
}

/* ROOT */

img {
    width: 100%;
    height: 100%;
}

/* ---------------------------------------------------- */
/* HEADER (Estilos de Escritorio) */
/* ---------------------------------------------------- */

.headerMenu {
    width: 100%;
    height: 11rem;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex-direction: row;
}

.desktop-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

li a {
    text-decoration: none;
    color: var(--Rosa);
    font-family: var(--Main);
    font-size: 2.5rem;
    padding: 1rem 2rem;
    transition: all 0.4s ease-in-out;
    border-radius: 45px;
}

li a:hover {
    background-color: var(--Verde);
}

.headerLogo {
    height: 11.5rem !important;
    width: 15rem !important;
    object-fit: cover !important;
}

.headerButton {
    height: 100%;
    width: 19rem !important;
}

.headerButton img {
    object-fit: contain;
}

/* ---------------------------------------------------- */
/* HERO BANNER */
/* ---------------------------------------------------- */

.heroBanner {
    width: 100%;
    height: 25rem !important;
    padding-bottom: 13rem;
}

.heroBanner img {
    object-fit: cover;
}

/* ---------------------------------------------------- */
/* US (Nosotros - Escritorio) */
/* ---------------------------------------------------- */

.us {
    width: 100%;
    height: 50rem;
    display: flex;
}

.usContent {
    width: 50%;
    height: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 2rem;
}

.usContent h1 {
    font-family: var(--Main);
    color: var(--Rosa);
    text-align: center;
    font-size: 7rem;
}

.usContent p {
    text-align: justify;
    padding: 1rem 8rem;
    font-family: var(--Sec);
    color: grey;
    font-size: 1.9rem !important;
}

.usContentImg {
    width: 100%;
    height: 6rem;
    display: flex;
    justify-content: center;
}

.usImg {
    width: 50%;
    height: 100%;
    padding: 6rem;
}

/* ---------------------------------------------------- */
/* MENÚ HAMBURGUESA */
/* ---------------------------------------------------- */

/* Bloquear scroll */
body.no-scroll {
    overflow: hidden;
}

/* Toggle hamburguesa */
.mobile-menu-toggle {
    display: none;
    cursor: pointer;
}

/* Overlay */
.mobile-menu-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 9999;
}

/* Overlay abierto */
.mobile-menu-overlay.open {
    visibility: visible;
    opacity: 1;
}

/* Contenedor del menú */
.mobile-menu-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 75%;
    max-width: 400px;
    height: 100%;
    background: #ffffff;
    padding: 2rem 1.5rem;
    box-shadow: -4px 0 15px rgba(0, 0, 0, 0.2);
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

/* Menú visible */
.mobile-menu-overlay.open .mobile-menu-content {
    transform: translateX(0);
}

/* Botón cerrar */
.close-menu-icon {
    width: 3rem;
    height: 3rem;
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    cursor: pointer;
}

/* Navegación móvil */
.mobile-menu-content ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 5rem;
    padding: 0;
}

.mobile-menu-content li a {
    font-family: var(--Main);
    color: var(--Rosa);
    font-size: 2rem;
    text-decoration: none;
}

.mobile-menu-content li a:hover {
    color: var(--Azul);
}

/* ---------------------------------------------------- */
/* MEDIA QUERIES - RESPONSIVE */
/* ---------------------------------------------------- */

@media (max-width: 1024px) {

    .headerMenu {
        height: 6rem;
        padding: 0 1.5rem;
        justify-content: space-between;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 6rem;
        z-index: 1000;
    }

    .desktop-nav,
    .headerButton {
        display: none !important;
    }

    .headerLogo {
        width: 6rem !important;
        height: 6rem !important;
    }

    .mobile-menu-toggle {
        display: block;
        width: 3.5rem;
        height: 3.5rem;
    }

    .mobile-menu-toggle img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    /* HERO */
    .heroBanner {
        width: 100%;
        height: 90vh;
        padding-top: 7rem !important;
    }

    .heroBanner picture,
    .heroBanner img {
        width: 100%;
        height: 100%;
        display: block;
    }

    .heroBanner img {
        object-fit: cover;
    }

    /* US */
    .us {
        flex-direction: column;
        height: auto;
        padding: 3rem 0;
        align-items: center;
    }

    .usContent,
    .usImg {
        width: 100%;
        height: auto;
        text-align: center;
    }

    .usContent {
        order: 1;
    }

    .usImg {
        order: 2;
        padding: 2rem 1rem 0;
    }

    .usContent h1 {
        font-size: 3.5rem;
    }

    .usContent p {
        padding: 1rem 1.5rem;
        font-size: 1.1rem;
    }

    .usContentImg {
        height: 8rem;
        padding-top: 1rem;
    }

    .usContentImg img {
        width: 80%;
        object-fit: contain;
    }

    .usImg img {
        width: 90%;
    }
}






/* =====================================================
   LAPTOP + DESKTOP COMPACTO (1025px – 1920px)
   ===================================================== */
@media (max-width: 1920px) and (min-width: 1025px) {

    /* ---------- HEADER ---------- */
    .headerMenu {
        height: auto;
        padding: 1rem 2rem;
        justify-content: space-between;
    }

    li a {
        font-size: 2.4rem;
        padding: 0.6rem 1.2rem;
    }

    .headerLogo {
        height: 6rem;
        width: auto;
    }

    .headerButton {
        width: 13rem;
    }

    /* ---------- HERO ---------- */
    .heroBanner {
        width: 100%;
        height: 70rem !important;
        overflow: hidden;
    }

    .heroBanner picture,
    .heroBanner img {
        height: 100% !important;
    
    }

    /* ---------- NOSOTROS ---------- */
    .us {
        height: auto;
        padding: 4rem 2rem;
        align-items: center;
    }

    .usContent h1 {
        font-size: 4rem;
    }

    .usContent p {
        padding: 1rem 5.5rem;
        font-size: 1.25rem;
    }

    .usImg {
        padding: 3rem;
    }

    /* ---------- SERVICES ---------- */
    .serviceContainer {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
        padding: 2rem;
    }

    .footer {
        background-image: none; /* Eliminar imagen de fondo si es muy compleja en móvil */  
        padding-top: 0rem;
        background-position: bottom;
        padding-top: 6rem !important;
        height: auto;
    }
    .footerLogo{
    height: auto;
        padding-top: 2rem; /* Ajustar padding superior */
        margin-bottom: 2rem;
}

    .footerNav ul {
        flex-direction: row; /* Apilar los enlaces verticalmente */
        align-items: center;
        gap: 1rem;
    }

    .footerNav li a {
        font-size: 3.5rem; /* Reducir tamaño de fuente de los enlaces */
    }   
    .icons{
        width: 30% !important;
        padding: 2rem;
        gap:1rem;
    }

}