/* ============================================================
   SPLENDID MOVING — Booking Calendar
   Brand-consistent design system (matches main site)
   ============================================================ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
    --primary:          #032449;
    --primary-light:    #0a3a6e;
    --secondary:        #188bf6;
    --secondary-light:  #4da3f8;
    --secondary-dim:    rgba(24, 139, 246, 0.12);
    --accent:           #f6f9ff;
    --white:            #ffffff;
    --black:            #0a0a0a;

    --gray-50:  #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;

    --success:        #16a34a;
    --success-light:  #dcfce7;
    --error:          #dc2626;
    --error-light:    #fee2e2;

    --font-display: 'Space Grotesk', sans-serif;
    --font-body:    'Plus Jakarta Sans', sans-serif;

    --radius-sm:   0.375rem;
    --radius-md:   0.5rem;
    --radius-lg:   0.75rem;
    --radius-xl:   1rem;
    --radius-2xl:  1.5rem;
    --radius-full: 9999px;

    --shadow-sm:  0 1px 2px rgb(0 0 0 / 0.05);
    --shadow-md:  0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg:  0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl:  0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-glow: 0 0 30px rgb(24 139 246 / 0.25);

    --transition-fast:   150ms ease;
    --transition-base:   250ms ease;
    --transition-spring: 400ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── Reset & Base ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--accent);
    -webkit-font-smoothing: antialiased;
}

a { color: var(--secondary); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

button { cursor: pointer; font-family: inherit; }

.container {
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* ── Site Header ───────────────────────────────────────────── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 200;
    background: var(--primary);
    box-shadow: 0 1px 0 rgb(255 255 255 / 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}

.header-logo img { height: 46px; width: auto; }

.header-phone {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--white);
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    opacity: 0.92;
    transition: opacity var(--transition-fast);
}
.header-phone:hover { opacity: 1; text-decoration: none; }
.header-phone svg { color: var(--secondary-light); }

/* ── Booking Hero ──────────────────────────────────────────── */
.booking-hero {
    background: linear-gradient(160deg, var(--primary) 0%, #051c35 100%);
    padding: 3.5rem 0 3rem;
    text-align: center;
    color: var(--white);
}

.hero-inner { display: flex; flex-direction: column; align-items: center; gap: 1rem; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: var(--secondary-dim);
    border: 1px solid rgba(24, 139, 246, 0.3);
    color: var(--secondary-light);
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.35rem 0.9rem;
    border-radius: var(--radius-full);
}

.booking-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.booking-hero p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.78);
    max-width: 520px;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1.5rem;
    margin-top: 0.5rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.72);
}
.trust-item svg { color: var(--secondary-light); flex-shrink: 0; }

/* ── Main Booking Section ──────────────────────────────────── */
.booking-main { padding: 2rem 0 4rem; }

.booking-container {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* ── Steps Bar ─────────────────────────────────────────────── */
.steps-bar {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    margin-bottom: 1.75rem;
    padding: 0 0.5rem;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    opacity: 0.45;
    transition: opacity var(--transition-base);
}
.step-item.active  { opacity: 1; }
.step-item.done    { opacity: 0.7; }

.step-num {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    background: var(--gray-200);
    color: var(--gray-500);
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-base), color var(--transition-base);
}
.step-item.active .step-num {
    background: var(--secondary);
    color: var(--white);
    box-shadow: 0 0 0 4px var(--secondary-dim);
}
.step-item.done .step-num {
    background: var(--success);
    color: var(--white);
}

.step-label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--gray-500);
}
.step-item.active .step-label { color: var(--secondary); }
.step-item.done .step-label   { color: var(--success); }

.step-divider {
    flex: 1;
    max-width: 48px;
    height: 2px;
    background: var(--gray-200);
    margin: 0 0.25rem;
    margin-top: 15px; /* vertically centers line with the 32px step-num circles */
}

/* ── Booking Panel ─────────────────────────────────────────── */
.booking-panel {
    display: none;
    background: var(--white);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    padding: 2rem 2rem 2.25rem;
    animation: fadeSlideUp 0.35s ease;
}
.booking-panel.active { display: block; }

@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

.panel-header { margin-bottom: 1.75rem; }
.panel-header h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.02em;
}
.panel-header p {
    margin-top: 0.3rem;
    font-size: 0.9rem;
    color: var(--gray-500);
}

.step-context {
    font-family: var(--font-display);
    font-size: 0.95rem !important;
    font-weight: 600;
    color: var(--secondary) !important;
}

/* ── Calendar ──────────────────────────────────────────────── */
.calendar-wrapper { position: relative; }

.cal-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.cal-nav-btn {
    width: 38px;
    height: 38px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-md);
    background: var(--white);
    color: var(--gray-600);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}
.cal-nav-btn:hover:not(:disabled) {
    background: var(--accent);
    border-color: var(--secondary);
    color: var(--secondary);
}
.cal-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.cal-month-label {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.01em;
}

.cal-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    margin-bottom: 0.5rem;
}
.cal-weekdays span {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--gray-400);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.4rem 0;
}

.cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    opacity: 0;
    transition: opacity 0.3s ease;
    gap: 4px;
}
.cal-grid--loaded { opacity: 1; }

.cal-day {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 500;
    border: 1.5px solid transparent;
    transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
    position: relative;
    min-height: 48px;
    user-select: none;
}

/* Empty cells */
.cal-day--empty { background: transparent; pointer-events: none; }

/* Past dates */
.cal-day--past {
    color: var(--gray-300);
    background: transparent;
    cursor: not-allowed;
}

/* Fully booked */
.cal-day--booked {
    color: var(--gray-400);
    background: var(--gray-50);
    cursor: not-allowed;
}

/* Today / Tomorrow — blocked but not "past" */
.cal-day--blocked {
    color: var(--gray-400);
    background: transparent;
    cursor: not-allowed;
    border-color: transparent;
}

/* Limited availability (a few slots left) */
.cal-day--limited {
    border-color: rgba(217, 119, 6, 0.25);
    background: rgba(217, 119, 6, 0.04);
}
.cal-day--limited:hover {
    background: rgba(217, 119, 6, 0.08) !important;
    border-color: #d97706 !important;
    color: #92400e !important;
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
    z-index: 1;
}

/* Only 1 slot left — urgent */
.cal-day--urgent {
    border-color: rgba(220, 38, 38, 0.2);
    background: rgba(220, 38, 38, 0.03);
}
.cal-day--urgent:hover {
    background: rgba(220, 38, 38, 0.07) !important;
    border-color: #dc2626 !important;
    color: #991b1b !important;
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
    z-index: 1;
}

/* Available dates */
.cal-day--available {
    color: var(--primary);
    background: var(--white);
    border-color: var(--gray-200);
    cursor: pointer;
}
.cal-day--available:hover {
    background: var(--accent);
    border-color: var(--secondary);
    color: var(--secondary);
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
    z-index: 1;
}

/* Today indicator */
.cal-day--today {
    border-color: var(--secondary) !important;
    font-weight: 700;
}
.cal-day--today::before {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--secondary);
}

/* Day number and slot badge */
.cal-day-num {
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1;
}
.cal-day-slots {
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1;
    margin-top: 3px;
}
.cal-day-slots--open    { color: var(--success); opacity: 0.75; }
.cal-day-slots--limited { color: #d97706; }
.cal-day-slots--urgent  { color: #dc2626; }
.cal-day-slots--full    { color: var(--gray-400); }

/* Selected */
.cal-day--selected {
    background: var(--secondary) !important;
    border-color: var(--secondary) !important;
    color: var(--white) !important;
    font-weight: 700;
    box-shadow: var(--shadow-glow);
    transform: scale(1.08);
    z-index: 2;
}
.cal-day--selected::before    { display: none; }
.cal-day--selected::after     { display: none; }
.cal-day--selected .cal-day-slots { display: none; }

/* Loading overlay */
.cal-loading {
    display: none;
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.85);
    border-radius: var(--radius-lg);
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--gray-500);
    backdrop-filter: blur(4px);
}
.cal-loading.visible { display: flex; }

/* Legend */
.cal-legend {
    display: flex;
    gap: 1.25rem;
    margin-top: 1.25rem;
    justify-content: flex-end;
}
.legend-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: var(--gray-500);
}
.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: var(--radius-full);
    flex-shrink: 0;
}
.legend-dot--available { background: var(--success); }
.legend-dot--limited   { background: #d97706; }
.legend-dot--booked    { background: var(--gray-300); }

/* ── Slots Grid ────────────────────────────────────────────── */
.slots-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 2rem;
    color: var(--gray-500);
    font-size: 0.9rem;
}

.slots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.slot-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    padding: 1.1rem 0.75rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    background: var(--white);
    cursor: pointer;
    transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
    text-align: center;
}

.slot-card:hover:not(.slot-card--unavailable) {
    border-color: var(--secondary);
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.slot-card--selected {
    border-color: var(--secondary) !important;
    background: var(--secondary) !important;
    box-shadow: var(--shadow-glow) !important;
    transform: translateY(-2px);
}
.slot-card--selected .slot-time,
.slot-card--selected .slot-status { color: var(--white) !important; }

.slot-card--unavailable {
    border-color: var(--gray-100);
    background: var(--gray-50);
    cursor: not-allowed;
    opacity: 0.55;
}

.slot-time {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
}

.slot-status {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--gray-400);
}
.slot-card:not(.slot-card--unavailable):not(.slot-card--selected) .slot-status {
    color: var(--success);
}

/* ── Form ──────────────────────────────────────────────────── */
.form-section { margin-bottom: 2rem; }
.form-section:last-of-type { margin-bottom: 1.5rem; }

.form-section-title {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gray-400);
    margin-bottom: 1rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid var(--gray-100);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
}

.req { color: var(--secondary); }
.optional { font-weight: 400; color: var(--gray-400); font-size: 0.8rem; }

input[type="text"],
input[type="tel"],
input[type="email"],
select,
textarea {
    width: 100%;
    padding: 0.65rem 0.85rem;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--gray-800);
    background: var(--white);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    padding-right: 2.25rem;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(24, 139, 246, 0.15);
}

input.invalid, select.invalid, textarea.invalid {
    border-color: var(--error);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

textarea { resize: vertical; }

.field-error {
    font-size: 0.8rem;
    color: var(--error);
    font-weight: 500;
    min-height: 1.1em;
}

/* ── Booking Summary ───────────────────────────────────────── */
.booking-summary {
    background: var(--accent);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-bottom: 1.75rem;
}

.summary-section {
    padding: 1.1rem 1.5rem;
    border-bottom: 1px solid var(--gray-200);
}
.summary-section:last-child { border-bottom: none; }

.summary-section-title {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gray-400);
    margin-bottom: 0.6rem;
}

.summary-row {
    display: flex;
    gap: 1rem;
    align-items: baseline;
}
.summary-row + .summary-row { margin-top: 0.35rem; }

.summary-label {
    font-size: 0.82rem;
    color: var(--gray-500);
    font-weight: 500;
    min-width: 90px;
    flex-shrink: 0;
}
.summary-value {
    font-size: 0.92rem;
    color: var(--primary);
    font-weight: 600;
}

/* ── API Error ─────────────────────────────────────────────── */
.api-error {
    display: none;
    background: var(--error-light);
    border: 1px solid rgba(220, 38, 38, 0.25);
    color: var(--error);
    border-radius: var(--radius-md);
    padding: 0.9rem 1.1rem;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.25rem;
}
.api-error.visible { display: block; }

/* ── Success Screen ────────────────────────────────────────── */
.success-screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    padding: 1rem 0;
}

.success-icon {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-full);
    background: var(--success-light);
    color: var(--success);
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 8px rgba(22, 163, 74, 0.1);
}

.success-screen h2 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
}

.success-msg {
    color: var(--gray-600);
    max-width: 400px;
}

.success-card {
    background: var(--accent);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 1.25rem 1.5rem;
    text-align: left;
    width: 100%;
    max-width: 480px;
}
.success-card-row {
    display: flex;
    gap: 0.75rem;
    align-items: baseline;
    font-size: 0.9rem;
}
.success-card-row + .success-card-row { margin-top: 0.5rem; }
.success-card-row .label { color: var(--gray-500); min-width: 80px; font-size: 0.82rem; }
.success-card-row .value { color: var(--primary); font-weight: 600; }

.success-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 0.5rem;
}

.success-contact {
    font-size: 0.875rem;
    color: var(--gray-500);
}
.success-contact a { color: var(--secondary); font-weight: 600; }

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.7rem 1.4rem;
    border-radius: var(--radius-md);
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    border: 2px solid transparent;
    transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
    cursor: pointer;
    text-decoration: none;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn:active { transform: translateY(0); }

.btn--primary {
    background: var(--secondary);
    color: var(--white);
    border-color: var(--secondary);
}
.btn--primary:hover {
    background: #0d7de0;
    border-color: #0d7de0;
    box-shadow: var(--shadow-glow);
}

.btn--outline {
    background: transparent;
    color: var(--secondary);
    border-color: var(--secondary);
}
.btn--outline:hover {
    background: var(--secondary-dim);
}

.btn--back {
    background: transparent;
    color: var(--gray-600);
    border-color: var(--gray-200);
    padding: 0.7rem 1.1rem;
}
.btn--back:hover {
    background: var(--gray-50);
    border-color: var(--gray-300);
    color: var(--gray-700);
}

.panel-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 1.75rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--gray-100);
}
.panel-actions--left { justify-content: flex-start; }

/* Spinner inside button */
.btn-spinner {
    width: 15px;
    height: 15px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: var(--white);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

/* Standalone spinner */
.spinner {
    width: 24px;
    height: 24px;
    border: 2.5px solid var(--gray-200);
    border-top-color: var(--secondary);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    flex-shrink: 0;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ── Site Footer ───────────────────────────────────────────── */
.site-footer {
    background: var(--primary);
    padding: 1.25rem 0;
    text-align: center;
}

.footer-inner p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
}
.footer-inner a {
    color: rgba(255, 255, 255, 0.65);
    transition: color var(--transition-fast);
}
.footer-inner a:hover { color: var(--white); text-decoration: none; }

/* ── Office Notice ─────────────────────────────────────────── */
.office-notice {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    margin-top: 1.25rem;
    padding: 0.85rem 1rem;
    background: rgba(24, 139, 246, 0.06);
    border: 1px solid rgba(24, 139, 246, 0.2);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    color: var(--gray-600);
    line-height: 1.55;
}
.office-notice-icon {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--secondary);
}
.office-notice p { margin: 0; }
.office-notice strong { color: var(--primary); }
.office-notice a { font-weight: 600; }

/* ── Far Pickup Note (inside slots grid) ───────────────────── */
.far-pickup-note {
    grid-column: 1 / -1;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(217, 119, 6, 0.06);
    border: 1px solid rgba(217, 119, 6, 0.25);
    border-radius: var(--radius-md);
    font-size: 0.82rem;
    color: #92400e;
    line-height: 1.5;
}
.far-pickup-note svg { flex-shrink: 0; margin-top: 1px; color: #d97706; }
.far-pickup-note strong { color: #78350f; }

/* ── Terms Box ─────────────────────────────────────────────── */
.terms-box {
    max-height: 260px;
    overflow-y: auto;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 1.1rem 1.25rem;
    font-size: 0.875rem;
    color: var(--gray-700);
    line-height: 1.7;
    background: var(--gray-50);
    margin-bottom: 1.25rem;
    -webkit-overflow-scrolling: touch;
}
.terms-box h3 {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0.9rem 0 0.25rem;
}
.terms-box h3:first-child { margin-top: 0; }
.terms-box p { margin-bottom: 0.35rem; }

/* ── Terms Accept Checkbox ─────────────────────────────────── */
.terms-accept {
    margin-bottom: 1.25rem;
}
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-700);
}
.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: var(--secondary);
    cursor: pointer;
}

/* ── Panel Actions — end-aligned (step 1) ──────────────────── */
.panel-actions--end {
    justify-content: flex-end;
}

/* ── Form Section spacing ──────────────────────────────────── */
.form-section { margin-bottom: 1.5rem; }
.form-section:last-of-type { margin-bottom: 0; }

/* ── Google Places Autocomplete Dropdown ───────────────────── */
.pac-container {
    border-radius: var(--radius-md) !important;
    border: 1.5px solid var(--gray-200) !important;
    box-shadow: var(--shadow-lg) !important;
    font-family: var(--font-body) !important;
    margin-top: 4px;
}
.pac-item { font-size: 0.875rem !important; padding: 0.4rem 0.75rem !important; }
.pac-item:hover { background: var(--accent) !important; }

/* ── Move Size Step ────────────────────────────────────────── */
.move-size-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.625rem;
    margin-bottom: 0.5rem;
}

.move-size-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 0.5rem 0.875rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    background: var(--white);
    cursor: pointer;
    font-family: inherit;
    transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
    text-align: center;
    color: var(--gray-700);
}
.move-size-card:hover {
    border-color: var(--secondary);
    background: var(--accent);
    color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.move-size-card--selected {
    border-color: var(--secondary) !important;
    background: var(--secondary-dim) !important;
    color: var(--secondary) !important;
    box-shadow: 0 0 0 3px rgba(24, 139, 246, 0.15);
}

.move-size-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: inherit;
}
.move-size-label {
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.2;
    color: inherit;
}

/* ── Movers Selection ──────────────────────────────────────── */
.movers-section {
    display: none;
    margin-top: 0.25rem;
}
.movers-section.visible { display: block; }

.movers-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.mover-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    background: var(--white);
    cursor: pointer;
    font-family: inherit;
    text-align: left;
    transition: background var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.mover-btn:hover {
    border-color: var(--secondary);
    background: var(--accent);
    box-shadow: var(--shadow-md);
}
.mover-btn--recommended {
    border-color: rgba(24, 139, 246, 0.4);
    background: var(--accent);
}
.mover-btn--selected {
    border-color: var(--secondary) !important;
    background: var(--secondary) !important;
    box-shadow: var(--shadow-glow) !important;
}

/* Left side: name, desc, badge */
.mover-btn__info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}
.mover-btn__team {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
}
.mover-btn__desc {
    font-size: 0.8rem;
    color: var(--gray-500);
    line-height: 1.3;
}
.mover-badge {
    display: none;
    align-self: flex-start;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--secondary);
    background: var(--secondary-dim);
    border-radius: var(--radius-full);
    padding: 0.15rem 0.5rem;
    margin-top: 0.15rem;
}
.mover-btn--recommended .mover-badge { display: inline-block; }

/* Right side: rate columns */
.mover-btn__pricing {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}
.mover-btn__rate-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.1rem;
    min-width: 3.25rem;
    text-align: center;
}
.mover-btn__rate-amount {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}
.mover-btn__rate-unit {
    font-size: 0.85rem;
    font-weight: 600;
    opacity: 0.7;
}
.mover-btn__rate-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
}
.mover-btn__rate-sep {
    font-size: 0.8rem;
    color: var(--gray-400);
    font-weight: 500;
}

/* Selected state — white text on blue */
.mover-btn--selected .mover-btn__team,
.mover-btn--selected .mover-btn__rate-amount { color: var(--white) !important; }
.mover-btn--selected .mover-btn__desc,
.mover-btn--selected .mover-btn__rate-label,
.mover-btn--selected .mover-btn__rate-sep { color: rgba(255,255,255,0.75) !important; }
.mover-btn--selected .mover-badge {
    background: rgba(255,255,255,0.25);
    color: var(--white);
}

/* ── What's Included Box ───────────────────────────────────── */
.rate-includes {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 0.875rem 1.125rem;
    margin-bottom: 0.875rem;
}
.rate-includes__title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--gray-500);
    margin-bottom: 0.5rem;
}
.rate-includes__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.3rem 1rem;
}
.rate-includes__list li {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.83rem;
    font-weight: 500;
    color: var(--gray-700);
}
.rate-includes__list li::before {
    content: '✓';
    color: #16a34a;
    font-weight: 800;
    font-size: 0.9rem;
    flex-shrink: 0;
    line-height: 1;
}

/* ── 3-Hour Minimum Notice ─────────────────────────────────── */
.min-charge-box {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    padding: 0.9rem 1.125rem;
    background: rgba(24, 139, 246, 0.06);
    border: 1.5px solid rgba(24, 139, 246, 0.3);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    color: var(--primary);
    line-height: 1.6;
    margin-bottom: 1rem;
}
.min-charge-box strong { color: var(--primary); }
.min-charge-box a { color: var(--secondary); font-weight: 600; }

/* ── Mover Under-Recommendation Warning ────────────────────── */
.mover-warning {
    display: none;
    align-items: flex-start;
    gap: 0.625rem;
    padding: 0.9rem 1rem;
    background: rgba(217, 119, 6, 0.07);
    border: 1.5px solid rgba(217, 119, 6, 0.35);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    color: #92400e;
    line-height: 1.55;
    margin-bottom: 1rem;
}
.mover-warning.visible { display: flex; }
.mover-warning-icon { flex-shrink: 0; margin-top: 1px; color: #d97706; }
.mover-warning strong { color: #78350f; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 640px) {
    .booking-panel { padding: 1.5rem 1.25rem 1.75rem; }

    .form-row { grid-template-columns: 1fr; }

    .slots-grid { grid-template-columns: repeat(2, 1fr); }

    .panel-actions { flex-direction: column-reverse; }
    .panel-actions .btn { width: 100%; justify-content: center; }
    .panel-actions--left { flex-direction: column; }
    .panel-actions--left .btn { width: auto; }

    .booking-hero { padding: 2.5rem 0 2rem; }
    .hero-trust { gap: 0.4rem 1rem; }

    .steps-bar { gap: 0; }
    .step-label { display: none; }
    .step-divider { max-width: 20px; margin: 0 0.1rem; }
    .step-num { width: 28px; height: 28px; font-size: 0.8rem; }

    .success-actions { flex-direction: column; }
    .success-actions .btn { width: 100%; justify-content: center; }

    .cal-day { font-size: 0.82rem; min-height: 44px; }
    .cal-day-num { font-size: 0.82rem; }
    .cal-day-slots { font-size: 0.5rem; }

    /* Calendar legend: wrap instead of overflowing */
    .cal-legend { gap: 0.5rem 0.875rem; flex-wrap: wrap; justify-content: center; }
    .legend-item { font-size: 0.72rem; }

    .office-notice { font-size: 0.82rem; }
    .terms-box { max-height: 200px; font-size: 0.82rem; }
    .panel-actions--end { justify-content: stretch; }
    .panel-actions--end .btn { width: 100%; justify-content: center; }

    /* Rates: stack pricing below team info so neither section is cramped */
    .mover-btn {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 0.875rem 1rem;
        gap: 0.625rem;
    }
    .mover-btn__pricing {
        width: 100%;
        justify-content: flex-start;
        gap: 1rem;
    }
    .mover-btn__rate-col { min-width: 2.75rem; }
    .mover-btn__rate-amount { font-size: 1.2rem; }

    .rate-includes__list { grid-template-columns: 1fr; }

    /* Time slots: smaller text so the long label fits in a 2-column card */
    .slot-time   { font-size: 0.82rem; }
    .slot-status { font-size: 0.65rem; }
}

@media (max-width: 480px) {
    /* Single-column horizontal slot cards on small phones */
    .slots-grid { grid-template-columns: 1fr; gap: 0.5rem; }
    .slot-card {
        flex-direction: row;
        justify-content: space-between;
        padding: 0.875rem 1.25rem;
        gap: 0.5rem;
    }
    .slot-time   { font-size: 0.9rem; text-align: left; }
    .slot-status { font-size: 0.72rem; text-align: right; }
}
