/*ESTILO CONTENEDOR SERVICIOS*/
.contenedor {
    justify-content: space-between;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 70%; 
    margin: 20px auto;
    padding: 20px;
    max-width: auto;
    box-sizing: border-box;
}

/*ESTILO SECCION TEXTO*/
.texto{
    display: grid;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: 100%;
    height: auto;
    padding: 10px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    transition: all 0.3s ease;

}
/*EFECTO FLOTANTE IMAGEN*/
.img-fotof:hover{
    transform: translateY(-10px);  
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2); 
    cursor: pointer; 
}
/*ESTILO TITULO*/
.texto h2{
    font-weight: bold;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-align: center; 
    color: transparent;
    background-image: linear-gradient(to right, #068d77b9, #00b3a6, #006a4d);
    background-clip: text;
    margin-bottom: 15px;
}
/*ESTILO TEXTO*/
.texto .txt{
    width: 100%; 
    text-align: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: bold;
    color: transparent;
    background-image: linear-gradient(to right, #005f73, #000000);
    background-clip: text;
    flex: 1;
    margin-right: 20px;
}
/*ESTILO IMAGEN*/
.img-fotof{
    display: flex;
    justify-content: space-between;
    gap: 20px;  
    width: 100%;  
    max-width: 1080px;  
    margin: 0 auto;  
}
.texto .img-fotof{
    width: 100%;  
    max-width: 50%;
    height: auto; 
    object-fit: contain;
    border-radius: 8px;
}
.texto img {
    max-width: 100%; 
    height: auto;  
    object-fit: contain; 
    border-radius: 8px;
}
/*MEDIA QUERIES PARA MOVIL*/
@media (max-width: 768px) {
    /*CONTENEDOR*/
    .contenedor {
        width: 90%;               
        padding: 15px;           
    }
    /*SECCION TEXTO*/
    .texto {
        gap: 15px;               
        padding: 10px;           
    }
    /*TITULO*/
    .texto h2 {
        font-size: 1.2rem;        
        margin-bottom: 10px;
    }
    /*TEXTO*/
    .texto .txt {
        margin-right: 0;        
        font-size: 1rem;         
    }
    /*IMAGEN*/
    .img-fotof {
        flex-direction: column;  
        gap: 10px;               
        justify-content: center;  
        align-items: center;     
    }
    .texto .img-fotof img {
        width: 80%;               
        max-width: 300px;       
        height: auto;            
        object-fit: contain;     
        border-radius: 8px;      
    }
}
