@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;
}

/* ------------------------------
   HERO
--------------------------------*/

.hero {
    width: 100%;
    height: 320px;

    position: relative;

    overflow: hidden;
}


/* IMAGEN DEL HERO */

.imagen_hero {
    width: 100%;
    height: 100%;

    object-fit: cover;

    /* Ajusta qué parte de la imagen se muestra */
    object-position: 70% 38%;
	

    display: block;
}
/* ------------------------------
   SECCIÓN CONTACTO
--------------------------------*/

.contacto {
    width: 100%;
    background-color: white;
    padding-bottom: 25px;
	
}


/* TÍTULO */

.titulo_contacto {
    width: 100%;
    height: 60px;

    background-color: #294f7e;

    display: flex;
    align-items: center;
    justify-content: center;
}

.titulo_contacto h2 {
    color: white;

    font-family: "IBM Plex Serif", serif;

    font-size: 24px;
    font-weight: bold;

    margin: 0;
}


/* CONTENIDO */

.contenido_contacto {
    width: 100%;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 50px;

    padding: 40px 6%;
}


/* INFORMACIÓN */

.informacion_contacto {
    width: 280px;

    flex-shrink: 0;

    display: flex;

    flex-direction: column;

    gap: 35px;
}

/* CADA DATO */

.contacto_dato {
    display: flex;
    align-items: center;

    gap: 18px;
}


/* ICONOS */

.contacto_dato img {
    width: 30px;
    height: 30px;

    object-fit: contain;

    flex-shrink: 0;
}


/* TEXTO */

.contacto_dato p {
    margin: 0;

    color: #111;

    font-family: "IBM Plex Serif", serif;;

    font-size: 16px;

    line-height: 1.35;
}


/* =========================================================
   MAPA + FOTOGRAFÍA
========================================================= */

.mapa_foto {
    display: flex;

    align-items: stretch;

    gap: 20px;

    width: 100%;

    max-width: 900px;

    height: 500px;
}


/* MAPA */

.mapa_contacto {
    width: 50%;

    height: 500px;

    overflow: hidden;

    border-radius: 15px;
}

.mapa_contacto iframe {
    width: 100%;

    height: 100%;

    border: 0;

    display: block;
}


/* FOTOGRAFÍA */

.foto_contacto {
    width: 50%;

    height: 500px;

    overflow: hidden;

    border-radius: 15px;
}

.foto_contacto img {
    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;
}



/* BOTÓN */

.boton_contacto {
    width: 100%;

    display: flex;
    justify-content: center;

    margin-top: 0;
}

.boton_contacto a {
    background-color: #d72832;

    color: white;

    text-decoration: none;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 14px;
    font-weight: bold;

    padding: 10px 18px;

    border-radius: 10px;

    transition:
        transform 0.3s ease,
        background-color 0.3s ease;
}

.boton_contacto a:hover {
    background-color: #b51f1f;

    transform: scale(1.05);
}


/* ------------------------------
   RESPONSIVE
--------------------------------*/

@media (max-width: 700px) {

    .contenido_contacto {
        flex-direction: column;

        gap: 30px;

        padding: 30px 20px;
    }

    .informacion_contacto {
        width: 100%;

        max-width: 390px;
    }


    /* MAPA Y FOTO UNO DEBAJO DEL OTRO */

    .mapa_foto {
        width: 100%;

        height: auto;

        flex-direction: column;

        gap: 20px;
    }

    .mapa_contacto,
    .foto_contacto {
        width: 100%;

        height: 280px;
    }

}


@media (max-width: 450px) {

    .titulo_contacto {
        height: 55px;
    }

    .titulo_contacto h2 {
        font-size: 22px;
    }

    .contacto_dato p {
        font-size: 14px;
    }

    .contacto_dato img {
        width: 27px;
        height: 27px;
    }

    .mapa_contacto {
        height: 220px;
    }

}

@media (max-width: 1000px) {

    .contenido_contacto {
        flex-direction: column;

        gap: 35px;

        padding: 35px 5%;
    }

    .informacion_contacto {
        width: 100%;

        max-width: 600px;
    }

    .mapa_foto {
        width: 100%;

        max-width: 800px;

        height: 400px;
    }

    .mapa_contacto,
    .foto_contacto {
        height: 400px;
    }

}
/* ------------------------------
   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: 1300px) {

    .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;
    }

}

.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);
}