/* INTRODUCCION */

.introduccion {
    margin-top: 5%;
}

.introduccion-titulo {
    color: #691B32;
    font-size: clamp(26px, 3vw + 1rem, 45px);
    font-weight: 700;
    word-wrap: break-word;
}

.introduccion-burbuja-i {
    margin-left: -20%;
    width: 25%;
}

.introduccion-burbuja-ii {
    margin-left: 25%;
    width: 50%;
}

.introduccion-texto {
    color: black;
    font-size: clamp(14px, 1.8vw + 0.5rem, 22px);
    font-weight: 400;
    word-wrap: break-word;
    max-width: 900px;
    text-align: justify;

    display: flex;
    align-items: center;

}

.introduccion-preguntas {
    justify-content: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pregunta {
    color: #691B32;
    font-size: clamp(18px, 2.5vw + 0.5rem, 30px);
    font-weight: 700;
    word-wrap: break-word;
    text-align: center;
    width: 60%;
}

.respuesta {
    color: black;
    font-size: clamp(10px, 1.2vw + 0.3rem, 15px);
    font-weight: 400;
    word-wrap: break-word;
    text-align: justify;
    width: 50%;
    margin-bottom: 3%;
    margin-top: 3%;
}

.boton-info {
    margin-bottom: 3%;
    width: 100%;
    display: contents;
}

.boton-info button {
    width: 35%;
    height: 50px;
    background: #691B32;
    color: white;
    font-size: clamp(10px, 1.2vw + 0.3rem, 15px);
    font-weight: 400;
    word-wrap: break-word;
    border-radius: 33px;
    border: none;
}

/* LINEAS QUE DIVIDEN LOS SECTION */

.linea-derecha {
    width: 50%;
    background-color: #B69863;
    height: 10px;
    margin-left: 50%;
    /* margin-top: 5%;
    margin-bottom: 5%; */
}

.linea-izquierda {
    width: 50%;
    background-color: #B69863;
    height: 10px;
    /* margin-top: 5%;
    margin-bottom: 5%; */
}

/* SEGUIMIENTO DE SERVICIOS */

.servicios {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.servicios-titulo {
    color: #691B32;
    font-size: clamp(26px, 3vw + 1rem, 47px);
    font-weight: 700;
    word-wrap: break-word;
    margin-bottom: 2%;
}

.servicios-texto {
    color: black;
    font-size: clamp(16px, 1.5vw + 0.5rem, 25px);
    font-weight: 400;
    word-wrap: break-word;
    width: 60%;
    text-align: justify;
    margin-bottom: 2%;
}

/* SEGUIMIENTO DE CONTRATOS */

.seg-contratos {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.seg-contratos-titulo {
    color: #691B32;
    font-size: clamp(26px, 3vw + 1rem, 47px);
    font-weight: 700;
    word-wrap: break-word;
    margin-bottom: 2%;
    text-align: left;

    width: 50%;
    margin-left: -25%;
}

/* PORTAFOLIO DE PROYECTOS */

.portafolio {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 0;
}

.portafolio-titulo {
    color: #691B32;
    font-size: clamp(26px, 3vw + 1rem, 47px);
    font-weight: 700;
    word-wrap: break-word;
    margin-bottom: 2%;
    text-align: left;


}

.portafolio-texto {
    color: black;
    font-size: clamp(16px, 1.5vw + 0.5rem, 25px);
    font-weight: 400;
    word-wrap: break-word;
    width: 60%;
    text-align: justify;
    margin-bottom: 2%;
}

/* DOCUMENTACION */

.documentacion {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 0;
}

.documentacion-titulo {
    color: #691B32;
    font-size: clamp(26px, 3vw + 1rem, 47px);
    font-weight: 700;
    word-wrap: break-word;
    margin-bottom: 2%;
    text-align: left;
}

.documentacion-texto {
    color: black;
    font-size: clamp(16px, 1.5vw + 0.5rem, 25px);
    font-weight: 400;
    word-wrap: break-word;
    width: 60%;
    text-align: justify;
    margin-bottom: 2%;
}

.cards {
    margin-bottom: 1%;
    height: 300px;
    width: 300px;
}

.contenido-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    /*Espaciado entre los elementos */
    background-color: #D8C8A8;
    border-radius: 10%;
    height: 100%;
    text-align: center;
}

.titulo-card {
    color: #691B32;
    font-size: clamp(18px, 2.5vw + 0.5rem, 30px);
    font-weight: 700;
    word-wrap: break-word;
    text-align: center;
    width: 80%;
}

.descripcion-card p {
    color: black;
    font-size: 12px;
    font-weight: 400;
    word-wrap: break-word;
    text-align: justify;
}

.arrow {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 30%;
    height: 30%;
    /* background-color: white; */
    /* background-image: url(../../images/que-hacemos/lineamientos/arrow.png); */
    margin-top: -32%;
    margin-left: 71%;
    /* background-size: cover; */
    border-radius: 0 0 30% 0;
}

.flecha {
    background-color: #691B32;
    width: 50%;
    border-radius: 100%;
    height: 50%;
    border: none;
    background-image: url('../../images/icons/right.svg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    z-index: 5;
}


.contenido-card {
    position: relative;
    overflow: hidden;
}

.titulo-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex; /* Activar flexbox */
    align-items: center; /* Centrar verticalmente */
    justify-content: center; /* Centrar horizontalmente */
    transition: transform 1s ease-in-out, opacity 1s ease-in-out;
}
.descripcion-card {
    position: absolute;
    top: 0;
    left: 20;
    width: 70%;
    height: 100%;
    display: flex; /* Activar flexbox */
    align-items: center; /* Centrar verticalmente */
    justify-content: center; /* Centrar horizontalmente */
   
    transition: transform 1s ease-in-out, opacity 1s ease-in-out;
    /* Efecto lento */
}

.titulo-card {
    opacity: 1;
    transform: translateY(0);
    z-index: 1;
}

.descripcion-card {
    opacity: 0;
    transform: translateY(100%);
    /* Comienza fuera de la vista */
    z-index: 0;
}

/* Hover Effect */
.cards:hover .titulo-card {
    opacity: 0;
    transform: translateY(-100%);
    /* Se desplaza hacia arriba */
    z-index: 0;
}

.cards:hover .descripcion-card {
    opacity: 1;
    transform: translateY(0);
    /* Aparece desde abajo */
    z-index: 1;
}