/* Hero (video background) */
.hero {
  position: relative;
  /* full-bleed: ocupar todo el ancho de la ventana incluso si está dentro de un contenedor */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  height: 80vh;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* garantiza que el video cubra todo el contenedor sin franjas */
  object-position: center center;
  z-index: 1;
  filter: brightness(0.55) contrast(0.95);
}

/* Si el video tiene 'pillarbox' (barras negras a los lados) escalamos un poco para recortarlas */
.hero-video {
  display: block;
  transform-origin: center center;
  transform: scale(1.2);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: var(--text-white);
  padding: 0 20px;
  max-width: 1100px;
}

.hero-title {
  font-size: 74px;
  line-height: 0.95;
  margin: 0 0 30px 0;
  font-weight: 500;
  letter-spacing: -1px;
  text-shadow: 0 6px 18px rgba(0,0,0,0.45);
  font-family: "Manrope", "Arial", sans-serif;
}

.hero-cta {
  display: inline-block;
  padding: 18px 44px;
  border-radius: 999px;
  background: var(--red-primary);
  color: var(--text-white);
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

@media (max-width: 1200px) {
  .hero-title { font-size: 64px; }
  .hero { min-height: 460px; }
}

@media (max-width: 768px) {
  .hero { height: 60vh; min-height: 380px; }
  .hero-title { font-size: 36px; }
  .hero-cta { padding: 12px 28px; font-size: 14px; }
}

@media (max-width: 420px) {
  .hero-title { font-size: 28px; }
  .hero { min-height: 300px; }
  .hero-cta { padding: 10px 20px; font-size: 13px; }
}