        :root {
            --morado-principal: #6B4E9B;
            --morado-hover: #5a3f85;
            --morado-light: #e8e0f5;
            --morado-claro: #9b7ec4;
            --plata: #b8b8c8;
            --plata-dark: #7a7a8a;
            --blanco: #ffffff;
            --gris-texto: #4a4a4a;
            --gris-claro: #f5f5fa;
            --sombra: rgba(107, 78, 155, 0.15);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: 'Nunito Sans', sans-serif;
            color: var(--gris-texto);
            line-height: 1.7;
            overflow-x: hidden;
        }

        h1, h2, h3, h4 {
            font-family: 'Cormorant Garamond', serif;
            font-weight: 600;
        }

        .container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 5%;
        }

        /* Animaciones */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(40px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes fadeInLeft {
            from {
                opacity: 0;
                transform: translateX(-40px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        @keyframes fadeInRight {
            from {
                opacity: 0;
                transform: translateX(40px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        @keyframes pulse {
            0%, 100% {
                transform: scale(1);
            }
            50% {
                transform: scale(1.05);
            }
        }

        @keyframes float {
            0%, 100% {
                transform: translateY(0);
            }
            50% {
                transform: translateY(-10px);
            }
        }

        @keyframes heartbeat {
            0%, 100% {
                transform: scale(1);
            }
            14% {
                transform: scale(1.1);
            }
            28% {
                transform: scale(1);
            }
            42% {
                transform: scale(1.1);
            }
            70% {
                transform: scale(1);
            }
        }

        .animate-on-scroll {
            opacity: 0;
            transform: translateY(40px);
            transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .animate-on-scroll.visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* Header */
        header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            padding: 1rem 5%;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            transition: all 0.4s ease;
            box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
        }

        header.scrolled {
            padding: 0.7rem 5%;
            box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
        }

        nav {
            max-width: 1400px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            height: 55px;
            transition: transform 0.3s ease;
        }

        .logo:hover {
            transform: scale(1.05);
        }

        .nav-links {
            display: flex;
            gap: 2.5rem;
            list-style: none;
            align-items: center;
        }

        .nav-links a {
            text-decoration: none;
            color: var(--gris-texto);
            font-weight: 500;
            font-size: 0.95rem;
            position: relative;
            transition: color 0.3s ease;
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: -4px;
            left: 0;
            width: 0;
            height: 2px;
            background: linear-gradient(90deg, var(--morado-principal), var(--morado-claro));
            transition: width 0.3s ease;
        }

        .nav-links a:hover {
            color: var(--morado-principal);
        }

        .nav-links a:hover::after {
            width: 100%;
        }

        .nav-cta {
            background: var(--morado-principal);
            color: white !important;
            padding: 0.7rem 1.5rem;
            border-radius: 50px;
            font-weight: 600;
            transition: all 0.3s ease;
        }

        .nav-cta:hover {
            background: var(--morado-hover);
            transform: translateY(-2px);
            box-shadow: 0 8px 25px var(--sombra);
        }

        .nav-cta::after {
            display: none !important;
        }

        .mobile-menu {
            display: none;
            flex-direction: column;
            gap: 5px;
            cursor: pointer;
            padding: 10px;
            z-index: 1001;
        }

        .mobile-menu span {
            width: 25px;
            height: 2px;
            background: var(--gris-texto);
            transition: all 0.3s ease;
        }

        .mobile-menu.active span:nth-child(1) {
            transform: rotate(45deg) translate(5px, 5px);
        }

        .mobile-menu.active span:nth-child(2) {
            opacity: 0;
        }

        .mobile-menu.active span:nth-child(3) {
            transform: rotate(-45deg) translate(5px, -5px);
        }

        /* Hero Section */
        .hero {
            min-height: 100vh;
            display: flex;
            align-items: center;
            position: relative;
            background: linear-gradient(135deg, var(--morado-light) 0%, var(--blanco) 50%, var(--gris-claro) 100%);
            overflow: hidden;
            padding-top: 80px;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: 
                radial-gradient(circle at 20% 80%, rgba(107, 78, 155, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(155, 126, 196, 0.12) 0%, transparent 50%);
            pointer-events: none;
        }

        .hero-stripe {
            position: absolute;
            top: 0;
            right: 0;
            width: 45%;
            height: 100%;
            background: linear-gradient(180deg, #e9e7ec 0%, rgba(107, 78, 155, 0.7) 100%);
            clip-path: polygon(30% 0, 100% 0, 100% 100%, 0% 100%);
            opacity: 0.9;
        }

        .hero-content {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 5%;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
            position: relative;
            z-index: 2;
        }

        .hero-text {
            animation: fadeInLeft 1s ease-out;
        }

        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            background: white;
            padding: 0.5rem 1rem;
            border-radius: 50px;
            font-size: 0.85rem;
            color: var(--morado-principal);
            font-weight: 600;
            margin-bottom: 1.5rem;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
        }

        .hero-badge svg {
            animation: heartbeat 2s infinite;
        }

        .hero h1 {
            font-size: clamp(2.5rem, 5vw, 3rem);
            color: var(--gris-texto);
            margin-bottom: 1.5rem;
            line-height: 1.2;
        }

        .hero h1 span {
            color: var(--morado-principal);
            position: relative;
        }

        .hero-features {
            list-style: none;
            margin: 2rem 0;
        }

        .hero-features li {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1rem;
            font-size: 1.05rem;
            opacity: 0;
            animation: fadeInUp 0.6s ease-out forwards;
        }

        .hero-features li:nth-child(1) { animation-delay: 0.3s; }
        .hero-features li:nth-child(2) { animation-delay: 0.45s; }
        .hero-features li:nth-child(3) { animation-delay: 0.6s; }
        .hero-features li:nth-child(4) { animation-delay: 0.75s; }
        .hero-features li:nth-child(5) { animation-delay: 0.9s; }

        .feature-icon {
            width: 40px;
            height: 40px;
            background: linear-gradient(135deg, var(--morado-principal), var(--morado-claro));
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            box-shadow: 0 4px 15px var(--sombra);
        }

        .feature-icon svg {
            width: 20px;
            height: 20px;
            color: white;
        }

        .hero-buttons {
            display: flex;
            gap: 1rem;
            margin-top: 2.5rem;
            flex-wrap: wrap;
        }

        .btn {
            padding: 1rem 2rem;
            border-radius: 50px;
            font-weight: 600;
            font-size: 1rem;
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            border: none;
            font-family: inherit;
        }

        .btn-primary {
            background: linear-gradient(135deg, var(--morado-principal), var(--morado-claro));
            color: white;
            box-shadow: 0 8px 30px var(--sombra);
        }

        .btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 40px rgba(107, 78, 155, 0.3);
        }

        .btn-secondary {
            background: transparent;
            color: var(--gris-texto);
            border: 2px solid var(--plata);
        }

        .btn-secondary:hover {
            border-color: var(--morado-principal);
            color: var(--morado-principal);
            transform: translateY(-3px);
        }

        .hero-visual {
            position: relative;
            animation: fadeInRight 1s ease-out;
        }

        .hero-card {
            background: white;
            border-radius: 24px;
            padding: 2.5rem;
            box-shadow: 0 25px 80px rgba(0, 0, 0, 0.1);
            position: relative;
            overflow: hidden;
        }

        .hero-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 5px;
            background: linear-gradient(90deg, var(--morado-principal), var(--morado-claro));
        }

        .years-badge {
            position: absolute;
            top: -20px;
            right: -20px;
            width: 120px;
            height: 120px;
            background: linear-gradient(135deg, var(--morado-principal), var(--morado-claro));
            border-radius: 50%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            color: white;
            box-shadow: 0 10px 40px var(--sombra);
            animation: float 3s ease-in-out infinite;
        }

        .years-badge .number {
            font-family: 'Cormorant Garamond', serif;
            font-size: 2.5rem;
            font-weight: 700;
            line-height: 1;
        }

        .years-badge .text {
            font-size: 0.7rem;
            text-align: center;
            line-height: 1.2;
        }

        .stat-list {
            list-style: none;
            margin-top: 1.5rem;
        }

        .stat-list li {
            display: flex;
            align-items: center;
            gap: 0.8rem;
            margin-bottom: 0.8rem;
            font-size: 0.95rem;
            color: var(--gris-texto);
        }

        .check {
            color: var(--morado-principal);
            font-weight: bold;
            font-size: 1.2rem;
        }

        /* Quienes Somos */
        .about {
            padding: 8rem 5%;
            background: white;
            position: relative;
        }

        .about::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 200px;
            background: linear-gradient(180deg, var(--gris-claro), transparent);
        }

        .section-header {
            text-align: center;
            max-width: 700px;
            margin: 0 auto 4rem;
            position: relative;
        }

        .section-label {
            display: inline-block;
            background: var(--morado-light);
            color: var(--morado-principal);
            padding: 0.4rem 1rem;
            border-radius: 50px;
            font-size: 0.85rem;
            font-weight: 600;
            margin-bottom: 1rem;
            letter-spacing: 1px;
            text-transform: uppercase;
        }

        .section-title {
            font-size: clamp(2rem, 4vw, 3rem);
            color: var(--gris-texto);
            margin-bottom: 1rem;
        }

        .section-subtitle {
            color: var(--plata-dark);
            font-size: 1.1rem;
        }

        .about-content {
            max-width: 1400px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
        }

        .about-text p {
            margin-bottom: 1.5rem;
            font-size: 1.05rem;
        }

        .about-text p:first-of-type::first-letter {
            font-family: 'Cormorant Garamond', serif;
            font-size: 4rem;
            float: left;
            line-height: 1;
            padding-right: 0.5rem;
            color: var(--morado-principal);
        }

        /* Especialidades */
        .specialties {
            padding: 8rem 5%;
            background: linear-gradient(180deg, var(--gris-claro) 0%, white 100%);
        }

        .specialties-grid {
            max-width: 1400px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 2rem;
        }

        .specialty-card {
            background: white;
            border-radius: 20px;
            padding: 2rem;
            text-align: center;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
            position: relative;
            overflow: hidden;
        }

        .specialty-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, var(--morado-principal), var(--morado-claro));
            transform: scaleX(0);
            transition: transform 0.4s ease;
        }

        .specialty-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
        }

        .specialty-card:hover::before {
            transform: scaleX(1);
        }

        .specialty-icon {
            width: 70px;
            height: 70px;
            margin: 0 auto 1.5rem;
            background: linear-gradient(135deg, var(--morado-light), white);
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
        }

        .specialty-card:hover .specialty-icon {
            background: linear-gradient(135deg, var(--morado-principal), var(--morado-claro));
            transform: rotate(5deg) scale(1.1);
        }

        .specialty-icon svg {
            width: 35px;
            height: 35px;
            color: var(--morado-principal);
            transition: color 0.3s ease;
        }

        .specialty-card:hover .specialty-icon svg {
            color: white;
        }

        .specialty-card h3 {
            font-size: 1.3rem;
            margin-bottom: 0.75rem;
            color: var(--gris-texto);
        }

        .specialty-card p {
            font-size: 0.95rem;
            color: var(--plata-dark);
        }

        /* Dirección Médica */
        .medical-direction {
            padding: 60px 5%;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            position: relative;
            overflow: hidden;
        }
        
        .medical-direction::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="none"/><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
            opacity: 0.3;
        }
        
        .medical-direction-content {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 30px;
            position: relative;
            z-index: 1;
        }
        
        .medical-direction-badge {
            width: 80px;
            height: 80px;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            backdrop-filter: blur(10px);
            border: 2px solid rgba(255, 255, 255, 0.3);
        }

        .medical-direction-badge svg {
            width: 40px;
            height: 40px;
            color: white;
        }

        .medical-direction-info {
            color: white;
        }

        .medical-direction-label {
            display: block;
            font-size: 0.85rem;
            opacity: 0.9;
            margin-bottom: 0.3rem;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .medical-direction-name {
            font-size: 2rem;
            margin-bottom: 0.2rem;
        }

        .medical-direction-specialty {
            font-size: 1.1rem;
            opacity: 0.9;
        }

        /* Doctors Section */
        .doctors-section {
            padding: 8rem 5%;
            background: white;
        }

        .doctors-search {
            max-width: 800px;
            margin: 0 auto 4rem;
        }

        .search-tabs {
            display: flex;
            gap: 1rem;
            justify-content: center;
            margin-bottom: 2rem;
        }

        .search-tab {
            padding: 0.8rem 2rem;
            background: transparent;
            border: 2px solid var(--plata);
            border-radius: 50px;
            font-family: 'Nunito Sans', sans-serif;
            font-weight: 600;
            font-size: 0.95rem;
            color: var(--gris-texto);
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .search-tab.active {
            background: linear-gradient(135deg, var(--morado-principal), var(--morado-claro));
            color: white;
            border-color: transparent;
        }

        .search-content {
            display: none;
        }

        .search-content.active {
            display: block;
        }

        .search-input-wrapper,
        .os-search-wrapper {
            position: relative;
        }

        .search-input {
            width: 100%;
            padding: 1.2rem 3.5rem 1.2rem 1.5rem;
            border: 2px solid var(--plata);
            border-radius: 50px;
            font-size: 1rem;
            font-family: 'Nunito Sans', sans-serif;
            transition: all 0.3s ease;
        }

        .search-input:focus {
            outline: none;
            border-color: var(--morado-principal);
            box-shadow: 0 0 0 4px rgba(107, 78, 155, 0.1);
        }

        .search-icon {
            position: absolute;
            right: 1.5rem;
            top: 50%;
            transform: translateY(-50%);
            width: 20px;
            height: 20px;
            color: var(--plata-dark);
            pointer-events: none;
        }

        .os-results {
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background: white;
            border: 2px solid var(--plata);
            border-top: none;
            border-radius: 0 0 20px 20px;
            max-height: 300px;
            overflow-y: auto;
            display: none;
            z-index: 10;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
        }

        .os-results.active {
            display: block;
        }

        .os-result-item {
            padding: 1rem 1.5rem;
            cursor: pointer;
            transition: all 0.2s;
            border-bottom: 1px solid var(--gris-claro);
        }

        .os-result-item:last-child {
            border-bottom: none;
        }

        .os-result-item:hover {
            background: var(--morado-light);
            color: var(--morado-principal);
        }

        .search-results-count {
            text-align: center;
            margin-top: 1rem;
            color: var(--plata-dark);
            font-size: 0.95rem;
        }

        /* Doctors Grid */
        .doctors-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 2rem;
            max-width: 1400px;
            margin: 0 auto;
        }

        .doctor-card {
            background: white;
            border-radius: 24px;
            overflow: hidden;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            border: 1px solid var(--gris-claro);
        }

        .doctor-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 50px rgba(107, 78, 155, 0.15);
        }

        .doctor-header {
            padding: 1.5rem 1.5rem 0.5rem;
        }

        .doctor-specialty {
            display: inline-block;
            background: var(--morado-light);
            color: var(--morado-principal);
            padding: 0.4rem 1rem;
            border-radius: 50px;
            font-size: 0.8rem;
            font-weight: 600;
            letter-spacing: 0.5px;
        }

        .doctor-body {
            padding: 1rem 1.5rem 1.5rem;
        }

        .doctor-name {
            font-size: 1.4rem;
            color: var(--gris-texto);
            margin-bottom: 1rem;
        }

        .doctor-info-item {
            display: flex;
            align-items: center;
            gap: 0.7rem;
            margin-bottom: 1.2rem;
            color: var(--plata-dark);
            font-size: 0.9rem;
        }

        .info-icon {
            width: 20px;
            height: 20px;
            color: var(--morado-claro);
        }

        .btn-doctor-action {
            width: 100%;
            padding: 1rem;
            background: linear-gradient(135deg, var(--morado-principal), var(--morado-claro));
            color: white;
            border: none;
            border-radius: 16px;
            font-weight: 600;
            font-size: 0.95rem;
            cursor: pointer;
            transition: all 0.3s ease;
            font-family: 'Nunito Sans', sans-serif;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
        }

        .btn-doctor-action svg {
            width: 18px;
            height: 18px;
        }

        .btn-doctor-action:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(107, 78, 155, 0.3);
        }

        /* Modal */
        .doctor-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 2000;
            align-items: center;
            justify-content: center;
            padding: 2rem;
        }

        .doctor-modal.active {
            display: flex;
        }

        .modal-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(26, 35, 50, 0.8);
            backdrop-filter: blur(8px);
        }

        .modal-container {
            background: white;
            border-radius: 30px;
            max-width: 700px;
            width: 100%;
            max-height: 85vh;
            display: flex;
            flex-direction: column;
            position: relative;
            z-index: 1;
            animation: modalSlideUp 0.4s ease-out;
        }

        @keyframes modalSlideUp {
            from {
                opacity: 0;
                transform: translateY(40px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .modal-header {
            padding: 2rem;
            background: linear-gradient(135deg, var(--morado-principal), var(--morado-claro));
            color: white;
            position: relative;
            border-radius: 30px 30px 0 0;
        }

        .modal-header h2 {
            font-size: 1.8rem;
            margin-bottom: 0.3rem;
        }

        .modal-header p {
            opacity: 0.9;
            font-size: 1.05rem;
        }

        .modal-close {
            position: absolute;
            top: 1.5rem;
            right: 1.5rem;
            width: 45px;
            height: 45px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.2);
            border: none;
            color: white;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .modal-close:hover {
            background: rgba(255, 255, 255, 0.3);
            transform: rotate(90deg);
        }

        .modal-close svg {
            width: 24px;
            height: 24px;
        }

        .modal-body {
            padding: 2rem;
            overflow-y: auto;
            flex: 1;
        }

        .modal-section-title {
            font-size: 1.4rem;
            margin-bottom: 1.5rem;
            color: var(--gris-texto);
        }

        .schedule-loading {
            text-align: center;
            padding: 2rem;
        }

        .loading-spinner {
            display: inline-block;
            width: 40px;
            height: 40px;
            border: 4px solid var(--morado-light);
            border-radius: 50%;
            border-top-color: var(--morado-principal);
            animation: spin 0.8s linear infinite;
        }

        @keyframes spin {
            to { transform: rotate(360deg); }
        }

        .schedule-grid {
            display: grid;
            gap: 1rem;
        }

        .schedule-day {
            padding: 1.2rem;
            background: var(--gris-claro);
            border-radius: 16px;
            border-left: 4px solid var(--morado-principal);
        }

        .day-name {
            font-weight: 700;
            color: var(--gris-texto);
            margin-bottom: 0.7rem;
            font-size: 1rem;
        }

        .schedule-time {
            display: flex;
            flex-wrap: wrap;
            gap: 0.7rem;
        }

        .time-badge {
            padding: 0.5rem 1rem;
            border-radius: 10px;
            font-size: 0.85rem;
            font-weight: 600;
        }

        .modal-os-section {
            margin-top: 2.5rem;
            padding-top: 2.5rem;
            border-top: 2px solid var(--gris-claro);
        }

        .os-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
            gap: 1rem;
        }

        .os-badge {
            padding: 0.8rem;
            background: var(--gris-claro);
            border-radius: 12px;
            text-align: center;
            font-weight: 600;
            font-size: 0.85rem;
            color: var(--plata-dark);
            border: 2px solid transparent;
            transition: all 0.3s ease;
        }

        .os-badge:hover {
            border-color: var(--morado-principal);
            background: var(--morado-light);
            color: var(--morado-principal);
        }

        /* Testimonios */
        .testimonials {
            padding: 8rem 5%;
            background: linear-gradient(135deg, var(--gris-claro) 0%, var(--morado-light) 100%);
            position: relative;
            overflow: hidden;
        }

        .testimonials::before {
            content: '"';
            position: absolute;
            top: -50px;
            left: 5%;
            font-family: 'Cormorant Garamond', serif;
            font-size: 400px;
            color: rgba(107, 78, 155, 0.05);
            line-height: 1;
            pointer-events: none;
        }

        .testimonials-grid {
            max-width: 1400px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 2rem;
            position: relative;
        }

        .testimonial-card {
            background: white;
            border-radius: 24px;
            padding: 2.5rem;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
            position: relative;
            transition: all 0.4s ease;
        }

        .testimonial-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
        }

        .testimonial-quote {
            width: 50px;
            height: 50px;
            background: linear-gradient(135deg, var(--morado-principal), var(--morado-claro));
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1.5rem;
        }

        .testimonial-quote svg {
            width: 24px;
            height: 24px;
            color: white;
        }

        .testimonial-text {
            font-size: 1.1rem;
            font-style: italic;
            color: var(--gris-texto);
            line-height: 1.8;
            margin-bottom: 1.5rem;
        }

        .testimonial-author {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .author-avatar {
            width: 50px;
            height: 50px;
            background: linear-gradient(135deg, var(--morado-light), var(--plata));
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .author-avatar svg {
            width: 24px;
            height: 24px;
            color: var(--morado-principal);
        }

        .author-info {
            font-size: 0.9rem;
        }

        .author-info strong {
            display: block;
            color: var(--gris-texto);
        }

        .author-info span {
            color: var(--plata-dark);
        }

        .stars {
            display: flex;
            gap: 0.25rem;
            margin-bottom: 1rem;
        }

        .stars svg {
            width: 18px;
            height: 18px;
            color: #fbbf24;
        }

        /* Contacto */
        .contact {
            padding: 8rem 5%;
            background: white;
        }

        .contact-wrapper {
            max-width: 1400px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
        }

        .contact-info {
            background: linear-gradient(135deg, var(--morado-principal), var(--morado-claro));
            border-radius: 30px;
            padding: 3rem;
            color: white;
            position: relative;
            overflow: hidden;
        }

        .contact-info::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -50%;
            width: 100%;
            height: 100%;
            background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
            pointer-events: none;
        }

        .contact-info h3 {
            font-size: 2rem;
            margin-bottom: 2rem;
        }

        .contact-item {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1.5rem;
            padding: 1rem;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 15px;
            transition: all 0.3s ease;
        }

        .contact-item:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: translateX(10px);
        }

        .contact-icon {
            width: 50px;
            height: 50px;
            background: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .contact-icon svg {
            width: 24px;
            height: 24px;
            color: var(--morado-principal);
        }

        .contact-text {
            font-size: 0.95rem;
        }

        .contact-text strong {
            display: block;
            font-size: 1.1rem;
        }

        .contact-cta {
            margin-top: 2rem;
        }

        .btn-white {
            background: white;
            color: var(--morado-principal);
            width: 100%;
            justify-content: center;
            font-size: 1.1rem;
            padding: 1.2rem 2rem;
        }

        .btn-white:hover {
            background: var(--gris-claro);
            transform: translateY(-3px);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        }

        .insurance-notice {
            background: var(--gris-claro);
            border-radius: 20px;
            padding: 2.5rem;
            text-align: center;
        }

        .insurance-notice h4 {
            font-size: 1.5rem;
            margin-bottom: 1rem;
            color: var(--gris-texto);
        }

        .insurance-notice p {
            color: var(--plata-dark);
            margin-bottom: 1.5rem;
        }

        .insurance-logos {
            display: flex;
            justify-content: center;
            gap: 2rem;
            flex-wrap: wrap;
            margin-top: 1.5rem;
            opacity: 0.6;
        }

        .insurance-logos span {
            padding: 0.75rem 1.5rem;
            background: white;
            border-radius: 10px;
            font-weight: 600;
            color: var(--plata-dark);
        }

        /* Footer */
        footer {
            background: linear-gradient(135deg, #2d3436, #1a1a2e);
            color: white;
            padding: 4rem 5% 2rem;
        }

        .footer-content {
            max-width: 1400px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 3rem;
        }

        .footer-brand .logo {
            filter: brightness(0) invert(1);
            margin-bottom: 1rem;
        }

        .footer-brand p {
            color: rgba(255, 255, 255, 0.7);
            font-size: 0.95rem;
        }

        .footer-links h4 {
            font-size: 1.2rem;
            margin-bottom: 1.5rem;
            color: var(--morado-claro);
        }

        .footer-links ul {
            list-style: none;
        }

        .footer-links li {
            margin-bottom: 0.75rem;
        }

        .footer-links a {
            color: rgba(255, 255, 255, 0.7);
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .footer-links a:hover {
            color: var(--morado-claro);
            padding-left: 5px;
        }

        .footer-social {
            display: flex;
            gap: 1rem;
            margin-top: 1rem;
        }

        .footer-social a {
            width: 45px;
            height: 45px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
        }

        .footer-social a:hover {
            background: var(--morado-principal);
            transform: translateY(-5px);
        }

        .footer-social svg {
            width: 20px;
            height: 20px;
            color: white;
        }

        .footer-bottom {
            max-width: 1400px;
            margin: 3rem auto 0;
            padding-top: 2rem;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            text-align: center;
            color: rgba(255, 255, 255, 0.5);
            font-size: 0.9rem;
        }

        /* WhatsApp Flotante */
        .whatsapp-float {
            position: fixed;
            bottom: 30px;
            right: 30px;
            z-index: 999;
        }

        .whatsapp-btn {
            width: 65px;
            height: 65px;
            background: #25d366;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
            transition: all 0.3s ease;
            animation: pulse 2s infinite;
        }

        .whatsapp-btn:hover {
            transform: scale(1.1);
            box-shadow: 0 12px 40px rgba(37, 211, 102, 0.5);
        }

        .whatsapp-btn svg {
            width: 35px;
            height: 35px;
            color: white;
        }

        /* Page Loader */
        .page-loader {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: white;
            z-index: 9999;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: opacity 0.5s ease, visibility 0.5s ease;
        }

        .page-loader.hidden {
            opacity: 0;
            visibility: hidden;
        }

        .loader-heart {
            width: 60px;
            height: 60px;
            color: var(--morado-principal);
            animation: heartbeat 1s infinite;
        }

        .scroll-indicator {
            position: absolute;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.5rem;
            color: var(--plata-dark);
            font-size: 0.85rem;
            animation: float 2s ease-in-out infinite;
        }

        .scroll-indicator svg {
            width: 24px;
            height: 24px;
        }

        /* Responsive */
        @media (max-width: 1024px) {
            .hero-content {
                grid-template-columns: 1fr;
                text-align: center;
            }

            .hero-stripe {
                width: 100%;
                height: 40%;
                clip-path: polygon(0 60%, 100% 40%, 100% 100%, 0% 100%);
                opacity: 0.5;
            }

            .hero-visual {
                order: -1;
            }

            .hero-buttons {
                justify-content: center;
            }

            .hero-features li {
                justify-content: center;
            }

            .about-content,
            .contact-wrapper {
                grid-template-columns: 1fr;
            }

            .years-badge {
                top: -10px;
                right: 10px;
                width: 100px;
                height: 100px;
            }

            .years-badge .number {
                font-size: 2rem;
            }
        }

        @media (max-width: 768px) {
            .nav-links {
                position: absolute;
                top: 100%;
                left: 0;
                right: 0;
                background: white;
                flex-direction: column;
                padding: 1.5rem;
                gap: 0;
                box-shadow: 0 10px 40px rgba(0,0,0,0.15);
                border-top: 1px solid #eee;
                max-height: 0;
                overflow: hidden;
                opacity: 0;
                transition: all 0.3s ease;
            }

            .nav-links.active {
                max-height: 500px;
                opacity: 1;
                padding: 1.5rem;
            }

            .nav-links li {
                width: 100%;
                border-bottom: 1px solid #f0f0f0;
            }

            .nav-links li:last-child {
                border-bottom: none;
                margin-top: 0.5rem;
            }

            .nav-links a {
                display: block;
                padding: 1rem 0;
                font-size: 1rem;
            }

            .nav-links a::after {
                display: none;
            }

            .nav-cta {
                text-align: center;
                margin-top: 0.5rem;
            }

            .mobile-menu {
                display: flex;
            }

            .hero h1 {
                font-size: 1rem;
            }

            .hero-features li {
                text-align: left;
                justify-content: flex-start;
            }

            .hero-buttons {
                flex-direction: column;
                align-items: center;
            }

            .hero-buttons .btn {
                width: 100%;
                max-width: 300px;
                justify-content: center;
            }

            .testimonials-grid {
                grid-template-columns: 1fr;
            }

            .section-title {
                font-size: 1.8rem;
            }

            .contact-info {
                padding: 2rem;
            }

            .contact-info h3 {
                font-size: 1.5rem;
            }

            .footer-content {
                grid-template-columns: 1fr;
                text-align: center;
            }

            .footer-social {
                justify-content: center;
            }

            .scroll-indicator {
                display: none;
            }

            .whatsapp-float {
                bottom: 20px;
                right: 20px;
            }

            .whatsapp-btn {
                width: 55px;
                height: 55px;
            }

            .whatsapp-btn svg {
                width: 28px;
                height: 28px;
            }

            .doctors-grid {
                grid-template-columns: 1fr;
            }
            
            .search-tabs {
                flex-direction: column;
            }
            
            .search-tab {
                width: 100%;
            }
            
            .modal-container {
                border-radius: 30px 30px 0 0;
                margin-top: auto;
            }
            
            .os-grid {
                grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
            }
        }
        
        
        