.hero-carousel .hero-slides {
  display: grid;
  width: 100%;
  align-items: center;
}

.hero-carousel .hero-slide {
  grid-area: 1 / 1;
  display: flex;
  align-items: center;
}

.hero-carousel [hidden] {
  display: none;
}

.hero-carousel .hero-slide[hidden] {
  display: flex;
  visibility: hidden;
}

.hero-carousel[data-direction="next"] { --hero-travel: 2%; --hero-text-travel: 26px; }
.hero-carousel[data-direction="previous"] { --hero-travel: -2%; --hero-text-travel: -26px; }

.hero-carousel .hero-slide-active .hero-image {
  animation: hero-image-enter 550ms cubic-bezier(.2,.7,.2,1) both;
}

.hero-carousel .hero-slide-active .hero-content {
  animation: hero-text-enter 480ms cubic-bezier(.2,.7,.2,1) both;
}

@keyframes hero-image-enter {
  from { translate: var(--hero-travel) 0; scale: 1.045; opacity: .6; }
  to { translate: 0 0; scale: 1; opacity: 1; }
}

@keyframes hero-text-enter {
  from { translate: var(--hero-text-travel) 0; opacity: .22; }
  to { translate: 0 0; opacity: 1; }
}

.hero-carousel .hero-offer-image {
  width: 116%;
  max-width: none;
  object-position: 25% 33%;
  transform: none;
  filter: saturate(.92) brightness(.98) contrast(1.05);
}

.hero-carousel .hero-offer-image + .hero-shade {
  background:
    linear-gradient(90deg, #08090be8 0%, #08090bb5 30%, #08090b60 49%, #08090b14 78%),
    linear-gradient(0deg, #08090bca, transparent 44%);
}

.hero-carousel .hero-offer-title .offer-label {
  display: block;
  color: inherit;
  font-size: clamp(1.375rem, 2.4vw, 2.875rem);
  line-height: 1.08;
  letter-spacing: -.035em;
  margin-bottom: .18em;
}

.hero-carousel .hero-offer-title .offer-mark {
  display: block;
}

.hero-carousel .hero-buttons { gap: 14px; }

.hero-carousel .hero-buttons .button {
  width: min(100%, 17.75rem);
  justify-content: center;
  padding-inline: 12px;
  text-align: center;
}

.hero-carousel .hero-buttons .button-outline {
  color: #f3f2ed;
  background: #08090b66;
  border-color: #f3f2ed80;
}

.hero-carousel .hero-buttons .button-outline:hover { border-color: var(--accent); }

.hero-carousel .hero-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 12px;
}

.hero-carousel .hero-hours { justify-self: start; }
.hero-carousel .hero-scroll { justify-self: end; }

.hero-carousel .hero-controls {
  display: flex;
  align-items: center;
  border: 1px solid #ffffff30;
  background: #08090baf;
  border-radius: 30px;
  color: #fff;
  backdrop-filter: blur(8px);
  touch-action: manipulation;
}

.hero-controls button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  color: inherit;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.hero-controls button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -4px;
}

.hero-controls button:hover { background: #ffffff15; }

.hero-step::before {
  content: "";
  width: 8px;
  height: 8px;
  border-top: 2px solid;
  border-right: 2px solid;
  transform: translateX(-2px) rotate(45deg);
}

.hero-step[data-step="-1"]::before {
  transform: translateX(2px) rotate(-135deg);
}

.hero-slide-select::before {
  content: "";
  width: 19px;
  height: 3px;
  border-radius: 3px;
  background: #ffffff66;
}

.hero-slide-select[aria-pressed="true"]::before {
  background: var(--accent);
}

.hero-play {
  font: 700 1rem/1 var(--font), sans-serif;
}

.hero-carousel .hero-play[hidden] { display: none; }

@media (max-width: 700px) {
  .hero-carousel {
    min-height: min(690px, calc(100svh - 72px));
    flex-direction: column;
  }
  .hero-carousel .hero-slides { flex: 1; }
  .hero-carousel .hero-content { padding-top: 56px; padding-bottom: 24px; }
  .hero-carousel .hero-offer-image { width: 100%; object-position: 38% 33%; }
  .hero-carousel .hero-offer-image + .hero-shade {
    background:
      linear-gradient(90deg, #08090bd1 0%, #08090b86 49%, #08090b3d 92%),
      linear-gradient(0deg, #08090bd5, transparent 54%);
  }
  .hero-carousel .hero-offer-title .offer-mark { font-size: clamp(4.25rem, 18vw, 6.75rem); }
  .hero-carousel .hero-footer {
    position: relative;
    inset: auto;
    width: 88%;
    margin-bottom: 24px;
    grid-template-columns: 1fr auto;
  }
  .hero-carousel .hero-controls { grid-column: 1 / -1; grid-row: 1; justify-self: start; }
  .hero-carousel .hero-hours,
  .hero-carousel .hero-scroll { grid-row: 2; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-carousel .hero-slide-active .hero-image,
  .hero-carousel .hero-slide-active .hero-content { animation: none; }
}

.promo-lead-dialog {
  margin: auto;
  max-height: calc(100dvh - 24px);
  overflow-y: auto;
  padding: clamp(22px, 5vw, 38px);
}

.promo-lead-dialog h2 {
  margin: 0 24px 12px 0;
  font-size: clamp(1.6rem, 5vw, 2.2rem);
  line-height: 1.1;
}

.promo-lead-dialog #promo-lead-offer { line-height: 1.45; }
.promo-lead-dialog #promo-lead-offer strong { color: var(--accent); }

.promo-lead-dialog .promo-lead-fields {
  padding: 0;
  background: transparent;
  border: 0;
}

.promo-lead-dialog #contact-form h3,
.promo-lead-dialog #contact-form label[for="visitor-tariff"],
.promo-lead-dialog #contact-form #visitor-tariff { display: none; }
