.headerslider {
  position: relative;
  height: 90vh;
  min-height: 700px;
  border-radius: var(--radius-small);
  overflow: hidden;
}

.headerslider-slider,
.headerslider .slick-list,
.headerslider .slick-track,
.headerslider-slide {
  height: 100% !important;
}

.headerslider .slick-list {
  border-radius: var(--radius-small);
  overflow: hidden;
}

.headerslider .slick-track {
  display: flex !important;
}

.headerslider-slide {
  position: relative;
  display: flex !important;
  overflow: hidden;
  border-radius: var(--radius-small);
}

.headerslider-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.headerslider-bg img,
.headerslider-bg video {
  width: 100%;
  height: 110%;
  object-fit: cover;
  display: block;
  will-change: transform;
  position: absolute;
  top: -5%;
  left: 0;
}

.headerslider-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.headerslider-slide.overlay-dark::after {
  background: rgba(0, 0, 0, 0.35);
}

.headerslider-slide.overlay-light::after {
  background: rgba(255, 255, 255, 0.18);
}

.headerslider-inner {
  position: relative;
  z-index: 3;
  height: 100%;
  align-items: center;
}

.headerslider-content {
  color: var(--color-white);
  margin-bottom: 20vh;
  margin-left: 6vw;
}

.headerslider-title,
.headerslider-subtitle,
.headerslider-text,
.headerslider-button,
.headerslider-icon {
  will-change: transform, opacity;
}

.headerslider-title {
  font-size: clamp(42px, 3vw, 72px) !important;
  margin-bottom: 30px;
  line-height: 1.1 !important;
  color: var(--color-rosa) !important;
}

.headerslider-subtitle {
  font-size: clamp(16px, 1.5vw, 24px);
  line-height: 1.2;
  opacity: 0.85;
  margin-bottom: 12px;
}

.headerslider-text {
  max-width: 600px;
  margin-bottom: 25px;
}

.headerslider-icon img {
  width: 380px;
  height: 130px;
  object-fit: contain;
}

.headerslider-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: var(--color-white);
  color: var(--color-black);
  border-radius: 999px;
  font-size: 14px;
  text-decoration: none;
}

.headerslider-button .dot {
  width: 8px;
  height: 8px;
  background: var(--color-black);
  border-radius: 50%;
  flex: 0 0 8px;
}

.headerslider-ui {
  position: absolute;
  right: 40px;
  bottom: 30px;
  z-index: 5;
  display: flex;
  align-items: center;
}

.headerslider-counter {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-white);
}

.headerslider-hit {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.headerslider-hit .dot {
  width: 10px;
  height: 10px;
  background: var(--color-white);
  border-radius: 50%;
  flex: 0 0 10px;
}

.headerslider-hit .line {
  width: 44px;
  height: 2px;
  background: var(--color-white);
  flex: 0 0 44px;
}

.headerslider-counter .counter {
  font-size: 14px;
  min-width: 60px;
  text-align: center;
  color: var(--color-white);
}

@media (max-width: 991.98px) {
  .headerslider {
    min-height: 620px;
  }

  .headerslider-content {
    max-width: 520px;
    color: var(--color-white);
    margin-bottom: 10vh;
    margin-left: unset;
    text-align: left;
  }

  .headerslider-title {
    font-size: clamp(42px, 9vw, 68px);
    margin-bottom: 20px;
  }

  .headerslider-subtitle {
    font-size: clamp(22px, 5.5vw, 34px);
    margin-bottom: 16px;
  }

  .headerslider-ui {
    right: 20px;
    left: 20px;
    bottom: 20px;
    justify-content: center;
  }

  .headerslider-icon img {
    width: 100%;
  }
}

@media (max-width: 767.98px) {
  .headerslider {
    height: 85vh;
    min-height: 560px;
    border-radius: var(--radius-small);
  }

  .headerslider .slick-list,
  .headerslider-slide {
    border-radius: var(--radius-small);
  }

  .headerslider-inner.container-fluid {
    padding-left: 24px;
    padding-right: 24px;
  }

  .headerslider-title {
    font-size: 42px;
  }

  .headerslider-text {
    max-width: 100%;
  }

  .headerslider-counter {
    gap: 8px;
  }

  .headerslider-hit .line {
    width: 36px;
    flex: 0 0 36px;
  }

  .headerslider-counter .counter {
    font-size: 13px;
    min-width: 52px;
  }
}
