.seccion-video {
  position: relative;
  padding: 80px 20px;
  background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
              url('../../imagenes/56a829cc-44b2-4994-a615-92660b250431.png') center center / cover no-repeat;
  color: white;
  overflow: hidden;
}

.video-slider-contenedor {
  max-width: 1200px;
  margin: auto;
  position: relative;
}

.video-slider {
  position: relative;
}

.video-slide {
  display: none;
}

.video-slide.activo {
  display: block;
}

.video-caja {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.video-texto {
  flex: 1 1 400px;
  max-width: 500px;
  opacity: 0;
  transform: translateY(50px);
  animation: slideUp 0.8s ease forwards;
}

.video-frame {
  flex: 1 1 500px;
  max-width: 600px;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(-50px);
  animation: slideDown 0.8s ease forwards;
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: none;
}

@keyframes slideUp {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slideDown {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.boton-agendar {
  background-color: #00aaff;
  color: white;
  padding: 14px 28px;
  font-size: 1em;
  border-radius: 30px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  display: inline-block;
  margin-top: 20px;
}

.boton-agendar:hover {
  background-color: #0077cc;
}

/* FLECHAS CORRECTAMENTE FUERA */

/* FLECHAS LIMPIAS Y MINIMALISTAS SIN FONDO NI RADIO */
.flecha {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.8em;
  color: white;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  z-index: 10;
  transition: transform 0.2s ease, opacity 0.2s ease;
  opacity: 0.7;
}

.flecha:hover {
  transform: translateY(-50%) scale(1.2);
  opacity: 1;
}

.flecha-izquierda {
  left: 20px;
}

.flecha-derecha {
  right: 20px;
}

