.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: visible;
}

.hero__viewport {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}

.hero__slides {
  position: absolute;
  inset: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.9s ease,
    visibility 0.9s ease;
  z-index: 0;
}

.hero__slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  will-change: transform;
}

.hero__slide.is-active .hero__image {
  animation: heroKenBurns 9s ease-out forwards;
}

@keyframes heroKenBurns {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.1);
  }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg,
      rgba(10, 17, 40, 0.55) 0%,
      rgba(10, 17, 40, 0.25) 45%,
      rgba(10, 17, 40, 0.65) 100%);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding-block: calc(var(--header-height) + 40px) 160px;
}

.hero__eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 20px;
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6.5vw, 5rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  max-width: none;
}

.hero__subtitle {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3.5vw, 2.75rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.92);
  margin-top: 12px;
  max-width: none;
}

.hero__text {
  width: 100%;
  max-width: none;
  margin-top: 24px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-on-dark-muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
}

.hero__copy {
  width: 60%;
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease 0.15s,
    transform 0.7s ease 0.15s;
}

@media (max-width: 767px) {
  .hero__copy {
    width: 100%;
  }
}

.hero__slide.is-active .hero__copy {
  opacity: 1;
  transform: translateY(0);
}

.hero__controls-container {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(90%, var(--container));
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding-bottom: 150px;
  z-index: 10;
  pointer-events: none;
}

.hero__controls-container .hero__controls {
  pointer-events: auto;
  margin-top: 0;
}

.hero__controls {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 36px;
  position: relative;
  z-index: 5;
}

.hero__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
  transition:
    border-color var(--transition-fast),
    background-color var(--transition-fast),
    color var(--transition-fast);
}

.hero__arrow:hover {
  border-color: var(--gold-light);
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--gold-light);
}

.hero__arrow-icon {
  font-size: 18px;
  line-height: 1;
}

.hero__counter {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.75);
  min-width: 64px;
  text-align: center;
  margin-bottom: 0;
}

.hero__counter-sep {
  margin-inline: 6px;
  color: var(--gold-light);
}

.hero__booking-wrap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 6;
  transform: translateY(50%);
  padding-inline: 5%;
  pointer-events: none;
}

.hero__booking-wrap>* {
  pointer-events: auto;
}

.booking-bar {
  width: min(100%, 1120px);
  margin-inline: auto;
  padding: 28px 32px 32px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.booking-bar__title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}

.booking-bar__form {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  align-items: end;
}

.booking-bar__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.booking-bar__label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-light);
}

.booking-bar__input,
.booking-bar__select {
  width: 100%;
  padding: 12px 14px;
  font-size: 13px;
  color: var(--text);
  background: var(--cream);
  border: 1px solid var(--border);
  transition:
    border-color var(--transition-fast),
    box-shadow var(--transition-fast);
}

.booking-bar__input:focus,
.booking-bar__select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(155, 122, 74, 0.15);
  outline: none;
}

.booking-bar__input--error,
.booking-bar__select--error {
  border-color: #b54a4a;
}

.booking-bar__error {
  font-size: 11px;
  color: #b54a4a;
  min-height: 0;
  display: none;
}

.booking-bar__error.is-visible {
  display: block;
}

.booking-bar__submit {
  grid-column: span 1;
}

.booking-bar__submit .btn {
  width: 100%;
  min-height: 46px;
}

.hero+.section,
.hero+.section--white {
  padding-top: calc(var(--section-padding) + 80px);
}

@media (prefers-reduced-motion: reduce) {
  .hero__slide.is-active .hero__image {
    animation: none;
  }

  .hero__slide,
  .hero__copy {
    transition: none;
  }
}