/* Importar fuentes */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&family=Pacifico&family=Bebas+Neue&family=Roboto:wght@400;700&display=swap');

/* Variables CSS para una gestión de colores más sencilla, basados en tu flyer */
:root {
    --primary-color: #4A00B7; /* Morado oscuro/Azul de ZAM */
    --secondary-color: #FF7B00; /* Naranja brillante de GLOBOS y globos */
    --accent-color: #FFD700; /* Dorado/Amarillo para acentos y textos resaltados */
    --whatsapp-color: #25D366; /* Verde de WhatsApp */
    --text-dark: #333;
    --text-light: #f8f9fa;
    --bg-light: #ffffff;
    --bg-dark: #f0f2f5; /* Un gris claro para secciones */
    --red-promo: #DC143C; /* Rojo cereza para la promoción */

    /* Define las variables RGB para usar en rgba() para la sección hero background */
    --primary-color-rgb: 74, 0, 183;
    --secondary-color-rgb: 255, 123, 0;

    /* Colores para el simulador de WhatsApp */
    --whatsapp-bg-light: #E5DDD5; /* Fondo de chat */
    --whatsapp-bubble-received: #FFFFFF; /* Burbuja de mensaje recibido */
    --whatsapp-bubble-sent: #DCF8C6; /* Burbuja de mensaje enviado */
    --whatsapp-text-dark: #222222;
    --whatsapp-text-light: #777777;
}

/* Reset Básico y Estilos Generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden; /* Evitar scroll horizontal no deseado */
    scroll-behavior: smooth; /* Desplazamiento suave para anclas */
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

h1, h2, h3 {
    font-family: 'Pacifico', cursive; /* Para títulos más llamativos como el flyer */
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 20px;
}

p {
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

.btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 12px 25px;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-transform: uppercase;
    font-weight: bold;
    text-align: center;
}

.btn-primary:hover {
    background-color: #380092; /* Un tono más oscuro del primary-color */
    transform: translateY(-2px);
}

.btn-whatsapp {
    display: inline-block;
    background-color: var(--whatsapp-color); /* Color WhatsApp */
    color: var(--text-light);
    padding: 15px 30px;
    border-radius: 50px; /* Botón más redondeado */
    font-size: 1.2em;
    font-weight: bold;
    text-align: center;
    margin-top: 30px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.btn-whatsapp:hover {
    background-color: #20b054; /* Un tono más oscuro del whatsapp-color */
    transform: translateY(-3px);
}

/* Header - Barra de Navegación Superior */
.header {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color)); /* Degradado del flyer */
    padding: 2px 0; /* MUY REDUCIDO: Padding vertical para hacerlo lo más pequeño posible */
    border-bottom: none; /* No border si hay degradado */
    display: flex;
    justify-content: space-between;
    align-items: center; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); /* Sombra más pronunciada */
    position: sticky; 
    top: 0;
    z-index: 100; 
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center; 
    width: 95%;
}

.logo-header-container {
    display: flex;
    align-items: center;
    padding-left: 20px;
}

.logo-header {
    height: 100px; /* MANTENIDO: El logo se mantiene grande y visible */
    width: auto; /* Mantener la proporción */
    transition: transform 0.3s ease; 
}

.logo-header:hover {
    transform: scale(1.05); /* Ligeramente más grande al pasar el mouse */
}

/* Main Navigation */
.main-nav ul {
    list-style: none;
    display: flex;
}

.main-nav ul li {
    margin-left: 35px; /* Más espacio entre los enlaces */
}

.main-nav ul li a {
    color: var(--text-light); 
    font-weight: bold;
    font-size: 1.1em;
    transition: color 0.3s ease, transform 0.2s ease;
    padding: 5px 0;
    position: relative;
    text-transform: uppercase; 
}

.main-nav ul li a:hover {
    color: var(--accent-color); 
    transform: translateY(-2px);
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    background: var(--accent-color); 
    bottom: 0;
    left: 0;
    transition: width 0.3s ease-out;
}

.main-nav ul li a:hover::after {
    width: 100%;
}


/* Hero Section */
.hero {
    background: linear-gradient(rgba(255,255,255,0.8), rgba(255,255,255,0.8)), url('../images/background_flyer.jpg') no-repeat center center/cover; 
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 50px 0;
    overflow: hidden; 
}

.hero::before { 
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(var(--primary-color-rgb), 0.2), rgba(var(--secondary-color-rgb), 0.2)); 
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}


.hero h2 {
    font-size: 2.8em;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.hero p {
    font-size: 1.2em;
    color: var(--text-dark);
    max-width: 600px;
    margin: 0 auto 30px auto;
}

/* Promo Box y Contador */
.promo-box {
    background-color: var(--red-promo);
    color: var(--text-light);
    padding: 20px 30px;
    border-radius: 10px;
    display: inline-block;
    margin-bottom: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.promo-box p {
    font-size: 1.3em;
    margin: 0;
    font-weight: bold;
}

.countdown {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5em;
    font-weight: bold;
    margin-top: 15px;
    color: var(--accent-color); 
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.countdown span {
    display: inline-block;
    margin: 0 10px;
}

/* Features Section */
.features {
    background-color: var(--bg-dark);
    padding: 50px 0;
    text-align: center;
}

.features .container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.feature-item {
    background-color: var(--bg-light);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.feature-item h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.feature-item p {
    color: var(--text-dark);
    font-size: 1.1em;
}

/* NUEVA SECCIÓN: Galería y Testimonios */
.gallery-testimonials {
    padding: 50px 0;
    background-color: var(--bg-light); 
}

.gallery-testimonials h2 {
    color: var(--primary-color);
    margin-bottom: 40px;
}

.content-wrapper {
    display: flex; 
    gap: 40px; 
    justify-content: center; 
    flex-wrap: wrap; 
}

.gallery-column, .testimonials-column {
    flex: 1; 
    min-width: 300px; 
    max-width: 500px; 
    text-align: center; 
}

.gallery-column h3, .testimonials-column h3 {
    font-family: 'Montserrat', sans-serif; 
    color: var(--primary-color);
    font-size: 1.8em;
    margin-bottom: 20px;
}


/* Galería (Slider) - Ajustes específicos */
.slider-container {
    max-width: 500px; 
    overflow: hidden;
    position: relative;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    height: 350px; 
    
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color)); 
    border: 5px solid var(--accent-color); 
}

.slider-track {
    display: flex;
    transition: transform 0.8s ease-in-out; 
    height: 100%; 
}

.slide-item {
    min-width: 100%;
    box-sizing: border-box;
    position: relative;
    display: flex; 
    justify-content: center;
    align-items: center;
    height: 100%; 
    
    background-size: contain !important; 
    background-position: center !important; 
    background-repeat: no-repeat !important; 
    cursor: pointer; 

    /* Propiedad para evitar el guardado de imagen */
    -webkit-user-drag: none; 
    -moz-user-select: none; 
    -ms-user-select: none; 
    user-select: none; 
    pointer-events: auto; 
}

.slide-logo {
    position: absolute;
    bottom: 20px; 
    right: 20px; 
    width: 80px; 
    opacity: 0.8; 
    pointer-events: none; 
}

/* Testimonios de WhatsApp - Estilos específicos */
.phone-mockup {
    width: 100%; 
    max-width: 350px; 
    height: 450px; 
    background-color: #333; 
    border-radius: 30px;
    padding: 10px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    margin: 0 auto; 
    display: flex;
    flex-direction: column; 
    align-items: center; 
    justify-content: flex-start; 
    position: relative; 
    z-index: 1; 
}

.phone-screen {
    flex-grow: 1; 
    background-color: var(--whatsapp-bg-light); 
    border-radius: 20px;
    overflow: hidden; /* Mantener hidden para el efecto visual del teléfono */
    position: relative; 
    padding: 15px; 
    display: flex; 
    flex-direction: column; 
    justify-content: flex-start; 
    width: 100%; 
    height: 100%; 
}

/* Estilos para el carrusel de mensajes (testimonios) */
.message-carousel-container {
    position: relative; 
    width: 100%;
    height: 100%;
    /* MODIFICADO: Asegurarse de que este contenedor tenga una altura flexible */
    display: flex; /* Añadido: Lo convierte en un contenedor flex */
    flex-direction: column; /* Para apilar los slides */
    justify-content: flex-end; /* Para que el contenido del slide se alinee al final (abajo) */
}

.testimonial-slide {
    display: none; 
    width: 100%; 
    height: 100%; /* CLAVE: Ocupa toda la altura de su contenedor flex (.message-carousel-container) */
    flex-direction: column; 
    justify-content: flex-end; 
    padding-bottom: 5px; 
    gap: 10px; 
    align-items: flex-start; 
    transition: opacity 1s ease-in-out; 
    position: absolute; /* CLAVE: Para que los slides se superpongan */
    top: 0;
    left: 0;
    background-color: var(--whatsapp-bg-light); 
    padding: 15px; 
    box-sizing: border-box; 
    overflow-y: auto; /* CLAVE: Permite scroll dentro del slide si el contenido es largo */
    -webkit-overflow-scrolling: touch; 
}

.testimonial-slide.active {
    display: flex; 
    opacity: 1; 
}

/* Estilos de los mensajes de chat */
.message {
    max-width: 85%;
    padding: 8px 12px;
    border-radius: 10px;
    position: relative;
    font-size: 0.95em;
    line-height: 1.4;
    word-wrap: break-word; 
    box-shadow: 0 1px 1px rgba(0,0,0,0.08); 
    /* MODIFICADO: Añadido margen superior auto para empujar los mensajes hacia abajo si no hay suficiente */
    margin-top: auto; 
}

.message p {
    margin: 0;
    color: var(--whatsapp-text-dark);
}

.message .sender {
    font-weight: bold;
    font-size: 0.85em;
    margin-bottom: 3px;
    display: block;
}

.message .time {
    font-size: 0.7em;
    color: var(--whatsapp-text-light);
    text-align: right;
    margin-top: 5px;
    display: block;
}

.message.received {
    background-color: var(--whatsapp-bubble-received);
    align-self: flex-start; 
    border-bottom-left-radius: 2px; 
}

.message.sent {
    background-color: var(--whatsapp-bubble-sent);
    align-self: flex-end; 
    border-bottom-right-radius: 2px; 
}

/* Call to Action Section */
.cta {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 60px 0;
    text-align: center;
}

.cta h2 {
    color: var(--text-light);
    font-size: 3em;
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.3em;
    margin-bottom: 30px;
}

.cta .btn-primary {
    background-color: var(--accent-color);
    color: var(--primary-color);
    font-size: 1.3em;
    padding: 15px 35px;
    border-radius: 50px;
}

.cta .btn-primary:hover {
    background-color: #e6c200; 
}

/* Footer */
.footer {
    background-color: var(--text-dark);
    color: var(--text-light);
    padding: 30px 0;
    text-align: center;
}

.footer-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.footer p {
    margin: 0;
    font-size: 0.9em;
}

.social-links {
    display: flex;
    gap: 25px;
}

.social-links a {
    color: var(--text-light);
    font-size: 1.1em;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-color);
}

.social-links img {
    height: 25px;
    width: 25px;
}


/* NEW: Sticky CTA Button */
.whatsapp-sticky-cta {
    position: fixed;
    bottom: 0; 
    left: 50%;
    transform: translateX(-50%); 
    width: 100%; 
    max-width: 400px; 
    background-color: var(--whatsapp-color); 
    color: white;
    padding: 12px 20px;
    border-radius: 8px 8px 0 0; 
    display: flex;
    align-items: center;
    justify-content: center; 
    gap: 10px;
    font-size: 1.1em;
    font-weight: bold;
    box-shadow: 0 -4px 8px rgba(0,0,0,0.2); 
    z-index: 1000;
    transition: all 0.3s ease;
    text-align: center; 
}

.whatsapp-sticky-cta:hover {
    background-color: #20b054; 
    transform: translateX(-50%) translateY(-3px); 
}

.whatsapp-sticky-cta img {
    width: 30px;
    height: 30px;
}

/* NEW: Exit-Intent Popup */
.exit-intent-popup {
    display: none; 
    position: fixed;
    z-index: 3000; 
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); 
    backdrop-filter: blur(5px); 
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    pointer-events: none; 
}

.exit-intent-popup.show {
    opacity: 1;
    pointer-events: auto; 
}

.popup-content {
    background-color: var(--bg-light);
    margin: 15% auto; 
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    max-width: 500px;
    text-align: center;
    position: relative;
    transform: scale(0.8);
    transition: transform 0.3s ease-in-out;
}

.exit-intent-popup.show .popup-content {
    transform: scale(1);
}

.popup-content h3 {
    font-family: 'Pacifico', cursive;
    color: var(--secondary-color); 
    margin-bottom: 15px;
    font-size: 2em;
}

.popup-content p {
    font-size: 1.1em;
    margin-bottom: 20px;
}

.popup-content .btn-whatsapp {
    margin-top: 10px;
    font-size: 1.1em;
    padding: 12px 25px;
}

.popup-content .small-text {
    font-size: 0.8em;
    color: var(--text-light); 
    margin-top: 15px;
    background-color: var(--primary-color);
    padding: 5px 10px;
    border-radius: 5px;
    display: inline-block;
}

.close-popup {
    color: var(--text-dark);
    font-size: 30px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 20px;
    cursor: pointer;
}

.close-popup:hover,
.close-popup:focus {
    color: #999;
}


/* Lightbox Styles (already existed, but keeping for reference) */
.lightbox {
    display: none; 
    position: fixed; 
    z-index: 2000; 
    padding-top: 50px; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0,0,0,0.9); 
    animation: fadeInLightbox 0.5s;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90vh; 
    object-fit: contain; 
    -webkit-user-drag: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events: auto;
}

/* Close button */
.lightbox-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: #bbb;
    text-decoration: none;
}

/* Navigation buttons (prev/next) */
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 50px;
    color: white;
    cursor: pointer;
    padding: 16px;
    user-select: none;
    transition: 0.3s;
}

.lightbox-nav.prev {
    left: 15px;
}

.lightbox-nav.next {
    right: 15px;
}

.lightbox-nav:hover {
    background-color: rgba(0,0,0,0.8);
}

@keyframes fadeInLightbox {
    from {opacity: 0} 
    to {opacity: 1}
}


/* Media Queries para Responsividad */
@media (max-width: 992px) {
    .main-nav ul li {
        margin-left: 20px;
    }
    .slider-container { 
        max-width: 450px; 
        height: 300px; 
    }
    .phone-mockup { 
        max-width: 350px; 
        height: 480px; 
    }
    .testimonial-slide {
        padding-bottom: 0; 
    }
    .whatsapp-sticky-cta {
        padding: 10px 15px;
        font-size: 1em;
    }
    .whatsapp-sticky-cta img {
        width: 25px;
        height: 25px;
    }
    .popup-content {
        max-width: 400px;
    }
}


@media (max-width: 768px) {
    .header {
        padding: 10px 0; 
    }
    .header .container {
        flex-direction: column;
        text-align: center;
        width: 100%; 
        padding: 0 15px; 
    }
    .logo-header-container {
        padding-left: 0; 
        margin-bottom: 15px; 
    }
    .logo-header {
        height: 80px; 
    }
    .main-nav ul {
        margin-top: 0; 
        justify-content: center;
        flex-wrap: wrap;
        width: 100%; 
    }
    .main-nav ul li {
        margin: 5px 15px; 
    }
    .hero {
        min-height: 70vh; 
        padding: 40px 0;
    }
    .hero h2 {
        font-size: 2.5em; 
        padding: 0 10px; 
    }
    .hero p {
        font-size: 1.1em; 
        padding: 0 10px;
    }
    .promo-box {
        padding: 15px 20px; 
    }
    .promo-box p {
        font-size: 1.2em;
    }
    .countdown {
        font-size: 2.2em;
    }
    .btn-whatsapp {
        font-size: 1.1em;
        padding: 12px 25px;
    }
    .features .container {
        flex-direction: column;
        align-items: center;
        gap: 20px; 
    }
    .feature-item {
        width: 90%;
        max-width: 400px; 
    }
    .gallery-testimonials h2 {
        font-size: 2.2em; 
    }
    .content-wrapper {
        flex-direction: column; 
        align-items: center; 
        gap: 40px; 
    }
    .gallery-column, .testimonials-column {
        min-width: unset; 
        width: 90%; 
        max-width: 450px; 
    }
    .slider-container { 
        max-width: 100%; 
        height: 280px; 
        overflow: hidden; 
    }
    .phone-mockup { 
        max-width: 95%; 
        height: 420px; 
        padding: 8px; 
    }
    .phone-screen {
        overflow: hidden; 
        padding: 12px; 
    }
    .cta h2 {
        font-size: 2.5em;
    }
    .cta p {
        font-size: 1.2em;
    }
    /* Sticky CTA Button on Tablet */
    .whatsapp-sticky-cta {
        padding: 10px 15px;
        font-size: 1em;
        max-width: 300px; 
    }
    .whatsapp-sticky-cta img {
        width: 25px;
        height: 25px;
    }
    /* Exit Popup on Tablet */
    .popup-content {
        max-width: 350px;
        padding: 25px;
    }
    .popup-content h3 {
        font-size: 1.8em;
    }
    .popup-content p {
        font-size: 1em;
    }
    .popup-content .btn-whatsapp {
        font-size: 1em;
        padding: 10px 20px;
    }

    /* Lightbox en móviles */
    .lightbox-nav {
        font-size: 40px; 
        padding: 10px;
    }
    .lightbox-close {
        font-size: 30px; 
        top: 10px;
        right: 20px;
    }
    .lightbox-content {
        max-width: 95%; 
        max-height: 85vh; 
    }
}

@media (max-width: 480px) {
    .header {
        padding: 5px 0; 
    }
    .logo-header {
        height: 60px; 
    }
    .main-nav ul li {
        margin: 5px 8px; 
        font-size: 0.9em; 
    }
    .hero h2 {
        font-size: 1.8em;
    }
    .hero p {
        font-size: 0.95em;
    }
    .promo-box p {
        font-size: 1em;
    }
    .countdown {
        font-size: 1.5em; 
    }
    .countdown span {
        margin: 0 5px; 
    }
    .btn-whatsapp {
        font-size: 0.9em;
        padding: 10px 20px;
    }
    .feature-item {
        padding: 20px; 
    }
    .feature-item h3 {
        font-size: 1.3em;
    }
    .feature-item p {
        font-size: 1em;
    }
    .gallery-testimonials h2, .cta h2 {
        font-size: 1.8em;
    }
    .gallery-column h3, .testimonials-column h3 {
        font-size: 1.5em;
    }
    .slider-container { 
        height: 200px; 
        border-width: 3px; 
        overflow: hidden; 
    }
    .slide-logo { 
        width: 50px; 
        bottom: 5px; 
        right: 5px; 
        max-width: 25%; 
        height: auto; 
    }
    .phone-mockup {
        max-width: 98%; 
        height: 380px; 
        padding: 5px; 
    }
    .phone-screen {
        padding: 8px; 
    }
    .message-carousel-container {
        /* MODIFICADO: Asegurarse de que este contenedor tenga una altura flexible */
        display: flex; /* Añadido para que sea un contenedor flex */
        flex-direction: column; /* Apila los slides */
        height: 100%; /* Ocupa toda la altura disponible */
    }
    .testimonial-slide {
        position: absolute; /* Mantenemos absolute para superposición */
        top: 0;
        left: 0;
        width: 100%;
        height: 100%; /* CLAVE: Asegura que el slide ocupe toda la altura disponible del .message-carousel-container */
        flex-direction: column; 
        justify-content: flex-end; 
        align-items: flex-start; 
        gap: 10px; 
        padding: 10px; 
        background-color: var(--whatsapp-bg-light); 
        box-sizing: border-box; 
        overflow-y: auto; /* CLAVE: Permite el scroll si los mensajes se desbordan */
        -webkit-overflow-scrolling: touch; 
    }
    .testimonial-slide.active {
        display: flex; 
        opacity: 1; 
    }
    .message {
        font-size: 0.9em; 
        padding: 7px 10px;
        margin-top: auto; /* CLAVE: Empuja el grupo de mensajes hacia la parte inferior del slide */
    }
    .message .sender {
        font-size: 0.8em;
    }
    .message .time {
        font-size: 0.6em; 
    }
    .cta p {
        font-size: 1em;
    }
    .cta .btn-primary {
        font-size: 1.1em;
        padding: 12px 25px;
    }
    .social-links {
        flex-direction: column;
        gap: 8px;
    }
    .social-links a {
        font-size: 1em;
    }
    /* Sticky CTA Button on Mobile */
    .whatsapp-sticky-cta {
        padding: 8px 12px;
        font-size: 0.9em;
        max-width: unset; 
    }
    .whatsapp-sticky-cta img {
        width: 20px;
        height: 20px;
    }
    /* Exit Popup on Mobile */
    .popup-content {
        margin: 5% auto; 
        max-width: 90%;
        padding: 20px;
    }
    .popup-content h3 {
        font-size: 1.5em;
    }
    .popup-content p {
        font-size: 0.9em;
    }
    .popup-content .btn-whatsapp {
        font-size: 0.9em;
        padding: 10px 20px;
    }
    .popup-content .small-text {
        font-size: 0.7em;
    }

    /* Lightbox en móviles pequeños */
    .lightbox-nav {
        font-size: 30px; 
        padding: 8px;
    }
    .lightbox-close {
        font-size: 25px; 
        top: 8px;
        right: 15px;
    }
    .lightbox-content {
        max-width: 98%; 
        max-height: 80vh; 
    }
}