/* style.css */

/* 1. Importamos la fuente Inter directamente aquí para limpiar el HTML */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

/* 2. Reglas Base */
body { 
    font-family: 'Inter', sans-serif; 
}

/* 3. Clases Personalizadas (Custom CSS) */

/* Efecto Vidrio (Glassmorphism) para el Navbar */
.glass {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(200, 200, 200, 0.2);
}

/* Gradiente de fondo animado suave */
.bg-gradient-animate {
    background: linear-gradient(-45deg, #f1f5f9, #e2e8f0, #cbd5e1, #f8fafc);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
}

/* Keyframes para la animación del gradiente */
@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Ajuste para inputs al hacer focus (Opcional: override de Tailwind si se desea) */
input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.2); /* Azul suave */
}

/* ... resto de tu CSS anterior ... */

/* ESTILO PARA EL MAPA */
.grayscale-map {
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
    /* Ajustamos el contraste para que se vea nítido en grises */
    filter: grayscale(100%) contrast(1.2) brightness(1.1); 
}

/* Efecto opcional: Al pasar el mouse, recupera un poco de color */
.group:hover .grayscale-map {
    filter: grayscale(0%);
    -webkit-filter: grayscale(0%);
}
/* Animaciones para la página de Destinos */

/* Rebote lento para los nodos del mapa */
.animate-bounce-slow {
    animation: bounce 3s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(-5%); animation-timing-function: cubic-bezier(0.8, 0, 1, 1); }
    50% { transform: translateY(0); animation-timing-function: cubic-bezier(0, 0, 0.2, 1); }
}

/* Efecto blob para el fondo del hero */
.animate-blob {
    animation: blob 7s infinite;
}

@keyframes blob {
    0% { transform: translate(0px, 0px) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
    100% { transform: translate(0px, 0px) scale(1); }
}

/* Retraso de animación */
.animation-delay-2000 {
    animation-delay: 2s;
}

/* --- AGREGAR AL FINAL DE style.css --- */

/* Acordeón de Preguntas Frecuentes: ocultar el triángulo nativo de <details> */
.faq-item summary::-webkit-details-marker {
    display: none;
}
.faq-item summary::marker {
    content: '';
}

/* --- Carrusel infinito de "Nuestros Clientes" --- */
.clientes-marquee-wrapper {
    overflow: hidden;
    width: 100%;
    -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
    mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.clientes-marquee-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: clientes-scroll 28s linear infinite;
}

.clientes-marquee-wrapper:hover .clientes-marquee-track {
    animation-play-state: paused;
}

@keyframes clientes-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.cliente-logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2.5rem;
    filter: grayscale(1) opacity(0.6);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.cliente-logo:hover {
    filter: grayscale(0) opacity(1);
    transform: scale(1.08);
}


    <style>
        /* Ajustes específicos para el mapa */
        #map {
            height: 600px;
            width: 100%;
            z-index: 1;
            border-radius: 1rem;
        }

        /* Personalización del Acordeón */
        .accordion-content {
            transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
            max-height: 0;
            opacity: 0;
            overflow: hidden;
        }

            .accordion-content.active {
                max-height: 1000px;
                opacity: 1;
            }

        .accordion-icon {
            transition: transform 0.3s ease;
        }
        /* Cuando el botón tiene aria-expanded="true", giramos el icono */
        .accordion-btn[aria-expanded="true"] .accordion-icon {
            transform: rotate(180deg);
        }
    </style>

    <style>
        /* =========================================================
           AJUSTES GENERALES - MENÚ MÓVIL / CHATBOT / WHATSAPP
           ========================================================= */

        /* Chatbot ARRIBA de WhatsApp y perfectamente alineado */
        .asistente-lanzador {
            bottom: 96px !important;
            right: 24px !important;
            z-index: 60 !important;
        }

        .btn-whatsapp {
            bottom: 24px !important;
            right: 24px !important;
            z-index: 60 !important;
        }

        /* Centrar el icono dentro del botón del chatbot */
        .btn-asistente {
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
        }

        .btn-asistente-logo {
            display: block !important;
            margin: 0 auto !important;
        }

        @media (max-width: 767px) {
            /* Navbar adaptable en celular */
            #navbar > div:first-child {
                padding-left: 1rem !important;
                padding-right: 1rem !important;
                gap: 0.75rem;
            }

            #navbar a.block.group {
                min-width: 0;
                flex: 1 1 auto;
            }

                #navbar a.block.group img {
                    height: 48px !important;
                    width: auto !important;
                    max-width: min(220px, 72vw) !important;
                }

            #mobile-menu-btn {
                flex: 0 0 auto;
                padding: 0.5rem;
            }

            #mobile-menu {
                width: 100% !important;
                max-height: calc(100vh - 76px);
                overflow-y: auto;
                overflow-x: hidden;
                overscroll-behavior: contain;
            }

                #mobile-menu a {
                    display: block;
                    width: 100%;
                }

            /* En celular siguen alineados verticalmente */
            .asistente-lanzador {
                bottom: 86px !important;
                right: 18px !important;
            }

            .btn-whatsapp {
                bottom: 18px !important;
                right: 18px !important;
            }
        }
    </style>
@media (prefers-reduced-motion: reduce) {
    .clientes-marquee-track {
        animation: none;
    }
    .clientes-marquee-wrapper {
        overflow-x: auto;
    }
}


.asistente-lanzador {
    position: fixed;
    bottom: 96px;
    right: 20px;
    width: 56px;
    height: 56px;
    z-index: 2147483646;
}

.btn-asistente {
    position: absolute;
    inset: 0;
    background-color: #1e3a8a;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    animation: asistente-anillo 2.6s ease-out infinite;
}
.btn-asistente:hover {
    transform: scale(1.12);
    box-shadow: 0 6px 18px rgba(30,58,138,0.45);
    animation-play-state: paused;
}
.btn-asistente.is-abierto {
    animation: none;
}
.btn-asistente.btn-asistente-recibiendo {
    animation: btn-asistente-recibir-pulso 0.4s ease-out;
}
@keyframes btn-asistente-recibir-pulso {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.btn-asistente-logo {
    width: 32px;
    height: auto;
    pointer-events: none;
}


@keyframes asistente-anillo {
    0%   { box-shadow: 0 4px 10px rgba(0,0,0,0.3), 0 0 0 0 rgba(30,58,138,0.45); }
    70%  { box-shadow: 0 4px 10px rgba(0,0,0,0.3), 0 0 0 14px rgba(30,58,138,0); }
    100% { box-shadow: 0 4px 10px rgba(0,0,0,0.3), 0 0 0 0 rgba(30,58,138,0); }
}


.asistente-mascota-ventana {
    position: absolute;
    bottom: 18px;
    left: -10px;
    width: 64px;
    height: 80px;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}
.asistente-mascota-ventana.asistente-mascota-ventana-libre {
    overflow: visible;
}

.asistente-mascota {
    position: absolute;
    top: 0;
    left: 50%;
    width: 74px;
    height: 90px;
    margin-left: -37px;
    pointer-events: none;
    transform-origin: top center;
    transform: translateY(74px) scale(0.82);
    opacity: 0;
    transition: transform 0.42s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.25s ease;
}
.asistente-lanzador:hover .asistente-mascota,
.asistente-lanzador:focus-within .asistente-mascota,
.asistente-mascota.asistente-mascota-visible {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.asistente-mascota-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
    filter: drop-shadow(0 6px 8px rgba(15,23,42,0.2));
}
.asistente-lanzador:hover .asistente-mascota-svg,
.asistente-lanzador:focus-within .asistente-mascota-svg,
.asistente-mascota.asistente-mascota-visible .asistente-mascota-svg {
    animation: mascota-rebote 1.1s ease-in-out infinite;
}

.asistente-lanzador:hover .mascota-brazo-der,
.asistente-lanzador:focus-within .mascota-brazo-der,
.asistente-mascota.asistente-mascota-visible .mascota-brazo-der {
    transform-origin: 65px 50px;
    animation: mascota-saludo 0.7s ease-in-out infinite;
}


.mascota-ojo-izq, .mascota-ojo-der {
    transform-box: fill-box;
    transform-origin: center;
}
.asistente-lanzador:hover .mascota-ojo-izq,
.asistente-lanzador:hover .mascota-ojo-der,
.asistente-lanzador:focus-within .mascota-ojo-izq,
.asistente-lanzador:focus-within .mascota-ojo-der,
.asistente-mascota.asistente-mascota-visible .mascota-ojo-izq,
.asistente-mascota.asistente-mascota-visible .mascota-ojo-der {
    animation-name: mascota-parpadeo;
    animation-duration: 1.6s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: 1;
}

@keyframes mascota-rebote {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-4px); }
}
@keyframes mascota-saludo {
    0%, 100% { transform: rotate(0deg); }
    50%      { transform: rotate(24deg); }
}
@keyframes mascota-parpadeo {
    0%, 30%, 46%, 100% { transform: scaleY(1); }
    37%, 42%            { transform: scaleY(0.12); }
}


.asistente-mascota.asistente-mascota-saltando {
    transition: none;
    animation: mascota-salto 0.6s cubic-bezier(0.3, 0.62, 0.34, 1) forwards;
}
.asistente-mascota.asistente-mascota-saltando .asistente-mascota-svg,
.asistente-mascota.asistente-mascota-saltando .mascota-brazo-der,
.asistente-mascota.asistente-mascota-saltando .mascota-ojo-izq,
.asistente-mascota.asistente-mascota-saltando .mascota-ojo-der {
    animation: none;
}
@keyframes mascota-salto {
    0%   { transform: translate(0, 0)        scale(1);    opacity: 1; }
    28%  { transform: translate(1px, -40px)  scale(1.06); opacity: 1; }
    62%  { transform: translate(3px, 22px)   scale(0.55); opacity: 1; }
    85%  { transform: translate(5px, 50px)   scale(0.3);  opacity: 0.9; }
    100% { transform: translate(5px, 59px)   scale(0.22); opacity: 0; }
}


.panel-asistente.panel-asistente-emergiendo {
    animation: panel-emerger 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}
@keyframes panel-emerger {
    from { transform: scale(0.9) translateY(6px); opacity: 0; }
    to   { transform: scale(1) translateY(0); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .btn-asistente {
        animation: none !important;
    }
    .asistente-mascota-ventana {
        display: none !important; 
    }
    .panel-asistente.panel-asistente-emergiendo {
        animation: none;
    }
}

.panel-asistente {
    position: fixed;
    bottom: 160px;
    right: 20px;
    width: 330px;
    max-width: calc(100vw - 40px);
    max-height: 460px;
    background: #f8fafc;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(15,23,42,0.28);
    z-index: 2147483646;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(30,58,138,0.08);
}

.panel-asistente-header {
    background: linear-gradient(135deg, #2748a3 0%, #1e3a8a 55%, #142a68 100%);
    color: white;
    padding: 14px 14px 14px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.panel-asistente-header-info {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.panel-asistente-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,0.14);
    border: 1.5px solid rgba(255,255,255,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.panel-asistente-avatar img {
    width: 18px;
    height: auto;
}

.panel-asistente-titulos {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.panel-asistente-nombre {
    font-weight: 700;
    font-size: 13.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.panel-asistente-estado {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: rgba(255,255,255,0.75);
    font-weight: 500;
}
.panel-asistente-punto {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4ade80;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(74,222,128,0.6);
    animation: panel-punto-pulso 2s infinite;
}
@keyframes panel-punto-pulso {
    0%   { box-shadow: 0 0 0 0 rgba(74,222,128,0.55); }
    70%  { box-shadow: 0 0 0 5px rgba(74,222,128,0); }
    100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); }
}

.panel-asistente-cerrar {
    background: rgba(255,255,255,0.12);
    border: none;
    color: white;
    cursor: pointer;
    font-size: 13px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.15s ease;
}
.panel-asistente-cerrar:hover {
    background: rgba(255,255,255,0.24);
}

.panel-asistente-body {
    padding: 16px 14px;
    overflow-y: auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 13px;
    background:
        radial-gradient(circle at 100% 0%, rgba(30,58,138,0.05) 0%, transparent 45%),
        #f8fafc;
}
.panel-asistente-body::-webkit-scrollbar {
    width: 6px;
}
.panel-asistente-body::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.fila-mensaje {
    display: flex;
    align-items: flex-end;
    gap: 7px;
    max-width: 92%;
    animation: mensaje-entrar 0.25s ease-out;
}
.fila-bot {
    align-self: flex-start;
}
.fila-usuario {
    align-self: flex-end;
    flex-direction: row-reverse;
}
@keyframes mensaje-entrar {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.avatar-bot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #1e3a8a;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.avatar-bot img {
    width: 13px;
    height: auto;
}

.mensaje-bot {
    background: white;
    color: #1e293b;
    padding: 10px 13px;
    border-radius: 14px;
    border-bottom-left-radius: 3px;
    line-height: 1.5;
    box-shadow: 0 1px 3px rgba(15,23,42,0.08);
    border: 1px solid #eef1f6;
}

.mensaje-usuario {
    background: linear-gradient(135deg, #24409c, #1e3a8a);
    color: white;
    padding: 10px 13px;
    border-radius: 14px;
    border-bottom-right-radius: 3px;
    line-height: 1.5;
    box-shadow: 0 2px 6px rgba(30,58,138,0.25);
}

.mensaje-hora {
    display: block;
    font-size: 9.5px;
    margin-top: 3px;
    opacity: 0.55;
}

.mensaje-escribiendo {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 12px 14px;
}
.mensaje-escribiendo .punto {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #94a3b8;
    animation: punto-escribiendo 1.1s infinite ease-in-out;
}
.mensaje-escribiendo .punto:nth-child(2) { animation-delay: 0.15s; }
.mensaje-escribiendo .punto:nth-child(3) { animation-delay: 0.3s; }
@keyframes punto-escribiendo {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
    30%           { transform: translateY(-4px); opacity: 1; }
}

.panel-asistente-form {
    display: flex;
    gap: 8px;
    padding: 10px 12px;
    border-top: 1px solid #e2e8f0;
    background: white;
    flex-shrink: 0;
}
.panel-asistente-input {
    flex: 1;
    min-width: 0;
    border: 1.5px solid #e2e8f0;
    background: #f8fafc;
    border-radius: 20px;
    padding: 9px 15px;
    font-size: 13px;
    outline: none;
    transition: border-color 0.15s ease, background 0.15s ease;
}
.panel-asistente-input:focus {
    border-color: #1e3a8a;
    background: white;
}
.panel-asistente-enviar {
    background: #1e3a8a;
    color: white;
    border: none;
    border-radius: 50%;
    width: 37px;
    height: 37px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 13px;
    transition: background 0.15s ease, transform 0.1s ease;
}
.panel-asistente-enviar:hover {
    background: #24409c;
    transform: scale(1.06);
}

.panel-asistente-whatsapp-cont {
    padding: 0 12px 12px;
    background: white;
    flex-shrink: 0;
}
.panel-asistente-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #25D366;
    color: white;
    font-size: 12px;
    font-weight: 700;
    padding: 8px;
    border-radius: 10px;
    text-decoration: none;
    transition: filter 0.15s ease;
}
.panel-asistente-whatsapp:hover {
    filter: brightness(1.05);
}


#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f8fafc; 
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(30, 58, 138, 0.2); 
    border-radius: 50%;
    border-top-color: #1e3a8a; 
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}



.btn-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white !important; 
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 32px; 
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.5);
    z-index: 9999; 
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}

.btn-whatsapp:hover {
    transform: scale(1.1);
    background-color: #20bd5a;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.7);
}


.btn-whatsapp::after {
    content: 'Contáctanos';
    position: absolute;
    right: 70px;
    background: white;
    color: #333;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: bold;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    white-space: nowrap;
}

.btn-whatsapp:hover::after {
    opacity: 1;
    visibility: visible;
    right: 75px;


