.curtain-reveal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 9999;
            display: flex;
            flex-direction: column;
            pointer-events: none;
        }
        
        .curtain-panel {
            flex: 1;
            width: 100%;
            background: linear-gradient(90deg, #f7fafc 0%, #bee3f8 25%, #63b3ed 50%, #3182ce 75%, #2c5282 100%);
            transform: translateY(-100%);
            animation: curtainSlide 1.2s cubic-bezier(0.645, 0.045, 0.355, 1) forwards;
            box-shadow: 0 0 15px rgba(44, 82, 130, 0.1);
        }
        
        .curtain-panel:nth-child(1) {
            background: linear-gradient(90deg, #f7fafc 0%, #e2e8f0 100%);
            animation-delay: 0s;
        }
        
        .curtain-panel:nth-child(2) {
            background: linear-gradient(90deg, #e2e8f0 0%, #bee3f8 100%);
            animation-delay: 0.1s;
        }
        
        .curtain-panel:nth-child(3) {
            background: linear-gradient(90deg, #bee3f8 0%, #90cdf4 100%);
            animation-delay: 0.2s;
        }
        
        .curtain-panel:nth-child(4) {
            background: linear-gradient(90deg, #90cdf4 0%, #63b3ed 100%);
            animation-delay: 0.3s;
        }
        
        .curtain-panel:nth-child(5) {
            background: linear-gradient(90deg, #63b3ed 0%, #4299e1 100%);
            animation-delay: 0.4s;
        }
        
        .curtain-panel:nth-child(6) {
            background: linear-gradient(90deg, #4299e1 0%, #3182ce 100%);
            animation-delay: 0.5s;
        }
        
        .curtain-panel:nth-child(7) {
            background: linear-gradient(90deg, #3182ce 0%, #2c5282 100%);
            animation-delay: 0.6s;
        }
        
        @keyframes curtainSlide {
            0% {
                transform: translateY(-100%);
                opacity: 0.9;
            }
            50% {
                transform: translateY(0);
                opacity: 1;
            }
            100% {
                transform: translateY(100%);
                opacity: 0.9;
            }
        }
        
        /* Efecto de brillo sutil */
        .curtain-panel::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transform: translateX(-100%);
            animation: shine 1.1s ease-in-out;
        }
        
        @keyframes shine {
            0% {
                transform: translateX(-100%);
            }
            50%, 100% {
                transform: translateX(100%);
            }
        }
        
        /* Ocultar contenido durante la animación */
        body.curtain-active #page-content {
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.2s ease, visibility 0.2s ease;
        }
        
        body:not(.curtain-active) #page-content {
            opacity: 1;
            visibility: visible;
            transition: opacity 0.2s ease 0.4s, visibility 0.2s ease 0.4s;
        }
        
        /* Para asegurar que el contenido no sea visible durante la animación */
        body.curtain-active {
            overflow: hidden;
        }
        
        body.curtain-active .curtain-reveal {
            pointer-events: auto;
        }
          
          
          
          .icono{
            font-size: 1.2rem;
            padding-right: 0.1rem;

          }
          
          
          
          
          
          
          
          
          
          
          
          
          
          
          
          
          
          /* Google Font */
          @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

          /* Root Variables */
          :root {
            --primary-blue: #0066CC;
            --secondary-blue: #004C99;
            --accent-green: #00B386;
            --light-blue: #E6F3FF;
            --gradient-blue: linear-gradient(135deg, #0066CC 0%, #004C99 100%);
            --gradient-green: linear-gradient(135deg, #00B386 0%, #008F6B 100%);
            --white: #FFFFFF;
            --light-gray: #F8FAFC;
            --medium-gray: #64748B;
            --dark-gray: #1E293B;
            --shadow-light: 0 2px 10px rgba(0, 102, 204, 0.1);
            --shadow-medium: 0 4px 20px rgba(0, 102, 204, 0.15);
            --shadow-heavy: 0 8px 30px rgba(0, 102, 204, 0.2);
          }




          .desdemensual {
            border: 2px solid skyblue;
            border-radius: 10px;
          }

          .number {
            color: rgba(0, 0, 0, 0.771);
          }

          .contactoalmedio {
            /* background-color: rgba(15, 187, 255, 0.419); */
            padding: 0.5rem;
            border-radius: 10px;
          }

          .span-contacto {
            color: #0066CC;
          }

          .btn-contacto {
            display: inline-block;
            padding: 1.2rem 3rem;
            font-size: 1.6rem;
            font-weight: 600;
            text-decoration: none;
            border-radius: 50px;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
            text-align: center;
          }

          .btn-contacto {
            background: var(--gradient-blue);
            color: var(--white);
            box-shadow: var(--shadow-medium);
          }

          .btn-contacto:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-heavy);
          }

          /* Reset and Base Styles */
          * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
          }

          html {
            font-size: 62.5%;
            scroll-behavior: smooth;
          }

          body {
            font-family: 'Inter', sans-serif;
            line-height: 1.6;
            color: var(--dark-gray);
          }

          /* Button Styles */
          .btn {
            display: inline-block;
            padding: 1.2rem 3rem;
            font-size: 1.6rem;
            font-weight: 600;
            text-decoration: none;
            border-radius: 50px;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
            text-align: center;
          }

          .btn-primary {
            background: var(--gradient-blue);
            color: var(--white);
            box-shadow: var(--shadow-medium);
          }

          .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-heavy);
          }

          .btn-secondary {
            background: var(--gradient-green);
            color: var(--white);
            box-shadow: var(--shadow-medium);
          }

          .btn-secondary:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-heavy);
          }

          .btn-outline {
            background: transparent;
            color: var(--primary-blue);
            border: 2px solid var(--primary-blue);
          }

          .btn-outline:hover {
            background: var(--primary-blue);
            color: var(--white);
          }

          /* Typography */
          .heading {
            font-size: 4.5rem;
            font-weight: 700;
            text-align: center;
            color: var(--primary-blue);
            margin-bottom: 2rem;
          }

          .title {
            font-size: 2.2rem;
            font-weight: 400;
            text-align: center;
            color: var(--medium-gray);
            margin-bottom: 4rem;
          }

          /* Header */
          header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            padding: 1.5rem 5%;
            display: flex;
            align-items: center;
            justify-content: space-between;
            z-index: 1000;
            transition: all 0.3s ease;
            box-shadow: var(--shadow-light);
          }

          header.scrolled {
            background: rgba(255, 255, 255, 0.98);
            box-shadow: var(--shadow-medium);
          }

          header .logo img {
            height: 5rem;
          }

          .navbar ul {
            display: flex;
            list-style: none;
            gap: 3rem;
          }

          .navbar a {
            font-size: 1.42rem;
            /* font-weight: 500; */
            font-weight: bold;
            color: var(--dark-gray);
            text-decoration: none;
            position: relative;
            transition: color 0.3s ease;

            span{
              font-weight: 500;
            }
          }

          .navbar a:hover {
            color: var(--primary-blue);
          }

          .navbar a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--gradient-blue);
            transition: width 0.3s ease;
          }

          .navbar a:hover::after {
            width: 100%;
          }

          .menu-toggle {
            display: none;
            font-size: 4rem;
            color: var(--primary-blue);
            cursor: pointer;
          }

          /* Hero Section */
          .hero {
            min-height: 100vh;
            background: linear-gradient(135deg, var(--light-blue) 0%, var(--white) 100%);
            display: flex;
            align-items: center;
            padding: 10rem 5% 5rem;
          }

          .hero-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 5rem;
            align-items: center;
            max-width: 1200px;
            margin: 0 auto;
          }

          /* .hero-text h1 {
            font-size: 5.5rem;
            font-weight: 700;
            color: var(--dark-gray);
            line-height: 1.2;
            margin-bottom: 2rem;
          } */

            .hero-text h1 {
            font-size: 4.6rem;
            font-weight: 700;
            color: var(--dark-gray);
            line-height: 1.2;
            margin-bottom: 2rem;
          }

          .hero-text h1 span {
            background: var(--gradient-blue);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
          }

          .hero-text p {
            font-size: 2rem;
            color: var(--medium-gray);
            margin-bottom: 3rem;
            line-height: 1.6;
          }

          .hero-image img {
            width: 100%;
            height: auto;
            border-radius: 20px;
            box-shadow: var(--shadow-medium);
          }

          /* Services Section */
          .services {
            padding: 8rem 5%;
            background: var(--white);
          }

          .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 4rem;
            max-width: 1200px;
            margin: 0 auto;
          }

          .service-card {
            background: var(--white);
            border-radius: 20px;
            padding: 3rem;
            box-shadow: var(--shadow-light);
            transition: all 0.3s ease;
            border: 1px solid rgba(0, 102, 204, 0.1);
          }

          .service-card:hover {
            transform: translateY(-10px);
            box-shadow: var(--shadow-heavy);
          }

          .service-icon {
            width: 80px;
            height: 80px;
            background: var(--gradient-blue);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 2rem;
          }

          .service-icon i {
            font-size: 3rem;
            color: var(--white);
          }

          .service-card h3 {
            font-size: 2.4rem;
            font-weight: 600;
            /* color: var(--primary-blue); */
            color: white;
            margin-bottom: 1.5rem;
          }

          .service-card ul li {
            font-size: 1.6rem;
            /* display: flex;
            flex-direction: column; */
            list-style-type: none;
            /* color: var(--medium-gray); */
            color: white;
            margin-bottom: 2rem;
            line-height: 1.6;
          }

          .service-card1 {
            background-color: rgb(53, 62, 110);
          }

          .service-card2 {
            background-color: rgb(177, 76, 147);
          }

          .service-card3 {
            background-color: rgb(79, 203, 252);

          }

          .span1 {
            /* font-weight: bold; */
            background-color: white;
            color: rgb(53, 62, 110);
            border-radius: 5px;
            padding: 0.5rem;
          }

          .span2 {
            /* font-weight: bold; */
            background-color: white;
            color: rgb(177, 76, 147);
            border-radius: 5px;
            padding: 0.5rem;
          }


          .span3 {
            /* font-weight: bold; */
            background-color: white;
            color: rgb(79, 203, 252);
            border-radius: 5px;
            padding: 0.5rem;
          }

          .wicon {
            font-size: 2rem;
            padding-left: 0.2rem;
          }


          /* Doctors Section */
          .doctors {
            padding: 8rem 5%;
            background: var(--light-gray);
          }

          .doctors-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 4rem;
            max-width: 1000px;
            margin: 0 auto;
          }

          .doctor-card {
            background: var(--white);
            border-radius: 20px;
            overflow: hidden;
            box-shadow: var(--shadow-light);
            transition: all 0.3s ease;
          }

          .doctor-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-medium);
          }

          .doctor-card img {
            width: 100%;
            height: 300px;
            object-fit: cover;
          }

          .doctor-info {
            padding: 2.5rem;
            text-align: center;
          }

          .doctor-info h3 {
            font-size: 2.2rem;
            font-weight: 600;
            color: var(--primary-blue);
            margin-bottom: 1rem;
          }

          .doctor-info p {
            font-size: 1.6rem;
            color: var(--medium-gray);
            margin-bottom: 2rem;
          }

          .doctor-social {
            display: flex;
            justify-content: center;
            gap: 1.5rem;
          }

          .doctor-social a {
            width: 70%;
            height: 5.5rem;
            background: var(--gradient-blue);
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--white);
            font-size: 1.6rem;
            text-decoration: none;
            transition: all 0.3s ease;
          }

          .doctor-social a:hover {
            transform: scale(1.1);
          }

          /* Reviews Section */
          .reviews {
            padding: 8rem 5%;
            background: var(--white);
          }

          .reviews-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 4rem;
            max-width: 1200px;
            margin: 0 auto;
          }

          .review-card {
            background: var(--light-gray);
            border-radius: 20px;
            padding: 3rem;
            position: relative;
            box-shadow: var(--shadow-light);
          }

          .review-quote {
            font-size: 4rem;
            color: var(--primary-blue);
            opacity: 0.3;
            position: absolute;
            top: 2rem;
            left: 3rem;
          }

          .review-text {
            font-size: 1.6rem;
            color: var(--medium-gray);
            line-height: 1.6;
            margin: 3rem 0 2rem;
          }

          .review-author {
            display: flex;
            align-items: center;
            gap: 1.5rem;
          }

          .review-author img {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            object-fit: cover;
          }

          .author-info h4 {
            font-size: 1.8rem;
            font-weight: 600;
            color: var(--primary-blue);
          }

          .author-info span {
            font-size: 1.4rem;
            color: var(--medium-gray);
          }

          /* Contact Section */
          .contact {
            padding: 8rem 5%;
            background: var(--light-blue);
          }

          .contact-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 5rem;
            max-width: 1200px;
            margin: 0 auto;
            align-items: center;
          }

          .contact-form {
            display: flex;
            flex-direction: column;
            gap: 2rem;
          }

          .form-group {
            display: flex;
            flex-direction: column;
          }

          /* .form-group input,
          .form-group textarea {
            padding: 1.5rem;
            font-size: 1.6rem;
            border: 2px solid transparent;
            border-radius: 10px;
            background: var(--white);
            color: var(--dark-gray);
            transition: all 0.3s ease;
          } */

          .form-group input,
.form-group textarea,
.form-group select {
  padding: 1.5rem;
  font-size: 1.6rem;
  border: 2px solid transparent;
  border-radius: 10px;
  background: var(--white);
  color: var(--dark-gray);
  transition: all 0.3s ease;
  appearance: none; /* quita el estilo nativo (flecha fea en algunos navegadores) */
}

          /* .form-group input:focus,
          .form-group textarea:focus {
            outline: none;
            border-color: var(--primary-blue);
            box-shadow: var(--shadow-light);
          } */

          .form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: var(--shadow-light);
}

          .form-group textarea {
            min-height: 120px;
            resize: vertical;
          }

          .contact-image img {
            width: 100%;
            height: auto;
            border-radius: 20px;
          }

          /* WhatsApp Button */
          .whatsapp-btn {
            text-decoration: none;
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 70px;
            height: 70px;
            background: #25D366;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
            z-index: 1000;
            transition: all 0.3s ease;
            animation: pulse 2s infinite;
          }

          .whatsapp-btn:hover {
            transform: scale(1.1);
            box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
          }

          .whatsapp-btn i {
            font-size: 3.5rem;
            color: white;
          }

          @keyframes pulse {
            0% {
              box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
            }

            50% {
              box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 10px rgba(37, 211, 102, 0.1);
            }

            100% {
              box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
            }
          }

          /* Footer */
          .footer {
            background: var(--dark-gray);
            padding: 5rem 5% 2rem;
            color: var(--white);
          }

          .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 4rem;
            max-width: 1200px;
            margin: 0 auto;
          }

          .footer-section h3 {
            font-size: 2rem;
            font-weight: 600;
            margin-bottom: 2rem;
            color: var(--white);
          }

          .footer-section p,
          .footer-section a {
            font-size: 1.5rem;
            /* color: var(--medium-gray); */
            color: rgb(179, 179, 179);
            text-decoration: none;
            line-height: 1.8;
          }

          .footer-section a:hover {
            color: var(--primary-blue);
          }

          .footer-bottom {
            text-align: center;
            padding-top: 3rem;
            margin-top: 3rem;
            border-top: 1px solid var(--medium-gray);
          }

          /* Responsive Design */
          @media (max-width: 768px) {
            html {
              font-size: 55%;
            }

            .menu-toggle {
              display: block;
            }

            .navbar {
              position: absolute;
              top: 100%;
              left: 0;
              width: 100%;
              background: var(--white);
              box-shadow: var(--shadow-medium);
              transform: translateY(-100%);
              opacity: 0;
              visibility: hidden;
              transition: all 0.3s ease;
            }

            .navbar.active {
              transform: translateY(0);
              opacity: 1;
              visibility: visible;
            }

            .navbar ul {
              flex-direction: column;
              padding: 2rem;
              gap: 1rem;
            }

            .hero-content,
            .contact-content {
              grid-template-columns: 1fr;
              gap: 3rem;
            }

            .hero-text {
              order: 2;
              text-align: center;
            }

            .hero-image {
              order: 1;
            }

            .services-grid,
            .doctors-grid,
            .reviews-grid {
              grid-template-columns: 1fr;
            }

            .whatsapp-btn {
              bottom: 20px;
              right: 20px;
              width: 55px;
              height: 55px;
            }

            .whatsapp-btn i {
              font-size: 2.2rem;
            }
          }

          /* Media query para pantallas menores a 800px */
@media (max-width: 799px) {
    .footer-section:nth-child(2) {
        display: none;
    }

    .menu-toggle {
            /* display: none; */
            font-size: 4rem;
            color: var(--primary-blue);
            cursor: pointer;
          }
}