@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto/') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto/Roboto-Thin.ttf') format('truetype');
    /* Asegúrate de que el archivo existe */
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto/Roboto-Light.ttf') format('truetype');
    /* Asegúrate de que el archivo existe */
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto/Roboto-Regular.ttf') format('truetype');
    /* Para el peso normal */
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto/Roboto-Bold.ttf') format('truetype');
    /* Para el peso 600 */
    font-weight: 600;
    font-style: normal;
}

body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: 'Roboto', sans-serif;
}

.font-blue1-rd {
    color: #1A3D62 !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%28255, 255, 255, 1%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.nav-link:hover {
    opacity: 0.8;
}

.banner-content {
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
}

.title-banner {
    font-size: 4rem;
    font-weight: 500;
    color: white
}


.button-info2 {
    background-color: #0088FF !important;
    border-radius: 34px;
    font-size: 1rem;
    color: white;
}

.button-como-funciona {
    background-color: #0088FF !important;
    border-radius: 34px;
    font-size: 1rem;
    color: white;
    box-shadow: 4px 4px 3px rgba(0, 0, 0, .2);
}

.button-como-funciona:hover {
    background-color: #0088ffe4 !important;
    color: rgb(237, 237, 237);
}


#info2 {
    background: url('../img/banner_secundario.jpg') no-repeat center center;
    background-size: cover;
}

.bg-blue-rd {
    background-color: #1A3D62 !important;
}

.bg-blue2-rd {
    background-color: #0088FF !important;
}

.bg-red-rd {
    background-color: #DE0D35 !important;
}

.no-padding {
    padding: 0 !important;
}

.t-light {
    font-weight: 300;
}

.t-medium {
    font-weight: 500;
}

.title {
    font-size: 2rem;
}

.no-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
}

.img-banner {
    display: flex;
    width: 100%;
    align-items: flex-start;
    justify-content: space-between;
    background-image: url(../img/banner_secundario.jpg);
    background-size: cover;
    position: relative;
}

.img-banner img {
    width: auto;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.img-banner3 {
    display: flex;
    width: 100%;
    align-items: flex-start;
    justify-content: space-between;
    background-image: url(../img/banner_expAcademico.jpg);
    background-size: cover;
    position: relative;
    height: 100vh;
}

.img-banner3 img {
    width: auto;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}


.texto-reddoex {
    font-size: 35px;
    color: white;
    font-weight: 500;
    margin-top: 0px;
}

.button-funciona {
    position: absolute;
}

.button-funciona a {
    display: inline-block;
    padding: 13px 25px;
    background-color: #0087FF;
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-size: 1rem;
    transition: background-color 0.3s;
    margin-right: 240px;
    margin-top: -10px;
}


.footer-img {
    width: 80%;
    /* Adjust the percentage as needed */
}



/*--------------PRIMERA PARTE INFO--------------*/
.info1 {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px;
    gap: 20px;
}

.info1 .left-image {
    flex: 1;
    text-align: center;
}

.info1 .left-image img {
    height: auto;
    max-width: 100%;
    margin-top: 0px;
    margin-bottom: 100px;
    margin-right: 100px;

}

.info1 .right-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info1 .right-content p:first-child {
    font-size: 50px;
    font-weight: bold;
    color: black;
    margin-bottom: 20px;
    text-align: left;
}

.info1 .right-content p:nth-child(2),
.info1 .right-content p:nth-child(3) {
    font-size: 20px;
    line-height: 1.3;
    color: #1A3766;
    margin-bottom: 20px;
}

.button-container {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    width: 60%;
    margin-left: 20%;
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
    padding: 17px 25px;
    border-radius: 30px;
    font-size: 16px;
    text-decoration: none;
    cursor: pointer;
    text-align: center;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

.btn-whatsapp:hover {
    background-color: #1eb954;
    text-decoration: none;
}


.video {
    width: 100%;
    /* Ajusta el ancho al 100% del contenedor padre */
    overflow: hidden;
    /* Oculta cualquier parte de la imagen que sobresalga */
    position: relative;
    /* Asegura que la posición sea controlable */
}

#video-bg {
    background: url('../img/bg_lab.jpg') no-repeat center center;
    background-size: cover;
    width: 100%;
    min-height: 100vh;
    display: flex;
}

/*--- permite a la imagen expanderse más allá de su tamaño ---*/
.custom-img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

/*==================================================
    HOSPITAL MANUEL SÁNCHEZ (HSCMS)
==================================================*/
.hscms-hero {
    background: linear-gradient(135deg, rgba(26, 61, 98, 0.92), rgba(222, 13, 53, 0.85)), url('../img/bg_lab.jpg') no-repeat center center;
    background-size: cover;
    padding: 100px 0 80px;
    color: #fff;
}

.hscms-hero .badge-open {
    display: inline-block;
    background-color: #25D366;
    color: #fff;
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: .5px;
    margin-bottom: 18px;
}

.hscms-hero h1 {
    font-weight: 600;
    font-size: 2.6rem;
}

.hscms-hero p.lead {
    font-weight: 300;
    font-size: 1.15rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

.btn-hscms {
    display: inline-block;
    padding: 13px 28px;
    border-radius: 30px;
    font-size: 1rem;
    text-decoration: none;
    box-shadow: 4px 4px 3px rgba(0, 0, 0, .2);
    margin: 6px;
    transition: background-color .3s, color .3s;
}

.btn-hscms-primary {
    background-color: #0088FF;
    color: #fff;
}

.btn-hscms-primary:hover {
    background-color: #0088ffe4;
    color: #f1f1f1;
}

.btn-hscms-outline {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-hscms-outline:hover {
    background-color: #fff;
    color: #1A3D62;
}

.hscms-about p {
    color: #1A3D62;
    font-size: 1.05rem;
    line-height: 1.6;
}

.hscms-service-card {
    background-color: #fff;
    border-radius: 16px;
    padding: 30px 15px;
    text-align: center;
    height: 100%;
    box-shadow: 0 3px 15px rgba(0, 0, 0, .08);
    transition: transform .2s, box-shadow .2s;
}

.hscms-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .12);
}

.hscms-service-card .icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: #E9F4FF;
    color: #0088FF;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.5rem;
}

.hscms-service-card p {
    color: #1A3D62;
    font-weight: 500;
    margin: 0;
    font-size: .95rem;
}

.hscms-urgencias {
    background-color: #DE0D35;
    color: #fff;
    padding: 50px 0;
    text-align: center;
}

.hscms-urgencias h3 {
    font-weight: 600;
}

.hscms-urgencias .tel-link {
    color: #fff;
    font-size: 1.6rem;
    font-weight: 600;
    text-decoration: none;
}

.hscms-urgencias .tel-link:hover {
    text-decoration: underline;
}

.hscms-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    color: #fff;
}

.hscms-contact-list li {
    margin-bottom: 18px;
}

.hscms-contact-list i {
    color: #fff;
    margin-right: 10px;
}

/*==================================================
    NAV MODERNO (sitio completo)
==================================================*/
.nav-link.active-link {
    font-weight: 600;
    position: relative;
}

.nav-link.active-link::after {
    content: "";
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 2px;
    height: 2px;
    background-color: #fff;
    border-radius: 2px;
}

.nav-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, .15);
    transition: background-color .2s;
}

.nav-social:hover {
    background-color: rgba(255, 255, 255, .3);
}

/*==================================================
    FOOTER MODERNO 
==================================================*/

.container-footer {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 15px;
}

.site-footer {
    background-color: #1A3D62;
    color: #fff;
}

.site-footer .footer-title {
    color: #fff;
    font-weight: 600;
    letter-spacing: .5px;
    margin-bottom: 18px;
    text-transform: uppercase;
    font-size: .85rem;
}

.site-footer .footer-links,
.site-footer .footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer .footer-links li {
    margin-bottom: 12px;
}

.site-footer .footer-links a {
    color: #d9e4f0;
    text-decoration: none;
    font-weight: 300;
    transition: color .2s;
}

.site-footer .footer-links a:hover {
    color: #fff;
}

.site-footer .footer-contact li {
    margin-bottom: 14px;
    font-weight: 300;
    color: #d9e4f0;
    font-size: .95rem;
}

.site-footer .footer-contact i {
    color: #0088FF;
    margin-right: 8px;
    width: 16px;
    text-align: center;
}

.site-footer .footer-social {
    margin-top: 18px;
}

.site-footer .footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, .12);
    color: #fff;
    margin-right: 10px;
    transition: background-color .2s, transform .2s;
}

.site-footer .footer-social a:hover {
    background-color: #0088FF;
    transform: translateY(-2px);
}

.site-footer .footer-map iframe {
    width: 100%;
    height: 220px;
    border: 0;
    border-radius: 12px;
}

.site-footer .footer-bottom {
    background-color: #142f4c;
    font-size: .85rem;
}

/*--- lista de pasos con icono (Nuestras app's) ---*/
.step-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.step-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
}

.step-list .step-icon {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, .15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
}