/* CONTENEDOR */
.video-box {
    position: relative;
    cursor: pointer;
  }
  
  /* BOTÓN PLAY */
  .play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.7);
  
    width: clamp(70px, 12vw, 110px);
    height: clamp(70px, 12vw, 110px);
  
    background: radial-gradient(circle at 30% 30%, #0d4dbb, #003899);
    border-radius: 50%;
  
    display: flex;
    align-items: center;
    justify-content: center;
  
    opacity: 0;
    transition: all 0.4s ease;
  }
  
  /* TRIÁNGULO */
  .play-btn::before {
    content: '';
    border-left: 22px solid white;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    margin-left: 6px;
  }
  
  /* EFECTO HOVER (APARECE) */
  .video-box:hover .play-btn {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  
  /* EFECTO HOVER EXTRA */
  .video-box:hover img {
    transition: 0.4s ease;
  }
  
  /* ANIMACIÓN PULSE */
  .play-btn::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #003899;
    animation: pulse 2s infinite;
    z-index: -1;
  }
  
  @keyframes pulse {
    0% {
      transform: scale(1);
      opacity: 0.7;
    }
    70% {
      transform: scale(1.6);
      opacity: 0;
    }
    100% {
      opacity: 0;
    }
  }
  
  /* ================= MODAL PRO ================= */
  
  .video-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(8px);
  
    opacity: 0;
    transition: opacity 0.4s ease;
  }
  
  .video-modal.active {
    display: block;
    opacity: 1;
  }
  
  /* CONTENIDO */
  .video-content {
    position: relative;
    width: 85%;
    max-width: 900px;
    margin: 5% auto;
  
    transform: scale(0.8);
    transition: transform 0.4s ease;
  }
  
  .video-modal.active .video-content {
    transform: scale(1);
  }
  
  /* VIDEO */
  .video-content iframe {
    width: 100%;
    height: 500px;
    border-radius: 12px;
  }
  
  /* CERRAR */
  .close {
    position: absolute;
    top: -40px;
    right: 0;
    font-size: 40px;
    color: white;
    cursor: pointer;
    transition: 0.3s;
  }
  
  .close:hover {
    transform: scale(1.2);
  }


  .video-content video {
    width: 100%;
    height: 500px;
    border-radius: 12px;
    object-fit: cover;
  }
  .video-box img {
    transition: all 0.4s ease;
  }
  
  /* Blur + oscurecer */
  .video-box:hover img {
    filter: blur(5px) ;
  }

  