.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.hero--carousel {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - var(--site-chrome-height, 132px));
  min-height: calc(100svh - var(--site-chrome-height, 132px));
  padding: 0;
  overflow: hidden;
  background: #13283e;
  touch-action: pan-y;
}
.hero__slides, .hero-slide, .hero__slides::after {
  position: absolute;
  inset: 0;
}
.hero__slides { z-index: -1; }
.hero-slide {
  opacity: 0;
  visibility: hidden;
  transition: opacity 900ms ease, visibility 900ms;
}
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__slides::after {
  content: "";
  background: linear-gradient(90deg, rgba(8,23,39,.93) 0%, rgba(8,23,39,.78) 34%, rgba(8,23,39,.23) 72%, rgba(8,23,39,.14) 100%), linear-gradient(0deg, rgba(8,23,39,.85), transparent 42%);
}
.hero__main { display: flex; align-items: center; flex: 1; padding-top: 64px; padding-bottom: 44px; }
.hero--carousel .hero__content { width: min(100%, 720px); }
.hero--carousel .hero__title { font-size: clamp(36px,3.8vw,60px); line-height: 1.2; color: #fff; }
.hero--carousel .hero__title-accent { font-size: clamp(20px,1.8vw,27px); color: #e0e7ef; margin-top: 18px; }
.hero--carousel .hero__pill { color: #e2bd80; border-left-color: #e2bd80; }
.hero--carousel .hero__lede { color: #e0e7ee; max-width: 650px; font-size: 16px; line-height: 1.9; margin-bottom: 28px; }
.hero--carousel .hero__actions { margin-bottom: 26px; }
.hero__scene-label { color: #e2bd80; font-size: 13px; letter-spacing: .04em; min-height: 23px; }
.hero-scene { display: none; }
.hero-scene.is-active { display: inline; }
.hero__footer { display: flex; justify-content: space-between; align-items: end; gap: 32px; padding-bottom: 42px; }
.hero--carousel .hero__stats { width: min(100%,640px); padding-top: 22px; grid-template-columns: repeat(4,minmax(0,1fr)); border-top-color: rgba(255,255,255,.3); }
.hero--carousel .hero__stats span { color: #d3dce6; }
.hero__controls { flex-shrink: 0; }
.hero__dots { display: flex; gap: 8px; margin-bottom: 4px; }
.hero-dot { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; cursor: pointer; }
.hero-dot::before { content: ""; width: 100%; height: 3px; background: rgba(255,255,255,.42); }
.hero-dot.is-active::before { background: #e2bd80; }
.hero-dot:disabled { opacity: .25; cursor: default; }
.hero__control-row { display: flex; gap: 8px; }
.hero-arrow, .hero-toggle { color: #fff; border: 1px solid rgba(255,255,255,.48); background: rgba(8,23,39,.28); border-radius: 2px; min-height: 42px; cursor: pointer; }
.hero-arrow { width: 44px; font-size: 22px; }
.hero-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 0 14px; min-width: 92px; font-size: 13px; }
.hero-arrow:hover, .hero-toggle:hover { background: rgba(255,255,255,.13); }
.hero__controls button:focus-visible { outline: 3px solid #e2bd80; outline-offset: 4px; }

.gallery--production { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2,210px); grid-auto-rows: auto; gap: 16px; margin-bottom: 48px; }
.gallery--production .gallery__item--lg { grid-column: span 1; grid-row: span 2; }
.gallery--production figcaption { position: absolute; inset: auto 0 0; color: #fff; font-size: 14px; padding: 32px 18px 14px; background: linear-gradient(transparent,rgba(8,23,39,.88)); }

html[lang=ru] .hero--carousel .hero__title { font-size: clamp(34px,3.5vw,54px); }
html[lang=ru] .hero--carousel .hero__lede { font-size: 15px; }
@media(min-width:1400px) {
  .hero__main { padding-top: 80px; padding-bottom: 54px; }
}
@media(max-width:1024px) {
  .hero--carousel .hero__content { max-width: 650px; }
  .hero__slides::after { background: linear-gradient(90deg,rgba(8,23,39,.91),rgba(8,23,39,.5)),linear-gradient(0deg,rgba(8,23,39,.8),transparent 60%); }
  .hero__main { padding-top: 56px; }
  .hero__footer { gap: 24px; }
  .hero--carousel .hero__stats { gap: 16px; }
  .hero__controls { margin-right: 48px; }
  .gallery--production { grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-rows: 280px 200px 200px; }
  .gallery--production .gallery__item--lg { grid-column: span 2; grid-row: span 1; }
}
@media(max-width:720px) {
  .hero__main { padding-top: 42px; padding-bottom: 24px; }
  .hero--carousel .hero__title, html[lang=ru] .hero--carousel .hero__title { font-size: 34px; line-height: 1.25; }
  .hero--carousel .hero__title-accent { font-size: 20px; margin-top: 14px; }
  .hero--carousel .hero__lede, html[lang=ru] .hero--carousel .hero__lede { font-size: 14px; line-height: 1.8; margin-bottom: 24px; }
  .hero--carousel .hero__pill { font-size: 12px; margin-bottom: 20px; }
  .hero--carousel .hero__actions { gap: 10px; margin-bottom: 20px; }
  .hero--carousel .hero__actions .btn { font-size: 14px; padding: 12px 16px; }
  .hero__footer { flex-direction: column; align-items: start; gap: 16px; padding-bottom: 34px; }
  .hero--carousel .hero__stats { order: 2; gap: 12px; padding-top: 16px; }
  .hero--carousel .hero__stats strong { font-size: 22px; }
  .hero--carousel .hero__stats span { font-size: 10px; }
  .hero__controls { margin-right: 0; display: flex; align-items: center; gap: 18px; }
  .hero__dots { margin-bottom: 0; gap: 6px; }
  .hero-dot { width: 25px; }
  .hero__control-row { gap: 6px; }
  .hero-arrow { width: 38px; }
  .hero-toggle { min-width: 78px; padding: 0 10px; }
  
  .gallery--production { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: 230px; margin-bottom: 32px; }
  .gallery--production .gallery__item--lg { grid-column: span 1; grid-row: span 1; }
  
}
@media(prefers-reduced-motion:reduce) {
  .hero-slide { transition: none; }
}

