
/* =====================================================
   DISTRIBUIDORA DEL HUERTO
   HOJA DE ESTILOS PRINCIPAL

   Incluye:
   1. Colores generales
   2. Encabezado y logo
   3. Navegación y menú hamburguesa
   4. Portada principal
   5. Nosotros
   6. Promociones semanales
   7. Preguntas frecuentes
   8. Contacto
   9. WhatsApp flotante
   10. Bot de cotizaciones
   11. Animación de bienvenida
   12. Adaptación a tablets y celulares
===================================================== */


/* =====================================================
   1. VARIABLES GENERALES
===================================================== */

:root {
    --verde-oscuro: #174d32;
    --verde-principal: #267348;
    --verde-claro: #79a34a;
    --verde-whatsapp: #25d366;

    --amarillo: #f4c95d;
    --crema: #faf8f0;
    --blanco: #ffffff;

    --texto: #26352c;
    --texto-suave: #657168;

    --sombra: 0 12px 35px rgba(0, 0, 0, 0.08);
    --radio: 18px;
}


/* =====================================================
   2. CONFIGURACIÓN GENERAL
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    background: var(--crema);
    color: var(--texto);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

img {
    max-width: 100%;
}

/* Accesibilidad al navegar con teclado */

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
    outline: 3px solid var(--amarillo);
    outline-offset: 3px;
}


/* =====================================================
   3. ENCABEZADO PRINCIPAL
===================================================== */

.encabezado {
    position: sticky;
    top: 0;

    z-index: 500;

    background: #ffffff;
    box-shadow: 0 3px 18px rgba(0, 0, 0, 0.06);
}

.navegacion {
    max-width: 1400px;
    min-height: 100px;

    margin: 0 auto;
    padding: 12px 4%;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}


/* =====================================================
   4. LOGO Y NOMBRE DEL NEGOCIO
===================================================== */

.marca {
    display: flex;
    align-items: center;
    gap: 12px;

    flex-shrink: 0;

    color: var(--verde-oscuro);
}

.logo {
    width: 85px;
    height: 85px;

    object-fit: contain;

    transition: transform 0.3s ease;
}

.marca:hover .logo {
    transform: scale(1.06);
}

.nombre-marca {
    color: var(--verde-oscuro);

    font-size: 20px;
    font-weight: 800;
    line-height: 1.2;
}


/* =====================================================
   5. MENÚ PRINCIPAL DE COMPUTADORA
===================================================== */

.menu {
    list-style: none;

    display: flex;
    align-items: center;
    gap: 22px;
}

.menu li {
    flex-shrink: 0;
}

.menu a {
    display: block;

    color: var(--texto);

    font-size: 14px;
    font-weight: 600;

    white-space: nowrap;

    transition: color 0.25s ease;
}

.menu a:hover {
    color: var(--verde-principal);
}

/* Ocultar botón hamburguesa en computadora */

.boton-menu {
    display: none;
}


/* =====================================================
   6. PORTADA PRINCIPAL
===================================================== */

.hero {
    min-height: 650px;

    padding: 110px 8%;

    display: flex;
    align-items: center;

    color: var(--blanco);

    background-image:
        linear-gradient(
            90deg,
            rgba(13, 48, 29, 0.90) 0%,
            rgba(21, 65, 39, 0.75) 52%,
            rgba(21, 65, 39, 0.20) 100%
        ),
        url(
            "https://images.unsplash.com/photo-1542838132-92c53300491e?auto=format&fit=crop&w=1800&q=85"
        );

    background-size: cover;
    background-position: center;
}

.hero-contenido {
    max-width: 730px;
}

/* Etiqueta superior */

.etiqueta {
    display: inline-block;

    padding: 8px 18px;
    margin-bottom: 24px;

    background: rgba(255, 255, 255, 0.13);

    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 30px;

    color: var(--amarillo);

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Nombre de la empresa */

.hero h1 {
    font-size: clamp(38px, 5vw, 68px);
    font-weight: 800;
    line-height: 1.1;

    margin-bottom: 18px;
}

/* Eslogan */

.hero h2 {
    color: var(--amarillo);

    font-size: clamp(21px, 3vw, 30px);
    font-weight: 600;

    margin-bottom: 24px;
}

.hero p:not(.etiqueta) {
    max-width: 570px;

    color: rgba(255, 255, 255, 0.90);

    font-size: 17px;
    margin-bottom: 30px;
}


/* =====================================================
   7. BOTONES PRINCIPALES
===================================================== */

.boton,
.boton-secundario {
    display: inline-block;

    padding: 14px 25px;
    margin: 8px 10px 8px 0;

    border-radius: 10px;

    font-size: 14px;
    font-weight: 700;

    transition:
        transform 0.25s ease,
        background 0.25s ease;
}

.boton {
    border: none;

    background: var(--amarillo);
    color: var(--verde-oscuro);
}

.boton:hover {
    background: #ffdc83;
    transform: translateY(-3px);
}

.boton-secundario {
    border: 2px solid rgba(255, 255, 255, 0.75);

    background: transparent;
    color: var(--blanco);
}

.boton-secundario:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-3px);
}


/* =====================================================
   8. SECCIONES GENERALES
===================================================== */

.seccion {
    max-width: 1250px;

    margin: 0 auto;
    padding: 95px 30px;
}

.seccion h2 {
    margin-bottom: 25px;

    color: var(--verde-oscuro);

    font-size: clamp(28px, 3vw, 40px);
    font-weight: 800;
    line-height: 1.2;
}

.seccion > p {
    max-width: 760px;

    color: var(--texto-suave);
    font-size: 16px;
}


/* =====================================================
   9. SOBRE NOSOTROS
===================================================== */

#nosotros {
    text-align: center;
}

#nosotros p {
    margin: 0 auto 15px;

    font-size: 18px;
}


/* =====================================================
   10. PROMOCIONES SEMANALES
===================================================== */

#productos.promociones-seccion {
    max-width: none;

    padding: 85px max(
        25px,
        calc((100% - 1200px) / 2)
    );

    background: #f7f8f1;
}

/* Encabezado de la sección */

.promociones-encabezado {
    text-align: center;
    margin-bottom: 45px;
}

.promociones-etiqueta {
    display: inline-block;

    padding: 8px 18px;
    margin-bottom: 15px;

    background: #e3f1df;
    color: var(--verde-oscuro);

    border-radius: 30px;

    font-size: 13px;
    font-weight: 700;
}

.promociones-encabezado h2 {
    color: var(--verde-oscuro);

    font-size: clamp(30px, 4vw, 42px);
    margin-bottom: 12px;
}

.promociones-encabezado p {
    color: var(--texto-suave);
}

.promociones-aviso {
    margin-top: 8px;
    font-size: 13px;
}


/* =====================================================
   11. CUADRÍCULA DE PROMOCIONES
===================================================== */

.promociones-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 25px;
}


/* =====================================================
   12. TARJETAS DE PROMOCIONES
===================================================== */

.promocion-card {
    min-width: 0;

    background: var(--blanco);

    border: 1px solid #e8eee5;
    border-radius: 20px;

    overflow: hidden;

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.07);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.promocion-card:hover {
    transform: translateY(-6px);

    box-shadow:
        0 18px 35px rgba(0, 0, 0, 0.12);
}

/* Fotografía */

.promocion-imagen {
    display: block;

    width: 100%;
    height: 220px;

    object-fit: cover;

    background: #edf3ea;
}

/* Contenido */

.promocion-contenido {
    padding: 22px;
}

.promocion-badge {
    display: inline-block;

    padding: 5px 12px;
    margin-bottom: 12px;

    background: #e4f3e5;
    color: #17613a;

    border-radius: 30px;

    font-size: 12px;
    font-weight: 700;
}

.promocion-contenido h3 {
    color: var(--verde-oscuro);

    font-size: 23px;
    margin-bottom: 8px;
}

.promocion-precio {
    color: var(--verde-oscuro);

    font-size: 30px;
    font-weight: 800;
}

.promocion-unidad {
    color: var(--texto-suave);
    font-size: 14px;
}

.promocion-vigencia {
    display: block;

    margin-top: 12px;
    margin-bottom: 18px;

    color: var(--texto-suave);
    font-size: 12px;
}

/* Botón de la tarjeta */

.promocion-boton {
    display: block;

    width: 100%;
    min-height: 48px;

    padding: 13px 15px;

    border: none;
    border-radius: 10px;

    background: var(--verde-oscuro);
    color: var(--blanco);

    font-size: 14px;
    font-weight: 700;

    cursor: pointer;
}

.promocion-boton:hover {
    background: var(--verde-principal);
}


/* =====================================================
   13. MENSAJE SIN PROMOCIONES
===================================================== */

.promociones-mensaje {
    padding: 25px;
    text-align: center;

    color: var(--texto-suave);
}


/* =====================================================
   14. COTIZACIÓN PERSONALIZADA
===================================================== */

.promociones-final {
    margin-top: 55px;
    padding: 35px 20px;

    background: #eaf2e6;
    border-radius: 20px;

    text-align: center;
}

.promociones-final h3 {
    color: var(--verde-oscuro);
    font-size: 25px;
}

.promociones-final p {
    margin: 10px 0 20px;

    color: var(--texto-suave);
}


/* =====================================================
   15. PREGUNTAS FRECUENTES
===================================================== */

#faq {
    max-width: 950px;
}

#faq details {
    margin-bottom: 15px;
    padding: 20px 25px;

    background: var(--blanco);

    border: 1px solid #e4eadf;
    border-radius: 12px;

    transition: box-shadow 0.3s ease;
}

#faq details:hover {
    box-shadow: var(--sombra);
}

#faq summary {
    color: var(--verde-oscuro);

    font-size: 16px;
    font-weight: 700;

    cursor: pointer;
}

#faq details p {
    padding-top: 15px;
    color: var(--texto-suave);
}


/* =====================================================
   16. CONTACTO
===================================================== */

#contacto {
    text-align: center;
}

#contacto p {
    margin: 0 auto 25px;
}

#opciones-contacto {
    display: flex;

    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;

    margin-top: 25px;
}

.boton-contacto {
    padding: 14px 24px;

    border: none;
    border-radius: 10px;

    background: var(--verde-principal);
    color: var(--blanco);

    font-weight: 700;

    transition: background 0.3s ease;
}

.boton-contacto:hover {
    background: var(--verde-oscuro);
}


/* =====================================================
   17. PIE DE PÁGINA
===================================================== */

.pie-pagina {
    padding: 35px 20px;

    background: var(--verde-oscuro);
    color: rgba(255, 255, 255, 0.85);

    text-align: center;
}

.pie-pagina p {
    font-size: 14px;
}

.pie-pagina p + p {
    margin-top: 8px;
    color: var(--amarillo);
}


/* =====================================================
   18. BOTONES FLOTANTES
===================================================== */

#whatsapp-flotante,
#asistente-flotante {
    position: fixed;
    right: 20px;

    z-index: 600;
}

/* WhatsApp abajo */

#whatsapp-flotante {
    bottom: 20px;
}

/* Bot de cotizaciones arriba */

#asistente-flotante {
    bottom: 96px;
}


/* =====================================================
   19. APARIENCIA DE BOTONES FLOTANTES
===================================================== */

.whatsapp-boton,
.bot-boton {
    display: flex;

    align-items: center;
    justify-content: center;

    min-height: 54px;

    padding: 13px 22px;

    border: none;
    border-radius: 40px;

    color: var(--blanco);

    font-size: 15px;
    font-weight: 700;

    white-space: nowrap;

    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.16);

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.whatsapp-boton {
    background: var(--verde-whatsapp);
}

.bot-boton {
    background: #145a32;
}

.whatsapp-boton:hover,
.bot-boton:hover {
    transform: translateY(-2px);
}

.bot-boton:hover {
    background: #0f4b29;
}


/* =====================================================
   20. MENÚ FLOTANTE DE WHATSAPP
===================================================== */

.whatsapp-menu {
    position: absolute;

    right: calc(100% + 14px);
    bottom: 0;

    width: 235px;
    padding: 14px;

    background: var(--blanco);

    border: 1px solid #edf1ec;
    border-radius: 18px;

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.16);
}

.whatsapp-menu[hidden] {
    display: none;
}

.whatsapp-menu::before {
    content: "Hablar con un encargado";

    display: block;
    margin-bottom: 10px;

    color: var(--verde-oscuro);

    font-size: 13px;
    font-weight: 800;
}

.whatsapp-opcion {
    display: block;

    width: 100%;
    padding: 14px;
    margin-bottom: 8px;

    border: none;
    border-radius: 11px;

    background: #eef4ee;
    color: var(--verde-oscuro);

    text-align: left;

    font-size: 15px;
    font-weight: 700;

    transition: background 0.2s ease;
}

.whatsapp-opcion:last-child {
    margin-bottom: 0;
}

.whatsapp-opcion:hover {
    background: #dcebdc;
}


/* =====================================================
   21. VENTANA DEL BOT DE COTIZACIONES
===================================================== */

.bot-ventana {
    position: absolute;

    bottom: 69px;
    right: 0;

    width: 360px;
    max-width: calc(100vw - 30px);
    max-height: min(580px, 75vh);

    display: flex;
    flex-direction: column;

    background: var(--blanco);

    border-radius: 20px;

    overflow: hidden;

    box-shadow:
        0 15px 50px rgba(0, 0, 0, 0.25);
}

.bot-ventana[hidden] {
    display: none;
}


/* =====================================================
   22. ENCABEZADO DEL BOT
===================================================== */

.bot-header {
    display: flex;

    align-items: center;
    justify-content: space-between;
    gap: 12px;

    padding: 18px;

    background: var(--verde-oscuro);
    color: var(--blanco);
}

.bot-header strong {
    display: block;
    font-size: 16px;
}

.bot-header small {
    display: block;

    color: #d7eadb;
    font-size: 12px;
}

.bot-cerrar {
    border: none;

    background: transparent;
    color: var(--blanco);

    font-size: 22px;
}


/* =====================================================
   23. CONTENIDO DEL BOT
===================================================== */

.bot-contenido {
    padding: 20px;
    overflow-y: auto;
}

.bot-mensaje {
    padding: 15px;
    margin-bottom: 20px;

    background: #edf6ee;
    color: var(--verde-oscuro);

    border-radius: 14px;

    font-size: 14px;
    line-height: 1.6;

    white-space: pre-line;
}


/* =====================================================
   24. FORMULARIO DEL BOT
===================================================== */

#form-cotizacion {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#form-cotizacion label {
    color: var(--verde-oscuro);

    font-size: 13px;
    font-weight: 700;
}

#form-cotizacion input,
#form-cotizacion textarea {
    width: 100%;

    padding: 12px;

    border: 1px solid #d5dfd5;
    border-radius: 10px;

    background: var(--blanco);
    color: var(--texto);

    font-size: 14px;
    outline: none;
}

#form-cotizacion input:focus,
#form-cotizacion textarea:focus {
    border-color: var(--verde-principal);

    box-shadow:
        0 0 0 3px rgba(38, 115, 72, 0.12);
}

#form-cotizacion textarea {
    resize: vertical;
    min-height: 90px;
}


/* =====================================================
   25. BOTÓN DE ENVIAR COTIZACIÓN
===================================================== */

.bot-enviar {
    margin-top: 10px;
    padding: 14px;

    background: var(--verde-whatsapp);
    color: #103b21;

    border: none;
    border-radius: 10px;

    font-size: 14px;
    font-weight: 800;

    transition: background 0.25s ease;
}

.bot-enviar:hover {
    background: #1cba57;
}

.bot-estado {
    color: var(--verde-oscuro);
    font-size: 12px;
}

.bot-aviso {
    color: var(--texto-suave);

    font-size: 11px;
    line-height: 1.5;
}


/* =====================================================
   26. PANTALLA DE BIENVENIDA
===================================================== */

.splash-screen {
    position: fixed;
    inset: 0;

    width: 100%;
    height: 100vh;
    height: 100dvh;

    display: flex;

    align-items: center;
    justify-content: center;

    background: radial-gradient(
        circle at center,
        #267348 0%,
        #174d32 55%,
        #0b2b1b 100%
    );

    z-index: 9999;

    opacity: 1;
    visibility: visible;

    transition:
        opacity 0.7s ease,
        visibility 0.7s ease;
}

.splash-contenido {
    padding: 25px;
    text-align: center;

    animation: aparecerSplash 1s ease both;
}

.splash-logo {
    width: 220px;
    max-width: 65vw;
    height: auto;

    object-fit: contain;

    animation: animarLogo 1.5s ease both;
}

.splash-titulo {
    margin: 20px 0 10px;

    color: var(--blanco);

    font-size: clamp(24px, 4vw, 38px);
    font-weight: 800;
    line-height: 1.2;
}

.splash-eslogan {
    color: var(--amarillo);

    font-size: 18px;
    font-weight: 600;
}

.splash-linea {
    width: 0;
    height: 4px;

    margin: 25px auto 0;

    background: var(--amarillo);
    border-radius: 10px;

    animation: expandirLinea 1.8s ease forwards;
}

.splash-screen.ocultar {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}


/* =====================================================
   27. ANIMACIONES DEL LOGO
===================================================== */

@keyframes aparecerSplash {

    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

@keyframes animarLogo {

    0% {
        opacity: 0;

        transform:
            scale(0.65)
            rotate(-8deg);
    }

    60% {
        opacity: 1;

        transform:
            scale(1.08)
            rotate(2deg);
    }

    100% {
        opacity: 1;

        transform:
            scale(1)
            rotate(0);
    }

}

@keyframes expandirLinea {

    from {
        width: 0;
    }

    to {
        width: 170px;
    }

}


/* =====================================================
   28. DISEÑO PARA TABLETS
   PANTALLAS DE 1050 PX O MENOS
===================================================== */

@media (max-width: 1050px) {

    .navegacion {
        flex-direction: column;
        gap: 17px;
    }

    .menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px 22px;
    }

    .hero {
        min-height: 570px;
        padding: 80px 6%;
    }

}


/* =====================================================
   29. PROMOCIONES EN TABLETS
===================================================== */

@media (max-width: 900px) {

    .promociones-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* =====================================================
   30. MENÚ HAMBURGUESA PARA CELULARES
===================================================== */

@media (max-width: 600px) {

    /* ==========================================
       ENCABEZADO COMPACTO
    ========================================== */

    html {
        scroll-padding-top: 85px;
    }

    .encabezado {
        position: sticky;
        top: 0;

        z-index: 500;

        background: #ffffff;
    }

    .navegacion {
        position: relative;

        display: flex;
        flex-direction: row;

        align-items: center;
        justify-content: space-between;

        min-height: 76px;

        padding: 10px 14px;
        gap: 10px;
    }


    /* ==========================================
       LOGO EN CELULAR
    ========================================== */

    .marca {
        flex: 1;
        min-width: 0;

        display: flex;
        align-items: center;
        justify-content: flex-start;

        gap: 9px;
    }

    .logo {
        width: 55px;
        height: 55px;

        flex-shrink: 0;
        object-fit: contain;
    }

    .nombre-marca {
        font-size: 15px;
        font-weight: 800;

        line-height: 1.2;
        white-space: normal;
    }


    /* ==========================================
       BOTÓN HAMBURGUESA
    ========================================== */

    .boton-menu {
        display: flex;
        flex-direction: column;

        align-items: center;
        justify-content: center;

        width: 44px;
        height: 44px;

        flex-shrink: 0;

        padding: 0;
        gap: 5px;

        border: none;
        border-radius: 10px;

        background: #eaf2e6;
    }

    /* Tres líneas */

    .boton-menu span {
        display: block;

        width: 22px;
        height: 2px;

        background: var(--verde-oscuro);
        border-radius: 5px;

        transition:
            transform 0.25s ease,
            opacity 0.25s ease;
    }


    /* ==========================================
       ANIMACIÓN DEL BOTÓN A UNA X
    ========================================== */

    .boton-menu.activo span:nth-child(1) {
        transform:
            translateY(7px)
            rotate(45deg);
    }

    .boton-menu.activo span:nth-child(2) {
        opacity: 0;
    }

    .boton-menu.activo span:nth-child(3) {
        transform:
            translateY(-7px)
            rotate(-45deg);
    }


    /* ==========================================
       MENÚ DESPLEGABLE
    ========================================== */

    #menu-principal {
        position: absolute;

        top: 100%;
        left: 0;
        right: 0;

        width: 100%;

        display: flex;
        flex-direction: column;
        align-items: stretch;

        gap: 0;
        padding: 8px 14px 16px;

        background: var(--blanco);

        border-top: 1px solid #edf1e9;

        box-shadow:
            0 12px 24px rgba(0, 0, 0, 0.12);

        max-height: calc(100dvh - 80px);

        overflow-x: hidden;
        overflow-y: auto;

        /* Inicialmente oculto */

        opacity: 0;
        visibility: hidden;

        transform: translateY(-8px);

        pointer-events: none;

        transition:
            opacity 0.25s ease,
            transform 0.25s ease,
            visibility 0.25s ease;
    }


    /* ==========================================
       MOSTRAR MENÚ ABIERTO
    ========================================== */

    #menu-principal.menu-abierto {
        opacity: 1;
        visibility: visible;

        transform: translateY(0);

        pointer-events: auto;
    }


    /* ==========================================
       ENLACES DEL MENÚ
    ========================================== */

    #menu-principal li {
        display: block;

        width: 100%;
        flex-shrink: 0;

        border-bottom: 1px solid #edf1e9;
    }

    #menu-principal li:last-child {
        border-bottom: none;
    }

    #menu-principal a {
        display: block;

        padding: 14px 12px;

        color: var(--verde-oscuro);

        font-size: 14px;
        font-weight: 700;

        white-space: normal;
    }

    #menu-principal a:hover {
        background: #edf6ee;
        border-radius: 8px;
    }


    /* ==========================================
       PORTADA PARA CELULAR
    ========================================== */

    .hero {
        min-height: 490px;

        padding: 60px 22px;

        background-position: 62% center;
    }

    .hero-contenido {
        max-width: 100%;
    }

    .etiqueta {
        padding: 8px 12px;
        margin-bottom: 20px;

        font-size: 10px;
        letter-spacing: 0.6px;
    }

    .hero h1 {
        font-size: clamp(32px, 8vw, 42px);
        line-height: 1.13;

        margin-bottom: 14px;
    }

    .hero h2 {
        font-size: 21px;
        line-height: 1.4;

        margin-bottom: 17px;
    }

    .hero p:not(.etiqueta) {
        font-size: 14px;
        line-height: 1.7;

        margin-bottom: 23px;
    }

    .boton,
    .boton-secundario {
        display: block;

        width: 100%;
        padding: 14px 18px;

        margin: 10px 0;

        text-align: center;
        font-size: 13px;
    }


    /* ==========================================
       SECCIONES GENERALES EN CELULAR
    ========================================== */

    .seccion {
        padding: 55px 18px;
    }

    .seccion h2 {
        font-size: 29px;
    }

    .seccion > p {
        font-size: 14px;
    }

    #nosotros p {
        font-size: 15px;
        line-height: 1.8;
    }


    /* ==========================================
       PROMOCIONES EN CELULAR
    ========================================== */

    #productos.promociones-seccion {
        padding: 55px 16px 85px;
    }

    .promociones-encabezado {
        margin-bottom: 30px;
    }

    .promociones-encabezado h2 {
        font-size: 30px;
        line-height: 1.2;
    }

    .promociones-encabezado p {
        font-size: 14px;
    }

    .promociones-aviso {
        font-size: 12px !important;
    }

    .promociones-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .promocion-card {
        width: 100%;
        border-radius: 18px;
    }

    .promocion-imagen {
        width: 100%;
        height: 240px;

        object-fit: cover;
    }

    .promocion-contenido {
        padding: 20px;
    }

    .promocion-contenido h3 {
        font-size: 23px;
    }

    .promocion-precio {
        font-size: 30px;
    }

    .promocion-vigencia {
        font-size: 12px;
        line-height: 1.5;
    }

    .promocion-boton {
        min-height: 46px;

        padding: 12px 15px;
        font-size: 13px;
    }

    .promociones-final {
        margin-top: 35px;
        padding: 25px 18px;
    }

    .promociones-final h3 {
        font-size: 22px;
    }

    .promociones-final p {
        font-size: 14px;
    }


    /* ==========================================
       PREGUNTAS FRECUENTES EN CELULAR
    ========================================== */

    #faq details {
        padding: 16px;
    }

    #faq summary {
        font-size: 14px;
        line-height: 1.5;
    }

    #faq details p {
        font-size: 13px;
        line-height: 1.7;
    }


    /* ==========================================
       CONTACTO EN CELULAR
    ========================================== */

    #contacto {
        padding-bottom: 100px;
    }

    #opciones-contacto {
        flex-direction: column;
        align-items: stretch;

        gap: 12px;
    }

    .boton-contacto {
        width: 100%;
        min-height: 48px;
    }


    /* ==========================================
       BOTONES FLOTANTES COMPACTOS
    ========================================== */

    #whatsapp-flotante,
    #asistente-flotante {
        position: fixed;
        right: 10px;

        z-index: 600;
    }

    #whatsapp-flotante {
        bottom: calc(
            12px + env(safe-area-inset-bottom)
        );
    }

    #asistente-flotante {
        bottom: calc(
            66px + env(safe-area-inset-bottom)
        );
    }

    .whatsapp-boton,
    .bot-boton {
        width: 46px;
        height: 46px;
        min-height: 46px;

        padding: 0;

        border-radius: 50%;

        font-size: 0;

        display: flex;
        align-items: center;
        justify-content: center;
    }


    /* Icono del asistente */

    .bot-boton::before {
        content: "💬";
        font-size: 22px;
    }


    /* Icono de contacto */

    .whatsapp-boton::before {
        content: "☎";
        font-size: 24px;
    }


    /* ==========================================
       MENÚ DE WHATSAPP EN CELULAR
    ========================================== */

    .whatsapp-menu {
        position: absolute;

        right: calc(100% + 12px);
        bottom: 0;

        width: 205px;

        max-width: calc(100vw - 85px);

        padding: 12px;
        border-radius: 14px;
    }

    .whatsapp-menu::before {
        font-size: 11px;
        line-height: 1.4;
    }

    .whatsapp-opcion {
        padding: 12px 10px;

        font-size: 12px;
        margin-bottom: 7px;

        white-space: normal;
    }


    /* ==========================================
       VENTANA DEL BOT EN CELULAR
    ========================================== */

    .bot-ventana {
        position: fixed;

        left: 12px;
        right: 12px;

        bottom: calc(
            122px + env(safe-area-inset-bottom)
        );

        width: auto;
        max-width: none;

        max-height: calc(
            100dvh - 145px - env(safe-area-inset-bottom)
        );

        border-radius: 17px;
    }

    .bot-header {
        padding: 14px;
    }

    .bot-header strong {
        font-size: 14px;
    }

    .bot-header small {
        font-size: 11px;
    }

    .bot-contenido {
        padding: 15px;
    }

    .bot-mensaje {
        padding: 12px;
        font-size: 13px;
    }

    #form-cotizacion label {
        font-size: 12px;
    }

    #form-cotizacion input,
    #form-cotizacion textarea {
        font-size: 16px;
        padding: 11px;
    }

    .bot-enviar {
        padding: 13px;
        font-size: 13px;
    }


    /* ==========================================
       ANIMACIÓN DE BIENVENIDA EN CELULAR
    ========================================== */

    .splash-logo {
        width: 170px;
        max-width: 65vw;
    }

    .splash-titulo {
        font-size: 25px;
    }

    .splash-eslogan {
        font-size: 15px;
    }


    /* ==========================================
       PIE DE PÁGINA EN CELULAR
    ========================================== */

    .pie-pagina {
        padding:
            30px 20px
            calc(115px + env(safe-area-inset-bottom));
    }

    .pie-pagina p {
        font-size: 12px;
    }

}


/* =====================================================
   31. ACCESIBILIDAD: REDUCIR ANIMACIONES
===================================================== */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    .boton-menu span,
    .menu,
    .producto,
    .promocion-card,
    .boton,
    .boton-secundario,
    .logo,
    .bot-boton,
    .whatsapp-boton {
        transition: none;
    }

    .splash-contenido,
    .splash-logo,
    .splash-linea {
        animation: none;
    }

    .splash-screen {
        transition: none;
    }

}



/* ==========================================
   ENLACES LEGALES DEL PIE DE PÁGINA
========================================== */

.enlaces-legales {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;

    gap: 12px 24px;
    margin-top: 22px;
}

.enlaces-legales a {
    color: #ffffff;

    font-size: 13px;
    font-weight: 500;

    text-decoration: underline;
    text-underline-offset: 4px;

    transition: color 0.25s ease;
}

.enlaces-legales a:hover {
    color: #f4c95d;
}

.credito-imagenes {
    margin-top: 16px !important;

    color: #d1e6d5 !important;
    font-size: 11px !important;
}

/* Diseño para celulares */

@media (max-width: 600px) {

    .enlaces-legales {
        flex-direction: column;
        align-items: center;
        gap: 14px;
    }

    .enlaces-legales a {
        font-size: 12px;
    }

}
