.opening {
  position: relative;
  isolation: isolate;
  background: #101010;
  color: #fff;
}
.opening-image {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.opening-image img {
  height: 100%;
  object-fit: cover;
  object-position: 65% center;
}
.opening-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #101010 0%, #101010e8 35%, #10101044 75%, #10101020 100%);
}
.opening-image figcaption {
  position: absolute;
  z-index: 1;
  bottom: 14px;
  right: 20px;
  padding: 4px 8px;
  background: #101010;
  color: #fff;
}
.opening-content {
  display: flex;
  align-items: center;
  min-height: clamp(470px, 62vh, 700px);
  padding-block: clamp(42px, 7vw, 96px);
}
.opening-copy {
  max-width: 550px;
  padding: clamp(16px, 3vw, 32px);
  background: #101010;
  border-left: 3px solid #b30e1e;
}
.opening h1 {
  margin-bottom: 20px;
  font-size: clamp(2.35rem, 5vw, 5rem);
  line-height: 1;
  letter-spacing: -.055em;
}
.opening-copy p:not(.kicker) { max-width: 42ch; }
.opening-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}
.opening-actions > a:not(.button) { padding-block: 10px; }
.course-banner {
  background: #a8101c;
  color: #fff;
}
.course-banner .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 28px;
  padding-block: 22px;
}
.course-banner strong { font-size: clamp(1.3rem, 3vw, 2rem); }
.course-banner p { margin: 0; }
.course-banner a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 8px 16px;
  background: #fff;
  color: #101010;
  font-weight: 750;
  text-decoration: none;
}
.course-banner a:hover { background: #f2d9da; }
.chapter-nav {
  padding-block: 14px;
  border-bottom: 1px solid #c7c3bf;
  gap: 0 24px;
}
.chapter-nav a { font-weight: 650; }
.chapter-nav a:hover,.home-practice a:hover { color: #a8101c; }
.home-practice {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(20px, 5vw, 72px);
}
.home-practice figcaption { color: #454545; }
.home-practice img { aspect-ratio: 16 / 10; object-fit: cover; }
#en-rodaje,#explorar,#contacto { scroll-margin-top: 16px; }
@media (prefers-reduced-motion: no-preference) {
  html:focus-within { scroll-behavior: smooth; }
}
@media (max-width: 760px) {
  .opening { display: flex; flex-direction: column; }
  .opening-content { order: -1; min-height: auto; width: 100%; padding-block: 30px; }
  .opening-copy { max-width: none; padding: 0 0 0 14px; }
  .opening-image { position: relative; inset: auto; z-index: auto; }
  .opening-image img { aspect-ratio: 16 / 10; height: auto; }
  .opening-image::after { display: none; }
  .opening-image figcaption { bottom: 6px; right: 8px; font-size: .7rem; }
  .home-practice { grid-template-columns: 1fr; }
}
.archivo-rodajes-fotos{aspect-ratio:3/2;background:#111}
.home-practice .archivo-rodajes-fotos img{height:100%;width:100%;object-fit:contain}
#archivo-rodajes [hidden]{display:none}

@media(max-width:760px){.opening-image img{aspect-ratio:auto;object-fit:contain;object-position:center}.opening-image figcaption{position:static;padding:8px 16px;background:#111}}
