/* SECCIÓN VIDEO */
.video-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: 40px;
  padding: 40px 20px;
  margin-bottom: 80px; /* más espacio antes del contacto */
}

.video-container {
  position: relative;
  width: 100%;
  height: 500px;
  border-radius: 12px;
  overflow: hidden;
}

.video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.45);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  padding: 20px;
}

.video-overlay h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.video-overlay p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  max-width: 600px;
}

/* BOTÓN PLAY */
.play-btn {
  background: #ffb400;
  border: none;
  padding: 12px 25px;
  font-size: 1rem;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 30px;
  transition: background 0.3s;
}

.play-btn:hover {
  background: #e69a00;
}

.play-btn i {
  font-size: 1.5rem;
}

/* MODAL DE VIDEO */
.video-modal {
  display: none; /* oculto por defecto */
  position: fixed;
  z-index: 999;
  inset: 0;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.video-modal video {
  width: 100%;
  max-width: 900px;
  border-radius: 10px;
}

.video-modal .close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
}

/* 📱 Móviles pequeños */
@media (max-width: 480px) {
  .video-container {
    height: 220px;
  }
  .video-overlay h2 {
    font-size: 1.2rem;
  }
  .video-overlay p {
    font-size: 0.9rem;
  }
  .play-btn {
    padding: 8px 14px;
    font-size: 0.85rem;
  }
  .play-btn i {
    font-size: 1.2rem;
  }
}

/* 📱 Tablets */
@media (max-width: 768px) {
  .video-container {
    height: 300px;
  }
  .video-overlay h2 {
    font-size: 1.5rem;
  }
  .video-overlay p {
    font-size: 1rem;
  }
  .play-btn {
    padding: 10px 18px;
    font-size: 0.9rem;
  }
}

/* 💻 Pantallas grandes */
@media (min-width: 1200px) {
  .video-container {
    height: 600px;
  }
  .video-overlay h2 {
    font-size: 2.5rem;
  }
  .video-overlay p {
    font-size: 1.2rem;
  }
}

