
        /* --- PALETA DE COLORES Y VARIABLES --- */
        :root {
            --primary-teal: #0b666b;
            --secondary-teal: #158a96;
            --accent-teal: #29adb4;
            --accent-purple: #7e4892;
            
            --dark-text: #2c3e50;
            --light-text: #7f8c8d;
            --white: #FFFFFF;
            --light-bg: #f8f9fa;
            --border-color: #e9ecef;

            --footer-bg: var(--primary-teal);
            
            --font-primary: 'Montserrat', sans-serif;
            --font-secondary: 'Open Sans', sans-serif;
            
            --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
            --shadow-md: 0 8px 20px rgba(0, 0, 0, 0.08);
            --border-radius: 12px;
        }

        /* --- RESET Y ESTILOS GENERALES --- */
        * { margin: 0; padding: 0; box-sizing: border-box; }
        html { scroll-behavior: smooth; }
        body { 
            font-family: var(--font-secondary); 
            line-height: 1.7; 
            color: var(--dark-text); 
            background-color: var(--white); 
            overflow-x: hidden; 
        }
        .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

        /* --- 1. SECCIÓN HERO --- */
        .hero-index {
            background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../img/wellnessBack.jpg') no-repeat center center/cover;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
            text-align: center;
            padding: 20px;
            position: relative;
        }

        .portal-container {
            max-width: 600px;
            width: 100%;
            background-color: rgba(0, 0, 0, 0.25); 
            padding: clamp(30px, 8vw, 60px);
            border-radius: 20px; 
            backdrop-filter: blur(8px); 
            border: 1px solid rgba(255, 255, 255, 0.1); 
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            animation: fadeInScaleUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
            color: var(--white);
            font-family: var(--font-primary);
        }

        .logo-img-hero { height: 80px; margin-bottom: 25px; opacity: 0; animation: slideInUp 0.6s 0.2s forwards; }
        .portal-container h1 { font-size: clamp(2rem, 6vw, 2.8rem); font-weight: 800; margin-bottom: 15px; opacity: 0; animation: slideInUp 0.6s 0.3s forwards; text-shadow: 0 2px 4px rgba(0,0,0,0.3); }
        .portal-container p { font-size: clamp(1rem, 3vw, 1.2rem); margin-bottom: 40px; font-weight: 400; opacity: 0; animation: slideInUp 0.6s 0.4s forwards; }
        .location-selector { display: flex; flex-direction: column; gap: 20px; opacity: 0; animation: slideInUp 0.6s 0.5s forwards; }
        
        @media (min-width: 500px) { .location-selector { flex-direction: row; } }

        .btn-location {
            flex: 1; padding: 20px 30px; border-radius: 50px; text-decoration: none;
            font-weight: 700; font-size: 1.2em; background-color: var(--accent-teal);
            color: var(--white); border: 2px solid var(--accent-teal); 
            box-shadow: 0 4px 15px rgba(41, 173, 180, 0.4); transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s;
        }

        .btn-location:hover {
            transform: translateY(-5px); box-shadow: 0 8px 25px rgba(41, 173, 180, 0.6);
            background-color: var(--primary-teal); border-color: var(--primary-teal);
        }

        @keyframes fadeInScaleUp { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }
        @keyframes slideInUp { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }

        /* --- 2. ESTILOS DE SECCIÓN --- */
        section { padding: clamp(60px, 8vw, 100px) 0; }
        section:nth-of-type(odd) { background-color: var(--light-bg); }
        section h2 { font-family: var(--font-primary); font-weight: 800; font-size: clamp(2.2rem, 5vw, 2.8rem); color: var(--primary-teal); text-align: center; margin-bottom: 20px; }
        .section-subtitle { text-align: center; font-size: clamp(1rem, 2.5vw, 1.2rem); color: var(--light-text); max-width: 700px; margin: 0 auto 60px; }

        /* --- 3. ESTILOS DE TARJETAS (Cards) INTERACTIVAS --- */
        .grid-container { display: grid; grid-template-columns: 1fr; gap: 30px; }
        @media (min-width: 768px) {
            .grid-container { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
            .services-grid { grid-template-columns: repeat(2, 1fr); }
        }

        .card { 
            background-color: var(--white); 
            padding: 35px; 
            border-radius: var(--border-radius); 
            box-shadow: var(--shadow-sm); 
            transition: transform 0.3s ease, box-shadow 0.3s ease; 
            border: 1px solid var(--border-color); 
            display: flex; 
            flex-direction: column; 
            text-align: center; 
        }
        
        .interactive-card {
            cursor: pointer; 
        }
        
        .card:hover { transform: translateY(-10px); box-shadow: var(--shadow-md); }
        .card-content { flex-grow: 1; } 
        .card .icon { font-size: 3.5em; margin-bottom: 20px; color: var(--accent-teal); transition: transform 0.3s; }
        .card:hover .icon { transform: scale(1.1); } 
        .card h3 { font-family: var(--font-primary); font-weight: 700; color: var(--primary-teal); margin-bottom: 15px; font-size: 1.5em; }
        .card p { font-size: 1em; color: var(--light-text); margin-bottom: 15px; }

        .click-hint {
            margin-top: auto;
            font-size: 0.9em;
            color: var(--accent-purple);
            font-weight: 600;
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 5px;
            transition: color 0.3s;
        }
        .card:hover .click-hint {
            color: var(--accent-teal);
        }

        /* --- DISEÑO DE LA VENTANA MODAL --- */
        .modal-overlay {
            position: fixed;
            top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(0, 0, 0, 0.6);
            backdrop-filter: blur(5px);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 9999;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease, visibility 0.3s ease;
        }
        .modal-overlay.active {
            opacity: 1;
            visibility: visible;
        }
        .modal-box {
            background: var(--white);
            padding: 40px;
            border-radius: 15px;
            width: 90%;
            max-width: 500px;
            position: relative;
            transform: translateY(-20px);
            transition: transform 0.3s ease;
            box-shadow: 0 15px 40px rgba(0,0,0,0.2);
            text-align: left;
        }
        .modal-overlay.active .modal-box {
            transform: translateY(0);
        }
        .close-btn {
            position: absolute;
            top: 15px; right: 20px;
            font-size: 1.8rem;
            color: var(--light-text);
            cursor: pointer;
            transition: color 0.2s;
        }
        .close-btn:hover { color: var(--dark-text); }
        
        #modal-title {
            font-family: var(--font-primary);
            color: var(--primary-teal);
            margin-bottom: 20px;
            font-size: 1.6rem;
            border-bottom: 2px solid var(--light-bg);
            padding-bottom: 10px;
        }
        .modal-location {
            margin-bottom: 20px;
        }
        .modal-location h4 {
            color: var(--accent-teal);
            font-family: var(--font-primary);
            font-size: 1.1rem;
            margin-bottom: 5px;
        }
        .modal-location p {
            color: var(--dark-text);
            font-size: 0.95rem;
            line-height: 1.5;
            margin: 0;
        }

        /* --- ENLACES DE LOCALIDADES --- */
        .card-link { margin-top: 20px; font-family: var(--font-primary); font-weight: 700; color: var(--accent-teal); text-decoration: none; display: inline-block; transition: color 0.3s; }
        .card-link:hover { color: var(--primary-teal); }

        /* --- FOOTER Y ANIMACIONES --- */
        .main-footer { background-color: var(--footer-bg); color: rgba(255, 255, 255, 0.8); padding: 50px 0; text-align: center; }
        .footer-logo { height: 60px; margin-bottom: 20px; opacity: 0.9; }

        .fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
        .fade-in.is-visible { opacity: 1; transform: translateY(0); }
    

