/* 
   FUENTE PRINCIPAL
    */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #000000;
    line-height: 1.7;
    background-color: #f8fafc;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: #000000;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: #60A5FF;
    transition: color 0.2s ease;
}
a:hover {
    color: #4A8FD9;
}

/* 
   UTILIDADES
 */
.section-padding {
    padding: 100px 0;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #000000;
    letter-spacing: -0.02em;
}

.section-subtitle {
    color: #000000;
    font-size: 1.1rem;
    font-weight: 400;
}

.badge-modern {
    background-color: #E3EEFF;
    color: #60A5FF;
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 15px;
}

/* 
   NAVBAR
    */
.custom-navbar {
    background-color: #ffffff;
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    padding: 8px 0;
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
}

.logo-img {
    height: 70px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: #000000 !important;
    padding: 8px 20px !important;
    border-radius: 50px;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    background-color: #60A5FF;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(96, 165, 255, 0.3);
}

/* 
   HERO / BANNER - Específico para Consultorios
    */
.hero-section {
    background: linear-gradient(135deg, #60A5FF 0%, #4A8FD9 50%, #3A7BC2 100%);
    min-height: 60vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

/* Efecto de fondo decorativo */
.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    pointer-events: none;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-weight: 700;
    font-size: 3.2rem;
    letter-spacing: -0.02em;
    margin-bottom: 15px;
    color: #ffffff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 1s ease-out;
}

.hero-title .highlight {
    background: linear-gradient(to right, #ffffff, #E3EEFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-weight: 400;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    animation: fadeInUp 1.2s ease-out;
}

.btn-hero {
    background-color: #ffffff;
    color: #60A5FF;
    padding: 16px 50px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border: none;
    animation: fadeInUp 1.4s ease-out;
}

.btn-hero:hover {
    background-color: #f8fafc;
    color: #4A8FD9;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 16px 48px rgba(96, 165, 255, 0.18);
}

/* 
   CARDS MODERNAS (Glassmorphism)
    */
.card-modern {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 28px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 80px rgba(96, 165, 255, 0.08);
}

.card-modern p {
    color: #000000;
    font-weight: 400;
}

/* 
   ICONO CIRCULAR
    */
.icon-circle {
    width: 52px;
    height: 52px;
    background: #E3EEFF;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #60A5FF;
    font-size: 1.4rem;
    flex-shrink: 0;
}

/* 
   CONTACTO INFO CARDS (para la sección CTA)
   */
.contact-info-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 20px;
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
}

.contact-info-card p {
    color: #ffffff !important;
    font-weight: 400;
    margin-top: 8px;
}

.contact-info-card i {
    color: #ffffff;
    font-size: 1.5rem;
}

/*
   FOOTER
   */
.footer-modern {
    background: linear-gradient(135deg, #60A5FF 0%, #4A8FD9 50%, #3A7BC2 100%);
    padding: 40px 0;
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

.footer-modern::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    pointer-events: none;
}

.footer-modern .container {
    position: relative;
    z-index: 2;
}

.footer-modern p {
    color: #ffffff !important;
    font-weight: 400;
    margin-bottom: 4px;
}

.footer-modern .small {
    color: rgba(255, 255, 255, 0.85) !important;
}

/* 
   ANIMACIONES
   */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 
   RESPONSIVE
  */
@media (max-width: 992px) {
    .hero-section {
        min-height: 50vh;
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .logo-img {
        height: 60px;
    }
    
    .section-title {
        font-size: 2.3rem;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }

    .hero-section {
        min-height: auto;
        padding: 120px 0 50px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2rem;
        text-align: center;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        text-align: center;
    }
    
    .btn-hero {
        display: inline-block;
        margin: 0 auto;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .logo-img {
        height: 55px;
    }
    
    .card-modern {
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .navbar-nav .nav-link {
        padding: 8px 16px !important;
    }
    .logo-img {
        height: 50px;
    }
    .hero-title {
        font-size: 1.8rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .badge-modern {
        font-size: 0.7rem;
        padding: 4px 14px;
    }
}

/* 
   BOTÓN DE REGRESO
  */
.btn-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #E3EEFF;
    color: #60A5FF;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    text-decoration: none;
}

.btn-back:hover {
    background-color: #60A5FF;
    color: #ffffff;
    transform: translateX(-4px);
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(96, 165, 255, 0.3);
}