:root{
    --primary:#0E4A7B;
    --primary-dark:#083354;
    --secondary:#00B8A9;
    --secondary-dark:#009d90;
    --text:#1F2937;
    --muted:#6B7280;
    --light:#F5F7FA;
    --white:#FFFFFF;
    --border:#E5E7EB;
    --shadow:0 20px 50px rgba(14,74,123,.12);
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Inter',sans-serif;
    color:var(--text);
    background:var(--white);
    line-height:1.6;
    overflow-x:hidden;
}

img{
    max-width:100%;
}

a{
    text-decoration:none;
}

.section{
    padding:95px 0;
}

.bg-light-custom{
    background:var(--light);
}

/* HEADER */

.header{
    position:sticky;
    top:0;
    z-index:999;
    background:rgba(255,255,255,.96);
    backdrop-filter:blur(14px);
    border-bottom:1px solid rgba(229,231,235,.8);
}

.navbar{
    padding:18px 0;
}

.logo{
    font-family:'Poppins',sans-serif;
    font-size:28px;
    font-weight:800;
    color:var(--primary);
}

.logo:hover{
    color:var(--primary-dark);
}

.nav-link{
    font-weight:700;
    color:var(--text);
    margin-left:18px;
    font-size:15px;
}

.nav-link:hover{
    color:var(--secondary);
}

.navbar-toggler{
    border:0;
    box-shadow:none!important;
}

/* BUTTONS */

.btn-primary-custom{
    background:var(--secondary);
    color:#fff;
    border:0;
    border-radius:999px;
    padding:14px 28px;
    font-weight:800;
    box-shadow:0 12px 30px rgba(0,184,169,.28);
    transition:.25s ease;
}

.btn-primary-custom:hover{
    background:var(--secondary-dark);
    color:#fff;
    transform:translateY(-2px);
}

.btn-outline-custom{
    background:#fff;
    color:var(--primary);
    border:2px solid var(--primary);
    border-radius:999px;
    padding:13px 28px;
    font-weight:800;
    transition:.25s ease;
}

.btn-outline-custom:hover{
    background:var(--primary);
    color:#fff;
    transform:translateY(-2px);
}

/* HERO */

.hero{
    position:relative;
    padding:105px 0 95px;
    background:
        radial-gradient(circle at top right, rgba(0,184,169,.18), transparent 34%),
        linear-gradient(180deg,#fff 0%,#f6fbff 100%);
}

.badge-medical{
    display:inline-flex;
    align-items:center;
    gap:8px;
    background:#E8F7F5;
    color:var(--secondary-dark);
    padding:10px 18px;
    border-radius:999px;
    font-weight:800;
    margin-bottom:22px;
    font-size:14px;
}

.hero h1{
    font-family:'Poppins',sans-serif;
    font-size:62px;
    line-height:1.08;
    font-weight:800;
    color:var(--primary-dark);
    letter-spacing:-1.5px;
    margin-bottom:24px;
}

.hero-text{
    font-size:20px;
    color:#4B5563;
    max-width:590px;
    margin-bottom:34px;
}

.hero-buttons{
    display:flex;
    flex-wrap:wrap;
    gap:16px;
    margin-bottom:48px;
}

.hero-stats{
    display:flex;
    gap:34px;
    flex-wrap:wrap;
}

.hero-stats div{
    background:#fff;
    border:1px solid var(--border);
    border-radius:20px;
    padding:16px 22px;
    box-shadow:0 10px 30px rgba(0,0,0,.04);
}

.hero-stats strong{
    display:block;
    font-size:30px;
    line-height:1;
    color:var(--primary);
    font-weight:900;
}

.hero-stats span{
    color:var(--muted);
    font-size:14px;
    font-weight:700;
}

.hero-image{
    border-radius:34px;
    box-shadow:0 30px 70px rgba(8,51,84,.22);
    border:8px solid #fff;
}

/* TITLES */

.section-title{
    text-align:center;
    max-width:740px;
    margin:0 auto 50px;
}

.section-title h2{
    font-family:'Poppins',sans-serif;
    color:var(--primary-dark);
    font-size:42px;
    font-weight:800;
    margin-bottom:14px;
    letter-spacing:-.8px;
}

.section-title p{
    color:var(--muted);
    font-size:18px;
}

/* BENEFITS */

.card-benefit,
.card-procedure,
.step-card,
.testimonial-card{
    height:100%;
    background:#fff;
    border:1px solid var(--border);
    border-radius:26px;
    padding:34px;
    box-shadow:0 15px 40px rgba(0,0,0,.05);
    transition:.25s ease;
}

.card-benefit:hover,
.card-procedure:hover,
.step-card:hover,
.testimonial-card:hover{
    transform:translateY(-6px);
    box-shadow:var(--shadow);
}

.card-benefit i{
    width:58px;
    height:58px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#E8F7F5;
    color:var(--secondary);
    border-radius:18px;
    font-size:25px;
    margin-bottom:24px;
}

.card-benefit h3,
.card-procedure h3,
.step-card h3{
    color:var(--primary);
    font-weight:800;
    font-size:23px;
    margin-bottom:12px;
}

.card-benefit p,
.card-procedure p,
.testimonial-card p{
    color:var(--muted);
    margin-bottom:0;
}

/* IMC */

.imc-box{
    background:
        linear-gradient(135deg,var(--primary-dark),var(--primary));
    color:#fff;
    border-radius:34px;
    padding:55px;
    box-shadow:0 25px 70px rgba(8,51,84,.25);
}

.imc-box h2{
    font-family:'Poppins',sans-serif;
    font-size:40px;
    font-weight:800;
    margin-bottom:10px;
}

.imc-box p{
    color:rgba(255,255,255,.82);
    font-size:18px;
    margin-bottom:28px;
}

.imc-box .form-control{
    height:58px;
    border-radius:999px;
    border:0;
    padding:0 22px;
    font-weight:700;
}

.imc-box .form-control:focus{
    box-shadow:0 0 0 4px rgba(0,184,169,.28);
}

#resultadoIMC .alert{
    border:0;
    border-radius:18px;
    font-size:18px;
    margin-bottom:0;
}

/* PROCEDURES */

.card-procedure{
    position:relative;
    overflow:hidden;
}

.card-procedure:before{
    content:"";
    position:absolute;
    width:90px;
    height:90px;
    right:-30px;
    top:-30px;
    background:rgba(0,184,169,.12);
    border-radius:50%;
}

/* EQUIPO */

#equipo img{
    box-shadow:0 25px 60px rgba(8,51,84,.18);
}

#equipo h3{
    font-family:'Poppins',sans-serif;
    color:var(--primary-dark);
    font-size:36px;
    font-weight:800;
    margin-bottom:15px;
}

#equipo p{
    color:var(--muted);
    font-size:18px;
    max-width:620px;
    margin-bottom:28px;
}

/* STEPS */

.step-card span{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:54px;
    height:54px;
    background:var(--primary);
    color:#fff;
    border-radius:50%;
    font-weight:900;
    margin-bottom:20px;
}

/* TESTIMONIALS */

.testimonial-card{
    color:#F59E0B;
    font-size:18px;
}

.testimonial-card p{
    color:var(--text);
    margin-top:14px;
    font-size:17px;
}

/* FAQ */

.accordion-item{
    border:1px solid var(--border);
    border-radius:20px!important;
    overflow:hidden;
    margin-bottom:14px;
    box-shadow:0 8px 20px rgba(0,0,0,.03);
}

.accordion-button{
    font-weight:800;
    color:var(--primary-dark);
    padding:22px 26px;
}

.accordion-button:not(.collapsed){
    background:#E8F7F5;
    color:var(--primary-dark);
    box-shadow:none;
}

.accordion-button:focus{
    box-shadow:none;
}

/* CTA FINAL */

.cta-final{
    padding:95px 0;
    background:
        radial-gradient(circle at top left, rgba(0,184,169,.22), transparent 30%),
        linear-gradient(135deg,var(--primary-dark),var(--primary));
    color:#fff;
}

.cta-final h2{
    font-family:'Poppins',sans-serif;
    font-size:46px;
    font-weight:800;
    margin-bottom:14px;
}

.cta-final p{
    color:rgba(255,255,255,.82);
    font-size:19px;
    margin-bottom:30px;
}

/* FOOTER */

.footer{
    background:#061F34;
    color:#fff;
    padding:45px 0;
}

.footer h4{
    font-family:'Poppins',sans-serif;
    font-weight:800;
    margin-bottom:12px;
}

.footer p{
    color:rgba(255,255,255,.72);
    margin-bottom:0;
}

/* WHATSAPP */

.floating-whatsapp{
    position:fixed;
    right:24px;
    bottom:24px;
    width:62px;
    height:62px;
    background:#25D366;
    color:#fff;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:32px;
    box-shadow:0 15px 35px rgba(0,0,0,.25);
    z-index:9999;
    transition:.25s ease;
}

.floating-whatsapp:hover{
    color:#fff;
    transform:scale(1.08);
}

/* RESPONSIVE */

@media(max-width:991px){

    .section{
        padding:75px 0;
    }

    .navbar-collapse{
        background:#fff;
        padding:20px;
        border-radius:20px;
        box-shadow:0 20px 40px rgba(0,0,0,.08);
        margin-top:15px;
    }

    .nav-link{
        margin-left:0;
        padding:12px 0;
    }

    .hero{
        padding:70px 0;
    }

    .hero h1{
        font-size:44px;
    }

    .hero-image{
        margin-top:45px;
    }

    #equipo .col-lg-7{
        margin-top:35px;
    }
}

@media(max-width:576px){

    .logo{
        font-size:23px;
    }

    .hero h1{
        font-size:35px;
    }

    .hero-text{
        font-size:17px;
    }

    .hero-buttons{
        flex-direction:column;
    }

    .btn-primary-custom,
    .btn-outline-custom{
        width:100%;
        text-align:center;
    }

    .hero-stats{
        gap:12px;
    }

    .hero-stats div{
        width:100%;
    }

    .section-title h2{
        font-size:32px;
    }

    .imc-box{
        padding:34px 22px;
        border-radius:26px;
    }

    .imc-box h2{
        font-size:31px;
    }

    .cta-final h2{
        font-size:34px;
    }

    .floating-whatsapp{
        width:56px;
        height:56px;
        font-size:29px;
        right:18px;
        bottom:18px;
    }
}
/* MENU */

.header{
    height:90px;
    display:flex;
    align-items:center;
}

.dropdown-menu{
    border-radius:20px;
    min-width:280px;
    padding:12px;
    border:none;
}

.dropdown-item{
    padding:12px 16px;
    border-radius:12px;
    font-weight:600;
}

.dropdown-item:hover{
    background:#f5f7fa;
    color:#0E4A7B;
}

@media(min-width:1200px){

    .dropdown:hover .dropdown-menu{
        display:block;
        margin-top:0;
    }

}
/* =====================================================
   SUCURSALES
===================================================== */

.locations-section{
    padding:100px 0;
    background:#ffffff;
}

.location-card{
    background:#fff;
    border:1px solid #E5E7EB;
    border-radius:28px;
    padding:35px;
    height:100%;
    position:relative;
    overflow:hidden;
    transition:.30s ease;
    box-shadow:0 12px 30px rgba(0,0,0,.05);
}

.location-card:hover{
    transform:translateY(-8px);
    box-shadow:0 25px 60px rgba(14,74,123,.15);
}

.location-card:before{
    content:'';
    position:absolute;
    top:-60px;
    right:-60px;
    width:150px;
    height:150px;
    background:rgba(0,184,169,.08);
    border-radius:50%;
}

.location-badge{
    display:inline-block;
    background:#E8F7F5;
    color:#00B8A9;
    padding:8px 16px;
    border-radius:50px;
    font-size:13px;
    font-weight:700;
    margin-bottom:18px;
}

.location-card h3{
    font-family:'Poppins',sans-serif;
    color:#0E4A7B;
    font-size:28px;
    font-weight:800;
    margin-bottom:15px;
}

.location-card p{
    color:#6B7280;
    font-size:15px;
    line-height:1.8;
    margin-bottom:25px;
    min-height:120px;
}

.location-card i{
    color:#00B8A9;
    margin-right:8px;
}

.btn-location{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:100%;
    background:#0E4A7B;
    color:#fff;
    font-weight:700;
    text-decoration:none;
    padding:14px 20px;
    border-radius:50px;
    transition:.3s;
}

.btn-location:hover{
    background:#083354;
    color:#fff;
}

.location-map{
    margin-top:60px;
    border-radius:30px;
    overflow:hidden;
    box-shadow:0 20px 50px rgba(0,0,0,.12);
}

.location-map iframe{
    width:100%;
    height:500px;
    border:0;
}

/* =====================================================
   SUCURSAL DESTACADA
===================================================== */

.location-feature{
    margin-top:60px;
    background:
    linear-gradient(
        135deg,
        #0E4A7B,
        #083354
    );
    color:#fff;
    border-radius:35px;
    padding:60px;
    position:relative;
    overflow:hidden;
}

.location-feature:before{
    content:'';
    position:absolute;
    width:350px;
    height:350px;
    border-radius:50%;
    background:rgba(255,255,255,.05);
    top:-150px;
    right:-120px;
}

.location-feature h2{
    font-family:'Poppins',sans-serif;
    font-size:42px;
    font-weight:800;
    margin-bottom:15px;
}

.location-feature p{
    font-size:18px;
    opacity:.9;
    margin-bottom:30px;
}

.location-feature .btn-primary-custom{
    background:#00B8A9;
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media(max-width:991px){

    .locations-section{
        padding:70px 0;
    }

    .location-card{
        padding:28px;
    }

    .location-card h3{
        font-size:24px;
    }

    .location-feature{
        padding:40px;
    }

    .location-feature h2{
        font-size:32px;
    }

}

@media(max-width:576px){

    .location-card p{
        min-height:auto;
    }

    .location-feature{
        padding:30px;
        text-align:center;
    }

    .location-feature h2{
        font-size:28px;
    }

    .location-map iframe{
        height:350px;
    }

}
/* ==========================================
FOOTER PREMIUM
========================================== */

.footer{

    background:#061F34;
    color:#fff;
    padding:80px 0 30px;

}

.footer-logo{

    max-width:220px;
    margin-bottom:20px;

}

.footer-description{

    color:rgba(255,255,255,.75);
    line-height:1.8;

}

.footer h5{

    font-weight:700;
    margin-bottom:20px;
    color:#fff;

}

.footer ul{

    list-style:none;
    padding:0;
    margin:0;

}

.footer ul li{

    margin-bottom:12px;

}

.footer a{

    color:rgba(255,255,255,.75);
    text-decoration:none;
    transition:.3s;

}

.footer a:hover{

    color:#00B8A9;

}

.footer-social{

    display:flex;
    gap:12px;
    margin-top:25px;

}

.footer-social a{

    width:42px;
    height:42px;
    border-radius:50%;
    background:rgba(255,255,255,.08);
    display:flex;
    align-items:center;
    justify-content:center;

}

.footer-social a:hover{

    background:#00B8A9;
    color:#fff;

}

.footer-locations li{

    font-size:14px;
    line-height:1.6;

}

.footer-divider{

    border-color:rgba(255,255,255,.08);
    margin:40px 0 25px;

}

.footer-bottom{

    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
    flex-wrap:wrap;

}

.footer-legal{

    display:flex;
    gap:25px;
    flex-wrap:wrap;

}

.footer-legal a{

    font-size:14px;

}

@media(max-width:768px){

    .footer{

        text-align:center;

    }

    .footer-social{

        justify-content:center;

    }

    .footer-bottom{

        flex-direction:column;

    }

}
/* =====================================================
   PAGINA MEDICOS
===================================================== */

.page-hero{

    background:
    linear-gradient(
        135deg,
        #0E4A7B,
        #083354
    );

    color:#fff;

    padding:100px 0;
    text-align:center;

}

.page-hero h1{

    font-family:'Poppins',sans-serif;
    font-size:60px;
    font-weight:800;
    margin-bottom:15px;

}

.page-hero p{

    font-size:20px;
    opacity:.9;

}

/* =====================================================
   DOCTORES
===================================================== */

.medicos-section{

    padding:100px 0;
    background:#F5F7FA;

}

.doctor-card{

    background:#fff;
    border-radius:30px;
    overflow:hidden;
    height:100%;
    box-shadow:
    0 15px 40px rgba(0,0,0,.08);

    transition:.3s;

}

.doctor-card:hover{

    transform:translateY(-8px);

}

.doctor-image{

    height:420px;
    overflow:hidden;

}

.doctor-image img{

    width:100%;
    height:100%;
    object-fit:cover;

}

.doctor-body{

    padding:30px;

}

.doctor-body h3{

    color:#0E4A7B;
    font-size:28px;
    font-weight:800;
    margin-bottom:10px;

}

.doctor-speciality{

    color:#00B8A9;
    font-weight:700;
    margin-bottom:15px;

}

.doctor-cedula{

    background:#F5F7FA;
    padding:10px 15px;
    border-radius:10px;
    margin-bottom:10px;
    font-size:14px;

}

.doctor-experience{

    font-weight:700;
    margin-bottom:15px;

}

.doctor-body p{

    color:#6B7280;
    line-height:1.8;
    margin-bottom:25px;

}

@media(max-width:768px){

    .page-hero{

        padding:70px 0;

    }

    .page-hero h1{

        font-size:40px;

    }

    .doctor-image{

        height:320px;

    }

}