@charset "utf-8";
/* CSS Document */

/* =====================================================
   VARIABLES
===================================================== */

:root{

    dark: #082A3A;

    dark-soft: #104B63;

    cream: #F3FAFC;

    white: #FFFFFF;

    accent: #00AFC4;

    accent-dark: #00879A;

    cyan-light: #DDF7FA;

    blue-light: #EAF6FA;

    text: #263F49;

    muted: #6B7F87;


}


/* =====================================================
   RESET
===================================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Montserrat', sans-serif;

    color:var(--text);

    background:var(--white);

    overflow-x:hidden;

}

img{

    max-width:100%;

    display:block;

}


/* =====================================================
   NAVBAR
===================================================== */

.medical-navbar{

    padding:25px 0;

    background:transparent;

    transition:0.4s;

}

.medical-navbar .navbar-brand{

    font-family:'DM Serif Display', serif;

    font-size:1.5rem;

    color:var(--dark);

    letter-spacing:.5px;

}

.medical-navbar .nav-link{

    color:var(--dark);

    font-size:.85rem;

    margin-left:25px;

    position:relative;

}

.medical-navbar .nav-link::after{

    content:"";

    position:absolute;

    left:0;

    bottom:0;

    width:0;

    height:1px;

    background:var(--dark);

    transition:.3s;

}

.medical-navbar .nav-link:hover::after{

    width:100%;

}

.navbar-button{

    margin-left:30px;

    padding:12px 22px;

    background:var(--dark);

    color:black;

    text-decoration:none;

    font-size:.8rem;

    transition:.3s;

}

.navbar-button:hover{

    background:var(--accent-dark);

    color:white;

}


/* =====================================================
   HERO
===================================================== */

/* =====================================================
   HERO CARRUSEL
===================================================== */

.hero-carousel{

    position:relative;

    width:100%;

    height:100vh;

    min-height:650px;

    overflow:hidden;

}

/* =====================================================
   ANIMACIÓN DEL HERO
===================================================== */

.carousel-item .hero-content{

    opacity:0;

    transform:
        translateY(-45%);

    transition:

        opacity .8s ease,

        transform 1s ease;

}

.carousel-item.active .hero-content{

    opacity:1;

    transform:
        translateY(-50%);

}


/* CARRUSEL */

.hero-carousel .carousel,
.hero-carousel .carousel-inner,
.hero-carousel .carousel-item{

    width:100%;

    height:100%;

}

/* =====================================================
   FLECHAS
===================================================== */

.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next{

    width:70px;

    opacity:.8;

    transition:.3s;

}

.hero-carousel .carousel-control-prev:hover,
.hero-carousel .carousel-control-next:hover{

    opacity:1;

}

.hero-carousel .carousel-control-prev-icon,
.hero-carousel .carousel-control-next-icon{

    width:45px;

    height:45px;

    padding:12px;

    border:1px solid rgba(255,255,255,.5);

    border-radius:50%;

    background-size:45%;

    backdrop-filter:blur(5px);

}


.carousel-item .hero-carousel-image{

    transform:scale(1.05);

    transition:
        transform 6s ease;

}

.carousel-item.active .hero-carousel-image{

    transform:scale(1);

}

/* =====================================================
   RESPONSIVE
===================================================== */

@media(max-width:768px){

    .hero-carousel{

        height:90vh;

        min-height:650px;

    }


    .hero-carousel-image{

        object-position:center;

    }


    .hero-overlay{

        background:

            linear-gradient(
                180deg,
                rgba(5,28,38,.35),
                rgba(5,28,38,.85)
            );

    }


    .hero-content{

        left:25px;

        right:25px;

        top:55%;

        max-width:none;

    }


    .hero-content h1{

        font-size:clamp(3rem,12vw,4.2rem);

    }


    .hero-content p{

        font-size:.9rem;

        line-height:1.7;

    }


    .hero-content .hero-buttons{

        flex-direction:column;

        align-items:flex-start;

    }


    .hero-content .btn-primary-medical,
    .hero-content .btn-secondary-medical{

        width:auto;

    }


    .hero-carousel .carousel-indicators{

        left:25px;

        bottom:25px;

    }


    .hero-carousel .carousel-control-prev,
    .hero-carousel .carousel-control-next{

        display:none;

    }

}


/* IMAGEN */

.hero-carousel-image{

    width:100%;

    height:100%;

    object-fit:cover;

    object-position:center;

    display:block;

}

/* =====================================================
   INDICADORES
===================================================== */

.hero-carousel .carousel-indicators{

    z-index:10;

    bottom:35px;

    justify-content:flex-start;

    left:8%;

    margin-left:0;

}

.hero-carousel .carousel-indicators button{

    width:35px;

    height:3px;

    margin:0 6px 0 0;

    border:0;

    border-radius:0;

    background:rgba(255,255,255,.5);

    opacity:1;

    transition:.4s;

}

.hero-carousel .carousel-indicators button.active{

    width:70px;

    background:#00AFC4;

}
/* OSCURECER IMAGEN */

.hero-overlay{

    position:absolute;

    inset:0;

    background:

        linear-gradient(
            90deg,
            rgba(5,28,38,.82) 0%,
            rgba(5,28,38,.55) 45%,
            rgba(5,28,38,.15) 100%
        );

}


/* CONTENIDO */

.hero-content{

    position:absolute;

    z-index:5;

    top:50%;

    left:8%;

    transform:translateY(-50%);

    max-width:720px;

    color:white;

}


/* ETIQUETA */

.hero-content .eyebrow{

    color:#63D8E4;

}


/* TITULO */

.hero-content h1{

    font-family:'DM Serif Display', serif;

    font-size:clamp(3.5rem,6vw,6.5rem);

    line-height:1;

    color:white;

    margin-bottom:30px;

}


/* PARTE CIAN */

.hero-content h1 span{
    color: white;

}


/* TEXTO */

.hero-content p{

    max-width:580px;

    color:rgba(255,255,255,.85);

    font-size:1rem;

    line-height:1.9;

}


/* BOTONES */

.hero-content .hero-buttons{

    display:flex;

    gap:15px;

    margin-top:35px;

}


/* BOTÓN PRINCIPAL */

.hero-content .btn-primary-medical{

    background:#00AFC4;

    border-color:#00AFC4;

}


/* HOVER */

.hero-content .btn-primary-medical:hover{

    background:#008B9D;

    border-color:#008B9D;

}


/* BOTÓN SECUNDARIO */

.hero-content .btn-secondary-medical{

    color:white;

    border-color:rgba(255,255,255,.5);

}


/* HOVER */

.hero-content .btn-secondary-medical:hover{

    color:#082A3A;

    background:white;

    border-color:white;

}

.hero-text{

    padding-right:60px;

}

.hero h1{

    font-family:'DM Serif Display', serif;

    font-size:clamp(3.3rem,6vw,6rem);

    line-height:1.02;

    color:var(--dark);

    margin-bottom:30px;

}

.hero h1 span{

    color:var(--accent);

}
.eyebrow{
    display: inline-block;
    font-size: .72rem;
    letter-spacing: 3px;
    font-weight: 600;
    color: var(--accent-dark);
    margin-bottom: 20px;
    text-align: center;

}
.hero h1{

    font-family:'DM Serif Display', serif;

    font-size:clamp(3.3rem,6vw,6rem);

    line-height:1.02;

    color:var(--dark);

    margin-bottom:30px;

}

.hero p{

    max-width:500px;

    font-size:1rem;

    line-height:1.9;

    color:var(--muted);

}


/* =====================================================
   BUTTONS
===================================================== */

.hero-buttons{

    display:flex;

    gap:15px;

    margin-top:35px;

}

.btn-primary-medical{

    display:inline-block;

    background:var(--dark);

    color:white;

    padding:15px 28px;

    border:1px solid var(--dark);

    text-decoration:none;

    font-size:.8rem;

    transition:.35s;

}

.btn-primary-medical:hover{

    background:var(--accent);

    border-color:var(--accent);

    color:white;

    transform:translateY(-3px);

}

.btn-secondary-medical{

    display:inline-block;

    padding:15px 28px;

    color:var(--dark);

    border:1px solid #B9D4DA;

    background:transparent;

    text-decoration:none;

    font-size:.8rem;

    transition:.35s;

}

.btn-secondary-medical:hover{

    background:var(--cyan-light);

    border-color:var(--accent);

    color:var(--dark);

}


/* =====================================================
   HERO IMAGE
===================================================== */

.hero-image{

    height:700px;

    overflow:hidden;

}

.hero-image img{

    width:100%;

    height:100%;

    object-fit:cover;

    transition:1s;

}

.hero-image:hover img{

    transform:scale(1.03);

}


/* =====================================================
   INTRO
===================================================== */

.intro-section{

    padding:150px 0;

    background:white;

}

.intro-content{

    max-width:850px;

    margin:auto;

    text-align:center;

}

.intro-content h2{

    font-family:'DM Serif Display', serif;

    font-size:clamp(2.5rem,5vw,4.5rem);

    line-height:1.1;

    color:var(--dark);

    margin-bottom:35px;

}

.intro-content p{

    max-width:700px;

    margin:auto;

    line-height:2;

    color:var(--muted);

}


/* =====================================================
   EXPERIENCIA
===================================================== */

.experience-section{

    padding:120px 0;

    background:var(--cream);

}

.experience-image{

    height:650px;

    overflow:hidden;

}

.experience-image img{

    width:100%;

    height:100%;

    object-fit:cover;

}

.experience-section h2{

    font-family:'DM Serif Display', serif;

    font-size:clamp(2.8rem,5vw,5rem);

    line-height:1.05;

    color:var(--dark);

    margin-bottom:30px;

}

.experience-section p{

    color:var(--muted);

    line-height:1.9;

}


/* =====================================================
   STATS
===================================================== */

.experience-stats{

    display:flex;

    gap:35px;

    margin-top:45px;

    padding-top:30px;

    border-top:1px solid #d5d2cc;

}

.experience-stats div{

    display:flex;

    flex-direction:column;

}

.experience-stats strong{

    font-family:'DM Serif Display', serif;

    font-size:2.5rem;

    color:var(--dark);

}

.experience-stats span{

    font-size:.72rem;

    color:var(--muted);

}


/* =====================================================
   SPECIALTIES
===================================================== */

.specialties-section{

    padding:140px 0;

    background:white;

}

.section-heading{
    max-width: 700px;
    margin-bottom: 70px;
    text-align: left;

}

.section-heading h2{

    font-family:'DM Serif Display', serif;

    font-size:clamp(3rem,5vw,5rem);

    color:var(--dark);

}

.section-heading p{

    color:var(--muted);

}


/* =====================================================
   CARDS
===================================================== */

/* =====================================================
   SECCIÓN ESPECIALIDADES
===================================================== */

.specialties-section {

    position: relative;

    padding: clamp(90px, 10vw, 150px) 0;

    background: #f3fafb;

    overflow: hidden;

}


/* DECORACIÓN */

.specialties-section::before {

    content: "";

    position: absolute;

    width: 550px;
    height: 550px;

    top: -300px;
    right: -180px;

    border-radius: 50%;

    background: #00afc4;

    opacity: .055;

    pointer-events: none;

}


/* =====================================================
   ENCABEZADO
===================================================== */

.specialties-heading {

    max-width: 760px;

    margin-bottom: 65px;

}


.specialties-heading .eyebrow {

    display: inline-block;

    margin-bottom: 20px;

    color: #00879a;

    font-size: .72rem;

    font-weight: 700;

    letter-spacing: 4px;

}


.specialties-heading h2 {

    margin: 0;

    color: #082a3a;

    font-family: 'DM Serif Display', serif;

    font-size: clamp(3rem, 6vw, 6rem);

    line-height: .95;

}


.specialties-heading h2 span {

    display: block;

    color: #00afc4;

}


.specialties-heading p {

    max-width: 650px;

    margin-top: 30px;

    color: #5d747d;

    font-size: 1rem;

    line-height: 1.8;

}


/* =====================================================
   CARD
===================================================== */

.specialty-card {

    height: 100%;

    display: flex;

    flex-direction: column;

    background: #ffffff;

    border-radius: 18px;

    overflow: hidden;

    border: 1px solid rgba(0, 135, 154, .10);

    box-shadow:
        0 10px 35px rgba(8, 42, 58, .06);

    transition:
        transform .4s ease,
        box-shadow .4s ease,
        border-color .4s ease;

}


/* HOVER */

.specialty-card:hover {

    transform: translateY(-10px);

    border-color: rgba(0, 175, 196, .25);

    box-shadow:
        0 25px 55px rgba(8, 42, 58, .13);

}


/* =====================================================
   IMAGEN
===================================================== */

.specialty-image {

    position: relative;

    height: 245px;

    overflow: hidden;

    background: #dceff2;

}


.specialty-image img {

    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform .7s ease,
        filter .5s ease;

}


/* EFECTO AL PASAR EL MOUSE */

.specialty-card:hover .specialty-image img {

    transform: scale(1.07);

    filter: brightness(.85);

}


/* CAPA DE COLOR */

.specialty-image::after {

    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(8, 42, 58, 0) 45%,
            rgba(8, 42, 58, .35) 100%
        );

    pointer-events: none;

}


/* =====================================================
   NÚMERO
===================================================== */

.specialty-number {

    position: absolute;

    z-index: 2;

    top: 18px;
    right: 20px;

    display: flex;

    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;

    border-radius: 50%;

    background: rgba(255, 255, 255, .92);

    color: #00879a;

    font-size: .75rem;

    font-weight: 700;

    box-shadow:
        0 5px 20px rgba(0, 0, 0, .10);

}


/* =====================================================
   CONTENIDO
===================================================== */

.specialty-content {

    display: flex;

    flex-direction: column;

    flex: 1;

    padding: 32px;

}


/* CATEGORÍA */

.specialty-category {

    margin-bottom: 12px;

    color: #00a4b8;

    font-size: .65rem;

    font-weight: 700;

    letter-spacing: 2px;

}


/* TÍTULO */

.specialty-content h3 {

    margin: 0 0 18px;

    color: #082a3a;

    font-family: 'DM Serif Display', serif;

    font-size: clamp(1.65rem, 2.5vw, 2.15rem);

    line-height: 1.05;

}


/* DESCRIPCIÓN */

.specialty-content p {

    margin: 0;

    color: #607982;

    font-size: .9rem;

    line-height: 1.75;

}


/* =====================================================
   LINK
===================================================== */

.specialty-link {

    display: inline-flex;

    align-items: center;

    gap: 9px;

    width: fit-content;

    margin-top: auto;
    padding-top: 28px;

    color: #00879a;

    text-decoration: none;

    font-size: .78rem;

    font-weight: 700;

    letter-spacing: .4px;

    transition: all .3s ease;

}


.specialty-link i {

    transition:
        transform .3s ease;

}


.specialty-link:hover {

    color: #00afc4;

}


.specialty-link:hover i {

    transform: translateX(5px);

}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 991.98px) {

    .specialty-image {

        height: 220px;

    }

    .specialty-content {

        padding: 28px;

    }

}


/* =====================================================
   MÓVIL
===================================================== */

@media (max-width: 767.98px) {

    .specialties-section {

        padding: 80px 0;

    }


    .specialties-heading {

        margin-bottom: 45px;

    }


    .specialties-heading h2 {

        font-size: clamp(3rem, 13vw, 4.3rem);

    }


    .specialties-heading p {

        font-size: .92rem;

        line-height: 1.7;

    }


    .specialty-image {

        height: 240px;

    }


    .specialty-content {

        padding: 27px;

    }


    .specialty-content h3 {

        font-size: 1.9rem;

    }

}

/* =====================================================
   QUOTE
===================================================== */

.quote-section{

    padding:150px 0;

    background:var(--dark);

    color:white;

    text-align:center;

}

.quote-content{

    max-width:850px;

    margin:auto;

}

.quote-content .eyebrow{

    color:#aebbb4;

}

.quote-content h2{

    font-family:'DM Serif Display', serif;

    font-size:clamp(3rem,6vw,6rem);

    line-height:1;

    margin-bottom:45px;

}


/* =====================================================
   CONTACTO
===================================================== */

.contact-section{

    padding:140px 0;

    background:var(--cream);

}

.contact-section h2{

    font-family:'DM Serif Display', serif;

    font-size:clamp(3rem,5vw,5rem);

    line-height:1;

    color:var(--dark);

    margin-bottom:30px;

}

.contact-section p{

    color:var(--muted);

    line-height:1.9;

}

.contact-form{

    background:white;

    padding:45px;

}

.contact-form .form-control{

    border:none;

    border-bottom:1px solid #d5d5d5;

    border-radius:0;

    padding:15px 5px;

    font-size:.85rem;

}

.contact-form .form-control:focus{

    box-shadow:none;

    border-color:var(--dark);

}


/* =====================================================
   FOOTER
===================================================== */

.medical-footer{

    background:var(--dark);

    color:white;

    padding:80px 0 30px;

}

.medical-footer h3{

    font-family:'DM Serif Display', serif;

    font-size:2rem;

}

.medical-footer h4{

    font-size:.8rem;

    text-transform:uppercase;

    letter-spacing:2px;

    margin-bottom:25px;

}

.medical-footer p{

    color:#aeb5b2;

    font-size:.85rem;

    line-height:1.8;

}

.medical-footer a{

    display:block;

    color:#aeb5b2;

    text-decoration:none;

    margin-bottom:12px;

    font-size:.85rem;

    transition:.3s;

}

.medical-footer a:hover{

    color:white;

    transform:translateX(4px);

}

.footer-bottom{

    border-top:1px solid rgba(255,255,255,.1);

    margin-top:60px;

    padding-top:25px;

}


/* =====================================================
   MOBILE
===================================================== */

@media(max-width:991px){

    .medical-navbar{

        background:white;

        padding:15px 0;

    }

    .navbar-button{

        display:inline-block;

        margin:15px 0 0;

    }

    .medical-navbar .nav-link{

        margin-left:0;

        padding:12px 0;

    }

    .hero{

        padding-top:100px;

    }

    .hero-text{

        padding-right:0;

        padding-bottom:60px;

    }

    .hero-image{

        height:500px;

    }

    .experience-image{

        height:500px;

    }

}


@media(max-width:576px){

    .hero h1{

        font-size:3.2rem;

    }

    .hero-buttons{

        flex-direction:column;

        align-items:flex-start;

    }

    .hero-image{

        height:420px;

    }

    .intro-section,
    .experience-section,
    .specialties-section,
    .contact-section{

        padding:90px 0;

    }

    .experience-image{

        height:400px;

    }

    .experience-stats{

        flex-direction:column;

        gap:20px;

    }

    .specialty-card{

        min-height:320px;

        padding:30px;

    }

    .contact-form{

        padding:30px 20px;

    }

}
/* =========================================
   WHATSAPP FLOTANTE
========================================= */

.whatsapp-float {
    position: fixed;
    right: 25px;
    bottom: 25px;

    width: 60px;
    height: 60px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #25332f;
    color: #fff;

    border-radius: 50%;

    text-decoration: none;

    font-size: 28px;

    z-index: 9999;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.20);

    transition: all 0.35s ease;

    animation: whatsappPulse 2.5s infinite;
}

.whatsapp-float:hover {
    color: #fff;

    transform: translateY(-6px) scale(1.05);

    background: #31443e;

    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}


/* Animación */

@keyframes whatsappPulse {

    0% {
        box-shadow:
            0 0 0 0 rgba(37, 51, 47, 0.35);
    }

    70% {
        box-shadow:
            0 0 0 15px rgba(37, 51, 47, 0);
    }

    100% {
        box-shadow:
            0 0 0 0 rgba(37, 51, 47, 0);
    }

}


/* MÓVIL */

@media (max-width: 768px) {

    .whatsapp-float {

        width: 55px;
        height: 55px;

        right: 18px;
        bottom: 18px;

        font-size: 25px;

    }

}
.experience-stats strong{

    font-family:'DM Serif Display', serif;

    font-size:2.5rem;

    color:var(--accent-dark);

}

.specialty-card,
.service-card{

    background:#FFFFFF;

    border:1px solid #DCEEF2;

    transition:
        transform .4s ease,
        box-shadow .4s ease,
        background .4s ease;

}

.specialty-card:hover,
.service-card:hover{

    transform:translateY(-10px);

    background:var(--dark);

    box-shadow:
        0 20px 50px rgba(8,42,58,.15);

}

.card-number,
.service-icon{
    color: var(--accent);
    font-family: "DM Serif Display", serif;

}
.intro-section{

    background:#FFFFFF;

}

.experience-section{

    background:#F3FAFC;

}

.services-section{

    background:#EAF6FA;

}

.specialties-section{

    background:#FFFFFF;

}

.faq-section{

    background:#F3FAFC;

}
.quote-section,
.final-cta{

    background:

        radial-gradient(
            circle at 20% 20%,
            rgba(0,175,196,.18),
            transparent 35%
        ),

        linear-gradient(
            135deg,
            #061F2B,
            #082A3A 60%,
            #0B4053
        );

    color:white;

}

.accordion-button:not(.collapsed){

    color:var(--accent-dark);

}

.accordion-button::after{

    filter:none;

}

.accordion-item{

    border-color:#CDE5EA;

}
.medical-navbar.scrolled{

    background:rgba(255,255,255,.96);

    backdrop-filter:blur(12px);

    box-shadow:
        0 5px 30px rgba(8,42,58,.08);

    padding:15px 0;

}
.whatsapp-float{

    background:#100B0B  ;

    color:white;

    box-shadow: 
        0 10px 30px rgba(0,175,196,.30);

}

.whatsapp-float:hover{

    background:var(--accent-dark);

    color:white;

    transform:
        translateY(-6px)
        scale(1.05);

}

/* =====================================================
   RESPONSIVE GLOBAL
===================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    width: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    width: 100%;
    max-width: 100%;
    margin: 0;
    overflow-x: hidden;
}

img {
    max-width: 100%;
}


/* =====================================================
   CONTENEDORES
===================================================== */

.container {
    width: 100%;
}


/* =====================================================
   TEXTOS FLUIDOS
===================================================== */

h1 {
    font-size: clamp(2.8rem, 6vw, 6.5rem);
}

h2 {
    font-size: clamp(2.2rem, 5vw, 5rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
}

p {
    font-size: clamp(.95rem, 1.2vw, 1.1rem);
    color: #00879A;
}


/* =====================================================
   SECCIONES
===================================================== */

section {
    width: 100%;
    max-width: 100%;
    padding-top: clamp(70px, 10vw, 140px);
    padding-bottom: clamp(70px, 10vw, 140px);
}


/* =====================================================
   NAVBAR
===================================================== */

.medical-navbar {
    width: 100%;
}

.medical-navbar .container {
    min-width: 0;
}

.medical-navbar .navbar-brand {
    max-width: 75%;
    white-space: normal;
}


/* =====================================================
   HERO / CARRUSEL
===================================================== */

.hero-carousel {
    width: 100%;
    height: 100vh;
    min-height: 650px;
    overflow: hidden;
}

.hero-carousel .carousel,
.hero-carousel .carousel-inner,
.hero-carousel .carousel-item {
    width: 100%;
    height: 100%;
}

.hero-carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 991.98px) {

    .hero-content {
        left: 6%;
        right: 6%;
        max-width: 700px;
    }

    .navbar-nav {
        padding: 20px 0;
    }

    .navbar-nav .nav-link {
        padding: 12px 0;
    }

}


/* =====================================================
   CELULAR
===================================================== */

@media (max-width: 767.98px) {

    body {
        overflow-x: hidden;
    }


    /* NAVBAR */

    .medical-navbar {
        padding: 10px 0;
    }

    .medical-navbar .navbar-brand {
        font-size: .9rem;
        line-height: 1.2;
        max-width: 75%;
    }

    .navbar-toggler {
        flex-shrink: 0;
    }


    /* HERO */

    

    .hero-carousel-image {
        object-position: center;
    }


    /* OSCURECER IMAGEN */

    .hero-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(5, 28, 38, .25) 0%,
                rgba(5, 28, 38, .55) 45%,
                rgba(5, 28, 38, .90) 100%
            );
    }


    /* TEXTO HERO */

    .hero-content {
        position: absolute;

        left: 20px;
        right: 20px;

        top: 55%;

        transform: translateY(-50%);

        max-width: none;
    }

    .hero-content h1 {
        font-size: clamp(2.8rem, 12vw, 4rem);
        line-height: .98;
        margin-bottom: 20px;
    }

    .hero-content p {
        font-size: .95rem;
        line-height: 1.7;
    }


    /* BOTONES */

    .hero-buttons {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 10px;
        margin-top: 25px;
    }

    .hero-buttons a {
        width: 100%;
        text-align: center;
    }


    /* INDICADORES */

    .hero-carousel .carousel-indicators {
        left: 20px;
        right: 20px;
        bottom: 20px;
        margin: 0;
    }


    /* OCULTAR FLECHAS */

    .hero-carousel .carousel-control-prev,
    .hero-carousel .carousel-control-next {
        display: none;
    }


    /* COLUMNAS */

    .row > [class*="col-"] {
        width: 100%;
    }


    /* CARDS */

    .service-card,
    .specialty-card {
        width: 100%;
        min-height: auto;
    }


    /* GALERÍA */

    .gallery-item,
    .gallery-large {
        height: 300px;
    }


    /* IMÁGENES */

    .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }


    /* CTA */

    .final-cta {
        padding-left: 20px;
        padding-right: 20px;
    }


    /* WHATSAPP */

    .whatsapp-float {
        width: 55px;
        height: 55px;

        right: 18px;
        bottom: 18px;

        font-size: 24px;
    }

}


/* =====================================================
   CELULARES MUY PEQUEÑOS
===================================================== */

@media (max-width: 400px) {

    .container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .hero-content {
        left: 18px;
        right: 18px;
    }

    .hero-content h1 {
        font-size: 2.7rem;
    }

    .hero-content p {
        font-size: .88rem;
    }

    .hero-content .eyebrow {
        font-size: .65rem;
        letter-spacing: 2px;
    }

}

/* =====================================================
   SOBRE EL DOCTOR
===================================================== */

.doctor-section {

    position: relative;

    padding: clamp(80px, 10vw, 150px) 0;

    background: #ffffff;

    overflow: hidden;

}


/* ETIQUETA */

.doctor-section .eyebrow {

    color: #00879A;

}


/* TITULO */

.doctor-title {

    font-family: 'DM Serif Display', serif;

    font-size: clamp(3rem, 5vw, 5.5rem);

    line-height: .95;

    color: #082A3A;

    margin-bottom: 30px;

}


/* DESCRIPCIÓN */

.doctor-description {

    max-width: 700px;

    color: #526C76;

    font-size: 1.05rem;

    line-height: 1.9;

    margin-bottom: 30px;

}


/* =====================================================
   ESPECIALIDADES
===================================================== */

.doctor-specialties {

    list-style: none;

    padding: 0;

    margin: 0 0 35px;

}


.doctor-specialties li {

    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 12px;

    color: #365561;

    font-size: .95rem;

}


.doctor-specialties li span {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 20px;

    height: 20px;

    color: #00AFC4;

    font-weight: 700;

}


/* =====================================================
   BOTONES
===================================================== */

.doctor-buttons {

    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 14px;

}


.btn-whatsapp {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 9px;

    padding: 15px 25px;

    background: #00AFC4;

    color: #ffffff;

    text-decoration: none;

    font-size: .85rem;

    font-weight: 600;

    border-radius: 30px;

    transition: all .35s ease;

}


.btn-whatsapp:hover {

    background: #00879A;

    color: #ffffff;

    transform: translateY(-3px);

    box-shadow:
        0 10px 25px rgba(0, 175, 196, .22);

}


.btn-outline-medical {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 14px 25px;

    border: 1px solid #00AFC4;

    border-radius: 30px;

    color: #00879A;

    background: transparent;

    text-decoration: none;

    font-size: .85rem;

    font-weight: 600;

    transition: all .35s ease;

}


.btn-outline-medical:hover {

    background: #00AFC4;

    border-color: #00AFC4;

    color: #ffffff;

    transform: translateY(-3px);

}


/* =====================================================
   IMAGEN
===================================================== */

.doctor-image-wrapper {

    position: relative;

    width: 100%;

    max-width: 480px;

    margin-left: auto;

}


/* FOTO */

.doctor-image {

    position: relative;

    z-index: 2;

    display: block;

    width: 100%;

    aspect-ratio: 4 / 5;

    object-fit: cover;

    object-position: center;

    border-radius: 18px;

}


/* DECORACIÓN */

.doctor-image-decoration {

    position: absolute;

    z-index: 1;

    width: 100%;

    height: 100%;

    top: 18px;

    left: 18px;

    border: 2px solid #00AFC4;

    border-radius: 18px;

}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 991.98px) {

    .doctor-image-wrapper {

        max-width: 400px;

    }

    .doctor-description {

        font-size: 1rem;

    }

}


/* =====================================================
   CELULAR
===================================================== */

@media (max-width: 767.98px) {

    .doctor-section {

        padding: 80px 0;

    }


    .doctor-title {

        font-size: clamp(2.8rem, 12vw, 4rem);

    }


    .doctor-description {

        font-size: .95rem;

        line-height: 1.75;

    }


    .doctor-buttons {

        flex-direction: column;

        align-items: stretch;

        width: 100%;

    }


    .btn-whatsapp,
    .btn-outline-medical {

        width: 100%;

    }


    .doctor-image-wrapper {

        width: calc(100% - 15px);

        margin: 25px auto 0;

    }


    .doctor-image {

        aspect-ratio: 4 / 5;

    }


    .doctor-image-decoration {

        top: 12px;

        left: 12px;

    }

}

/* =====================================================
   FOOTER MÉDICO
===================================================== */

.medical-footer {

    position: relative;

    background:
        linear-gradient(
            135deg,
            #061F2B 0%,
            #082A3A 55%,
            #0B4053 100%
        );

    color: #ffffff;

    padding: 80px 0 25px;

    overflow: hidden;

}


/* DETALLE CIAN */

.medical-footer::before {

    content: "";

    position: absolute;

    width: 350px;
    height: 350px;

    top: -180px;
    right: -100px;

    background: #00AFC4;

    opacity: .08;

    border-radius: 50%;

    filter: blur(5px);

}


/* MARCA */

.footer-brand h3 {

    font-family: 'DM Serif Display', serif;

    font-size: 2rem;

    color: #ffffff;

    margin-bottom: 20px;

}


.footer-brand h3::after {

    content: "";

    display: block;

    width: 45px;

    height: 3px;

    margin-top: 15px;

    background: #00AFC4;

}


.footer-brand p {

    max-width: 430px;

    color: #B8CBD1;

    line-height: 1.8;

    margin: 0;

}


/* TITULOS */

.medical-footer h4 {

    font-size: .75rem;

    letter-spacing: 2px;

    text-transform: uppercase;

    color: #63D8E4;

    margin-bottom: 25px;

}


/* LINKS */

.footer-links {

    list-style: none;

    padding: 0;

    margin: 0;

}


.footer-links li {

    margin-bottom: 12px;

}


.footer-links a {

    color: #B8CBD1;

    text-decoration: none;

    font-size: .9rem;

    transition: all .3s ease;

}


.footer-links a:hover {

    color: #5ED9E5;

    padding-left: 5px;

}


/* CONTACTO */

.footer-contact {

    display: flex;

    flex-direction: column;

    gap: 15px;

}


.footer-contact a {

    display: flex;

    align-items: center;

    gap: 12px;

    color: #B8CBD1;

    text-decoration: none;

    font-size: .9rem;

    transition: .3s ease;

}


.footer-contact a i {

    color: #00AFC4;

    font-size: 18px;

}


.footer-contact a:hover {

    color: #ffffff;

}


/* DIVISOR */

.footer-divider {

    width: 100%;

    height: 1px;

    margin: 55px 0 25px;

    background: rgba(255,255,255,.12);

}


/* PARTE INFERIOR */

.footer-bottom {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

}


.footer-bottom p {

    margin: 0;

    color: #78939D;

    font-size: .75rem;

}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 767.98px) {

    .medical-footer {

        padding: 65px 0 25px;

    }


    .footer-brand p {

        max-width: 100%;

    }


    .footer-bottom {

        flex-direction: column;

        align-items: flex-start;

        gap: 8px;

    }


    .footer-divider {

        margin: 40px 0 20px;

    }

}

.btn-instagram {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    padding: 15px 25px;

    background: transparent;
    color: #833AB4;

    border: 1px solid #833AB4;
    border-radius: 30px;

    text-decoration: none;

    font-size: .85rem;
    font-weight: 600;

    transition: all .3s ease;
}

.btn-instagram i {
    font-size: 18px;
}

.btn-instagram:hover {
    color: #ffffff;

    border-color: transparent;

    background:
        linear-gradient(
            135deg,
            #405DE6,
            #833AB4,
            #E1306C,
            #F77737
        );

    transform: translateY(-3px);

    box-shadow:
        0 10px 25px rgba(131, 58, 180, .20);
}

/* =====================================================
   ESPACIO PROFESIONAL
===================================================== */

.professional-space {

    padding: clamp(80px, 10vw, 150px) 0;

    background: #f7fafb;

    overflow: hidden;

}


/* ENCABEZADO */

.space-heading {

    margin-bottom: 55px;

}


.space-heading .eyebrow {

    display: block;

    margin-bottom: 20px;

    color: #00879a;

    font-size: .75rem;

    font-weight: 600;

    letter-spacing: 4px;

}


.space-heading h2 {

    margin: 0;

    color: #082a3a;

    font-family: 'DM Serif Display', serif;

    font-size: clamp(3rem, 6vw, 6rem);

    line-height: .95;

}


.space-heading h2 span {
    color: #082A3A;

}


/* =====================================================
   CARRUSEL
===================================================== */

.consultorio-carousel {

    position: relative;

    width: 100%;

    overflow: hidden;

    border-radius: 22px;

    box-shadow:
        0 25px 60px rgba(8, 42, 58, .15);

}


/* IMÁGENES */

.consultorio-carousel .carousel-item {

    height: clamp(450px, 65vw, 700px);

}


.consultorio-carousel .carousel-item img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    object-position: center;

    display: block;

}


/* OSCURECIMIENTO MUY SUTIL */

.consultorio-carousel .carousel-item::after {

    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0) 55%,
            rgba(0, 0, 0, .28) 100%
        );

    pointer-events: none;

}


/* =====================================================
   CONTROLES
===================================================== */

.consultorio-carousel .carousel-control-prev,
.consultorio-carousel .carousel-control-next {

    width: 65px;

    height: 65px;

    top: 50%;

    transform: translateY(-50%);

    margin: 0 25px;

    border-radius: 50%;

    background: rgba(8, 42, 58, .72);

    opacity: 1;

    transition: all .3s ease;

}


.consultorio-carousel .carousel-control-prev:hover,
.consultorio-carousel .carousel-control-next:hover {

    background: #00afc4;

}


.consultorio-carousel .carousel-control-prev-icon,
.consultorio-carousel .carousel-control-next-icon {

    width: 20px;

    height: 20px;

}


/* =====================================================
   INDICADORES
===================================================== */

.consultorio-carousel .carousel-indicators {

    margin-bottom: 25px;

    z-index: 5;

}


.consultorio-carousel .carousel-indicators button {

    width: 35px;

    height: 3px;

    margin: 0 5px;

    border: 0;

    border-radius: 5px;

    opacity: .6;

}


.consultorio-carousel .carousel-indicators button.active {

    opacity: 1;

    background-color: #00afc4;

}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 991.98px) {

    .consultorio-carousel .carousel-item {

        height: 500px;

    }

}


/* =====================================================
   CELULAR
===================================================== */

@media (max-width: 767.98px) {

    .professional-space {

        padding: 75px 0;

    }


    .space-heading {

        margin-bottom: 35px;

    }


    .space-heading h2 {

        font-size: clamp(2.8rem, 13vw, 4rem);

    }


    .consultorio-carousel {

        border-radius: 15px;

    }


    .consultorio-carousel .carousel-item {

        height: 450px;

    }


    .consultorio-carousel .carousel-item img {

        object-position: center;

    }


    /* CONTROLES MÁS PEQUEÑOS */

    .consultorio-carousel .carousel-control-prev,
    .consultorio-carousel .carousel-control-next {

        width: 45px;


        height: 45px;

        margin: 0 10px;

    }


    .consultorio-carousel .carousel-control-prev-icon,
    .consultorio-carousel .carousel-control-next-icon {

        width: 15px;

        height: 15px;

    }


    .consultorio-carousel .carousel-indicators {

        margin-bottom: 15px;

    }


    .consultorio-carousel .carousel-indicators button {

        width: 25px;

    }

}

/* =====================================================
   ATENCIÓN ESPECIALIZADA
===================================================== */

.services-section {

    position: relative;

    padding: clamp(90px, 11vw, 160px) 0;

    background: #edf8fa;

    overflow: hidden;

}


/* DETALLE DECORATIVO */

.services-section::before {

    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    top: -250px;
    right: -150px;

    border-radius: 50%;

    background: #00afc4;

    opacity: .06;

    pointer-events: none;

}


/* =====================================================
   ENCABEZADO
===================================================== */

.services-heading {

    max-width: 750px;

    margin-bottom: 65px;

}


.services-heading .eyebrow {

    display: inline-block;

    margin-bottom: 20px;

    color: #00879a;

    font-size: .72rem;

    font-weight: 700;

    letter-spacing: 4px;

}


.services-heading h2 {

    margin: 0;

    color: #082a3a;

    font-family: 'DM Serif Display', serif;

    font-size: clamp(3.2rem, 6vw, 6rem);

    line-height: .95;

}


.services-heading h2 span {
    display: block;
    color: #082A3A;

}


.services-heading p {

    max-width: 620px;

    margin: 30px 0 0;

    color: #58727d;

    font-size: 1rem;

    line-height: 1.8;

}


/* =====================================================
   TARJETA
===================================================== */

.service-card {

    position: relative;

    height: 100%;

    min-height: 390px;

    padding: 38px;

    background: #ffffff;

    border: 1px solid rgba(0, 135, 154, .10);

    border-radius: 18px;

    overflow: hidden;

    display: flex;

    flex-direction: column;

    transition:
        transform .4s ease,
        box-shadow .4s ease,
        border-color .4s ease;

}


/* LÍNEA SUPERIOR */

.service-card::before {

    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 0;
    height: 4px;

    background: #00afc4;

    transition: width .4s ease;

}


/* HOVER */

.service-card:hover {

    transform: translateY(-10px);

    border-color: rgba(0, 175, 196, .25);

    box-shadow:
        0 25px 55px rgba(8, 42, 58, .12);

}


.service-card:hover::before {

    width: 100%;

}


/* =====================================================
   NÚMERO
===================================================== */

.service-number {

    position: absolute;

    top: 25px;
    right: 30px;

    color: #d8eef1;

    font-size: 3.5rem;

    font-weight: 700;

    line-height: 1;

}


/* =====================================================
   ICONO
===================================================== */

.service-icon {

    width: 58px;
    height: 58px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 30px;

    border-radius: 14px;

    background: #e6f7f9;

    color: #00879a;

    font-size: 25px;

    transition: all .35s ease;

}


.service-card:hover .service-icon {

    background: #00afc4;

    color: #ffffff;

    transform: scale(1.05);

}


/* =====================================================
   TÍTULO
===================================================== */

.service-card h3 {

    max-width: 90%;

    margin: 0 0 20px;

    color: #082a3a;

    font-family: 'DM Serif Display', serif;

    font-size: clamp(1.8rem, 3vw, 2.4rem);

    line-height: 1;

}


/* =====================================================
   DESCRIPCIÓN
===================================================== */

.service-card p {

    margin: 0;

    color: #617a84;

    font-size: .95rem;

    line-height: 1.8;

}


/* =====================================================
   LINK
===================================================== */

.service-link {


    display: inline-flex;

    align-items: center;

    gap: 8px;

    width: fit-content;

    margin-top: auto;
    padding-top: 30px;

    color: #00879a;

    text-decoration: none;

    font-size: .8rem;

    font-weight: 700;

    letter-spacing: .5px;

    transition: all .3s ease;

}


.service-link i {

    font-size: 14px;

    transition: transform .3s ease;

}


.service-link:hover {

    color: #00afc4;

}


.service-link:hover i {

    transform:
        translate(3px, -3px);

}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 991.98px) {

    .service-card {

        min-height: 360px;

        padding: 30px;

    }

}


/* =====================================================
   MÓVIL
===================================================== */

@media (max-width: 767.98px) {

    .services-section {

        padding: 80px 0;

    }


    .services-heading {

        margin-bottom: 45px;

    }


    .services-heading h2 {

        font-size: clamp(3rem, 14vw, 4.5rem);

    }


    .services-heading p {

        font-size: .95rem;

        line-height: 1.7;

    }


    .service-card {

        min-height: 350px;

        padding: 30px;

        border-radius: 15px;

    }


    .service-number {

        top: 22px;
        right: 22px;

        font-size: 2.8rem;

    }


    .service-card h3 {

        font-size: 2rem;

    }

}

/* =====================================================
   HEADER / NAVBAR
===================================================== */

.navbar .nav-link {

    position: relative;

    color: #082a3a;

    font-weight: 500;

    transition:
        color .3s ease;

}


/* CAMBIO DE COLOR */

.navbar .nav-link:hover {

    color: #00a8bd !important;

}


/* LÍNEA DEBAJO DEL ENLACE */

.navbar .nav-link::after {

    content: "";

    position: absolute;

    left: 50%;
    bottom: 3px;

    width: 0;
    height: 2px;

    background: #00a8bd;

    transform: translateX(-50%);

    transition:
        width .3s ease;

}


/* ANIMACIÓN DE LA LÍNEA */

.navbar .nav-link:hover::after {

    width: 70%;

}


/* SECCIÓN ACTIVA */

.navbar .nav-link.active {

    color: #00879a !important;

}


.navbar .nav-link.active::after {

    width: 70%;

}


/* =====================================================
   HEADER
===================================================== */

.site-header {

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 1000;

    transition:
        background-color .35s ease,
        box-shadow .35s ease,
        backdrop-filter .35s ease;

}


/* NAVBAR */

.site-header .navbar {

    min-height: 90px;

}


/* LOGO */

.site-header .navbar-brand {

    color: #ffffff;

    font-size: 1.35rem;

    font-weight: 600;

    letter-spacing: .5px;

    transition: color .3s ease;

}


/* LINKS */

.site-header .nav-link {

    position: relative;

    color: #ffffff;

    font-size: .9rem;

    font-weight: 500;

    padding: 10px 18px !important;

    transition:
        color .3s ease;

}


/* HOVER */

.site-header .nav-link:hover {

    color: #50d5e5;

}


/* LÍNEA */

.site-header .nav-link::after {

    content: "";

    position: absolute;

    left: 50%;
    bottom: 2px;

    width: 0;
    height: 2px;

    background: #00afc4;

    transform: translateX(-50%);

    transition:
        width .3s ease;

}


.site-header .nav-link:hover::after {

    width: 55%;

}

.site-header::after {
	
	

    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 120px;

    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, .38),
            rgba(0, 0, 0, .12),
            transparent
        );

    z-index: -1;

    pointer-events: none;

}

/* =====================================================
   HEADER CON SCROLL
===================================================== */

.site-header.scrolled {

    position: fixed;

    top: 0;

    background: rgba(255, 255, 255, .94);

    backdrop-filter: blur(12px);

    -webkit-backdrop-filter: blur(12px);

    box-shadow:
        0 8px 30px rgba(8, 42, 58, .10);

}


/* LOGO CON SCROLL */

.site-header.scrolled .navbar-brand {

    color: #082a3a;

}


/* LINKS CON SCROLL */

.site-header.scrolled .nav-link {

    color: #082a3a;

}


.site-header.scrolled .nav-link:hover {

    color: #00a8bd;

}


/* QUITAMOS EL DEGRADADO */

.site-header.scrolled::after {

    display: none;

}

/* =====================================================
   HEADER RESPONSIVE
===================================================== */

.site-header .container {
    width: 100%;
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 991.98px) {

    .site-header .navbar {
        min-height: 75px;
        padding: 12px 0;
    }

    .site-header .navbar-brand {

        font-size: 1.1rem;

        max-width: calc(100% - 65px);

        white-space: nowrap;

        overflow: hidden;

        text-overflow: ellipsis;

    }

}


/* =====================================================
   CELULAR
===================================================== */

/* =====================================================
   HEADER RESPONSIVE
===================================================== */

.site-header .navbar {
    width: 100%;
}

.site-header .navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}


/* NOMBRE DEL DOCTOR */

.site-header .navbar-brand {

    flex: 1 1 auto;

    min-width: 0;

    margin-right: 12px;

    color: #082a3a;

    font-size: clamp(.85rem, 3.8vw, 1.35rem);

    font-weight: 600;

    letter-spacing: .2px;

    white-space: nowrap;

}


/* BOTÓN HAMBURGUESA */

.site-header .navbar-toggler {

    flex: 0 0 48px;

    width: 48px;

    height: 48px;

    margin-left: auto;

    padding: 8px;

}


/* =====================================================
   CELULAR
===================================================== */

@media (max-width: 575.98px) {

    .site-header .navbar {
        min-height: 70px;
        padding: 9px 0;
    }

    .site-header .navbar .container {

        padding-left: 15px;
        padding-right: 15px;

    }

    .site-header .navbar-brand {

        font-size: clamp(
            .72rem,
            4.1vw,
            1rem
        );

        letter-spacing: 0;

        margin-right: 8px;

    }

    .site-header .navbar-toggler {

        width: 48px;
        height: 48px;

        flex-basis: 48px;

    }

}

@media (max-width: 400px) {

    .site-header .navbar-brand {

        font-size: .78rem;

        letter-spacing: -.2px;

    }

}/* =====================================================
   SUBSECCIÓN - INFERTILIDAD
===================================================== */

.infertility-heading {

    margin-top: 110px;

    margin-bottom: 55px;

    max-width: 760px;

    position: relative;

}


/* ETIQUETA */

.infertility-heading .eyebrow {

    display: inline-block;

    margin-bottom: 18px;

    color: #00879a;

    font-size: .72rem;

    font-weight: 700;

    letter-spacing: 4px;

}


/* TÍTULO */

.infertility-heading h3 {

    margin: 0;

    color: #082a3a;

    font-family: 'DM Serif Display', serif;

    font-size: clamp(3rem, 5vw, 5rem);

    line-height: .95;

}


/* PARTE AZUL */

.infertility-heading h3 span {

    color: #00afc4;

}


/* DESCRIPCIÓN */

.infertility-heading p {

    max-width: 650px;

    margin-top: 25px;

    color: #607982;

    font-size: .95rem;

    line-height: 1.8;

}


/* =====================================================
   MÓVIL
===================================================== */

@media (max-width: 767.98px) {

    .infertility-heading {

        margin-top: 80px;

        margin-bottom: 40px;

    }


    .infertility-heading h3 {

        font-size: clamp(
            2.8rem,
            12vw,
            4rem
        );

    }

}
/* =====================================================
   SUBSECCIÓN ENDOUROLOGÍA
===================================================== */

.endourology-heading {

    margin-top: 110px;

    margin-bottom: 55px;

    max-width: 760px;

    position: relative;

}


/* ETIQUETA */

.endourology-heading .eyebrow {

    display: inline-block;

    margin-bottom: 18px;

    color: #00879a;

    font-size: .72rem;

    font-weight: 700;

    letter-spacing: 4px;

}


/* TÍTULO */

.endourology-heading h3 {

    margin: 0;

    color: #082a3a;

    font-family: 'DM Serif Display', serif;

    font-size: clamp(3rem, 5vw, 5rem);

    line-height: .95;

}


/* PALABRA DESTACADA */

.endourology-heading h3 span {

    color: #00afc4;

}


/* DESCRIPCIÓN */

.endourology-heading p {

    max-width: 650px;

    margin-top: 25px;

    color: #607982;

    font-size: .95rem;

    line-height: 1.8;

}


/* =====================================================
   MÓVIL
===================================================== */

@media (max-width: 767.98px) {

    .endourology-heading {

        margin-top: 80px;

        margin-bottom: 40px;

    }


    .endourology-heading h3 {

        font-size: clamp(
            2.8rem,
            12vw,
            4rem
        );

    }


    .endourology-heading p {

        font-size: .9rem;

        line-height: 1.7;

    }

}
@media (min-width: 992px) {

    .endourology-heading + .row > div:last-child {

        margin-left: 33.333333%;

    }

}

/* =====================================================
   SECCIÓN ASEGURADORAS
===================================================== */

.seguros-section {

    padding: 100px 0;

    background: #f5fbfd;

    overflow: hidden;

}


/* ENCABEZADO */

.seguros-header {

    max-width: 750px;

    margin: 0 auto 55px;

}


.seguros-eyebrow {

    display: block;

    margin-bottom: 15px;

    color: #00a8bd;

    font-size: .72rem;

    font-weight: 700;

    letter-spacing: 4px;

}


.seguros-header h2 {

    margin: 0;

    color: #082a3a;

    font-family: 'DM Serif Display', serif;

    font-size: clamp(2.8rem, 5vw, 4.5rem);

    line-height: 1;

}


.seguros-header h2 span {
    color: #082A3A;

}


.seguros-header p {

    max-width: 600px;

    margin: 25px auto 0;

    color: #607982;

    font-size: .95rem;

    line-height: 1.8;

}


/* =====================================================
   CONTENEDOR DEL CARRUSEL
===================================================== */

.seguros-marquee {

    width: 100%;

    overflow: hidden;

    position: relative;

}


/* DIFUMINADO EN LOS EXTREMOS */

.seguros-marquee::before,
.seguros-marquee::after {

    content: "";

    position: absolute;

    top: 0;

    width: 120px;

    height: 100%;

    z-index: 2;

    pointer-events: none;

}


.seguros-marquee::before {

    left: 0;

    background:
        linear-gradient(
            to right,
            #f5fbfd,
            transparent
        );

}


.seguros-marquee::after {

    right: 0;

    background:
        linear-gradient(
            to left,
            #f5fbfd,
            transparent
        );

}


/* =====================================================
   TRACK
===================================================== */

.seguros-track {

    display: flex;

    width: max-content;

    gap: 18px;

    animation:
        seguros-scroll 35s linear infinite;

}


/* =====================================================
   LOGOS
===================================================== */

.seguro-logo {

    width: 170px;

    height: 75px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 15px 22px;

    background: #ffffff;

    border: 1px solid #dcecef;

    border-radius: 14px;

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;

}


.seguro-logo img {

    max-width: 100%;

    max-height: 45px;

    width: auto;

    height: auto;

    object-fit: contain;

}


/* HOVER */

.seguro-logo:hover {

    transform: translateY(-5px);

    border-color: #00afc4;

    box-shadow:
        0 12px 30px rgba(0, 130, 150, .12);

}


/* =====================================================
   ANIMACIÓN INFINITA
===================================================== */

@keyframes seguros-scroll {

    from {

        transform: translateX(0);

    }

    to {

        transform: translateX(
            calc(-50% - 9px)
        );

    }

}


/* =====================================================
   PAUSAR AL PASAR EL CURSOR
===================================================== */

.seguros-marquee:hover .seguros-track {

    animation-play-state: paused;

}


/* =====================================================
   MÓVIL
===================================================== */

@media (max-width: 767.98px) {

    .seguros-section {

        padding: 75px 0;

    }


    .seguros-header {

        padding: 0 20px;

        margin-bottom: 40px;

    }


    .seguros-header h2 {

        font-size: 2.8rem;

    }


    .seguro-logo {

        width: 145px;

        height: 68px;

        padding: 12px 18px;

    }


    .seguro-logo img {

        max-height: 40px;

    }


    .seguros-track {

        gap: 14px;

        animation-duration: 28s;

    }


    .seguros-marquee::before,
    .seguros-marquee::after {

        width: 50px;

    }

}

/* =====================================================
   SECCIÓN MIEMBRO ACTIVO
===================================================== */

.miembro-section {

    padding: 110px 0;

    background: #ffffff;

    overflow: hidden;

}


/* =====================================================
   ENCABEZADO
===================================================== */

.miembro-header {

    max-width: 750px;

    margin: 0 auto 60px;

}


.miembro-eyebrow {

    display: block;

    margin-bottom: 16px;

    color: #00a8bd;

    font-size: .72rem;

    font-weight: 700;

    letter-spacing: 4px;

}


.miembro-header h2 {

    margin: 0;

    color: #082a3a;

    font-family: 'DM Serif Display', serif;

    font-size: clamp(3rem, 5vw, 4.5rem);

    line-height: 1;

}


.miembro-header h2 span {
    color: #082A3A;

}


.miembro-header p {

    max-width: 620px;

    margin: 25px auto 0;

    color: #607982;

    font-size: .95rem;

    line-height: 1.8;

}


/* =====================================================
   TARJETAS DE LOGOTIPOS
===================================================== */

.miembro-logo {

    width: 100%;

    height: 150px;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 25px;

    background: #f8fcfd;

    border: 1px solid #e1eef1;

    border-radius: 18px;

    transition:
        transform .35s ease,
        box-shadow .35s ease,
        border-color .35s ease,
        background-color .35s ease;

}


/* LOGOTIPO */

.miembro-logo img {

    max-width: 100%;

    max-height: 90px;

    width: auto;

    height: auto;

    object-fit: contain;

    transition:
        transform .35s ease;

}


/* =====================================================
   HOVER
===================================================== */

.miembro-logo:hover {

    transform: translateY(-8px);

    background: #ffffff;

    border-color: #00afc4;

    box-shadow:
        0 18px 40px rgba(8, 42, 58, .10);

}


.miembro-logo:hover img {

    transform: scale(1.06);

}


/* =====================================================
   MÓVIL
===================================================== */

@media (max-width: 767.98px) {

    .miembro-section {

        padding: 75px 0;

    }


    .miembro-header {

        padding: 0 20px;

        margin-bottom: 40px;

    }


    .miembro-header h2 {

        font-size: 3rem;

    }


    .miembro-header p {

        font-size: .9rem;

    }


    .miembro-logo {

        height: 120px;

        padding: 18px;

        border-radius: 14px;

    }


    .miembro-logo img {

        max-height: 70px;

    }

}

/* =====================================================
   MODALES DE PROCEDIMIENTOS
===================================================== */

.procedure-modal .modal-dialog {

    max-width: 1100px;

}


.procedure-modal .modal-content {

    overflow: hidden;

    border: none;

    border-radius: 22px;

    background: #ffffff;

    box-shadow:
        0 30px 80px rgba(8, 42, 58, .25);

}


/* =====================================================
   BOTÓN CERRAR
===================================================== */

.procedure-close {

    position: absolute;

    top: 18px;

    right: 18px;

    z-index: 20;

    width: 40px;

    height: 40px;

    border-radius: 50%;

    background-color: rgba(255,255,255,.95);

    opacity: 1;

    box-shadow:
        0 5px 20px rgba(0,0,0,.12);

}


.procedure-close:hover {

    transform: rotate(90deg);

    transition: .3s ease;

}


/* =====================================================
   GALERÍA
===================================================== */

.procedure-gallery {

    height: 100%;

    min-height: 580px;

    background: #082a3a;

}


.procedure-gallery .carousel-inner {

    height: 100%;

}


.procedure-gallery .carousel-item {

    height: 100%;

}


.procedure-gallery img {

    width: 100%;

    height: 580px;

    object-fit: cover;

}


/* =====================================================
   VIDEO
===================================================== */

.procedure-video {

    width: 100%;

    height: 580px;

    object-fit: cover;

    background: #000;

}


/* =====================================================
   INFORMACIÓN
===================================================== */

.procedure-info {

    height: 100%;

    padding: 65px 55px;

    display: flex;

    flex-direction: column;

    justify-content: center;

}


.procedure-category {

    display: block;

    margin-bottom: 18px;

    color: #00a8bd;

    font-size: .72rem;

    font-weight: 700;

    letter-spacing: 4px;

}


.procedure-info h2 {

    margin-bottom: 22px;

    color: #082a3a;

    font-family: 'DM Serif Display', serif;

    font-size: clamp(2.5rem, 4vw, 4rem);

    line-height: 1;

}


.procedure-intro {

    color: #607982;

    font-size: 1rem;

    line-height: 1.8;

}


/* =====================================================
   DIVISOR
===================================================== */

.procedure-divider {

    width: 55px;

    height: 2px;

    margin: 25px 0;

    background: #00afc4;

}


.procedure-info h4 {

    margin-top: 18px;

    margin-bottom: 10px;

    color: #082a3a;

    font-size: 1rem;

    font-weight: 600;

}


.procedure-info p {

    color: #607982;

    font-size: .9rem;

    line-height: 1.75;

}


/* =====================================================
   LISTA
===================================================== */

.procedure-list {

    margin: 5px 0 25px;

    padding: 0;

    list-style: none;

}


.procedure-list li {

    position: relative;

    padding-left: 24px;

    margin-bottom: 8px;

    color: #607982;

    font-size: .9rem;

}


.procedure-list li::before {

    content: "✓";

    position: absolute;

    left: 0;

    color: #00afc4;

    font-weight: bold;

}


/* =====================================================
   BOTÓN
===================================================== */

.procedure-button {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    width: fit-content;

    margin-top: 10px;

    padding: 13px 22px;

    color: #ffffff;

    background: #00afc4;

    border-radius: 5px;

    text-decoration: none;

    font-size: .9rem;

    font-weight: 600;

    transition:
        transform .3s ease,
        background-color .3s ease;

}


.procedure-button:hover {


    color: #ffffff;

    background: #008fa3;

    transform: translateY(-3px);

}


/* =====================================================
   MÓVIL
===================================================== */

@media (max-width: 991.98px) {

    .procedure-gallery {

        min-height: 350px;

    }


    .procedure-gallery img,
    .procedure-video {

        height: 350px;

    }


    .procedure-info {

        padding: 45px 30px;

    }

}


@media (max-width: 575.98px) {

    .procedure-modal {

        padding: 10px;

    }


    .procedure-modal .modal-dialog {

        margin: 10px auto;

    }


    .procedure-modal .modal-content {

        border-radius: 16px;

    }


    .procedure-gallery {

        min-height: 270px;

    }


    .procedure-gallery img,
    .procedure-video {

        height: 270px;

    }


    .procedure-info {

        padding: 35px 25px 40px;

    }


    .procedure-info h2 {

        font-size: 2.5rem;

    }

}
.whatsapp-float {
    position: fixed;
    right: 25px;
    bottom: 25px;

    width: 60px;
    height: 60px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #25D366;
    color: #fff !important;

    border-radius: 50%;

    text-decoration: none;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.18);

    z-index: 9999;

    transition: all 0.3s ease;
}

.whatsapp-float i {
    color: #fff !important;
    font-size: 30px;
}

.whatsapp-float:hover {
    background: #1ebe5d;
    color: #fff !important;
    transform: scale(1.08);
}

.whatsapp-float:hover i {
    color: #fff !important;
}
/* =====================================================
   TRAYECTORIA PROFESIONAL
===================================================== */

.career-section {

    position: relative;

    padding: 120px 0;

    background: #eef8fb;

    overflow: hidden;
}


/* Decoración de fondo */

.career-section::before {

    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    border-radius: 50%;

    background: rgba(0, 135, 154, 0.06);

    top: -180px;
    right: -120px;

    pointer-events: none;
}


.career-section::after {

    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    border-radius: 50%;

    background: rgba(0, 135, 154, 0.04);

    bottom: -150px;
    left: -100px;

    pointer-events: none;
}


/* =====================================================
   ENCABEZADO
===================================================== */

.career-heading {

    max-width: 900px;

    margin-bottom: 90px;

    position: relative;

    z-index: 2;
}


.career-heading .eyebrow {

    display: block;

    margin-bottom: 18px;

    color: #00879a;

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 4px;

    text-transform: uppercase;
}


.career-heading h2 {

    margin: 0;

    color: #082a3a;

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(48px, 6vw, 82px);

    font-weight: 400;

    line-height: .98;

    letter-spacing: -2px;
}


.career-heading h2 span {
    color: #082a3a;
}


.career-heading p {

    max-width: 700px;

    margin-top: 28px;

    color: #637f8c;

    font-size: 18px;

    line-height: 1.7;
}


/* =====================================================
   TIMELINE
===================================================== */

.career-timeline {

    position: relative;

    max-width: 1050px;

    margin: 0 auto;

    padding: 10px 0 20px;
}


/* Línea central */

.career-timeline::before {

    content: "";

    position: absolute;

    top: 0;
    bottom: 0;

    left: 29px;

    width: 2px;

    background: linear-gradient(
        to bottom,
        transparent,
        #9bdbe4 8%,
        #9bdbe4 92%,
        transparent
    );
}


/* =====================================================
   ITEM
===================================================== */

.career-item {

    position: relative;

    display: flex;

    align-items: flex-start;

    gap: 35px;

    margin-bottom: 55px;
}


.career-item:last-child {

    margin-bottom: 0;
}


/* =====================================================
   MARCADOR
===================================================== */

.career-marker {

    position: relative;

    z-index: 3;

    flex: 0 0 60px;

    width: 60px;
    height: 60px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #ffffff;

    border: 2px solid #00a8bf;

    box-shadow:
        0 0 0 8px #eef8fb,
        0 8px 25px rgba(0, 70, 90, 0.08);
}


.career-marker span {

    color: #00879a;

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 1px;
}


/* =====================================================
   TARJETA
===================================================== */

.career-card {

    flex: 1;

    position: relative;

    padding: 38px 42px;

    background: rgba(255, 255, 255, 0.95);

    border: 1px solid #d4e9ee;

    border-radius: 20px;

    box-shadow:
        0 15px 45px rgba(7, 55, 70, 0.07);

    transition:
        transform .35s ease,
        box-shadow .35s ease,
        border-color .35s ease;
}


.career-card:hover {

    transform: translateY(-5px);

    border-color: #9edbe4;

    box-shadow:
        0 22px 55px rgba(7, 55, 70, 0.12);
}


/* =====================================================
   PARTE SUPERIOR
===================================================== */

.career-card-top {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    margin-bottom: 18px;
}


.career-category {

    color: #00879a;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 3px;

    text-transform: uppercase;
}


.career-year {

    color: #00879a;

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 1px;

    white-space: nowrap;
}


/* =====================================================
   TÍTULOS
===================================================== */

.career-card h3 {

    margin: 0 0 18px;

    color: #082a3a;

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(30px, 3vw, 42px);

    font-weight: 400;

    line-height: 1.1;
}


/* =====================================================
   TEXTO
===================================================== */

.career-card p {

    margin: 0;

    color: #5d7884;

    font-size: 17px;

    line-height: 1.75;
}


.career-highlight {

    color: #00879a !important;

    font-size: 18px !important;

    font-weight: 500;
}


/* =====================================================
   ENTRADAS DE ESPECIALIDADES
===================================================== */

.career-entry {

    position: relative;

    padding: 18px 0 18px 22px;

    border-left: 2px solid #d7edf1;
}


.career-entry:not(:last-child) {

    margin-bottom: 5px;
}


.career-entry::before {

    content: "";

    position: absolute;

    left: -6px;

    top: 25px;

    width: 10px;
    height: 10px;

    border-radius: 50%;

    background: #00a8bf;
}


.career-date {

    display: block;

    margin-bottom: 7px;

    color: #00879a;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 2px;
}


/* =====================================================
   LISTAS
===================================================== */

.career-list {

    list-style: none;

    margin: 25px 0 0;

    padding: 0;
}


.career-list li {

    position: relative;

    padding: 12px 0 12px 30px;

    color: #4f6c79;

    font-size: 16px;

    line-height: 1.6;

    border-bottom: 1px solid #e5f1f4;
}


.career-list li:last-child {

    border-bottom: none;
}


.career-list li::before {

    content: "✓";

    position: absolute;

    left: 0;
    top: 12px;

    color: #00a8bf;

    font-weight: 700;
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 768px) {

    .career-section {

        padding: 80px 20px;
    }


    .career-heading {

        margin-bottom: 60px;
    }


    .career-heading h2 {

        font-size: 48px;

        letter-spacing: -1px;
    }


    .career-heading p {

        font-size: 16px;
    }


    /* Timeline */

    .career-timeline::before {

        left: 22px;
    }


    .career-item {

        gap: 20px;

        margin-bottom: 40px;
    }


    .career-marker {

        flex: 0 0 46px;

        width: 46px;
        height: 46px;

        box-shadow:
            0 0 0 6px #eef8fb;
    }


    .career-marker span {

        font-size: 11px;
    }


    .career-card {

        padding: 27px 22px;

        border-radius: 16px;
    }


    .career-card-top {

        display: block;
    }


    .career-year {

        display: block;

        margin-top: 7px;
    }


    .career-card h3 {

        font-size: 30px;
    }


    .career-card p {

        font-size: 15px;
    }


    .career-entry {

        padding-left: 18px;
    }


    .career-list li {

        font-size: 15px;

        padding-left: 25px;
    }

}
.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    padding: 16px 28px;

    background: #08aec3;
    color: #ffffff;

    text-decoration: none;
    font-size: 16px;
    font-weight: 600;

    border-radius: 4px;

    transition: all 0.3s ease;

    box-shadow: 0 8px 20px rgba(8, 174, 195, 0.20);
}

/* Flecha */
.btn-whatsapp span {
    font-size: 20px;
    transition: transform 0.3s ease;
}

/* Hover */
.btn-whatsapp:hover {
    background: #082a3a;
    color: #ffffff;

    transform: translateY(-3px);

    box-shadow: 0 12px 25px rgba(8, 42, 58, 0.25);
}

/* Movimiento de la flecha */
.btn-whatsapp:hover span {
    transform: translateX(5px);
}

/* Click */
.btn-whatsapp:active {
    transform: translateY(-1px);
}

/* =========================================
   CARRUSEL CONSULTORIO
========================================= */

.consultorio-carousel {
    position: relative;

    width: 100%;

    overflow: hidden;

    border-radius: 20px;

    box-shadow:
        0 20px 50px rgba(8, 42, 58, 0.15);
}


/* IMÁGENES */

.consultorio-carousel .carousel-item img {

    width: 100%;

    height: 620px;

    object-fit: cover;

    object-position: center;

}


/* TRANSICIÓN */

.consultorio-carousel .carousel-item {
    transition:
        transform 0.9s ease-in-out;
}


/* INDICADORES */

.consultorio-carousel .carousel-indicators {
    z-index: 10;

    bottom: 20px;

    margin-bottom: 0;
}

.consultorio-carousel .carousel-indicators button {

    width: 35px;
    height: 4px;

    margin: 0 5px;

    border: 0;

    border-radius: 10px;

    background-color: rgba(255, 255, 255, 0.55);

    transition: all 0.3s ease;
}

.consultorio-carousel .carousel-indicators button.active {

    width: 55px;

    background-color: #08aec3;
}


/* BOTONES */

.consultorio-carousel .carousel-control-prev,
.consultorio-carousel .carousel-control-next {

    width: 60px;
    height: 60px;

    top: 50%;

    transform: translateY(-50%);

    margin: 0 20px;

    border-radius: 50%;

    background: rgba(8, 42, 58, 0.55);

    opacity: 1;

    transition: all 0.3s ease;
}


.consultorio-carousel .carousel-control-prev:hover,
.consultorio-carousel .carousel-control-next:hover {

    background: #08aec3;

    transform:
        translateY(-50%)
        scale(1.08);
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 991px) {

    .consultorio-carousel .carousel-item img {

        height: 500px;

    }

}


/* =========================================
   MÓVIL
========================================= */

@media (max-width: 767px) {

    .consultorio-carousel {

        border-radius: 14px;

    }

    .consultorio-carousel .carousel-item img {

        height: 420px;

        object-position: center;

    }

    .consultorio-carousel .carousel-control-prev,
    .consultorio-carousel .carousel-control-next {

        width: 42px;

        height: 42px;

        margin: 0 8px;

    }

    .consultorio-carousel .carousel-indicators {

        bottom: 12px;

    }

    .consultorio-carousel .carousel-indicators button {

        width: 20px;

    }

    .consultorio-carousel .carousel-indicators button.active {

        width: 32px;

    }

}
/* =========================================
   OPCIONES DE PAGO
========================================= */

.payment-options {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
}

.payment-options li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 17px;
    color: #607D8B;
}

.payment-options li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 26px;
    height: 26px;

    border-radius: 50%;

    background: #00879A;
    color: white;

    font-size: 14px;
    font-weight: 700;
}
