/* ==========================================================================
   BOOKING PAGE
   ========================================================================== */

/* ---- Hero ----
   Same content/media split as .du-services-hero (_services.css) — new
   selector, same recipe, so no layout rules are duplicated verbatim,
   just re-declared under this page's own class per the theme's existing
   one-modifier-per-page convention. */
.du-booking-hero {
    display: flex;
    flex-direction: column-reverse;
    align-items: stretch;
    gap: var(--space-xl);
}

.du-booking-hero .du-hero__content {
    margin: 0;
    max-width: 560px;
}

.du-booking-hero__media {
    width: 100%;
}

.du-booking-hero__image {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-level-2);
}

@media (min-width: 768px) {
    .du-booking-hero {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .du-booking-hero .du-hero__content {
        flex: 0 0 46%;
    }

    .du-booking-hero__media {
        flex: 0 0 50%;
    }
}

/* ---- Preview section wrapper ---- */
.du-booking-preview {
    padding-top: var(--space-xl);
    padding-bottom: var(--space-xl);
    background-color: var(--surface-alt);
}

.du-booking-preview__header {
    max-width: 640px;
    margin: 0 auto var(--space-lg);
    text-align: center;
}

.du-booking-preview__eyebrow {
    color: var(--surface-tint);
    margin-bottom: var(--space-xs);
}

.du-booking-preview__description {
    margin: 0;
}

.du-booking-preview__caption {
    text-align: center;
    color: var(--outline);
    max-width: 480px;
    margin: var(--space-sm) auto 0;
}

.du-booking-preview__notice {
    display: flex;
    justify-content: center;
    margin-top: var(--space-xl);
}

.du-booking-preview__notice .du-cta--compact {
    max-width: 480px;
}

/* ---- Mock booking widget ----
   The future booking system's mount point. Same card chrome as
   .du-quiz-mock (_quiz.css) for consistency between the two preview
   pages, but declared separately since the two pages don't share a
   stylesheet. */
.du-booking-mock {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
    background-color: var(--surface);
    border: var(--border-width) solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-level-1);
    padding: var(--space-lg);
}

.du-booking-mock__badge {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
}

/* ---- Step tracker ----
   Reuses .du-rcp__tracker / .du-rcp__tracker-item / .du-rcp__connector
   as-is (about-page/_reality-check-process.css); only the active-step
   highlight and the visible step-label text beneath each chip are new. */
.du-booking-mock__tracker {
    display: flex;
    flex-wrap: wrap;
    row-gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.du-booking-mock__step-chip {
    color: var(--outline);
    background-color: var(--surface-container-low);
}

.du-booking-mock__step-chip--active {
    color: var(--on-primary);
    background-color: var(--primary);
}

.du-booking-mock__step-label {
    display: block;
    text-align: center;
    color: var(--outline);
    margin-top: var(--space-xs);
}

.du-booking-mock__panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-lg);
    padding: var(--space-md);
    background-color: var(--surface-container-low);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-lg);
}

.du-booking-mock__fields {
    display: flex;
    flex-direction: column;
}

.du-booking-mock__fields .du-form-field {
    margin-bottom: var(--space-sm);
}

.du-booking-mock__fields .du-form-field:last-child {
    margin-bottom: 0;
}

.du-booking-mock__confirm {
    width: 100%;
}

@media (min-width: 768px) {
    .du-booking-mock__panel {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .du-booking-mock__confirm {
        width: auto;
        display: block;
        margin-inline: auto;
    }
}

@media (max-width: 767px) {
    .du-booking-mock {
        padding: var(--space-md);
    }

    .du-booking-mock__badge {
        position: static;
        display: inline-flex;
        margin-bottom: var(--space-sm);
    }
}
