
        :root {
            --primary: #0056b3; /* Azul médico fuerte */
            --secondary: #00a8e8; /* Azul cielo */
            --accent: #ff4757; /* Rojo alerta/campaña */
            --dark: #1e293b;
            --light: #f8fafc;
            --white: #ffffff;
            --shadow: 0 10px 40px rgba(0,0,0,0.1);
            --chat-bg: #e5ddd5; 
            --user-msg: #dcf8c6;
            --bot-msg: #ffffff;
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }
        body { font-family: 'Inter', sans-serif; color: var(--dark); line-height: 1.6; background-color: var(--light); }
        
        /* --- UTILIDADES --- */
        .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
        .btn { padding: 12px 30px; border-radius: 8px; border: none; cursor: pointer; font-weight: 600; transition: 0.3s; text-decoration: none; display: inline-block; }
        .btn-primary { background: var(--primary); color: var(--white); }
        .btn-primary:hover { background: #004494; }
        
        /* --- HEADER --- */
        header { background: var(--white); box-shadow: 0 2px 10px rgba(0,0,0,0.05); padding: 15px 0; position: sticky; top: 0; z-index: 100; }
        nav { display: flex; justify-content: space-between; align-items: center; }
        .logo { font-size: 1.4rem; font-weight: 700; color: var(--primary); display: flex; align-items: center; gap: 10px; }
        .nav-links { display: flex; gap: 30px; }
        .nav-links a { color: var(--dark); font-weight: 500; text-decoration: none; font-size: 0.95rem; }
        
        /* --- HERO --- */
        .hero {
            background: linear-gradient(rgba(0, 86, 179, 0.9), rgba(0, 86, 179, 0.8)), url('https://images.unsplash.com/photo-1519494026892-80bbd2d6fd0d?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80');
            background-size: cover;
            background-position: center;
            height: 70vh; /* Un poco más bajo para que quepa más contenido */
            display: flex;
            align-items: center;
            text-align: center;
            color: var(--white);
        }
        .hero h1 { font-size: 3.5rem; margin-bottom: 20px; line-height: 1.1; }
        .hero p { font-size: 1.2rem; margin-bottom: 30px; opacity: 0.9; max-width: 700px; margin-left: auto; margin-right: auto; }

        /* --- SECCIONES COMUNES --- */
        .section-padding { padding: 80px 0; }
        .section-title { text-align: center; margin-bottom: 50px; }
        .section-title h2 { font-size: 2.2rem; color: var(--primary); margin-bottom: 15px; }
        .section-title span { display: block; width: 60px; height: 4px; background: var(--secondary); margin: 0 auto; border-radius: 2px; }

        /* --- ESPECIALIDADES --- */
        .grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
        .card { padding: 30px; background: var(--white); border-radius: 15px; text-align: center; transition: 0.3s; border: 1px solid #eee; }
        .card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--primary); }
        .card i { font-size: 2.5rem; color: var(--secondary); margin-bottom: 20px; }

        /* --- NOVEDADES / CAMPAÑAS --- */
        .news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
        .news-card { 
            background: var(--white); 
            border-radius: 15px; 
            overflow: hidden; 
            box-shadow: 0 5px 15px rgba(0,0,0,0.05); 
            transition: 0.3s;
            position: relative;
        }
        .news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
        .news-card img { width: 100%; height: 180px; object-fit: cover; }
        .news-content { padding: 20px; }
        .tag { 
            display: inline-block; 
            padding: 4px 10px; 
            background: #eee; 
            color: var(--primary); 
            border-radius: 20px; 
            font-size: 0.8rem; 
            font-weight: 600;
            margin-bottom: 10px;
        }
        .news-card.highlight { border: 2px solid var(--accent); }
        .news-card.highlight .tag { background: var(--accent); color: white; }

        /* --- NOSOTROS --- */
        .about-container { display: flex; gap: 50px; align-items: center; flex-wrap: wrap; }
        .about-img { flex: 1; min-width: 300px; border-radius: 20px; overflow: hidden; }
        .about-img img { width: 100%; height: auto; }
        .about-text { flex: 1; min-width: 300px; }
        .about-text h3 { font-size: 1.8rem; color: var(--dark); margin-bottom: 20px; }

        /* --- UBICACION --- */
        .location-container { display: flex; gap: 30px; flex-wrap: wrap; background: var(--white); padding: 30px; border-radius: 20px; box-shadow: var(--shadow); }
        .map-placeholder { flex: 2; min-width: 300px; height: 300px; background: #ddd; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #666; overflow: hidden;}
        .map-placeholder iframe { width: 100%; height: 100%; border: none; }
        .info-text { flex: 1; min-width: 250px; }
        .info-item { display: flex; gap: 15px; margin-bottom: 20px; align-items: flex-start; }
        .info-item i { color: var(--primary); font-size: 1.2rem; margin-top: 5px; }

        /* --- FOOTER MEJORADO --- */
        footer { background: var(--dark); color: #b0b0b0; padding: 60px 0 20px; }
        .footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; margin-bottom: 40px; }
        .footer-col h4 { color: var(--white); font-size: 1.2rem; margin-bottom: 20px; }
        .footer-col ul li { margin-bottom: 12px; }
        .footer-col ul li a { color: #b0b0b0; text-decoration: none; transition: 0.3s; }
        .footer-col ul li a:hover { color: var(--secondary); padding-left: 5px; }
        .social-icons a { color: var(--white); margin-right: 15px; font-size: 1.2rem; transition: 0.3s; }
        .social-icons a:hover { color: var(--secondary); }
        .copyright { text-align: center; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.9rem; }

        /* --- CHATBOT (Sin cambios) --- */
        .chat-widget { position: fixed; bottom: 30px; right: 30px; z-index: 1000; }
        .chat-toggle { width: 60px; height: 60px; background: var(--primary); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; cursor: pointer; box-shadow: 0 4px 15px rgba(0,0,0,0.2); transition: 0.3s; }
        .chat-toggle:hover { transform: scale(1.1); }
        .chat-window { position: absolute; bottom: 80px; right: 0; width: 350px; height: 500px; background: var(--white); border-radius: 15px; box-shadow: 0 5px 30px rgba(0,0,0,0.2); display: flex; flex-direction: column; overflow: hidden; transform: scale(0); transform-origin: bottom right; transition: 0.3s ease-in-out; opacity: 0; pointer-events: none; }
        .chat-window.active { transform: scale(1); opacity: 1; pointer-events: all; }
        .chat-header { background: var(--primary); color: var(--white); padding: 15px; display: flex; align-items: center; justify-content: space-between; }
        .chat-info { display: flex; align-items: center; gap: 10px; }
        .avatar { width: 35px; height: 35px; background: rgba(255,255,255,0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
        .close-chat { cursor: pointer; font-size: 1.2rem; }
        .chat-body { flex: 1; padding: 15px; background: var(--light); overflow-y: auto; display: flex; flex-direction: column; gap: 10px; }
        .message { max-width: 80%; padding: 10px 15px; border-radius: 10px; font-size: 0.9rem; animation: fadeIn 0.3s ease; }
        @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
        .message.bot { background: var(--white); align-self: flex-start; border-bottom-left-radius: 2px; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
        .message.user { background: var(--primary); color: var(--white); align-self: flex-end; border-bottom-right-radius: 2px; }
        .chat-footer { padding: 10px; background: var(--white); border-top: 1px solid #eee; }
        .input-group { display: flex; gap: 5px; }
        .input-group input { flex: 1; padding: 10px; border: 1px solid #ddd; border-radius: 20px; outline: none; }
        .input-group button { width: 40px; height: 40px; border: none; background: var(--primary); color: white; border-radius: 50%; cursor: pointer; }
        .specialty-options { display: none; flex-wrap: wrap; gap: 5px; }
        .specialty-options.active { display: flex; }
        .chat-btn { background: #f0f0f0; border: 1px solid #ddd; padding: 8px 12px; border-radius: 20px; font-size: 0.85rem; cursor: pointer; transition: 0.2s; width: 100%; text-align: left; }
        .chat-btn:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }

        @media (max-width: 768px) {
            .hero h1 { font-size: 2.5rem; }
            .chat-window { width: 300px; bottom: 70px; right: 10px; }
            .nav-links { display: none; } /* En móvil simplificamos ocultando el nav por brevedad */
        }
    