@charset "utf-8";
/* CSS Document */

/* ------------------------------
   CONFIGURACIÓN GENERAL
--------------------------------*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #1e1e1e;
    font-family: Arial, Helvetica, sans-serif;
	 margin: 0;
}


/* ------------------------------
   CONTENEDOR PRINCIPAL
--------------------------------*/

.header,
.menu,
.hero {
    width: 100%;
    max-width: none;
    margin: 0;
}



/* ------------------------------
   ENCABEZADO
--------------------------------*/

.header {
    height: 105px;
    background-color: white;

    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-style: bold;
    font-size: 18px;
    color: #111;
}

.contacto_item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #263376;
    text-decoration: none;
	
}

.contacto_item :hover {
    transform: scale(1.02);
	transition: transform 0.3s ease, background-color 0.3s ease;
}

.contacto_item img {
    width: 20px;
    height: auto;
    display: block;
}

.contacto_item img :hover {
    transform: scale(1.1);
	transition: transform 0.3s ease, background-color 0.3s ease;
}


/* ------------------------------
   MENÚ
--------------------------------*/

.menu {
    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: white !important;
	transform: scale(1.1);
}

.calendario {
    font-size: 18px;
    margin-left: 3px;
}

.icono_calendario {
    width: 20px;
    height: 20px;
    margin-left: 5px;
    vertical-align: middle;
    object-fit: contain;
}




/* ------------------------------
   RESPONSIVE
--------------------------------*/

@media (max-width: 900px) {

    .header {
        width: 95%;
    }

    .menu {
        width: 95%;
        gap: 12px;
        padding: 0 20px;
    }

    .menu a {
        font-size: 10px;
    }

    .boton_agenda {
        font-size: 11px !important;
    }

    .hero {
        width: 95%;
    }

}


@media (max-width: 650px) {

    .header {
        height: auto;
        padding: 15px;

        flex-direction: column;
        gap: 15px;
    }

    .contacto_barra {
        gap: 15px;
    }

    .menu {
        height: auto;
        padding: 15px;

        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        height: 300px;
    }

    .texto_hero {
        top: 70px;
    }

}

.sobre_doctora {
    width: 100%;
    min-height: 550px;
	

    background-color: white;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 70px;

    padding: 70px 8%;
}


/* FOTO */

.foto_enfermedad{
    width: 320px;
    position: relative;
    flex-shrink: 0;
}

.foto_enfermedad::after {
    content: "";

    position: absolute;

    left: -15px;
    bottom: -15px;

    width: 215px;
    height: 215px;

    border-left: 2px solid #9edce5;
    border-bottom: 2px solid #9edce5;

    z-index: 0;
}

.foto_enfermedad img {
    width: 110%;
    height: auto;

    display: block;

    position: relative;
    z-index: 1;
	padding-right: 15px;
}


/* INFORMACIÓN */

.info_enfermedad {
    width: 600px;

    color: #222;

    font-family: Arial, Helvetica, sans-serif;
}

.info_enfermedad h2 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 40px;
    font-weight: bold;
    color: #000000;
    margin: 0;
    line-height: 1;
}

.info_enfermedad .subtitulo {
    font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif";
    font-size: 20px;
    font-weight: bold;
    margin: 0px 0 35px 0;
    line-height: 1.2;
	text-align: center;
}

.info_enfermedad p {
    font-family: "IBM Plex Serif", serif;
    font-size: 23px;
    line-height: 1.35;
	text-align: justify;
	margin-top: 25px;
	margin-bottom: 25px;
}

/* =========================================================
   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: Arial, Helvetica, sans-serif;

    font-size: 24px;
    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:
       "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif";

    font-size: 38px;
}

.encabezado_servicios p {
    margin: 10px 0 0;

    color: #555555;

    font-size: 16px;

    line-height: 1.5;
}


/* =========================================================
   GRID DE LAS 4 TARJETAS
========================================================= */

.tarjetas_servicios {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto;

    display: grid;

    /*
       4 columnas iguales
    */
    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 25px;

    align-items: stretch;
}


/* =========================================================
   TARJETAS
========================================================= */

.tarjeta_servicio {
    width: 100%;
    min-width: 0;

    background-color: #ffffff;

    border: 1px solid #dce3e9;

    border-radius: 20px;

    padding: 25px 20px;

    min-height: 450px;

    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;
}


/* =========================================================
   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 {
    width: 100%;
    min-height: 25px;

    background-color: white;

    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-style: bold;
    color: #333;
}

.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);
}