.hero-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  min-height: 400px;
}

.hero-slider__swiper,
.hero-slider__swiper .swiper-wrapper {
  width: 100%;
  height: 100%;
}

.hero-slider__slide {
  position: relative;
  display: flex;
  align-items: stretch;
  height: 100%;
  min-height: inherit;
}

.hero-slider__bg {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* .hero-slider__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  width: 70%;
  background: linear-gradient(
    90deg, 
    #050c06 0%,     
    #09170b 25%,  
    rgba(9, 23, 11, 0.8) 55%, 
    rgba(9, 23, 11, 0.4) 75%, 
    rgba(9, 23, 11, 0.1) 90%, 
    rgba(9, 23, 11, 0) 100%
  );
} */

.hero-slider__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  width: 65%;
  background: linear-gradient(90deg, #050c06 0%, #09170b 0%, rgba(9, 23, 11, 0.8) 55%, rgba(9, 23, 11, 0.4) 75%, rgba(9, 23, 11, 0.1) 90%, rgba(9, 23, 11, 0) 100%);
}

.hero-slider__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: flex-start;
  max-width: 750px;
  padding: 80px 20px 140px;
  margin-left: max(24px, calc((100vw - 1376px) / 2));
}

.hero-slider__title {
  margin: 0 0 24px;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
}

.hero-slider__description {
  margin: 0 0 32px;
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.5;
  color: #fff;
  max-width: 100%;
}

.hero-slider__button {
  display: inline-flex;
  align-items: center;
  padding: 14px 24px;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--cnvp-color-text);
  background-color: var(--cnvp-color-cta);
  transition: opacity 0.2s ease, transform 0.2s ease;
  gap: 10px;
  margin-top: 30px;
  line-height: 1;
}

.hero-slider__button:hover {
  opacity: 0.92;
  transform: translateY(-1px);
  background: var(--cnvp-color-accent) !important;
  color: white !important;
}

/* Pagination */
.hero-slider__pagination.swiper-pagination {
  bottom: 32px !important;
  left: 0;
  right: 0;
  width: 100%;
}

.hero-slider__pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.7);
  opacity: 1;
  margin: 0 6px !important;
}

.hero-slider__pagination .swiper-pagination-bullet-active {
  background: #fff;
  border-color: #fff;
}

/* Navigation controls */
.hero-slider .controls {
  position: absolute;
  left: max(24px, calc((100vw - 1336px) / 2));
  bottom: 32px;
  z-index: 10;
  display: flex;
  gap: 16px;
}

.hero-slider .control {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: none;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: opacity 0.2s ease;
}

.hero-slider .control:hover span.icon {
  background: var(--cnvp-color-cta);
}

.hero-slider .control:hover {
  opacity: 0.85;
}

.hero-slider .control:disabled,
.hero-slider .control.swiper-button-disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.hero-slider .control .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
}

.hero-slider .control .icon svg {
  display: block;
  width: 20px;
  height: auto;
}

.hero-slider .control .icon svg path {
  fill: white;
}

.hero-slider .control .label {
  text-transform: uppercase;
}

.hero-slider--empty {
  padding: 40px;
  text-align: center;
  background: #f1f5f9;
  color: #64748b;
}

@media (max-width: 1024px) {
  .hero-slider__overlay {
    background: linear-gradient(
    0deg,
    #050c06 0%,
    #09170b 0%,
    rgba(9, 23, 11, 0.8) 55%,
    rgba(9, 23, 11, 0.4) 75%,
    rgba(9, 23, 11, 0.1) 90%,
    rgba(9, 23, 11, 0) 100%
  );
    left: 0;
    height: 100%;
    bottom: 0;
    top: auto;
    width: 100%;
  }
}

@media (max-width: 767px) {
  .hero-slider__content {
    margin-left: 0;
    padding: 48px 20px 80px;
    max-width: 100%;
  }

  .hero-slider .controls {
    left: 20px;
    bottom: 24px;
    display: none;
  }

  .hero-slider__pagination.swiper-pagination {
    bottom: 24px !important;
  }

  .hero-slider__button {
    margin-top: 0;
}

.hero-slider__content {
  justify-content: flex-end;
}

}
