* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, sans-serif;  
}
.espacio{
    width: 100px;
    height: 205px;
}
.motivo{
    width: 100%;
    display: grid;
  grid-template-columns: auto auto auto auto; 
  gap: 30px;
padding: 8px;
 margin:auto ;
 justify-content: center;

      
    
    }
    .tex{
        width: 80%;
        margin: auto;
        align-content: center;
             padding-top: 10px;
      padding-bottom: 25px;
       text-align: center;

    }
    .tex h1{
    
         background: linear-gradient(135deg, #BF953F, #B38728,  #AA771C);
   -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
    font-size: 35PX;
    padding-bottom: 12px;
    }
    .tex Samp{
    background: linear-gradient(135deg, #BF953F, #B38728,  #AA771C);
   -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
    font-size: 23PX;
    font-family: 'Times New Roman', Times, serif;
        padding-bottom: 12px;
    }
    .tex p{
        padding-top: 12px;
        color: black;
        font-family:Arial, Helvetica, sans-serif;
        font-size: 15px;
        padding-bottom: 15px;
           
    }
 
.card {
  width: 290px;
  height: 454px;
 background: #ffe78f;
 background: linear-gradient(135deg, #BF953F, #B38728,  #AA771C);
  transition: all 0.4s;
  border-radius: 10px;
  color: white; 
  text-align: center; 
  box-shadow: 0px 0px 10px 5px  rgba(0, 0, 0, 0.705);
  font-size: 30px;
  font-weight: 900;
  

}

.card:hover {
  border-radius: 15px;
  cursor: pointer;

  transform: scale(1.2);
  box-shadow: 0px 0px 10px 5px  rgba(0, 0, 0, 0.705);
  background: rgb(0, 2, 22);
}

.first-content {
  height: 100%;
  width: 100%;
  transition: all 0.4s;
  display: flex;
  font-size: 18px;  
  font-family:Georgia, 'Times New Roman', Times, serif; 
  justify-content: center;
  align-items: center;
  opacity: 1;
  border-radius: 15px;
}

.card:hover .first-content {
  height: 0px;
  opacity: 0;
}

.second-content {
  height: 0%;
  width: 100%;
  opacity: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 15px;
  transition: all 0.4s;
  font-size: 10px;
  margin: auto;
   text-align: center;  
  transform: rotate(90deg) scale(-1);
}

.card:hover .second-content {
  opacity: 1;
  height: 100%;
  font-size: 15px;
  transform: rotate(0deg);
   text-align: center;
   color: white;
   font-family:Georgia, 'Times New Roman', Times, serif;
}
.titulo_carrucel{
  width: 70%;
  text-align: center;
  font-size: 30px;
  font-weight: bold;
  background: #001542;

    BORDER-RADIUS: 10PX;
  margin-bottom: 20px;
  PADDING: 30PX;
  margin: auto; 
  display: flex;
 margin-top: 50px;

  justify-content: center;
}
.titulo_carrucel h4{
  color: white;
  font-family:Georgia, 'Times New Roman', Times, serif;
}
.titulo_carrucel Samp{
  color: white;
  font-family:Georgia, 'Times New Roman', Times, serif; 
}

.tarjetas{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  width: 80%;
  flex-wrap: wrap;  
  margin: auto; 
  justify-content: center;
  text-align: center; 
  MARGIN-BOTTOM: 50PX;  
}

.carrusel-container {
  width: 100%;
  overflow: hidden;
  margin: 40px auto;
}

.carrusel   {
  display: flex;
  gap: 20px;
  transition: transform 0.4s ease;
}

.carrusel .tarjeta {
  min-width: 280px;
  max-width: 280px;
 background: #ffe78f;
 background: linear-gradient(135deg, #BF953F, #B38728,  #AA771C);
  color: #ffffff;
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  text-align: left;
}

.carrusel .tarjeta h3 {
  margin-bottom: 12px;
  font-size: 20px;
  color: #ffffff;
}

.carrusel .tarjeta p {
  font-size: 16px;
  line-height: 1.2;
}

.carrusel-botones {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
}

.btn-carrusel {
  border: none;
  background: #b38728;
  color: white;
  padding: 10px 18px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn-carrusel:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-carrusel:hover:not(:disabled) {
  background: #7f6015;
}

.carrusel-indicadores {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.indicador {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
}

.indicador.activo {
  background: #b38728;
}

    @media (max-width: 1208px){
        .motivo{
            width: 100%;
            display: grid;
          grid-template-columns: auto auto ; 
          gap: 15px;  
          PADDING: 10PX;  
     
    
    }
    .card {
        width: 175px;
        height: 300px;
     font-size: 10px;

}
.card:hover {
  transform: scale(1.0);
  
}

.first-content {
 
  font-size: 12px;  
 
}
.card:hover .second-content {
font-size: 12px;
padding:5px;
   text-align: center;
   color: white;
   font-family:Georgia, 'Times New Roman', Times, serif;  
}
   

    }