/*HOJA DE ESTILOS SITIO HEALTHRANS*/

/*GENERALES*/
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');

/*GENERALES*/
.ligt-sub {
    font-weight: 300;
}

h4 {
    margin-top: 160px;
    padding: 0 30px 10px 20px;
    color: #070D41;
    font-family: "Raleway", sans-serif;
    font-weight: normal;
    font-size: 60px;
    line-height: 1
}

.bold-title {
    font-weight: bold;
}

h2 {
    font-family: "Raleway", sans-serif;
    font-size: 40px;
    font-weight: bold;
    color: #070D41;

    text-align: center;
}

h1,
h3 {
    font-family: "Raleway", sans-serif;
    padding: 0 30px 10px 10px;
    color: #070D41;
    font-weight: normal;
    font-size: 50px;
    line-height: 1
}



/*BODY*/
body {
    background: linear-gradient(180deg,
            #FFCDD9 0%,
            #FFE0E8 20%,
            #FFF0F5 45%,
            #FDFEFF 60%,
            #C3F1FE 78%,
            #78E4FE 92%,
            #00D4FC 100%);
}


/*NAV BAR*/
.navbar-brand img {
    width: 100%;
    padding: 0;
}

.navbar-toggler {
    border-color: white;
}

.mi-navbar {
    padding: 5px;
    background-color: #5CD0FA !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .1) !important;
}

/* Enlaces */
.mi-navbar .nav-link {
    color: #ffffff !important;
    font-weight: 400;
    margin: 0 10px;
    transition: all .3s ease;
}

/* Hover */
.mi-navbar .nav-link:hover {
    color: #070D41 !important;
}

.navbar-nav .nav-link {
    font-size: 20px;
}

html {
    scroll-behavior: smooth;
}

section {
    scroll-margin-top: 90px;
}



/*HEADER*/

.mosaico-servicios img {
    width: 100%;
    margin-top: 160px;
    border-radius: 25px;
}



.texto-conocenos p {
    color: #070D41;
    font-size: 16px;
    font-family: "DM Sans", sans-serif;
    padding: 0 50px 0 30px;
    line-height: 1.4
}



/*SERVICIOS*/
.servicios-section {
    padding: 50px 0;
    margin-top: 40px;
}



.contenedor-servicios {
    width: 100%;
}

.carousel-wrapper {
    position: relative;
    overflow: hidden;
}

.btn-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;

    width: 40px;
    height: 40px;

    border: none;
    border-radius: 50%;

    background: white;
    color: #070D41;
    font-size: 24px;
    cursor: pointer;

}

.btn-nav:hover {
    background-color: #070D41;
    color: white;
}

.carousel-track {
    display: flex;
    gap: 20px;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.card-servicio {
    background-color: #5CD0FA;
    flex: 0 0 calc(40% - 15px);

    min-height: 450px;
    padding: 50px 37px 30px 37px;

    border-radius: 25px;

    display: flex;
    justify-content: center;
    align-items: start;

    font-size: 1.2rem;
    font-weight: 600;
}



.card-body {
    justify-content: center;
    font-family: "DM Sans", sans-serif;

    font-size: 14px;
    font-weight: normal;
    color: #070D41;
    line-height: 1.4
}

.pleca-verde {
    background-color: #B8E903;
    font-family: "DM Sans", sans-serif;

    font-size: 22px;
    font-weight: bold;
    color: #070D41;
    text-align: center;

    margin: 20px 0 10px 0;
    border-radius: 25px;
}

.duracion {
    font-family: "DM Sans", sans-serif;
    font-weight: normal;
    text-align: center;
    font-size: 16px;
}

.card-text {
    padding: 15px 20px;
    font-size: 16px;
    font-weight: 400;
}

.costos-texto {
    font-size: 16px;
    padding: 15px 0;
    margin: 0 10px;
}

.footer-card {
    text-align: center;
    font-size: 16px;
    padding: 10px;
    margin-top: 30px;
    color: #070D41;
    border-radius: 25px;
    border: solid 1px;
    border-color: #070D41;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}



/*EQUIPO*/

h5 {
    font-family: "DM Sans", sans-serif;
    font-size: 22px;
}



.imagen-equipo {
    border-radius: 25px;
    width: 100%;
}

.titulo-equipo {
    padding: 0 10px 0 0;
}

.quienes-te-atendemos {
    padding-left: 30px;
}

.intro-equipo {
    padding: 0 20px 0 0;
    font-family: "DM Sans", sans-serif;
    font-size: 18px;
    color: #070D41;
    line-height: 1.4
}

.gy-5 {
    --bs-gutter-y: 150px;
}

.flip-card {
    height: 500px;
    perspective: 1000px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: .9s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 125%;
    backface-visibility: hidden;
    border-radius: 15px;
    overflow: hidden;
}

.flip-card-front {
    background: #F46E8E;
}

.flip-card-front img {
    width: 100%;
    height: 468px;
    object-fit: cover;
    object-position: top;
}

.flip-card-front h5 {
    margin: 0;
    padding: 35px 10px 0 10px;
    text-align: center;
    font-family: 'raleway';
    font-size: 27px;
    font-weight: bold;
    color: #070D41;
}

.flip-card-front p {
    padding: 0 10px 0 10px;
    text-align: center;
    font-family: 'raleway';
    font-size: 22px;
    font-weight: normal;
    color: #070D41;
}

.flip-card-back {
    background: #5CD0FA;
    color: #070D41;
    transform: rotateY(180deg);

    display: flex;
    flex-direction: column;
    justify-content: left;

    text-align: left;
    padding: 25px 30px;

    font-size: 17px;
    line-height: 1.2
}

.ubicacion-servicio {
    text-align: left;
    font-weight: 500;
    font-size: 17px;
    border-radius: 25px;
    padding: 5px 15px;
    background-color: #B8E903;
}


/*EXPERIENCIAS*/
.experiencias {
    margin-top: 120px;
    margin-left: 30px;
    margin-right: 30px;
}

h6 {

    font-family: "Raleway", sans-serif;
    padding: 30px 30px 0 0;
    color: #070D41;

    font-weight: bold;
    font-size: 45px;
    line-height: 1;
}

.experiencias-px {
    padding: 10px 25px;

    border: 3px solid #070D41;
    border-radius: 25px;
    height: 100%;
    margin-top: 20px;
}

.experiencia-text {
    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    font-weight: normal;
    color: #070D41;
}

.nombre-px {
    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    font-weight: bold;
    color: #070D41;
}

.experiencia-text.collapsed {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    /* número de líneas visibles */
    -webkit-box-orient: vertical;
    overflow: hidden;

}

.experiencia-text {
    line-height: 1.6;
}

.btn-leer-mas {

    padding: 3px 20px;
    margin-top: 3px;
    margin-bottom: 3px;
    cursor: pointer;
    font-weight: 600;
    color: #070D41;
    background-color: #B8E903;
    border: 0px;
    border-radius: 25px;
}

.btn-leer-mas.oculto {
    display: none;
}



/*UBICACIONES*/

.ubicaciones {
    margin: 60px 0;
}

.call-to-action {
    font-family: "DM Sans", sans-serif;
    font-size: 16px;

    padding: 5px 10px;
    border-radius: 25px;
    background-color: #B8E903;
    margin-bottom: 30px;


}

.contenedor-ubi p {
    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    color: #070D41;
    padding-top: 10px;

}

.contenedor-ubi {
    margin: 10px 0 0 0;
    padding: 15px 40px;

}


.fila-ubicaciones img {
    width: 100%;
    border-radius: 25px;
}

.decoration-none {
    text-decoration: none;
}

/*CONTACTO*/

.contacto {
    margin-bottom: 60px;
}

.info-contacto {
    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    color: #070D41;
    line-height: 1.2;
    margin-top: 10px;
    text-align: center;

}


.whats-hover,
.insta-hover,
.tiktok-hover {
    display: block;
    margin: 0 auto;
}

.whats-hover:hover {
    content: url('../img/whatsapp-hover.png');

}

.insta-hover:hover {
    content: url('../img/instagram-hover.png');
}

.tiktok-hover:hover {
    content: url('../img/tiktok-hover.png');
}


/*FOOTER*/
footer {
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    color: white;

    background-color: #F46E8E;
    padding: 60px 100px;
    line-height: 1.2;
}



/*MEDIA QUERIES*/
@media(max-width: 1200px) {
    h3 {
        padding: 0 10px 5px 10px;
    }

    .texto-conocenos p {
        padding: 0px 20px 0 20px;
    }

    .flip-card-front h5 {
        margin-top: 20px;
    }

    .card-servicio {
        flex: 0 0 calc(40% - 15px);
    }

    .flip-card-inner {
        height: 115%;
    }

    .flip-card-front,
    .flip-card-back {
        height: 128%;
    }

    .flip-card-front img {

        height: 510px;
    }

    .experiencias {
        margin-top: 240px;
    }

    .gy-5 {
        --bs-gutter-y: 260px;
    }
}

@media(max-width: 1199.98px) {

    .mosaico-servicios img {
        width: 80%;
        margin-top: 160px;
        border-radius: 25px;
        justify-content: center;
        align-items: center
    }

    h4 {
        margin-top: 30px;
        font-size: 80px;
        padding: 0 120px 10px 120px;
    }

    .texto-conocenos p {
        padding: 0 120px 0 120px;
    }

    .flip-card-back {
        padding: 45px 55px;
    }
}


@media(max-width: 992px) {
    .card-servicio {
        flex: 0 0 calc(50% - 15px);
    }
}


@media (min-width: 992px) {
    .flip-card:hover .flip-card-inner {
        transform: rotateY(180deg);
    }
}

@media (max-width: 991.98px) {

    .flip-card:hover .flip-card-inner {
        transform: none;
    }

    .flip-card.active .flip-card-inner {
        transform: rotateY(180deg);
    }

    .titulo-equipo {
        padding: 20px 0 0 10px;
    }

    .intro-equipo {
        padding: 0 0 0 10px
    }

    .flip-card-back {
        padding: 30px 40px;
    }

}

@media(max-width: 768px) {
    .mosaico-servicios img {
        width: 90%;
        margin-top: 140px;
        border-radius: 25px;
        justify-content: center;
        align-items: center
    }

    h4 {
        margin-top: 30px;
        font-size: 80px;
        padding: 0 40px 10px 40px;
    }

    .texto-conocenos p {
        padding: 0 40px 0 40px;
    }

    .card-servicio {
        flex: 0 0 calc(65% - 15px);
    }

    .gy-5 {
        --bs-gutter-y: 215px;
    }


    .flip-card-front,
    .flip-card-back {
        height: 120%;

    }

    .flip-card-front h5 {
        margin: 0;
        padding: 20px 10px 0 10px;
    }

    .flip-card-back {
        padding: 20px 20px;
    }

    .experiencia-text.collapsed {
        -webkit-line-clamp: 5;
        line-clamp: 4;
    }
}



@media (max-width: 767.98px) {

    .costos-texto {
        text-align: center;
    }

    .equipo .row.gy-5 {
        justify-content: center;
    }

    .flip-card-inner {

        width: 100%;
    }

    .cartas {
        width: 70%;
    }

    .flip-card-front img {
        width: 100%;
        height: 540px;
    }

    .flip-card-front h5 {
        margin: 0;
        padding: 20px 10px 0 10px;
    }

    .flip-card-back {
        padding: 45px 45px;
    }

}

@media(max-width: 576px) {

    .navbar-brand {
        width: 100px;
        padding: 0;
    }

    h4 {
        padding: 0 20px 10px 20px;
    }

    .texto-conocenos p {
        padding: 0 20px 10px 20px;
    }

    .mosaico-servicios img {
        margin-top: 100px;
        width: 92%;
    }

    .servicios-section {
        margin-top: 20px;
    }


    .card-servicio {
        flex: 0 0 calc(100% - 15px);
    }

    .duracion {
        font-size: 15px;
    }

    .card-text {
        padding: 15px 6px 15px 20px;
    }

    h4 {
        font-size: 55px;
    }

    h1,
    h3 {
        font-size: 45px;
        padding: 0 0 10px 10px;
    }

    .btn-nav {
        width: 30px;
        height: 30px;
        font-size: 19px;
    }

    .quienes-te-atendemos {
        padding-left: 15px;
    }

    .intro-equipo {
        font-size: 16px;
        line-height: 1.2;
    }

    .cartas {
        width: 95%;
    }

    .flip-card-back {
        padding: 30px 22px;
    }

    footer {
        padding: 60px 30px;
    }

}