body {
    width: 100%;
    font-family: var(--font-family-body);
    color: var(--color-main);
    margin: 0;
    padding: 0;
}

.hiddeItem {
    display: none !important;
}

.navbar-header {
    font-family: var(--font-family-header);

    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2vw 2vw;
}

.logo {
    padding-left: 4vw;

    img {
        width: 20vw;
    }
}

.cta-actions {
    display: none;
    padding-right: 2vw;
}

.nav-links-container {
    position: absolute;
    right: 7vw;

    font-size: 1.2vw;
    font-weight: 500;
    background-color: var(--color-nav-bg);
    /* Esquinas redondeadas, pero menos que los botones */
    border-radius: 2vw;
    padding: 0.2vw 0.2vw;
    /* Espacio interno sutil */
    display: flex;
    align-items: center;
    /* Un ligero ajuste visual para el borde y sombra */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.nav-links-container a {
    color: var(--color-text-nav);
    text-decoration: none;
    padding: 0.8vw 1.4vw;
    /* Espacio alrededor del texto */
    /* Transición para el hover */
    transition: background-color 0.2s;
    border-radius: 2vw;
}

.nav-links-container a:hover {
    /* Un color un poco más claro para el efecto hover */
    background-color: var(--color-footer);
    border-radius: 2vw;
}

.nav-links-container .active-link {
    background-color: var(--color-active-bg);
    /* Fondo blanco */
    color: var(--color-text-active);
    /* Texto verde oscuro */
    font-weight: 600;
    /* Borde redondeado sólo a la izquierda */
    border-top-left-radius: 1.5vw;
    border-bottom-left-radius: 1.5vw;
    /* Aseguramos que el padding sea el mismo */
    padding: 1vw 2vw;
}

/* Oculta el botón hamburguesa por defecto en escritorio */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: 30px;
    cursor: pointer;
    color: var(--color-logo);
}

.menu-section {
    height: 0vw;
}

.main-section {
    width: 100%;
    height: 50vw;

    justify-content: center;
    background-size: 100% 70vw;
    background-position: 0 -10vw;
    background-repeat: no-repeat;
    background-image: url('../images/main.jpg');

    text-align: center;

    .title {
        font-weight: bolder;
        padding-top: 12vw;
        font-size: 4.7vw;
        line-height: 5vw;
    }

    .pill {
        width: fit-content;
        margin: 2vw auto 0 auto;
        border-radius: 6vw;
        border: 0.2vw solid;
        border-color: var(--color-main);
        padding: 0.8vw 2.5vw;
        font-size: 3.2vw;
    }

    .demoButton {
        width: fit-content;
        margin: 2vw auto 0 auto;
        border-radius: 6vw;
        border: none;
        color: var(--color-main-contrary);
        background-color: var(--color-footer);
        padding: 1vw 3vw;
        font-size: 2.2vw;
        cursor: pointer;
        box-shadow: 0 0.4vw 0.6vw rgba(0, 0, 0, 0.1);
        transition: background-color 0.3s ease;
    }

    .demoButton:hover {
        background-color: var(--color-main);
        box-shadow: 0 0.6vw 0.8vw rgba(0, 0, 0, 0.15);
    }
}

.separator {
    position: relative;
    top: -3.5vw;
    width: 100%;
    height: 0;
    display: flex;
    justify-content: center;

    img {
        width: 7vw;
        height: 7vw;
    }
}

.security {
    position: relative;
    top: -3vw;
    width: 100%;
    display: flex;
    justify-content: center;

    img {
        width: 6vw;
        height: 100%;
    }
}


.special-section {
    width: 100%;
    padding-top: 12vw;

    .header {
        justify-content: center;
        background-size: cover;
        background-position: 0 -8vw;
        background-repeat: no-repeat;
        background-image: url('../images/offer.jpg');
        height: 18vw;
        text-align: center;
        color: var(--color-main-contrary);

        display: flex;
        align-items: center;

        .title {
            font-weight: bolder;
            font-size: 6vw;
            line-height: 6vw;
            font-style: italic;
        }

    }

    text-align: justify;
    word-wrap: break-word;
    /* (Alias moderno y recomendado, aunque word-wrap sigue siendo muy compatible) */
    overflow-wrap: break-word;

    b {
        font-weight: 600;
    }

    .text-section {
        padding-top: 1vw;
        padding-bottom: 5vw;
        margin: auto;
        width: 60%;
        font-size: 1.1vw;

        span {
            font-size: 1.3vw;
            color: var(--color-footer);
            font-weight: 600;
        }
    }

}

.whatsapp {
    position: fixed;
    bottom: 9vw;
    right: 5.5vw;

    border: none;
    cursor: pointer;
    background-color: transparent;
    transition: .6s;
    z-index: 1001;

    img {
        position: inherit;
        width: 5vw;
        height: 100%vw;
    }
}

/* ---------------------------------------------------- */
/* ESTILOS MÓVIL (Menor a 900px)                       */
/* ---------------------------------------------------- */
@media (max-width: 768px) {

    .logo {
        width: 8vw;
        align-self: first baseline;
        margin-top: 0.5vw;

        img {
            width: 36vw;
        }
    }

    .cta-actions {
        display: inherit;
    }

    /* 1. Muestra el botón de menú */
    .menu-toggle {
        display: block;
        /* Usamos z-index para asegurarnos de que el botón esté encima del menú cuando se abre */
        z-index: 101;
    }

    /* 2. Oculta la navegación principal */
    .nav-links-container {
        /* Desactiva el layout flex horizontal */
        display: none;
        /* Asegura que no tenga el fondo verde oscuro de escritorio */
        background-color: transparent;
        box-shadow: none !important;
    }

    /* Ajustes al header en móvil */
    .navbar-header {
        position: relative;
        /* Necesario para que el menú se posicione absolutamente */
        padding: 15px 20px;
        /* Padding fijo para mejor toque móvil */

        justify-content: space-between;
    }

    /* 3. Estilos del Menú Abierto (Clase que será TOGLEADA por JavaScript) */
    .nav-links-container.is-open {
        display: flex;
        /* Muestra el menú */
        flex-direction: column;
        /* Apila los enlaces verticalmente */

        /* Define la posición y tamaño del menú desplegado */
        position: absolute;
        top: 100%;
        right: 0;
        width: 90%;
        height: auto;

        /* Fondo verde oscuro */
        background-color: var(--color-nav-bg);
        /* Asegura que esté encima del contenido de la página */
        z-index: 100;
        padding: 2vw 0;
        margin: 2vw;
    }

    /* 4. Estilos de los enlaces dentro del menú móvil */
    .nav-links-container.is-open a {
        /* Tamaño de fuente fijo para mejor lectura en móvil */
        font-size: 18px;
        color: var(--color-text-nav);
        width: 90%;
        padding: 15px 20px;
        text-align: left;
        /* Limpiamos estilos de borde de escritorio */
        border-radius: 0;
    }

    /* Aseguramos que el enlace activo se vea bien */
    .nav-links-container.is-open .active-link {
        background-color: var(--color-vibrant-green);
        /* Usamos un color de acento para destacar */
        color: var(--color-main-contrary);
        /* Limpiamos los bordes específicos de la izquierda que tenía en escritorio */
        border-radius: 0;
    }

    .main-section {
        background-position: 0 -16vw;
        height: 100vw;

        background-size: 140% 140%;

        .title {
            padding-top: 30vw;
            font-size: 6vw;
            line-height: 7vw;
        }

        .pill {
            margin: 4vw auto 0 auto;
            padding: 1.2vw 2.5vw;
            font-size: 4vw;
        }

        .demoButton {
            margin: 4vw auto 0 auto;
            padding: 2vw 3vw;
            font-size: 3.5vw;
        }

    }

    .security {
        top: -6vw;

        img {
            width: 12vw;
        }
    }

    .special-section {
        width: 100%;
        padding-top: 16vw;

        .header {
            height: 30vw;

            .title {
                font-size: 8vw;
                line-height: 8vw;
            }

        }

        .text-section {
            padding-top: 2vw;
            padding-bottom: 10vw;
            width: 80%;
            font-size: 3vw;

            span {
                font-size: 3.2vw;
            }
        }

    }

    .whatsapp {
        position: fixed;
        bottom: 25vw;
        right: 10vw;

        img {
            width: 10vw;
            height: 100%vw;
        }
    }

    .separator {
        top: -5vw;

        img {
            width: 10vw;
            height: 10vw;
        }
    }

}