@charset "utf-8";
/* CSS Document */


/* =========================================================
   CONFIGURACIÓN GENERAL
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background-color: #1e1e1e;
    font-family: Arial, Helvetica, sans-serif;
}


/* =========================================================
   CONTENEDORES PRINCIPALES
========================================================= */

.header,
.menu,
.hero {
    width: 100%;
    margin: 0;
}


/* =========================================================
   ENCABEZADO
========================================================= */

.header {
    width: 100%;
    min-height: 105px;

    background-color: #ffffff;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 25px;
}


/* LOGO */

.logo img {
    width: 250px;
    height: auto;

    display: block;

    margin-left: 30px;
}


/* =========================================================
   CONTACTO
========================================================= */

.contacto_barra {
    display: flex;
    align-items: center;

    gap: 58px;

    font-size: 18px;
    font-weight: normal;

    color: #111111;
}

.contacto_item {
    display: flex;
    align-items: center;

    gap: 8px;

    color: #263376;

    text-decoration: none;

    transition: transform 0.3s ease;
}

.contacto_item:hover {
    transform: scale(1.02);
}

.contacto_item img {
    width: 20px;
    height: auto;

    display: block;

    transition: transform 0.3s ease;
}

.contacto_item:hover img {
    transform: scale(1.1);
}


/* =========================================================
   MENÚ
========================================================= */

.menu {
    width: 100%;
    min-height: 138px;

    background-color: #294f7e;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 40px;

    padding: 0 78px;

    position: sticky;
    top: 0;

    z-index: 1000;
}

.menu a {
    color: white;
    text-decoration: none;

    font-family: "IBM Plex Serif", serif;

    font-size: 20px;
    font-weight: bold;

    white-space: nowrap;

    transition:
        transform 0.3s ease,
        background-color 0.3s ease;
}

.menu a:hover {
    color: #d8e5f2;

    transform: scale(1.02);
}


/* =========================================================
   MENÚ DESPLEGABLE - ENFERMEDADES
========================================================= */

.menu_desplegable {
    position: relative;

    display: flex;
    align-items: center;
}


/* ENLACE PRINCIPAL */

.menu_principal {
    color: #ffffff;

    text-decoration: none;

    font-size: 18px;
    font-weight: bold;

    white-space: nowrap;

    transition:
        color 0.3s ease,
        transform 0.3s ease;
}

.menu_principal:hover {
    color: #d8e5f2;

    transform: scale(1.02);
}


/* SUBMENÚ */

.submenu {
    position: absolute;

    top: 100%;
    left: 50%;

    width: 250px;

    background-color: #d72832;

    display: flex;
    flex-direction: column;

    z-index: 2000;

    box-shadow:
        0 5px 12px rgba(0, 0, 0, 0.25);

    /* Estado inicial */

    opacity: 0;
    visibility: hidden;

    transform: translate(-50%, -15px);

    /* Animación */

    transition:
        opacity 0.45s ease,
        transform 0.45s ease,
        visibility 0.45s ease;
}


/* MOSTRAR SUBMENÚ */

.menu_desplegable:hover .submenu {
    opacity: 1;
    visibility: visible;

    transform: translate(-50%, 0);
}


/* OPCIONES DEL SUBMENÚ */

.submenu a {
    display: block;

    width: 100%;

    padding: 14px 16px;

    color: white;

    text-decoration: none;

    font-size: 14px;
    font-weight: bold;

    white-space: normal;

    line-height: 1.3;

    transition:
        background-color 0.3s ease,
        padding-left 0.3s ease;
}


/* HOVER DE LAS OPCIONES */

.submenu a:hover {
    background-color: #b51f1f;

    padding-left: 20px;
}


/* =========================================================
   BOTÓN AGENDA
========================================================= */

.boton_agenda {
    background-color: #b51f1f;

    padding: 9px 12px;

    border-radius: 9px;

    font-size: 18px !important;

    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.3);

    transition:
        transform 0.3s ease,
        background-color 0.3s ease;
}

.boton_agenda:hover {
    background-color: #951818;

    color: #ffffff !important;

    transform: scale(1.1);
}

.icono_calendario {
    width: 20px;
    height: 20px;

    margin-left: 5px;

    vertical-align: middle;

    object-fit: contain;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    width: 100%;
    height: 320px;

    position: relative;

    overflow: hidden;
}

.imagen_hero {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    object-position: 70% 38%;
}


/* =========================================================
   TÍTULO SERVICIOS
========================================================= */

.servicios {
    width: 100%;

    background-color: #ffffff;
}

.titulo_servicios {
    width: 100%;
    height: 60px;

    background-color: #294f7e;

    display: flex;
    align-items: center;
    justify-content: center;
}

.titulo_servicios h2 {
    margin: 0;

    color: #ffffff;

    font-family: "IBM Plex Serif", serif;

    font-size: 30px;
    font-weight: bold;
}


/* =========================================================
   INFORMACIÓN DE SERVICIOS
========================================================= */

.info_servicios {
    width: 100%;

    background-color: #ffffff;

    padding: 70px 6% 60px;

    font-family: Arial, Helvetica, sans-serif;
}


/* =========================================================
   ENCABEZADO DE SERVICIOS
========================================================= */

.encabezado_servicios {
    width: 100%;

    text-align: center;

    margin-bottom: 40px;
}

.encabezado_servicios h2 {
    margin: 0;

    color: #294f7e;

    font-family:
        "IBM Plex Serif", serif;

    font-size: 38px;
}

.encabezado_servicios p {
    margin: 10px 0 0;

    color: #555555;

    font-size: 20px;

    line-height: 1.5;
}


/* =========================================================
   TARJETAS + FOTOGRAFÍA
========================================================= */

.servicios_contenido {
    width: 100%;
    max-width: 1600px;

    margin: 0 auto;

    display: flex;

    align-items: stretch;

    gap: 25px;
}


/* =========================================================
   4 TARJETAS
========================================================= */

.tarjetas_servicios {
    width: 100%;

    flex: 1 1 auto;

    display: flex;

    align-items: stretch;

    gap: 20px;
}


/* =========================================================
   TARJETAS
========================================================= */

.tarjeta_servicio {
    width: 0;

    flex: 1 1 0;

    min-width: 0;

    background-color: #ffffff;

    border: 1px solid #dce3e9;

    border-radius: 20px;

    padding: 25px 20px;

    min-height: 430px;

    box-shadow:
        0 3px 10px rgba(0, 0, 0, 0.08);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


/* =========================================================
   HOVER
========================================================= */

.tarjeta_servicio:hover {
    transform: translateY(-5px);

    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.13);
}


/* =========================================================
   ICONO
========================================================= */

.icono_servicio {
    width: 40px;
    height: 40px;

    border: 2px solid #294f7e;

    border-radius: 50%;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #294f7e;

    font-size: 18px;
    font-weight: bold;

    margin-bottom: 15px;
}


/* =========================================================
   TÍTULO DE TARJETA
========================================================= */

.tarjeta_servicio h3 {
    margin: 0 0 10px;

    color: #294f7e;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 23px;

    line-height: 1.2;
}


/* =========================================================
   DESCRIPCIÓN
========================================================= */

.descripcion_servicio {
    margin: 0 0 15px;

    color: #555555;

    font-size: 18px;

    line-height: 1.5;
}


/* =========================================================
   LISTA
========================================================= */

.tarjeta_servicio ul {
    margin: 0;

    padding-left: 18px;

    color: #333333;

    font-size: 18px;

    line-height: 1.5;
}

.tarjeta_servicio li {
    margin-bottom: 7px;
}


/* =========================================================
   FOTOGRAFÍA DE LA DOCTORA
========================================================= */

.foto_serviciosdoc {
    width: 320px;

    height: 450px;

    flex: 0 0 320px;

    display: flex;

    justify-content: center;
    align-items: center;

    overflow: hidden;

    border-radius: 20px;
}

.foto_serviciosdoc img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    border-radius: 20px;
}


/* =========================================================
   FRASE FINAL
========================================================= */

.frase_servicios {
    width: 100%;

    margin-top: 40px;

    text-align: center;

    color: #294f7e;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 21px;

    font-weight: bold;
}


/* =========================================================
   NOTA PROFESIONAL
========================================================= */

.nota_servicios {
    width: 100%;
    max-width: 750px;

    margin: 15px auto 0;

    text-align: center;

    color: #666666;

    font-size: 12px;

    line-height: 1.5;

    text-transform: uppercase;
}


/* =========================================================
   BOTÓN SOLICITA INFORMES
========================================================= */

.boton_servicios_contenedor {
    width: 100%;

    display: flex;

    justify-content: center;

    margin-top: 25px;
}

.boton_servicios {
    display: inline-block;

    background-color: #d72832;

    color: #ffffff;

    text-decoration: none;

    font-size: 14px;

    font-weight: bold;

    padding: 11px 20px;

    border-radius: 10px;

    transition:
        transform 0.3s ease,
        background-color 0.3s ease;
}

.boton_servicios:hover {
    background-color: #b51f1f;

    transform: scale(1.05);
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    width: 100%;

    min-height: 25px;

    background-color: #ffffff;

    display: flex;

    align-items: center;

    justify-content: center;

    position: relative;

    padding: 20px 8%;

    color: #294f7e;
}

.direccion {
    text-align: center;

    font-family: Arial, Helvetica, sans-serif;
}

.direccion strong {
    font-size: 18px;
}

.direccion p {
    margin-top: 10px;

    font-size: 16px;

    font-weight: bold;

    color: #333333;

    line-height: 1.5;
}


/* =========================================================
   WHATSAPP
========================================================= */

.whatsapp_footer {
    position: absolute;

    right: 8%;

    display: flex;

    align-items: center;
    justify-content: center;

    transition: transform 0.3s ease;
}

.whatsapp_footer img {
    width: 55px;
    height: 55px;

    object-fit: contain;
}

.whatsapp_footer:hover {
    transform: scale(1.1);
}


/* =========================================================
   RESPONSIVE - TABLET
========================================================= */

@media (max-width: 1000px) {

    /* HEADER */

    .header {
        padding: 15px 25px;
    }

    .logo img {
        width: 210px;

        margin-left: 0;
    }

    .contacto_barra {
        gap: 20px;

        font-size: 14px;
    }


    /* MENÚ */

    .menu {
        min-height: 90px;

        gap: 15px;

        padding: 15px 20px;

        flex-wrap: wrap;
    }

    .menu a {
        font-size: 14px;
    }

    .boton_agenda {
        font-size: 14px !important;
    }


    /* HERO */

    .hero {
        height: 280px;
    }


    /* TARJETAS + FOTO */

    .servicios_contenido {
        flex-direction: column;

        gap: 30px;
    }


    /* TARJETAS */

    .tarjetas_servicios {
        width: 100%;

        display: flex;

        flex-wrap: wrap;

        gap: 20px;
    }

    .tarjeta_servicio {
        width: calc(50% - 10px);

        flex: 0 0 calc(50% - 10px);

        min-height: 450px;
    }


    /* FOTO */

    .foto_serviciosdoc {
        width: 500px;

        max-width: 100%;

        height: 450px;

        flex: none;

        margin: 0 auto;
    }

}


/* =========================================================
   RESPONSIVE - CELULAR
========================================================= */

@media (max-width: 600px) {

    /* HEADER */

    .header {
        min-height: auto;

        padding: 20px;

        flex-direction: column;

        gap: 20px;
    }

    .logo img {
        width: 200px;

        margin-left: 0;
    }

    .contacto_barra {
        width: 100%;

        flex-direction: column;

        gap: 12px;
    }


    /* MENÚ */

    .menu {
        min-height: auto;

        padding: 15px;

        flex-direction: column;

        gap: 15px;
    }

    .menu a {
        font-size: 14px;

        white-space: normal;

        text-align: center;
    }

    .boton_agenda {
        font-size: 14px !important;
    }


    /* SUBMENÚ */

    .submenu {
        position: static;

        width: 250px;

        margin: 10px auto 0;

        transform: none;
    }

    .menu_desplegable:hover .submenu {
        transform: none;
    }


    /* HERO */

    .hero {
        height: 220px;
    }

    .imagen_hero {
        object-position: center center;
    }


    /* TÍTULO */

    .titulo_servicios {
        height: 55px;
    }

    .titulo_servicios h2 {
        font-size: 22px;
    }


    /* INFORMACIÓN */

    .info_servicios {
        padding: 45px 20px 50px;
    }


    /* ENCABEZADO */

    .encabezado_servicios {
        margin-bottom: 30px;
    }

    .encabezado_servicios h2 {
        font-size: 30px;

        line-height: 1.2;
    }

    .encabezado_servicios p {
        font-size: 14px;
    }


    /* TARJETAS + FOTO */

    .servicios_contenido {
        width: 100%;

        flex-direction: column;

        gap: 25px;
    }


    /* TARJETAS */

    .tarjetas_servicios {
        width: 100%;

        flex-direction: column;

        gap: 18px;
    }

    .tarjeta_servicio {
        width: 100%;

        flex: none;

        min-height: auto;

        padding: 22px 18px;
    }


    /* FOTO */

    .foto_serviciosdoc {
        width: 100%;

        max-width: 100%;

        height: 400px;

        flex: none;

        margin: 0 auto;
    }

    .foto_serviciosdoc img {
        width: 100%;

        height: 100%;

        object-fit: cover;
    }


    /* FRASE */

    .frase_servicios {
        margin-top: 35px;

        font-size: 18px;
    }


    /* NOTA */

    .nota_servicios {
        font-size: 11px;
    }


    /* BOTÓN */

    .boton_servicios {
        font-size: 14px;

        padding: 11px 18px;
    }


    /* FOOTER */

    .footer {
        padding: 25px 20px 90px;
    }

    .direccion {
        width: 100%;

        font-family:
            "Gill Sans",
            "Gill Sans MT",
            "Myriad Pro",
            "DejaVu Sans Condensed",
            Helvetica,
            Arial,
            sans-serif;
    }

    .direccion strong {
        font-size: 16px;
    }

    .direccion p {
        font-size: 13px;
    }

    .whatsapp_footer {
        right: 50%;

        bottom: 20px;

        transform: translateX(50%);
    }

    .whatsapp_footer:hover {
        transform:
            translateX(50%)
            scale(1.1);
    }

}