/* ============================================================
   CROSSROADS MOBILITY - DESIGN SYSTEM
   Matches mockup: indigo/purple customer app, navy workshop ERP
   ============================================================ */

:root {
    /* Brand */
    --cr-primary: #4F46E5;       /* Indigo - primary actions, customer app */
    --cr-primary-dark: #4338CA;
    --cr-primary-light: #EEF2FF;

    /* Workshop (navy + orange accent) */
    --cr-navy: #1E2A4A;
    --cr-navy-light: #2D3B5C;
    --cr-orange: #F97316;
    --cr-orange-dark: #EA580C;

    /* Status colors */
    --cr-success: #16A34A;
    --cr-success-bg: #DCFCE7;
    --cr-warning: #F59E0B;
    --cr-warning-bg: #FEF3C7;
    --cr-danger: #DC2626;
    --cr-danger-bg: #FEE2E2;
    --cr-info: #2563EB;
    --cr-info-bg: #DBEAFE;

    /* Neutrals */
    --cr-bg: #F8F9FC;
    --cr-surface: #FFFFFF;
    --cr-border: #E5E7EB;
    --cr-text: #111827;
    --cr-text-muted: #6B7280;
    --cr-text-light: #9CA3AF;

    /* Layout */
    --cr-radius-sm: 6px;
    --cr-radius: 10px;
    --cr-radius-lg: 16px;
    --cr-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --cr-shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --cr-sidebar-width: 260px;

    /* Type */
    --cr-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: var(--cr-font);
    background: var(--cr-bg);
    color: var(--cr-text);
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ============================================================
   LAYOUT - SHELLS
   ============================================================ */

.cr-shell {
    display: flex;
    min-height: 100vh;
}

.cr-sidebar {
    width: var(--cr-sidebar-width);
    background: var(--cr-navy);
    color: #fff;
    flex-shrink: 0;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease;
    z-index: 100;
}

.cr-sidebar--light {
    background: var(--cr-surface);
    color: var(--cr-text);
    border-right: 1px solid var(--cr-border);
}

.cr-main {
    flex: 1;
    min-width: 0;
    padding: 24px;
}

.cr-main--narrow { max-width: 1400px; margin: 0 auto; }

/* Sidebar brand */
.cr-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px 20px 16px;
    font-weight: 800;
    font-size: 18px;
    letter-spacing: 0.5px;
}

.cr-brand .cr-brand-x {
    color: var(--cr-orange);
    font-size: 22px;
}

.cr-brand small {
    display: block;
    font-size: 10px;
    font-weight: 400;
    color: rgba(255,255,255,0.5);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.cr-sidebar--light .cr-brand small { color: var(--cr-text-light); }

/* Sidebar nav */
.cr-nav { padding: 8px 12px; flex: 1; }

.cr-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    border-radius: var(--cr-radius-sm);
    color: rgba(255,255,255,0.65);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 2px;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    border: none;
    background: transparent;
    width: 100%;
    text-align: left;
}

.cr-nav-item:hover { background: rgba(255,255,255,0.06); color: #fff; }

.cr-nav-item.active {
    background: var(--cr-primary);
    color: #fff;
}

.cr-sidebar--light .cr-nav-item { color: var(--cr-text-muted); }
.cr-sidebar--light .cr-nav-item:hover { background: var(--cr-primary-light); color: var(--cr-primary); }
.cr-sidebar--light .cr-nav-item.active { background: var(--cr-primary); color: #fff; }

.cr-sidebar--workshop .cr-nav-item.active { background: var(--cr-orange); color: #fff; }

.cr-nav-item svg { width: 18px; height: 18px; flex-shrink: 0; }

/* User chip at top/bottom of sidebar */
.cr-user-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.cr-sidebar--light .cr-user-chip { border-bottom: 1px solid var(--cr-border); }

.cr-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--cr-primary-light);
    color: var(--cr-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
    overflow: hidden;
}

.cr-user-chip .cr-user-name { font-size: 14px; font-weight: 600; }
.cr-user-chip .cr-user-role { font-size: 12px; color: rgba(255,255,255,0.5); }
.cr-sidebar--light .cr-user-chip .cr-user-role { color: var(--cr-text-light); }

/* ============================================================
   TOPBAR
   ============================================================ */

.cr-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}

.cr-topbar h1 { font-size: 22px; font-weight: 700; margin: 0; }
.cr-topbar .cr-subtitle { color: var(--cr-text-muted); font-size: 14px; margin-top: 2px; }

.cr-search {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--cr-surface);
    border: 1px solid var(--cr-border);
    border-radius: var(--cr-radius);
    padding: 9px 14px;
    min-width: 240px;
    color: var(--cr-text-light);
    font-size: 14px;
}

.cr-search input { border: none; outline: none; background: transparent; flex: 1; font-size: 14px; }

.cr-icon-btn {
    width: 38px;
    height: 38px;
    border-radius: var(--cr-radius);
    background: var(--cr-surface);
    border: 1px solid var(--cr-border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--cr-text-muted);
    position: relative;
}

.cr-icon-btn .cr-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--cr-danger);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================================================
   CARDS
   ============================================================ */

.cr-card {
    background: var(--cr-surface);
    border-radius: var(--cr-radius-lg);
    padding: 20px;
    box-shadow: var(--cr-shadow);
    border: 1px solid var(--cr-border);
}

.cr-card-title {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 4px;
}

.cr-card-link {
    font-size: 13px;
    color: var(--cr-primary);
    font-weight: 600;
}

.cr-grid {
    display: grid;
    gap: 16px;
}

.cr-grid-2 { grid-template-columns: repeat(2, 1fr); }
.cr-grid-3 { grid-template-columns: repeat(3, 1fr); }
.cr-grid-4 { grid-template-columns: repeat(4, 1fr); }
.cr-grid-5 { grid-template-columns: repeat(5, 1fr); }

@media (max-width: 1100px) {
    .cr-grid-4, .cr-grid-5 { grid-template-columns: repeat(2, 1fr); }
    .cr-grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
    .cr-grid-2, .cr-grid-3, .cr-grid-4, .cr-grid-5 { grid-template-columns: 1fr; }
    .cr-sidebar { position: fixed; left: 0; transform: translateX(-100%); }
    .cr-sidebar.open { transform: translateX(0); }
    .cr-main { padding: 16px; }
}

/* Stat card */
.cr-stat-card {
    background: var(--cr-surface);
    border-radius: var(--cr-radius-lg);
    padding: 18px 20px;
    box-shadow: var(--cr-shadow);
    border: 1px solid var(--cr-border);
}

.cr-stat-card .cr-stat-label {
    font-size: 13px;
    color: var(--cr-text-muted);
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.cr-stat-card .cr-stat-value {
    font-size: 26px;
    font-weight: 800;
}

.cr-stat-card .cr-stat-sub {
    font-size: 12px;
    color: var(--cr-text-light);
    margin-top: 4px;
}

.cr-stat-icon {
    width: 34px;
    height: 34px;
    border-radius: var(--cr-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================================================
   BUTTONS
   ============================================================ */

.cr-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: var(--cr-radius-sm);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: opacity 0.15s, transform 0.1s;
    white-space: nowrap;
}

.cr-btn:active { transform: scale(0.98); }

.cr-btn-primary { background: var(--cr-primary); color: #fff; }
.cr-btn-primary:hover { background: var(--cr-primary-dark); }

.cr-btn-outline { background: transparent; color: var(--cr-primary); border: 1px solid var(--cr-primary); }
.cr-btn-outline:hover { background: var(--cr-primary-light); }

.cr-btn-light { background: var(--cr-primary-light); color: var(--cr-primary); }

.cr-btn-orange { background: var(--cr-orange); color: #fff; }
.cr-btn-orange:hover { background: var(--cr-orange-dark); }
.cr-btn-danger { background: var(--cr-danger); color: #fff; }
.cr-btn-danger:hover { opacity: 0.9; }

.cr-btn-sm { padding: 6px 12px; font-size: 13px; }
.cr-btn-block { width: 100%; }
.cr-btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ============================================================
   FORMS
   ============================================================ */

.cr-field { margin-bottom: 16px; }

.cr-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--cr-text);
}

.cr-input, .cr-select, .cr-textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--cr-border);
    border-radius: var(--cr-radius-sm);
    font-size: 14px;
    font-family: var(--cr-font);
    background: var(--cr-surface);
    color: var(--cr-text);
}

.cr-input:focus, .cr-select:focus, .cr-textarea:focus {
    outline: none;
    border-color: var(--cr-primary);
    box-shadow: 0 0 0 3px var(--cr-primary-light);
}

.cr-textarea { resize: vertical; min-height: 90px; }

.cr-otp-inputs {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.cr-otp-inputs input {
    width: 48px;
    height: 56px;
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    border: 1px solid var(--cr-border);
    border-radius: var(--cr-radius-sm);
}

.cr-otp-inputs input:focus {
    outline: none;
    border-color: var(--cr-primary);
    box-shadow: 0 0 0 3px var(--cr-primary-light);
}

/* ============================================================
   BADGES / TAGS
   ============================================================ */

.cr-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

.cr-badge-success { background: var(--cr-success-bg); color: var(--cr-success); }
.cr-badge-warning { background: var(--cr-warning-bg); color: var(--cr-warning); }
.cr-badge-danger  { background: var(--cr-danger-bg);  color: var(--cr-danger); }
.cr-badge-info    { background: var(--cr-info-bg);    color: var(--cr-info); }
.cr-badge-muted   { background: #F3F4F6; color: var(--cr-text-muted); }

/* ============================================================
   TABLES
   ============================================================ */

.cr-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.cr-table th {
    text-align: left;
    padding: 10px 12px;
    color: var(--cr-text-muted);
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--cr-border);
}
.cr-table td {
    padding: 12px 12px;
    border-bottom: 1px solid var(--cr-border);
}
.cr-table tr:last-child td { border-bottom: none; }
.cr-table-wrap { overflow-x: auto; }

/* ============================================================
   AUTH PAGES
   ============================================================ */

.cr-auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cr-primary-light);
    padding: 20px;
}

.cr-auth-card {
    background: var(--cr-surface);
    border-radius: var(--cr-radius-lg);
    padding: 36px;
    width: 100%;
    max-width: 420px;
    box-shadow: var(--cr-shadow-md);
    text-align: center;
}

.cr-auth-card .cr-brand { justify-content: center; padding: 0 0 24px; color: var(--cr-text); }

.cr-auth-card h2 { font-size: 22px; margin: 0 0 6px; }
.cr-auth-card p.cr-sub { color: var(--cr-text-muted); font-size: 14px; margin: 0 0 24px; }

.cr-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--cr-text-light);
    font-size: 13px;
    margin: 18px 0;
}
.cr-divider::before, .cr-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--cr-border);
}

/* ============================================================
   STEPPER (Booking flow)
   ============================================================ */

.cr-stepper {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.cr-step {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--cr-text-light);
}

.cr-step .cr-step-num {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--cr-border);
    color: var(--cr-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.cr-step.active { color: var(--cr-primary); }
.cr-step.active .cr-step-num { background: var(--cr-primary); color: #fff; }

.cr-step.done .cr-step-num { background: var(--cr-success); color: #fff; }

.cr-step-line {
    width: 30px;
    height: 1px;
    background: var(--cr-border);
}

/* ============================================================
   SELECTABLE CARDS (vehicle/service/date selection)
   ============================================================ */

.cr-select-card {
    border: 1.5px solid var(--cr-border);
    border-radius: var(--cr-radius);
    padding: 14px;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
    position: relative;
}

.cr-select-card:hover { border-color: var(--cr-primary); }

.cr-select-card.selected {
    border-color: var(--cr-primary);
    background: var(--cr-primary-light);
}

.cr-select-card .cr-check {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--cr-primary);
    color: #fff;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.cr-select-card.selected .cr-check { display: flex; }

/* ============================================================
   PROGRESS / STATUS TRACKER
   ============================================================ */

.cr-tracker {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    padding: 0 10px;
}

.cr-tracker::before {
    content: '';
    position: absolute;
    top: 18px;
    left: 30px;
    right: 30px;
    height: 2px;
    background: var(--cr-border);
    z-index: 0;
}

.cr-tracker-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 1;
    flex: 1;
}

.cr-tracker-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--cr-surface);
    border: 2px solid var(--cr-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cr-text-light);
}

.cr-tracker-step.done .cr-tracker-icon { background: var(--cr-success); border-color: var(--cr-success); color: #fff; }
.cr-tracker-step.active .cr-tracker-icon { background: var(--cr-primary); border-color: var(--cr-primary); color: #fff; }

.cr-tracker-label { font-size: 12px; font-weight: 600; color: var(--cr-text-muted); text-align: center; }
.cr-tracker-step.active .cr-tracker-label, .cr-tracker-step.done .cr-tracker-label { color: var(--cr-text); }

/* ============================================================
   UTILITIES
   ============================================================ */

.cr-flex { display: flex; }
.cr-flex-between { display: flex; align-items: center; justify-content: space-between; }
.cr-flex-center { display: flex; align-items: center; justify-content: center; }
.cr-gap-8 { gap: 8px; }
.cr-gap-12 { gap: 12px; }
.cr-gap-16 { gap: 16px; }
.cr-mb-0 { margin-bottom: 0; }
.cr-mb-8 { margin-bottom: 8px; }
.cr-mb-16 { margin-bottom: 16px; }
.cr-mb-24 { margin-bottom: 24px; }
.cr-mt-16 { margin-top: 16px; }
.cr-text-muted { color: var(--cr-text-muted); }
.cr-text-sm { font-size: 13px; }
.cr-text-center { text-align: center; }
.cr-w-full { width: 100%; }
.cr-hidden { display: none !important; }

.cr-alert {
    padding: 12px 16px;
    border-radius: var(--cr-radius-sm);
    font-size: 14px;
    margin-bottom: 16px;
}
.cr-alert-success { background: var(--cr-success-bg); color: var(--cr-success); }
.cr-alert-danger { background: var(--cr-danger-bg); color: var(--cr-danger); }
.cr-alert-info { background: var(--cr-info-bg); color: var(--cr-info); }
.cr-alert-warning { background: var(--cr-warning-bg); color: var(--cr-warning); }

.cr-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--cr-text-light);
}
.cr-empty svg { width: 48px; height: 48px; margin: 0 auto 12px; opacity: 0.4; }

/* ============================================================
   LANDING PAGE
   ============================================================ */

.cr-navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--cr-surface);
    border-bottom: 1px solid var(--cr-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 40px;
}
.cr-navbar .cr-brand { font-size: 18px; padding: 0; flex-direction: row; align-items: flex-start; }
.cr-navbar .cr-brand small { display: block; font-size: 11px; font-weight: 400; color: var(--cr-text-muted); margin-left: 0; text-transform: none; letter-spacing: normal; }
.cr-navlinks {
    display: flex;
    gap: 32px;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}
.cr-navlinks a {
    color: var(--cr-text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}
.cr-navlinks a:hover { color: var(--cr-primary); }
.cr-navbar-actions { display: flex; gap: 10px; align-items: center; }

.cr-hero {
    background: linear-gradient(135deg, #F5F3FF 0%, #EEF2FF 50%, #F8F9FC 100%);
    padding: 60px 40px;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 40px;
    align-items: center;
}
.cr-hero-eyebrow {
    color: var(--cr-primary);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 8px;
}
.cr-hero h1 {
    font-size: 48px;
    line-height: 1.15;
    margin: 0 0 16px;
    font-weight: 800;
}
.cr-hero h1 .cr-accent { color: var(--cr-primary); }
.cr-hero p.cr-hero-sub {
    color: var(--cr-text-muted);
    font-size: 16px;
    margin-bottom: 24px;
    max-width: 480px;
}
.cr-hero-image {
    width: 100%;
    border-radius: var(--cr-radius-lg);
}
.cr-hero-image-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cr-hero-image-wrap::before {
    content: '';
    position: absolute;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(79,70,229,0.12) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}
.cr-hero-image-wrap svg { position: relative; z-index: 1; width: 100%; max-width: 460px; }

.cr-trust-row {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    padding: 24px 40px;
    background: var(--cr-surface);
    border-bottom: 1px solid var(--cr-border);
}
.cr-trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
}
.cr-trust-item .cr-trust-icon {
    width: 40px; height: 40px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.cr-trust-item .cr-trust-icon svg { width: 20px; height: 20px; }
.cr-trust-item strong { display: block; font-size: 14px; }
.cr-trust-item span { display: block; font-size: 12px; color: var(--cr-text-muted); }

.cr-section { padding: 56px 40px; }
.cr-section-header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 28px; flex-wrap: wrap; gap: 12px; }
.cr-section-header h2 { font-size: 28px; margin: 0 0 4px; }
.cr-section-header p { color: var(--cr-text-muted); margin: 0; font-size: 14px; }
.cr-section-link { color: var(--cr-primary); font-weight: 600; font-size: 14px; text-decoration: none; white-space: nowrap; }

.cr-service-tile {
    background: var(--cr-surface);
    border: 1px solid var(--cr-border);
    border-radius: var(--cr-radius);
    padding: 20px;
    text-align: center;
    text-decoration: none;
    color: var(--cr-text);
    transition: box-shadow 0.15s, transform 0.15s;
}
.cr-service-tile:hover { box-shadow: var(--cr-shadow-md); transform: translateY(-2px); }
.cr-service-tile .cr-service-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 12px;
    background: var(--cr-primary-light);
    color: var(--cr-primary);
}
.cr-service-tile .cr-service-icon svg { width: 24px; height: 24px; }
.cr-service-tile strong { display: block; font-size: 14px; margin-bottom: 4px; }
.cr-service-tile span { font-size: 12px; color: var(--cr-text-muted); }

.cr-stats-band {
    background: var(--cr-navy);
    color: #fff;
    padding: 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
    gap: 24px;
}
.cr-stats-band .cr-stat-num { font-size: 32px; font-weight: 800; color: #fff; }
.cr-stats-band .cr-stat-label { font-size: 13px; color: rgba(255,255,255,0.7); margin-top: 4px; }

.cr-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}
.cr-step-tile { text-align: center; }
.cr-step-tile .cr-step-num {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--cr-primary-light);
    color: var(--cr-primary);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 18px;
    margin: 0 auto 12px;
}
.cr-step-tile svg { width: 24px; height: 24px; }
.cr-step-tile strong { display: block; font-size: 14px; margin-bottom: 4px; }
.cr-step-tile span { font-size: 12px; color: var(--cr-text-muted); }

.cr-cta-band {
    background: linear-gradient(135deg, var(--cr-primary), #6366F1);
    color: #fff;
    padding: 48px 40px;
    text-align: center;
}
.cr-cta-band h2 { color: #fff; margin: 0 0 8px; }
.cr-cta-band p { color: rgba(255,255,255,0.85); margin: 0 0 24px; }

.cr-footer {
    background: var(--cr-navy);
    color: rgba(255,255,255,0.7);
    padding: 40px 40px 24px;
}
.cr-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 24px;
}
.cr-footer h4 { color: #fff; font-size: 14px; margin: 0 0 12px; }
.cr-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.cr-footer a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 13px; }
.cr-footer a:hover { color: #fff; }
.cr-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 16px;
    text-align: center;
    font-size: 12px;
}

@media (max-width: 1024px) {
    .cr-hero { grid-template-columns: 1fr; padding: 40px 20px; text-align: center; }
    .cr-hero p.cr-hero-sub { margin: 0 auto 24px; }
    .cr-hero-image-wrap { order: -1; }
    .cr-navlinks { display: none; }
    .cr-section { padding: 40px 20px; }
    .cr-trust-row { padding: 20px; justify-content: center; }
    .cr-stats-band { grid-template-columns: repeat(2, 1fr); padding: 32px 20px; }
    .cr-steps { grid-template-columns: repeat(2, 1fr); }
    .cr-footer-grid { grid-template-columns: 1fr 1fr; }
    .cr-footer { padding: 32px 20px 20px; }
    .cr-hero h1 { font-size: 34px; }
}

@media (max-width: 640px) {
    .cr-stats-band { grid-template-columns: repeat(2, 1fr); }
    .cr-steps { grid-template-columns: 1fr 1fr; }
    .cr-footer-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   TESTIMONIALS (Phase 2B)
   ============================================================ */
.cr-testimonial-card {
    background: var(--cr-surface);
    border: 1px solid var(--cr-border);
    border-radius: var(--cr-radius);
    padding: 20px;
    height: 100%;
}
.cr-testimonial-card p { font-size: 14px; color: var(--cr-text); margin: 10px 0 12px; }
.cr-testimonial-author { display: flex; align-items: center; gap: 10px; }
.cr-testimonial-author .cr-avatar { width: 36px; height: 36px; }
.cr-testimonial-author strong { font-size: 13px; display: block; }
.cr-testimonial-author span { font-size: 12px; color: var(--cr-text-muted); }

/* ============================================================
   GUIDE / HELP PAGES (Phase: Onboarding)
   ============================================================ */
.cr-guide-faq { border: 1px solid var(--cr-border); border-radius: var(--cr-radius); margin-bottom: 8px; overflow: hidden; }
.cr-guide-faq summary {
    padding: 12px 16px; cursor: pointer; font-weight: 600; font-size: 14px;
    list-style: none; display: flex; justify-content: space-between; align-items: center;
    background: var(--cr-surface);
}
.cr-guide-faq summary::-webkit-details-marker { display: none; }
.cr-guide-faq summary::after { content: '+'; font-size: 18px; color: var(--cr-text-muted); font-weight: 400; }
.cr-guide-faq[open] summary::after { content: '\2212'; }
.cr-guide-faq .cr-guide-faq-body { padding: 0 16px 14px; font-size: 13px; color: var(--cr-text-muted); line-height: 1.6; }
.cr-guide-badge {
    display: inline-flex; align-items: center; justify-content: center;
    width: 22px; height: 22px; border-radius: 50%;
    background: var(--cr-primary-light); color: var(--cr-primary);
    font-size: 12px; font-weight: 700; margin-right: 8px; flex-shrink: 0;
}
.cr-guide-banner {
    background: var(--cr-primary-light); border: 1px solid var(--cr-primary);
    border-radius: var(--cr-radius); padding: 14px 16px; margin-bottom: 16px;
    display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
}
.cr-guide-banner p { margin: 0; font-size: 14px; color: var(--cr-primary-dark); }
