/**
 * Video component — Smart Catering Child
 *
 * .sc-video: video HTML5 inline reutilizable.
 *   - .sc-video--home: variante para la home (16/9, max-width 1280px, redondeado).
 *   - .sc-video--cine: variante cinemática full-bleed para la página Sobre
 *     (sin redondeo, sin max-width, controles visibles del navegador).
 *
 * Namespaced bajo body.scc-fase0 para coherencia con el resto del child.
 * UNLAYERED — encola DESPUES de section.css.
 *
 * @package SmartCateringChild
 */

body.scc-fase0 .sc-video {
  width: 100%;
  height: auto;
  display: block;
  background: #000;
}

/* ===== Home: video con caja editorial ===== */
body.scc-fase0 .sc-video--home {
  max-width: 1280px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

/* ===== Sobre: video cinemático full-bleed ===== */
body.scc-fase0 .sc-video--cine {
  max-width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 0;
}

/* ===== Vignette overlay para variante cinemática ===== */
body.scc-fase0 .sc-video-frame {
  position: relative;
  width: 100%;
  background: #000;
  overflow: hidden;
}
body.scc-fase0 .sc-video-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    ellipse at center,
    transparent 55%,
    rgba(0, 0, 0, 0.45) 100%
  );
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  body.scc-fase0 .sc-video--home {
    border-radius: 4px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
  }
}
