.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  overflow: hidden;
  margin-top: -92px;
  padding-top: 80px;
  padding-bottom: 4rem;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -2;
}

.hero-background::before {
  content: '';
  position: absolute;
  top: 27px;
  left: -88px;
  width: 420px;
  height: 420px;
  background-image: url('https://new.aozapchast.kz/wp-content/uploads/2025/08/copy-7.png');
  background-repeat: no-repeat;
  background-position: top left;
  background-size: contain;
  opacity: 0.9;
  pointer-events: none;
  z-index: 0;
}

/* Сетка шестиугольников поверх фона */
.hero-hexagon-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  opacity: 0.15;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='48' viewBox='0 0 56 48'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='1' d='M28 0l28 16v32l-28 16L0 48V16L28 0z'/%3E%3C/svg%3E");
  background-size: 56px 48px;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(105deg, rgb(39 75 203 / 62%) 0%, rgba(15, 23, 42, 0.82) 100%);
  z-index: -1;
}

.hero-video-wrap {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -2;
  overflow: hidden;
}

.hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero > .container {
  width: 100%;
}

.hero-content-wrapper {
  display: flex;
  align-items: flex-end;
  width: 100%;
  max-width: 720px;
  margin: 0;
  margin-right: auto;
  padding: 2rem 0 0;
}

.hero-content {
  color: white;
  z-index: 1;
}

.hero-title {
  font-size: 36px;
  margin-bottom: 1.25rem;
  line-height: 36px;
  letter-spacing: normal;
  color: #fff;
}

.hero-title-accent {
  color: #fff;
  display: block;
  line-height: 45px;
}

.hero-description {
  font-size: 1.0625rem;
  margin-bottom: 2rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn {
  padding: 0.9rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 0;
  transition: all 0.25s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: white;
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Стрелки карусели по бокам hero */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 0;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.hero-arrow-left {
  left: 1.5rem;
}

.hero-arrow-right {
  right: 1.5rem;
}

@media (max-width: 1024px) {
  .hero-content-wrapper {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .hero {
    padding-top: 110px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.9375rem;
  }
}
