.dr-hero-slider {
  --dr-overlay-start: rgba(2, 21, 55, 0.96);
  --dr-overlay-middle: rgba(2, 21, 55, 0.60);
  --dr-overlay-end: rgba(2, 21, 55, 0.12);
  --dr-overlay-angle: 90deg;
  position: relative;
  min-height: 790px;
  overflow: hidden;
  background: #021537;
  isolation: isolate;
}

.dr-hero-slider *,
.dr-hero-slider *::before,
.dr-hero-slider *::after {
  box-sizing: border-box;
}

.dr-hero-slider__slides,
.dr-hero-slider__slide {
  position: absolute;
  inset: 0;
}

.dr-hero-slider__slide {
  opacity: 0;
  visibility: hidden;
  z-index: 0;
  pointer-events: none;
  background-image: var(--dr-slide-image);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: var(--dr-slide-position, center center);
  transition: opacity var(--dr-transition-speed, 1000ms) ease, visibility var(--dr-transition-speed, 1000ms) ease;
}

.dr-hero-slider__slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
  pointer-events: auto;
}

.dr-hero-slider__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    var(--dr-overlay-angle),
    var(--dr-overlay-start) 0%,
    var(--dr-overlay-start) 22%,
    var(--dr-overlay-middle) 62%,
    var(--dr-overlay-end) 100%
  );
  z-index: 0;
}

.dr-hero-slider__container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
}

.dr-hero-slider__inner {
  position: relative;
  z-index: 2;
  min-height: 790px;
  padding: 140px 20px 110px;
  display: flex;
  align-items: center;
}

.dr-hero-slider__content {
  width: 100%;
  max-width: 860px;
}

.dr-hero-slider__slide.is-active .dr-hero-slider__content {
  animation: drHeroFadeUp 700ms ease both;
}

.dr-hero-slider__eyebrow {
  margin: 0 0 20px;
  color: #7ebde2;
  font-family: Inter, Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dr-hero-slider__title {
  margin: 0 0 24px;
  color: #fff;
  font-family: Poppins, Arial, sans-serif;
  font-size: clamp(38px, 5.4vw, 78px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.dr-hero-slider__description {
  max-width: 640px;
  margin: 0 0 32px;
  color: rgba(255, 255, 255, 0.85);
  font-family: Inter, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.65;
}

.dr-hero-slider__description p {
  margin: 0;
}

.dr-hero-slider__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.dr-hero-slider__button {
  min-height: 48px;
  padding: 15px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 8px;
  font-family: Inter, Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none !important;
  transition: transform 250ms ease, background-color 250ms ease, color 250ms ease, border-color 250ms ease;
}

.dr-hero-slider__button:hover {
  transform: translateY(-2px);
}

.dr-hero-slider__button--primary {
  color: #fff;
  background: #021537;
  border: 1px solid transparent;
}

.dr-hero-slider__button--primary:hover {
  color: #fff;
  background: #1185b0;
}

.dr-hero-slider__button--secondary {
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.70);
}

.dr-hero-slider__button--secondary:hover {
  color: #021537;
  background: #fff;
}

.dr-hero-slider__button-icon,
.dr-hero-slider__button-icon svg,
.dr-hero-slider__button-icon i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.dr-hero-slider__button-icon svg {
  width: 1em;
  height: 1em;
  fill: currentColor;
}

.dr-hero-slider__trust {
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.dr-hero-slider__trust-item {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.dr-hero-slider__trust-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(17, 133, 176, 0.95);
}

.dr-hero-slider__trust-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.dr-hero-slider__trust-label {
  color: #fff;
  font-family: Inter, Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
}

.dr-hero-slider__arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 48px;
  height: 48px;
  padding: 0;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  cursor: pointer;
  transition: background-color 220ms ease, transform 220ms ease;
}

.dr-hero-slider__arrow:hover {
  background: rgba(255, 255, 255, 0.20);
  transform: translateY(-50%) scale(1.05);
}

.dr-hero-slider__arrow--prev {
  left: 20px;
}

.dr-hero-slider__arrow--next {
  right: 20px;
}

.dr-hero-slider__dots {
  position: absolute;
  left: 50%;
  bottom: 24px;
  z-index: 6;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.dr-hero-slider__dot {
  width: 16px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.40);
  cursor: pointer;
  transition: width 250ms ease, background-color 250ms ease;
}

.dr-hero-slider__dot.is-active {
  width: 40px;
  background: #fff;
}

.dr-hero-slider__arrow:focus-visible,
.dr-hero-slider__dot:focus-visible,
.dr-hero-slider__button:focus-visible {
  outline: 3px solid #7ebde2;
  outline-offset: 3px;
}

@keyframes drHeroFadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1024px) {
  .dr-hero-slider__arrow {
    display: none;
  }

  .dr-hero-slider__trust {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .dr-hero-slider,
  .dr-hero-slider__inner {
    min-height: 680px;
  }

  .dr-hero-slider__inner {
    padding: 110px 20px 90px;
  }

  .dr-hero-slider__title {
    font-size: clamp(36px, 11vw, 54px);
  }

  .dr-hero-slider__description {
    font-size: 16px;
  }

  .dr-hero-slider__buttons {
    align-items: stretch;
  }

  .dr-hero-slider__button {
    width: 100%;
  }

  .dr-hero-slider__trust {
    grid-template-columns: 1fr;
    margin-top: 44px;
    gap: 14px;
  }

  .dr-hero-slider__trust-icon {
    width: 40px;
    height: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dr-hero-slider__slide,
  .dr-hero-slider__button,
  .dr-hero-slider__arrow,
  .dr-hero-slider__dot,
  .dr-hero-slider__slide.is-active .dr-hero-slider__content {
    animation: none !important;
    transition: none !important;
  }
}
