/* Booking page finished-style pass.
   Matches the native confirmed-booking flow to the completed site visual language. */
.booking-page {
  --booking-radius: 22px;
  --booking-radius-small: 16px;
}

/* Match the shared internal-page opening rhythm and top-align the hero columns. */
@media (min-width: 901px) {
  .booking-page .booking-hero {
    padding-top: 46px;
    padding-bottom: 46px;
  }

  .booking-page .booking-hero .container {
    align-items: start;
  }

  .booking-page .booking-hero h1 {
    max-width: 17ch;
    margin-bottom: 14px;
    font-size: clamp(2.05rem, 3.35vw, 3.35rem);
    line-height: 1.06;
  }

  .booking-page .booking-hero > .container > div:first-child > .muted {
    max-width: 700px;
    margin-top: 0;
  }
}

@media (max-width: 900px) {
  .booking-page .booking-hero {
    padding-top: 54px;
  }

  .booking-page .booking-hero .container {
    align-items: start;
  }
}

/* Pill actions throughout the site-owned parts of the page. */
.booking-page .btn {
  border-radius: 999px;
}

/* Rounded existing cards/panels without changing dimensions or layout. */
.booking-page .page-hero-card,
.booking-page .step-card {
  border-radius: var(--booking-radius);
  overflow: hidden;
}

.booking-page .step-card span {
  border-radius: 999px;
}

/* Keep the final contract section open like the existing design, but make any
   bordered content it contains inherit the same secondary radius. */
.booking-page .section-muted .notice-box,
.booking-page .notice-box {
  border-radius: var(--booking-radius-small);
}

/* Section-aware floating arrow, matching the completed pages. */
.booking-page .section-scroll-next {
  position: fixed;
  left: 50%;
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 9998;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(244,210,124,.72);
  border-radius: 50%;
  background: rgba(5,5,5,.12);
  color: var(--gold-light);
  box-shadow: 0 2px 10px rgba(0,0,0,.18);
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity .2s ease, transform .2s ease, border-color .2s ease, background .2s ease;
}

.booking-page .section-scroll-next.is-visible {
  opacity: .86;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.booking-page .section-scroll-next svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.65));
  transition: transform .18s ease;
}

.booking-page .section-scroll-next:hover,
.booking-page .section-scroll-next:focus-visible {
  opacity: 1;
  border-color: var(--gold-light);
  background: rgba(5,5,5,.22);
  outline: none;
}

.booking-page .section-scroll-next:hover svg,
.booking-page .section-scroll-next:focus-visible svg {
  transform: translateY(2px);
}

@media (max-width: 640px) {
  .booking-page .section-scroll-next {
    width: 42px;
    height: 42px;
    bottom: max(14px, env(safe-area-inset-bottom));
  }

  .booking-page .section-scroll-next svg {
    width: 20px;
    height: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .booking-page .section-scroll-next,
  .booking-page .section-scroll-next svg {
    transition: none;
  }
}
