

/* bloque2 .............................*/

/* .solucionesH3{
    text-align: center;
    font-size: 2.8rem;
    color: var(--color-c1);
    font-weight: 300;
    padding-bottom: 40px;
  
}
#bloque2{
   display: flex;
   justify-content: center;
   align-items: center;

}
.cardSoluciones{
 display: flex;
 flex-direction: column;
 justify-content: start;
 align-items: center;
 width: 100%;

}
.cajaLogosEmpresa{
    width: 70%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap:35px;
     margin-bottom: 30px;
}

.logoCentral{
    width: 150px;
    height: 150px;
    object-fit: contain;
}
.tituloSoluciones{
    color: var(--color-c1);
    font-size: 1.2rem;
     font-weight: 300;
        margin: 0px;
    line-height: 1.5;
    margin-bottom: 10px;
}
.textoSoluciones{
    font-size: 1rem;
    margin: 0px;
    line-height: 1.5;
 
}


.solucionesH3,.logoCentral, .tituloSoluciones, .textoSoluciones {
  opacity: 0;
  transform: translateY(50px);
}


@media (max-width: 1450px) {

    .cajaLogosEmpresa{
        width: 80%;
    }

}




@media (max-width: 990px) {
      .cajaLogosEmpresa{
        width: 100%;
    }


    .solucionesH3{
       font-size: 2.5rem;
    }

}

@media (max-width: 765px) {
    #bloque2{
        padding: 30px 0px;
    }
        .cajaLogosEmpresa{
        margin-bottom: 50px;
    }
        .solucionesH3{
      font-size: 2.3rem;
       margin-bottom: 10px;
    }
     
    .cajaLogosEmpresa{
    flex-direction: column;
    }

    .logoCentral{
width: 200px;
        height: auto;
    }
    .tituloSoluciones{
        font-size: 1.5rem;
        text-align: center;
    }
    .textoSoluciones{
        text-align: center;
    }

}

@media (max-width: 380px) {

       .solucionesH3{
      font-size: 2rem;
       }
           .logoCentral{
         width: 180px;
        height: auto;
    }
       .tituloSoluciones{
        font-size: 1.3rem;
       }
       .textoSoluciones{
        font-size: 0.9rem;
       }

}

@media (max-width: 340px) {

       .solucionesH3{
      font-size: 1.8rem;
       }
           .logoCentral{
         width: 150px;
        height: auto;
    }
       .tituloSoluciones{
        font-size: 1.1rem;
       }

} */


/* BLOQUE2 */


#bloque2 {
    position: relative;
    width: 100%;
    z-index: 2;
    overflow: hidden;
  
  
}

.cardTituloBloque2{
    width: 100%;
justify-content: start;
align-items: center;
  margin: 40px 0px;
}

.cardLogoBloque2 {
    width: 100%;
    margin: 40px 0px;
    display: flex;
    align-items: start;
    justify-content: start;
    gap:30px;
    padding: 20px 0px;
 
}
.cardTextoBloque2{
    width: 100%;
    margin: 40px 0px;
   padding: 20px;
}
.tituloH3bloque2{
    font-size: 3rem;
    font-weight: 300;
    margin: 0px;
    line-height: 1.2;
    color: var(--color-c1);

   
}


/*  .lineaTitulo{
 border-bottom: 1px solid var(--color-c1);
}  */



.videoWrapper {
    width: 100%;
    height: 100%;
    border-radius: 12px;     /* bordes visibles */
    overflow: hidden;         /* recorta el video */
    position: relative;       /* necesario para contener el video */
}

.videoLogo {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.2s ease;
    display: block;  
     border-radius: 12px;          
}

/* Estados iniciales para animación desde derecha o izquierda */
.videoWrapper.hidden-right {
    transform: translateX(100%);
    opacity: 0;
}

.videoWrapper.hidden-left {
    transform: translateX(-100%);
    opacity: 0;
}











.logoCentral{
    width: 140px;
    margin-bottom: 20px;
  
}
.logoDelfos, .logoDM{
    width: 120px;
      margin-bottom: 20px;
}

.tituloLogoBloque2{
font-size: 1.4rem;
font-weight: 300;
  color:var(--color-c1);
    margin: 0px;
    line-height: 1.3;
margin-bottom: 20px;
}


.textoLogoBloque2{
    font-size: 1.2rem;
    font-weight: 300;
    margin: 0px;
    line-height: 1.5;
    color:black;
}

.btnLogos {
  display: inline-block;       /* necesario para que padding funcione */
  margin-top: 30px;
  padding: 15px 35px;         /* Tamaño grande */
  font-size: 1.3rem; 
  font-weight: 300;           /* Texto grande */
  border: 1px solid var(--color-c1);
  background: transparent;     /* Fondo inicial transparente */
  color: var(--color-c1);      /* Color del texto */
  border-radius: 999px;        /* Forma pastilla */
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease;
  text-decoration: none;       /* quita subrayado de enlace */
}

/* Pseudo-elemento para el fondo que sube */
.btnLogos::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 0%;
  background: var(--color-c1);
  z-index: 0;                  /* fondo detrás del texto */
  border-radius: 999px;
  transition: height 0.4s ease-in-out;
}

/* Texto dentro del botón */
.btnLogos span {
  position: relative;
  z-index: 1;                  /* texto por encima del fondo */
  transition: color 0.4s ease;
}

/* Hover: fondo sube y texto cambia a blanco */
.btnLogos:hover span {
  color: #fff;
}

.btnLogos:hover::before {
  height: 100%;                /* fondo sube desde abajo */
}




/* MODAL BOTONES */


/* Quitar líneas del modal */

#cardModal .modal-footer,
#cardModal .modal-body {
  border: none;

}

#cardModal .modal-header,.modal-title{
font-size: 1.2rem;
background-color:var(--color-c1);
color: white;

}

#cardModal .modal-body p{
    font-size: 1rem;
    margin: 0px;
    line-height: 2;
    font-weight: 300;
}


#cardModal .modal-header .btn-close{
    width: 25px;
    height: 25px;
    
}
#cardModal .btn-close {
  filter: invert(1); /* convierte la X a blanca */
}



@media (max-width: 1200px) {

    #bloque2{
        padding-top: 40px;
        padding-bottom: 40px;
    }
    .cardTituloBloque2{
         margin: 0px;
    }
    .tituloH3bloque2{
        padding-bottom: 20px;
    }
.cardLogoBloque2{
    padding: 0px;
}
.cardTextoBloque2{
    padding: 0px;
    margin: 0px;
}
.videoLogo{
    height: 350px;
}

}


@media (max-width: 990px) {

    .tituloH3bloque2{
        font-size: 2.5rem;
    }
.tituloLogoBloque2{
    font-size: 1.2rem;
}
.textoLogoBloque2{
    font-size: 1rem;
}
.videoLogo{
    height: 300px;
}

}

@media (max-width: 765px) {
    #bloque2 {
        padding-top: 30px;
        padding-bottom: 30px;
    }

.logoCentral {
    width: 120px;
}
.logoDelfos, .logoDM {
    width: 100px;
 
}

.cardLogoBloque2 {
   flex-direction: column;
   gap:0px;
   margin: 30px 0px;
   
}
.videoLogo{
    height: 200px;
}

.tituloLogoBloque2{
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.btnLogos{
    margin-top: 20px;
    font-size: 1rem;
}


}

@media (max-width: 320px) {

    .tituloH3bloque2 {
        font-size: 2rem;
    }
    .tituloLogoBloque2{
    margin-bottom: 10px;
    font-size: 1rem;
}

.textoLogoBloque2 {
        font-size: 0.9rem;
    }
.videoLogo{
    height: 150px;
}

}