/* =========================
   TESTIMONIOS - BASE
========================= */
.testimonios-banner {
  padding: 60px 20px;
  background: #f9f9f9;
  text-align: center;
}

.testimonios-banner h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: #1A3E6B;
  position: relative;
  display: inline-block;
}

.testimonios-banner h2:after {
  content: '';
  position: absolute;
  width: 50%;
  height: 4px;
  background: linear-gradient(to right, transparent, #ffa435, transparent);
  bottom: -10px;
  left: 25%;
  border-radius: 2px;
}

.testimonios-banner p {
  font-size: 1.2rem;
  color: #9E9E9E;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* 🖼 Videos */
.videos-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Desktop: 3 columnas */
  gap: 30px;
  justify-items: center;
}

.video-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  padding: 20px;
  max-width: 400px;
  width: 100%;
  transition: transform 0.3s ease;
}

.video-card:hover {
  transform: translateY(-5px);
}

.video-card video {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.video-card p {
  margin-top: 15px;
  font-size: 0.95rem;
  color: #444;
}

/* =========================
   RESPONSIVO TABLET
========================= */
@media (max-width: 1024px) {
  .videos-container {
    grid-template-columns: repeat(2, 1fr); /* Tablet: 2 columnas */
    gap: 20px;
  }

  .testimonios-banner h2 {
    font-size: 2rem;
  }

  .testimonios-banner p {
    font-size: 1.1rem;
  }

  .video-card {
    padding: 15px;
  }

  .video-card video {
    border-radius: 8px;
  }
}

/* =========================
   RESPONSIVO MÓVIL
========================= */
@media (max-width: 768px) {
  .videos-container {
    grid-template-columns: 1fr; /* Móvil: 1 columna */
    gap: 15px;
  }

  .testimonios-banner h2 {
    font-size: 1.8rem;
  }

  .testimonios-banner p {
    font-size: 1rem;
  }

  .video-card {
    padding: 12px;
  }

  .video-card video {
    border-radius: 6px;
  }
}

/* =========================
   RESPONSIVO PEQUEÑOS MÓVILES
========================= */
@media (max-width: 480px) {
  .testimonios-banner h2 {
    font-size: 1.6rem;
  }

  .testimonios-banner p {
    font-size: 0.95rem;
  }

  .video-card {
    padding: 10px;
  }

  .video-card video {
    border-radius: 4px;
  }
}
