/* Hero Video Section */
.hero-video {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-video__video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-video__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-video__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero-video__content {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-video__inner {
  text-align: center;
  color: #ffffff;
  max-width: 800px;
  padding: 0 20px;
}

.hero-video__heading {
  color: #ffffff;
  margin-bottom: 30px;
  font-size: 48px;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .hero-video__heading {
    font-size: 64px;
  }
}

@media (min-width: 1200px) {
  .hero-video__heading {
    font-size: 80px;
  }
}

.hero-video__text {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 40px;
  color: #ffffff;
}

@media (min-width: 768px) {
  .hero-video__text {
    font-size: 20px;
  }
}

@media (min-width: 1200px) {
  .hero-video__text {
    font-size: 24px;
  }
}

.hero-video__buttons {
  margin-top: 40px;
}

.hero-video__divider {
  width: 60px;
  height: 2px;
  background-color: #ffffff;
  margin: 50px auto 30px;
}

.hero-video__notice {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .hero-video__notice {
    font-size: 16px;
  }
}

.hero-video__phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.hero-video__phone .phone-block__icon svg {
  fill: #ffffff;
}

.hero-video__phone .phone-block__hint {
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
}

.hero-video__phone .phone-block__number {
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.hero-video__phone .phone-block__number:hover {
  color: #ff4800;
}

@media (min-width: 768px) {
  .hero-video__phone .phone-block__number {
    font-size: 20px;
  }
}

/* Header поверх видео - только на главной странице с hero-video */
body:has(.hero-video) .header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  background-color: transparent;
  border-top: solid 5px #36e960;
}

body:has(.hero-video) .header .navigation__link {
  color: #ffffff;
}

body:has(.hero-video) .header .navigation__link:hover,
body:has(.hero-video) .header .navigation__link:focus {
  color: #ff4800;
}

body:has(.hero-video) .header .logo__text {
  color: #ffffff;
}

body:has(.hero-video) .header .header-search__toggle svg {
  fill: #ffffff;
}

body:has(.hero-video) .header .lets-chat__text {
  color: #ffffff;
}

body:has(.hero-video) .header--fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  background-color: #232323;
  transform: translateY(99%);
  border-top: none;
  box-shadow: 0 1px 0 0 #dddddd;
  transition: transform 0.5s ease;
}

@media (min-width: 768px) {
  body:has(.hero-video) .header--fixed .header__inner {
    padding-top: 24px;
    padding-bottom: 24px;
  }
}

body:has(.hero-video) .header--fixed .logo__image {
  width: 36px;
  margin-right: 10px;
}

body:has(.hero-video) .header--fixed .logo__text {
  font-size: 14px;
  color: #ffffff;
}

@media (min-width: 992px) {
  body:has(.hero-video) .header--fixed .header__logo {
    margin-right: calc(8.69vw + 20px);
  }
}

@media (min-width: 992px) {
  body:has(.hero-video) .header--fixed .navigation__dropdown {
    bottom: -29px;
  }
}

body:has(.hero-video) .header--fixed .navigation__link {
  color: #ffffff;
}

body:has(.hero-video) .header--fixed .navigation__link:hover,
body:has(.hero-video) .header--fixed .navigation__link:focus {
  color: #ff4800;
}

body:has(.hero-video) .header--fixed .header-search__toggle svg {
  fill: #ffffff;
}

body:has(.hero-video) .header--fixed .lets-chat__text {
  color: #ffffff;
}

/* Отступ для контента после hero */
body:has(.hero-video) .webpage__our-story {
  margin-top: 60px;
  padding-top: 40px;
}

@media (min-width: 768px) {
  body:has(.hero-video) .webpage__our-story {
    margin-top: 100px;
  }
}

@media (min-width: 1200px) {
  body:has(.hero-video) .webpage__our-story {
    margin-top: 165px;
    padding-top: 83px;
  }
}

