/* =====================================================
   VIDEO SHOWCASE — Sección cinematográfica impactante
   ===================================================== */

#video-showcase {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 560px;
  max-height: 900px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--deep);
}

/* ── Vídeo de fondo ── */
#video-showcase .vs-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.65;
  transition: opacity 0.8s ease;
}

/* ── Gradiente teal sobre el vídeo ── */
#video-showcase::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(27,55,41,0.55) 0%,
      rgba(27,55,41,0.15) 35%,
      rgba(27,55,41,0.15) 65%,
      rgba(27,55,41,0.78) 100%),
    linear-gradient(135deg, rgba(208,93,62,0.07) 0%, transparent 60%);
  z-index: 1;
}

/* ── Contenido central ── */
.vs-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
  max-width: 860px;
}

.vs-label {
  font-family: 'Montserrat', sans-serif;
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--coastal);
  border: 1px solid rgba(143,191,174,0.35);
  border-radius: 50px;
  padding: 0.4rem 1.1rem;
  margin-bottom: 1.4rem;
  background: rgba(143,191,174,0.07);
}

.vs-title {
  font-family: 'Quicksand', sans-serif;
  font-size: clamp(2rem, 5.5vw, 4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.2rem;
  text-shadow: 0 2px 40px rgba(27,55,41,0.60);
}

.vs-title span {
  color: var(--coastal);
}

.vs-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  font-weight: 300;
  color: rgba(255,255,255,0.75);
  margin-bottom: 2.4rem;
  line-height: 1.6;
}

/* ── Botón play ── */
.vs-play-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(208,93,62,0.12);
  border: 1px solid rgba(208,93,62,0.50);
  color: var(--gold);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  cursor: pointer;
  transition:
    transform  200ms var(--ease-out),
    background 200ms var(--ease-out),
    box-shadow 200ms var(--ease-out);
  backdrop-filter: blur(8px);
}

@media (hover: hover) and (pointer: fine) {
  .vs-play-btn:hover {
    background: rgba(208,93,62,0.22);
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(208,93,62,0.28);
  }
}
.vs-play-btn:active { transform: scale(0.95); }

.vs-play-btn svg {
  width: 22px; height: 22px;
  fill: var(--gold);
}

/* ── Botón silencio ── */
.vs-mute-btn {
  position: absolute;
  bottom: 1.8rem;
  right: 2rem;
  z-index: 3;
  background: rgba(8,20,30,0.60);
  border: 1px solid rgba(143,191,174,0.20);
  color: var(--text);
  font-size: 1.1rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background   200ms var(--ease-out),
    border-color 200ms var(--ease-out),
    transform    150ms var(--ease-out);
  backdrop-filter: blur(6px);
}

@media (hover: hover) and (pointer: fine) {
  .vs-mute-btn:hover {
    background: rgba(208,93,62,0.20);
    border-color: var(--gold);
  }
}
.vs-mute-btn:active { transform: scale(0.90); }

/* ── Barra inferior — scroll hint ── */
.vs-scroll-hint {
  position: absolute;
  bottom: 1.8rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  color: rgba(255,255,255,0.40);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: vs-bounce 2s infinite;
}

.vs-scroll-hint svg {
  width: 20px; height: 20px;
  stroke: rgba(255,255,255,0.40);
}

@keyframes vs-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ── Modal de video fullscreen ── */
.vs-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  background: rgba(27,55,41,0.96);
  align-items: center;
  justify-content: center;
}

.vs-modal.open {
  display: flex;
}

.vs-modal-inner {
  position: relative;
  width: min(92vw, 1100px);
  aspect-ratio: 16/9;
}

.vs-modal-inner video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
}

.vs-modal-close {
  position: absolute;
  top: -44px;
  right: 0;
  background: none;
  border: none;
  color: var(--text);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
  opacity: 0.8;
}

.vs-modal-close:hover { opacity: 1; color: var(--gold); }

/* ── Responsive ── */
@media (max-width: 600px) {
  #video-showcase {
    max-height: 680px;
  }
  .vs-play-btn {
    font-size: 0.85rem;
    padding: 0.8rem 1.5rem;
  }
}
