.hero-slider {
  overflow: hidden;
}

.hero-slider__wrapper {
  position: relative;
  width: min(1400px, 100%);
  max-width: 100%;
  margin: 0 auto;
}

.hero-slider__track {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
}

.hero-slider__slide {
  outline: none;
}

.hero-slider__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 64px 80px;
  border-radius: 16px;
  background: #ffffff;
  min-height: 380px;
  gap: 40px;
}

.hero-slider__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 460px;
  width: 100%;
  flex-shrink: 0;
}

.hero-slider__badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #46732E;
  margin-bottom: 14px;
  line-height: 1;
}

.hero-slider__title {
  font-family: 'Echoes Sans', sans-serif;
  font-size: 56px;
  font-weight: 700;
  line-height: 95%;
  color: #ffffff;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-slider__subtitle {
  font-size: 16px;
  font-weight: 400;
  line-height: 150%;
  color: #182640;
  opacity: 0.75;
  margin-bottom: 36px;
}

.hero-slider__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-slider__image {
  flex: 1;
  max-width: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slider__image img {
  width: 100%;
  height: 100%;
  max-height: 340px;
  object-fit: contain;
}

/* Navigation arrows */
.hero-slider__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #DEE3EA !important;
  cursor: pointer;
  transition: 0.3s ease-in-out all;
  box-shadow: 0 2px 12px rgba(24, 38, 64, 0.08);
}

.hero-slider__nav:hover {
  background: #E3E3E3;
  box-shadow: 0 4px 16px rgba(24, 38, 64, 0.14);
}

.hero-slider__nav svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.hero-slider__nav--prev {
  left: -24px;
}

.hero-slider__nav--next {
  right: -24px;
}

.hero-slider .slick-slide {
  height: auto;
}

/* Slick dots */
.hero-slider__wrapper .slick-dots {
  position: static;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 0 4px;
  margin: 20px 0 0;
  list-style: none;
}

.hero-slider__wrapper .slick-dots li {
  width: auto;
  height: auto;
  margin: 0;
}

.hero-slider__wrapper .slick-dots li button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(24, 38, 64, 0.2);
  border: none !important;
  padding: 0;
  font-size: 0;
  transition: 0.3s ease all;
}

.hero-slider__wrapper .slick-dots li button::before {
  display: none;
}

.hero-slider__wrapper .slick-dots li button:hover {
  background: rgba(24, 38, 64, 0.5);
}

.hero-slider__wrapper .slick-dots li.slick-active button {
  width: 24px;
  border-radius: 4px;
  background: #182640;
}

/* Placeholder in editor */
.hero-slider__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  background: #E3E3E3;
  border-radius: 16px;
  border: 2px dashed #DEE3EA;
}

.hero-slider__placeholder p {
  color: #999999;
  font-size: 16px;
}

/* Responsive */
@media (max-width: 1200px) {
  .hero-slider__inner {
    padding: 50px 60px;
  }

  .hero-slider__title {
    font-size: 46px;
  }
}

@media (max-width: 1024px) {
  .hero-slider__wrapper {
    max-width: 96%;
  }

  .hero-slider__inner {
    padding: 40px 40px;
    min-height: 300px;
  }

  .hero-slider__title {
    font-size: 38px;
  }

  .hero-slider__image {
    max-width: 360px;
  }

  .hero-slider__nav--prev {
    left: -12px;
  }

  .hero-slider__nav--next {
    right: -12px;
  }
}

@media (max-width: 768px) {
  .hero-slider__wrapper {
    max-width: 90%;
  }

  .hero-slider__inner {
    flex-direction: column-reverse;
    padding: 30px 25px !important;
    min-height: auto;
    gap: 20px;
    align-items: flex-start;
  }

  .hero-slider__content {
    max-width: 100%;
    margin-left: 0 !important;
  }

  .hero-slider__title {
    font-size: 34px;
  }

  .hero-slider__subtitle {
    margin-bottom: 24px;
    font-size: 15px;
  }

  .hero-slider__image {
    position: relative !important;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    max-height: 220px;
  }

  .hero-slider__image img {
    width: 100%;
    height: auto;
    max-height: 200px !important;
    object-fit: contain !important;
  }

  .hero-slider .hero-slider__nav {
    top: 134px !important;
    padding: 8px !important;
    width: 36px;
    height: 36px;
  }

  .hero-slider__nav--prev {
    left: 8px;
  }

  .hero-slider__nav--next {
    right: 8px;
  }
}

@media (max-width: 576px) {
  .hero-slider__wrapper {
    max-width: 100%;
  }

  .hero-slider__inner {
    padding: 24px 20px;
    border-radius: 0;
  }

  .hero-slider__title {
    font-size: 28px;
    margin-bottom: 12px;
  }

  .hero-slider__subtitle {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .hero-slider__buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-slider__btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}
