body { font-family: 'Plus Jakarta Sans', sans-serif; scroll-behavior: smooth; }

/* ========= Estilos plantilla de servicio (detalle) ========= */

.indication-box {
    background-color: #F0F9FF;
    border-left: 4px solid #00A4E4;
    padding: 1.5rem;
    border-radius: 0.5rem;
}

/* Tarjeta Especialista (Foto Grande) */
.specialist-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 1.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.specialist-card:hover {
    transform: translateY(-5px);
    border-color: #00A4E4;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.specialist-img-wrapper {
    height: 320px;
    overflow: hidden;
    position: relative;
}

.specialist-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.5s ease;
}

.specialist-card:hover .specialist-img-wrapper img {
    transform: scale(1.05);
}

/* Video y Galería */
.video-container:hover .play-btn {
    transform: scale(1.1);
}

.gallery-item {
    cursor: zoom-in;
    overflow: hidden;
    border-radius: 0.75rem;
}

.gallery-item img {
    transition: transform 0.5s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Acordeón FAQ */
.faq-question {
    cursor: pointer;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.rotate-180 {
    transform: rotate(180deg);
}

/* Modal multimedia */
.media-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 59, 115, 0.45);
    z-index: 100;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.media-modal.active {
    display: flex;
    opacity: 1;
}

/* Banner lateral fijo */
.vertical-banner {
    background-image: linear-gradient(
            to bottom,
            rgba(0, 59, 115, 0.85),
            rgba(0, 59, 115, 0.95)
        ),
        url('https://images.unsplash.com/photo-1631815589968-fdb09a223b1e?ixlib=rb-1.2.1&auto=format&fit=crop&w=600&q=80');
    background-size: cover;
    border-radius: 1.5rem;
    color: white;
    padding: 2rem;
    text-align: center;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Animación mascota indicaciones */
.mascota-indicaciones {
    opacity: 0;
    transform: translateX(60px);
    transition: transform 0.7s ease, opacity 0.7s ease;
}

.mascota-indicaciones.visible {
    opacity: 1;
    transform: translateX(0);
}

<style>
        body { font-family: 'Plus Jakarta Sans', sans-serif; scroll-behavior: smooth; }
        
        .fade-in-up { animation: fadeInUp 0.5s ease-out forwards; }
        @keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

        .modal-overlay { background-color: rgba(0, 59, 115, 0.85); backdrop-filter: blur(8px); }

        /* Mascota */
        .mascot-float { animation: float 4s ease-in-out infinite; }
        @keyframes float { 
            0% { transform: translateY(0px) rotate(0deg); } 
            50% { transform: translateY(-5px) rotate(1deg); } 
            100% { transform: translateY(0px) rotate(0deg); } 
        }
        
        /* Burbuja de Texto Mascota (Dashboard) */
        .mascot-speech-bubble { 
            position: absolute; background: #fff; border: 2px solid #45C7C7; border-radius: 12px; padding: 8px 12px; 
            font-size: 0.75rem; font-weight: 800; color: #003B73; box-shadow: 0 4px 10px rgba(0,0,0,0.15); 
            white-space: nowrap; z-index: 60; top: -40px; right: 0; 
        }
        .mascot-speech-bubble::after { 
            content: ''; position: absolute; bottom: -6px; right: 20px; width: 10px; height: 10px; 
            background: #fff; border-bottom: 2px solid #45C7C7; border-right: 2px solid #45C7C7; transform: rotate(45deg); 
        }

        /* Scroll Oculto */
        .hide-scroll-bar::-webkit-scrollbar { display: none; }
        .hide-scroll-bar { -ms-overflow-style: none; scrollbar-width: none; }

        /* Menú Acordeón */
        .menu-accordion-btn { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 1rem; background-color: #f8fafc; border-radius: 0.75rem; transition: all 0.3s ease; font-weight: 600; color: #003B73; border: 1px solid transparent; cursor: pointer; }
        .menu-accordion-btn:hover { background-color: #e0f2fe; color: #00A4E4; border-color: #00A4E4; transform: translateX(5px); }
        .menu-accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; background-color: white; border-left: 2px solid #00A4E4; margin-left: 1rem; margin-top: 0.25rem; }
        .menu-accordion-content ul { padding: 0.5rem 0; }
        .menu-accordion-content li a { display: block; padding: 0.5rem 1rem; font-size: 0.9rem; color: #64748b; transition: color 0.2s; display: flex; align-items: center; gap: 0.5rem; }
        .menu-accordion-content li a:hover { color: #00A4E4; background-color: #f1f5f9; }
        .menu-sub-icon { width: 16px; height: 16px; opacity: 0.7; }

        /* Chat Widget */
        .chat-widget { position: fixed; bottom: 80px; right: 20px; z-index: 50; display: flex; flex-direction: column; align-items: flex-end; }
        @media (min-width: 1024px) { .chat-widget { bottom: 20px; } }
        .chat-window { width: 360px; height: 520px; background: #ffffff; border-radius: 1.5rem; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); display: none; flex-direction: column; overflow: hidden; margin-bottom: 1rem; border: 1px solid #f1f5f9; transform-origin: bottom right; animation: openChat 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
        @keyframes openChat { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }
        .chat-header { background: linear-gradient(135deg, #003B73 0%, #002a52 100%); color: white; padding: 1rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
        .chat-messages { flex: 1; padding: 1.25rem; overflow-y: auto; background-color: #f8fafc; display: flex; flex-direction: column; gap: 1rem; }
        .message { padding: 0.75rem 1rem; font-size: 0.95rem; line-height: 1.5; max-width: 85%; position: relative; word-wrap: break-word; box-shadow: 0 2px 4px rgba(0,0,0,0.05); }
        .message.user { background-color: #00A4E4; color: white; align-self: flex-end; border-radius: 1.25rem 1.25rem 0 1.25rem; margin-left: auto; }
        .message.bot { background-color: white; border: 1px solid #e2e8f0; color: #1e293b; align-self: flex-start; border-radius: 1.25rem 1.25rem 1.25rem 0; margin-right: auto; }
        .chat-input-area { padding: 1rem; background: white; border-top: 1px solid #f1f5f9; }
        .chat-input-wrapper { position: relative; display: flex; align-items: center; background: #f1f5f9; border-radius: 9999px; padding: 0.25rem; border: 2px solid transparent; transition: all 0.2s; }
        .chat-input-wrapper:focus-within { border-color: #45C7C7; background: white; box-shadow: 0 0 0 4px rgba(69, 199, 199, 0.1); }
        .chat-input-field { flex: 1; background: transparent; border: none; padding: 0.5rem 1rem; font-size: 0.95rem; color: #334155; outline: none; min-width: 0; }
        .chat-send-btn { background: #00A4E4; color: white; border: none; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background 0.2s; flex-shrink: 0; }
        
        /* Burbuja de Texto CHAT MEJORADA */
        .chat-bubble-cta {
            position: absolute;
            bottom: 20px;
            right: 85px;
            background: #fff;
            border: 2px solid #45C7C7;
            border-radius: 16px;
            padding: 12px 20px;
            font-size: 0.9rem;
            font-weight: 800;
            color: #003B73;
            box-shadow: 0 8px 20px rgba(0,59,115,0.15);
            white-space: nowrap;
            z-index: 40;
            transform-origin: right center;
            animation: popIn 0.6s ease-out 1s both, float 4s ease-in-out infinite;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .chat-bubble-cta::after {
            content: '';
            position: absolute;
            top: 50%;
            right: -8px;
            width: 14px;
            height: 14px;
            background: #fff;
            border-top: 2px solid #45C7C7;
            border-right: 2px solid #45C7C7;
            transform: translateY(-50%) rotate(45deg);
            border-radius: 2px;
        }
        
        @keyframes popIn {
            0% { opacity: 0; transform: scale(0.5) translateY(20px); }
            100% { opacity: 1; transform: scale(1) translateY(0); }
        }

        /* Accesibilidad */
        body.high-contrast { background-color: #000 !important; color: #FFFF00 !important; }
        body.high-contrast nav, body.high-contrast .bg-white, body.high-contrast .bg-slate-50 { background-color: #1a1a1a !important; color: #fff !important; border-color: #fff !important; }
        body.high-contrast h1, body.high-contrast h2, body.high-contrast h3, body.high-contrast span { color: #FFFF00 !important; }
        body.high-contrast button { background-color: #FFFF00 !important; color: #000 !important; border: 2px solid #fff !important; }
        body.large-text { font-size: 1.2rem !important; }
        .btn-ripple { position: relative; overflow: hidden; transform: translate3d(0, 0, 0); }
        .btn-ripple:after { content: ""; display: block; position: absolute; width: 100%; height: 100%; top: 0; left: 0; pointer-events: none; background-image: radial-gradient(circle, #fff 10%, transparent 10.01%); background-repeat: no-repeat; background-position: 50%; transform: scale(10, 10); opacity: 0; transition: transform .5s, opacity 1s; }
        .btn-ripple:active:after { transform: scale(0, 0); opacity: .2; transition: 0s; }
        /* Mascota Sobresaliendo */
        .mascot-pointing { position: absolute; top: -55px; right: -25px; width: 150px; z-index: 50; pointer-events: none; filter: drop-shadow(0 10px 10px rgba(0,0,0,0.3)); animation: float 4s ease-in-out infinite; }
    </style>