#bloque2{
    width: 100%;
    background-color: #141414;
    padding-bottom: 50px;
}





/* TARGETAS.............. */

#targetasBloque2{
    position: relative;
    margin-top: -80px;
    z-index: 3;
}

.cardNegra{
    width: 100%;
    height: 400px;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: center;
  padding: 20px 0px;
}

.cardBlanca{
 width: 100%;
    height: 400px;
    background-color: #B69B82;
    opacity: 0;
  transform: translateY(400px);
   -webkit-transform: translateY(400px);
  animation: subir 1.5s forwards ease-out;
   -webkit-animation: subir 1.5s forwards ease-out;
     display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    padding: 10px;
}
/* Animación keyframes */
@keyframes subir {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}





.textoConseguir{
  text-align: center;
    font-family: "Bebas Neue", Sans-serif;
    font-size: 3.5rem;
    font-weight: 400;
    line-height: 62px;
    color: #B69B82;

}

.cardNegra i{
   font-size: 6rem;
   font-weight: bold;
   color:white;
   
}

.textNumero{
font-family: "Montserrat", Sans-serif;
    font-size: 4rem;
    font-weight: 800;
    color:white

}

.textEntrena{
text-align: center;
    font-family: "Bebas Neue", Sans-serif;
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 41px;
    color: #FFFFFF;
}

.textoResumen{
  font-size: 1rem;
  text-align: center;
    font-family: "Montserrat", Sans-serif;
    color: #FFFFFF;
}



/* PARTE2 BLOQUE2............................ */
#container2Bloque2{
  margin-top: 50px;
}
.imagenBloque2{
   position: relative; 
    width: 100%;
    height: 600px;
    background-image: url(../images/gloves-box-costa-rica-19.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    justify-content: end;
    align-items: end;
    padding: 20px;
    border-right: #B69B82 3px solid;
}

/* Overlay oscuro */
.imagenBloque2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5); /* negro semitransparente */
  z-index: 1; /* por debajo del contenido */
}

/* Contenido dentro de .imagenBloque2 */
.imagenBloque2 > * {
  position: relative;
  z-index: 2; /* para que quede encima del overlay */
}

.cardtextoImg{
  width: 350px;

}
.cardtextoImg p{
  text-align: end;
  font-family: "Bebas Neue", Sans-serif;
    font-size: 2.8rem;
    font-weight: 300;
    line-height: 1.1em;
    letter-spacing: 10px;
    color: #B69B82;
}


.cardContenidoBloque2{
  width: 80%;

}

.cardChecks{
  display: flex;
  gap:10px;
  margin-bottom: 20px;
}

.cardChecks i{
 font-size: 1.25em;
  font-weight: 900;
  color: #B69B82;
}
.textTituloBloque2{
 font-family: "Montserrat", Sans-serif;
 font-size: 1rem;
 font-weight: 600;
 color: white;
 margin: 0px;
 line-height: 1.2;
 margin-bottom: 5px;
}

.textBloque2{
 font-family: "Montserrat", Sans-serif;
 font-size: 1rem;
 font-weight: 300;
 color: white;
 margin: 0px;
 line-height: 1.3;
}

.buttonProbar2 {
   display: inline-block; 
    background-color: #B69B82;
    font-family: "Montserrat", Sans-serif;
    font-weight: 500;
    text-decoration: none;
    letter-spacing: 2.8px;
    color: white;
    border-radius: 5px 5px 5px 5px;
    font-size: 1.1rem;
    padding: 20px 40px;
 margin-top: 10px;
}
.buttonProbar2:hover{
    background-color: white;
    color: #B69B82;
}
.textoQuedan2{
font-family: "Montserrat", Sans-serif;
    color: #FFFFFF;
    font-size: 1rem;
    font-weight: 300;
    margin-top: 30px;
}



/* LINEAS SVG DE SEPARACION.............................. */ 

.shape-container {
    width: 100%;
    overflow: hidden;
      background-color: #404040;
}

.shape-container svg {
    width: 100%;
    height: 77px;
    display: block;
}

.shape-container svg .shape-fill {
    fill: #B69B82; /* mismo color que antes */
}

/* SVG superior invertido verticalmente */
.shape-container.top svg {
    transform: scaleY(-1); /* voltea verticalmente */
    transform-origin: center; /* mantiene alineación al centro */
    background-color: #141414;
}

/* SVG inferior (ya normal) */
.shape-container.bottom svg {
    transform: none; /* opcional, ya es normal */
  
}










/* MEDIAQUERI.............................. */






@media (max-width: 1200px) {
  #bloque2{

    padding-bottom: 30px;
}

  .cardNegra, .cardBlanca{
    margin-bottom: 20px;
  }
#bloque2{
    height: auto;
}
.cardContenidoBloque2{
  width: 100%;

}

.cardtextoImg p{
  font-size: 2.2rem;
}

}

@media (max-width: 990px) {

}

@media (max-width: 765px) {



  .cardNegra{
    height: auto;
  }

.cardNegra i{
   font-size: 5rem;
   font-weight: bold;
   color:white;
 transform: rotate(90deg);
   
}

.textoConseguir{
    font-size: 2.5rem;
  
}

  .imagenBloque2{
   position: relative; 
    width: 100%;
    height: 400px;
margin-bottom: 30px;

}
.cardtextoImg p {
        font-size: 1.8rem;
    }

}