:root {
    --bg-color: #f4f9fa;
    --bg-primary: #4F378D;
    --bg-secondary: #EF5292;
    --bg-header-card: #D5CBE4;
    --bg-body-card: #F1EDF6;

    --text-color-primary: #4F378D;
    --text-color-secondary: #EF5292;
    --text-color-white: #FFF;
    --text-color-verde-claro: rgb(0, 133, 141);

    --padding-x: 0 8%;

}

/* Generales  */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
    font-family: "Poppins", sans-serif;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

.bg-orange {
    background: #FBB03F;
}

.bg-purple {
    background: #4F378D;
}

.bg-blue {
    background: #22BCAC;
}

.bg-pink {
    background: #EF5292;
}

.icon-box-140px {
    width: auto !important;
    height: 140px !important;
}

.p-0-10 {
    padding: 0 10% !important;
}

body {
    background: var(--bg-color);
}

.padding-x {
    padding: 0 8%;
}

/* menu  */

header {
    background: var(--bg-color);
    position: fixed;
    width: 100%;
    top: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all .50s ease;
}

.logo {
    font-size: 1.5rem;
    color: var(--text-color-primary);
}

.navlist {
    display: flex;
}

.navlist a {
    display: inline-block;
    margin: 0 35px;
    color: var(--text-color-primary);
    font-size: var(--p-font);
    transition: all .6s ease;
}

.navlist a:hover {
    transform: scale(1.1);
}

#menu-icon {
    position: relative;
    font-size: 32px;
    z-index: 9999;
    color: var(--bg-primary);
    cursor: pointer;
    margin-left: 25px;
    display: none;
}

/* menu  */

/* hero  */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    background:
        linear-gradient(to right, rgba(255, 255, 255, 0.95) 10%, rgba(255, 255, 255, 0.6) 60%, rgba(255, 255, 255, 0) 90%),
        url('../images/LNH-home.webp');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    transition: all .6s ease;
}

.hero-servicio {
    position: relative;
    width: 100%;
    height: 100vh;
    background: url(../images/WebL&HServicios-01.webp);
    background-size: cover;
    background-position: 100% 10vh;
    display: flex;
    align-items: center;
    transition: all .6s ease;
}

.hero-nosotros {
    position: relative;
    width: 100%;
    height: 100vh;
    background:
        linear-gradient(to right, rgba(255, 255, 255, 0.95) 10%, rgba(255, 255, 255, 0.6) 60%, rgba(255, 255, 255, 0) 90%),
        url('../images/hero-nosotros.webp');
    background-size: cover;
    background-position: 70% center;
    display: flex;
    align-items: center;
    transition: all .6s ease;
}

.hero-crimpacto {
    position: relative;
    width: 100%;
    height: 100vh;
    background:
        linear-gradient(to right, rgba(255, 255, 255, 0.3) 10%, rgba(255, 255, 255, 0.6) 20%, rgba(255, 255, 255, 0) 85%),
        url('../images/circ-impac-hero.webp');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    transition: all .6s ease;
}

.hero-blog {
    position: relative;
    width: 100%;
    height: 100vh;
    background: url(../images/blog-hero.webp);
    background-size: cover;
    background-position: 100% 10vh;
    display: flex;
    align-items: center;
    transition: all .6s ease;
}

/* .hero-nosotros {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background:
        linear-gradient(to right, rgba(255, 255, 255, 0.95) 30%, rgba(255, 255, 255, 0.6) 60%, rgba(255, 255, 255, 0) 90%),
        url('../images/hero-nosotros.webp');
    background-size: cover;
    background-position: 70% center;
    padding: 50px;
} */

.hero-text {
    color: var(--text-color-primary);
}

.hero-text img {
    width: 250px;
}

.hero-title {
    margin: 95px 0;
}

.hero-title span {
    font-size: 2.3rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.hero-title span~span {
    font-size: 3.7rem;
    font-weight: 900;
    letter-spacing: 1px;
}

.btn-hero {
    position: absolute;
    top: 87%;
    right: 7%;
    transform: translateY(-50%);
}

.btn-hero-serv {
    position: absolute;
    top: 75%;
    left: 8%;
    transform: translateY(-50%);
}

.btn-hero a {
    display: inline-block;
    padding: 13px 32px;
    background: var(--bg-secondary);
    border: 2px solid transparent;
    border-radius: 999px;
    color: var(--text-color-white);
    font-size: 15px;
    font-weight: 500;
    transition: all .6s ease;
    margin-right: 20px;
}

.btn-hero a:hover {
    transform: translateY(-5px);
}

/* hero  */

/* banner  */
.bannert-text-simple {
    /* display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin: 12% 5%;
    flex-wrap: wrap;
    color: var(--bg-primary); */
    display: flex;
    margin: 12% 15%;
    color: var(--bg-primary);
}

.ico-lnh {
    font-size: 130px;
    font-weight: bold;
    margin-bottom: 15px;
    margin: auto 5%;
}

.bannert-text-simple h1 {
    font-size: 2.5rem;
}

.banner-doble {
    width: 100%;
    height: 85vh;
    display: flex;
    align-items: stretch;
    background: #EFEEE8;
    overflow: hidden;
    /* Asegura que nada se desborde */
}

.banner-doble .clip-content {
    background: #C4E9E9;
    font-size: 25px;
    padding: 10% 10% 10% 5%;
    width: 60%;
    height: 100%;
    clip-path: polygon(0 0, 100% 0, 78% 100%, 0% 100%);
    z-index: 2;
    position: relative;
    color: var(--bg-primary);
}

.tratamiento-pregunta .clip-content {
    font-size: 35px;
    padding: 10% 10% 10% 5%;
}

.banner-doble .img-banner-doble {
    width: 40%;
    /* o el valor que necesites */
    height: auto;
    /* que se ajuste proporcionalmente */
    /* background-image: url(../images/team-photo1.webp);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain; <- Aquí está la clave */
    /* transform: scaleX(-1); */
    /* z-index: 1; */
    /* position: relative; */
    /* aspect-ratio: 3 / 2; opcional para mantener una proporción consistente */
}

.banner-doble .img-banner-doble img {
    width: 100%;
}

/* banner  */

/* divisor  */
.divisores {
    display: flex;
    width: 100%;
    height: 16px;
}

.caja {
    flex: 1;
}

.c-uno {
    background: #652D91;
}

.c-dos {
    background: #F05978;
}

.c-tres {
    background: #FBB03F;
}

.c-cuatro {
    background: #22BCAC;
}

/* divisor  */

/* servicios  */
.servicio {
    width: 100%;
    color: var(--text-color-primary);
}

.servicio h1 {
    text-align: center;
    padding: 5% 0;
    font-size: 35px;
}


.content-row {
    border-bottom: solid 4px var(--bg-primary);
    width: 100%;
    /* height: 50vh; */
    display: flex;
}

.content-row .item-content {
    flex: 1;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding-bottom: 2%;
}

.item-content img {
    width: auto;
    height: 160px;
    object-fit: fit;
    margin-bottom: 35px;
}

.item-content p {
    font-size: 25px;
    padding: 0 15%;
    font-weight: bold;
}

.servicio .descripcion {
    color: var(--bg-primary);
    text-align: center;
    padding: 3% 15%;
    font-size: 20px;
    margin: 5% 0;
}

.informacion {
    text-align: center;
    margin: 5% 0;
}

.informacion a {
    width: 280px;
    background: var(--bg-secondary);
    color: var(--text-color-white);
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 999px;
    margin: 5% 0;
    /* esto hace el efecto de cápsula */
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.btn-servicio {
    margin: 10%;
    background-color: #22BCAC;
    color: var(--text-color-white);
    border-radius: 999px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    padding: 5%;
}



/* servicios  */

/* mision  */
.mision {
    width: 100%;
    height: 85vh;
    background-image: url(../images/L&H-HOME-03.jpg);
    background-size: cover;
    background-position: top;
}

.asesoramiento {
    width: 100%;
    height: 85vh;
    background-image: url(../images/WebL&HServicios-03.webp);
    background-size: cover;
    background-position: top;
}

.asesoramiento .mision-text p {
    color: var(--text-color-primary);
}

.asesoramiento .mision-text a {
    width: 280px;
    background: var(--bg-secondary);
    color: var(--text-color-white);
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 999px;
    margin: 5% 0;
    /* esto hace el efecto de cápsula */
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.mision .mision-text {
    width: 70%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 8%;
}

.mision-text p {
    color: var(--text-color-verde-claro);
}

.mision-text span:nth-of-type(1) {
    font-size: 3rem;
    font-weight: 400;
}

.mision-text span:nth-of-type(2) {
    font-size: 3.5rem;
    font-weight: 400;
}

.mision-text span:nth-of-type(3) {
    font-size: 2rem;
    font-weight: 300;
}

/* mision  */

/* circulo de impacto  */
.circ-impacto {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

/* Fondo con opacidad usando ::before */
.circ-impacto::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url(../images/L&H-HOME-15.png);
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    /* Solo la imagen tendrá opacidad */
    z-index: 0;
}

.circ-content {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-color-primary);
}

.circ-content img {
    width: 40%;
    /* margin-right: 10%; */
}

.circ-content .circ-text {
    width: 40%;
}

.circ-content .circ-text p:nth-of-type(1) {
    font-size: 2.4rem;
    font-weight: 600;
}

.circ-content .circ-text p:nth-of-type(2) {
    font-size: 3rem;
    font-weight: 400;
}

.circ-content .circ-text a {
    background: var(--bg-secondary);
    color: var(--text-color-white);
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 999px;
    /* esto hace el efecto de cápsula */
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

/* circulo de impacto  */

/* banner verde  */
.banner-verde {
    width: 100%;
    background-color: var(--text-color-verde-claro);
}

.banner-verde p {
    padding: 8%;
    font-size: 1.6rem;
    color: var(--text-color-white);
}

/* banner verde  */

/* comentarios  */
.coments {
    width: 100%;
    color: var(--text-color-primary);
    padding: 8%;
    /* border: solid red; */
}

.coments .coments-text {
    width: 100%;
    display: flex;
    padding: 0 5% 2% 5%;
}

.coments .coments-text span {
    font-size: 5.3rem;
    font-weight: bold;
}

.coments .coments-text h1 {
    font-weight: 300;
    font-size: 40px;
    margin-left: 2%;
}

.coments .coments-text h1 strong {
    font-weight: bold;
}

.coments .content-coment {
    width: 100%;
    /* height: 50vh; */
    display: flex;
    /* border: solid blue; */
    margin-bottom: 35px;
}

.content-coment .items-coments {
    flex: 1;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    /* border: solid red; */
}

.card {
    /* border: solid purple; */
    margin: 2.5%;
    width: 100;
    height: 100%;
}

.card .card-header {
    width: 100%;
    background: var(--bg-header-card);
}

.card .card-body {
    width: 100%;
    background: var(--bg-body-card);
    height: 85%;
}

.card-body .body-content {
    padding: 10%;
}

.body-content .user-name {
    margin: 12px;
    color: var(--bg-primary);
    font-weight: 500;
}

.body-content .calific {
    margin: 2px 0;
    color: #FBB03F;
    font-size: 35px;
}

.body-content .fecha {
    margin: 8px;
    color: var(--bg-primary);
    font-weight: 300;
}

.body-content p {
    margin: 15px 0;
}

.body-content img {
    width: 80%;
    margin: 10% auto;
}

.body-content a {
    background: var(--bg-primary);
    color: var(--text-color-white);
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 999px;
    /* esto hace el efecto de cápsula */
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    margin-top: 5%;
    margin-bottom: 10%;
}

/* comentarios */

/* contacto  */
.contacto {
    padding: 0 8%;
    color: var(--text-color-primary);
    display: flex;
}

.contacto .contacto-text {
    width: 50%;
    margin: 20px 0 95px 0;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.contacto-text h1 {
    font-size: 38px;
    margin: 10px 0;
}

.contacto-text p {
    margin: 10px 0;
}

.contact-form {
    width: 90%;
    max-width: 600px;
    margin: auto;
    font-family: 'Arial', sans-serif;
}

.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-row input,
.full-width,
textarea {
    flex: 1;
    border: 2px solid #2D1A4D;
    padding: 0.75rem;
    font-size: 1rem;
    outline: none;
}

.full-width {
    width: 100%;
    margin-bottom: 1rem;
}

textarea {
    resize: vertical;
    margin-bottom: 1.5rem;
}

.form-button {
    text-align: right;
}

.form-button button {
    background: #EF529E;
    color: white;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.form-button button:hover {
    background: #d9448c;
}

/* contacto  */

/* footer  */
.footer {
    background: linear-gradient(90deg, #EE3B84 0%, #A34A9C 50%, #4C3A96 100%);
    color: white;
    padding: 20px 50px;
    font-family: 'Poppins', sans-serif;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-left {
    font-size: 20px;
    /* font-weight: bold; */
}

.footer-icons a img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    margin: 0 5px;
    transition: transform 0.3s ease;
}

.footer-icons a:hover img {
    transform: scale(1.1);
}

.footer-links a {
    margin: 0 10px;
    color: white;
    font-weight: bold;
    font-size: 14px;
    text-decoration: none;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 0.7;
}

.footer-right {
    font-size: 14px;
    text-align: right;
}

#btn-scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    background-color: var(--bg-primary);
    color: white;
    border: none;
    border-radius: 999px;
    padding: 15px 20px;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: opacity 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 999;
}

#btn-scroll-top.show {
    opacity: 1;
    visibility: visible;
}


/* footer  */






/* pagina servicios  */

.servicio-page {
    width: 100%;
    color: var(--text-color-primary);
}

.servicio-page h1 {
    text-align: center;
    padding-top: 5%;
    font-size: 55px;
}

.servicio-page .descripcion {
    color: var(--bg-primary);
    text-align: justify;
    hyphens: auto;
    /* Activa el guionado automático */
    -webkit-hyphens: auto;
    /* Safari/Chrome */
    -ms-hyphens: auto;
    /* IE/Edge antiguos */
    word-break: break-word;
    padding: 2% 10%;
    font-size: 25px;
    margin-bottom: 3%;
}

.items-content {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-bottom: 10%;
}

.item-servicio {
    position: relative;
    width: 33.3333%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    cursor: pointer;
    /* ← necesario para activar :hover en iOS */
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    user-select: none;
}

.item-servicio img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 20px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background-color: transparent;
    transition: background-color 0.3s ease;
    /* transform: translateY(80%); */
}

.item-servicio:hover .overlay {
    background-color: rgba(56, 55, 56, 0.8);
    justify-content: flex-start;
}

.item-servicio:hover .overlay {
    background-color: rgba(56, 55, 56, 0.8);
    justify-content: flex-start;
}

.item-servicio:hover .overlay.bg-orange {
    background-color: rgba(251, 176, 63, 0.8);
}

.item-servicio:hover .overlay.bg-purple {
    background-color: rgba(79, 55, 141, 0.8);
}

.item-servicio:hover .overlay.bg-blue {
    background-color: rgba(34, 188, 172, 0.8);
}

.item-servicio:hover .overlay.bg-pink {
    background-color: rgba(239, 82, 146, 0.8);
}

.titulo {
    position: relative;
    top: 50%;
    font-weight: 700;
    font-size: 1.1rem;
}

.item-servicio:hover .titulo {
    top: 0;
}

.texto {
    font-size: 1.2rem;
    margin-top: 5px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.item-servicio:hover .texto {
    opacity: 1;
    transform: translateY(0);
}

.item-servicio.active .overlay {
    background-color: rgba(56, 55, 56, 0.8);
    justify-content: flex-start;
}

.item-servicio.active .overlay h3 {
    top: 0;
    left: 0;
    background-color: transparent;
}

.item-servicio.active .texto {
    opacity: 1;
    transform: translateY(0);
}

/* Degradados personalizados */
.ortopedia {
    background: linear-gradient(to top, #e44185 0%, transparent 30%);
}

.logopedia {
    background: linear-gradient(to top, #e69e21 0%, transparent 30%);
}

.odontopediatria {
    background: linear-gradient(to top, #30c2aa 0%, transparent 30%);
}

.psicologia {
    background: linear-gradient(to top, #8544aa 0%, transparent 30%);
}

.nutricion {
    background: linear-gradient(to top, #f84ca3 0%, transparent 30%);
}

.estimulacion {
    background: linear-gradient(to top, #f28e20 0%, transparent 30%);
}

.pediatria {
    background: linear-gradient(to top, #00b9a3 0%, transparent 30%);
}

.ludica {
    background: linear-gradient(to top, #8d3fbf 0%, transparent 30%);
}

/* pagina servicios  */


/* pagina nosotros  */
.sobre-nosotras {
    max-width: 900px;
    margin: 8% auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: var(--text-color-primary);
}

.sobre-nosotras h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.sobre-nosotras p {
    max-width: 700px;
    font-size: 1rem;
    margin: 15px 0;
}

.sobre-nosotras p:last-of-type {
    font-weight: bold;
}

.sobre-nosotras img {
    width: 420px;
    height: auto;
    margin: 25px 0;
}

.galeria-equipo {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.galeria-equipo::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(to right, rgba(9, 125, 125, 0.5) 30%, rgba(9, 125, 125, .5) 60%, rgba(9, 125, 125, .5) 90%),
        url('../images/L&H-HOME-15.png');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 0;
}

.team-section {
    padding: 2rem;
    text-align: center;
}

.team-title {
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--text-color-primary);
    padding: 20px 20%;
    margin-bottom: 2rem;
}


.team-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.doctor-card {
    position: relative;
    width: 33.3333%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    cursor: pointer;
    /* ← necesario para activar :hover en iOS */
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    user-select: none;
}

.doctor-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.doctor-card:hover .overlay-doc,
.doctor-card:active .overlay-doc {
    background: linear-gradient(to right, rgba(106, 27, 154, .8), rgba(171, 71, 188, .8));
    justify-content: flex-start;
}

.overlay-doc {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 20px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background-color: transparent;
    transition: background-color 0.3s ease;
}

.doctor-card:hover .overlay-doc h3,
.doctor-card:active .overlay-doc h3 {
    top: 0;
    left: 0;
    background-color: transparent;
}

.overlay-doc h3 {
    position: relative;
    top: 80%;
    left: 40%;
    text-align: left;
    padding-left: 5%;
    font-weight: 700;
    font-size: 1.1rem;
    /* background-color: var(--bg-secondary); */
    border-radius: 0 0 0 15px;
}

.doctor-card:hover .desc-doc,
.doctor-card:active .desc-doc {
    opacity: 1;
    transform: translateY(0);
}

.overlay-doc .desc-doc {
    font-size: 1.2rem;
    margin: 5px 5%;
    overflow: auto;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.overlay-doc .desc-doc p {
    margin-bottom: 15px;
    font-size: 1rem;
}

.desc-doc::-webkit-scrollbar {
    width: 5px;
    /* width of the entire scrollbar */
}

.desc-doc::-webkit-scrollbar-track {
    background: rgba(102, 102, 102, 0.8);
    /* color of the tracking area */
}

.desc-doc::-webkit-scrollbar-thumb {
    background-color: #D5CBE4;
    /* color of the scroll thumb */
    border-radius: 20px;
    /* roundness of the scroll thumb */
    border: 3px solid D5CBE4;
    /* creates padding around scroll thumb */
}

.doctor-card.active .overlay-doc {
    background-color: rgba(56, 55, 56, 0.8);
    justify-content: flex-start;
}

.doctor-card.active .overlay-doc h3 {
    top: 0;
    left: 0;
    background-color: transparent;
}

.doctor-card.active .desc-doc {
    opacity: 1;
    transform: translateY(0);
}

/* pagina nosotros  */



@media(max-width: 950px) {

    /* menu  */
    header {
        padding: 20px 3%;
    }

    #menu-icon {
        display: block;
    }

    .navlist {
        position: absolute;
        width: 100%;
        height: 100vh;
        padding: 100px 50px;
        top: 0;
        right: 0;
        bottom: 0;
        left: 100%;
        display: flex;
        flex-direction: column;
        backdrop-filter: blur(32px);
        transition: all .6s ease-in-out;
    }

    .navlist a {
        display: block;
        padding: 0;
        margin: 0px 0px 25px 0px;
        font-size: 1.7rem;
    }

    .navlist.open {
        left: 0;
    }

    /* menu  */
    /* hero  */
    .hero {
        position: relative;
        width: 100%;
        height: 100vh;
        background:
            linear-gradient(to right, rgba(255, 255, 255, 0.3) 10%, rgba(255, 255, 255, 0.6) 20%, rgba(255, 255, 255, 0) 85%),
            url('../images/L&H-Home.png');
        background-size: cover;
        background-position: center;
        display: flex;
        align-items: center;
        transition: all .6s ease;
    }

    /* .hero {
        background-position: 70% 8vh;
    } */

    .hero-nosotros {
        position: relative;
        width: 100%;
        height: 100vh;
        background:
            linear-gradient(to right, rgba(255, 255, 255, 0.3) 10%, rgba(255, 255, 255, 0.6) 20%, rgba(255, 255, 255, 0) 85%),
            url('../images/L&H-nosotras.png');
        background-size: cover;
        background-position: center;
        display: flex;
        align-items: center;
        transition: all .6s ease;
    }

    .hero-servicio {
        position: relative;
        width: 100%;
        height: 100vh;
        background:
            linear-gradient(to right, rgba(255, 255, 255, 0.3) 10%, rgba(255, 255, 255, 0.6) 20%, rgba(255, 255, 255, 0) 85%),
            url('../images/L&H-Servicios.png');
        background-size: cover;
        background-position: center;
        display: flex;
        align-items: center;
        transition: all .6s ease;
    }

    .hero-crimpacto {
        position: relative;
        width: 100%;
        height: 100vh;
        background:
            linear-gradient(to right, rgba(255, 255, 255, 0.3) 10%, rgba(255, 255, 255, 0.6) 20%, rgba(255, 255, 255, 0) 85%),
            url('../images/circ-impac-hero.webp');
        background-size: cover;
        background-position: 75% center;
        display: flex;
        align-items: center;
        transition: all .6s ease;
    }

    .hero-blog {
        position: relative;
        width: 100%;
        height: 100vh;
        background:
            linear-gradient(to right, rgba(255, 255, 255, 0.3) 10%, rgba(255, 255, 255, 0.6) 20%, rgba(255, 255, 255, 0) 85%),
            url('../images/blog-hero.webp');
        background-size: cover;
        background-position: center;
        display: flex;
        align-items: center;
        transition: all .6s ease;
    }

    .hero-text img {
        margin-top: 150px;
        width: 200px;
    }

    .hero-text {
        padding-bottom: 150px;
        /* text-shadow:
            -1px -1px 0,
            1px -1px 0 white,
            -1px 1px 0 white,
            1px 1px 0 white; */
    }

    .hero-title {
        margin: 55px 0;
    }

    .hero-title span {
        font-size: 1.5rem;
        letter-spacing: 1px;
        line-height: 1.4;
    }

    .hero-title span~span {
        font-size: 2rem;
        letter-spacing: 1px;
        line-height: 1.4;
    }

    .btn-hero {
        top: 87%;
        right: 0;
        transform: translateY(-50%);
    }

    /* hero  */

    /* banner  */
    .bannert-text-simple {
        margin: 6% 3%;
        padding: 15% 3%;
        /* border: solid green; */
    }

    .ico-lnh {
        font-size: 78px;
        font-weight: bold;
        display: block;
        margin-bottom: 15px;
        margin: auto 2%;
    }

    .bannert-text-simple h1 {
        font-size: 1rem;
    }

    .banner-doble {
        flex-direction: column;
        overflow: auto;
        /* Scroll solo si es necesario */
        height: auto;
        /* Quita el 85vh si lo tenías */
    }

    .banner-doble .clip-content {
        background: #C4E9E9;
        font-size: 20px;
        text-align: justify;
        text-justify: inter-word;
        hyphens: auto;
        padding: 15%;
        width: 100%;
        height: auto;
        clip-path: polygon(0 0, 100% 0%, 100% 91%, 0 100%);
        position: relative;
    }

    .banner-doble .img-banner-doble {
        width: 100%;
    }

    /* banner  */

    /* servicio  */
    .content-row {
        flex-direction: column;
        /* border: solid red; */
        padding: 10px 0;
    }

    .content-row .item-content {
        /* border: solid blue; */
        padding: 5%;
    }

    .item-content img {
        width: 70%;
    }

    .servicio .descripcion {
        text-align: center;
        padding: 10% 2.5%;
        font-size: 20px;
        text-align: justify;
        text-justify: inter-word;
        hyphens: auto;
        margin-bottom: 25px;
    }

    .item-servicio {
        width: 100%;
        /* 1 por fila en móviles */
    }

    .servicio-page h1 {
        font-size: 32px;
        padding-top: 10%;
    }

    .servicio-page .descripcion {
        font-size: 18px;
        padding: 3% 5%;
    }

    .titulo {
        font-size: 1rem;
        top: 50%;
        position: relative;
        -webkit-font-smoothing: antialiased;
    }

    .item-servicio:hover .titulo {
        top: 0;
    }

    .texto {
        font-size: 1rem;
        opacity: 0;
        -webkit-opacity: 0;
        -webkit-transform: translateY(10px);
        transform: translateY(10px);
        -webkit-transition: opacity 0.4s ease, -webkit-transform 0.4s ease;
        transition: opacity 0.4s ease, transform 0.4s ease;
    }

    .item-servicio:hover .texto {
        opacity: 1;
        -webkit-opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }

    .overlay {
        padding: 15px;
        -webkit-transition: background-color 0.3s ease;
        transition: background-color 0.3s ease;
        display: -webkit-flex;
        display: flex;
        -webkit-flex-direction: column;
        flex-direction: column;
        -webkit-justify-content: flex-end;
        justify-content: flex-end;
    }

    /* servicio  */

    /* mision  */
    .mision {
        height: 65vh;
        background-position: 75% 1%;
    }

    .mision .mision-text {
        width: 90%;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 0 5%;
    }


    .mision-text span:nth-of-type(1) {
        font-size: 1.3rem;
        position: relative;
        top: -50px;
    }

    .mision-text span:nth-of-type(2) {
        font-size: 1.8rem;
        position: relative;
        top: -50px;
    }

    .mision-text span:nth-of-type(3) {
        font-size: 1.1rem;
        position: relative;
        top: -50px;
    }

    /* mision  */

    /* circulo de impacto  */
    .circ-content {
        flex-direction: column;
        text-align: center;
    }

    .circ-content img {
        width: 80%;
        /* margin-right: 10%; */
        margin-bottom: 25px;
    }

    .circ-content .circ-text {
        width: 90%;
    }

    .circ-content .circ-text p:nth-of-type(1) {
        font-size: 1.8rem;
    }

    .circ-content .circ-text p:nth-of-type(2) {
        font-size: 2rem;
    }

    .circ-content .circ-text a {
        margin-top: 25px;
    }

    /* circulo de impacto  */

    /* banner verde  */
    .banner-verde p {
        font-size: 1.3rem;
        text-align: justify;
        text-justify: inter-word;
        hyphens: auto;
        padding: 12%;
    }

    /* banner verde  */

    /* comentarios  */
    .coments .coments-text span {
        font-size: 4.3rem;
    }

    .coments .coments-text {
        display: flex;
        flex-direction: column;
        text-align: center;
        margin-bottom: 5%;
    }

    .coments .coments-text h1 {
        font-size: 20px;
        margin-left: 2%;
    }

    .coments .content-coment {
        width: 100%;
        display: flex;
        flex-direction: column;
        margin-bottom: 35px;
    }

    /* comentarios  */

    /* contacto  */
    .contacto {
        flex-direction: column;
    }

    .contacto .contacto-text {
        width: 100%;
    }

    /* contacto  */

    /* form  */
    .form-row {
        flex-direction: column;
    }

    .form-button {
        margin-bottom: 8%;
    }

    /* form  */

    /* pagina servicios  */
    .item-servicio {
        width: 100%;
    }

    /* pagina servicios  */

    /* pagina nosotros  */
    /* .sobre-nosotra {
        margin: 8%;
    }

    .sobre-nosotras h2 {
        font-size: 1.8rem;
    }

    .sobre-nosotras img {
        width: 160px;
    } */

    .sobre-nosotras {
        margin: 10% 5%;
    }

    .sobre-nosotras h2 {
        font-size: 1.6rem;
    }

    .sobre-nosotras p {
        font-size: 0.9rem;
    }

    .sobre-nosotras img {
        width: 100%;
        max-width: 280px;
    }

    .team-title {
        font-size: 1.5rem;
        padding: 0 5%;
    }

    .team-container {
        flex-direction: column;
        gap: 1.5rem;
    }

    .doctor-card {
        width: 100%;
        /* una sola columna */
        aspect-ratio: auto;
    }

    .overlay-doc h3 {
        font-size: 1rem;
        top: 80%;
        left: 20%;
        padding-left: 5%;
    }

    .overlay-doc .desc-doc {
        font-size: 0.95rem;
    }

    /* pagina nosotros  */
}

@media (min-width: 951px) and (max-width: 1200px) {
    header {
        padding: 25px 4%;
    }

    .navlist {
        position: static;
        display: flex;
        flex-direction: row;
        justify-content: flex-end;
        height: auto;
        padding: 0;
        backdrop-filter: none;
    }

    .navlist a {
        margin: 0 15px;
        font-size: 1.2rem;
    }

    .hero {
        background-position: center top;
    }

    .hero-text {
        padding-bottom: 100px;
    }

    .hero-text img {
        width: 250px;
    }

    .hero-title {
        margin: 60px 0;
    }

    .hero-title span {
        font-size: 1.6rem;
    }

    .hero-title span~span {
        font-size: 3rem;
    }

    .hero-nosotros {
        background-position: 55% center;
    }

    .btn-hero {
        top: 85%;
        transform: translateY(-50%);
    }

    .bannert-text-simple {
        margin: 5% 4%;
        padding: 10% 4%;
    }

    .ico-lnh {
        font-size: 90px;
    }

    .bannert-text-simple h1 {
        font-size: 1.4rem;
    }

    .banner-doble {
        flex-direction: column;
    }

    .banner-doble .clip-content {
        font-size: 22px;
        padding: 8%;
    }

    .banner-doble .img-banner-doble {
        height: 70vh;
    }

    .content-row {
        flex-direction: column;
    }

    .content-row .item-content {
        padding: 5% 4%;
    }

    .icon-box-140px {}

    .servicio .descripcion {
        font-size: 22px;
    }

    .mision {
        height: 60vh;
        background-position: 80% 2%;
    }

    .mision .mision-text {
        padding: 0 8%;
    }

    .mision-text span:nth-of-type(1) {
        font-size: 1.5rem;
    }

    .mision-text span:nth-of-type(2) {
        font-size: 2rem;
    }

    .mision-text span:nth-of-type(3) {
        font-size: 1.2rem;
    }

    .circ-content img {
        width: 70%;
    }

    .circ-content .circ-text p:nth-of-type(1) {
        font-size: 2rem;
    }

    .circ-content .circ-text p:nth-of-type(2) {
        font-size: 2.2rem;
    }

    .banner-verde p {
        font-size: 1.4rem;
    }

    .coments .coments-text span {
        font-size: 5rem;
    }

    .coments .coments-text h1 {
        font-size: 22px;
    }

    .content-coment {
        margin-bottom: 40px;
    }

    .form-button {
        margin-bottom: 5%;
    }

    /* pagina servicios  */
    .item-servicio {
        width: 50%;
    }

    .item-servicio {
        width: 50%;
        /* 2 por fila en tablets */
    }

    .servicio-page h1 {
        font-size: 40px;
        padding-top: 8%;
    }

    .servicio-page .descripcion {
        font-size: 20px;
        padding: 2% 6%;
        text-align: justify;
    }

    .titulo {
        position: relative;
        top: 10%;
    }

    /* pagina servicios  */

    /* pgina nosotros  */
    .sobre-nosotras {
        margin: 6% 5%;
    }

    .sobre-nosotras h2 {
        font-size: 1.8rem;
    }

    .sobre-nosotras p {
        font-size: 0.95rem;
    }

    .sobre-nosotras img {
        width: 300px;
    }

    .team-title {
        font-size: 2rem;
        padding: 0 10%;
    }

    .doctor-card {
        width: 45%;
        /* 2 columnas en tablet */
    }

    .overlay-doc h3 {
        font-size: 1rem;
        top: 75%;
        left: 30%;
    }

    .overlay-doc .desc-doc {
        font-size: 1rem;
    }

    /* pagina nosotros  */
}