.booking-page {
    min-height: 100vh;
    background:
        linear-gradient(180deg, rgba(44, 102, 247, 0.09), transparent 360px),
        #05091a;
}

.booking-site-header {
    border-bottom-color: rgba(100, 213, 255, 0.16);
}

.booking-page-main {
    width: min(100%, 1560px);
    margin: 0 auto;
    padding: clamp(34px, 5vw, 72px) clamp(18px, 4vw, 64px) 96px;
}

.booking-intro {
    display: grid;
    gap: 14px;
    max-width: 1080px;
    margin-bottom: 28px;
}

.booking-eyebrow,
.booking-step-label {
    color: var(--cyan);
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
}

.booking-intro h1 {
    max-width: 900px;
    margin: 0;
    font-size: 86px;
    line-height: 0.98;
}

.booking-intro > p {
    max-width: 780px;
    margin: 0;
    color: var(--muted);
    font-size: 21px;
    line-height: 1.5;
}

.booking-mode-switch {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: min(100%, 900px);
    margin-top: 18px;
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.045);
}

.booking-mode-switch button {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    min-height: 76px;
    padding: 13px 16px;
    border: 1px solid transparent;
    border-radius: calc(var(--radius) - 2px);
    background: transparent;
    color: var(--muted);
    text-align: left;
    cursor: pointer;
}

.booking-mode-switch button > svg {
    width: 28px;
    height: 28px;
}

.booking-mode-switch button > span {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.booking-mode-switch strong {
    color: inherit;
    font-size: 17px;
}

.booking-mode-switch small {
    color: inherit;
    font-size: 12px;
    font-weight: 750;
    line-height: 1.3;
}

.booking-mode-switch button[aria-selected="true"] {
    border-color: rgba(255, 200, 97, 0.72);
    background: linear-gradient(135deg, rgba(44, 102, 247, 0.36), rgba(126, 38, 199, 0.32));
    color: #fff;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.booking-mode-switch button:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 3px;
}

.booking-mode-panel[hidden] {
    display: none;
}

.booking-mode-panel {
    min-width: 0;
}

.booking-linear-flow.reservation-form {
    display: block;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.booking-linear-deck {
    display: grid;
    gap: 18px;
}

.booking-linear-flow .reservation-step {
    position: relative;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding: clamp(22px, 3vw, 38px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
    background: rgba(14, 20, 43, 0.88);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
    scroll-margin-top: 112px;
}

.booking-linear-flow .reservation-step::before {
    content: attr(data-step-number);
    position: absolute;
    top: clamp(22px, 3vw, 38px);
    right: clamp(22px, 3vw, 38px);
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(100, 213, 255, 0.11);
    color: var(--cyan);
    font-size: 18px;
    font-weight: 950;
}

.booking-linear-flow .reservation-step.is-active {
    border-color: rgba(100, 213, 255, 0.44);
    box-shadow: 0 0 0 1px rgba(100, 213, 255, 0.08), 0 22px 62px rgba(0, 0, 0, 0.3);
}

.booking-linear-flow .reservation-step.is-active::before {
    background: linear-gradient(135deg, var(--blue), var(--purple));
    color: #fff;
}

.booking-linear-flow .reservation-step.is-complete {
    border-color: rgba(73, 214, 165, 0.26);
    background: rgba(10, 24, 39, 0.84);
}

.booking-linear-flow .reservation-step.is-complete::before {
    content: "✓";
    background: rgba(73, 214, 165, 0.18);
    color: #78e5ba;
}

.booking-linear-flow .reservation-step-head {
    padding-right: 58px;
}

.booking-linear-flow .reservation-step-head h2 {
    margin: 0;
    font-size: 46px;
    line-height: 1.05;
}

.booking-linear-flow .reservation-step-head p {
    font-size: 16px;
}

.booking-linear-flow .reservation-calendar {
    width: min(100%, 860px);
    padding: clamp(15px, 2vw, 22px);
}

.booking-linear-flow .reservation-calendar-grid {
    min-height: 360px;
}

.booking-linear-flow .reservation-day {
    min-height: 55px;
}

.booking-linear-flow .reservation-day-panel {
    width: min(100%, 960px);
    padding: clamp(16px, 2vw, 24px);
}

.booking-linear-flow .reservation-step-actions {
    padding-top: 4px;
}

.booking-details-grid,
.booking-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    width: min(100%, 1100px);
}

.booking-details-grid > label,
.booking-resource-field,
.booking-contact-grid > label {
    align-content: start;
    min-height: 96px;
}

.booking-resource-field {
    grid-column: 1 / -1;
}

.booking-resource-field .reservation-resource-switch {
    min-height: 62px;
}

.booking-resource-field .reservation-resource-switch label span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

.booking-resource-field .reservation-resource-switch svg {
    width: 17px;
    height: 17px;
}

.booking-child-rails,
.reservation-message {
    grid-column: 1 / -1;
}

.booking-offer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.booking-linear-flow .reservation-offers .offer-card {
    position: relative;
    grid-template-columns: auto 42px minmax(0, 1fr);
    min-height: 250px;
    padding: 18px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.055);
}

.booking-linear-flow .reservation-offers .offer-card-featured {
    grid-column: span 2;
}

.offer-card-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(100, 213, 255, 0.12);
    color: var(--cyan);
}

.offer-card-icon svg {
    width: 23px;
    height: 23px;
}

.offer-duration-estimate {
    display: block;
    min-height: 18px;
    margin-top: 4px;
    color: #a9dff2;
    font-size: 12px;
    font-weight: 850;
    line-height: 1.4;
}

.offer-calculation {
    display: grid;
    gap: 5px;
    margin-top: 6px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.booking-page .offer-price-comparison {
    margin: 0;
    padding: 0;
    border: 0;
    color: inherit;
}

.offer-calculation-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: baseline;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.35;
}

.offer-calculation-row strong {
    color: #fff;
    font-size: 13px;
    text-align: right;
}

.offer-calculation-row.is-saving,
.offer-calculation-row.is-saving strong {
    color: var(--gold);
}

.offer-calculation-row.is-package-extra,
.offer-calculation-row.is-package-extra strong {
    color: var(--cyan);
}

.offer-calculation-empty {
    color: var(--muted);
    font-size: 12px;
    font-weight: 750;
    line-height: 1.4;
}

.event-mode-intro {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.event-mode-intro span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 9px 13px;
    border: 1px solid rgba(100, 213, 255, 0.2);
    border-radius: var(--radius);
    background: rgba(100, 213, 255, 0.07);
    color: #dbeefa;
    font-size: 13px;
    font-weight: 850;
}

.event-mode-intro svg {
    width: 17px;
    height: 17px;
    color: var(--cyan);
}

.event-details-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.celebration-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.celebration-options label {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    min-height: 58px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.045);
    cursor: pointer;
}

.celebration-options label:has(input:checked) {
    border-color: rgba(255, 200, 97, 0.64);
    background: rgba(255, 200, 97, 0.1);
}

.celebration-options label span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.celebration-options svg {
    width: 18px;
    height: 18px;
    color: var(--cyan);
}

.event-vision-field {
    width: min(100%, 1100px);
}

.booking-page .site-footer {
    margin-top: 0;
}

@media (max-width: 1050px) {
    .booking-intro h1 {
        font-size: 64px;
    }

    .booking-linear-flow .reservation-step-head h2 {
        font-size: 38px;
    }

    .booking-offer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .booking-linear-flow .reservation-offers .offer-card-featured {
        grid-column: 1 / -1;
    }

    .event-details-grid,
    .celebration-options {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .booking-page-main {
        padding: 28px 14px 64px;
    }

    .booking-intro h1 {
        font-size: 48px;
    }

    .booking-intro > p {
        font-size: 18px;
    }

    .booking-mode-switch {
        grid-template-columns: 1fr;
    }

    .booking-mode-switch button {
        min-height: 70px;
    }

    .booking-linear-flow .reservation-step {
        gap: 17px;
        padding: 20px 15px;
    }

    .booking-linear-flow .reservation-step::before {
        top: 17px;
        right: 15px;
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .booking-linear-flow .reservation-step-head {
        padding-right: 44px;
    }

    .booking-linear-flow .reservation-step-head h2 {
        font-size: 29px;
    }

    .booking-linear-flow .reservation-calendar {
        width: 100%;
        padding: 12px 8px;
    }

    .booking-linear-flow .reservation-calendar-grid {
        min-height: 300px;
        gap: 4px;
    }

    .booking-linear-flow .reservation-day {
        min-height: 46px;
    }

    .booking-details-grid,
    .booking-contact-grid,
    .booking-offer-grid,
    .event-details-grid,
    .celebration-options {
        grid-template-columns: 1fr;
    }

    .booking-resource-field,
    .booking-child-rails,
    .reservation-message {
        grid-column: auto;
    }

    .booking-resource-field .reservation-resource-switch {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .booking-linear-flow .reservation-offers .offer-card,
    .booking-linear-flow .reservation-offers .offer-card-featured {
        grid-column: auto;
        min-height: 0;
        grid-template-columns: auto 38px minmax(0, 1fr);
        padding: 15px;
    }

    .offer-card-icon {
        width: 38px;
        height: 38px;
    }

    .reservation-step-actions {
        align-items: stretch;
    }

    .reservation-step-actions > span {
        width: 100%;
    }

    .reservation-step-actions .button {
        flex: 1 1 100%;
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .booking-page * {
        scroll-behavior: auto !important;
    }
}
