.hero-section.has-company-video {
  background: #080c14;
  width: 100%;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: 16 / 9;
}
.hero-section.is-video-active .hero-content,
.hero-section.is-video-active .hero-fade-overlay {
  visibility: hidden !important;
  opacity: 0;
  pointer-events: none;
}
.hero-video-slide { background: #080c14; }
.hero-company-video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; background: #080c14; }
.hero-section.has-company-video .hero-swiper { position: absolute; inset: 0; }
.hero-section.has-company-video .hero-slide-img { object-fit: cover; object-position: center; }
.hero-section.has-company-video .hero-content { pointer-events: none; }
.hero-section.has-company-video:not(.is-video-active) .hero-actions a { pointer-events: auto; }
.hero-media-prev, .hero-media-next {
  position: absolute; top: 50%; z-index: 12; transform: translateY(-50%);
  display: grid; place-items: center; width: 44px; height: 44px;
  padding: 0; border: 1px solid rgba(255,255,255,.5); border-radius: 50%;
  background: rgba(8,12,20,.55); color: #fff; cursor: pointer; font-size: 28px; line-height: 1;
}
.hero-media-prev { left: 20px; }
.hero-media-next { right: 20px; }
.hero-media-prev:hover, .hero-media-next:hover { background: #b8152a; }
.hero-media-prev:focus-visible, .hero-media-next:focus-visible,
.hero-media-pagination button:focus-visible, .hero-video-play:focus-visible, .hero-video-sound:focus-visible {
  outline: 3px solid #fff; outline-offset: 3px; box-shadow: 0 0 0 6px #b8152a;
}
.hero-swiper .hero-media-pagination { z-index: 12; bottom: 12px; }
.is-video-active .hero-swiper .hero-media-pagination { top: 8px; bottom: auto; }
.hero-swiper .hero-media-pagination .swiper-pagination-bullet {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 36px; margin: 0 1px; padding: 0; border: 0;
  border-radius: 6px; opacity: 1; background: transparent; cursor: pointer;
}
.hero-swiper .hero-media-pagination .swiper-pagination-bullet::before {
  content: ''; display: block; width: 10px; height: 10px; border-radius: 6px;
  background: #fff; box-shadow: 0 1px 6px rgba(0,0,0,.45);
}
.hero-swiper .hero-media-pagination .swiper-pagination-bullet-active::before { width: 26px; background: #c8142d; }
.hero-video-play {
  position: absolute; z-index: 8; left: 50%; top: 50%; transform: translate(-50%,-50%);
  border: 1px solid rgba(255,255,255,.8); border-radius: 30px; padding: 12px 24px;
  background: rgba(8,12,20,.8); color: #fff; font: inherit; cursor: pointer;
}
.hero-video-status {
  position: absolute; left: 16px; bottom: 48px; z-index: 8;
  max-width: calc(100% - 32px); background: rgba(8,12,20,.85); color: #fff; padding: 8px 12px; border-radius: 6px;
}
.hero-video-play[hidden], .hero-video-status[hidden] { display: none; }
.hero-video-sound {
  position: absolute; z-index: 13; top: 12px; right: 16px; min-height: 36px;
  padding: 6px 14px; border: 1px solid rgba(255,255,255,.65); border-radius: 20px;
  color: #fff; background: rgba(8,12,20,.75); font: inherit; font-size: 13px; cursor: pointer;
}
.hero-section:not(.is-video-active) .hero-video-sound { display: none; }
.hero-media-fallback .swiper-wrapper { display: block; }
.hero-media-fallback .swiper-slide[hidden] { display: none; }
@media (max-width: 767px) {
  .hero-section.has-company-video .hero-content { width: 100% !important; padding: 12px 48px !important; }
  .hero-section.has-company-video .hero-badge { display: none; }
  .hero-section.has-company-video .hero-title { font-size: clamp(18px, 4.7vw, 22px) !important; line-height: 1.2 !important; margin-bottom: 6px !important; }
  .hero-section.has-company-video .hero-desc { font-size: 11px !important; line-height: 1.35 !important; margin-bottom: 8px !important; max-width: 100%; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .hero-section.has-company-video .hero-actions .btn { min-width: 0 !important; padding: 6px 12px !important; font-size: 12px !important; }
  .hero-media-prev { left: 8px; }
  .hero-media-next { right: 8px; }
  .hero-media-prev, .hero-media-next { width: 40px; height: 40px; font-size: 24px; }
  .is-video-active .hero-swiper .hero-media-pagination { top: auto; bottom: 36px; left: 50%; transform: translateX(-50%); width: auto; right: auto; white-space: nowrap; }
  .hero-video-sound { top: 4px; right: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-section .swiper-wrapper, .hero-section .swiper-slide, .hero-section .hero-slide-img { transition-duration: 0ms !important; }
}
@media (max-width: 360px) {
  .hero-section.has-company-video .hero-desc { display: none !important; }
  .hero-section.has-company-video .hero-content { transform: translateY(-12px) !important; }
}
