
    /* ==========================================================
   VARIABLES
========================================================== */

:root {

    --azul-profundo: #00182f;

    --azul-oscuro: #001c39;

    --azul-medio: #244965;

    --texto-oscuro: #071d38;

    --blanco: #ffffff;

}



/* ==========================================================
   RESET
========================================================== */

* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}



html {

    scroll-behavior: smooth;

}



body {

    margin: 0;

    overflow-x: hidden;

    font-family: "DM Sans", sans-serif;

    background: var(--azul-profundo);

    color: var(--texto-oscuro);

}



a {

    color: inherit;

    text-decoration: none;

}



button {

    font-family: inherit;

}



/* ==========================================================
   HEADER FIJO
========================================================== */

.header {

    position: fixed;

    top: 0;

    left: 0;

    z-index: 1000;

    width: 100%;

    padding:

        30px
        16px
        0;

    transition:

        padding .35s ease;

}



/* MENÚ MÁS ARRIBA AL HACER SCROLL */

.header.scrolled {

    padding-top: 14px;

}



/* ==========================================================
   NAVBAR
========================================================== */

.navbar {

    width: 100%;

    min-height: 86px;

    padding:

        0
        48px;

    display: flex;

    align-items: center;

    gap: 30px;

    background:

        rgba(
            255,
            255,
            255,
            .98
        );

    border-radius: 14px;

    box-shadow:

        0
        8px
        30px
        rgba(
            0,
            20,
            45,
            .07
        );

    backdrop-filter: blur(10px);

    -webkit-backdrop-filter: blur(10px);

}



/* ==========================================================
   LOGO
========================================================== */

.logo {

    width: 185px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

}



.logo img {

    display: block;

    width: auto;

    height: auto;

    max-width: 160px;

    max-height: 58px;

    object-fit: contain;

}



/* ==========================================================
   MENÚ CENTRAL
========================================================== */

.menu {

    flex: 1;

    display: flex;

    align-items: center;

    justify-content: center;

    gap:

        clamp(
            20px,
            2vw,
            43px
        );

}



.menu a {

    position: relative;

    color: var(--texto-oscuro);

    font-size: 16px;

    font-weight: 500;

    white-space: nowrap;

}



/* LÍNEA HOVER */

.menu a::after {

    content: "";

    position: absolute;

    left: 50%;

    bottom: -8px;

    width: 0;

    height: 2px;

    background: var(--azul-oscuro);

    transform: translateX(-50%);

    transition: width .3s ease;

}



.menu a:hover::after {

    width: 100%;

}



/* ==========================================================
   DERECHA DEL NAV
========================================================== */

.nav-right {

    flex-shrink: 0;

    display: flex;

    align-items: center;

    gap: 23px;

}



/* TELÉFONO */

.telefono {

    color: var(--texto-oscuro);

    font-size: 17px;

    font-weight: 500;

    white-space: nowrap;

    transition: opacity .25s ease;

}



.telefono:hover {

    opacity: .65;

}



/* ==========================================================
   RESERVAR CITA
========================================================== */

.btn-reserva {

    min-height: 62px;

    padding:

        0
        28px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    border-radius: 999px;

    background: var(--azul-oscuro);

    color: #ffffff;

    font-size: 16px;

    font-weight: 600;

    white-space: nowrap;

    transition:

        transform .25s ease,
        background .25s ease;

}



.btn-reserva:hover {

    transform: translateY(-2px);

    background: #174463;

}



/* ==========================================================
   BOTÓN MENÚ MÓVIL
========================================================== */

.menu-mobile {

    display: none;

    width: 45px;

    height: 45px;

    border: 0;

    background: transparent;

    cursor: pointer;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 5px;

}



.menu-mobile span {

    display: block;

    width: 27px;

    height: 2px;

    background: var(--azul-oscuro);

    transition:

        transform .3s ease,
        opacity .3s ease;

}



/* ==========================================================
   HERO SCROLL

   200VH:
   100vh video
   +
   recorrido para hacer subir el panel azul
========================================================== */

.hero-scroll {

    position: relative;

    width: 100%;

    height: 200vh;

    background: var(--azul-profundo);

}



/* ==========================================================
   HERO STICKY
========================================================== */

.hero-sticky {

    position: sticky;

    top: 0;

    width: 100%;

    height: 100vh;

    min-height: 650px;

    overflow: hidden;

    background: #173c58;

}



/* ==========================================================
   VIDEO
========================================================== */

.hero-video {

    position: absolute;

    z-index: 0;

    inset: 0;

    width: 100%;

    height: 100%;

    object-fit: cover;

    object-position: center;

    transform: scale(1.03);

    will-change: transform;

}



/* ==========================================================
   OSCURECIMIENTO DEL VIDEO
========================================================== */

.hero-overlay {

    position: absolute;

    z-index: 1;

    inset: 0;

    pointer-events: none;

    background:

        linear-gradient(
            90deg,

            rgba(
                9,
                34,
                54,
                .45
            )
            0%,

            rgba(
                6,
                30,
                49,
                .26
            )
            48%,

            rgba(
                2,
                23,
                42,
                .54
            )
            100%
        ),

        linear-gradient(
            180deg,

            rgba(
                0,
                15,
                30,
                .05
            ),

            rgba(
                0,
                18,
                36,
                .16
            )
        );

}



/* ==========================================================
   CONTENIDO HERO
========================================================== */

.hero-content {

    position: relative;

    z-index: 5;

    width: 100%;

    height: 100%;

    padding:

        150px
        30px
        90px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    color: #ffffff;

    will-change:

        transform,
        opacity;

}



/* TEXTO PEQUEÑO */

.hero-small {

    margin-bottom: 48px;

    font-size:

        clamp(
            15px,
            1.25vw,
            20px
        );

    font-weight: 500;

    letter-spacing: .1px;

    text-shadow:

        0
        3px
        14px
        rgba(
            0,
            0,
            0,
            .15
        );

}



/* ==========================================================
   TÍTULO HERO
========================================================== */

.hero-content h1 {

    width:

        min(
            1080px,
            95%
        );

    font-family:

        "Playfair Display",
        serif;

    font-size:

        clamp(
            50px,
            5vw,
            82px
        );

    font-weight: 500;

    line-height: 1.08;

    letter-spacing: -2px;

    text-shadow:

        0
        3px
        18px
        rgba(
            0,
            0,
            0,
            .12
        );

}



.hero-content h1 span {

    display: block;

    margin-top: 6px;

    font-style: italic;

}



/* ==========================================================
   DESCRIPCIÓN HERO
========================================================== */

.hero-description {

    width:

        min(
            820px,
            90%
        );

    margin-top: 42px;

    font-family:

        "Playfair Display",
        serif;

    font-size:

        clamp(
            18px,
            1.55vw,
            26px
        );

    font-weight: 500;

    font-style: italic;

    line-height: 1.5;

    text-shadow:

        0
        3px
        14px
        rgba(
            0,
            0,
            0,
            .15
        );

}



/* ==========================================================
   PANEL AZUL

   TODO EL PANEL SUBE DESDE ABAJO.
========================================================== */

.blue-rise {

    /*
    Se modifican con JavaScript.
    */

    --rise-progress: 0;

    --content-progress: 0;


    position: absolute;

    z-index: 20;

    left: 0;

    bottom: 0;

    width: 100%;

    height: 100%;

    overflow: hidden;

    color: #ffffff;


    /*
    FONDO AZUL CON DEGRADADO
    */

    background:

        linear-gradient(
            105deg,

            #6b8aa2
            0%,

            #506f87
            18%,

            #375a74
            34%,

            #244964
            50%,

            #123853
            67%,

            #062b48
            82%,

            #001a35
            100%
        );


    /*
    ABAJO AL PRINCIPIO.
    */

    transform:

        translate3d(
            0,
            calc(
                (1 - var(--rise-progress))
                *
                100%
            ),
            0
        );


    /*
    REDONDEADO SOLO MIENTRAS ENTRA
    */

    border-radius:

        65px
        65px
        0
        0;


    will-change:

        transform,
        border-radius;

}



/* ==========================================================
   CUANDO TERMINA DE SUBIR
========================================================== */

.blue-rise.complete {

    border-radius: 0;

}



/* ==========================================================
   LUZ GRANDE DEL PANEL
========================================================== */

.blue-light {

    position: absolute;

    z-index: 1;

    top: -42%;

    left: -25%;

    width: 100vw;

    height: 160vh;

    border-radius: 50%;

    pointer-events: none;

    background:

        radial-gradient(
            circle,

            rgba(
                215,
                235,
                249,
                .32
            )
            0%,

            rgba(
                164,
                199,
                224,
                .17
            )
            30%,

            rgba(
                99,
                150,
                187,
                .07
            )
            50%,

            transparent
            72%
        );


    transform:

        translate3d(
            calc(
                var(--rise-progress)
                *
                70px
            ),

            calc(
                var(--rise-progress)
                *
                20px
            ),

            0
        );


    will-change: transform;

}



/* ==========================================================
   SEGUNDA LUZ
========================================================== */

.blue-light-secondary {

    position: absolute;

    z-index: 1;

    right: -35%;

    bottom: -55%;

    width: 900px;

    height: 900px;

    border-radius: 50%;

    pointer-events: none;

    background:

        radial-gradient(
            circle,

            rgba(
                17,
                72,
                110,
                .28
            ),

            transparent
            68%
        );

}



/* ==========================================================
   CONTENIDO DEL PANEL AZUL

   TÍTULO + TRATAMIENTOS
========================================================== */

.vision-content {

    position: relative;

    z-index: 5;

    width: 100%;

    height: 100%;

    padding:

        135px
        30px
        45px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;


    /*
    EL CONTENIDO TAMBIÉN SUBE
    */

    transform:

        translate3d(
            0,
            calc(
                (1 - var(--content-progress))
                *
                85px
            ),
            0
        );


    /*
    Y APARECE PROGRESIVAMENTE
    */

    opacity:

        var(--content-progress);


    will-change:

        transform,
        opacity;

}



/* ==========================================================
   TÍTULO SEGUNDA PANTALLA
========================================================== */

.vision-heading {

    width: 100%;

    margin-bottom:

        clamp(
            38px,
            5.2vh,
            62px
        );

    text-align: center;

}



.vision-heading h2 {

    width:

        min(
            1120px,
            94%
        );

    margin: auto;

    font-family:

        "Playfair Display",
        serif;

    font-size:

        clamp(
            43px,
            4.65vw,
            73px
        );

    font-weight: 500;

    line-height: 1.06;

    letter-spacing: -1.8px;

    color: #ffffff;

    text-shadow:

        0
        2px
        16px
        rgba(
            0,
            18,
            36,
            .08
        );

}



.vision-heading h2 span {

    display: block;

    margin-top: 7px;

    font-style: italic;

}



/* ==========================================================
   ÁREA CARRUSEL
========================================================== */

.treatments-carousel {

    position: relative;

    width:

        min(
            1080px,
            86vw
        );

    height: 295px;

}



/* ==========================================================
   CÁPSULA PRINCIPAL
========================================================== */

.treatment-pill {

    position: absolute;

    z-index: 10;

    top: 50%;

    left: 50%;

    width: 100%;

    height: 120px;

    overflow: hidden;

    transform:

        translate(
            -50%,
            -50%
        );

    border-radius: 999px;

    background:

        linear-gradient(
            90deg,

            rgba(
                188,
                219,
                240,
                .93
            )
            0%,

            rgba(
                151,
                191,
                219,
                .80
            )
            18%,

            rgba(
                108,
                155,
                189,
                .67
            )
            39%,

            rgba(
                65,
                111,
                146,
                .58
            )
            62%,

            rgba(
                23,
                68,
                103,
                .57
            )
            80%,

            rgba(
                4,
                42,
                73,
                .66
            )
            100%
        );


    box-shadow:

        inset
        0
        1px
        0
        rgba(
            255,
            255,
            255,
            .12
        ),

        0
        15px
        50px
        rgba(
            0,
            20,
            45,
            .05
        );

}



/* ==========================================================
   LUZ DE CÁPSULA
========================================================== */

.pill-light {

    position: absolute;

    top: -110px;

    left: -90px;

    width: 490px;

    height: 350px;

    border-radius: 50%;

    pointer-events: none;

    background:

        radial-gradient(
            circle,

            rgba(
                239,
                248,
                255,
                .34
            ),

            rgba(
                218,
                238,
                252,
                .10
            )
            43%,

            transparent
            70%
        );

}



/* ==========================================================
   TRATAMIENTO ACTIVO
========================================================== */

.treatment-active {

    position: absolute;

    inset: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    padding:

        0
        30px;

    text-align: center;

    font-family:

        "Playfair Display",
        serif;

    font-size:

        clamp(
            29px,
            2.6vw,
            43px
        );

    font-weight: 600;

    font-style: italic;

    line-height: 1.1;

    color: #ffffff;

    text-shadow:

        0
        2px
        10px
        rgba(
            0,
            16,
            34,
            .15
        );


    transition:

        transform
        .7s
        cubic-bezier(
            .22,
            .8,
            .22,
            1
        ),

        opacity
        .5s
        ease,

        filter
        .5s
        ease;

}



/* ==========================================================
   TRATAMIENTO SALIENDO
========================================================== */

.treatment-active.leaving {

    transform:

        translateY(
            -60px
        );

    opacity: 0;

    filter:

        blur(
            6px
        );

}



/* ==========================================================
   TRATAMIENTO ENTRANDO
========================================================== */

.treatment-active.entering {

    transform:

        translateY(
            60px
        );

    opacity: 0;

    filter:

        blur(
            6px
        );

}



/* ==========================================================
   TRATAMIENTOS ARRIBA Y ABAJO
========================================================== */

.treatment-ghost {

    position: absolute;

    left: 50%;

    width: 100%;

    transform:

        translateX(
            -50%
        );

    text-align: center;

    font-family:

        "Playfair Display",
        serif;

    font-size:

        clamp(
            22px,
            2vw,
            31px
        );

    font-weight: 500;

    font-style: italic;

    color:

        rgba(
            255,
            255,
            255,
            .23
        );

    filter:

        blur(
            2.3px
        );

    pointer-events: none;

}



/* ARRIBA */

.treatment-prev {

    top: 1px;

}



/* ABAJO */

.treatment-next {

    bottom: 1px;

}



/* ==========================================================
   ACCESIBILIDAD
========================================================== */

.accessibility {

    position: fixed;

    z-index: 1300;

    left: 18px;

    bottom: 18px;

    width: 61px;

    height: 61px;

    border: 0;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #000000;

    color: #ffffff;

    cursor: pointer;

    transition: transform .25s ease;

}



.accessibility:hover {

    transform: scale(1.05);

}



/* ==========================================================
   CONTACTO FLOTANTE
========================================================== */

.contact-floating {

    position: fixed;

    z-index: 1300;

    right: 22px;

    bottom: 20px;

    min-width: 165px;

    min-height: 59px;

    padding:

        0
        27px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 999px;

    background:

        rgba(
            0,
            25,
            52,
            .96
        );

    color: #ffffff;

    font-size: 16px;

    font-weight: 500;

    transition:

        transform .25s ease,
        background .25s ease;

}



.contact-floating:hover {

    transform: translateY(-3px);

    background: #174664;

}



/* ==========================================================
   PANTALLAS MEDIANAS
========================================================== */

@media (max-width: 1450px) {


    .navbar {

        padding:

            0
            27px;

        gap: 20px;

    }



    .logo {

        width: 150px;

    }



    .logo img {

        max-width: 138px;

    }



    .menu {

        gap: 22px;

    }



    .menu a,
    .telefono {

        font-size: 14px;

    }



    .btn-reserva {

        min-height: 56px;

        padding:

            0
            21px;

        font-size: 14px;

    }

}



/* ==========================================================
   1180 PX
========================================================== */

@media (max-width: 1180px) {


    .telefono {

        display: none;

    }



    .menu {

        gap: 16px;

    }



    .menu a {

        font-size: 13px;

    }

}



/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 980px) {


    .header {

        padding:

            13px
            13px
            0;

    }



    .header.scrolled {

        padding-top: 10px;

    }



    .navbar {

        position: relative;

        min-height: 70px;

        padding:

            0
            19px;

    }



    .logo {

        width: auto;

        flex: 1;

    }



    .logo img {

        max-width: 130px;

    }



    .nav-right {

        display: none;

    }



    .menu-mobile {

        display: flex;

    }



    .menu {

        position: absolute;

        display: none;

        top: calc(100% + 10px);

        left: 0;

        width: 100%;

        padding: 10px;

        border-radius: 13px;

        flex-direction: column;

        align-items: stretch;

        gap: 0;

        background: #ffffff;

        box-shadow:

            0
            15px
            45px
            rgba(
                0,
                0,
                0,
                .15
            );

    }



    .menu.active {

        display: flex;

    }



    .menu a {

        padding:

            14px
            16px;

        border-radius: 8px;

        font-size: 15px;

    }



    .menu a::after {

        display: none;

    }



    .menu a:hover {

        background: #f3f5f7;

    }



    .vision-content {

        padding:

            115px
            20px
            40px;

    }



    .vision-heading {

        margin-bottom: 35px;

    }



    .treatments-carousel {

        width: 90vw;

    }



    .treatment-pill {

        height: 105px;

    }

}



/* ==========================================================
   CELULARES
========================================================== */

@media (max-width: 600px) {


    .header {

        padding:

            10px
            10px
            0;

    }



    .navbar {

        min-height: 67px;

        padding:

            0
            16px;

        border-radius: 11px;

    }



    .logo img {

        max-width: 120px;

    }



    /* ======================================================
       HERO
    ====================================================== */

    .hero-scroll {

        height: 190svh;

    }



    .hero-sticky {

        height: 100svh;

        min-height: 590px;

    }



    .hero-content {

        padding:

            100px
            20px
            70px;

    }



    .hero-small {

        margin-bottom: 25px;

        font-size: 14px;

    }



    .hero-content h1 {

        width: 100%;

        font-size:

            clamp(
                38px,
                10.5vw,
                49px
            );

        line-height: 1.08;

        letter-spacing: -1px;

    }



    .hero-description {

        margin-top: 27px;

        font-size: 17px;

    }



    /* ======================================================
       PANEL AZUL
    ====================================================== */

    .blue-rise {

        border-radius:

            38px
            38px
            0
            0;

    }



    .blue-rise.complete {

        border-radius: 0;

    }



    .vision-content {

        padding:

            95px
            18px
            35px;

    }



    .vision-heading {

        margin-bottom: 22px;

    }



    .vision-heading h2 {

        width: 97%;

        font-size:

            clamp(
                33px,
                9vw,
                44px
            );

        line-height: 1.06;

        letter-spacing: -1px;

    }



    .vision-heading h2 span {

        margin-top: 4px;

    }



    .treatments-carousel {

        width:

            calc(
                100vw - 36px
            );

        height: 245px;

    }



    .treatment-pill {

        height: 88px;

    }



    .treatment-active {

        padding:

            0
            16px;

        font-size:

            clamp(
                23px,
                6.8vw,
                29px
            );

    }



    .treatment-ghost {

        font-size: 20px;

    }



    .accessibility {

        left: 14px;

        bottom: 15px;

        width: 52px;

        height: 52px;

    }



    .contact-floating {

        right: 14px;

        bottom: 15px;

        min-width: auto;

        min-height: 52px;

        padding:

            0
            20px;

        font-size: 14px;

    }

}



/* ==========================================================
   PANTALLAS BAJAS DE ESCRITORIO
========================================================== */

@media
(max-height: 780px)
and
(min-width: 700px) {


    .vision-content {

        padding:

            112px
            25px
            22px;

    }



    .vision-heading {

        margin-bottom: 15px;

    }



    .vision-heading h2 {

        font-size:

            clamp(
                37px,
                4vw,
                59px
            );

        line-height: 1.02;

    }



    .treatments-carousel {

        height: 235px;

    }



    .treatment-pill {

        height: 100px;

    }



    .treatment-prev {

        top: 3px;

    }



    .treatment-next {

        bottom: 3px;

    }

}



/* ==========================================================
   PANTALLAS MUY PEQUEÑAS
========================================================== */

@media (max-width: 390px) {


    .hero-content h1 {

        font-size: 36px;

    }



    .hero-description {

        font-size: 16px;

    }



    .vision-heading h2 {

        font-size: 32px;

    }



    .treatment-active {

        font-size: 22px;

    }

}



/* ==========================================================
   ACCESIBILIDAD DE MOVIMIENTO
========================================================== */

@media (prefers-reduced-motion: reduce) {


    html {

        scroll-behavior: auto;

    }



    *,
    *::before,
    *::after {

        animation-duration: .01ms !important;

        animation-iteration-count: 1 !important;

        transition-duration: .01ms !important;

    }

}
/* ==========================================================
   SECCIÓN ESPECIALISTA
========================================================== */

.doctor-section {

    position: relative;

    width: 100%;

    padding:
        100px
        30px
        90px;

    overflow: hidden;

    color: #ffffff;

    background:
        linear-gradient(
            105deg,
            #4f7088 0%,
            #31546f 26%,
            #1b405d 48%,
            #092e4c 71%,
            #001a35 100%
        );
}



/* ==========================================================
   CONTENEDOR
========================================================== */

.doctor-wrapper {

    width: min(1200px, 100%);

    margin: 0 auto;

}



/* ==========================================================
   CABECERA
========================================================== */

.doctor-header {

    width: 100%;

    margin-bottom: 35px;

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 30px;

}



/* TEXTO PEQUEÑO */

.doctor-eyebrow {

    display: block;

    margin-bottom: 13px;

    font-size: 14px;

    font-weight: 700;

    color: rgba(255,255,255,.95);

}



/* ==========================================================
   TÍTULO
========================================================== */

.doctor-heading h2 {

    margin: 0;

    font-family:
        "Playfair Display",
        serif;

    font-size:
        clamp(
            40px,
            3.2vw,
            55px
        );

    line-height: 1.05;

    letter-spacing: -1.2px;

    font-weight: 500;

    color: #ffffff;

}


.doctor-heading h2 em {

    font-style: italic;

    font-weight: 500;

}



/* ==========================================================
   BOTÓN
========================================================== */

.doctor-btn {

    flex-shrink: 0;

    min-height: 52px;

    padding:
        0
        27px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    border-radius: 999px;

    background: #ffffff;

    color: #001b36;

    font-size: 14px;

    font-weight: 600;

    transition:
        transform .25s ease,
        background .25s ease;

}


.doctor-btn:hover {

    transform: translateY(-2px);

    background: #eef3f6;

}



/* ==========================================================
   GRID PRINCIPAL
========================================================== */

.doctor-grid {

    position: relative;

    width: 100%;

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    grid-template-rows:
        290px
        290px;

    gap: 20px;

}



/* ==========================================================
   TARJETAS
========================================================== */

.doctor-card {

    position: relative;

    min-width: 0;

    overflow: hidden;

    border-radius: 14px;

    background: #ffffff;

    color: #001b36;

}



/* PRIMERA TARJETA */

.doctor-card-1 {

    grid-column: 1;

    grid-row: 1;

}



/* SEGUNDA TARJETA */

.doctor-card-2 {

    grid-column: 2;

    grid-row: 1;

}



/* TERCERA TARJETA */

.doctor-card-3 {

    grid-column: 3;

    grid-row: 1;

}



/* TARJETA GRANDE INFERIOR */

.doctor-card-photo {

    grid-column:
        1 / span 2;

    grid-row: 2;

}



/* CUARTA TARJETA */

.doctor-card-4 {

    grid-column: 3;

    grid-row: 2;

}



/* ==========================================================
   CONTENIDO GENERAL TARJETAS
========================================================== */

.doctor-card-content {

    position: relative;

    z-index: 10;

    width: 100%;

    height: 100%;

    padding:
        60px
        48px;

    display: flex;

    flex-direction: column;

    justify-content: flex-start;

    align-items: flex-start;

}



/* ==========================================================
   TÍTULOS DE LAS TARJETAS
========================================================== */

.doctor-card h3 {

    width: 100%;

    max-width: 295px;

    margin:
        0
        0
        17px;

    font-family:
        "Playfair Display",
        serif;

    font-size:
        clamp(
            23px,
            1.75vw,
            30px
        );

    line-height: 1.07;

    letter-spacing: -.5px;

    font-weight: 500;

    color: #001b36;

}


.doctor-card h3 em {

    display: block;

    font-style: italic;

    font-weight: 500;

}



/* ==========================================================
   PÁRRAFOS
========================================================== */

.doctor-card p {

    width: 100%;

    max-width: 285px;

    margin: 0;

    font-family:
        "DM Sans",
        sans-serif;

    font-size: 14px;

    line-height: 1.7;

    font-weight: 400;

    color: #0d2b47;

}



/* ==========================================================
   PRIMERA TARJETA

   Dejamos espacio para que la doctora aparezca
   parcialmente sin cubrir demasiado el contenido.
========================================================== */

.doctor-card-1 .doctor-card-content {

    padding:
        60px
        135px
        50px
        48px;

}


.doctor-card-1 h3 {

    max-width: 205px;

}


.doctor-card-1 p {

    max-width: 205px;

}



/* ==========================================================
   SEGUNDA TARJETA

   El texto se desplaza ligeramente hacia la derecha.
========================================================== */

.doctor-card-2 .doctor-card-content {

    padding:
        60px
        34px
        50px
        68px;

}


.doctor-card-2 h3 {

    max-width: 300px;

}


.doctor-card-2 p {

    max-width: 290px;

}



/* ==========================================================
   TERCERA TARJETA
========================================================== */

.doctor-card-3 .doctor-card-content {

    padding:
        60px
        48px;

}



/* ==========================================================
   CUARTA TARJETA
========================================================== */

.doctor-card-4 .doctor-card-content {

    padding:
        72px
        48px
        50px;

}



/* ==========================================================
   FONDO DE LA TARJETA PANORÁMICA
========================================================== */

.doctor-photo-bg {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            110deg,

            #b9cdd9 0%,

            #cedde5 38%,

            #e3ebef 70%,

            #f0f4f6 100%
        );

}



/* ==========================================================
   FOTO DE LA DOCTORA

   UN POCO MÁS PEQUEÑA.
========================================================== */

.doctor-person {

    position: absolute;

    z-index: 20;

    /*
    Mantiene la fotografía aproximadamente
    entre la primera y segunda tarjeta.
    */

    left: 10%;

    bottom: 0;

    /*
    Antes era más grande.
    La reducimos solo ligeramente.
    */

    width: 36%;

    height: 97%;

    display: flex;

    align-items: flex-end;

    justify-content: center;

    pointer-events: none;

}



/* ==========================================================
   IMAGEN
========================================================== */

.doctor-person img {

    display: block;

    width: auto;

    height: 100%;

    max-width: 100%;

    object-fit: contain;

    object-position:
        center
        bottom;

    /*
    REDUCCIÓN SUAVE.
    No queda demasiado pequeña.
    */

    transform: scale(.94);

    transform-origin:
        center
        bottom;

    filter:
        drop-shadow(
            0
            12px
            18px
            rgba(0,20,40,.08)
        );

}



/* ==========================================================
   PANTALLAS MEDIANAS
========================================================== */

@media (max-width: 1250px) {

    .doctor-grid {

        grid-template-rows:
            270px
            270px;

        gap: 18px;

    }


    .doctor-card-content {

        padding:
            48px
            35px;

    }


    .doctor-card h3 {

        font-size:
            clamp(
                22px,
                2vw,
                27px
            );

    }


    .doctor-card p {

        font-size: 13px;

        line-height: 1.65;

    }


    /* PRIMERA */

    .doctor-card-1 .doctor-card-content {

        padding:
            48px
            105px
            42px
            35px;

    }


    .doctor-card-1 h3,
    .doctor-card-1 p {

        max-width: 190px;

    }


    /* SEGUNDA */

    .doctor-card-2 .doctor-card-content {

        padding:
            48px
            30px
            42px
            58px;

    }


    /* FOTO */

    .doctor-person {

        left: 9%;

        width: 36%;

        height: 96%;

    }


    .doctor-person img {

        transform: scale(.93);

    }

}



/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 900px) {

    .doctor-section {

        padding:
            85px
            20px;

    }


    .doctor-header {

        align-items: flex-start;

        flex-direction: column;

    }


    .doctor-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        grid-template-rows:
            250px
            250px
            360px;

        gap: 16px;

    }


    .doctor-card-1 {

        grid-column: 1;

        grid-row: 1;

    }


    .doctor-card-2 {

        grid-column: 2;

        grid-row: 1;

    }


    .doctor-card-3 {

        grid-column: 1;

        grid-row: 2;

    }


    .doctor-card-4 {

        grid-column: 2;

        grid-row: 2;

    }


    .doctor-card-photo {

        grid-column:
            1 / span 2;

        grid-row: 3;

    }


    /*
    En tablet la imagen baja a la tarjeta panorámica.
    */

    .doctor-person {

        left: 50%;

        bottom: 0;

        width: 54%;

        height: 360px;

        transform:
            translateX(-50%);

    }


    .doctor-person img {

        transform: scale(.96);

    }


    /*
    Recuperamos el ancho completo
    de las tarjetas superiores.
    */

    .doctor-card-1 .doctor-card-content,
    .doctor-card-2 .doctor-card-content,
    .doctor-card-3 .doctor-card-content,
    .doctor-card-4 .doctor-card-content {

        padding:
            42px
            34px;

    }


    .doctor-card-1 h3,
    .doctor-card-1 p,
    .doctor-card-2 h3,
    .doctor-card-2 p {

        max-width: 100%;

    }

}



/* ==========================================================
   MÓVIL
========================================================== */

@media (max-width: 600px) {

    .doctor-section {

        padding:
            75px
            16px;

    }


    .doctor-header {

        margin-bottom: 28px;

    }


    .doctor-heading h2 {

        font-size: 38px;

    }


    .doctor-btn {

        min-height: 50px;

        padding:
            0
            22px;

    }


    /*
    Una tarjeta debajo de otra.
    */

    .doctor-grid {

        display: flex;

        flex-direction: column;

        gap: 14px;

    }


    .doctor-card {

        width: 100%;

        min-height: 225px;

        border-radius: 12px;

    }


    .doctor-card-content,
    .doctor-card-1 .doctor-card-content,
    .doctor-card-2 .doctor-card-content,
    .doctor-card-3 .doctor-card-content,
    .doctor-card-4 .doctor-card-content {

        padding:
            38px
            28px;

    }


    .doctor-card h3,
    .doctor-card-1 h3,
    .doctor-card-2 h3 {

        max-width: 100%;

        font-size: 27px;

    }


    .doctor-card p,
    .doctor-card-1 p,
    .doctor-card-2 p {

        max-width: 100%;

        font-size: 14px;

    }


    /*
    La fotografía queda al final.
    */

    .doctor-card-photo {

        order: 5;

        min-height: 380px;

    }


    .doctor-person {

        left: 50%;

        bottom: 0;

        width: 90%;

        height: 380px;

        transform:
            translateX(-50%);

    }


    .doctor-person img {

        height: 100%;

        width: auto;

        max-width: 100%;

        transform: scale(.95);

    }

}

/* ==========================================================
   SECCIÓN VIDEO
========================================================== */

.vision-video-section {

    position: relative;

    width: 100%;

    height: 100vh;

    min-height: 650px;

    overflow: hidden;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #00182f;

}



/* ==========================================================
   VIDEO DE FONDO
========================================================== */

.vision-video-bg {

    position: absolute;

    z-index: 0;

    inset: 0;

    width: 100%;

    height: 100%;

    object-fit: cover;

    object-position: center;

}



/* ==========================================================
   CAPA OSCURA
========================================================== */

.vision-video-overlay {

    position: absolute;

    z-index: 1;

    inset: 0;

    background:

        rgba(
            0,
            12,
            25,
            .43
        );

}



/* ==========================================================
   DEGRADADO CINEMATOGRÁFICO
========================================================== */

.vision-video-gradient {

    position: absolute;

    z-index: 2;

    inset: 0;

    pointer-events: none;

    background:

        linear-gradient(
            90deg,

            rgba(0, 10, 22, .45) 0%,

            rgba(0, 15, 28, .13) 45%,

            rgba(0, 18, 34, .20) 70%,

            rgba(0, 16, 32, .36) 100%
        ),

        linear-gradient(
            180deg,

            rgba(0, 10, 20, .08) 0%,

            rgba(0, 10, 20, .03) 50%,

            rgba(0, 12, 25, .32) 100%
        );

}



/* ==========================================================
   CONTENIDO CENTRAL
========================================================== */

.vision-video-content {

    position: relative;

    z-index: 10;

    width: min(1100px, 92%);

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    color: #ffffff;

}



/* ==========================================================
   TÍTULO
========================================================== */

.vision-video-content h2 {

    margin: 0;

    font-family:
        "Playfair Display",
        serif;

    font-size:
        clamp(
            50px,
            5vw,
            78px
        );

    line-height: 1.05;

    letter-spacing: -2px;

    font-weight: 500;

    color: #ffffff;

    text-shadow:

        0
        3px
        20px
        rgba(0,0,0,.18);

}



/* TEXTO EN CURSIVA */

.vision-video-content h2 em {

    font-style: italic;

    font-weight: 500;

}



/* ==========================================================
   ÁREA BOTÓN + TEXTO
========================================================== */

.vision-watch {

    margin-top: 65px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 36px;

}



/* ==========================================================
   BOTÓN PLAY
========================================================== */

.vision-play {

    position: relative;

    width: 96px;

    height: 96px;

    flex-shrink: 0;

    border:

        1.5px
        solid
        rgba(255,255,255,.85);

    border-radius: 50%;

    background:

        rgba(
            255,
            255,
            255,
            .07
        );

    backdrop-filter: blur(4px);

    -webkit-backdrop-filter: blur(4px);

    color: #ffffff;

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

    transition:

        background .3s ease,
        transform .3s ease,
        border-color .3s ease;

}



/* HOVER */

.vision-play:hover {

    transform: scale(1.06);

    background:

        rgba(
            255,
            255,
            255,
            .17
        );

    border-color: #ffffff;

}



/* ==========================================================
   ICONOS
========================================================== */

.vision-play svg {

    width: 34px;

    height: 34px;

    fill: #ffffff;

}



/* AJUSTE DEL TRIÁNGULO */

.icon-play {

    transform: translateX(3px);

}



/* PAUSA OCULTA AL INICIO */

.icon-pause {

    display: none;

}



/* CUANDO EL VIDEO ESTÁ PAUSADO */

.vision-play.paused .icon-play {

    display: block;

}


.vision-play.paused .icon-pause {

    display: none;

}



/* CUANDO ESTÁ REPRODUCIENDO */

.vision-play.playing .icon-play {

    display: none;

}


.vision-play.playing .icon-pause {

    display: block;

}



/* ==========================================================
   TEXTO JUNTO AL PLAY
========================================================== */

.vision-watch > span {

    color: #ffffff;

    font-family:
        "DM Sans",
        sans-serif;

    font-size:
        clamp(
            16px,
            1.25vw,
            20px
        );

    font-weight: 600;

    letter-spacing: .1px;

    text-align: left;

    text-shadow:

        0
        2px
        10px
        rgba(0,0,0,.22);

}



/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 900px) {

    .vision-video-section {

        min-height: 620px;

    }


    .vision-video-content h2 {

        font-size:
            clamp(
                46px,
                8vw,
                65px
            );

    }


    .vision-watch {

        margin-top: 50px;

        gap: 25px;

    }


    .vision-play {

        width: 82px;

        height: 82px;

    }


    .vision-play svg {

        width: 30px;

        height: 30px;

    }

}



/* ==========================================================
   CELULAR
========================================================== */

@media (max-width: 600px) {

    .vision-video-section {

        height: 100svh;

        min-height: 600px;

    }


    .vision-video-bg {

        object-position: center center;

    }


    .vision-video-content {

        width: calc(100% - 36px);

    }


    .vision-video-content h2 {

        font-size:
            clamp(
                40px,
                11vw,
                54px
            );

        line-height: 1.05;

        letter-spacing: -1px;

    }


    .vision-video-content h2 em {

        display: block;

        margin-top: 3px;

    }


    .vision-watch {

        margin-top: 45px;

        flex-direction: column;

        gap: 18px;

    }


    .vision-play {

        width: 76px;

        height: 76px;

    }


    .vision-play svg {

        width: 28px;

        height: 28px;

    }


    .vision-watch > span {

        font-size: 15px;

        text-align: center;

    }

}/* ==========================================================
   SECCIÓN TESTIMONIOS
========================================================== */

.reviews-section {

    position: relative;

    width: 100%;

    min-height: 680px;

    padding:
        70px
        0
        55px;

    overflow: hidden;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    color: #ffffff;

    background:
        linear-gradient(
            90deg,
            #7795ad 0%,
            #456983 20%,
            #173e5d 45%,
            #082c49 69%,
            #001a35 100%
        );

}



/* ==========================================================
   LUCES DE FONDO
========================================================== */

.reviews-bg-light {

    position: absolute;

    border-radius: 50%;

    pointer-events: none;

}


.reviews-bg-light-left {

    width: 700px;

    height: 700px;

    left: -350px;

    top: -200px;

    background:
        radial-gradient(
            circle,
            rgba(207,229,245,.19),
            transparent 68%
        );

}


.reviews-bg-light-right {

    width: 700px;

    height: 700px;

    right: -400px;

    bottom: -300px;

    background:
        radial-gradient(
            circle,
            rgba(58,106,142,.18),
            transparent 70%
        );

}



/* ==========================================================
   COMILLAS GRANDES
========================================================== */

.reviews-quote-icon {

    position: relative;

    z-index: 5;

    height: 110px;

    margin-bottom: 35px;

    font-family:
        "Playfair Display",
        serif;

    font-size: 140px;

    line-height: .8;

    font-weight: 600;

    color: #ffffff;

    user-select: none;

}



/* ==========================================================
   ÁREA DEL CARRUSEL
========================================================== */

.reviews-carousel {

    position: relative;

    z-index: 5;

    width: 100%;

    height: 270px;

    display: flex;

    align-items: center;

    justify-content: center;

}



/* ==========================================================
   TESTIMONIO CENTRAL
========================================================== */

.review-main {

    position: absolute;

    z-index: 10;

    left: 50%;

    top: 50%;

    width: min(1040px, 55vw);

    height: 255px;

    transform:
        translate(
            -50%,
            -50%
        );

    overflow: hidden;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 150px;

    background:
        linear-gradient(
            90deg,
            rgba(16,48,76,.88) 0%,
            rgba(18,52,80,.82) 45%,
            rgba(92,127,155,.76) 100%
        );

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.035);

}



/* ==========================================================
   LUZ INTERIOR
========================================================== */

.review-pill-light {

    position: absolute;

    right: -100px;

    top: -160px;

    width: 600px;

    height: 600px;

    border-radius: 50%;

    pointer-events: none;

    background:
        radial-gradient(
            circle,
            rgba(190,216,236,.20),
            transparent 67%
        );

}



/* ==========================================================
   TEXTO ACTIVO
========================================================== */

.review-active {

    position: relative;

    z-index: 5;

    width: min(760px, 78%);

    margin: 0;

    text-align: center;

    font-family:
        "Playfair Display",
        serif;

    font-size:
        clamp(
            30px,
            2.8vw,
            46px
        );

    line-height: 1.23;

    font-style: italic;

    font-weight: 500;

    color: #ffffff;

    transition:
        transform .6s cubic-bezier(.22,.8,.22,1),
        opacity .45s ease,
        filter .45s ease;

}



/* SALE HACIA LA IZQUIERDA */

.review-active.exit-left {

    transform: translateX(-80px);

    opacity: 0;

    filter: blur(6px);

}


/* SALE HACIA LA DERECHA */

.review-active.exit-right {

    transform: translateX(80px);

    opacity: 0;

    filter: blur(6px);

}


/* ENTRA DESDE LA DERECHA */

.review-active.enter-right {

    transform: translateX(80px);

    opacity: 0;

    filter: blur(6px);

}


/* ENTRA DESDE LA IZQUIERDA */

.review-active.enter-left {

    transform: translateX(-80px);

    opacity: 0;

    filter: blur(6px);

}



/* ==========================================================
   TESTIMONIOS LATERALES
========================================================== */

.review-side {

    position: absolute;

    z-index: 2;

    top: 50%;

    width: 410px;

    transform: translateY(-50%);

    font-family:
        "Playfair Display",
        serif;

    font-size:
        clamp(
            25px,
            2.2vw,
            38px
        );

    line-height: 1.28;

    font-style: italic;

    font-weight: 500;

    color: rgba(255,255,255,.42);

    filter: blur(4px);

    opacity: .78;

    pointer-events: none;

    transition:
        opacity .45s ease,
        filter .45s ease;

}



/* IZQUIERDA */

.review-side-left {

    right: calc(50% + 570px);

    text-align: right;

}



/* DERECHA */

.review-side-right {

    left: calc(50% + 570px);

    text-align: left;

}



/* ==========================================================
   CONTROLES
========================================================== */

.reviews-controls {

    position: relative;

    z-index: 10;

    margin-top: 45px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 40px;

}



/* ==========================================================
   FLECHAS
========================================================== */

.review-arrow {

    width: 60px;

    height: 70px;

    padding: 0;

    flex-shrink: 0;

    border:
        1px
        solid
        rgba(255,255,255,.26);

    border-radius: 999px;

    display: flex;

    align-items: center;

    justify-content: center;

    background:
        rgba(0,27,53,.17);

    color: #ffffff;

    cursor: pointer;

    transition:
        border-color .25s ease,
        background .25s ease,
        transform .25s ease;

}


.review-arrow:hover {

    transform: scale(1.05);

    border-color: rgba(255,255,255,.95);

    background: rgba(0,26,51,.37);

}



/* ICONOS DE LAS FLECHAS */

.review-arrow svg {

    width: 27px;

    height: 27px;

    fill: none;

    stroke: currentColor;

    stroke-width: 1.7;

    stroke-linecap: round;

    stroke-linejoin: round;

}



/* ==========================================================
   BOTÓN VER TODOS
========================================================== */

.reviews-all {

    min-width: 230px;

    min-height: 64px;

    padding:
        0
        30px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    border-radius: 999px;

    background: #ffffff;

    color: #001a35;

    font-family:
        "DM Sans",
        sans-serif;

    font-size: 17px;

    font-weight: 500;

    white-space: nowrap;

    transition:
        transform .25s ease,
        background .25s ease;

}


.reviews-all:hover {

    transform: translateY(-2px);

    background: #edf3f6;

}



/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 1000px) {

    .reviews-section {

        min-height: 650px;

    }


    .review-main {

        width: 74vw;

        height: 230px;

    }


    .review-side {

        width: 300px;

        font-size: 27px;

    }


    .review-side-left {

        right: calc(50% + 40vw);

    }


    .review-side-right {

        left: calc(50% + 40vw);

    }


    .review-active {

        width: 82%;

        font-size:
            clamp(
                28px,
                4vw,
                39px
            );

    }

}



/* ==========================================================
   CELULARES
========================================================== */

@media (max-width: 600px) {

    .reviews-section {

        min-height: 600px;

        padding:
            65px
            15px
            50px;

    }


    .reviews-quote-icon {

        height: 80px;

        margin-bottom: 22px;

        font-size: 105px;

    }


    .reviews-carousel {

        height: 245px;

    }


    .review-main {

        width: calc(100vw - 38px);

        height: 220px;

        border-radius: 110px;

    }


    /*
    En celular ocultamos los testimonios laterales
    para que no ensucien la composición.
    */

    .review-side {

        display: none;

    }


    .review-active {

        width: 79%;

        font-size:
            clamp(
                25px,
                7vw,
                32px
            );

        line-height: 1.2;

    }


    .reviews-controls {

        margin-top: 35px;

        gap: 14px;

    }


    .review-arrow {

        width: 54px;

        height: 60px;

    }


    .review-arrow svg {

        width: 23px;

        height: 23px;

    }


    .reviews-all {

        min-width: 0;

        min-height: 58px;

        padding:
            0
            22px;

        font-size: 14px;

    }

}



/* ==========================================================
   MÓVILES MUY PEQUEÑOS
========================================================== */

@media (max-width: 390px) {

    .reviews-all {

        padding:
            0
            17px;

        font-size: 13px;

    }


    .reviews-controls {

        gap: 9px;

    }


    .review-arrow {

        width: 50px;

        height: 57px;

    }

}
/* ==========================================================
   SECCIÓN ESPECIALISTAS
========================================================== */

.specialists-video-section {

    width: 100%;

    padding:
        70px
        30px
        90px;

    background: #f2f2f2;

}



/* ==========================================================
   CONTENEDOR
========================================================== */

.specialists-video-container {

    width: min(1500px, 100%);

    margin: 0 auto;

}



/* ==========================================================
   TÍTULO
========================================================== */

.specialists-video-title {

    margin:
        0
        auto
        45px;

    text-align: center;

    color: #071d38;

    font-family:
        "DM Sans",
        sans-serif;

    font-size:
        clamp(
            20px,
            1.6vw,
            25px
        );

    font-weight: 600;

    letter-spacing: .3px;

}



/* ==========================================================
   GRID
========================================================== */

.specialists-video-grid {

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 24px;

}



/* ==========================================================
   TARJETA
========================================================== */

.specialist-video-card {

    position: relative;

    width: 100%;

    height: 555px;

    overflow: hidden;

    border-radius: 18px;

    background: #061a2c;

    cursor: pointer;

}



/* ==========================================================
   IMAGEN
========================================================== */

.specialist-video-image {

    position: absolute;

    inset: 0;

    width: 100%;

    height: 100%;

    object-fit: cover;

    object-position: center;

    transform: scale(1);

    transition:
        transform .8s cubic-bezier(.2,.65,.25,1),
        filter .6s ease;

}



/* ==========================================================
   DEGRADADO NORMAL

   Permite que el texto inferior siempre sea visible.
========================================================== */

.specialist-video-gradient {

    position: absolute;

    z-index: 2;

    inset: 0;

    pointer-events: none;

    background:

        linear-gradient(
            180deg,

            rgba(0, 15, 27, .02) 0%,

            rgba(0, 15, 27, .04) 35%,

            rgba(0, 15, 27, .25) 58%,

            rgba(0, 15, 27, .77) 100%
        );

}



/* ==========================================================
   CAPA QUE APARECE AL PONER EL MOUSE
========================================================== */

.specialist-video-hover {

    position: absolute;

    z-index: 3;

    inset: 0;

    pointer-events: none;

    background:
        rgba(
            0,
            14,
            25,
            .52
        );

    opacity: 0;

    transition:
        opacity .55s ease;

}



/* ==========================================================
   HOVER DE TARJETA
========================================================== */

.specialist-video-card:hover
.specialist-video-hover {

    opacity: 1;

}


.specialist-video-card:hover
.specialist-video-image {

    transform:
        scale(1.045);

}



/* ==========================================================
   BOTÓN PLAY
========================================================== */

.specialist-play {

    position: absolute;

    z-index: 10;

    top: 50%;

    left: 50%;

    width: 84px;

    height: 84px;

    transform:
        translate(
            -50%,
            -50%
        );

    display: flex;

    align-items: center;

    justify-content: center;

    border:
        1.5px
        solid
        rgba(255,255,255,.72);

    border-radius: 50%;

    color: #ffffff;

    background:
        rgba(
            255,
            255,
            255,
            .025
        );

    backdrop-filter:
        blur(2px);

    -webkit-backdrop-filter:
        blur(2px);

    transition:
        transform .35s ease,
        background .35s ease,
        border-color .35s ease;

}



/* ==========================================================
   PLAY SVG
========================================================== */

.specialist-play svg {

    width: 37px;

    height: 37px;

    fill: #ffffff;

    transform:
        translateX(3px);

}



/* HOVER PLAY */

.specialist-video-card:hover
.specialist-play {

    transform:
        translate(
            -50%,
            -50%
        )
        scale(1.08);

    background:
        rgba(
            255,
            255,
            255,
            .10
        );

    border-color: #ffffff;

}



/* ==========================================================
   INFORMACIÓN
========================================================== */

.specialist-video-info {

    position: absolute;

    z-index: 10;

    left: 0;

    bottom: 0;

    width: 100%;

    padding:
        0
        65px
        55px;

    color: #ffffff;

    transform:
        translateY(42px);

    transition:
        transform
        .55s
        cubic-bezier(.2,.7,.25,1);

}



/* ==========================================================
   CONOCE A
========================================================== */

.specialist-watch {

    display: block;

    margin-bottom: 15px;

    font-family:
        "DM Sans",
        sans-serif;

    font-size: 17px;

    line-height: 1;

    font-weight: 700;

    color: #ffffff;

}



/* ==========================================================
   NOMBRE DEL MÉDICO
========================================================== */

.specialist-video-info h3 {

    margin: 0;

    max-width: 600px;

    font-family:
        "Playfair Display",
        serif;

    font-size:
        clamp(
            32px,
            2.3vw,
            43px
        );

    line-height: 1.08;

    letter-spacing: -.7px;

    font-weight: 500;

    color: #ffffff;

}



/* ==========================================================
   DESCRIPCIÓN

   OCULTA EN ESTADO NORMAL.
========================================================== */

.specialist-description {

    max-width: 480px;

    margin:
        16px
        0
        0;

    font-family:
        "DM Sans",
        sans-serif;

    font-size: 16px;

    line-height: 1.55;

    font-weight: 500;

    color:
        rgba(
            255,
            255,
            255,
            .92
        );

    opacity: 0;

    transform:
        translateY(15px);

    transition:
        opacity .45s ease .05s,
        transform .45s ease .05s;

}



/* ==========================================================
   HOVER INFORMACIÓN

   El bloque sube y aparece la descripción.
========================================================== */

.specialist-video-card:hover
.specialist-video-info {

    transform:
        translateY(0);

}


.specialist-video-card:hover
.specialist-description {

    opacity: 1;

    transform:
        translateY(0);

}



/* ==========================================================
   EFECTO EXTRA EN EL NOMBRE
========================================================== */

.specialist-video-info h3 {

    transition:
        transform .5s ease;

}


.specialist-video-card:hover
.specialist-video-info h3 {

    transform:
        translateY(-2px);

}



/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 1000px) {

    .specialists-video-section {

        padding:
            65px
            20px
            80px;

    }


    .specialist-video-card {

        height: 470px;

    }


    .specialist-video-info {

        padding:
            0
            38px
            40px;

    }


    .specialist-video-info h3 {

        font-size:
            clamp(
                29px,
                3.5vw,
                37px
            );

    }


    .specialist-description {

        font-size: 14px;

    }


    .specialist-play {

        width: 75px;

        height: 75px;

    }


    .specialist-play svg {

        width: 32px;

        height: 32px;

    }

}



/* ==========================================================
   CELULAR
========================================================== */

@media (max-width: 700px) {

    .specialists-video-section {

        padding:
            55px
            15px
            70px;

    }


    .specialists-video-title {

        margin-bottom: 30px;

        font-size: 19px;

    }


    /*
    Una tarjeta debajo de otra.
    */

    .specialists-video-grid {

        grid-template-columns: 1fr;

        gap: 17px;

    }


    .specialist-video-card {

        height: 480px;

        border-radius: 15px;

    }


    /*
    En celular mostramos siempre
    la descripción porque no existe hover.
    */

    .specialist-video-info {

        padding:
            0
            27px
            35px;

        transform:
            translateY(0);

    }


    .specialist-watch {

        font-size: 15px;

    }


    .specialist-video-info h3 {

        font-size: 31px;

    }


    .specialist-description {

        max-width: 95%;

        font-size: 14px;

        opacity: 1;

        transform:
            translateY(0);

    }


    .specialist-play {

        width: 72px;

        height: 72px;

    }


    .specialist-play svg {

        width: 30px;

        height: 30px;

    }


    /*
    Oscurecimiento ligeramente mayor
    permanentemente en móvil.
    */

    .specialist-video-gradient {

        background:
            linear-gradient(
                180deg,

                rgba(0,15,27,.05) 0%,

                rgba(0,15,27,.08) 35%,

                rgba(0,15,27,.38) 60%,

                rgba(0,15,27,.85) 100%
            );

    }

}



/* ==========================================================
   CELULARES PEQUEÑOS
========================================================== */

@media (max-width: 400px) {

    .specialist-video-card {

        height: 440px;

    }


    .specialist-video-info {

        padding:
            0
            23px
            30px;

    }


    .specialist-video-info h3 {

        font-size: 28px;

    }

}
/* ==========================================================
   SECCIÓN EXPERIENCIA
========================================================== */

.expertise-section {

    position: relative;

    width: 100%;

    padding: 0;

    background: #eeeeee;

}



/* ==========================================================
   PANEL BLANCO

   IMPORTANTE:
   reproduce el borde inferior redondeado de la referencia.
========================================================== */

.expertise-panel {

    position: relative;

    width: 100%;

    padding:
        90px
        55px
        100px;

    overflow: hidden;

    background: #ffffff;

    border-radius:
        0
        0
        55px
        55px;

}



/* ==========================================================
   FILA
========================================================== */

.expertise-row {

    width: min(1780px, 100%);

    height: 405px;

    margin: 0 auto;

    display: flex;

    align-items: stretch;

    gap: 14px;

}



/* ==========================================================
   TARJETAS
========================================================== */

.expertise-card {

    position: relative;

    flex:
        1
        1
        0;

    min-width: 0;

    height: 100%;

    overflow: hidden;

    border-radius: 17px;

    background: #001c39;

    color: #ffffff;

    cursor: pointer;

    isolation: isolate;

    transition:

        flex .72s cubic-bezier(.22,.75,.18,1),
        transform .45s ease,
        box-shadow .45s ease;

}



/* ==========================================================
   TARJETA ACTIVA MÁS ANCHA
========================================================== */

.expertise-card.active {

    flex-grow: 1.82;

}



/* ==========================================================
   IMAGEN
========================================================== */

.expertise-card-image {

    position: absolute;

    z-index: 0;

    inset: 0;

    width: 100%;

    height: 100%;

    object-fit: cover;

    object-position: center;

    opacity: 0;

    transform: scale(1.08);

    transition:

        opacity .6s ease,
        transform .9s cubic-bezier(.2,.7,.2,1);

}



/* IMAGEN SOLO EN ACTIVA */

.expertise-card.active
.expertise-card-image {

    opacity: 1;

    transform: scale(1);

}



/* ==========================================================
   CAPA SOBRE LA IMAGEN
========================================================== */

.expertise-card-overlay {

    position: absolute;

    z-index: 1;

    inset: 0;

    pointer-events: none;

    opacity: 0;

    background:

        linear-gradient(
            90deg,

            rgba(2,17,29,.77) 0%,

            rgba(3,19,32,.48) 47%,

            rgba(2,15,26,.08) 100%
        ),

        linear-gradient(
            180deg,

            rgba(0,15,27,.05) 0%,

            rgba(0,15,27,.06) 45%,

            rgba(0,15,27,.52) 100%
        );

    transition: opacity .55s ease;

}


.expertise-card.active
.expertise-card-overlay {

    opacity: 1;

}



/* ==========================================================
   ICONO CIRCULAR
========================================================== */

.expertise-icon {

    position: absolute;

    z-index: 10;

    top: 43%;

    left: 54px;

    width: 78px;

    height: 78px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    color: #ffffff;

    background:
        rgba(
            62,
            92,
            122,
            .48
        );

    backdrop-filter: blur(6px);

    -webkit-backdrop-filter: blur(6px);

    transform: translateY(-50%);

    transition:

        top .7s cubic-bezier(.22,.75,.18,1),
        left .7s cubic-bezier(.22,.75,.18,1),
        background .4s ease;

}



/* ==========================================================
   ICONO ACTIVO SUBE
========================================================== */

.expertise-card.active
.expertise-icon {

    top: 29%;

    left: 54px;

    background:
        rgba(
            74,
            91,
            106,
            .70
        );

}



/* SVG */

.expertise-icon svg {

    width: 37px;

    height: 37px;

    fill: none;

    stroke: #ffffff;

    stroke-width: 1.8;

    stroke-linecap: round;

    stroke-linejoin: round;

}



/* ==========================================================
   CONTENIDO
========================================================== */

.expertise-content {

    position: absolute;

    z-index: 10;

    left: 54px;

    right: 32px;

    bottom: 63px;

    transition:

        bottom .7s cubic-bezier(.22,.75,.18,1),
        transform .7s cubic-bezier(.22,.75,.18,1);

}



/* ==========================================================
   TÍTULO
========================================================== */

.expertise-content h3 {

    max-width: 220px;

    margin: 0;

    color: #ffffff;

    font-family:
        "DM Sans",
        sans-serif;

    font-size:
        clamp(
            18px,
            1.3vw,
            22px
        );

    line-height: 1.25;

    font-weight: 600;

    letter-spacing: -.1px;

}


.expertise-content h3 strong {

    display: block;

    font-weight: 600;

}



/* ==========================================================
   TEXTO ADICIONAL

   OCULTO EN LAS TARJETAS CERRADAS.
========================================================== */

.expertise-content p {

    max-width: 350px;

    max-height: 0;

    margin: 0;

    overflow: hidden;

    color:
        rgba(
            255,
            255,
            255,
            .94
        );

    font-family:
        "DM Sans",
        sans-serif;

    font-size: 15px;

    line-height: 1.6;

    font-weight: 500;

    opacity: 0;

    transform: translateY(16px);

    transition:

        opacity .4s ease,
        transform .5s ease,
        max-height .55s ease,
        margin .45s ease;

}



/* ==========================================================
   CONTENIDO ACTIVO
========================================================== */

.expertise-card.active
.expertise-content {

    bottom: 62px;

}


.expertise-card.active
.expertise-content h3 {

    max-width: 350px;

}


.expertise-card.active
.expertise-content p {

    max-height: 100px;

    margin-top: 14px;

    opacity: 1;

    transform: translateY(0);

}



/* ==========================================================
   HOVER SUTIL
========================================================== */

.expertise-card:hover {

    box-shadow:

        0
        13px
        35px
        rgba(0,25,48,.07);

}



/* ==========================================================
   1500 PX
========================================================== */

@media (max-width: 1500px) {

    .expertise-panel {

        padding:
            80px
            35px
            90px;

    }


    .expertise-row {

        height: 390px;

        gap: 12px;

    }


    .expertise-icon {

        left: 42px;

        width: 70px;

        height: 70px;

    }


    .expertise-card.active
    .expertise-icon {

        left: 42px;

    }


    .expertise-content {

        left: 42px;

        bottom: 52px;

    }


    .expertise-card.active
    .expertise-content {

        bottom: 52px;

    }


    .expertise-icon svg {

        width: 32px;

        height: 32px;

    }

}



/* ==========================================================
   1200 PX
========================================================== */

@media (max-width: 1200px) {

    .expertise-row {

        height: 370px;

    }


    .expertise-card.active {

        flex-grow: 1.65;

    }


    .expertise-icon {

        left: 30px;

        width: 65px;

        height: 65px;

    }


    .expertise-card.active
    .expertise-icon {

        left: 30px;

    }


    .expertise-content {

        left: 30px;

        right: 20px;

        bottom: 42px;

    }


    .expertise-card.active
    .expertise-content {

        bottom: 42px;

    }


    .expertise-content h3 {

        font-size: 17px;

    }


    .expertise-content p {

        font-size: 13px;

    }

}



/* ==========================================================
   TABLET

   Aquí usamos desplazamiento horizontal.
========================================================== */

@media (max-width: 900px) {

    .expertise-panel {

        padding:
            65px
            20px
            80px;

        border-radius:
            0
            0
            35px
            35px;

    }


    .expertise-row {

        width: 100%;

        height: 380px;

        overflow-x: auto;

        overflow-y: hidden;

        justify-content: flex-start;

        scroll-snap-type: x mandatory;

        scrollbar-width: none;

    }


    .expertise-row::-webkit-scrollbar {

        display: none;

    }


    .expertise-card,
    .expertise-card.active {

        flex:
            0
            0
            72vw;

        scroll-snap-align: center;

    }


    /*
    En tablet mostramos la imagen
    de todas para facilitar interacción.
    */

    .expertise-card-image {

        opacity: 1;

        transform: scale(1);

    }


    .expertise-card-overlay {

        opacity: 1;

    }


    .expertise-icon,
    .expertise-card.active
    .expertise-icon {

        top: 28%;

    }


    .expertise-content,
    .expertise-card.active
    .expertise-content {

        bottom: 45px;

    }


    .expertise-content p {

        max-height: 100px;

        margin-top: 13px;

        opacity: 1;

        transform: none;

    }

}



/* ==========================================================
   CELULAR
========================================================== */

@media (max-width: 600px) {

    .expertise-panel {

        padding:
            55px
            15px
            70px;

    }


    .expertise-row {

        height: 390px;

        gap: 12px;

    }


    .expertise-card,
    .expertise-card.active {

        flex-basis:
            calc(
                100vw - 55px
            );

        border-radius: 15px;

    }


    .expertise-icon,
    .expertise-card.active
    .expertise-icon {

        top: 27%;

        left: 28px;

        width: 66px;

        height: 66px;

    }


    .expertise-content,
    .expertise-card.active
    .expertise-content {

        left: 28px;

        right: 25px;

        bottom: 38px;

    }


    .expertise-content h3 {

        max-width: 90%;

        font-size: 21px;

    }


    .expertise-content p {

        max-width: 90%;

        font-size: 14px;

    }

}/* ==========================================================
   SECCIÓN CTA VIDEO
========================================================== */

.vision-cta-video {

    position: relative;

    width: 100%;

    height: 100vh;

    min-height: 680px;

    overflow: hidden;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #00182f;

}



/* ==========================================================
   VIDEO DE FONDO
========================================================== */

.vision-cta-video-bg {

    position: absolute;

    z-index: 0;

    inset: 0;

    width: 100%;

    height: 100%;

    object-fit: cover;

    object-position: center;

}



/* ==========================================================
   OSCURECIMIENTO GENERAL
========================================================== */

.vision-cta-overlay {

    position: absolute;

    z-index: 1;

    inset: 0;

    pointer-events: none;

    background:
        rgba(
            0,
            15,
            28,
            .34
        );

}



/* ==========================================================
   DEGRADADO CINEMATOGRÁFICO
========================================================== */

.vision-cta-gradient {

    position: absolute;

    z-index: 2;

    inset: 0;

    pointer-events: none;

    background:

        linear-gradient(
            90deg,

            rgba(0, 12, 22, .26) 0%,

            rgba(0, 12, 22, .09) 40%,

            rgba(0, 12, 22, .12) 70%,

            rgba(0, 12, 22, .35) 100%
        ),

        linear-gradient(
            180deg,

            rgba(0, 15, 25, .08) 0%,

            rgba(0, 15, 25, .02) 40%,

            rgba(0, 15, 25, .18) 100%
        );

}



/* ==========================================================
   CONTENIDO
========================================================== */

.vision-cta-content {

    position: relative;

    z-index: 10;

    width: min(1400px, 94%);

    margin: auto;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    color: #ffffff;

}



/* ==========================================================
   TÍTULO CAMBIANTE
========================================================== */

.vision-cta-title {

    width: min(1250px, 95%);

    min-height: 120px;

    margin: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    font-family:
        "Playfair Display",
        serif;

    font-size:
        clamp(
            52px,
            5vw,
            82px
        );

    line-height: 1.08;

    letter-spacing: -2px;

    font-weight: 500;

    font-style: italic;

    color: #ffffff;

    text-shadow:
        0
        3px
        20px
        rgba(0,0,0,.18);

    opacity: 1;

    transform: translateY(0);

    filter: blur(0);

    transition:

        opacity .55s ease,

        transform .55s cubic-bezier(.22,.8,.22,1),

        filter .55s ease;

}



/* ==========================================================
   ESTADO DE SALIDA
========================================================== */

.vision-cta-title.is-leaving {

    opacity: 0;

    transform: translateY(-22px);

    filter: blur(4px);

}



/* ==========================================================
   ESTADO DE ENTRADA
========================================================== */

.vision-cta-title.is-entering {

    opacity: 0;

    transform: translateY(22px);

    filter: blur(4px);

}



/* ==========================================================
   BOTÓN
========================================================== */

.vision-cta-button {

    margin-top: 38px;

    min-height: 64px;

    padding:
        0
        38px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    border-radius: 999px;

    background: #ffffff;

    color: #001a35;

    font-family:
        "DM Sans",
        sans-serif;

    font-size:
        clamp(
            15px,
            1.25vw,
            19px
        );

    font-weight: 500;

    letter-spacing: .1px;

    white-space: nowrap;

    box-shadow:
        0
        8px
        30px
        rgba(0,0,0,.08);

    transition:

        transform .28s ease,

        background .28s ease,

        box-shadow .28s ease;

}



/* HOVER DEL BOTÓN */

.vision-cta-button:hover {

    transform: translateY(-3px);

    background: #f1f5f7;

    box-shadow:
        0
        13px
        35px
        rgba(0,0,0,.13);

}



/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 900px) {

    .vision-cta-video {

        min-height: 640px;

    }


    .vision-cta-title {

        width: 94%;

        min-height: 110px;

        font-size:
            clamp(
                44px,
                7vw,
                64px
            );

        letter-spacing: -1.4px;

    }


    .vision-cta-button {

        margin-top: 32px;

        min-height: 60px;

        padding:
            0
            30px;

    }

}



/* ==========================================================
   CELULAR
========================================================== */

@media (max-width: 600px) {

    .vision-cta-video {

        height: 100svh;

        min-height: 600px;

    }


    .vision-cta-video-bg {

        object-position: center center;

    }


    .vision-cta-content {

        width: calc(100% - 30px);

    }


    .vision-cta-title {

        width: 100%;

        min-height: 150px;

        font-size:
            clamp(
                38px,
                10.5vw,
                50px
            );

        line-height: 1.06;

        letter-spacing: -1px;

    }


    .vision-cta-button {

        width: auto;

        max-width: 94%;

        min-height: 58px;

        margin-top: 25px;

        padding:
            0
            25px;

        white-space: normal;

        text-align: center;

        font-size: 14px;

        line-height: 1.25;

    }

}



/* ==========================================================
   MÓVILES PEQUEÑOS
========================================================== */

@media (max-width: 390px) {

    .vision-cta-title {

        font-size: 36px;

    }


    .vision-cta-button {

        padding:
            0
            20px;

        font-size: 13px;

    }

}
/* ==========================================================
   CATARATAS - SECCIÓN GENERAL
========================================================== */

.cataract-scroll-section {
    --cataract-card-top: 145px;

    position: relative;
    width: 100%;
    height: 190vh;

    background: #123847;
}


/* ==========================================================
   PANTALLA FIJA DURANTE EL SCROLL
========================================================== */

.cataract-sticky {
    position: sticky;
    top: 0;

    width: 100%;
    height: 100vh;
    min-height: 650px;

    overflow: hidden;

    background: #123847;
}


/* ==========================================================
   VIDEO
========================================================== */

.cataract-bg-video {
    position: absolute;
    z-index: 0;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transform: scale(1.02);

    will-change: transform;
}


/* ==========================================================
   OSCURECIMIENTO
========================================================== */

.cataract-video-overlay {
    position: absolute;
    z-index: 1;

    inset: 0;

    pointer-events: none;

    background:
        linear-gradient(
            90deg,
            rgba(4, 25, 34, .15),
            rgba(4, 25, 34, .03) 55%,
            rgba(4, 20, 29, .16)
        );
}


/* ==========================================================
   TARJETA BLANCA

   MUY IMPORTANTE:
   top será actualizado por JavaScript según tu navbar.
========================================================== */

.cataract-info-card {
    --card-y: 100vh;

    position: absolute;
    z-index: 20;

    top: var(--cataract-card-top);

    left: clamp(
        30px,
        9.5vw,
        180px
    );

    width: min(
        535px,
        38vw
    );

    max-height: calc(
        100vh -
        var(--cataract-card-top) -
        18px
    );

    padding:
        48px
        55px
        38px;

    overflow-y: auto;
    overflow-x: hidden;

    background: #ffffff;
    color: #001c3a;

    border-radius:
        14px
        14px
        0
        0;

    box-shadow:
        0
        18px
        45px
        rgba(0, 20, 40, .10);

    /*
    JS solo modifica --card-y.

    Nunca tendrá valores negativos,
    por eso jamás subirá detrás del menú.
    */
    transform:
        translate3d(
            0,
            var(--card-y),
            0
        );

    will-change: transform;
}


/* ==========================================================
   SCROLLBAR
========================================================== */

.cataract-info-card {
    scrollbar-width: thin;
    scrollbar-color:
        rgba(0, 28, 58, .16)
        transparent;
}

.cataract-info-card::-webkit-scrollbar {
    width: 5px;
}

.cataract-info-card::-webkit-scrollbar-track {
    background: transparent;
}

.cataract-info-card::-webkit-scrollbar-thumb {
    background: rgba(0, 28, 58, .16);
    border-radius: 20px;
}


/* ==========================================================
   TEXTO PEQUEÑO
========================================================== */

.cataract-kicker {
    display: block;

    margin-bottom: 18px;

    color: #001c3a;

    font-family:
        "DM Sans",
        sans-serif;

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

    font-weight: 700;
}


/* ==========================================================
   TÍTULO
========================================================== */

.cataract-info-card h2 {
    margin: 0;

    color: #001c3a;

    font-family:
        "Playfair Display",
        serif;

    font-size:
        clamp(
            38px,
            2.85vw,
            51px
        );

    line-height: 1.02;

    letter-spacing: -1.4px;

    font-weight: 500;
}

.cataract-info-card h2 span {
    display: block;
}

.cataract-info-card h2 em {
    display: block;

    margin-top: 4px;

    font-style: italic;
    font-weight: 500;
}


/* ==========================================================
   DESCRIPCIÓN
========================================================== */

.cataract-description {
    margin:
        25px
        0
        0;

    color: #092942;

    font-family:
        "DM Sans",
        sans-serif;

    font-size: 15px;
    line-height: 1.7;
}


/* ==========================================================
   BOTÓN PRINCIPAL
========================================================== */

.cataract-main-button {
    width: 100%;
    min-height: 55px;

    margin-top: 28px;

    padding:
        0
        25px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    border-radius: 999px;

    background: #001c3a;
    color: #ffffff;

    font-family:
        "DM Sans",
        sans-serif;

    font-size: 14px;
    font-weight: 600;

    text-align: center;

    transition:
        transform .25s ease,
        background .25s ease;
}

.cataract-main-button:hover {
    transform: translateY(-2px);

    background: #164260;
}


/* ==========================================================
   VER VIDEO
========================================================== */

.cataract-watch {
    margin-top: 29px;

    display: flex;

    align-items: center;

    gap: 27px;
}


/* ==========================================================
   PLAY / PAUSA
========================================================== */

.cataract-play {
    width: 70px;
    height: 70px;

    padding: 0;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border:
        1.4px
        solid
        #b0bdc8;

    border-radius: 50%;

    background: transparent;

    color: #001c3a;

    cursor: pointer;

    transition:
        transform .25s ease,
        background .25s ease;
}

.cataract-play:hover {
    transform: scale(1.05);

    background: #f2f5f7;
}

.cataract-play svg {
    width: 29px;
    height: 29px;

    fill: currentColor;
}

.cataract-icon-play {
    transform: translateX(3px);
}

.cataract-icon-pause {
    display: none;
}


.cataract-play.is-playing .cataract-icon-play {
    display: none;
}

.cataract-play.is-playing .cataract-icon-pause {
    display: block;
}


.cataract-play.is-paused .cataract-icon-play {
    display: block;
}

.cataract-play.is-paused .cataract-icon-pause {
    display: none;
}


/* ==========================================================
   TEXTO VER VIDEO
========================================================== */

.cataract-watch-text {
    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap: 5px;

    color: #001c3a;

    font-family:
        "DM Sans",
        sans-serif;

    font-size: 14px;
    line-height: 1.5;
}

.cataract-watch-text strong {
    font-weight: 700;
}


/* ==========================================================
   LAPTOP CON POCA ALTURA
========================================================== */

@media
(max-height: 850px)
and
(min-width: 901px) {

    .cataract-info-card {
        padding:
            30px
            48px
            27px;
    }

    .cataract-kicker {
        margin-bottom: 11px;
        font-size: 12px;
    }

    .cataract-info-card h2 {
        font-size:
            clamp(
                31px,
                2.45vw,
                41px
            );

        line-height: 1;
    }

    .cataract-description {
        margin-top: 15px;

        font-size: 12.5px;
        line-height: 1.52;
    }

    .cataract-main-button {
        min-height: 48px;

        margin-top: 18px;

        font-size: 13px;
    }

    .cataract-watch {
        margin-top: 17px;
    }

    .cataract-play {
        width: 56px;
        height: 56px;
    }

    .cataract-play svg {
        width: 25px;
        height: 25px;
    }

    .cataract-watch-text {
        font-size: 12.5px;
    }
}


/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 900px) {

    .cataract-scroll-section {
        height: 180vh;
    }

    .cataract-info-card {
        left: 24px;

        width: min(
            450px,
            calc(100vw - 48px)
        );

        padding:
            39px
            35px
            34px;
    }

    .cataract-info-card h2 {
        font-size:
            clamp(
                34px,
                5vw,
                45px
            );
    }
}


/* ==========================================================
   CELULAR
========================================================== */

@media (max-width: 600px) {

    .cataract-scroll-section {
        height: 185svh;
    }

    .cataract-sticky {
        height: 100svh;
        min-height: 590px;
    }

    .cataract-bg-video {
        object-position:
            60%
            center;
    }

    .cataract-info-card {
        left: 14px;

        width:
            calc(
                100% - 28px
            );

        padding:
            29px
            24px
            27px;
    }

    .cataract-kicker {
        margin-bottom: 13px;

        font-size: 12px;
    }

    .cataract-info-card h2 {
        font-size:
            clamp(
                31px,
                8.4vw,
                40px
            );

        letter-spacing: -1px;
    }

    .cataract-description {
        margin-top: 17px;

        font-size: 13px;
        line-height: 1.56;
    }

    .cataract-main-button {
        margin-top: 21px;

        min-height: 50px;

        font-size: 13px;
    }

    .cataract-watch {
        margin-top: 21px;

        gap: 17px;
    }

    .cataract-play {
        width: 58px;
        height: 58px;
    }

    .cataract-watch-text {
        font-size: 12px;
    }
}
/* ==========================================================
   VISIÓN PARA CADA EDAD
========================================================== */

.age-vision-section {

    width: 100%;

    padding:
        70px
        30px
        85px;

    overflow: hidden;

    background: #001d3a;

    color: #ffffff;
}


/* ==========================================================
   CONTENEDOR
========================================================== */

.age-vision-container {

    width: min(1350px, 100%);

    margin: 0 auto;
}


/* ==========================================================
   CABECERA
========================================================== */

.age-vision-header {

    margin-bottom: 45px;

    text-align: center;
}


.age-vision-header > span {

    display: block;

    margin-bottom: 16px;

    font-family:
        "DM Sans",
        sans-serif;

    font-size: 16px;

    font-weight: 700;

    color: #ffffff;
}


.age-vision-header h2 {

    margin: 0;

    font-family:
        "Playfair Display",
        serif;

    font-size:
        clamp(
            43px,
            4vw,
            62px
        );

    line-height: 1.05;

    letter-spacing: -1.5px;

    font-weight: 500;
}


.age-vision-header h2 em {

    font-style: italic;

    font-weight: 500;
}


/* ==========================================================
   FILA DE TARJETAS
========================================================== */

.age-cards {

    width: 100%;

    height: 445px;

    display: flex;

    align-items: stretch;

    gap: 18px;
}


/* ==========================================================
   TARJETA
========================================================== */

.age-card {

    position: relative;

    flex:
        1
        1
        0;

    min-width: 0;

    height: 100%;

    overflow: hidden;

    border-radius: 14px;

    background: #173b57;

    cursor: pointer;

    isolation: isolate;

    transition:

        flex
        .75s
        cubic-bezier(.2,.75,.2,1),

        box-shadow
        .4s
        ease;
}


/* ==========================================================
   ACTIVA

   Aproximadamente 3 veces más ancha.
========================================================== */

.age-card.active {

    flex-grow: 3.05;
}


/* ==========================================================
   IMAGEN / VIDEO
========================================================== */

.age-card-media {

    position: absolute;

    z-index: 0;

    inset: 0;

    width: 100%;

    height: 100%;

    object-fit: cover;

    object-position: center;

    transform: scale(1.025);

    transition:

        transform
        .9s
        cubic-bezier(.2,.7,.2,1);
}


.age-card.active
.age-card-media {

    transform: scale(1);
}


/* ==========================================================
   DEGRADADO
========================================================== */

.age-card-overlay {

    position: absolute;

    z-index: 1;

    inset: 0;

    pointer-events: none;

    background:

        linear-gradient(
            180deg,

            rgba(0, 18, 35, .03)
            0%,

            rgba(0, 18, 35, .08)
            32%,

            rgba(0, 18, 35, .30)
            60%,

            rgba(0, 18, 35, .77)
            100%
        );

    transition:
        background .5s ease;
}


/* MÁS OSCURO AL EXPANDIR */

.age-card.active
.age-card-overlay {

    background:

        linear-gradient(
            90deg,

            rgba(0, 20, 38, .54)
            0%,

            rgba(0, 20, 38, .25)
            50%,

            rgba(0, 20, 38, .12)
            100%
        ),

        linear-gradient(
            180deg,

            rgba(0, 16, 30, .05)
            30%,

            rgba(0, 16, 30, .68)
            100%
        );
}


/* ==========================================================
   ETIQUETA CUANDO ESTÁ CERRADA
========================================================== */

.age-collapsed-label {

    position: absolute;

    z-index: 10;

    left: 50%;

    bottom: 155px;

    transform:
        translateX(-50%);

    white-space: nowrap;

    font-family:
        "Playfair Display",
        serif;

    font-size:
        clamp(
            26px,
            2vw,
            34px
        );

    font-weight: 500;

    color: #ffffff;

    transition:

        opacity .35s ease,

        transform .5s ease;
}


/* DESAPARECE EN ACTIVA */

.age-card.active
.age-collapsed-label {

    opacity: 0;

    transform:
        translateX(-50%)
        translateY(20px);

    pointer-events: none;
}


/* ==========================================================
   CONTENIDO EXPANDIDO
========================================================== */

.age-expanded-content {

    position: absolute;

    z-index: 10;

    left: 50px;

    right: 45px;

    bottom: 50px;

    max-width: 540px;

    color: #ffffff;

    opacity: 0;

    transform:
        translateY(30px);

    pointer-events: none;

    transition:

        opacity .45s ease .12s,

        transform
        .6s
        cubic-bezier(.2,.75,.2,1)
        .08s;
}


/* MOSTRAR EN ACTIVA */

.age-card.active
.age-expanded-content {

    opacity: 1;

    transform:
        translateY(0);

    pointer-events: auto;
}


/* ==========================================================
   EDAD GRANDE
========================================================== */

.age-expanded-content h3 {

    margin:
        0
        0
        30px;

    font-family:
        "Playfair Display",
        serif;

    font-size:
        clamp(
            58px,
            5vw,
            76px
        );

    line-height: 1;

    font-weight: 500;

    color: #ffffff;
}


/* ==========================================================
   TEXTO
========================================================== */

.age-expanded-content p {

    max-width: 520px;

    margin:
        0
        0
        24px;

    font-family:
        "DM Sans",
        sans-serif;

    font-size: 15px;

    line-height: 1.7;

    font-weight: 600;

    color:
        rgba(
            255,
            255,
            255,
            .94
        );
}


/* ==========================================================
   BOTÓN BLANCO
========================================================== */

.age-button {

    min-height: 52px;

    padding:
        0
        27px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    border-radius: 999px;

    background: #ffffff;

    color: #001d3a;

    font-family:
        "DM Sans",
        sans-serif;

    font-size: 14px;

    font-weight: 500;

    white-space: nowrap;

    transition:

        transform .25s ease,

        background .25s ease;
}


.age-button:hover {

    transform: translateY(-2px);

    background: #eef3f6;
}


/* ==========================================================
   TARJETA VIDEO
========================================================== */

.age-video-card {

    position: relative;
}


/* VIDEO MÁS OSCURO */

.age-video-overlay {

    background:

        linear-gradient(
            180deg,

            rgba(0,16,30,.05),

            rgba(0,16,30,.40)
        );
}


/* ==========================================================
   PLAY
========================================================== */

.age-video-play {

    position: absolute;

    z-index: 20;

    top: 57%;

    left: 50%;

    width: 82px;

    height: 82px;

    padding: 0;

    transform:
        translate(
            -50%,
            -50%
        );

    border:
        1.4px
        solid
        rgba(255,255,255,.65);

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    background:
        rgba(255,255,255,.04);

    color: #ffffff;

    backdrop-filter: blur(3px);

    -webkit-backdrop-filter: blur(3px);

    cursor: pointer;

    transition:

        top .65s ease,

        left .65s ease,

        transform .3s ease,

        background .3s ease;
}


.age-video-play:hover {

    background:
        rgba(255,255,255,.14);
}


/* AL EXPANDIR VIDEO */

.age-video-card.active
.age-video-play {

    top: 27%;

    left: 55px;

    transform:
        translate(
            0,
            -50%
        );
}


/* ==========================================================
   ICONOS VIDEO
========================================================== */

.age-video-play svg {

    width: 34px;

    height: 34px;

    fill: currentColor;
}


.age-play-icon {

    transform:
        translateX(3px);
}


.age-pause-icon {

    display: none;
}


.age-video-play.playing
.age-play-icon {

    display: none;
}


.age-video-play.playing
.age-pause-icon {

    display: block;
}


/* ==========================================================
   CONTENIDO VIDEO
========================================================== */

.age-video-content {

    left: 55px;

    bottom: 48px;

    max-width: 570px;
}


.age-video-kicker {

    display: block;

    margin-bottom: 22px;

    font-family:
        "DM Sans",
        sans-serif;

    font-size: 15px;

    line-height: 1.4;

    font-weight: 700;

    color: #ffffff;
}


/* ==========================================================
   HOVER GENERAL
========================================================== */

.age-card:hover {

    box-shadow:
        0
        16px
        40px
        rgba(0,0,0,.12);
}


/* ==========================================================
   PANTALLAS MEDIANAS
========================================================== */

@media (max-width: 1200px) {

    .age-cards {

        height: 420px;

        gap: 14px;
    }


    .age-card.active {

        flex-grow: 2.75;
    }


    .age-expanded-content {

        left: 38px;

        right: 32px;

        bottom: 38px;
    }


    .age-expanded-content h3 {

        margin-bottom: 20px;

        font-size: 57px;
    }


    .age-expanded-content p {

        font-size: 13px;

        line-height: 1.55;
    }


    .age-video-card.active
    .age-video-play {

        left: 38px;
    }


    .age-video-content {

        left: 38px;
    }

}


/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 850px) {

    .age-vision-section {

        padding:
            65px
            20px
            75px;
    }


    .age-cards {

        height: 430px;

        overflow-x: auto;

        scroll-snap-type: x mandatory;

        scrollbar-width: none;
    }


    .age-cards::-webkit-scrollbar {

        display: none;
    }


    .age-card,
    .age-card.active {

        flex:
            0
            0
            76vw;

        scroll-snap-align: center;
    }


    .age-card
    .age-collapsed-label {

        opacity: 0;
    }


    .age-card
    .age-expanded-content {

        opacity: 1;

        transform: none;

        pointer-events: auto;
    }


    .age-expanded-content {

        left: 35px;

        right: 30px;

        bottom: 35px;
    }


    .age-video-play {

        top: 24%;

        left: 35px;

        transform:
            translate(
                0,
                -50%
            );
    }

}


/* ==========================================================
   CELULAR
========================================================== */

@media (max-width: 600px) {

    .age-vision-header {

        margin-bottom: 30px;
    }


    .age-vision-header > span {

        font-size: 14px;
    }


    .age-vision-header h2 {

        font-size:
            clamp(
                37px,
                10vw,
                48px
            );
    }


    .age-cards {

        height: 440px;

        gap: 12px;
    }


    .age-card,
    .age-card.active {

        flex-basis:
            calc(
                100vw - 48px
            );

        border-radius: 13px;
    }


    .age-expanded-content {

        left: 27px;

        right: 25px;

        bottom: 29px;
    }


    .age-expanded-content h3 {

        margin-bottom: 17px;

        font-size: 52px;
    }


    .age-expanded-content p {

        font-size: 13px;

        line-height: 1.5;
    }


    .age-button {

        min-height: 48px;

        padding:
            0
            21px;

        font-size: 13px;
    }


    .age-video-play {

        left: 27px;

        width: 68px;

        height: 68px;
    }


    .age-video-content {

        left: 27px;
    }

}
/* ==========================================================
   SECCIÓN NUESTRO EQUIPO
========================================================== */

.team-showcase-section {

    position: relative;

    width: 100%;

    min-height: 720px;

    padding:
        70px
        40px;

    overflow: hidden;

    display: flex;

    align-items: center;

    justify-content: center;

    background:
        linear-gradient(
            110deg,
            #001a35 0%,
            #00213f 45%,
            #001a35 100%
        );

    color: #ffffff;
}



/* ==========================================================
   LUCES DECORATIVAS
========================================================== */

.team-bg-glow {

    position: absolute;

    border-radius: 50%;

    pointer-events: none;

}


.team-bg-glow-1 {

    width: 750px;

    height: 750px;

    left: -430px;

    top: -300px;

    background:
        radial-gradient(
            circle,
            rgba(61, 107, 143, .18),
            transparent 70%
        );

}


.team-bg-glow-2 {

    width: 650px;

    height: 650px;

    right: -350px;

    bottom: -340px;

    background:
        radial-gradient(
            circle,
            rgba(80, 126, 160, .15),
            transparent 70%
        );

}



/* ==========================================================
   CONTENEDOR
========================================================== */

.team-showcase-container {

    position: relative;

    z-index: 5;

    width: min(1100px, 100%);

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        .8fr
        1.2fr;

    align-items: center;

    gap: 75px;

}



/* ==========================================================
   COLUMNA TEXTO
========================================================== */

.team-showcase-content {

    position: relative;

    z-index: 10;

}



/* ==========================================================
   ESTADO INICIAL DE LOS ELEMENTOS

   Empiezan ocultos y desplazados.
========================================================== */

.team-showcase-eyebrow,
.team-showcase-content h2,
.team-showcase-content p,
.team-showcase-button {

    opacity: 0;

    transform:
        translate3d(
            -55px,
            0,
            0
        );

}



/* ==========================================================
   TEXTO PEQUEÑO
========================================================== */

.team-showcase-eyebrow {

    display: block;

    margin-bottom: 24px;

    font-family:
        "DM Sans",
        sans-serif;

    font-size: 15px;

    font-weight: 700;

    letter-spacing: .2px;

    color:
        rgba(
            255,
            255,
            255,
            .92
        );

}



/* ==========================================================
   TÍTULO
========================================================== */

.team-showcase-content h2 {

    max-width: 500px;

    margin: 0;

    font-family:
        "Playfair Display",
        serif;

    font-size:
        clamp(
            48px,
            4.1vw,
            66px
        );

    line-height: 1.02;

    letter-spacing: -1.8px;

    font-weight: 500;

    color: #ffffff;

}


.team-showcase-content h2 em {

    display: block;

    margin-top: 3px;

    font-style: italic;

    font-weight: 500;

}



/* ==========================================================
   PÁRRAFO
========================================================== */

.team-showcase-content p {

    max-width: 460px;

    margin:
        29px
        0
        0;

    font-family:
        "DM Sans",
        sans-serif;

    font-size: 16px;

    line-height: 1.7;

    font-weight: 500;

    color:
        rgba(
            255,
            255,
            255,
            .90
        );

}



/* ==========================================================
   BOTÓN
========================================================== */

.team-showcase-button {

    min-height: 55px;

    margin-top: 36px;

    padding:
        0
        29px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    border-radius: 999px;

    background: #ffffff;

    color: #001c3a;

    font-family:
        "DM Sans",
        sans-serif;

    font-size: 15px;

    font-weight: 500;

    text-decoration: none;

    transition:
        transform .25s ease,
        background .25s ease,
        box-shadow .25s ease;

}


.team-showcase-button:hover {

    transform: translateY(-3px);

    background: #eef3f6;

    box-shadow:
        0
        12px
        30px
        rgba(0,0,0,.12);

}



/* ==========================================================
   ÁREA DE LA IMAGEN
========================================================== */

.team-showcase-visual {

    position: relative;

    width: 100%;

    min-height: 600px;

    display: flex;

    align-items: center;

    justify-content: center;

    opacity: 0;

    transform:
        translate3d(
            100px,
            0,
            0
        )
        scale(.90);

}



/* ==========================================================
   OVALO DE IMAGEN
========================================================== */

.team-image-wrap {

    position: relative;

    z-index: 3;

    width: min(590px, 47vw);

    aspect-ratio:
        1 / 1.04;

    overflow: hidden;

    border-radius:
        50% / 47%;

    background: #173e58;

    box-shadow:
        0
        25px
        70px
        rgba(0,0,0,.16);

}



/* ==========================================================
   IMAGEN
========================================================== */

.team-image-wrap img {

    display: block;

    width: 100%;

    height: 100%;

    object-fit: cover;

    object-position: center;

    transform: scale(1.05);

    transition:
        transform 1.4s cubic-bezier(.2,.75,.2,1);

}



/* ==========================================================
   BRILLO SOBRE LA FOTO
========================================================== */

.team-image-light {

    position: absolute;

    inset: 0;

    pointer-events: none;

    background:
        linear-gradient(
            125deg,
            rgba(255,255,255,.11),
            transparent 35%,
            transparent 70%,
            rgba(0,22,40,.14)
        );

}



/* ==========================================================
   CONTORNO DECORATIVO
========================================================== */

.team-image-ring {

    position: absolute;

    z-index: 1;

    width: min(625px, 50vw);

    aspect-ratio: 1 / 1.04;

    border:
        1px
        solid
        rgba(255,255,255,.09);

    border-radius:
        50% / 47%;

    transform:
        translate(
            18px,
            -5px
        );

}



/* ==========================================================
   ANIMACIONES CUANDO LA SECCIÓN APARECE
========================================================== */

.team-showcase-section.is-visible
.team-showcase-eyebrow {

    animation:
        teamTextIn
        .75s
        cubic-bezier(.2,.75,.2,1)
        forwards;

}


.team-showcase-section.is-visible
.team-showcase-content h2 {

    animation:
        teamTextIn
        .85s
        .12s
        cubic-bezier(.2,.75,.2,1)
        forwards;

}


.team-showcase-section.is-visible
.team-showcase-content p {

    animation:
        teamTextIn
        .85s
        .24s
        cubic-bezier(.2,.75,.2,1)
        forwards;

}


.team-showcase-section.is-visible
.team-showcase-button {

    animation:
        teamTextIn
        .85s
        .36s
        cubic-bezier(.2,.75,.2,1)
        forwards;

}


.team-showcase-section.is-visible
.team-showcase-visual {

    animation:
        teamImageIn
        1.1s
        .12s
        cubic-bezier(.16,.8,.2,1)
        forwards;

}


.team-showcase-section.is-visible
.team-image-wrap img {

    transform: scale(1);

}



/* ==========================================================
   KEYFRAMES TEXTO
========================================================== */

@keyframes teamTextIn {

    from {

        opacity: 0;

        transform:
            translate3d(
                -55px,
                0,
                0
            );

    }


    to {

        opacity: 1;

        transform:
            translate3d(
                0,
                0,
                0
            );

    }

}



/* ==========================================================
   KEYFRAMES IMAGEN
========================================================== */

@keyframes teamImageIn {

    0% {

        opacity: 0;

        transform:
            translate3d(
                110px,
                0,
                0
            )
            scale(.88);

    }


    60% {

        opacity: 1;

    }


    100% {

        opacity: 1;

        transform:
            translate3d(
                0,
                0,
                0
            )
            scale(1);

    }

}



/* ==========================================================
   EFECTO SUTIL AL PASAR EL MOUSE EN LA FOTO
========================================================== */

.team-showcase-visual:hover
.team-image-wrap img {

    transform: scale(1.035);

}



/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 950px) {

    .team-showcase-section {

        min-height: auto;

        padding:
            90px
            30px;

    }


    .team-showcase-container {

        grid-template-columns:
            1fr
            1.15fr;

        gap: 40px;

    }


    .team-showcase-content h2 {

        font-size:
            clamp(
                43px,
                5.5vw,
                56px
            );

    }


    .team-showcase-visual {

        min-height: 500px;

    }


    .team-image-wrap {

        width: min(
            500px,
            47vw
        );

    }

}



/* ==========================================================
   CELULAR
========================================================== */

@media (max-width: 700px) {

    .team-showcase-section {

        padding:
            75px
            20px
            65px;

    }


    .team-showcase-container {

        grid-template-columns: 1fr;

        gap: 55px;

    }


    .team-showcase-content {

        text-align: center;

    }


    .team-showcase-eyebrow {

        margin-bottom: 18px;

        font-size: 13px;

    }


    .team-showcase-content h2 {

        max-width: 100%;

        font-size:
            clamp(
                40px,
                11vw,
                52px
            );

    }


    .team-showcase-content p {

        max-width: 520px;

        margin:
            23px
            auto
            0;

        font-size: 14px;

    }


    .team-showcase-button {

        margin-top: 29px;

        min-height: 51px;

        font-size: 14px;

    }


    .team-showcase-visual {

        min-height: auto;

    }


    .team-image-wrap {

        width:
            min(
                510px,
                92vw
            );

    }


    .team-image-ring {

        width:
            min(
                535px,
                96vw
            );

    }


    /*
    En móvil el texto entra desde abajo,
    más natural para pantalla vertical.
    */

    .team-showcase-eyebrow,
    .team-showcase-content h2,
    .team-showcase-content p,
    .team-showcase-button {

        transform:
            translate3d(
                0,
                40px,
                0
            );

    }


    @keyframes teamTextIn {

        from {

            opacity: 0;

            transform:
                translate3d(
                    0,
                    40px,
                    0
                );

        }


        to {

            opacity: 1;

            transform:
                translate3d(
                    0,
                    0,
                    0
                );

        }

    }

}



/* ==========================================================
   MOVIMIENTO REDUCIDO
========================================================== */

@media (prefers-reduced-motion: reduce) {

    .team-showcase-eyebrow,
    .team-showcase-content h2,
    .team-showcase-content p,
    .team-showcase-button,
    .team-showcase-visual {

        opacity: 1;

        transform: none;

        animation: none !important;

    }

}
/* ==========================================================
   SECCIÓN RESERVA DE CITA
========================================================== */

.appointment-section {

    width: 100%;

    padding:
        75px
        4%
        90px;

    background: #f4f4f4;

}



/* ==========================================================
   PANEL PRINCIPAL
========================================================== */

.appointment-panel {

    position: relative;

    width: min(1750px, 100%);

    min-height: 560px;

    margin: 0 auto;

    padding:
        75px
        8%;

    overflow: hidden;

    display: grid;

    grid-template-columns:
        .85fr
        1.15fr;

    align-items: center;

    gap: 95px;

    border-radius: 16px;

    color: #ffffff;

    background:

        linear-gradient(
            105deg,

            #617f98 0%,

            #3e617c 25%,

            #1d425f 48%,

            #082d4a 70%,

            #001a35 100%
        );

}



/* ==========================================================
   LUZ DECORATIVA
========================================================== */

.appointment-panel::before {

    content: "";

    position: absolute;

    top: -300px;

    left: -250px;

    width: 800px;

    height: 800px;

    border-radius: 50%;

    pointer-events: none;

    background:

        radial-gradient(
            circle,
            rgba(194,220,238,.18),
            transparent 68%
        );

}



/* ==========================================================
   COLUMNA IZQUIERDA
========================================================== */

.appointment-info {

    position: relative;

    z-index: 2;

    max-width: 430px;

}



/* TEXTO PEQUEÑO */

.appointment-kicker {

    display: block;

    margin-bottom: 23px;

    font-family:
        "DM Sans",
        sans-serif;

    font-size: 14px;

    font-weight: 700;

    color: #ffffff;

}



/* ==========================================================
   TÍTULO
========================================================== */

.appointment-info h2 {

    margin: 0;

    font-family:
        "Playfair Display",
        serif;

    font-size:
        clamp(
            45px,
            3.7vw,
            62px
        );

    line-height: 1.04;

    letter-spacing: -1.7px;

    font-weight: 500;

    color: #ffffff;

}


.appointment-info h2 em {

    display: block;

    margin-top: 2px;

    font-style: italic;

    font-weight: 500;

}



/* ==========================================================
   PÁRRAFO IZQUIERDA
========================================================== */

.appointment-info p {

    max-width: 390px;

    margin:
        28px
        0
        0;

    font-family:
        "DM Sans",
        sans-serif;

    font-size: 15px;

    line-height: 1.7;

    color:
        rgba(255,255,255,.88);

}



/* ==========================================================
   FORMULARIO
========================================================== */

.appointment-form {

    position: relative;

    z-index: 5;

    width: min(650px, 100%);

}



/* ==========================================================
   FILAS
========================================================== */

.appointment-row {

    width: 100%;

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 12px;

    margin-bottom: 12px;

}



/* ==========================================================
   CAMPOS
========================================================== */

.appointment-field {

    width: 100%;

}


.appointment-field-full {

    margin-bottom: 12px;

}



/* INPUTS */

.appointment-field input,
.appointment-field select,
.appointment-field textarea {

    width: 100%;

    color: #ffffff;

    background:
        rgba(
            0,
            28,
            57,
            .16
        );

    border:
        1px
        solid
        rgba(
            255,
            255,
            255,
            .82
        );

    border-radius: 11px;

    outline: none;

    font-family:
        "DM Sans",
        sans-serif;

    font-size: 14px;

    transition:
        border-color .25s ease,
        background .25s ease,
        box-shadow .25s ease;

}



/* ALTURA INPUT */

.appointment-field input,
.appointment-field select {

    height: 52px;

    padding:
        0
        17px;

}



/* TEXTAREA */

.appointment-field textarea {

    min-height: 105px;

    padding:
        16px
        17px;

    resize: vertical;

}



/* ==========================================================
   PLACEHOLDER
========================================================== */

.appointment-field input::placeholder,
.appointment-field textarea::placeholder {

    color:
        rgba(
            255,
            255,
            255,
            .93
        );

}



/* ==========================================================
   SELECT
========================================================== */

.appointment-field select {

    color: #ffffff;

    cursor: pointer;

}


.appointment-field select option {

    color: #001d3a;

    background: #ffffff;

}



/* ==========================================================
   FOCUS
========================================================== */

.appointment-field input:focus,
.appointment-field select:focus,
.appointment-field textarea:focus {

    border-color: #ffffff;

    background:
        rgba(
            255,
            255,
            255,
            .07
        );

    box-shadow:
        0
        0
        0
        3px
        rgba(
            255,
            255,
            255,
            .08
        );

}



/* ==========================================================
   CHECKBOX
========================================================== */

.appointment-check {

    margin-top: 18px;

    display: flex;

    align-items: flex-start;

    gap: 10px;

    cursor: pointer;

    font-family:
        "DM Sans",
        sans-serif;

    font-size: 11px;

    line-height: 1.45;

    color:
        rgba(
            255,
            255,
            255,
            .90
        );

}


.appointment-check input {

    width: 15px;

    height: 15px;

    margin-top: 2px;

    accent-color: #ffffff;

}



/* ==========================================================
   WHATSAPP
========================================================== */

.appointment-whatsapp {

    margin-top: 23px;

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 10px;

    font-family:
        "DM Sans",
        sans-serif;

    font-size: 12px;

    color: #ffffff;

}


.appointment-whatsapp > span {

    margin-bottom: 3px;

    font-weight: 600;

}


.appointment-whatsapp label {

    display: flex;

    align-items: center;

    gap: 8px;

    cursor: pointer;

}


.appointment-whatsapp input {

    accent-color: #ffffff;

}



/* ==========================================================
   BOTÓN ENVIAR
========================================================== */

.appointment-submit {

    min-width: 130px;

    min-height: 50px;

    margin:
        35px
        auto
        0;

    padding:
        0
        26px;

    display: flex;

    align-items: center;

    justify-content: center;

    border: none;

    border-radius: 999px;

    background:
        rgba(
            15,
            48,
            77,
            .92
        );

    color: #ffffff;

    font-family:
        "DM Sans",
        sans-serif;

    font-size: 14px;

    font-weight: 600;

    cursor: pointer;

    transition:
        transform .25s ease,
        background .25s ease,
        box-shadow .25s ease;

}


.appointment-submit:hover {

    transform: translateY(-2px);

    background: #ffffff;

    color: #001d3a;

    box-shadow:
        0
        10px
        25px
        rgba(0,0,0,.10);

}



/* ==========================================================
   ENTRADA ANIMADA
========================================================== */

.appointment-info,
.appointment-form {

    opacity: 0;

}


.appointment-info {

    transform:
        translateX(-55px);

}


.appointment-form {

    transform:
        translateX(55px);

}


.appointment-section.is-visible
.appointment-info {

    animation:
        appointmentLeftIn
        .85s
        cubic-bezier(.2,.75,.2,1)
        forwards;

}


.appointment-section.is-visible
.appointment-form {

    animation:
        appointmentRightIn
        .9s
        .13s
        cubic-bezier(.2,.75,.2,1)
        forwards;

}



/* ==========================================================
   KEYFRAMES
========================================================== */

@keyframes appointmentLeftIn {

    from {

        opacity: 0;

        transform:
            translateX(-55px);

    }

    to {

        opacity: 1;

        transform:
            translateX(0);

    }

}


@keyframes appointmentRightIn {

    from {

        opacity: 0;

        transform:
            translateX(55px);

    }

    to {

        opacity: 1;

        transform:
            translateX(0);

    }

}



/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 1000px) {

    .appointment-panel {

        padding:
            65px
            6%;

        gap: 55px;

        grid-template-columns:
            .8fr
            1.2fr;

    }


    .appointment-info h2 {

        font-size:
            clamp(
                40px,
                5vw,
                53px
            );

    }

}



/* ==========================================================
   CELULAR / TABLET PEQUEÑA
========================================================== */

@media (max-width: 760px) {

    .appointment-section {

        padding:
            45px
            15px
            60px;

    }


    .appointment-panel {

        padding:
            55px
            25px;

        grid-template-columns: 1fr;

        gap: 45px;

        border-radius: 14px;

    }


    .appointment-info {

        max-width: 100%;

        text-align: center;

    }


    .appointment-info h2 {

        font-size:
            clamp(
                40px,
                10vw,
                50px
            );

    }


    .appointment-info p {

        margin:
            22px
            auto
            0;

    }


    .appointment-form {

        width: 100%;

    }


    .appointment-row {

        grid-template-columns: 1fr;

        gap: 12px;

    }


    .appointment-submit {

        width: 100%;

    }

}



/* ==========================================================
   MÓVIL PEQUEÑO
========================================================== */

@media (max-width: 420px) {

    .appointment-panel {

        padding:
            45px
            18px;

    }


    .appointment-info h2 {

        font-size: 38px;

    }


    .appointment-field input,
    .appointment-field select {

        height: 50px;

    }


    .appointment-check {

        font-size: 10px;

    }

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

.site-footer {

    position: relative;

    width: 100%;

    overflow: hidden;

    background: #001c3a;
}



/* ==========================================================
   PARTE PRINCIPAL
========================================================== */

.footer-main {

    position: relative;

    width: 100%;

    min-height: 440px;

    padding:
        85px
        40px
        75px;

    background:

        linear-gradient(
            110deg,
            #001b36 0%,
            #001e3c 45%,
            #00172e 100%
        );

    color: #ffffff;

    border-radius:
        45px
        45px
        0
        0;

}



/* ==========================================================
   LUZ SUTIL
========================================================== */

.footer-main::before {

    content: "";

    position: absolute;

    top: -450px;

    left: -250px;

    width: 850px;

    height: 850px;

    border-radius: 50%;

    pointer-events: none;

    background:

        radial-gradient(
            circle,
            rgba(81,126,161,.10),
            transparent 68%
        );

}



/* ==========================================================
   CONTENEDOR
========================================================== */

.footer-container {

    position: relative;

    z-index: 2;

    width: min(1250px, 100%);

    min-height: 280px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        1fr
        1.3fr
        1fr;

    align-items: center;

    gap: 70px;

}



/* ==========================================================
   COLUMNAS
========================================================== */

.footer-column {

    display: flex;

    flex-direction: column;

    gap: 34px;

}



/* ==========================================================
   TÍTULOS
========================================================== */

.footer-block h3,
.footer-social-block h3 {

    margin:
        0
        0
        10px;

    font-family:
        "Playfair Display",
        serif;

    font-size: 21px;

    line-height: 1.1;

    font-weight: 500;

    font-style: italic;

    color: #ffffff;

}



/* ==========================================================
   TEXTOS
========================================================== */

.footer-block p {

    margin: 0;

    font-family:
        "DM Sans",
        sans-serif;

    font-size: 14px;

    line-height: 1.6;

    color:
        rgba(
            255,
            255,
            255,
            .91
        );

}



/* ==========================================================
   CONTACTOS
========================================================== */

.footer-contact-link {

    width: fit-content;

    margin-top: 6px;

    display: flex;

    align-items: center;

    gap: 9px;

    color: #ffffff;

    font-family:
        "DM Sans",
        sans-serif;

    font-size: 14px;

    font-weight: 600;

    transition:
        opacity .25s ease,
        transform .25s ease;

}


.footer-contact-link:hover {

    opacity: .72;

    transform: translateX(3px);

}


.footer-contact-link svg {

    width: 17px;

    height: 17px;

    flex-shrink: 0;

    fill: none;

    stroke: currentColor;

    stroke-width: 1.8;

    stroke-linecap: round;

    stroke-linejoin: round;

}



/* ==========================================================
   LOGO CENTRAL
========================================================== */

.footer-logo-area {

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

}


.footer-logo {

    display: inline-flex;

    align-items: center;

    justify-content: center;

}


.footer-logo img {

    display: block;

    width: min(320px, 100%);

    height: auto;

    max-height: 150px;

    object-fit: contain;


    /*
    Si tu logo original tiene letras oscuras
    y no se ve bien, elimina este filter.
    */
    filter:
        brightness(0)
        invert(1);

    opacity: .96;

}



/* ==========================================================
   HORARIO
========================================================== */

.footer-right {

    align-items: flex-start;

}


.footer-hours strong {

    display: block;

    margin-top: 4px;

    font-family:
        "DM Sans",
        sans-serif;

    font-size: 15px;

    color: #ffffff;

}



/* ==========================================================
   REDES SOCIALES
========================================================== */

.footer-socials {

    display: flex;

    align-items: center;

    gap: 13px;

}


.footer-socials a {

    width: 39px;

    height: 39px;

    display: flex;

    align-items: center;

    justify-content: center;

    border:
        1px
        solid
        rgba(255,255,255,.22);

    border-radius: 50%;

    color: #ffffff;

    transition:
        background .25s ease,
        transform .25s ease,
        border-color .25s ease;

}


.footer-socials a:hover {

    transform: translateY(-3px);

    background: #ffffff;

    color: #001c3a;

    border-color: #ffffff;

}


.footer-socials svg {

    width: 18px;

    height: 18px;

    fill: none;

    stroke: currentColor;

    stroke-width: 1.8;

    stroke-linecap: round;

    stroke-linejoin: round;

}


.footer-socials a:nth-child(2) svg {

    fill: currentColor;

    stroke: none;

}


.footer-socials .social-dot {

    fill: currentColor;

    stroke: none;

}



/* ==========================================================
   FRANJA INFERIOR
========================================================== */

.footer-bottom {

    width: 100%;

    background: #eeeeee;

    color: #071d38;

}


.footer-bottom-container {

    width: min(1250px, calc(100% - 50px));

    min-height: 90px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        1fr
        auto
        1fr;

    align-items: center;

    gap: 35px;

}



/* ==========================================================
   COPYRIGHT
========================================================== */

.footer-copyright {

    font-family:
        "DM Sans",
        sans-serif;

    font-size: 11px;

    font-weight: 500;

    color: #10263c;

}



/* ==========================================================
   LINKS INFERIORES
========================================================== */

.footer-links {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

}


.footer-links a {

    color: #10263c;

    font-family:
        "DM Sans",
        sans-serif;

    font-size: 11px;

    transition:
        opacity .25s ease;

}


.footer-links a:hover {

    opacity: .55;

}


.footer-links > span {

    width: 1px;

    height: 12px;

    background:
        rgba(7,29,56,.30);

}



/* ==========================================================
   BITRAX PROTOCOL
========================================================== */

.footer-developer {

    justify-self: end;

    display: inline-flex;

    align-items: center;

    gap: 12px;

    color: #071d38;

    text-decoration: none;

    transition:
        transform .25s ease,
        opacity .25s ease;

}


.footer-developer:hover {

    transform: translateY(-2px);

    opacity: .72;

}



/* ==========================================================
   MARCA BITRAX
========================================================== */

.bitrax-mark {

    height: 30px;

    display: flex;

    align-items: stretch;

    gap: 4px;

}


.bitrax-mark span {

    display: block;

    width: 6px;

    border-radius: 2px;

    background: #071d38;

}


.bitrax-mark span:nth-child(1) {

    height: 25px;

}


.bitrax-mark span:nth-child(2) {

    height: 30px;

}


.bitrax-mark span:nth-child(3) {

    height: 22px;

}



/* ==========================================================
   TEXTO BITRAX
========================================================== */

.bitrax-text {

    display: flex;

    flex-direction: column;

    line-height: 1.15;

}


.bitrax-text small {

    font-family:
        "DM Sans",
        sans-serif;

    font-size: 9px;

    font-weight: 500;

}


.bitrax-text strong {

    margin-top: 2px;

    font-family:
        "DM Sans",
        sans-serif;

    font-size: 12px;

    font-weight: 700;

}



/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 950px) {

    .footer-main {

        padding:
            70px
            30px;

    }


    .footer-container {

        grid-template-columns:
            1fr
            1fr;

        gap:
            55px
            40px;

    }


    .footer-logo-area {

        grid-column:
            1 / -1;

        grid-row: 1;

    }


    .footer-contact {

        grid-column: 1;

        grid-row: 2;

    }


    .footer-right {

        grid-column: 2;

        grid-row: 2;

    }


    .footer-logo img {

        width: 260px;

    }


    .footer-bottom-container {

        grid-template-columns:
            1fr
            1fr;

        padding:
            25px
            0;

        gap: 20px;

    }


    .footer-links {

        display: none;

    }

}



/* ==========================================================
   CELULAR
========================================================== */

@media (max-width: 600px) {

    .footer-main {

        min-height: auto;

        padding:
            65px
            25px
            55px;

        border-radius:
            30px
            30px
            0
            0;

    }


    .footer-container {

        display: flex;

        flex-direction: column;

        align-items: center;

        gap: 45px;

        text-align: center;

    }


    .footer-logo-area {

        order: 1;

    }


    .footer-contact {

        order: 2;

        align-items: center;

    }


    .footer-right {

        order: 3;

        align-items: center;

    }


    .footer-column {

        align-items: center;

        gap: 30px;

    }


    .footer-block {

        display: flex;

        flex-direction: column;

        align-items: center;

    }


    .footer-contact-link {

        margin:
            5px
            auto
            0;

    }


    .footer-social-block {

        display: flex;

        flex-direction: column;

        align-items: center;

    }


    .footer-logo img {

        width: 230px;

        max-height: 115px;

    }


    /* PARTE INFERIOR */

    .footer-bottom-container {

        width:
            calc(
                100% - 35px
            );

        min-height: auto;

        padding:
            28px
            0;

        display: flex;

        flex-direction: column;

        gap: 20px;

        text-align: center;

    }


    .footer-copyright {

        font-size: 10px;

    }


    .footer-developer {

        justify-self: center;

    }

}

/* ==========================================================
   MENÚ PRINCIPAL V5
   Desktop: dropdown editorial por hover.
   Tablet/móvil: panel de navegación completo y accesible.
========================================================== */

:root {
    --ov-nav-ink: #061d36;
    --ov-nav-navy: #052e4c;
    --ov-nav-blue: #78a8c7;
    --ov-nav-blue-dark: #0a4d75;
    --ov-nav-paper: #ffffff;
    --ov-nav-soft: #f2f6f8;
    --ov-nav-line: rgba(5, 36, 62, .10);
    --ov-nav-shadow: 0 18px 42px rgba(0, 24, 45, .14);
    --ov-mobile-header: 74px;
    --ov-mobile-bottom: 58px;
}

/* ---------- HEADER ---------- */
.nav-v5 {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 7000;
    width: 100%;
    padding: 22px 24px 0;
    transition: padding .25s ease;
}

.nav-v5.scrolled {
    padding-top: 10px;
}

.nav-v5 .navbar {
    position: relative;
    width: min(1780px, 100%);
    min-height: 82px;
    margin: 0 auto;
    padding: 0 18px 0 28px;
    overflow: visible !important;
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, .985);
    border: 1px solid rgba(255, 255, 255, .80);
    border-radius: 18px;
    box-shadow: 0 8px 26px rgba(0, 28, 50, .08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.nav-v5 .logo {
    width: 180px;
    min-width: 180px;
    flex: 0 0 180px;
    display: flex;
    align-items: center;
}

.nav-v5 .logo img {
    display: block;
    width: auto;
    height: auto;
    max-width: 154px;
    max-height: 55px;
    object-fit: contain;
}

.nav-v5 .logo-fallback {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px;
    color: #0b5568;
    line-height: 1;
}

.nav-v5 .logo-fallback strong,
.nav-v5 .logo-fallback em {
    font-family: "Playfair Display", serif;
    font-size: 21px;
    font-weight: 600;
}

.nav-v5 .logo-fallback em {
    font-style: italic;
}

.nav-v5 .logo-fallback small {
    width: 100%;
    margin-top: 4px;
    color: #8b735d;
    font-size: 6px;
    font-weight: 800;
    letter-spacing: .13em;
}

/* ---------- MENÚ HORIZONTAL ---------- */
.nav-v5 .menu {
    position: static;
    flex: 1;
    min-width: 0;
    margin: 0;
    padding: 0;
    overflow: visible !important;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(2px, .55vw, 10px);
    list-style: none;
}

.nav-v5 .menu-item {
    position: relative;
    min-width: 0;
    display: flex;
    align-items: center;
}

.nav-v5 .menu .menu-link,
.nav-v5 .menu button.menu-link {
    position: relative;
    min-height: 50px;
    padding: 0 clamp(8px, .72vw, 13px);
    border: 0;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: transparent;
    color: var(--ov-nav-ink);
    font: inherit;
    font-size: clamp(13px, .86vw, 15px);
    font-weight: 650;
    line-height: 1;
    letter-spacing: -.01em;
    white-space: nowrap;
    cursor: pointer;
    transition: color .16s ease, background .16s ease;
}

.nav-v5 .menu a::after,
.nav-v5 .menu .menu-link::after,
.nav-v5 .menu .dropdown-row::after,
.nav-v5 .menu .flyout-link::after,
.nav-v5 .menu .menu-appointment::after {
    display: none !important;
    content: none !important;
}

.nav-v5 .menu .menu-link:hover,
.nav-v5 .menu .menu-link:focus-visible,
.nav-v5 .has-submenu:hover > .menu-link,
.nav-v5 .has-submenu:focus-within > .menu-link,
.nav-v5 .has-submenu.open > .menu-link {
    color: #084c73;
    background: #edf4f8;
    outline: none;
}

.nav-v5 .menu-chevron {
    width: 13px;
    height: 13px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform .16s ease;
}

.nav-v5 .has-submenu:hover > .menu-link .menu-chevron,
.nav-v5 .has-submenu:focus-within > .menu-link .menu-chevron,
.nav-v5 .has-submenu.open > .menu-link .menu-chevron {
    transform: rotate(180deg);
}

/* ---------- CTA ---------- */
.nav-v5 .menu-item-appointment {
    margin-left: 4px;
}

.nav-v5 .menu-appointment {
    min-height: 54px;
    padding: 0 22px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    background: #032c4c;
    color: #ffffff;
    font-size: 14px;
    font-weight: 750;
    line-height: 1;
    white-space: nowrap;
    box-shadow: 0 8px 20px rgba(0, 34, 62, .14);
    transition: background .16s ease, transform .16s ease;
}

.nav-v5 .menu-appointment svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform .16s ease;
}

.nav-v5 .menu-appointment:hover,
.nav-v5 .menu-appointment:focus-visible {
    background: #0b4b72;
    transform: translateY(-1px);
    outline: none;
}

.nav-v5 .menu-appointment:hover svg {
    transform: translateX(3px);
}

/* ==========================================================
   DROPDOWNS DESKTOP
========================================================== */
@media (min-width: 1241px) {
    .nav-v5 .menu-mobile,
    .nav-v5 .mobile-menu-extras {
        display: none !important;
    }

    .nav-v5 .submenu.simple-dropdown {
        position: absolute !important;
        z-index: 7300;
        top: calc(100% + 10px) !important;
        right: auto !important;
        bottom: auto !important;
        left: 0 !important;
        width: 330px !important;
        max-width: calc(100vw - 48px) !important;
        max-height: none !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        display: block !important;
        border: 1px solid var(--ov-nav-line) !important;
        border-radius: 9px !important;
        background: var(--ov-nav-paper) !important;
        box-shadow: var(--ov-nav-shadow) !important;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(8px) !important;
        transform-origin: top left;
        transition: opacity .14s ease, transform .14s ease, visibility .14s ease;
        scrollbar-width: none;
    }

    .nav-v5 .submenu.simple-dropdown::-webkit-scrollbar {
        display: none;
    }

    .nav-v5 .submenu.simple-dropdown::before {
        content: "";
        position: absolute;
        top: -12px;
        left: 0;
        width: 100%;
        height: 12px;
        display: block;
        background: transparent;
    }

    .nav-v5 .has-submenu:hover > .submenu.simple-dropdown,
    .nav-v5 .has-submenu:focus-within > .submenu.simple-dropdown,
    .nav-v5 .has-submenu.open > .submenu.simple-dropdown {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0) !important;
    }

    .nav-v5 .submenu-servicios {
        left: 50% !important;
        width: 390px !important;
        transform: translate(-50%, 8px) !important;
        transform-origin: top center;
    }

    .nav-v5 .menu-item-servicios:hover > .submenu-servicios,
    .nav-v5 .menu-item-servicios:focus-within > .submenu-servicios,
    .nav-v5 .menu-item-servicios.open > .submenu-servicios {
        transform: translate(-50%, 0) !important;
    }

    .nav-v5 .dropdown-primary {
        position: relative;
        padding: 9px 0 10px;
        background: #ffffff;
        border-radius: inherit;
    }

    .nav-v5 .dropdown-section-title {
        padding: 12px 20px 10px;
        color: #8496a7;
        font-size: 10.5px;
        font-weight: 800;
        letter-spacing: .14em;
        text-transform: uppercase;
    }

    .nav-v5 .dropdown-row {
        position: relative;
        width: 100%;
        min-height: 49px;
        padding: 10px 19px 10px 20px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 18px;
        border: 0 !important;
        border-radius: 0;
        background: #ffffff;
        color: #0b2540;
        font-size: 15.5px;
        font-weight: 520;
        line-height: 1.28;
        white-space: normal !important;
        transition: background .13s ease, color .13s ease, padding-left .13s ease;
    }

    .nav-v5 .dropdown-row + .dropdown-row,
    .nav-v5 .mobile-team-list + .dropdown-row {
        border-top: 1px solid rgba(6, 37, 64, .055) !important;
    }

    .nav-v5 .dropdown-row svg {
        width: 14px;
        height: 14px;
        flex: 0 0 14px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
    }

    .nav-v5 .dropdown-row:hover,
    .nav-v5 .dropdown-row:focus-visible,
    .nav-v5 .dropdown-row-team:hover,
    .nav-v5 .dropdown-row-team:focus-within {
        padding-left: 25px;
        color: #ffffff;
        background: #86abc5;
        outline: none;
    }

    .nav-v5 .services-list .dropdown-row {
        min-height: 46px;
        font-size: 14.5px;
    }

    /* ---------- Segundo nivel: Nuestro Equipo ---------- */
    .nav-v5 .submenu-flyout {
        position: absolute;
        z-index: 7350;
        top: -45px;
        left: calc(100% + 6px);
        width: 315px;
        padding: 9px 0 11px;
        overflow: visible;
        border: 1px solid var(--ov-nav-line);
        border-radius: 9px;
        background: #ffffff;
        box-shadow: var(--ov-nav-shadow);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateX(7px);
        transition: opacity .13s ease, transform .13s ease, visibility .13s ease;
    }

    .nav-v5 .submenu-flyout::before {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: -8px;
        width: 8px;
    }

    .nav-v5 .has-flyout:hover > .submenu-flyout,
    .nav-v5 .has-flyout:focus-within > .submenu-flyout {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(0);
    }

    .nav-v5 .flyout-title,
    .nav-v5 .flyout-label {
        padding: 11px 19px 8px;
        color: #8496a7;
        font-size: 10.5px;
        font-weight: 800;
        letter-spacing: .13em;
        text-transform: uppercase;
    }

    .nav-v5 .flyout-label {
        padding-top: 9px;
        padding-bottom: 4px;
    }

    .nav-v5 .flyout-link {
        min-height: 49px;
        padding: 9px 19px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        color: #0b2540;
        background: #ffffff;
        font-size: 14.5px;
        font-weight: 570;
        line-height: 1.25;
        white-space: normal !important;
        transition: background .13s ease, color .13s ease, padding-left .13s ease;
    }

    .nav-v5 .flyout-link strong {
        font-size: 14.5px;
        font-weight: 650;
    }

    .nav-v5 .flyout-link small {
        margin-top: 2px;
        color: #718496;
        font-size: 11.5px;
        font-weight: 500;
    }

    .nav-v5 .flyout-link:hover,
    .nav-v5 .flyout-link:focus-visible {
        padding-left: 24px;
        color: #07507a;
        background: #f0f5f8;
        outline: none;
    }

    .nav-v5 .flyout-link.compact {
        min-height: 41px;
        padding-top: 7px;
        padding-bottom: 7px;
    }

    .nav-v5 .flyout-divider {
        height: 1px;
        margin: 6px 19px 2px;
        background: rgba(5, 37, 64, .09);
    }

    .nav-v5 .mobile-team-list {
        display: none !important;
    }
}

/* Ajuste para desktop medio: cabe sin cortar el CTA. */
@media (min-width: 1241px) and (max-width: 1450px) {
    .nav-v5 {
        padding-inline: 14px;
    }

    .nav-v5 .navbar {
        padding: 0 14px 0 18px;
        gap: 8px;
    }

    .nav-v5 .logo {
        width: 148px;
        min-width: 148px;
        flex-basis: 148px;
    }

    .nav-v5 .logo img {
        max-width: 132px;
    }

    .nav-v5 .menu {
        gap: 1px;
    }

    .nav-v5 .menu .menu-link,
    .nav-v5 .menu button.menu-link {
        padding-inline: 8px;
        font-size: 13px;
    }

    .nav-v5 .menu-appointment {
        min-height: 50px;
        padding-inline: 17px;
        font-size: 13px;
    }
}

/* Si la pantalla de escritorio es baja, Servicios se divide en 2 columnas. */
@media (min-width: 1241px) and (max-height: 650px) {
    .nav-v5 .submenu-servicios {
        width: 680px !important;
    }

    .nav-v5 .services-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        padding: 9px;
    }

    .nav-v5 .services-list .dropdown-section-title {
        grid-column: 1 / -1;
    }

    .nav-v5 .services-list .dropdown-row {
        border: 0 !important;
    }
}

/* ==========================================================
   TABLET / MÓVIL
========================================================== */
.nav-v5 .menu-mobile,
.nav-v5 .mobile-menu-extras,
.mobile-bottom {
    display: none;
}

@media (max-width: 1240px) {
    body.menu-open {
        overflow: hidden;
    }

    .nav-v5,
    .nav-v5.scrolled {
        top: 0;
        padding: 0;
    }

    .nav-v5 .navbar {
        width: 100%;
        min-height: var(--ov-mobile-header);
        margin: 0;
        padding: 0 18px;
        overflow: visible !important;
        border: 0;
        border-bottom: 1px solid rgba(7, 29, 56, .08);
        border-radius: 0;
        background: rgba(255,255,255,.995);
        box-shadow: 0 3px 14px rgba(0, 20, 40, .05);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .nav-v5 .logo {
        width: auto;
        min-width: 0;
        flex: 1;
    }

    .nav-v5 .logo img {
        max-width: 138px;
        max-height: 52px;
    }

    .nav-v5 .logo-fallback strong,
    .nav-v5 .logo-fallback em {
        font-size: 19px;
    }

    .nav-v5 .menu-mobile {
        position: relative;
        z-index: 7500;
        width: auto;
        height: 48px;
        padding: 0;
        border: 0;
        display: inline-flex !important;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 11px;
        background: transparent;
        color: #111820;
        cursor: pointer;
    }

    .nav-v5 .menu-mobile > span,
    .nav-v5 .menu-mobile.active > span:nth-child(1),
    .nav-v5 .menu-mobile.active > span:nth-child(2),
    .nav-v5 .menu-mobile.active > span:nth-child(3) {
        width: auto;
        height: auto;
        background: none;
        opacity: 1;
        transform: none;
    }

    .nav-v5 .menu-mobile-label {
        display: block !important;
        color: #48515a;
        font-size: 11.5px;
        font-weight: 650;
        letter-spacing: .03em;
    }

    .nav-v5 .menu-mobile-icon {
        position: relative;
        width: 28px !important;
        height: 28px !important;
        display: block !important;
    }

    .nav-v5 .menu-mobile-icon i {
        position: absolute;
        left: 2px;
        top: 13px;
        display: block;
        width: 24px;
        height: 2px;
        border-radius: 999px;
        background: var(--ov-nav-ink);
        transition: transform .18s ease;
    }

    .nav-v5 .menu-mobile-icon i:first-child {
        transform: translateY(-4px);
    }

    .nav-v5 .menu-mobile-icon i:last-child {
        transform: translateY(4px);
    }

    .nav-v5 .menu-mobile.active .menu-mobile-icon i:first-child {
        transform: rotate(45deg);
    }

    .nav-v5 .menu-mobile.active .menu-mobile-icon i:last-child {
        transform: rotate(-45deg);
    }

    .nav-v5 .menu {
        position: fixed !important;
        z-index: 7400;
        top: var(--ov-mobile-header) !important;
        right: 0 !important;
        bottom: var(--ov-mobile-bottom) !important;
        left: 0 !important;
        width: 100% !important;
        max-width: none !important;
        max-height: none !important;
        margin: 0 !important;
        padding: clamp(22px, 4.5vh, 38px) clamp(22px, 6vw, 46px) 20px !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        display: none;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        border: 0;
        border-radius: 0;
        background: #f2f2f0;
        box-shadow: none;
        list-style: none;
        overscroll-behavior: contain;
    }

    .nav-v5 .menu.active {
        display: flex;
        animation: ovMenuIn .17s ease both;
    }

    @keyframes ovMenuIn {
        from { opacity: 0; transform: translateY(-4px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .nav-v5 .menu-item,
    .nav-v5 .menu-item-nosotros,
    .nav-v5 .menu-item-servicios {
        position: relative;
        width: 100%;
        display: block;
        border-bottom: 1px solid rgba(7, 29, 56, .06);
    }

    .nav-v5 .menu .menu-link,
    .nav-v5 .menu button.menu-link,
    .nav-v5 .menu .menu-appointment {
        width: 100%;
        min-height: 52px;
        padding: 8px 0;
        border: 0;
        border-radius: 0;
        justify-content: space-between;
        background: transparent !important;
        color: #111820;
        font-size: 15.5px;
        font-weight: 700;
        text-align: left;
        box-shadow: none;
        transform: none;
    }

    .nav-v5 .menu .menu-link:hover,
    .nav-v5 .menu .menu-link:focus-visible,
    .nav-v5 .has-submenu.open > .menu-link,
    .nav-v5 .menu .menu-appointment:hover,
    .nav-v5 .menu .menu-appointment:focus-visible {
        color: #075079;
        background: transparent !important;
        outline: none;
    }

    .nav-v5 .menu-chevron {
        width: 13px;
        height: 13px;
        transform: rotate(-90deg);
    }

    .nav-v5 .has-submenu.open > .menu-link .menu-chevron {
        transform: rotate(0deg);
    }

    /* Acordeones móviles */
    .nav-v5 .submenu.simple-dropdown,
    .nav-v5 .has-submenu > .submenu.simple-dropdown,
    .nav-v5 .has-submenu:hover > .submenu.simple-dropdown,
    .nav-v5 .has-submenu:focus-within > .submenu.simple-dropdown {
        position: static !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;
        width: 100% !important;
        max-width: none !important;
        max-height: none !important;
        margin: 0 0 12px !important;
        padding: 2px 0 5px 15px !important;
        overflow: visible !important;
        display: none !important;
        border: 0 !important;
        border-left: 1px solid rgba(5, 46, 76, .17) !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: none !important;
        transition: none !important;
    }

    .nav-v5 .has-submenu.open > .submenu.simple-dropdown {
        display: block !important;
    }

    .nav-v5 .submenu.simple-dropdown::before,
    .nav-v5 .submenu-flyout {
        display: none !important;
    }

    .nav-v5 .dropdown-primary {
        padding: 0;
        background: transparent;
    }

    .nav-v5 .dropdown-section-title,
    .nav-v5 .dropdown-row-team {
        display: none !important;
    }

    .nav-v5 .dropdown-row,
    .nav-v5 .services-list .dropdown-row {
        width: 100%;
        min-height: 41px;
        padding: 7px 10px;
        display: flex;
        align-items: center;
        border: 0 !important;
        border-radius: 0;
        background: transparent !important;
        color: #526679;
        font-size: 13.5px;
        font-weight: 600;
        line-height: 1.32;
        white-space: normal;
    }

    .nav-v5 .dropdown-row:hover,
    .nav-v5 .dropdown-row:focus-visible {
        padding-left: 10px;
        color: #075079;
        background: transparent !important;
        outline: none;
    }

    .nav-v5 .mobile-team-list {
        display: flex !important;
        flex-direction: column;
        padding: 1px 0 5px;
    }

    .nav-v5 .mobile-team-list a {
        min-height: 38px;
        padding: 6px 10px;
        display: flex;
        align-items: center;
        color: #526679;
        font-size: 13.5px;
        font-weight: 600;
        line-height: 1.3;
    }

    .nav-v5 .mobile-team-list a:hover,
    .nav-v5 .mobile-team-list a:focus-visible {
        color: #075079;
        outline: none;
    }

    .nav-v5 .mobile-subtitle {
        padding: 9px 10px 4px;
        color: #8999a7;
        font-size: 9.5px;
        font-weight: 800;
        letter-spacing: .12em;
        text-transform: uppercase;
    }

    .nav-v5 .mobile-subtitle-staff {
        margin-top: 3px;
    }

    .nav-v5 .menu-item-appointment {
        margin: 0;
    }

    .nav-v5 .menu-appointment svg {
        width: 16px;
        height: 16px;
    }

    .nav-v5 .mobile-menu-extras {
        margin-top: auto;
        padding: 28px 0 18px;
        border: 0;
        display: flex !important;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .nav-v5 .mobile-menu-socials {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 26px;
    }

    .nav-v5 .mobile-menu-socials a {
        width: 30px;
        height: 30px;
        display: grid;
        place-items: center;
        color: #111820;
    }

    .nav-v5 .mobile-menu-socials svg {
        width: 21px;
        height: 21px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
    }

    .nav-v5 .mobile-menu-socials a:nth-child(2) svg {
        fill: currentColor;
        stroke: none;
    }

    .nav-v5 .mobile-menu-phone {
        color: #111820;
        font-family: "Playfair Display", serif;
        font-size: 18px;
        font-weight: 600;
    }

    .mobile-bottom {
        position: fixed;
        z-index: 7450;
        right: 0;
        bottom: 0;
        left: 0;
        height: var(--ov-mobile-bottom);
        display: none !important;
        grid-template-columns: 1fr 1fr;
        background: #ffffff;
        box-shadow: 0 -4px 16px rgba(0, 20, 40, .07);
    }

    body.menu-open .mobile-bottom {
        display: grid !important;
    }

    .mobile-bottom a {
        display: flex;
        align-items: center;
        justify-content: center;
        color: #062a49;
        font-size: 12.5px;
        font-weight: 800;
        letter-spacing: .02em;
    }

    .mobile-bottom a:last-child {
        background: #062a49;
        color: #ffffff;
    }

    body.menu-open .contact-floating {
        display: none !important;
    }
}

@media (max-width: 620px) {
    :root {
        --ov-mobile-header: 70px;
        --ov-mobile-bottom: 56px;
    }

    .nav-v5 .navbar {
        min-height: var(--ov-mobile-header);
        padding-inline: 15px;
    }

    .nav-v5 .logo img {
        max-width: 122px;
    }

    .nav-v5 .menu-mobile {
        height: 44px;
        gap: 9px;
    }

    .nav-v5 .menu-mobile-label {
        font-size: 11px;
    }

    .nav-v5 .menu {
        padding: 20px 18px 16px !important;
    }

    .nav-v5 .menu .menu-link,
    .nav-v5 .menu button.menu-link,
    .nav-v5 .menu .menu-appointment {
        min-height: 49px;
        font-size: 15px;
    }

    .nav-v5 .submenu.simple-dropdown,
    .nav-v5 .has-submenu > .submenu.simple-dropdown {
        padding-left: 11px !important;
    }

    .nav-v5 .dropdown-row,
    .nav-v5 .services-list .dropdown-row,
    .nav-v5 .mobile-team-list a {
        font-size: 13px;
    }

    .nav-v5 .mobile-menu-extras {
        padding-top: 24px;
        gap: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nav-v5 *,
    .nav-v5 *::before,
    .nav-v5 *::after {
        transition-duration: .001ms !important;
        animation-duration: .001ms !important;
    }
}

