:root {
    --primary: #2C3E50;
    --primary-light: #3498DB;
    --secondary: #7F8C8D;
    --success: #27AE60;
    --light-bg: #F8FAFD;
    --white: #FFFFFF;
    --text-dark: #2C3E50;
    --text-light: #7F8C8D;
}

body {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    background: white !important;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary) !important;
    font-size: 1.3rem;
}

.navbar-brand i {
    color: var(--primary-light);
    margin-right: 8px;
}

.nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--primary-light) !important;
}

.btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(44,62,80,0.2);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.05)" fill-opacity="1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,170.7C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"/></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.1;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    position: relative;
}

.hero .lead {
    font-size: 1.3rem;
    opacity: 0.95;
    font-weight: 300;
    position: relative;
}

.hero hr {
    width: 80px;
    height: 4px;
    background: white;
    opacity: 0.3;
    margin: 2rem 0;
}

.hero .btn-light {
    border-radius: 50px;
    padding: 0.8rem 2rem;
    font-weight: 600;
    background: white;
    color: var(--primary);
    border: none;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.hero .btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.hero .btn-outline-light {
    border-radius: 50px;
    padding: 0.8rem 2rem;
    font-weight: 600;
    border: 2px solid white;
    color: white;
    transition: all 0.3s;
}

.hero .btn-outline-light:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-2px);
}

/* Cards de especialidades */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-light);
    margin: 1rem auto 0;
    border-radius: 2px;
}

.card {
    border: none;
    border-radius: 20px;
    transition: all 0.3s;
    overflow: hidden;
    background: white;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1) !important;
}

.card i {
    font-size: 3.5rem;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 1rem 0;
}

.card h3 {
    color: var(--primary);
    font-weight: 600;
    font-size: 1.3rem;
    margin: 1rem 0;
}

.card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    padding: 0 1rem 1.5rem;
}

/* Sección Sobre mí */
.bg-light {
    background: var(--light-bg) !important;
}

.bg-light h2 {
    color: var(--primary);
    font-weight: 700;
}

.bg-light .lead {
    color: var(--primary-light);
    font-weight: 500;
}

.bg-light i.bi-check-circle-fill {
    color: var(--success);
}

/* Horarios */
.horarios-card {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border-radius: 20px;
    padding: 3rem 2rem;
}

.horarios-card i {
    font-size: 4rem;
    color: var(--primary);  /* #2C3E50 - azul oscuro */
    opacity: 0.95;
    margin-bottom: 1rem;
}

.horarios-card h3 {
    font-size: 1.5rem;
    font-weight: 400;
    color: white;
    margin: 1rem 0;
    opacity: 0.9;
}

.horarios-card .display-6 {
    font-weight: 700;
    font-size: 3rem;
    color: white;
    margin: 1.5rem 0;
}

.horarios-card p {
    color: white;
    opacity: 0.9;
    font-size: 1.1rem;
}

.horarios-card hr {
    background: white;
    opacity: 0.2;
    width: 50%;
    margin: 2rem auto;
}

.horarios-card .lead {
    color: white;
    opacity: 0.8;
    font-size: 1.2rem;
}

/* CTA Información gratuita */
.bg-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light)) !important;
    position: relative;
    overflow: hidden;
}

.bg-primary .btn-light {
    border-radius: 50px;
    padding: 1rem 2.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    border: none;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    transition: all 0.3s;
}

.bg-primary .btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

/* Footer */
footer {
    background: var(--primary) !important;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-light), var(--success));
}

footer h5 {
    font-weight: 600;
    margin-bottom: 1rem;
}

footer p {
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero .lead {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}
/* CORRECCIÓN ICONO HORARIOS - BLANCO SOBRE AZUL */
.horarios-card i,
#horarios i,
.horarios-card i.bi {
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: white !important;
    color: white !important;
    font-size: 4rem;
    opacity: 1;
    margin-bottom: 1rem;
}
/* CORREGIR BOTÓN SOLICITAR INFORMACIÓN */
.hero a.btn::before,
.hero a::before {
    display: none !important;
    content: none !important;
}

.hero a.btn {
    position: relative !important;
    z-index: 9999 !important;
    pointer-events: auto !important;
}