.home-hero {
  margin-top: 0;
  padding-top: 0;
}

.home-hero__slider {
  position: relative;
  width: 100%;
  height: 405px;
  overflow: hidden;
  background: #eee;
}

.home-hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease;
}

.home-hero__slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.home-hero__slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  z-index: 0;
}

.home-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0.03));
  z-index: 1;
}

.home-hero__inner {
  position: absolute;
  inset: 0;
  z-index: 3;
}

.home-hero__content {
  position: absolute;
  left: max(44px, calc((100vw - 1260px) / 2 + 8px));
  bottom: 66px;
  width: 100%;
  max-width: 450px;
  color: #fff;
}

.home-hero__content h1 {
  margin: 0 0 12px;
  font-size: 54px;
  line-height: 0.98;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: #fff;
}

.home-hero__content p {
  margin: 0;
  font-size: 14px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.9);
}

.home-hero__arrow {
  position: absolute;
  top: 30%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: transparent;
  color: #fff;
  z-index: 4;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
}

.home-hero__arrow--prev {
  left: 40px;
}

.home-hero__arrow--next {
  right: 40px;
}

.home-hero__dots {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 10px;
  display: flex;
  gap: 6px;
  z-index: 4;
}

.home-hero__dot {
  width: 26px;
  height: 3px;
  border: 0;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
}

.home-hero__dot.is-active {
  background: #fff;
}

@media (max-width: 991px) {
  .home-hero__slider {
    height: 340px;
  }

  .home-hero__content {
    left: 26px;
    bottom: 34px;
    max-width: 320px;
  }

  .home-hero__content h1 {
    font-size: 34px;
  }

  .home-hero__content p {
    font-size: 13px;
  }

  .home-hero__arrow--prev {
    left: 20px;
  }

  .home-hero__arrow--next {
    right: 20px;
  }
}

@media (max-width: 640px) {
  .home-hero__slider {
    height: 285px;
  }

  .home-hero__content {
    left: 18px;
    right: 18px;
    bottom: 24px;
    max-width: 280px;
  }

  .home-hero__content h1 {
    font-size: 28px;
  }

  .home-hero__content p {
    font-size: 13px;
  }

  .home-hero__arrow {
    width: 34px;
    height: 34px;
    font-size: 18px;
  }

  .home-hero__arrow--prev {
    left: 14px;
  }

  .home-hero__arrow--next {
    right: 14px;
  }

  .home-hero__dots {
    bottom: 8px;
  }
}

.home-hero__actions {
  margin-top: 22px;
}

.home-hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 24px;
  border-radius: 999px;
  background: #ffffff;
  color: #111111;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.02em;
  transition: background 0.25s ease, transform 0.25s ease;
}

.home-hero__cta:hover {
  background: #f2f2f2;
  color: #111111;
  transform: translateY(-1px);
}

@media (max-width: 991px) {
  .home-hero__actions {
    margin-top: 18px;
  }

  .home-hero__cta {
    min-height: 42px;
    padding: 0 22px;
    font-size: 13px;
  }
}

@media (max-width: 640px) {
  .home-hero__actions {
    margin-top: 16px;
  }

  .home-hero__cta {
    min-height: 40px;
    padding: 0 20px;
    font-size: 13px;
  }
}