/*Importar las fuentes*/
@import url("./fuentes.css");



body{
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}
section {
    width: 100%;
    height: 100vh;
    min-height: 800px;
    box-sizing: border-box;
    overflow: hidden;
    display: flex;
    flex-direction: column; 
}
.container{
    width: 100%;
    max-width: 2000px;
    margin: 0 auto;    
}


/*PORTADA*/
.fondo-inicio{
    width: 100%;
    height: 100%;
   background-image: url(./recursos/portada/fondo.png);
    background-size: cover;

}
.difuminado{
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.489);
}
.triangulo-inferior{
position: relative;

}
.triangulofondo, .trianguloSuperior{
    position: absolute;
    z-index: 1;
}



.contenedor-menu{
    display: flex;
    width: 100%;
    justify-content: space-between;
}
.img-menu{
    width: 40%;
    text-align: center;
    margin-top: 4%;
}
.img-menu img{
    width: 55%;
}
.menu{
    width: 60%;
    height: auto;
    
}
.menu nav{
    width: 100%;
    height: auto;
    background-color: #67686795;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    color: white;
    display: flex;
    margin-top: 4%;
    font-family: "domus";
    letter-spacing: 0.275rem;
    box-shadow: 0 4px 19px rgba(0, 0, 0, 0.637);
    
}

.contenedor-menu nav ul{
    display: flex;
    list-style-type: none;
    width: 80%;
    margin: 0 auto;
    align-items: center;
    justify-content: space-between;
    font-size: 1.3rem;
    text-decoration: underline;
     text-decoration-color: rgba(255, 255, 255, 0.465);
    text-underline-offset: 5px; 
    padding: 20px 20px;
}
.menu a{
    color: white;
}
.menu a:visited{
    color: white;
}
.contenedor-inferior{
    width: 100%;
    height: 580px;
    display: flex;
    margin: 0 auto;
}

.doctoresdesign{
    width: 40%;
    overflow: hidden;
}
.img-doctores{
    width: 100%;
    height: 50%;
    margin-left: 16%;
}
.img-doctores img{
    width: 85%;
}

.circulo{
    width: 70%;
    height: 40%;
    bottom: 0;
    margin-left: -150px;
}
.circulo img{
    width: 100%;
}



.txt-portada{
    width: 60%;
    padding: 10px;
}
.tuespecialista img{
    width: 80%;
}



.doctoresdesign, .txt-portada, .menu{
    z-index: 3;
}

.botones-portada{
    width: 70%;
    display: flex;
    align-items: center;
    margin: 0 auto;
    justify-content: center;
    font-family: "domus";
}

figure{
    width: 40%;
    position: relative;
    transition:  transform 0.5s ease-in;
}
figure:hover{
    cursor: pointer;
    transform: scale(0.90);
}
figure img{
    width: 100%;
}
figcaption{
    position: absolute;
    text-align: center;
    top: 0;
    width: 100%;
    height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
    color:white;
    text-transform: uppercase;
    text-decoration: underline;
}
figcaption a:visited{
    color: white;
}
.elipse{
    max-width: 50px;
}

/*PORTADA*/


/*NOSOTROS*/
.contenedorNosotros{
    width: 100%;
    height: 100%;
    padding-top: 20px;
    background-image: url("./recursos/pagina2/triangulo.png");
    background-position:top;
    background-size: contain;
    background-repeat: no-repeat;
    
}
.particula{
    width: 100px;
    height: auto;
    position: absolute;
    right: 0;
    margin-right: 15%;
    margin-top: -50px;
}
.particula img{
    width: 100%;
    height: auto;
}
.encabezadoNosotros{
    width: 90%;
    font-size: 2rem;
    padding: 15px;
    margin: 0 auto;
    font-family: "domus";
    text-decoration: underline;
     text-underline-offset: 10px; 
}
.contenidoNosotros{
    width: 90%;
    min-height: 680px;
    display: flex;
    margin: 0 auto;
    padding: 10px;
}
.txtNosotros{
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.txtNosotros img{
    width:90%;
}
.txtNosotros label{
    font-size: 1.4rem;
}
.imgNosotros{
    width: 80%;
}
.imgNosotros img{
    width: 100%;
}
.rectangulo{
width: 80%;
padding: 15px;
background:linear-gradient(90deg, #bbbbbd,#f6f6f6,#bbbbbd);/* Chrome 10-25, Safari 5.1-6 */
box-shadow: 0px 10px 26px -4px #ccc;
display: flex;
flex-direction: column;
gap: 15px;
font-family: "avery bold";
}
.rectangulo span{
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 2.5rem;
    color: #3f3f3f;
}
.rectangulo span>img{
    width: 50px;
    height: auto;
}
.btn-contacto{
    width: 40%;
}
.btn-contacto a{
    background-color: #5b9b7f;
    padding: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    border-radius: 20px;
    justify-content: center;
    cursor: pointer;
    font-family: "domus";
}
.btn-contacto span{
    font-size: 2rem;
    color: black;
}
/*NOSOTROS*/



/*ESPECIALISTAS*/
  .contenedorEspecialistas{
    width: 100%;
    height: 100%;
    
    background-image: url("./recursos/3raPagina/fondodoctor.png");
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
  }
  .img-degradado{
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 1;
  }
  .img-degradado img{
    width: 100%;
    height: 100%;
    opacity: 0.9;

    
  }

.encabezado-especialista{
    width: 90%;
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
    margin: 0 auto !important;
    padding: 10px;
}
.titulo-especialista{
    width: 60%;
    line-height: 0.1;
    
    margin-bottom: 3%;
    
    
}
.separadorEspecialista{
    width: 60%;
    height: 8px;
    z-index: 10;
    position: absolute;    
    background-color: #529579;
    margin-top: -4%;
}
.especialistaSuperior{
    font-family: "avery bold";
    font-weight: 200;
    font-size: 3.3rem;
    color: #3f3f3f;
}
.especialistaInferior{
    font-family: "avery bold";
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 3.3rem;
    color: #3f3f3f;
}

.logo{
    width: 40%;
    text-align: right;
    position: relative;
    z-index: 10;
}
.logo img{
    width: 30%;
    padding: 20px 70px;
    filter: saturate(150%);
}
.botones{
    width: 90%;
    height: 90%;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}
.botones-bt{
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    overflow-y: auto;
    
}
.botones-bt button{
    border: 0;
    color: white;
    text-decoration: underline;
    font-size: 1.1rem;
    height: 55px;
    background-color: #5b9b80;
    cursor: pointer;
    transition:  transform 0.5s ease;
    text-transform: uppercase;
    font-family: "domus";
}
.botones-bt button:hover{
    transform: scale(1.5);
}


/*LABORATORIO*/
.laboratorios{
    width: 100%;
    height: 100%;

    background-image: url("./recursos/laboratorios/Sin\ nombre.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: relative;
}
.asteriscos{
    position: absolute;
    margin-top: 10%;
    left: 0;
}
.asteriscos img{
    width: 80%;
    height: auto;
    padding: 10px;
}
.encabezado-laboratorio{
    min-height: 200px; /* crecerá si necesita más */
    display: flex;
    justify-content: center;
}
.figura{
    width: 53%;
    height: 260px;
     margin: 0 auto 0 auto; 
    text-align: center;
    background-color: linear-gradient(180deg, #000000,#e1f1e5a6);/* Chrome 10-25, Safari 5.1-6 */                          background: linear-gradient(180deg, #8fa692ba,#C7D3CA);/* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */                                             
    clip-path: polygon(0 0, 100% 0, 80% 100%, 20% 100%);
    line-height: 0.001;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.figura h1{
    font-family: sans-serif;
    font-size: 3.6rem;
    letter-spacing: 0.7rem;
    font-family: "avery bold";
}
.figura p{
    font-family: "avery medium";
    font-size: 1.7rem;
}
.op-laboratorio{
    width: 85%;
    height: 400px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 0 auto;
    gap: 30px;
    text-align: center;
    vertical-align: middle;
    margin-top: 30px;
}
.op-laboratorio a{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    background-color: white;
    font-size: 1.3rem;
    font-family: "domus";
}
.op-laboratorio a:hover{
    transform: scale(1.2);
    z-index: 2;
}

.asteriscosInferior{
    width: 100%;
    height: 100%;
    
    right: 0;
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    pointer-events: none;
}
.asteriscosInferior img{
    width: 30%;
    opacity: 0.5;
}


/*MAPAS*/
#maps{
    background-image: url("./recursos/mapas/fondomapa.png");
    background-repeat: no-repeat;
    background-size: cover;
}
.contenedorMapas{
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.65);
}
.Ubicacion{
    width: 55%;
    height: 100%;
    font-family: sans-serif;
}
.Ubicacion h1{
    font-size: 3.5rem;
    font-weight: bold;
    letter-spacing: 0.275rem;
    padding-left: 30px;
    font-family: "avery bold";
    color: #3f3f3f;
}
.contUbicacion{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background-color: #8bae90;
    border-top-right-radius: 340px;
    padding: 30px;
    gap: 40px;
}
.enDireccion{
    display: flex;
    flex-direction: column;
}
.encabezadoUbicacion{
    font-size: 2.5rem;
    letter-spacing: 0.275rem;
    font-weight: bold;
    font-family: "avery bold";
    color: #3f3f3f;

}
.direccion{
    font-size: 1.3rem;
    width: 60%;
    color: #3f3f3f;
}
.contUbicacion iframe{
    width: 50%;
    height: 40%;
}
.mapa{
    width: 45%;
    height: 100%;
}
/*MAPAS*/










.doctores,.resultados{
    width: 90%;
    height: max-content;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}


.tarjeta-doctor {
    width: 90%;
    max-width: 1050px;
    background: #ceecce;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 0 auto;
    margin-bottom: 30px;
    font-family: "avery medium";
    color: white !important;
}

.tarjeta-doctor:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.img-doctor span {
    font-size: 5rem;
    color: #4CAF50; /* Un verde médico moderno */
    background-color: #e8f5e9;
    border-radius: 50%;
    padding: 16px;
    display: inline-block;
}

.tarjeta-doctor label {
    font-size: 1.1rem;
    font-weight: 600;
    color: rgb(93, 93, 93);
    text-align: center;
}

.tarjeta-doctor .especialidades {
    font-size: 0.95rem;
    color: #666;
    text-align: center;
    line-height: 1.4;
    text-transform:capitalize;
}



.calendario{
    width: 70%;
    margin: 0 auto;
    border: 1px solid;
    font-family: "Roboto";
}

.oculto{
    display: none !important;
}

.salida{
    display: none;
}



@media (max-width:799px) {

 section {
        height: auto;
        min-height: 800px; 
        max-height: inherit; 
    }

.contenedor-menu {
        flex-direction: column;
        align-items: center;
        padding: 6px 0;
        
    }

    .img-menu, .menu {
        width: 100%;
        margin: 0;
        text-align: center;
    }
    
    .img-menu img {
        width: 40%; 
        margin-top: 20px;
    }
    .menu{
        z-index: 999 !important;
    }
    .menu nav {
        box-shadow: none; 
        border-radius: 0;
        top: 0;
        margin: 0;
        border: 1px solid;
        position: fixed;
        background-color: white;
        width: 60%;
        height: 100vh;
        display: none;
        font-family: "avery bold";
    }
    .salida{
        display: block;
        color: #000000;
        width: 100%;
        text-align: right;
        font-size: 2rem;
        cursor: pointer;
    }
    .contenedor-menu nav ul {        
        width: 100%;
        padding: 30px;
        display: flex;
        flex-direction: column;
        justify-content: inherit;
        align-items: flex-start;
        gap: 30px;
    }
    
    .contenedor-menu nav ul li {
        margin-bottom: 15px; 
    }

    .contenedor-menu nav ul li a {
        font-size: 1rem; 
        letter-spacing: 0.1rem; 
        text-decoration-color: rgba(12, 12, 12, 0.465);
        color: #000000;
        transition: transform 4s ease-in ;
    }
    .contenedor-menu nav ul li a:visited{
        color: #000000;
    }
    .contenedor-menu nav ul li a:hover, .salida:hover{
        color: #529579;
    }
    /*MENU*/

    /*PRESENTACION*/
    .contenedor-inferior{
        height: 100vh !important;
        bottom: 0 !important;
        flex-direction: column-reverse;
        margin-top: -25%;
    }
    .doctoresdesign{
        width: 100%;
        height: 40%;
    }
    .img-doctores {
        margin: 0 auto;
        height: 100%;
        display: flex;
        justify-content: center;
    }
    .img-doctores img{
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
    .txt-portada{
        width: 100%;
        height: 50%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 0;
    }
    .txt-portada img{
        width: 90%;
        height: 100%;
    }
    .tuespecialista{
        width: 100%;
        
        display: flex;
        justify-content: center;
    }
    .tuespecialista img{
        filter: saturate(120%);
    }
    .botones-portada{
        width: 100%;
        flex-direction: column;
    }
    .botones-portada figure{
        width: 50%;
    }
    figcaption a:visited{
        color: white;
        font-weight: bold;
        text-decoration: none;
    }
    .btnimg{
        width: 100% !important;
    }
    /*PRESENTACION*/


    /*NOSOTROS*/
    #nosotros{
        height: max-content !important;
    }
    .contenidoNosotros{
        flex-direction: column;
    }
    .rectangulo{
        width: 90%;
        margin: 0 auto;
    }
    .rectangulo span{
        font-size: 2rem;
    }
    .btn-contacto{
        width: 100%;
        text-align: center;
    }

    .imgNosotros{
        display: none;
        justify-content: center;
        padding: 10px;
    }
    
    
    /*NOSOTROS*/

    /*ESPECIALISTA*/
    #especialistas{
        height: max-content;
    }
    .especialistaInferior, .especialistaSuperior{
        font-size: 2.5rem;
    }
    .botones-bt{
        grid-template-columns: repeat(2, 1fr);
        margin-bottom: 50px;
        
    }
    .botones-bt button{
        width: 100% !important;
        font-size: 0.875rem;
        word-wrap: break-word;
    }
    /*ESPECIALISTA*/

    /*LABORATORIO*/
    #lab{
        height: max-content;
    }
    .laboratorios{
        height: max-content !important;
        background-position: 0;
        background-clip: content-box;

    }
    .encabezado-laboratorio{
        width: 100%;
        max-height: max-content;
    }

    .figura{
        width: 100%;
    }
    .figura h1{
        font-size: 2rem;
        letter-spacing: 0;
    }
    .figura p{
        width: 100%;     
        font-size: 1.2rem;
        word-wrap: break-word;
    }
    .op-laboratorio{
        width: 90%;
        grid-template-columns: repeat(2,1fr);
        margin: 0 auto;
        margin-bottom: 70px;
        height: auto;
        gap: 20px;
        font-size: 0.875rem;
    }
    .op-laboratorio a{
        
    }
    /*LABORATORIO*/

    /*UBICACION*/
    #maps {
        height: auto !important;
        min-height: 100vh;
    }
    .contenedorMapas {
        height: 100vh;
        display: flex;
        flex-direction: column-reverse;
    }
    .Ubicacion{
        width: 100%;
    }
    .Ubicacion h1{
        font-size: 2rem;
        width: 100%;
        padding: 0;
        text-align: center;
        padding-top: 10px;
    }
    .contUbicacion{
        border-radius: 0;
        text-align: center;
        padding: 0;
        height: 100%;
        margin-bottom: 50px;
    }
    .enDireccion{
        width: 100%;
        align-items: center;
    }
    .mapa{
       border: 1px solid red; 
       display: none;
    }
    .contUbicacion iframe{
        width: 90%;
        height: 70%;
        margin: 0 auto;
        margin-bottom: 30%;
    }
}