/* Explain: Styles for the booking page, including hero, form, and success message. */
/* ---------- Booking page ---------- */
.booking-hero {
    position: relative;
    overflow: hidden;
    padding-block: 3rem 2.5rem;
    background: var(--surface-color);
    border-bottom: 1px solid var(--border-color);
}

@media (min-width: 1024px) {
    .booking-hero {
        padding-block: 4.5rem 3.75rem;
    }
}

.booking-hero::before {
    content: '';
    position: absolute;
    top: -9rem;
    right: -7rem;
    width: 26rem;
    height: 26rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(185, 58, 43, 0.14), transparent 68%);
    pointer-events: none;
}

.booking-title {
    position: relative;
    margin-top: 1rem;
    font-size: clamp(1.75rem, 3.8vw, 2.75rem);
    line-height: 1.34;
    color: var(--primary-color);
}

.booking-lead {
    position: relative;
    max-width: 42rem;
    margin-top: 1.15rem;
    font-size: 0.98rem;
    line-height: 1.95;
    color: var(--text-muted);
}

.booking-steps {
    position: relative;
    margin-top: 2.5rem;
}

.booking-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .booking-grid {
        grid-template-columns: 0.8fr 1.2fr;
        gap: 3rem;
        align-items: start;
    }
}

.booking-side {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.booking-card {
    padding: 1.5rem 1.65rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--card-color);
}

.booking-card-title {
    font-size: 1.02rem;
    color: var(--primary-color);
}

.booking-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-top: 0.9rem;
}

.booking-list li {
    display: flex;
    gap: 0.65rem;
    font-size: 0.87rem;
    line-height: 1.8;
    color: var(--text-muted);
}

.booking-list i {
    margin-top: 0.35rem;
    color: var(--accent-color);
}

.booking-list a {
    color: var(--primary-color);
    border-bottom: 1px solid var(--accent-soft);
}

.booking-list a:hover {
    color: var(--accent-color);
}

.booking-form-card {
    scroll-margin-top: 6rem;
}

.booking-form-card .booking-card-title {
    margin-bottom: 0.35rem;
}

.booking-form-card.is-hidden {
    display: none;
}

.booking-form-intro {
    margin-bottom: 1.35rem;
    font-size: 0.85rem;
    line-height: 1.8;
    color: var(--text-muted);
}

.booking-success {
    display: none;
    padding: 2rem;
    border: 1px solid var(--accent-soft);
    border-radius: var(--radius-md);
    background: var(--card-color);
    box-shadow: var(--shadow-card);
    scroll-margin-top: 6rem;
}

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

.booking-success-icon {
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: var(--surface-color);
    color: var(--accent-color);
    font-size: 1.2rem;
}

.booking-success-title {
    margin-top: 1.15rem;
    font-size: 1.3rem;
}

.booking-success-text {
    margin-top: 0.7rem;
    font-size: 0.9rem;
    line-height: 1.85;
    color: var(--text-muted);
}

.booking-summary {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-top: 1.2rem;
    padding-top: 1.2rem;
    border-top: 1px dashed var(--border-color);
    font-size: 0.88rem;
    color: var(--text-color);
}

.booking-summary li {
    position: relative;
    padding-left: 0.95rem;
    line-height: 1.75;
}

.booking-summary li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 50%;
    background: var(--accent-color);
}

.booking-success-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1.6rem;
}

.consent-row {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    padding: 0.95rem 1.05rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: #fdfbf7;
}

.consent-check {
    flex: none;
    width: 1.15rem;
    height: 1.15rem;
    margin-top: 0.32rem;
    accent-color: var(--accent-color);
    cursor: pointer;
}

.consent-label {
    font-size: 0.82rem;
    line-height: 1.85;
    color: var(--text-muted);
    cursor: pointer;
}

.consent-check:checked + .consent-label {
    color: var(--text-color);
}