.apx-hero-slider {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 24px;
  background: #1c3044;
  box-shadow: 0 35px 80px rgba(13,25,38,.34);
  isolation: isolate;
}

.apx-hero-slider::before {
  content: "";
  position: absolute;
  z-index: 3;
  inset: 0;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: inherit;
  pointer-events: none;
}

.apx-hero-slider__track,
.apx-hero-slide,
.apx-hero-slide > a {
  position: absolute;
  inset: 0;
}

.apx-hero-slide {
  opacity: 0;
  visibility: hidden;
  transform: scale(1.025);
  transition: opacity .65s ease, transform 1.2s ease, visibility .65s;
}

.apx-hero-slide.is-active {
  z-index: 1;
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.apx-hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.apx-hero-slide__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(12,25,38,.9) 100%);
}

.apx-hero-slide__content {
  position: absolute;
  right: 28px;
  bottom: 30px;
  left: 28px;
  display: grid;
  gap: 6px;
  color: #fff;
}

.apx-hero-slide__content small {
  color: #ffb18f;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.apx-hero-slide__content strong {
  max-width: 540px;
  font-size: clamp(18px, 2vw, 26px);
  line-height: 1.25;
}

.apx-hero-slide__content em {
  margin-top: 4px;
  color: #d9e5eb;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.apx-hero-slider__arrow {
  position: absolute;
  z-index: 5;
  top: 50%;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  color: #fff;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%;
  background: rgba(24,42,58,.64);
  cursor: pointer;
  transform: translateY(-50%);
  backdrop-filter: blur(8px);
  transition: background .2s, transform .2s;
}

.apx-hero-slider__arrow:hover { background: #d26e4b; transform: translateY(-50%) scale(1.05); }
.apx-hero-slider__arrow--prev { left: 18px; }
.apx-hero-slider__arrow--next { right: 18px; }
.apx-hero-slider__dots { position: absolute; z-index: 5; right: 26px; top: 24px; display: flex; gap: 7px; }
.apx-hero-slider__dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: rgba(255,255,255,.45); cursor: pointer; transition: width .25s, background .25s; }
.apx-hero-slider__dots button.is-active { width: 25px; background: #ff9f7a; }

@media (max-width: 1100px) {
  .apx-home-hero__visual { display: block; }
  .apx-home-hero__grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .apx-hero-slider { min-height: 410px; }
}

@media (max-width: 800px) {
  .apx-home-hero__grid { grid-template-columns: 1fr; }
  .apx-hero-slider { min-height: 390px; }
}

@media (max-width: 520px) {
  .apx-hero-slider { min-height: 320px; border-radius: 16px; }
  .apx-hero-slide__content { right: 18px; bottom: 22px; left: 18px; }
  .apx-hero-slider__arrow { width: 36px; height: 36px; }
  .apx-hero-slider__arrow--prev { left: 12px; }
  .apx-hero-slider__arrow--next { right: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .apx-hero-slide { transition: none; }
}
