/* ===========================
   SECCIÓN VIDEO EN OBRA · HOME
   Mobile-first. Franja oscura con el video vertical
   y el bloque de texto al costado en desktop.
   =========================== */

.vid {
  background: #0F1216;
  color: #fff;
  padding: 72px 22px 80px;
}

.vid__inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

/* ---- Texto ---- */
.vid__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.vid__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #F65F01;
  line-height: 1;
}

.vid__eyebrow-line {
  display: inline-block;
  width: 22px;
  height: 2px;
  background: #F65F01;
}

.vid__title {
  margin: 0;
  font-size: clamp(1.75rem, 6.5vw, 2.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff;
  text-wrap: balance;
}

.vid__title em {
  font-style: italic;
  font-weight: 800;
  color: #F65F01;
}

.vid__text {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
  max-width: 52ch;
}

/* ---- Lista de bullets ---- */
.vid__list {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vid__list-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 600;
  color: #fff;
  line-height: 1.5;
}

.vid__check {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  color: #F65F01;
}

/* ---- CTA ---- */
.vid__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 54px;
  margin-top: 8px;
  padding: 16px 28px;
  background: #F65F01;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  border-radius: 999px;
  transition: background 0.2s ease, transform 0.12s ease;
}

.vid__cta svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.vid__cta:hover,
.vid__cta:focus-visible {
  background: #D14E00;
  color: #fff;
}

.vid__cta:hover svg,
.vid__cta:focus-visible svg {
  transform: translate(2px, -2px);
}

.vid__cta:active {
  transform: translateY(1px);
}

.vid__cta:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

/* ---- Reproductor ---- */
.vid__player {
  display: flex;
  justify-content: center;
}

.vid__video {
  display: block;
  width: 100%;
  max-width: 340px;
  height: auto;
  aspect-ratio: 478 / 850;
  background: #000;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.45);
}

/* ---- Tablet (>= 640px) ---- */
@media (min-width: 640px) {
  .vid {
    padding: 96px 32px 104px;
  }

  .vid__cta {
    width: auto;
    align-self: flex-start;
  }

  .vid__video {
    max-width: 360px;
  }
}

/* ---- Desktop (>= 1024px): texto y video lado a lado ---- */
@media (min-width: 1024px) {
  .vid {
    padding: 120px 40px 132px;
  }

  .vid__inner {
    flex-direction: row;
    align-items: center;
    gap: 64px;
  }

  .vid__content {
    flex: 1;
    min-width: 0;
  }

  .vid__player {
    flex: 0 0 auto;
  }

  .vid__title {
    font-size: clamp(2rem, 3vw, 2.625rem);
  }

  .vid__video {
    max-width: 380px;
  }
}

/* ---- Reveal heredado ---- */
.vid.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.vid.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Reduce motion ---- */
@media (prefers-reduced-motion: reduce) {
  .vid.reveal {
    transition: none;
    opacity: 1;
    transform: none;
  }

  .vid__cta,
  .vid__cta svg {
    transition: none;
  }
}
