.booking-page {
    padding: clamp(32px, 6vw, 56px) var(--section-padding-x);
    min-height: calc(100vh - var(--header-offset));
}

.booking-layout {
    max-width: var(--container-lg);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(24px, 4vw, 40px);
    align-items: start;
}

.booking-main {
    position: relative;
    background: rgba(255, 255, 255, 0.68);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.booking-main::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 58%;
    height: 42%;
    background: rgba(232, 244, 243, 0.45);
    border-radius: 0 0 0 70%;
    z-index: 0;
    pointer-events: none;
}

.booking-progress {
    position: relative;
    z-index: 1;
    height: 4px;
    background: rgba(204, 204, 204, 0.55);
}

.booking-progress__fill {
    display: block;
    width: 100%;
    height: 100%;
    background: var(--dark-jade);
}

.booking-form {
    position: relative;
    z-index: 1;
    padding: clamp(24px, 4vw, 40px);
}

.booking-form h1 {
    font-size: clamp(1.5rem, 3vw, 1.85rem);
    color: var(--neutral-900);
    margin-bottom: clamp(24px, 4vw, 32px);
    font-weight: 700;
}

.booking-validation-summary {
    margin-bottom: 20px;
    padding: 14px 16px;
    border: 1px solid #f5c2c7;
    border-radius: var(--radius-sm);
    background: #fff5f5;
    color: #842029;
}

.booking-success-message {
    margin-bottom: 20px;
    padding: 14px 16px;
    border: 1px solid #9fd5b0;
    border-radius: var(--radius-sm);
    background: #ecfdf3;
    color: #05603a;
}

.booking-success-message__title {
    margin: 0 0 6px;
    font-weight: 700;
    font-size: 1rem;
}

.booking-success-message__text {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.45;
}

.booking-validation-summary__title {
    margin: 0 0 8px;
    font-weight: 700;
    font-size: 0.95rem;
}

.booking-validation-summary__list {
    margin: 0;
    padding-left: 1.2rem;
    display: grid;
    gap: 4px;
}

.booking-validation-summary__list li {
    font-size: 0.92rem;
    line-height: 1.45;
}

.field-error {
    margin: 6px 0 0;
    color: #b42318;
    font-size: 0.85rem;
    line-height: 1.4;
}

.form-group input.is-invalid,
.form-group textarea.is-invalid,
.booking-summary__select.is-invalid,
.booking-calendar-block.is-invalid .booking-calendar {
    border-color: #b42318;
    box-shadow: 0 0 0 1px rgba(180, 35, 24, 0.15);
}

.booking-summary__item.is-invalid {
    outline: 2px solid rgba(180, 35, 24, 0.35);
    outline-offset: 4px;
    border-radius: var(--radius-sm);
}

.booking-guests-row.is-invalid .form-group input {
    border-color: #b42318;
    box-shadow: 0 0 0 1px rgba(180, 35, 24, 0.15);
}

.booking-section-label {
    font-weight: 700;
    color: var(--neutral-900);
    margin-bottom: 14px;
    font-size: 1rem;
}

.label-optional {
    font-weight: 400;
    color: var(--neutral-600);
    font-size: 0.9em;
}

.booking-calendar-block {
    margin-bottom: clamp(24px, 4vw, 32px);
}

.booking-details-block {
    margin-top: clamp(24px, 4vw, 32px);
    padding-top: clamp(24px, 4vw, 32px);
    border-top: 1px solid var(--neutral-300);
}

/* Calendar */
.booking-calendar {
    width: 100%;
    border: 1px solid rgba(204, 204, 204, 0.65);
    border-radius: var(--radius-sm);
    padding: clamp(16px, 3vw, 24px);
    background: rgba(255, 255, 255, 0.42);
}

.booking-calendar__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.booking-calendar__month {
    font-weight: 700;
    color: var(--neutral-900);
    font-size: 1rem;
}

.booking-calendar__nav {
    width: 36px;
    height: 36px;
    border: 1px solid var(--neutral-300);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--neutral-600);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: border-color var(--transition-fast), color var(--transition-fast);
}

.booking-calendar__nav:hover:not(:disabled) {
    border-color: var(--dark-jade);
    color: var(--dark-jade);
}

.booking-calendar__nav:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.booking-calendar__weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-bottom: 8px;
}

.booking-calendar__weekday {
    text-align: center;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--neutral-600);
    padding: 6px 0;
}

.booking-calendar__grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.booking-calendar__day {
    aspect-ratio: 1;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    background: transparent;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--neutral-900);
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color var(--transition-fast), border-color var(--transition-fast);
}

.booking-calendar__day:hover:not(:disabled):not(.booking-calendar__day--selected) {
    background: var(--jade-100);
}

.booking-calendar__day--outside {
    color: var(--neutral-300);
}

.booking-calendar__day--disabled {
    color: var(--neutral-300);
    cursor: not-allowed;
}

.booking-calendar__day--selected {
    font-weight: 700;
}

.booking-calendar__day--selected::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--dark-jade);
}

/* Form actions */
.booking-form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-top: clamp(28px, 4vw, 36px);
    padding-top: 24px;
    border-top: 1px solid var(--neutral-300);
}

.booking-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    transition: background-color var(--transition-fast),
                color var(--transition-fast),
                border-color var(--transition-fast);
}

.booking-btn--secondary {
    background: var(--white);
    color: var(--neutral-900);
    border-color: var(--neutral-300);
}

.booking-btn--secondary:hover {
    border-color: var(--dark-jade);
    color: var(--dark-jade);
}

.booking-btn--primary {
    background: var(--dark-jade);
    color: var(--white);
    border-color: var(--dark-jade);
}

.booking-btn--primary:hover {
    background: var(--jade-900);
}

.booking-btn--primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Summary sidebar */
.booking-summary {
    position: sticky;
    background: rgba(255, 255, 255, 0.68);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: clamp(24px, 4vw, 32px);
    top: calc(var(--header-offset) + 16px);
    overflow: hidden;
}

.booking-summary::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 58%;
    height: 42%;
    background: rgba(232, 244, 243, 0.45);
    border-radius: 0 0 0 70%;
    z-index: 0;
    pointer-events: none;
}

.booking-summary h2 {
    position: relative;
    z-index: 1;
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    color: var(--neutral-900);
    margin-bottom: 24px;
    font-weight: 700;
}

.booking-summary__list {
    position: relative;
    z-index: 1;
    list-style: none;
    margin: 0;
    padding: 0;
}

.booking-summary__item {
    display: flex;
    gap: 14px;
    padding: 18px 0;
    border-bottom: 1px solid var(--neutral-300);
}

.booking-summary__item:first-child {
    padding-top: 0;
}

.booking-summary__item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.booking-summary__icon {
    flex-shrink: 0;
    width: 28px;
    color: var(--dark-jade);
    font-size: 1.1rem;
    padding-top: 2px;
}

.booking-summary__content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.booking-summary__label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--neutral-600);
}

.booking-summary__value {
    font-weight: 700;
    color: var(--neutral-900);
    line-height: 1.4;
}

.booking-summary__meta {
    font-size: 0.92rem;
    color: var(--neutral-600);
    line-height: 1.5;
}

.booking-summary__item--tour .booking-summary__label {
    display: block;
    margin-bottom: 8px;
}

.booking-summary__select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid rgba(204, 204, 204, 0.75);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--neutral-900);
    background-color: rgba(255, 255, 255, 0.82);
    min-height: 44px;
    cursor: pointer;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.booking-summary__select:hover {
    border-color: var(--jade-500);
}

.booking-summary__select:focus {
    outline: none;
    border-color: var(--dark-jade);
    box-shadow: var(--focus-ring);
}

@media (min-width: 960px) {
    .booking-layout {
        grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
    }
}

@media (max-width: 991.98px) {
    .booking-page {
        min-height: auto;
    }
}

@media (max-width: 599px) {
    .booking-form-actions {
        flex-direction: column-reverse;
    }

    .booking-btn {
        width: 100%;
    }
}

.booking-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}
