@font-face {
    font-family: 'Alwyn New';
    src: url('alwyn_new.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'Alwyn New', sans-serif !important;
}


.bg-light {
    background-color: #e6ebf5 !important;
}

.text-gris {
    color: #4b4f54 !important;
}

.text-azul {
    color: #8d9bb4 !important;
}

.nav-link {
    color: #4b4f54 !important;
    font-weight: 600 !important;
    text-decoration: none;
    text-transform: uppercase;
    text-align: center !important;
}


.nav-link:hover {
    color: #faabb0 !important;
    font-weight: 600 !important;
    text-decoration: none;
    text-align: center !important;
    text-transform: uppercase;
}

h2 {
    color: #4b4f54 !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    font-size: 3em !important;
}

p {
    color: #4b4f54 !important;
    font-weight: 400 !important;
    font-size: 1.2em !important;
}

.btn-doctor-tab {
    background: linear-gradient(to bottom, #8d9bb4, #6c7890) !important;
    /* volumen */
    border-radius: 25px !important;
    color: #fff !important;
    text-decoration: none;
    margin: 10px;
    border: 2px solid #b5bfd4 !important;
    /* borde claro, visible */
    padding: 20px 20px;
    font-weight: bold;
    height: 54px;
    cursor: pointer;
    transition:
        background-color 0.3s ease,
        box-shadow 0.2s ease,
        transform 0.1s ease;
    box-shadow:
        0 8px 15px rgba(0, 0, 0, 0.6),
        /* sombra más marcada */
        inset 0 -2px 4px rgba(255, 255, 255, 0.2);
    /* luz interna suave */
}

.btn-conocemas {
    background: linear-gradient(to bottom, #faabb0, #f78c95) !important;
    border-radius: 25px !important;
    color: #fff !important;
    text-decoration: none;
    padding: 16px 24px;
    font-weight: bold;
    font-size: 14pt;
    cursor: pointer;
}



.btn-doctor-tab:hover,
.btn-doctor-tab:active,
.btn-doctor-tab.active {
    background: linear-gradient(to bottom, #faabb0, #f78c95) !important;
}

@media (max-width: 991.98px) {
    .btn-doctor-tab {
        font-size: 13px;
        /* texto más chico */
        padding: 12px 16px;
        /* menos relleno */
        height: auto;
        /* permite crecer si el texto salta */
        white-space: normal;
        /* permite saltos de línea */
        text-align: center;
        /* centra el texto */
    }
}

.btn-doctor-tab {
    min-width: 160px;
}

@media (max-width: 991.98px) {
    .btn-doctor-tab {
        font-size: 13px;
        padding: 12px 16px;
        white-space: normal;
        /* permite salto de línea */
        text-align: center;
        height: auto;
        width: 100%;
        /* para que el botón ocupe todo el ancho de la columna */
    }
}


.afooter {
    color: #fff;
    text-decoration: none !important;
    list-style: none;
}

.afooter:hover {
    color: #faabb0;
    text-decoration: none !important;
    list-style: none;
}

.afooter i {
    color: #fff;
    text-decoration: none !important;
    list-style: none;
}

.afooter:hover i {
    color: #faabb0;
    text-decoration: none !important;
    list-style: none;
}

.img-doctor-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.img-doctor-container img {
    max-width: 500px;
    height: 500px;
    max-height: 500px;
    width: 500px;
}

@media (min-width: 768px) {
    .img-doctor-container img {
        max-width: 400px;
        max-height: 400px;
    }

}



/* Al hacer clic se "hunde" */
.btn-doctor-tab:active {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    transform: translateY(2px);
    /* efecto de hundimiento */
}

.btn-servicio-tab {
    background-color: #fff !important;
    border-radius: 25px !important;
    color: #4b4f54 !important;
    text-decoration: none;
    margin: 10px;
    border: none !important;
    padding: 20px 20px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    height: 54px;
    text-align: center;
}

.btn-servicio-tabs.active,
.btn-servicio-tab:hover {
    background-color: #fff !important;
}

section {
    margin: 24px 0;
}

.nav-tabs {
    border: none !important;
}

.overlay-servicios {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(230, 235, 245, 0.85);
    /* color e6ebf5 con opacidad */
    z-index: 10;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.overlay-text {
    font-size: 1.5rem;
    color: #333;
    padding: 20px;
}

.tab-servicio-1 {
    background-color: #e6ebf5 !important;
    padding: 0 !important;
    margin: 0 !important;
}

.tab-servicio-2 {
    background-color: #faabb0 !important;
    color: #fff !important;

}

.tab-servicio-3 {
    background-color: #8d9bb4 !important;
    color: #fff !important;

}

.tab-servicio-4 {
    background-color: #504c54 !important;
    color: #fff !important;

}

.card-testimonio {
    background-image: url('../img/GloboRosa.webp');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    padding: 30px 60px;
    color: #fff;
    border-radius: 12px;
    min-height: 300px;
    max-height: 300px;
    margin-bottom: 20px;
    text-align: center;
}

@media (max-width: 768px) {
    .card-testimonio {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 0px 5px 0px 0px;
        text-align: center;
        min-height: auto;
        /* para que no corte el contenido */
        max-height: none;
        /* evita limitar la altura */
        background-size: contain;
    }

    .card-testimonio p {
        margin-bottom: 10px;
        font-size: 14pt;
        word-wrap: break-word;
        /* asegura que las palabras largas se partan */
    }

    .card-testimonio h3 {
        margin-top: -20px !important;
    }

    .btn-doctor-tab {
        height: auto !important;
        /* permite que el botón crezca si es necesario */
        min-height: 70px;
        /* mínimo alto para conservar diseño */
        padding: 12px 16px;
        font-size: 13px;
        white-space: normal;
        /* permite salto de línea */
        text-align: center;
        width: 100%;
        /* ocupa todo el ancho */
    }
}


.conoce-mas {
    color: #504c54;
    font-weight: 600;
}

.triangulo {
    display: inline-block;
    width: 0;
    height: 0;
    margin-right: 6px;
    vertical-align: middle;
    border-top: 16px solid transparent;
    border-bottom: 16px solid transparent;
    border-right: 24px solid #faabb0;
}


.triangulo-qa {
    display: inline-block;
    width: 0;
    height: 0;
    margin-right: 6px;
    vertical-align: middle;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 18px solid #faabb0;
    display: none;
}




.list-conoce-mas {
    list-style: none;
}

.item-conoce-mas {
    text-decoration: none;
    color: #4b4f54;
    line-height: 3;
    font-size: 18pt;

}

.item-conoce-mas:hover {
    color: #faabb0;

}

.bg-conoce-mas {
    background-color: #e6ebf5 !important;
}

.testimonio-text {
    font-size: 10pt !important;
    color: #fff !important;
    font-weight: 400 !important;
}

.text-white {
    color: #fff !important;
}



.img-servcio {
    width: 100% !important;
    /* Ancho del 100% del contenedor */
    height: 300px !important;
    /* Altura fija */
    object-fit: contain !important;
    /* Mantiene la relación de aspecto sin deformarse */
}

.col-servicio {
    padding: 24px 24px !important;
}


.qa {
    background-color: #e6ebf5 !important;
    padding: 50px;
    height: 220vh;
}


@media (max-width: 768px) {
    .qa {
        padding: 10px !important;
        height: auto !important;
    }

}

.qa-title {
    font-size: 8rem !important;
    /* Ajusta el tamaño según tus necesidades */
    text-align: center;
    /* Centra el texto horizontalmente */
    display: flex;
    /* Usa flexbox para centrar el texto verticalmente */
    justify-content: center;
    /* Centra horizontalmente */
    align-items: center;
    /* Centra verticalmente */
    height: 100%;
    /* Asegúrate de que ocupe todo el espacio disponible */
    margin: 0;
    /* Elimina cualquier margen extra */
    color: #8d9bb4 !important;
}



.qa-list {
    list-style: none;
}

.qa-item {
    text-decoration: none;
    color: #8d9bb4;
    cursor: pointer;
    font-size: 18pt;
    font-weight: 600;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .qa-item {
        text-decoration: none;
        color: #8d9bb4;
        cursor: pointer;
        font-size: 14pt;
        font-weight: 600;
        margin-bottom: 30px;
    }
}


.qa-subitem {
    text-decoration: none;
    color: #8d9bb4 !important;
    font-size: 12pt;
    font-weight: 400;
}

footer {
    background-image: url('../img/Footer.png');
    padding: 300px 30px 30px 30px;

}

.hrgerania {
    border: none;
    height: 10px;
    background-color: #e6ebf5 !important;
    margin: 50px 0;
}

.suscribete {
    background-color: #e6ebf5 !important;
    padding: 30px;
    border-radius: 12px;
    max-width: 800px;
    margin: 0 auto;
    margin-top: 50px;
    position: relative;
    z-index: 10;
    transform: translateY(50px);
    /* se "baja" visualmente hacia el footer */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}



footer {
    position: relative;
    z-index: 1;
    background-color: #1a1a1a;
    /* o el que tengas */
    padding-top: 100px;
    /* da espacio para que el bloque se meta dentro */
}

.btn-enviar {
    white-space: nowrap;
    background-color: #faabb0 !important;
    color: #fff !important;
    border: none;
}

.btn-enviar:hover {
    background-color: #f78e91 !important;
}

.form-group input {
    flex-grow: 1;
    height: 60px;
}

.title-suscribete {
    color: #8d9bb4 !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    font-size: 2em !important;
}

.conoce-mas-wrapper {
    height: 100%;
    /* Esto puede necesitar un ajuste si no se ve bien */
    min-height: 400px;
    /* Asegura que haya altura visible para centrar */
}

.conoce-mas {
    font-size: 4rem !important;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    color: #4b4f54 !important;
    width: 100%;
    height: 100%;
}

.bg-conoce-mas {
    height: 80vh;
    padding-top: 100px;
}

@media (max-width: 768px) {
    footer .row>div {
        text-align: center;
        margin-bottom: 1rem;
    }

    footer iframe {
        width: 250px !important;
        height: 250px !important;
    }


    .conoce-mas {
        font-size: 2rem !important;
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0;
        color: #4b4f54 !important;
        width: 100%;
        height: 50%;
    }

    .bg-conoce-mas {
        height: auto;
        padding-top: 30px;
        padding-bottom: 100px;
    }

    .conoce-mas-wrapper {
        height: auto;
        min-height: auto;
        padding: 30px 0px;
    }

}

@media (max-width: 768px) {
    #tabs-doctores>div:last-child {
        width: 100%;
        text-align: center;
    }

    #tabs-doctores>div:last-child .btn {
        display: inline-block;
    }
}


.footer a {
    color: #fff !important;
    text-decoration: none;
}


.un-click {
    color: #4b4f54 !important;
    font-size: 3em !important;
    font-weight: 600 !important;
    text-transform: uppercase;
}


#splash.fade-out {
    opacity: 0;
    pointer-events: none;
}

#main-content {
    display: none;
}

#splash.fade-out+#main-content {
    display: block;
}


#splash {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 1s ease;
}

#splash img {
    max-width: 80%;
    height: auto;
}

.cero {
    padding: 0 !important;
    margin: 0 !important;
}

.modal-backdrop.show {
    opacity: 0 !important;
}

/* Fondo del contenido del modal completamente transparente */
.modal-content {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* Opcional: oculta el fondo blanco del modal body si tienes más elementos ahí */
.modal-body,
.modal-header {
    background-color: transparent !important;
}

/* También podrías quitar los márgenes si quieres que sea más limpio visualmente */
.modal-dialog {
    margin-top: 0 !important;
}

.parrafo {
    text-align: justify;
    /* Por defecto (para escritorio) */
}

.cm50 {
    margin-top: 50%;
}

.cm30 {
    margin-top: 30%;
}

.cm20 {
    margin-top: 20%;
}

.cm10 {
    margin-top: 10%;
}

.imgbebe {
    width: 100%;
    max-width: 600px;
    height: auto;
}

@media (min-width: 768px) {
    .imgbebe {
        width: 600px;
        height: 600px;
    }
}


.btn-servicio-tab {
    font-size: 16pt !important;
}

.contenedor-servicios-fullwith {
    padding-bottom: 50px;

}

.hiddedesktop {
    display: none;
}

.hiddemovil {
    display: block;
}

/* En móviles: justificado */
@media (max-width: 768px) {
    .parrafo {
        text-align: justify;
    }

    .cm50 {
        margin-top: 10%;
    }

    .btn-servicio-tab {
        padding-bottom: 0px !important;
        margin-bottom: 0px !important;
    }

    .hiddedesktop {
        display: block;
    }

    .hiddemovil {
        display: none;
    }


}

@media (max-width: 768px) {
    .list-conoce-mas li {
        margin-bottom: 30px;
        /* Espacio entre ítems */
    }

    .btn-servicio-tab {
        font-size: 14pt !important;
    }

    .item-conoce-mas {
        line-height: normal;
        /* Mantiene la altura de línea sin separaciones excesivas */
        display: inline;
        /* o block si lo necesitas así, según tu estilo */
    }

    .navbar-brand {
        text-align: center !important;
    }


}


.returnnosotros {
    cursor: pointer;
}

@media (max-width: 1024px) {
    .card-testimonio {
        padding: 30px 30px !important;
    }

    .suscribete {
        margin-top: 80px;
    }
}


.navbar-nav li:nth-last-child(2) .nav-link {
    background-color: #8d9bb4;
    color: #ffffff !important;
    border-radius: 10px;
    /* opcional para darle forma */
    padding: 8px 16px;
    /* mejora visual */
}