.hero_section {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: var(--hero-height-desktop, 650px);
  overflow: hidden;
  background-color: #021220;
}

.hero_section--no-margin {
  margin: 0;
}

.hero_section__picture,
.hero_section__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero_section__picture {
  z-index: -3;
}

.hero_section__picture .hero_section__bg,
video.hero_section__bg {
  object-fit: cover;
  object-position: center bottom;
}

video.hero_section__bg {
  z-index: -3;
}

.hero_section__overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--hero-overlay-color, #021220);
  opacity: 0.38;
  pointer-events: none;
}

@supports (background: color-mix(in srgb, #000 50%, transparent)) {
  .hero_section__overlay {
    opacity: 1;
    background: linear-gradient(
      to right,
      color-mix(in srgb, var(--hero-overlay-color, #021220) 78%, transparent) 0%,
      color-mix(in srgb, var(--hero-overlay-color, #021220) 48%, transparent) 48%,
      transparent 86%
    );
  }

  [dir="rtl"] .hero_section__overlay {
    background: linear-gradient(
      to left,
      color-mix(in srgb, var(--hero-overlay-color, #021220) 78%, transparent) 0%,
      color-mix(in srgb, var(--hero-overlay-color, #021220) 48%, transparent) 48%,
      transparent 86%
    );
  }
}

.hero_section__container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  height: 100%;
  padding-top: clamp(5rem, 8vw, 7rem);
  padding-bottom: 3rem;
}

.hero_section--position-start .hero_section__container {
  justify-content: flex-start;
}

.hero_section--position-center .hero_section__container {
  justify-content: center;
}

.hero_section--position-end .hero_section__container {
  justify-content: flex-end;
}

.hero_section__content {
  display: flex;
  flex-direction: column;
  width: min(100%, 620px);
  color: var(--hero-title-color, #fff);
}

.hero_section--text-start .hero_section__content {
  align-items: flex-start;
  text-align: start;
}

.hero_section--text-center .hero_section__content {
  align-items: center;
  text-align: center;
}

.hero_section--text-end .hero_section__content {
  align-items: flex-end;
  text-align: end;
}

.hero_section__title {
  max-width: 620px;
  margin: 0;
  color: var(--hero-title-color, #fff);
  font-size: clamp(2.25rem, 1.45rem + 2.5vw, 3.5rem);
  font-weight: var(--font-weight-bold, 700);
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.hero_section__highlight {
  color: var(--hero-highlight-color, var(--primary-color, #ecb365));
}

.hero_section__desc {
  width: min(100%, 560px);
  margin: 1.15rem 0 0;
  color: var(--hero-description-color, #f2f2f2);
  font-size: clamp(1rem, 0.93rem + 0.25vw, 1.125rem);
  font-weight: var(--font-weight-normal, 400);
  line-height: 1.65;
}

.hero_section__link-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  cursor: pointer;
  text-decoration: none;
}

.hero_section--slider {
  padding: 0;
}

.hero_section__swiper {
  width: 100%;
  height: 100%;
  position: relative;
}

.hero_section__slide {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  isolation: isolate;
  display: flex;
}

/* Slider Navigation Buttons */
.hero_section__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--hero-overlay-color, #021220) 65%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 220ms ease;
  font-size: 1.15rem;
  padding: 0;
  margin: 0;
}

.hero_section__nav:hover {
  background: var(--hero-button-bg, var(--primary-color, #ecb365));
  color: var(--hero-button-text, #fff);
  border-color: transparent;
  transform: translateY(-50%) scale(1.08);
}

.hero_section__nav--prev {
  inset-inline-start: 1.75rem;
}

.hero_section__nav--next {
  inset-inline-end: 1.75rem;
}

.hero_section__nav.swiper-button-disabled {
  opacity: 0;
  pointer-events: none;
}

.hero_section__nav::after {
  display: none !important;
}

/* Slider Pagination Dots */
.hero_section__pagination.swiper-pagination {
  bottom: 1.5rem !important;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.hero_section__pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  margin: 0 !important;
  border-radius: 6px;
  background: #fff;
  opacity: 0.45;
  transition: all 250ms ease;
  cursor: pointer;
}

.hero_section__pagination .swiper-pagination-bullet-active {
  width: 28px;
  opacity: 1;
  background: var(--hero-highlight-color, var(--primary-color, #ecb365));
}

.hero_section__btn {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 154px;
  min-height: 48px;
  margin-top: 1.5rem;
  padding: 0.7rem 2.25rem;
  border: 1px solid transparent;
  border-radius: 8px;
  background-color: var(--hero-button-bg, var(--primary-color, #ecb365));
  background-color: color-mix(
    in srgb,
    var(--hero-button-bg, var(--primary-color, #ecb365)) var(--hero-button-opacity, 100%),
    transparent
  );
  color: var(--hero-button-text, #fff);
  font-size: 1rem;
  font-weight: var(--font-weight-bold, 700);
  line-height: 1.3;
  text-decoration: none;
  transition: filter 180ms ease, transform 180ms ease;
}

.hero_section__btn:hover {
  color: var(--hero-button-text, #fff);
  text-decoration: none;
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.hero_section__btn:focus-visible {
  outline: 3px solid #fff;
  outline: 3px solid color-mix(in srgb, var(--hero-highlight-color, #ecb365) 65%, #fff);
  outline-offset: 3px;
}

@media (max-width: 1199.98px) {
  .hero_section__container {
    padding-top: 4.5rem;
  }

  .hero_section__content {
    width: min(100%, 560px);
  }

  .hero_section__title {
    max-width: 560px;
    font-size: clamp(2.125rem, 1.45rem + 2.8vw, 3rem);
  }
}

@media (max-width: 991.98px) {
  .hero_section__container {
    padding-top: 3.5rem;
    padding-bottom: 2.5rem;
  }

  .hero_section__content {
    width: min(100%, 500px);
  }
}

@media (max-width: 768px) {
  .hero_section {
    height: var(--hero-height-mobile, 450px);
  }

  .hero_section__picture .hero_section__bg,
  video.hero_section__bg {
    object-position: center bottom;
  }

  .hero_section__container {
    align-items: flex-start;
    padding-top: 1.75rem;
    padding-bottom: 1.25rem;
  }

  .hero_section__content {
    width: 100%;
    max-width: 100%;
  }

  .hero_section__title {
    width: min(100%, 520px);
    font-size: clamp(1.875rem, 1.62rem + 1.1vw, 2.125rem);
    line-height: 1.22;
  }

  .hero_section__desc {
    width: min(100%, 500px);
    margin-top: 0.85rem;
    font-size: 1rem;
    line-height: 1.55;
  }

  .hero_section__btn {
    min-width: 146px;
    min-height: 46px;
    margin-top: 1.1rem;
    padding: 0.65rem 1.9rem;
  }

  .hero_section__nav {
    width: 36px;
    height: 36px;
    font-size: 0.95rem;
  }

  .hero_section__nav--prev {
    inset-inline-start: 0.75rem;
  }

  .hero_section__nav--next {
    inset-inline-end: 0.75rem;
  }

  .hero_section__pagination.swiper-pagination {
    bottom: 0.75rem !important;
  }

  @supports (background: color-mix(in srgb, #000 50%, transparent)) {
    .hero_section__overlay,
    [dir="rtl"] .hero_section__overlay {
      background: linear-gradient(
        to bottom,
        color-mix(in srgb, var(--hero-overlay-color, #021220) 78%, transparent) 0%,
        color-mix(in srgb, var(--hero-overlay-color, #021220) 54%, transparent) 52%,
        transparent 86%
      );
    }
  }
}

@media (max-width: 480px) {
  .hero_section__container {
    padding-top: 1.5rem;
    padding-inline: 1.25rem;
  }

  .hero_section__title {
    font-size: clamp(1.75rem, 1.48rem + 1.15vw, 1.95rem);
  }

  .hero_section__desc {
    font-size: 0.9375rem;
  }

  .hero_section__btn {
    min-width: 140px;
    min-height: 44px;
    font-size: 0.9375rem;
  }
}
