/* El mismo fotograma completo en escritorio, tableta y teléfono. */
.hero {
  padding-block: clamp(36px, 5.5vw, 84px) clamp(48px, 6vw, 96px);
}
.hero__grid {
  max-width: 1400px;
  grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr);
  grid-template-areas: "heading media" "copy media";
  column-gap: clamp(32px, 3.5vw, 56px);
  row-gap: 0;
}
.hero__heading { grid-area: heading; align-self: end; }
.hero__copy { grid-area: copy; align-self: start; }
.hero__media { grid-area: media; min-width: 0; }
.hero-film {
  position: relative;
  overflow: hidden;
  margin: 0;
  background: #0b0d12;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
}
.hero-film video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
}
.hero-film__toggle {
  position: absolute;
  right: 8px;
  bottom: 8px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #64718a;
  border-radius: 50%;
  color: #fff;
  background: #0b0d12e8;
  cursor: pointer;
}
.hero-film__toggle:focus-visible { outline-offset: -4px; }
.hero-film__toggle:hover { background: #203252; }
.hero-film__toggle svg { width: 17px; height: 17px; fill: currentColor; }
.hero-film__toggle[hidden],
.hero-film__toggle[data-playing="true"] .film-play,
.hero-film__toggle[data-playing="false"] .film-pause { display: none; }
.hero-demo { margin-top: 8px; }
.hero-demo summary {
  display: list-item;
  width: fit-content;
  padding-block: 10px;
  color: var(--accent-text);
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
}
.hero-demo[open] summary { margin-bottom: 4px; }
@media (max-width: 960px) {
  .hero__grid {
    max-width: 800px;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "heading" "media" "copy";
    gap: 20px;
  }
  .hero__title { margin-bottom: 0; }
}
@media (max-width: 640px) {
  .hero { padding-top: 28px; }
  .hero-film__toggle { bottom: 4px; right: 4px; }
}
