/* ===== Retos: sin sombras, simple, siempre visible ===== */

.retos .reto-card{
  position: relative;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* Capa oscura por defecto para que el texto resalte */
.retos .reto-card::after{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  border-radius: 10px;
  z-index: 1;
  pointer-events: none;
}

/* Contenido por encima de la capa oscura */
.retos .reto-card > *{
  position: relative;
  z-index: 2;
}

/* header con icono y título */
.retos .reto-header{
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
}

/* iconos verdes */
.retos .reto-icon{
  width: 28px;
  height: 28px;
  color: rgb(var(--color-verdeZ-500));
  flex: 0 0 auto;
}

.retos .reto-icon svg{
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* headline visible siempre */
.retos .reto-title{
  font-weight: 600;
  font-size: clamp(15px, 2.8vw, 18px);
  line-height: 1.2;
}

/* contenido siempre visible */
.retos .reto-body{
  display: block;
}

/* texto del body */
.retos .reto-body p{
  margin: 0;
  font-size: clamp(13px, 2.7vw, 15px);
  line-height: 1.35;
  opacity: .85;
}

/* mejora tactil */
@media (max-width: 768px){
  .retos .reto-card{ padding: 14px; }
}
@media (min-width: 769px){
  .retos .reto-card{ padding: 16px; }
}

/* Swipe real aunque Swiper no enganche */
retos .retos-footer{
  font-size: clamp(15px, 3.6vw, 18px);
  line-height: 1.35;
  color: rgba(255,255,255,.86);
  margin-top: 24px;
}
.retos .retos-footer strong{
  color: #fff;
}
