@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.03);
}


/* 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: calc(100vh - 183px);
    position: relative;
    overflow: hidden;
}


/* IMAGEN PRINCIPAL */

.imagen_hero {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;

    display: block;
}


/* ------------------------------
   TEXTO SOBRE LA IMAGEN
--------------------------------*/

.texto_hero {
    position: absolute;

    /* AHORA SALE DESDE LA DERECHA */
    right: 0;
    top: 227px;

    width: 795px;
    height: 272px;

    background-color: #294f7e;

    color: white;

    padding: 15px 25px;

    border-right: 5px solid #b51f1f;
    border-bottom: 5px solid #b51f1f;

    /* Animación */
    transform: translateX(100%);
    opacity: 0;

    animation: entrarCuadro 1s ease-out 0.3s forwards;
}


/* ANIMACIÓN DEL CUADRO */

@keyframes entrarCuadro {

    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }

}

.nombre_doctora{
	font-family:"Times New Roman", serif;

    font-size: 60px;
    font-weight: bolder;
	margin-top: 20px;
    margin-bottom: 5px;
}

/* "ESPECIALISTA" */

.especialista {
    font-family: Georgia, "Times New Roman", serif;
	
    font-size: 30px;
    font-weight: bold;
	margin-top: 30px;
    margin-bottom: 5px;
}


/* NEFROLOGÍA */

.texto_hero h1 {
    font-family: Georgia, "Times New Roman", serif;

    font-size: 60px;
    line-height: 1;

    font-weight: bold;
}


/* ------------------------------
   BOTÓN SOLICITA INFORMES
--------------------------------*/

.boton_informes {
    position: absolute;

    left: 82px;
    bottom: -90px;

    background-color: #b51f1f;

    color: white;

    text-decoration: none;

    font-size: 20px;
    font-weight: bold;

    padding: 12px 22px;

    border-radius: 15px;

    white-space: nowrap;
	
	transition: transform 0.3s ease, background-color 0.3s ease;
}

.boton_informes:hover {
    background-color: #951818;
    transform: scale(1.1);
}




.sobre_doctora {
    width: 100%;
    min-height: 550px;
	

    background-color: white;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 150px;

    padding: 85px 18%;
}


/* FOTO */

.foto_doctora {
    width: 320px;
    position: relative;
    flex-shrink: 0;
}

.foto_doctora::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_doctora img {
    width: 120%;
    height: auto;

    display: block;

    position: relative;
    z-index: 1;
	padding-right: 15px;
}


/* INFORMACIÓN */

.info_doctora {
    width: 600px;

    color: #222;

    font-family: Arial, Helvetica, sans-serif;
}

.info_doctora h2 {
    font-family: "Monsieur La Doulaise", cursive;
    font-size: 58px;
    font-weight: 500;
    color: #000000;
    margin: 0;
    line-height: 1;
}

.info_doctora .subtitulo {
    font-family: Baskerville, 'Palatino Linotype', Palatino, 'Century Schoolbook L', 'Times New Roman', 'serif';
    font-size: 20px;
    font-weight: bold;
    margin: 0px 0 35px 0;
    line-height: 1.2;
	text-align: center;
}

.info_doctora p {
	
	font-family: "IBM Plex Serif", serif;
    font-size: 25px;
    line-height: 1.25;
	text-align: justify;
	margin-top: 30px;
	margin-bottom: 30px;
}


/* CERTIFICACIONES */

.certificaciones {
    display: flex;
    flex-direction: column;
    font-family: "IBM Plex Serif", serif;
    text-align: center;

    margin-top: 55px;
    margin-bottom: 15px;

    font-size: 18px;
}


/* BOTÓN */

.info_doctora .boton_informes {
    position: relative;

    left: auto;
    bottom: auto;

    display: block;

    width: fit-content;

    margin: 0 auto;

    background-color: #d72832;

    color: white;

    padding: 10px 18px;

    border-radius: 14px;

    font-size: 17px;

    text-decoration: none;

    transition: transform 0.3s ease,
                background-color 0.3s ease;
}

.info_doctora .boton_informes:hover {
    background-color: #b51f1f;

    transform: scale(1.1);
}

.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: "IBM Plex Serif", 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);
}


/* ------------------------------
   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;
    }

}