.booking__wrap { padding-block: clamp(40px, 6vw, 82px); }
.booking [hidden] { display: none !important; }
.booking__intro {
    display: flex;
    align-items: end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 22px 40px;
    padding-bottom: clamp(23px, 4vw, 39px);
}
.booking__eyebrow { margin: 0 0 11px; color: var(--brand-deep); }
.booking__title {
    margin: 0;
    font-size: clamp(2.25rem, 5.35vw, 4.5rem);
    line-height: 1.02;
    letter-spacing: -.065em;
    font-weight: 800;
}
.booking__intro > div > p:last-child {
    margin: 14px 0 0;
    max-width: 53ch;
    color: var(--muted);
    font-size: clamp(.98rem, 1.6vw, 1.125rem);
}
.booking__steps {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    padding: 5px;
    margin: 0;
    border: 1px solid var(--line);
    border-radius: 14px;
    list-style: none;
    background: var(--white);
}
.booking__steps li, .booking__steps a {
    display: flex;
    gap: 6px;
    align-items: center;
}
.booking__steps li {
    padding: 6px 9px;
    border-radius: 9px;
    color: var(--muted);
    font-size: .79rem;
    font-weight: 800;
    white-space: nowrap;
}
.booking__steps a { text-decoration: none; color: var(--brand-deep); }
.booking__steps a:hover { text-decoration: underline; }
.booking__steps span {
    display: grid;
    width: 21px;
    height: 21px;
    place-items: center;
    border-radius: 50%;
    background: var(--tint);
    color: var(--ink);
    font-size: .68rem;
}
.booking__steps [aria-current="step"] {
    background: var(--navy);
    color: var(--white);
}
.booking__steps [aria-current="step"] span { background: var(--brand-bright); }
.booking__columns {
    display: grid;
    grid-template-columns: minmax(0, .82fr) minmax(0, 1fr);
    gap: clamp(16px, 2.5vw, 34px);
    align-items: start;
}
.booking__columns--balance { grid-template-columns: minmax(0, 1fr) minmax(0, .84fr); }
.booking__panel, .booking__map-panel {
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: 23px;
    background: var(--white);
    box-shadow: var(--shadow);
}
.booking__panel { padding: clamp(20px, 3.2vw, 36px); }
.booking__panel h2, .booking__map-heading h2, .booking__dialog h2 {
    margin: 0;
    font-size: clamp(1.3rem, 2.4vw, 1.73rem);
    line-height: 1.12;
    letter-spacing: -.036em;
    font-weight: 800;
}
.booking__panel > form { margin: 24px 0 0; }
.booking__fields { display: grid; gap: 16px; }
.booking__field { display: grid; gap: 6px; }
.booking__field label {
    color: var(--ink);
    font-size: .875rem;
    font-weight: 800;
}
.booking__field input {
    display: block;
    width: 100%;
    min-height: 50px;
    min-width: 0;
    padding: 11px 13px;
    border: 1px solid var(--control-line);
    border-radius: 10px;
    background: var(--surface);
    color: var(--ink);
    font: inherit;
    font-size: 1rem;
}
.booking__field input::placeholder { color: var(--muted); opacity: 1; }
.booking__field input:focus { outline: 2px solid var(--brand-deep); outline-offset: 2px; }
.booking__input { position: relative; }
.booking__input input { padding-inline-start: 44px; }
.booking__input svg {
    position: absolute;
    inset: 0 auto 0 14px;
    margin-block: auto;
    width: 19px;
    height: 19px;
    color: var(--brand-deep);
    pointer-events: none;
}
.booking__action, .booking__next { width: 100%; margin-top: 20px; gap: 12px; }
.booking__action svg, .booking__next svg { width: 19px; height: 19px; }
.booking__action-busy { display: none; }
.booking__action:disabled .booking__action-ready, .booking__action:disabled svg { display: none; }
.booking__action:disabled .booking__action-busy { display: inline; }
.booking__action:disabled { opacity: .72; cursor: wait; }
.booking__action:disabled:has(+ #booking-contact-status:not([hidden])) { cursor: default; }
.booking__next {
    color: var(--white);
    background: var(--navy);
    text-decoration: none;
}
.booking__next:hover { background: var(--navy-surface); }
.booking__result:not(:empty), .booking__error, .booking__empty {
    margin: 16px 0 0;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: .875rem;
    line-height: 1.45;
}
.booking__result:empty { margin: 0; }
.booking__result { background: var(--success-bg); color: var(--success-ink); font-weight: 750; }
.booking__error { background: #fff0ef; color: #892b25; }
.booking__empty { background: var(--surface); color: var(--muted); }
.booking__empty-action { margin-top: 14px; }

.booking__map-panel { overflow: hidden; }
.booking__map-heading {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 21px clamp(19px, 3vw, 32px);
    background: var(--navy);
    color: var(--white);
}
.booking__map-heading > svg {
    width: 40px;
    height: 40px;
    padding: 9px;
    flex: 0 0 auto;
    border-radius: 11px;
    background: #78e9f224;
    color: var(--brand-bright);
}
.booking__map-heading h2 { font-size: 1.125rem; color: var(--white); letter-spacing: -.015em; }
.booking__map-heading p { margin: 5px 0 0; color: var(--on-dark-muted); font-size: .875rem; }
.booking__map-frame { position: relative; }
.booking__map {
    width: 100%;
    height: clamp(290px, 34vw, 415px);
    background: #e9f4fa;
}
.booking__stops ~ .booking__map-frame .booking__map { height: clamp(255px, 27vw, 335px); }
.booking__map-placeholder {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    pointer-events: none;
    background:
        radial-gradient(ellipse at 50% 51%, #f8fcff 0, transparent 60%),
        repeating-linear-gradient(0deg, transparent 0 23px, #b5d4e770 24px 25px),
        repeating-linear-gradient(90deg, transparent 0 23px, #b5d4e770 24px 25px);
}
.booking__map:not(:empty) + .booking__map-placeholder { display: none; }
.booking__map-placeholder svg {
    width: 58px;
    height: 58px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--white);
    color: var(--brand-deep);
    box-shadow: var(--shadow);
}

.booking__stops {
    display: grid;
    gap: 11px;
    margin: 0;
    padding: 21px clamp(19px, 3vw, 32px);
}
.booking__stops div {
    display: grid;
    grid-template-columns: 75px minmax(0, 1fr);
    gap: 8px;
    align-items: baseline;
}
.booking__stops dt { color: var(--muted); font-size: .77rem; font-weight: 800; }
.booking__stops dd { margin: 0; font-size: .9rem; line-height: 1.35; font-weight: 750; overflow-wrap: anywhere; }
.booking__summary-fare {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 13px;
    margin: 0 clamp(19px, 3vw, 32px) 20px;
    padding: 13px;
    border-radius: 11px;
    background: var(--tint);
}
.booking__summary-fare div { display: grid; gap: 4px; }
.booking__summary-fare div span { font-size: .75rem; font-weight: 700; color: var(--muted); }
.booking__summary-fare strong { overflow-wrap: anywhere; }
.booking__summary-fare > strong { font-size: 1.22rem; flex-shrink: 0; }

.booking__vehicles { display: grid; gap: 11px; margin-top: 18px; }
.booking__vehicle {
    display: grid;
    grid-template-columns: clamp(80px, 9vw, 115px) minmax(0, 1fr) auto;
    align-items: center;
    gap: 11px;
    padding: 11px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
}
.booking__vehicle-photo {
    display: grid;
    place-items: center;
    width: 100%;
    aspect-ratio: 5 / 4;
    border-radius: 9px;
    overflow: hidden;
    background: var(--tint);
}
.booking__vehicle-photo img { width: 100%; height: 100%; object-fit: contain; }
.booking__vehicle-photo svg { width: 29px; height: 29px; color: var(--brand-deep); }
.booking__vehicle-copy h3 { margin: 0; font-size: 1rem; line-height: 1.25; overflow-wrap: anywhere; }
.booking__vehicle-copy p { margin: 4px 0 0; color: var(--muted); font-size: .78rem; }
.booking__vehicle-copy .booking__vehicle-fare { display: grid; gap: 1px; margin-top: 6px; }
.booking__vehicle-fare strong { font-size: 1.05rem; color: var(--ink); }
.booking__vehicle form { margin: 0; }
.booking__vehicle-button { min-height: 40px; padding: 8px 14px; font-size: .85rem; }
.booking__help { margin: 20px 0 0; color: var(--muted); font-size: .875rem; }
.booking__help a { color: var(--brand-deep); font-weight: 800; text-underline-offset: .17em; }

.booking__dialog:not([open]) { display: none; }
.booking__dialog {
    position: fixed;
    inset: 0;
    width: min(420px, calc(100% - 32px));
    max-height: calc(100% - 32px);
    margin: auto;
    padding: 26px;
    border: 0;
    border-radius: 21px;
    background: var(--white);
    color: var(--ink);
    box-shadow: 0 24px 80px #0b213750;
}
.booking__dialog::backdrop { background: #0b213790; }
.booking__dialog-icon {
    display: grid;
    place-items: center;
    width: 45px;
    height: 45px;
    margin: 0 0 14px;
    border-radius: 12px;
    background: var(--tint);
    color: var(--brand-deep);
}
.booking__dialog-icon svg { width: 23px; height: 23px; }
.booking__dialog p { color: var(--muted); margin: 12px 0 20px; }
.booking__dialog form { margin: 0; }
.booking__dialog .button { width: 100%; }
body:has(#booking-route-form) .pac-container { border-radius: 10px; }
body:has(#booking-route-form) .pac-item { min-height: 38px; padding: 4px 10px; }

@media (max-width: 900px) {
    .booking__columns, .booking__columns--balance { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 440px) {
    .booking__panel { border-radius: 17px; }
    .booking__map-panel { border-radius: 17px; }
    .booking__vehicle { grid-template-columns: 73px minmax(0, 1fr); }
    .booking__vehicle form { grid-column: 1 / -1; }
    .booking__vehicle-button { width: 100%; }
    .booking__steps li { padding-inline: 7px; }
    .booking__stops div { grid-template-columns: 64px minmax(0, 1fr); }
    .booking__map { height: 270px; }
}
