#crf-page { --crf-canvas:#F5F5F7; --crf-canvas-soft:#EBEBED; --crf-ink:#1D1D1F; --crf-ink-secondary:#6E6E73; --crf-accent:#0E7A4E; --crf-accent-soft:rgba(14,122,78,.12); --crf-success:#34C759; --crf-fee:#FF9F0A; --crf-border:rgba(0,0,0,.08); --crf-glass-bg:rgba(255,255,255,.55); --crf-glass-bg-strong:rgba(255,255,255,.8); --crf-glass-border:rgba(255,255,255,.6); --crf-shadow-low:0 12px 32px rgba(0,0,0,.06); --crf-shadow-glass:0 24px 60px rgba(0,0,0,.10); --crf-shadow-cta:0 16px 40px rgba(14,122,78,.3); --crf-radius-card:28px; --crf-radius-input:18px; --crf-radius-pill:999px; font-family:Tajawal,Arial,sans-serif; }
#crf-page[data-theme="dark"] { --crf-canvas:#0A0A0C; --crf-canvas-soft:#141416; --crf-ink:#F5F5F7; --crf-ink-secondary:#A1A1A6; --crf-border:rgba(255,255,255,.12); --crf-glass-bg:rgba(28,28,30,.6); --crf-glass-bg-strong:rgba(28,28,30,.85); --crf-glass-border:rgba(255,255,255,.12); --crf-shadow-low:0 12px 32px rgba(0,0,0,.35); --crf-shadow-glass:0 24px 60px rgba(0,0,0,.5); --crf-shadow-cta:0 16px 40px rgba(48,209,88,.25); }
#crf-page { background:var(--crf-canvas); color:var(--crf-ink); font-size:17px; line-height:1.8; text-align:right; }
#crf-page h1, #crf-page h2, #crf-page h3, #crf-page h4, #crf-page h5, #crf-page h6 { font-family:Alexandria,Tajawal,sans-serif; }
#crf-page h1 { font-size:clamp(2.4rem, 5vw, 3.8rem); font-weight:700; letter-spacing:-0.02em; line-height:1.1; }
#crf-page h2 { font-size:clamp(1.75rem, 3vw, 2.5rem); font-weight:600; line-height:1.2; }
#crf-page h3 { font-size:1.25rem; font-weight:600; line-height:1.35; }
.crf-num { font-family:Inter,monospace; font-feature-settings:"tnum"; }

#crf-page,
#crf-page *,
#crf-page,
#crf-page *::before,
#crf-page,
#crf-page *::after { box-sizing: border-box; margin: 0; padding: 0; }

#crf-page {
            --primary: #0E7A4E;
            --primary-dark: #0B6340;
            --primary-light: #10a065;
            --secondary: #FFC107;
            --secondary-dark: #e0a800;
            --dark: #0D1B2A;
            --dark-light: #1B2838;
            --bg: #F8FAFC;
            --white: #FFFFFF;
            --gray-50: #F9FAFB;
            --gray-100: #F3F4F6;
            --gray-200: #E5E7EB;
            --gray-300: #D1D5DB;
            --gray-400: #9CA3AF;
            --gray-500: #6B7280;
            --gray-600: #4B5563;
            --gray-700: #374151;
            --gray-800: #1F2937;
            --whatsapp: #25D366;
            --whatsapp-dark: #1da851;
            --primary-solid: #0E7A4E;
            --primary-dark-solid: #0B6340;
            --on-secondary: #0D1B2A;
            --on-whatsapp: #052E1B;
            --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
            --shadow: 0 4px 12px rgba(0,0,0,0.08);
            --shadow-md: 0 12px 24px rgba(0,0,0,0.1);
            --shadow-lg: 0 24px 48px rgba(0,0,0,0.12);
            --shadow-xl: 0 32px 64px rgba(0,0,0,0.16);
            --radius: 12px;
            --radius-md: 16px;
            --radius-lg: 20px;
            --radius-xl: 24px;

            /* Liquid Glass tokens (light) */
            --glass-bg: rgba(255,255,255,0.5);
            --glass-bg-strong: rgba(255,255,255,0.7);
            --glass-header: rgba(255,255,255,0.55);
            --glass-border: rgba(255,255,255,0.35);
            --glass-highlight: rgba(255,255,255,0.5);
            --aurora-green: rgba(14,122,78,0.16);
            --aurora-gold: rgba(255,193,7,0.14);
        }

/* QA-fix: accessible skip link */

/* QA-fix: clip decorative full-bleed overflow (keeps position:sticky working) */
        
/* removed: header-actions media queries (header rewritten as glass pill nav) */

#crf-page { font-family: 'Tajawal', sans-serif; color: var(--gray-800); background:
            radial-gradient(1200px 800px at 100% 0%, var(--aurora-green) 0%, transparent 55%),
            radial-gradient(900px 700px at 0% 100%, var(--aurora-gold) 0%, transparent 50%),
            var(--bg); background-attachment: fixed; line-height: 1.7; -webkit-font-smoothing: antialiased; }

#crf-page h1,
#crf-page h2,
#crf-page h3,
#crf-page h4,
#crf-page h5 { font-family: 'Alexandria', sans-serif; font-weight: 800; line-height: 1.3; }

#crf-page .num { font-family: 'Inter', sans-serif; font-weight: 700; }

/* Apple: optical sizing — tracking varies by size */
#crf-page .hero h1 { letter-spacing: -0.02em; }
#crf-page .section-title { letter-spacing: -0.01em; }
#crf-page .car-card .car-name { letter-spacing: normal; }
#crf-page .stat-number { letter-spacing: -0.03em; }
#crf-page .dest-count { letter-spacing: 0; }

#crf-page a { text-decoration: none; color: inherit; }

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

#crf-page .container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

#crf-page .section-padding { padding: clamp(64px, 8vw, 100px) 0; }

#crf-page .section-title { font-size: clamp(28px, 3.5vw, 42px); text-align: center; margin-bottom: 16px; color: var(--dark); }

#crf-page .section-subtitle { text-align: center; color: var(--gray-500); font-size: 17px; max-width: 600px; margin: 0 auto 50px; }

#crf-page .btn-primary {
            display: inline-flex; align-items: center; gap: 8px;
            background: var(--primary-solid); color: #fff; padding: 14px 32px;
            font-size: 16px; font-weight: 700; border: none; border-radius: var(--radius);
            cursor: pointer; -webkit-tap-highlight-color: transparent;
            transition: background 150ms ease-out, transform 150ms ease-out;
        }

#crf-page .btn-primary:active {
            background: var(--primary-dark-solid); transform: scale(0.97);
        }

#crf-page .btn-primary:hover { transition: none; }
#crf-page .btn-primary:focus-visible {
            outline: 3px solid var(--secondary);
            outline-offset: 2px;
            border-radius: var(--radius);
        }

#crf-page .btn-secondary {
            display: inline-flex; align-items: center; gap: 8px;
            background: var(--white); color: var(--primary); border: 2px solid var(--primary);
            padding: 12px 28px; font-size: 15px; font-weight: 700; border-radius: var(--radius);
            cursor: pointer; transition: all 0.3s; font-family: inherit;
        }

#crf-page .btn-secondary:hover { background: var(--primary-solid); color: #fff; }

#crf-page .btn-whatsapp {
            display: inline-flex; align-items: center; gap: 8px;
            background: var(--whatsapp); color: var(--on-whatsapp); padding: 14px 28px;
            font-size: 16px; font-weight: 700; border: none; border-radius: var(--radius);
            cursor: pointer; transition: all 0.3s; font-family: inherit;
        }

#crf-page .btn-whatsapp:hover { background: var(--whatsapp-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,211,102,0.3); }

#crf-page .card {
            background: var(--glass-bg); border: 1px solid var(--glass-border);
            border-radius: var(--radius-lg);
            box-shadow: inset 0 1px 0 var(--glass-highlight), var(--shadow);
            transition: all 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
            overflow: hidden;
        }

#crf-page .card:hover { background: var(--glass-bg-strong); box-shadow: inset 0 1px 0 var(--glass-highlight), var(--shadow-lg); transform: translateY(-6px); }

/* MRE Bar — slim glass pill strip */

#crf-page .crf-mre {
            display: flex; align-items: center; justify-content: center;
            gap: 8px; flex-wrap: wrap; text-align: center;
            min-height: 44px; max-height: 48px;
            padding: 6px 16px; font-size: 14px; font-weight: 500;
            color: var(--crf-ink); line-height: 1.6;
            background: var(--crf-glass-bg);
            -webkit-backdrop-filter: blur(28px) saturate(180%);
            backdrop-filter: blur(28px) saturate(180%);
            border: 1px solid var(--crf-glass-border);
            border-radius: var(--crf-radius-pill);
            box-shadow: var(--crf-shadow-low);
        }

#crf-page .crf-mre-star { flex: none; color: var(--crf-fee); }

#crf-page .crf-mre-text b { color: var(--crf-accent); }

#crf-page .crf-mre-cta {
            flex: none; display: inline-flex; align-items: center;
            background: var(--crf-accent); color: #fff;
            padding: 5px 18px; border-radius: var(--crf-radius-pill);
            font-weight: 700; font-size: 13px;
            box-shadow: var(--crf-shadow-cta);
            transition: transform 150ms ease-out;
        }

#crf-page .crf-mre-cta:hover { transform: translateY(-1px); }

#crf-page .crf-mre-cta:focus-visible {
            outline: 3px solid var(--crf-fee); outline-offset: 2px;
        }

/* Header — floating glass pill nav */

#crf-page .crf-nav {
            position: sticky; top: 12px; z-index: 50;
            max-width: 880px; margin-inline: auto; height: 60px; padding-inline: 14px;
            display: flex; align-items: center; gap: 8px;
            border-radius: var(--crf-radius-pill);
            background: var(--crf-glass-bg);
            -webkit-backdrop-filter: blur(28px) saturate(180%);
            backdrop-filter: blur(28px) saturate(180%);
            border: 1px solid var(--crf-glass-border);
            box-shadow: var(--crf-shadow-low);
        }

body.admin-bar #crf-page .crf-nav { top: 44px; }
@media (min-width: 783px) {
  body.admin-bar #crf-page .crf-nav { top: 44px; }
}

#crf-page .crf-brand { display: flex; align-items: center; gap: 10px; font-family: 'Alexandria', sans-serif; font-weight: 800; font-size: 17px; padding: 8px 12px; border-radius: var(--crf-radius-pill); }

#crf-page .crf-brand-dot { width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(135deg, #0E7A4E, #0B5E3C); display: grid; place-items: center; color: #fff; flex: none; }

#crf-page .crf-nav-links { display: flex; align-items: center; gap: 2px; margin-inline: auto; }

#crf-page .crf-nav-links a { font-size: 15px; font-weight: 600; padding: 8px 14px; border-radius: var(--crf-radius-pill); color: var(--crf-ink-secondary); transition: background-color .25s cubic-bezier(.32,.72,0,1), color .25s cubic-bezier(.32,.72,0,1); }

#crf-page .crf-nav-links a:hover { background: var(--crf-accent-soft); color: var(--crf-accent); }

#crf-page .crf-nav-actions { display: flex; align-items: center; gap: 6px; }

#crf-page .crf-icon-btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--crf-border); background: transparent; color: var(--crf-ink); display: inline-flex; align-items: center; justify-content: center; transition: background-color .25s cubic-bezier(.32,.72,0,1), color .25s cubic-bezier(.32,.72,0,1); cursor: pointer; }

#crf-page .crf-icon-btn:hover { background: var(--crf-accent-soft); color: var(--crf-accent); }

#crf-page .crf-theme-moon { display: none; }
#crf-page[data-theme="dark"] .crf-theme-sun { display: none; }
#crf-page[data-theme="dark"] .crf-theme-moon { display: inline-flex; }

#crf-page .crf-btn-sm { min-height: 40px; padding: 6px 18px; font-size: 14px; border-radius: var(--crf-radius-pill); }

/* Footer logo (shared with header brand legacy) */

#crf-page .logo { font-family: 'Alexandria', sans-serif; font-size: 22px; font-weight: 800; display: flex; align-items: center; gap: 6px; }

#crf-page .logo .highlight { color: var(--primary); }

#crf-page .logo .badge { font-size: 10px; background: var(--secondary); color: var(--on-secondary); padding: 2px 10px; border-radius: 20px; font-weight: 700; }

/* Hero */

#crf-page .hero {
            background:
                radial-gradient(1100px 650px at 82% -15%, rgba(14,122,78,0.35) 0%, transparent 60%),
                radial-gradient(900px 550px at 10% 115%, rgba(255,193,7,0.16) 0%, transparent 55%),
                radial-gradient(700px 500px at 50% 50%, rgba(37,211,102,0.08) 0%, transparent 65%),
                linear-gradient(135deg, var(--dark) 0%, #0f2847 55%, #163a5f 100%);
            color: #fff; position: relative; overflow: hidden; min-height: 600px;
            display: flex; align-items: center;
        }

#crf-page .hero::before {
            content: ''; position: absolute; top: -50%; right: -30%; width: 80%; height: 200%;
            background: radial-gradient(circle, rgba(14,122,78,0.10) 0%, transparent 70%);
        }

#crf-page .hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }

#crf-page .hero-content { max-width: 560px; }

#crf-page .hero-badge {
            display: inline-flex; align-items: center; gap: 6px;
            background: rgba(255,193,7,0.15);
            backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
            border: 1px solid rgba(255,193,7,0.35);
            box-shadow: inset 0 1px 0 rgba(255,255,255,0.15);
            color: var(--secondary); padding: 6px 16px; border-radius: 20px;
            font-size: 13px; font-weight: 700; margin-bottom: 20px;
        }

#crf-page .hero h1 { font-size: clamp(30px, 4vw, 48px); margin-bottom: 16px; line-height: 1.2; }

#crf-page .hero-subtitle { font-size: 18px; opacity: 0.85; margin-bottom: 24px; line-height: 1.8; }

#crf-page .hero-trust {
            display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 30px; font-size: 14px;
        }

#crf-page .hero-trust span { display: flex; align-items: center; gap: 6px; opacity: 0.9; }

#crf-page .hero-trust .check { color: var(--secondary); font-weight: 700; }

/* Booking Engine */

#crf-page .booking-engine {
            background: var(--glass-bg-strong);
            backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%);
            border: 1px solid var(--glass-border);
            border-radius: var(--radius-xl);
            padding: 28px; box-shadow: inset 0 1px 0 var(--glass-highlight), var(--shadow-xl);
            max-width: 520px; width: 100%;
        }

#crf-page .booking-engine h2 {
            font-size: 16px; color: var(--dark); margin-bottom: 18px;
            display: flex; align-items: center; gap: 8px;
        }

#crf-page .booking-tabs { display: flex; gap: 4px; margin-bottom: 18px; background: var(--gray-100); border-radius: var(--radius); padding: 4px; }

#crf-page .booking-tab {
            flex: 1; text-align: center; padding: 10px; border-radius: 10px;
            font-size: 13px; font-weight: 700; cursor: pointer; transition: all 0.2s;
            background: transparent; color: var(--gray-500); border: none; font-family: inherit;
        }

#crf-page .booking-tab.active { background: var(--white); color: var(--primary); box-shadow: var(--shadow-sm); }

#crf-page .booking-field { margin-bottom: 12px; }

#crf-page .booking-field label { display: block; font-size: 12px; font-weight: 700; color: var(--gray-600); margin-bottom: 5px; text-transform: uppercase; letter-spacing: 0.5px; }

#crf-page .booking-field select,
#crf-page .booking-field input {
            width: 100%; padding: 13px 16px; border: 2px solid var(--gray-200); border-radius: var(--radius);
            font-size: 15px; font-family: inherit; background: var(--gray-50); transition: all 0.2s;
            color: var(--dark); appearance: none; -webkit-appearance: none;
        }

#crf-page .booking-field 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='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: left 14px center; padding-left: 36px; }

#crf-page .booking-field select:focus,
#crf-page .booking-field input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(14,122,78,0.1); outline: none; }

#crf-page .booking-dates { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

#crf-page .booking-engine .btn-primary { width: 100%; justify-content: center; padding: 16px; font-size: 17px; }

#crf-page .booking-note { text-align: center; font-size: 12px; color: var(--gray-400); margin-top: 10px; display: flex; align-items: center; justify-content: center; gap: 4px; }

/* Trust Stats */

#crf-page .trust-stats { background: var(--white); border-bottom: 1px solid var(--gray-100); }

#crf-page .stats-grid {
            display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; text-align: center;
        }

#crf-page .stat-item .stat-number {
            font-family: 'Inter', sans-serif; font-size: clamp(36px, 4vw, 52px);
            font-weight: 800; color: var(--primary); line-height: 1;
        }

#crf-page .stat-item .stat-label { font-size: 15px; color: var(--gray-500); margin-top: 6px; font-weight: 500; }

#crf-page .stats-divider { width: 1px; background: var(--gray-200); }

/* Featured Cars */

#crf-page .cars-grid {
            display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 28px;
        }

#crf-page .car-card { position: relative; overflow: hidden; }

#crf-page .car-card::after {
            content: ''; position: absolute; inset: 0;
            pointer-events: none;
            border-radius: var(--radius-lg);
            background: linear-gradient(90deg,
                rgba(255,255,255,0.02) 0%,
                rgba(255,255,255,0.00) 50%,
                rgba(255,255,255,0.02) 100%
            );
            opacity: 0;
            transition: opacity 0.3s ease;
        }

#crf-page .car-card:hover::after { opacity: 1; }

#crf-page .car-card .car-image {
            height: 200px; background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
            display: flex; align-items: center; justify-content: center; font-size: 64px;
            position: relative; overflow: hidden;
        }

#crf-page .car-card .car-badge {
            position: absolute; top: 14px; right: 14px;
            background: var(--primary-solid); color: #fff; padding: 4px 12px;
            border-radius: 8px; font-size: 12px; font-weight: 700;
        }

#crf-page .car-card .car-badge.popular { background: var(--secondary); color: var(--on-secondary); }

#crf-page .car-card .car-body { padding: 22px; }

#crf-page .car-card .car-name { font-family: 'Alexandria', sans-serif; font-size: 19px; font-weight: 700; color: var(--dark); margin-bottom: 10px; }

#crf-page .car-card .car-specs { display: flex; gap: 16px; margin-bottom: 14px; flex-wrap: wrap; }

#crf-page .car-card .spec { display: flex; align-items: center; gap: 4px; font-size: 13px; color: var(--gray-500); }

#crf-page .car-card .car-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 14px; border-top: 1px solid var(--gray-100); }

#crf-page .car-card .car-price { font-family: 'Inter', sans-serif; }

#crf-page .car-card .car-price .amount { font-size: 24px; font-weight: 800; color: var(--primary); }

#crf-page .car-card .car-price .period { font-size: 13px; color: var(--gray-400); }

/* How It Works */

#crf-page .steps-flow { display: flex; align-items: center; justify-content: center; gap: 0; flex-wrap: wrap; }

#crf-page .step-card { text-align: center; flex: 1; min-width: 180px; max-width: 240px; padding: 0 16px; }

#crf-page .step-num {
            width: 64px; height: 64px; border-radius: 50%; background: var(--primary-solid);
            color: #fff; display: flex; align-items: center; justify-content: center;
            font-family: 'Inter', sans-serif; font-size: 24px; font-weight: 800;
            margin: 0 auto 14px; position: relative;
        }

#crf-page .step-card h3 { font-size: 16px; margin-bottom: 6px; color: var(--dark); }

#crf-page .step-card p { font-size: 13px; color: var(--gray-500); line-height: 1.6; }

#crf-page .step-arrow { font-size: 28px; color: var(--gray-300); flex-shrink: 0; margin: 0 8px; }

/* Why Choose Us */

#crf-page .features-grid {
            display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px;
        }

#crf-page .feature-card { padding: 28px 24px; text-align: center; }

#crf-page .feature-card .feature-icon {
            width: 56px; height: 56px; border-radius: 16px; display: flex;
            align-items: center; justify-content: center; font-size: 26px;
            margin: 0 auto 14px; background: rgba(14,122,78,0.08);
        }

#crf-page .feature-card h3 { font-size: 16px; margin-bottom: 6px; color: var(--dark); }

#crf-page .feature-card p { font-size: 14px; color: var(--gray-500); line-height: 1.7; }

/* Airport Delivery */

#crf-page .airport-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }

#crf-page .airport-card { padding: 24px; position: relative; }

#crf-page .airport-card .iata {
            font-family: 'Inter', sans-serif; font-size: 32px; font-weight: 800;
            color: var(--primary); opacity: 0.15; position: absolute; top: 16px; left: 16px;
        }

#crf-page .airport-card h3 { font-size: 17px; margin-bottom: 4px; color: var(--dark); }

#crf-page .airport-card .airport-name { font-size: 13px; color: var(--gray-400); margin-bottom: 12px; }

#crf-page .airport-card .delivery-status { font-size: 13px; font-weight: 700; margin-bottom: 14px; display: flex; align-items: center; gap: 6px; }

#crf-page .airport-card .delivery-status.free { color: var(--primary); }

#crf-page .airport-card .delivery-status.fee { color: var(--secondary-dark); }

/* Morocco Destinations */

#crf-page .dest-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }

#crf-page .dest-card { overflow: hidden; }

#crf-page .dest-card .dest-header {
            height: 160px; display: flex; align-items: flex-end; padding: 20px;
            position: relative; overflow: hidden;
        }

#crf-page .dest-card .dest-header.fes { background: linear-gradient(135deg, #8B4513, #D2691E); }

#crf-page .dest-card .dest-header.casa { background: linear-gradient(135deg, #1a3a5c, #2d6a9f); }

#crf-page .dest-card .dest-header.marrakech { background: linear-gradient(135deg, #c0392b, #e74c3c); }

#crf-page .dest-card .dest-header.rabat { background: linear-gradient(135deg, #27ae60, #2ecc71); }

#crf-page .dest-card .dest-header.tangier { background: linear-gradient(135deg, #2980b9, #3498db); }

#crf-page .dest-card .dest-header.agadir { background: linear-gradient(135deg, #f39c12, #f1c40f); }

#crf-page .dest-card .dest-header h3 { color: #fff; font-size: 24px; position: relative; z-index: 1; }

#crf-page .dest-card .dest-header .dest-count { color: rgba(255,255,255,0.8); font-size: 13px; position: relative; z-index: 1; }

#crf-page .dest-card .dest-body { padding: 20px; }

#crf-page .dest-card .dest-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }

#crf-page .dest-card .dest-tag { background: var(--gray-100); padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; color: var(--gray-600); }

/* Comparison */

#crf-page .comparison-wrapper { overflow-x: auto; }

#crf-page .comparison-table {
            width: 100%; border-collapse: separate; border-spacing: 0;
            border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md);
        }

#crf-page .comparison-table th {
            padding: 20px 24px; font-size: 15px; font-weight: 700; text-align: center;
        }

#crf-page .comparison-table th:first-child { background: var(--gray-100); color: var(--gray-600); text-align: right; }

#crf-page .comparison-table th:nth-child(2) { background: var(--gray-200); color: var(--gray-600); }

#crf-page .comparison-table th:nth-child(3) { background: #FFF8E1; color: var(--gray-600); }

#crf-page .comparison-table th:last-child { background: var(--primary-solid); color: #fff; }

#crf-page .comparison-table td {
            padding: 16px 24px; border-bottom: 1px solid var(--gray-100);
            text-align: center; font-size: 14px; background: var(--glass-bg-strong);
        }

#crf-page .comparison-table td:first-child { text-align: right; font-weight: 600; color: var(--dark); }

#crf-page .comparison-table tr:last-child td { border-bottom: none; }

#crf-page .comparison-table tr:hover td { background: var(--gray-50); }

#crf-page .comparison-table tr:hover td:last-child { background: rgba(14,122,78,0.04); }

/* Testimonials */

#crf-page .testimonials-grid {
            display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 24px;
        }

#crf-page .testimonial-card { padding: 28px; }

#crf-page .testimonial-card .stars { font-size: 18px; margin-bottom: 12px; color: var(--secondary); }

#crf-page .testimonial-card blockquote {
            font-size: 15px; line-height: 1.8; color: var(--gray-600); margin-bottom: 16px;
            font-style: italic; position: relative; padding-right: 20px;
        }

#crf-page .testimonial-card blockquote::before {
            content: '"'; position: absolute; right: 0; top: -8px;
            font-size: 48px; color: var(--primary); opacity: 0.2; font-family: Georgia, serif;
        }

#crf-page .testimonial-card .reviewer { display: flex; align-items: center; gap: 12px; }

#crf-page .testimonial-card .reviewer-avatar {
            width: 44px; height: 44px; border-radius: 50%; background: var(--primary-solid);
            display: flex; align-items: center; justify-content: center; color: #fff;
            font-weight: 700; font-size: 16px;
        }

#crf-page .testimonial-card .reviewer-name { font-weight: 700; color: var(--dark); font-size: 15px; }

#crf-page .testimonial-card .reviewer-loc { font-size: 13px; color: var(--gray-400); }

/* Brands */

#crf-page .brands-section { background: var(--white); border-top: 1px solid var(--gray-100); border-bottom: 1px solid var(--gray-100); }

#crf-page .brands-track {
            display: flex; align-items: center; justify-content: center; gap: 60px; flex-wrap: wrap;
        }

#crf-page .brand-item {
            font-family: 'Inter', sans-serif; font-size: 22px; font-weight: 800;
            color: var(--gray-300); transition: color 0.3s; cursor: default;
        }

#crf-page .brand-item:hover { color: var(--gray-600); }

/* Services */

#crf-page .services-grid {
            display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px;
        }

#crf-page .service-card { padding: 28px 24px; text-align: center; }

#crf-page .service-card .service-icon { font-size: 36px; margin-bottom: 12px; }

#crf-page .service-card h3 { font-size: 16px; margin-bottom: 6px; color: var(--dark); }

#crf-page .service-card p { font-size: 13px; color: var(--gray-500); line-height: 1.7; }

/* FAQ */

#crf-page .faq-grid { max-width: 800px; margin: 0 auto; columns: 1; }

#crf-page .faq-item {
            background: var(--glass-bg); border-radius: var(--radius); margin-bottom: 10px;
            box-shadow: inset 0 1px 0 var(--glass-highlight), var(--shadow-sm);
            overflow: hidden; border: 1px solid var(--glass-border);
            break-inside: avoid;
        }

#crf-page .faq-item summary {
            padding: 18px 22px; font-size: 15px; font-weight: 600; color: var(--dark);
            cursor: pointer; list-style: none; display: flex; align-items: center; gap: 10px;
            transition: color 0.2s;
        }

#crf-page .faq-item summary::-webkit-details-marker { display: none; }

#crf-page .faq-item summary::before { content: '+'; font-size: 18px; color: var(--primary); font-weight: 700; transition: transform 0.3s; flex-shrink: 0; }

#crf-page .faq-item[open] summary::before { content: '−'; }

#crf-page .faq-item summary:hover { color: var(--primary); }

#crf-page .faq-item .faq-answer { padding: 0 22px 18px; font-size: 14px; color: var(--gray-500); line-height: 1.9; }

/* Blog */

#crf-page .blog-grid {
            display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 24px;
        }

#crf-page .blog-card .blog-image {
            height: 180px; background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
            display: flex; align-items: center; justify-content: center; font-size: 40px;
        }

#crf-page .blog-card .blog-body { padding: 22px; }

#crf-page .blog-card .blog-tag { display: inline-block; background: rgba(14,122,78,0.08); color: var(--primary); padding: 3px 12px; border-radius: 20px; font-size: 12px; font-weight: 700; margin-bottom: 10px; }

#crf-page .blog-card h3 { font-size: 17px; margin-bottom: 8px; color: var(--dark); line-height: 1.5; }

#crf-page .blog-card .blog-meta { font-size: 13px; color: var(--gray-400); }

/* Final CTA */

#crf-page .final-cta {
            background: linear-gradient(135deg, var(--dark) 0%, #163a5f 100%);
            color: #fff; text-align: center; position: relative; overflow: hidden;
        }

#crf-page .final-cta::before {
            content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
            background: radial-gradient(circle, rgba(14,122,78,0.1) 0%, transparent 60%);
        }

#crf-page .final-cta h2 { font-size: clamp(30px, 4vw, 48px); margin-bottom: 12px; position: relative; z-index: 1; }

#crf-page .final-cta p { font-size: 18px; opacity: 0.85; margin-bottom: 30px; position: relative; z-index: 1; }

#crf-page .final-cta .cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }

#crf-page .final-cta .btn-cta-outline {
            background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.3);
            padding: 14px 32px; border-radius: var(--radius); font-size: 16px; font-weight: 700;
            cursor: pointer; transition: all 0.3s; font-family: inherit; display: inline-flex;
            align-items: center; gap: 8px;
        }

#crf-page .final-cta .btn-cta-outline:hover { border-color: #fff; background: rgba(255,255,255,0.1); }

/* Footer */

#crf-page .site-footer { background: var(--dark); color: #fff; padding: 60px 24px 30px; }

#crf-page .footer-grid {
            display: grid; grid-template-columns: 2fr repeat(5, 1fr); gap: 40px;
            max-width: 1200px; margin: 0 auto;
        }

#crf-page .footer-about p { color: #9CA3AF; font-size: 14px; line-height: 1.8; margin-top: 12px; }

#crf-page .footer-col h3 { font-size: 15px; margin-bottom: 16px; color: var(--primary-light); font-weight: 700; }

#crf-page .footer-col ul { list-style: none; }

#crf-page .footer-col ul li { margin-bottom: 10px; }

#crf-page .footer-col ul a { color: #9CA3AF; font-size: 14px; transition: color 0.2s; }

#crf-page .footer-col ul a:hover { color: #fff; }

#crf-page .footer-bottom {
            text-align: center; margin-top: 40px; padding-top: 24px;
            border-top: 1px solid rgba(255,255,255,0.08); max-width: 1200px; margin-left: auto; margin-right: auto;
        }

#crf-page .footer-bottom p { color: #6B7280; font-size: 13px; margin-bottom: 10px; }

#crf-page .footer-social { display: flex; gap: 16px; justify-content: center; margin: 16px 0; }

#crf-page .footer-social a { color: #6B7280; font-size: 20px; transition: color 0.2s; }

#crf-page .footer-social a:hover { color: #fff; }

#crf-page .footer-pay { font-size: 14px; color: #9CA3AF; display: flex; align-items: center; justify-content: center; gap: 8px; margin: 14px 0; }

#crf-page .footer-lang { display: flex; gap: 8px; justify-content: center; margin-top: 14px; }

#crf-page .footer-lang a { color: #6B7280; font-size: 13px; font-weight: 600; padding: 4px 12px; border-radius: 6px; transition: all 0.2s; }

#crf-page .footer-lang a.active { color: #fff; background: rgba(255,255,255,0.1); }

/* WhatsApp Float */

#crf-page .whatsapp-float {
            position: fixed; bottom: 24px; left: 24px; z-index: 999;
            background: rgba(37,211,102,0.88);
            backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
            border: 1px solid rgba(255,255,255,0.3);
            color: #fff; width: 60px; height: 60px;
            border-radius: 50%; display: flex; align-items: center; justify-content: center;
            font-size: 30px; box-shadow: 0 6px 24px rgba(37,211,102,0.4); cursor: pointer;
            transition: all 0.3s;
        }

#crf-page .whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 8px 32px rgba(37,211,102,0.5); }

#crf-page .whatsapp-float .tooltip {
            position: absolute; left: 72px; top: 50%; transform: translateY(-50%);
            background: var(--white); color: var(--dark); padding: 8px 16px; border-radius: 10px;
            font-size: 13px; font-weight: 600; white-space: nowrap; box-shadow: var(--shadow-md);
            display: none;
        }

#crf-page .whatsapp-float:hover .tooltip { display: block; }

/* Animations */

#crf-page .fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }

#crf-page .fade-in.visible { opacity: 1; transform: translateY(0); }

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

/* Liquid Glass: aurora section backgrounds */

#crf-page .aurora {
            background:
                radial-gradient(900px 500px at 85% -10%, var(--aurora-green) 0%, transparent 60%),
                radial-gradient(800px 600px at 0% 110%, var(--aurora-gold) 0%, transparent 55%);
        }

/* Accessible focus ring */

#crf-page a:focus-visible,
#crf-page button:focus-visible,
#crf-page select:focus-visible,
#crf-page input:focus-visible,
#crf-page textarea:focus-visible,
#crf-page summary:focus-visible {
            outline: 3px solid var(--secondary);
            outline-offset: 2px;
            border-radius: 4px;
        }

/* Dark mode — applied when JS sets [data-theme="dark"] OR the system
           preference is dark with no saved choice (:root:not([data-theme])).
           The two dark blocks MUST stay identical — keep them in sync. */

#crf-page[data-theme="dark"] {
            --primary: #10A065;
            --primary-dark: #34d399;
            --primary-light: #4ADE9B;
            --bg: #09090B;
            --gray-50: #101014;
            --gray-100: #141417;
            --gray-200: #1E1E22;
            --gray-300: #3A3A40;
            --gray-400: #52525B;
            --gray-500: #A1A1AA;
            --gray-600: #D4D4D8;
            --gray-700: #E4E4E7;
            --gray-800: #FAFAFA;
            --dark: #FAFAFA;
            --dark-light: #18181B;
            --white: #18181B;
            --glass-bg: rgba(24,24,27,0.35);
            --glass-bg-strong: rgba(24,24,27,0.72);
            --glass-header: rgba(24,24,27,0.6);
            --glass-border: rgba(255,255,255,0.08);
            --glass-highlight: rgba(255,255,255,0.06);
            --aurora-green: rgba(16,160,101,0.22);
            --aurora-gold: rgba(255,193,7,0.12);
            --shadow-sm: 0 1px 3px rgba(0,0,0,0.4);
            --shadow: 0 4px 12px rgba(0,0,0,0.45);
            --shadow-md: 0 12px 24px rgba(0,0,0,0.5);
            --shadow-lg: 0 24px 48px rgba(0,0,0,0.55);
            --shadow-xl: 0 32px 64px rgba(0,0,0,0.6);
        }

#crf-page .site-footer { background: #0D1B2A; }

#crf-page .hero,
#crf-page .final-cta {
            background:
                radial-gradient(1100px 650px at 82% -15%, rgba(14,122,78,0.35) 0%, transparent 60%),
                radial-gradient(900px 550px at 10% 115%, rgba(255,193,7,0.16) 0%, transparent 55%),
                radial-gradient(700px 500px at 50% 50%, rgba(37,211,102,0.08) 0%, transparent 65%),
                linear-gradient(135deg, #0D1B2A 0%, #0f2847 55%, #163a5f 100%);
        }

#crf-page[data-theme="dark"] .brand-item { color: var(--gray-500); }

@media (prefers-color-scheme: dark) {
#crf-page:not([data-theme]) {
                --primary: #10A065;
                --primary-dark: #34d399;
                --primary-light: #4ADE9B;
                --bg: #09090B;
                --gray-50: #101014;
                --gray-100: #141417;
                --gray-200: #1E1E22;
                --gray-300: #3A3A40;
                --gray-400: #52525B;
                --gray-500: #A1A1AA;
                --gray-600: #D4D4D8;
                --gray-700: #E4E4E7;
                --gray-800: #FAFAFA;
                --dark: #FAFAFA;
                --dark-light: #18181B;
                --white: #18181B;
                --glass-bg: rgba(24,24,27,0.35);
                --glass-bg-strong: rgba(24,24,27,0.72);
                --glass-header: rgba(24,24,27,0.6);
                --glass-border: rgba(255,255,255,0.08);
                --glass-highlight: rgba(255,255,255,0.06);
                --aurora-green: rgba(16,160,101,0.22);
                --aurora-gold: rgba(255,193,7,0.12);
                --shadow-sm: 0 1px 3px rgba(0,0,0,0.4);
                --shadow: 0 4px 12px rgba(0,0,0,0.45);
                --shadow-md: 0 12px 24px rgba(0,0,0,0.5);
                --shadow-lg: 0 24px 48px rgba(0,0,0,0.55);
                --shadow-xl: 0 32px 64px rgba(0,0,0,0.6);
            }

#crf-page .site-footer { background: #0D1B2A; }

#crf-page .hero,
#crf-page .final-cta {
                background:
                    radial-gradient(1100px 650px at 82% -15%, rgba(14,122,78,0.35) 0%, transparent 60%),
                    radial-gradient(900px 550px at 10% 115%, rgba(255,193,7,0.16) 0%, transparent 55%),
                    radial-gradient(700px 500px at 50% 50%, rgba(37,211,102,0.08) 0%, transparent 65%),
                    linear-gradient(135deg, #0B1521 0%, #0f2847 55%, #163a5f 100%);
            }

#crf-page .brand-item { color: var(--gray-500); }
}

/* Reduced motion */

@media (prefers-reduced-motion: reduce) {
#crf-page,
#crf-page *,
#crf-page,
#crf-page *::before,
#crf-page,
#crf-page *::after {
                animation-duration: 0.001ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.001ms !important;
                scroll-behavior: auto !important;
            }
#crf-page .sheet { transition: opacity 200ms ease; transform: none !important; }
#crf-page .fade-in.visible { opacity: 1; transform: none !important; }
#crf-page .trust-stats .num { animation: none; }
#crf-page .stat-number .num { animation: none; }
}

/* Responsive */

@media (max-width: 1024px) {
#crf-page .crf-nav { max-width: none; margin-inline: 0; height: 56px; }

#crf-page .crf-nav-links { display: none; }

#crf-page .crf-wa-txt { display: none; }

#crf-page .crf-nav .crf-wa-cta { width: 40px; height: 40px; padding: 0; gap: 0; }

#crf-page .hero-inner { grid-template-columns: 1fr; text-align: center; }

#crf-page .hero-content { max-width: 100%; }

#crf-page .hero-trust { justify-content: center; }

#crf-page .booking-engine { max-width: 520px; margin: 0 auto; }

#crf-page .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
#crf-page .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }

#crf-page .steps-flow { flex-direction: column; gap: 0; }

#crf-page .step-arrow { transform: rotate(90deg); }

#crf-page .comparison-table th,
#crf-page .comparison-table td { padding: 12px 14px; font-size: 13px; }

#crf-page .cars-grid,
#crf-page .dest-grid,
#crf-page .testimonials-grid,
#crf-page .blog-grid { grid-template-columns: 1fr; }

#crf-page .features-grid,
#crf-page .services-grid,
#crf-page .airport-grid { grid-template-columns: repeat(2, 1fr); }

#crf-page .booking-dates { grid-template-columns: 1fr; }

#crf-page .footer-grid { grid-template-columns: 1fr; }

#crf-page .crf-mre { font-size: 12px; gap: 6px; padding: 5px 12px; min-height: 40px; }

#crf-page .brands-track { gap: 30px; }

#crf-page .brand-item { font-size: 18px; }

#crf-page .whatsapp-float .tooltip { display: none !important; }

#crf-page section { padding: 60px 0; }
}

@media (max-width: 480px) {
#crf-page .features-grid,
#crf-page .services-grid,
#crf-page .airport-grid { grid-template-columns: 1fr; }

#crf-page .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

/* ================= AIRPORT TRANSFER BOARDING-PASS (merged from Page A) ================= */

#crf-page .at-section { max-width: 1200px; margin: 0 auto; padding: 0 0 40px; font-family: 'Alexandria', sans-serif; }

#crf-page .at-inner { background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%); border-radius: 20px; overflow: hidden; box-shadow: 0 24px 48px rgba(0,0,0,0.2); color: #fff; position: relative; }

#crf-page .at-inner::before { content: ''; position: absolute; top: -60%; right: -20%; width: 70%; height: 160%; background: radial-gradient(circle, rgba(14,122,78,0.25) 0%, transparent 70%); }

#crf-page .at-head { padding: 36px 40px 10px; position: relative; z-index: 1; text-align: center; }

#crf-page .at-title { font-size: clamp(24px, 3vw, 36px); font-weight: 800; margin-bottom: 8px; }

#crf-page .at-sub { color: rgba(255,255,255,0.75); font-size: 16px; max-width: 560px; margin: 0 auto; }

#crf-page .at-boarding { position: relative; z-index: 1; padding: 20px 40px 40px; }

#crf-page .at-boarding-inner { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); border-radius: 16px; padding: 28px; backdrop-filter: blur(8px); }

#crf-page .at-ticket { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-bottom: 1px dashed rgba(255,255,255,0.25); padding-bottom: 20px; margin-bottom: 20px; }

#crf-page .at-flight { display: flex; align-items: center; gap: 12px; }

#crf-page .at-plane { font-size: 28px; }

#crf-page .at-code { font-size: 13px; color: rgba(255,255,255,0.6); letter-spacing: 2px; text-transform: uppercase; }

#crf-page .at-free { background: rgba(16,160,101,0.25); color: var(--primary-light); font-weight: 700; font-size: 13px; padding: 5px 14px; border-radius: 20px; border: 1px solid rgba(16,160,101,0.4); }

#crf-page .at-cta { display: inline-flex; align-items: center; gap: 8px; background: var(--secondary); color: var(--on-secondary); font-weight: 700; padding: 12px 28px; border-radius: 12px; font-size: 15px; transition: all 0.3s; margin-top: 20px; }

#crf-page .at-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,193,7,0.35); }

@media (max-width: 768px) {
#crf-page .at-boarding { padding: 16px; }

#crf-page .at-head { padding: 28px 20px 8px; }
}

/* ================= COMPARISON TABLE (merged from Page A) ================= */

#crf-page .nio-table-wrap { overflow-x: auto; border-radius: 16px; box-shadow: 0 4px 12px rgba(0,0,0,0.08); }

#crf-page .nio-table { width: 100%; border-collapse: collapse; min-width: 640px; background: var(--white); }

#crf-page .nio-table th,
#crf-page .nio-table td { padding: 12px 14px; text-align: right; font-size: 13px; border-bottom: 1px solid var(--gray-200); vertical-align: middle; }

#crf-page .nio-table thead th { background: var(--dark); color: #fff; font-weight: 700; white-space: nowrap; }

#crf-page .nio-table thead th:nth-child(2) { background: var(--primary-solid); }

#crf-page .nio-table tbody tr:nth-child(even) { background: var(--bg); }

#crf-page .nio-table tbody tr:hover { background: #F0FDF4; }

#crf-page .nio-feature { font-weight: 700; color: var(--dark); }

#crf-page .nio-yes { color: var(--primary); font-weight: 700; }

#crf-page .nio-no { color: #DC2626; font-weight: 700; }

#crf-page .nio-highlight { background: #F0FDF4 !important; }

#crf-page .nio-highlight td { color: var(--dark); }

@media (max-width: 768px) {
#crf-page .nio-table th,
#crf-page .nio-table td { padding: 10px 8px; font-size: 12px; }
}

/* ================= DESTINATION PRICE (merged from Page A) ================= */

#crf-page .dest-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 14px; padding: 10px 14px; background: #F0FDF4; border: 1px solid #BBF7D0; border-radius: 10px; }

#crf-page .dest-price .dp-label { font-size: 12px; color: var(--gray-500); font-weight: 600; }

#crf-page .dest-price .dp-amount { font-size: 20px; font-weight: 800; color: var(--primary); }

#crf-page .dest-price .dp-period { font-size: 12px; color: var(--gray-500); }

/* ================= RENTAL CALCULATOR (merged from Page A) ================= */

#crf-page .rw-section { max-width: 1200px; margin: 0 auto; padding: 60px 20px; }

#crf-page .rw-card { background: var(--white); border-radius: var(--radius-lg); box-shadow: 0 8px 32px rgba(0,0,0,0.1); padding: 36px; max-width: 640px; margin: 0 auto; }

#crf-page .rw-row { display: flex; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }

#crf-page .rw-field { flex: 1; min-width: 140px; }

#crf-page .rw-label { display: block; font-size: 13px; font-weight: 700; color: var(--dark); margin-bottom: 6px; }

#crf-page .rw-input,
#crf-page .rw-select { width: 100%; padding: 12px 14px; border: 1px solid var(--gray-300); border-radius: 10px; font-size: 15px; font-family: 'Alexandria', sans-serif; background: var(--white); color: var(--dark); }

#crf-page .rw-input:focus,
#crf-page .rw-select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(14,122,78,0.15); }

#crf-page .rw-total { background: #F0FDF4; border: 1px solid #BBF7D0; border-radius: 12px; padding: 20px; text-align: center; margin-bottom: 16px; }

#crf-page .rw-total-label { font-size: 13px; color: var(--primary-dark); font-weight: 700; }

#crf-page .rw-total-value { font-size: 34px; font-weight: 800; color: var(--primary); }

#crf-page .rw-total-per { font-size: 13px; color: var(--primary-dark); }

#crf-page .rw-cta { display: block; width: 100%; text-align: center; background: var(--secondary); color: var(--on-secondary); font-weight: 800; padding: 14px; border-radius: 12px; font-size: 16px; transition: all 0.3s; border: none; cursor: pointer; font-family: 'Alexandria', sans-serif; }

#crf-page .rw-cta:hover { background: #FFD54F; transform: translateY(-2px); }

@media (max-width: 640px) {
#crf-page .rw-card { padding: 24px; }
}

/* ===== style block 2 ===== */

/* --- Reset scoped to the hero ---------------------------------- */

#crf-page .nio-rental-hero,
#crf-page .nio-rental-hero *,
#crf-page .nio-rental-hero *::before,
#crf-page .nio-rental-hero *::after {
    box-sizing: border-box;
  }

/* --- Hero shell ------------------------------------------------ */

#crf-page .nio-rental-hero {
    /* Reference palette: light base, ink navy, amber. */
    --nio-bg: #F2F6FA;
    --nio-ink: #0D1B2A;
    --nio-amber: #FFB300;
    --nio-amber-txt: #B45309;
    --nio-body: #46586B;
    --nio-line: #E3EAF2;
    --nio-soft: #B9C7D6;
    --nio-on-dark: #D7E1EC;
    /* Per-car accent (set by JS from car.panel) — soft top glow. */
    --nio-accent: #0D1B2A;

    position: relative;
    width: 100vw;
    max-width: none;
    min-height: 100vh;
    min-height: 100svh;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    overflow: hidden;
    background-color: var(--nio-bg);
    background-image: radial-gradient(rgba(13, 27, 42, 0.06) 1px, transparent 1px);
    background-size: 26px 26px;
    color: var(--nio-ink);
    font-family: "Tajawal", sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    touch-action: pan-y;
  }

/* Use this modifier when the hero must NOT escape a constrained
     container (fall back to standard full-width block). */

#crf-page .nio-rental-hero--contained {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

#crf-page .nio-rental-hero a {
    text-decoration: none;
  }

/* --- Hidden SVG defs (grain filter) ---------------------------- */

#crf-page .nio-rental-noise-defs {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    clip: rect(0, 0, 0, 0);
  }

/* --- Cinematic film grain -------------------------------------- */

#crf-page .nio-rental-grain {
    position: absolute;
    inset: 0;
    z-index: 50;
    pointer-events: none;
    opacity: 0.14;
    filter: url(#nio-rental-noise);
  }

/* --- Per-car soft accent glow (behind everything) --------------- */

#crf-page .nio-rental-glow {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(62% 46% at 50% 6%, var(--nio-accent) 0%, transparent 70%);
    opacity: 0.16;
    mix-blend-mode: multiply;
  }

/* --- Giant background typography ------------------------------- */

#crf-page .nio-rental-typography {
    position: absolute;
    top: 15%;
    left: 0;
    right: 0;
    z-index: 1;
    font-family: "Alexandria", sans-serif;
    font-size: clamp(100px, 28vw, 420px);
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -0.02em;
    white-space: nowrap;
    text-align: center;
    color: var(--nio-ink);
    opacity: 0.07;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
  }

/* --- Brand (top-right) + location (top-left) — RTL mirrored ---- */

#crf-page .nio-rental-brand {
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 60;
  }

#crf-page .nio-rental-brand-name {
    font-family: "Tajawal", sans-serif;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--nio-ink);
    opacity: 0.9;
    margin: 0;
    line-height: 1.2;
  }

#crf-page .nio-rental-brand-location {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--nio-body);
    margin: 6px 0 0;
    line-height: 1.2;
  }

#crf-page .nio-rental-location {
    position: absolute;
    top: 24px;
    left: 24px;
    z-index: 60;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--nio-body);
  }

/* --- Carousel --------------------------------------------------- */

#crf-page .nio-rental-carousel {
    position: absolute;
    inset: 0;
    z-index: 3;
    touch-action: pan-y;
  }

#crf-page .nio-rental-car {
    position: absolute;
    aspect-ratio: 0.6 / 1;
    pointer-events: none;
    transition:
      transform 650ms cubic-bezier(0.4, 0, 0.2, 1),
      filter 650ms cubic-bezier(0.4, 0, 0.2, 1),
      opacity 650ms cubic-bezier(0.4, 0, 0.2, 1),
      left 650ms cubic-bezier(0.4, 0, 0.2, 1),
      top 650ms cubic-bezier(0.4, 0, 0.2, 1),
      height 650ms cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, filter, opacity, left, top, height;
  }

/* mix-blend-mode: multiply makes white/light studio backgrounds
     disappear on the light canvas — a transparent cutout PNG/WebP
     looks best. */

#crf-page .nio-rental-car-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom center;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
    mix-blend-mode: multiply;
  }

#crf-page .nio-rental-car-fallback {
    position: absolute;
    inset: 0;
    border-radius: 18px;
    background: linear-gradient(160deg, rgba(13, 27, 42, 0.08), rgba(13, 27, 42, 0.02));
    border: 1px solid var(--nio-line);
  }

/* Center / active — vertically centered, fully visible */

#crf-page .nio-rental-car.is-center {
    left: 50%;
    top: 42%;
    height: 72%;
    transform: translate(-50%, -50%) scale(1.1);
    filter: none;
    opacity: 1;
    z-index: 20;
  }

/* Previous car — RTL: sits to the RIGHT */

#crf-page .nio-rental-car.is-left {
    left: 73%;
    top: 52%;
    height: 36%;
    transform: translate(-50%, -50%) scale(1);
    filter: blur(2px);
    opacity: 0.85;
    z-index: 10;
  }

/* Next car — RTL: sits to the LEFT */

#crf-page .nio-rental-car.is-right {
    left: 27%;
    top: 52%;
    height: 36%;
    transform: translate(-50%, -50%) scale(1);
    filter: blur(2px);
    opacity: 0.85;
    z-index: 10;
  }

/* Far background */

#crf-page .nio-rental-car.is-back {
    left: 50%;
    top: 52%;
    height: 28%;
    transform: translate(-50%, -50%) scale(1);
    filter: blur(4px);
    opacity: 1;
    z-index: 5;
  }

/* --- Bottom-right content stack — RTL mirrored ------------------ */

#crf-page .nio-rental-lower {
    position: absolute;
    bottom: 80px;
    right: 96px;
    z-index: 40;
    max-width: 400px;
  }

/* Small premium booking strip (dark boarding-pass header) */

#crf-page .nio-rental-booking {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 10px;
    margin-bottom: 12px;
    padding: 11px 16px;
    border-radius: 14px 6px 14px 14px;
    background: var(--nio-ink);
    background-image: repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.03) 0 1px,
      transparent 1px 3px
    );
    border: 1px dashed rgba(255, 255, 255, 0.22);
    box-shadow: 0 14px 30px -18px rgba(13, 27, 42, 0.5);
    font-size: 12px;
    font-weight: 700;
    color: #ffffff;
  }

#crf-page .nio-rental-booking svg {
    flex: none;
    color: var(--nio-amber);
  }

#crf-page .nio-rental-booking-route {
    color: rgba(255, 255, 255, 0.5);
  }

#crf-page .nio-rental-booking-price {
    margin-right: auto;
    font-family: "Alexandria", sans-serif;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--nio-amber);
    white-space: nowrap;
  }

/* Dark boarding-pass information card */

#crf-page .nio-rental-info {
    padding: 26px 26px 24px;
    border-radius: 24px 6px 24px 24px;
    background: var(--nio-ink);
    background-image: repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.03) 0 1px,
      transparent 1px 3px
    );
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 24px 50px -24px rgba(13, 27, 42, 0.55);
  }

#crf-page .nio-rental-category {
    display: inline-block;
    background: var(--nio-amber);
    color: var(--nio-ink);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 6px 14px;
    margin: 0 0 14px;
    border-radius: 10px 3px 10px 10px;
  }

#crf-page .nio-rental-car-name {
    font-family: "Alexandria", sans-serif;
    font-size: clamp(24px, 3vw, 42px);
    font-weight: 800;
    letter-spacing: 0.01em;
    line-height: 1.08;
    color: #ffffff;
    margin: 12px 0 0;
  }

#crf-page .nio-rental-model {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--nio-soft);
    margin: 8px 0 0;
  }

#crf-page .nio-rental-description {
    font-size: 14.5px;
    line-height: 1.75;
    color: var(--nio-on-dark);
    margin: 12px 0 0;
    max-width: 360px;
  }

#crf-page .nio-rental-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 18px 0 0;
  }

#crf-page .nio-rental-price-from {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--nio-soft);
  }

#crf-page .nio-rental-price-strong {
    font-family: "Alexandria", sans-serif;
    font-size: 26px;
    font-weight: 800;
    color: var(--nio-amber);
  }

#crf-page .nio-rental-price-unit {
    font-size: 12px;
    font-weight: 600;
    color: var(--nio-soft);
  }

/* Perforation notch (boarding-pass detail) */

#crf-page .nio-rental-cut {
    position: relative;
    border-top: 2px dashed rgba(255, 255, 255, 0.25);
    margin: 22px -26px 0;
  }

#crf-page .nio-rental-cut::before,
#crf-page .nio-rental-cut::after {
    content: "";
    position: absolute;
    top: -11px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--nio-bg);
  }

#crf-page .nio-rental-cut::before { left: -11px; }

#crf-page .nio-rental-cut::after { right: -11px; }

#crf-page .nio-rental-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin: 22px 0 0;
  }

/* --- Primary CTA (amber) ---------------------------------------- */

#crf-page .nio-rental-cta {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 14px 24px;
    border-radius: 12px;
    background: var(--nio-amber);
    border: 1px solid var(--nio-amber);
    color: var(--nio-ink);
    font-family: "Alexandria", sans-serif;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    line-height: 1;
    box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.45);
    transition: transform 150ms ease, background-color 150ms ease, box-shadow 150ms ease;
  }

#crf-page .nio-rental-cta svg {
    transition: transform 150ms ease;
  }

#crf-page .nio-rental-cta:hover {
    transform: translateY(-2px);
    background: #FFC233;
    box-shadow: 0 16px 32px -14px rgba(0, 0, 0, 0.5);
  }

#crf-page .nio-rental-cta:hover svg {
    transform: translateX(-3px);
  }

/* --- Circular navigation buttons -------------------------------- */

#crf-page .nio-rental-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    padding: 0;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    color: #ffffff;
    cursor: pointer;
    transition: transform 150ms ease, background-color 150ms ease;
  }

#crf-page .nio-rental-nav:hover {
    transform: scale(1.08);
    background: rgba(255, 255, 255, 0.12);
  }

#crf-page .nio-rental-nav:active {
    transform: scale(0.97);
  }

/* --- Bottom-left fleet link — RTL mirrored ----------------------- */

#crf-page .nio-rental-fleet {
    position: absolute;
    left: 40px;
    bottom: 80px;
    z-index: 60;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: "Alexandria", sans-serif;
    font-size: clamp(20px, 4vw, 56px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1;
    text-transform: uppercase;
    color: var(--nio-ink);
    opacity: 0.9;
    transition: opacity 150ms ease, transform 150ms ease;
  }

#crf-page .nio-rental-fleet:hover {
    opacity: 1;
    transform: translateY(-2px);
  }

#crf-page .nio-rental-fleet svg {
    flex: none;
    color: var(--nio-amber);
  }

/* --- Accessibility: visible focus --------------------------------- */

#crf-page .nio-rental-hero :focus-visible {
    outline: 3px solid var(--nio-amber);
    outline-offset: 2px;
    border-radius: 6px;
  }

/* --- Tablet -------------------------------------------------------- */

@media (max-width: 992px) {
#crf-page .nio-rental-lower {
      bottom: 64px;
      right: 40px;
      max-width: 380px;
    }

#crf-page .nio-rental-fleet {
      left: 32px;
      bottom: 64px;
    }
}

/* --- Mobile -------------------------------------------------------- */

@media (max-width: 640px) {
#crf-page .nio-rental-brand {
      top: 20px;
      right: 20px;
    }

#crf-page .nio-rental-location {
      top: 20px;
      left: 20px;
    }

#crf-page .nio-rental-typography {
      top: 18%;
    }

#crf-page .nio-rental-car.is-center {
      top: 36%;
      height: 50%;
      transform: translate(-50%, -50%) scale(1.05);
    }

#crf-page .nio-rental-car.is-left {
      left: 82%;
      top: 46%;
      height: 22%;
      transform: translate(-50%, -50%) scale(1);
    }

#crf-page .nio-rental-car.is-right {
      left: 18%;
      top: 46%;
      height: 22%;
      transform: translate(-50%, -50%) scale(1);
    }

#crf-page .nio-rental-car.is-back {
      left: 50%;
      top: 46%;
      height: 18%;
      transform: translate(-50%, -50%) scale(1);
    }

#crf-page .nio-rental-lower {
      bottom: 24px;
      left: 20px;
      right: 20px;
      max-width: none;
    }

#crf-page .nio-rental-description {
      display: none;
    }

#crf-page .nio-rental-booking {
      margin-bottom: 10px;
      gap: 4px 10px;
    }

#crf-page .nio-rental-cta {
      padding: 12px 18px;
      font-size: 13px;
    }

#crf-page .nio-rental-nav {
      width: 48px;
      height: 48px;
    }

#crf-page .nio-rental-fleet {
      left: 20px;
      bottom: 24px;
    }
}

/* --- Reduced motion ------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
#crf-page .nio-rental-car,
#crf-page .nio-rental-hero {
      transition: none !important;
    }

#crf-page .nio-rental-nav,
#crf-page .nio-rental-cta,
#crf-page .nio-rental-fleet,
#crf-page .nio-rental-cta svg {
      transition: none !important;
    }
}
/* ===================================================================
   V3 COMPONENTS — Hero · Carousel · Booking Card · Trust Chips
   =================================================================== */

/* ---- Hero section --------------------------------------------------- */

.crf-hero {
  position: relative;
  padding: 96px 0 56px;
  overflow: hidden;
  min-height: 82vh;
  display: flex;
  align-items: center;
}

.crf-hero-grid {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.crf-hero-copy {
  flex: 1 1 50%;
  min-width: 0;
}

/* ---- Hero ghost watermark ------------------------------------------- */

.crf-hero-ghost {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-family: "Alexandria", sans-serif;
  font-size: clamp(120px, 18vw, 260px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  color: rgba(255, 255, 255, 0.02);
  pointer-events: none;
  user-select: none;
  z-index: 1;
  white-space: nowrap;
}

/* ---- Hero kicker ---------------------------------------------------- */

.crf-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--crf-accent);
  margin: 0 0 12px;
}

.crf-kicker svg {
  flex: none;
  width: 14px;
  height: 14px;
}

/* ---- Hero lead paragraph -------------------------------------------- */

.crf-lead {
  font-size: 15px;
  line-height: 1.75;
  color: var(--crf-ink-secondary);
  margin: 12px 0 0;
  max-width: 440px;
}

.crf-lead strong {
  color: var(--crf-accent);
  font-weight: 800;
}

/* ---- Trust chips row ------------------------------------------------ */

.crf-hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 0;
}

.crf-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--crf-radius-pill);
  background: var(--crf-glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--crf-glass-border);
  font-size: 12px;
  font-weight: 700;
  color: var(--crf-ink);
  white-space: nowrap;
}

.crf-chip svg {
  flex: none;
  width: 13px;
  height: 13px;
  color: var(--crf-accent);
}

/* ---- Hero CTAs ------------------------------------------------------ */

.crf-hero-ctas {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 28px 0 0;
  flex-wrap: wrap;
}

/* ---- Show / Carousel (v3) ------------------------------------------- */

.crf-show {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: var(--crf-glass-bg-strong);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--crf-glass-border);
  box-shadow: var(--crf-shadow-low);
  aspect-ratio: 16 / 10;
  flex: 1 1 44%;
  min-width: 0;
}

.crf-show-track {
  display: flex;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.32, 0.72, 0, 1);
}

.crf-show-slide {
  position: relative;
  flex: 0 0 100%;
  height: 100%;
  overflow: hidden;
}

.crf-show-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Slide caption — category · price strip */
.crf-slide-cat {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 9;
  padding: 6px 14px;
  border-radius: var(--crf-radius-pill);
  background: var(--crf-glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--crf-glass-border);
  font-size: 12px;
  font-weight: 700;
  color: var(--crf-ink);
}

.crf-slide-cat b {
  color: var(--crf-accent);
}

/* ---- Carousel arrows ------------------------------------------------ */

.crf-show-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--crf-glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--crf-glass-border);
  color: var(--crf-ink);
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.crf-show-nav:hover {
  background: var(--crf-glass-bg-strong);
  transform: translateY(-50%) scale(1.08);
}

.crf-show-nav:active {
  transform: translateY(-50%) scale(0.96);
}

.crf-show-prev { left: 12px; }

.crf-show-next { right: 12px; }

.crf-show-nav svg {
  width: 18px;
  height: 18px;
}

/* ---- Carousel dots -------------------------------------------------- */

.crf-show-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--crf-radius-pill);
  background: var(--crf-glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--crf-glass-border);
}

.crf-show-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--crf-ink-secondary);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.crf-show-dot.crf-on {
  background: var(--crf-accent);
  transform: scale(1.25);
}

.crf-show-dot:hover:not(.crf-on) {
  background: var(--crf-ink);
}

/* ---- Carousel pill overlay ------------------------------------------ */

.crf-show-pill {
  position: absolute;
  bottom: 14px;
  left: 14px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: var(--crf-radius-pill);
  background: var(--crf-glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--crf-glass-border);
  box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.25);
}

.crf-show-pill b {
  display: block;
  font-family: "Alexandria", sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: var(--crf-ink);
  line-height: 1.2;
}

.crf-show-pill span {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--crf-accent);
  white-space: nowrap;
  margin-top: 2px;
}

/* ---- Booking card section ------------------------------------------- */

.crf-booking {
  position: relative;
  z-index: 5;
  margin-top: -64px;
  margin-bottom: 64px;
}

.crf-bk-card {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px;
  border-radius: 28px;
  background: var(--crf-glass-bg-strong);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--crf-glass-border);
  box-shadow: var(--crf-shadow-cta), 0 40px 80px -40px rgba(0, 0, 0, 0.3);
}

.crf-bk-header h2 {
  margin: 0;
  font-family: "Alexandria", sans-serif;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  color: var(--crf-ink);
}

.crf-bk-subtitle {
  margin: 6px 0 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--crf-ink-secondary);
}

/* ---- Booking field grid (5 columns) --------------------------------- */

.crf-bk-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr auto;
  gap: 12px;
  align-items: end;
  margin-top: 20px;
}

/* ---- Individual field ------------------------------------------------ */

.crf-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.crf-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--crf-ink-secondary);
}

.crf-label svg {
  flex: none;
  width: 14px;
  height: 14px;
  color: var(--crf-accent);
}

.crf-field select,
.crf-field input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--crf-glass-bg);
  border: 1px solid var(--crf-glass-border);
  color: var(--crf-ink);
  font-family: "Alexandria", sans-serif;
  font-size: 14px;
  font-weight: 600;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}

.crf-field select:focus,
.crf-field input:focus {
  outline: none;
  border-color: var(--crf-accent);
  box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.18);
}

/* RTL select caret — drawn on the left so it stays clear of text */
.crf-field 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='%239ca3af' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 14px center;
  padding-left: 36px;
  cursor: pointer;
}

.crf-field-err {
  min-height: 0;
  font-size: 11px;
  font-weight: 700;
  color: var(--crf-accent);
}

.crf-field-submit {
  justify-content: flex-end;
}

.crf-field-submit .crf-btn {
  height: 48px;
}

/* ---- Booking total --------------------------------------------------- */

.crf-bk-total {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 18px;
  padding: 16px 20px;
  border-radius: 16px;
  background: var(--crf-glass-bg);
  border: 1px solid var(--crf-glass-border);
}

.crf-bk-total[hidden] {
  display: none;
}

.crf-bk-total-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--crf-ink-secondary);
}

.crf-bk-total-value {
  font-family: "Alexandria", sans-serif;
  font-size: 26px;
  font-weight: 900;
  color: var(--crf-accent);
  line-height: 1;
}

.crf-bk-total-unit {
  font-size: 13px;
  font-weight: 600;
  color: var(--crf-ink-secondary);
}

/* ---- Booking note / security ---------------------------------------- */

.crf-bk-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 18px 0 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--crf-ink-secondary);
}

.crf-bk-note svg {
  flex: none;
  width: 14px;
  height: 14px;
  color: var(--crf-accent);
}

/* ===================================================================
   RESPONSIVE — v3 components
   =================================================================== */

@media (max-width: 1024px) {
  .crf-hero-grid {
    gap: 28px;
  }

  .crf-show {
    flex: 1 1 40%;
  }

  .crf-bk-row {
    grid-template-columns: 1fr 1fr auto;
  }
}

@media (max-width: 768px) {
  .crf-hero {
    min-height: auto;
    padding: 80px 0 40px;
  }

  .crf-hero-grid {
    flex-direction: column;
    gap: 32px;
  }

  .crf-hero-copy {
    flex: none;
    width: 100%;
    text-align: center;
  }

  .crf-hero-chips {
    justify-content: center;
  }

  .crf-hero-ctas {
    justify-content: center;
  }

  .crf-hero-ghost {
    font-size: 100px;
    top: 20%;
  }

  .crf-show {
    flex: none;
    width: 100%;
    aspect-ratio: 16 / 10;
  }

  .crf-bk-card {
    padding: 24px 16px;
  }

  .crf-bk-row {
    grid-template-columns: 1fr;
  }

  .crf-booking {
    margin-top: -40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .crf-show-track {
    transition: none !important;
  }

  .crf-show-nav,
  .crf-show-dot {
    transition: none !important;
  }
}

/* ================= BACKDROP-FILTER FALLBACK (mobile / safe) ================= */
@supports not (backdrop-filter: blur(1px)) {
  #crf-page .crf-mre {
    background: var(--crf-glass-bg-strong);
  }
  #crf-page .crf-nav {
    background: var(--crf-glass-bg-strong);
  }
  #crf-page .hero-badge {
    background: rgba(255,193,7,0.22);
  }
  #crf-page .booking-engine {
    background: rgba(255,255,255,0.97);
  }
  #crf-page .at-boarding-inner {
    background: rgba(255,255,255,0.16);
  }
  #crf-page .whatsapp-float {
    background: rgba(37,211,102,0.95);
  }
}

/* ============ Batch C · tasks 5-8 (stats / fleet / how / why bento) ============ */

/* Shared wide container — .crf-container previously had no definition, so this
   makes width deterministic instead of full-bleed (used by hero/booking too). */
#crf-page .crf-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Shared section header (v3 pattern: kicker + h2 + sub) */
#crf-page .crf-head { margin-bottom: clamp(28px, 4vw, 44px); }
#crf-page .crf-h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 10px; color: var(--crf-ink); }
#crf-page .crf-sub { font-size: 16px; line-height: 1.7; color: var(--crf-ink-secondary); max-width: 640px; margin: 0; }

/* ---------- Task 5 · stats strip ---------- */
#crf-page .crf-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
#crf-page .crf-stat { border-radius: var(--crf-radius-card); padding: 26px 22px; text-align: center;
  background: var(--crf-glass-bg); border: 1px solid var(--crf-glass-border); box-shadow: var(--crf-shadow-low);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  transition: transform .4s cubic-bezier(.32,.72,0,1), box-shadow .4s cubic-bezier(.32,.72,0,1); }
#crf-page .crf-stat:hover { transform: translateY(-4px); box-shadow: var(--crf-shadow-glass); }
#crf-page .crf-stat-num { font-family: Inter, monospace; font-variant-numeric: tabular-nums; font-weight: 800;
  font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -0.02em; color: var(--crf-ink); line-height: 1; }
#crf-page .crf-stat-num .num { font-family: Inter, monospace; font-variant-numeric: tabular-nums; }
#crf-page .crf-stat-placeholder { font-size: 18px; font-weight: 600; color: var(--crf-ink-secondary); }
#crf-page .crf-stat-label { display: block; margin-top: 8px; font-size: 14px; color: var(--crf-ink-secondary); }
@media (max-width: 740px) {
  #crf-page .crf-stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Shared button primitives — previously undefined (hero/booking rely on these). */
#crf-page .crf-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; cursor: pointer; border-radius: var(--crf-radius-pill); text-align: center;
  transition: transform .35s cubic-bezier(.32,.72,0,1), box-shadow .35s cubic-bezier(.32,.72,0,1), background .2s; }
#crf-page .crf-btn-primary { min-height: 48px; padding: 12px 26px; font-size: 15px; color: #fff;
  background: var(--crf-accent); box-shadow: var(--crf-shadow-cta); border: none; }
#crf-page .crf-btn-primary:hover { transform: translateY(-2px); }
#crf-page .crf-btn-glass { min-height: 48px; padding: 12px 24px; font-size: 15px; color: var(--crf-ink);
  background: var(--crf-glass-bg); border: 1px solid var(--crf-glass-border); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
#crf-page .crf-btn-glass:hover { background: var(--crf-glass-bg-strong); }

/* ---------- Task 6 · fleet cards ---------- */
#crf-page .crf-fleet-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
#crf-page .crf-card { display: flex; flex-direction: column; border-radius: var(--crf-radius-card); overflow: hidden;
  background: var(--crf-glass-bg); border: 1px solid var(--crf-glass-border); box-shadow: var(--crf-shadow-low);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  transition: transform .45s cubic-bezier(.32,.72,0,1), box-shadow .45s cubic-bezier(.32,.72,0,1); }
#crf-page .crf-card:hover { transform: translateY(-6px); box-shadow: var(--crf-shadow-glass); }
#crf-page .crf-card-media { position: relative; padding: 18px 16px 6px; }
#crf-page .crf-car-svg { width: 100%; height: auto; display: block; color: var(--crf-ink-secondary); }
#crf-page .crf-badge { position: absolute; top: 16px; inset-inline-start: 16px; padding: 5px 12px; font-size: 12px;
  font-weight: 700; letter-spacing: .02em; color: var(--crf-accent); background: var(--crf-accent-soft);
  border-radius: var(--crf-radius-pill); border: 1px solid var(--crf-glass-border); }
#crf-page .crf-card-body { display: flex; flex-direction: column; padding: 6px 20px 20px; }
#crf-page .crf-card-name { font-size: 18px; font-weight: 700; line-height: 1.35; color: var(--crf-ink); margin-bottom: 10px; }
#crf-page .crf-card-spec { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 16px; }
#crf-page .crf-card-spec span { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--crf-ink-secondary); }
#crf-page .crf-card-spec svg { flex: none; color: var(--crf-accent); }
#crf-page .crf-card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
#crf-page .crf-price { display: flex; flex-direction: column; line-height: 1.25; }
#crf-page .crf-price b { font-family: Inter, monospace; font-variant-numeric: tabular-nums; font-size: 24px; font-weight: 800; color: var(--crf-ink); }
#crf-page .crf-price span { font-size: 12px; color: var(--crf-ink-secondary); }
@media (max-width: 1000px) {
  #crf-page .crf-fleet-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  #crf-page .crf-fleet-grid { grid-template-columns: 1fr; }
}

/* ---------- Task 7 · how it works steps ---------- */
#crf-page .crf-steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: none; }
#crf-page .crf-step { position: relative; padding: 26px 22px; border-radius: var(--crf-radius-card);
  background: var(--crf-glass-bg); border: 1px solid var(--crf-glass-border); box-shadow: var(--crf-shadow-low);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  transition: transform .45s cubic-bezier(.32,.72,0,1), box-shadow .45s cubic-bezier(.32,.72,0,1);
  overflow: hidden; }
#crf-page .crf-step::before { content: ""; position: absolute; top: 0; inset-inline-start: 0; width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--crf-accent), transparent); opacity: .55; }
#crf-page .crf-step:hover { transform: translateY(-5px); box-shadow: var(--crf-shadow-glass); }
#crf-page .crf-step-num { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  margin-bottom: 16px; font-family: Inter, monospace; font-variant-numeric: tabular-nums; font-size: 20px; font-weight: 800;
  color: #fff; background: var(--crf-accent); border-radius: 50%; box-shadow: var(--crf-shadow-cta); }
#crf-page .crf-step-title { font-size: 17px; font-weight: 700; color: var(--crf-ink); margin-bottom: 8px; }
#crf-page .crf-step-text { font-size: 14px; line-height: 1.65; color: var(--crf-ink-secondary); }
@media (max-width: 1000px) {
  #crf-page .crf-steps-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  #crf-page .crf-steps-grid { grid-template-columns: 1fr; }
}

/* ---------- Task 8 · why choose us bento ---------- */
#crf-page .crf-why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
#crf-page .crf-why-card { display: flex; flex-direction: column; gap: 14px; padding: 26px 24px;
  border-radius: var(--crf-radius-card); background: var(--crf-glass-bg); border: 1px solid var(--crf-glass-border);
  box-shadow: var(--crf-shadow-low); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  transition: transform .45s cubic-bezier(.32,.72,0,1), box-shadow .45s cubic-bezier(.32,.72,0,1); }
#crf-page .crf-why-card:hover { transform: translateY(-5px); box-shadow: var(--crf-shadow-glass); }
#crf-page .crf-why-card.crf-why-lg { grid-column: span 2; }
#crf-page .crf-why-icon { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px;
  flex: none; color: var(--crf-accent); background: var(--crf-accent-soft); border: 1px solid var(--crf-glass-border);
  border-radius: 16px; }
#crf-page .crf-why-card.crf-why-lg .crf-why-icon { width: 56px; height: 56px; border-radius: 18px; }
#crf-page .crf-why-title { font-size: 17px; font-weight: 700; color: var(--crf-ink); margin-bottom: 6px; }
#crf-page .crf-why-card.crf-why-lg .crf-why-title { font-size: 19px; }
#crf-page .crf-why-text { font-size: 14px; line-height: 1.65; color: var(--crf-ink-secondary); }
#crf-page .crf-why-card.crf-why-lg .crf-why-text { max-width: 46ch; }
@media (max-width: 900px) {
  #crf-page .crf-why-grid { grid-template-columns: repeat(2, 1fr); }
  #crf-page .crf-why-card.crf-why-lg { grid-column: span 2; }
}
@media (max-width: 520px) {
  #crf-page .crf-why-grid { grid-template-columns: 1fr; }
  #crf-page .crf-why-card.crf-why-lg { grid-column: span 1; }
}

/* ---------- Task 9 · airport delivery (boarding pass + IATA strip) ---------- */
#crf-page .crf-board { padding: clamp(28px, 4vw, 52px); border-radius: var(--crf-radius-card);
  background: linear-gradient(160deg, var(--crf-glass-bg-strong), var(--crf-glass-bg));
  border: 1px solid var(--crf-glass-border); box-shadow: var(--crf-shadow-glass);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); }
#crf-page .crf-board .crf-sub { max-width: 520px; }
#crf-page .crf-air-chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
#crf-page .crf-air-chip { display: inline-flex; align-items: center; gap: 9px; padding: 12px 16px;
  border-radius: var(--crf-radius-pill); border: 1px solid var(--crf-glass-border);
  background: var(--crf-glass-bg-strong); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
#crf-page .crf-air-code { font-family: Inter, monospace; font-variant-numeric: tabular-nums;
  font-weight: 800; letter-spacing: .04em; color: var(--crf-ink); }
#crf-page .crf-air-name { font-size: 13px; color: var(--crf-ink-secondary); }
#crf-page .crf-air-ctl { font-size: 13px; font-weight: 700; }
#crf-page .crf-air-free .crf-air-ctl { color: var(--crf-success); }
#crf-page .crf-air-fee .crf-air-ctl { color: var(--crf-fee); }
/* IATA scroll-snap strip — Inter caps, horizontal snap, no card grid */
#crf-page .crf-strip { display: flex; gap: 10px; margin-top: 28px; padding: 24px 0 2px;
  border-top: 1px dashed var(--crf-border); overflow-x: auto; -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory; scroll-padding-inline-start: 2px; scrollbar-width: thin; }
#crf-page .crf-strip-chip { flex: none; scroll-snap-align: start; padding: 10px 18px;
  font-family: Inter, monospace; font-variant-numeric: tabular-nums; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; font-size: 15px; color: var(--crf-ink-secondary);
  border: 1px solid var(--crf-glass-border); border-radius: var(--crf-radius-pill);
  background: var(--crf-glass-bg); white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) {
  #crf-page .crf-strip { scroll-behavior: smooth; }
}

/* ---------- Task 10 · destinations (cities bento) ---------- */
#crf-page .crf-dest-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
#crf-page .crf-dest { display: flex; flex-direction: column; gap: 14px; padding: 24px;
  border-radius: var(--crf-radius-card); background: var(--crf-glass-bg);
  border: 1px solid var(--crf-glass-border); box-shadow: var(--crf-shadow-low);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
#crf-page .crf-dest-lg { grid-column: 1 / -1; padding: clamp(26px, 4vw, 40px);
  background: linear-gradient(160deg, var(--crf-glass-bg-strong), var(--crf-glass-bg));
  box-shadow: var(--crf-shadow-glass); }
#crf-page .crf-dest-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
#crf-page .crf-dest-name { font-size: 20px; font-weight: 800; letter-spacing: -0.01em; color: var(--crf-ink); margin: 0; }
#crf-page .crf-dest-lg .crf-dest-name { font-size: clamp(24px, 2.6vw, 32px); }
#crf-page .crf-dest-sub { font-size: 14px; line-height: 1.7; color: var(--crf-ink-secondary); margin: 0; }
#crf-page .crf-dest-lg .crf-dest-sub { font-size: 15px; max-width: 520px; }
#crf-page .crf-dest-tag { padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
#crf-page .crf-dest-tag-free { color: var(--crf-success); background: rgba(52, 199, 89, 0.14); }
#crf-page .crf-dest-tag-fee { color: var(--crf-ink-secondary); background: transparent; border: 1px dashed var(--crf-border); }
#crf-page .crf-dest-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: auto; padding-top: 6px; }
#crf-page .crf-dest-price { font-size: 13px; color: var(--crf-ink-secondary); }
#crf-page .crf-dest-price .num { font-family: Inter, monospace; font-variant-numeric: tabular-nums; font-weight: 800; font-size: 15px; color: var(--crf-ink); }
#crf-page .crf-dest-lg .crf-dest-foot { margin-top: 8px; }
#crf-page .crf-dest-lg .crf-dest-price .num { font-size: 22px; }
#crf-page .crf-dest-wa { min-height: 42px; padding: 8px 18px; font-size: 14px; }
@media (max-width: 860px) {
  #crf-page .crf-dest-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  #crf-page .crf-dest-grid { grid-template-columns: 1fr; }
}

/* ---------- Task 11 · comparison (3-col, 8 rows, stacked on mobile) ---------- */
#crf-page .crf-compare { display: flex; flex-direction: column; border-radius: var(--crf-radius-card);
  border: 1px solid var(--crf-glass-border); background: var(--crf-glass-bg-strong);
  box-shadow: var(--crf-shadow-low); overflow: hidden; -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
#crf-page .crf-compare-row { display: grid; grid-template-columns: minmax(0, .95fr) 1.15fr 1.15fr; align-items: center; min-height: 62px; }
#crf-page .crf-compare-row + .crf-compare-row { border-top: 1px solid var(--crf-border); }
#crf-page .crf-c-feature { padding: 14px 18px; font-weight: 700; color: var(--crf-ink); }
#crf-page .crf-c-cell { padding: 14px 18px; font-size: 14px; line-height: 1.6; border-inline-start: 1px solid var(--crf-border); }
#crf-page .crf-c-cells, #crf-page .crf-c-brand { background: var(--crf-accent-soft); }
#crf-page .crf-us { display: inline-flex; align-items: center; gap: 8px; color: var(--crf-success); font-weight: 700; }
#crf-page .crf-us svg { flex: none; }
#crf-page .crf-no { color: var(--crf-ink-secondary); }
#crf-page .crf-compare-head { background: var(--crf-canvas-soft); }
#crf-page .crf-compare-head .crf-c-feature { font-weight: 800; }
#crf-page .crf-c-brand { color: var(--crf-accent); font-weight: 800; }
@media (max-width: 720px) {
  #crf-page .crf-compare { gap: 12px; border: none; background: transparent; box-shadow: none; overflow: visible; }
  #crf-page .crf-compare-row { display: grid; grid-template-columns: 1fr; gap: 4px; min-height: 0;
    border: 1px solid var(--crf-glass-border); border-radius: var(--crf-radius-input);
    background: var(--crf-glass-bg); padding: 14px 16px; }
  #crf-page .crf-compare-row + .crf-compare-row { border-top: 1px solid var(--crf-glass-border); }
  #crf-page .crf-compare-head { display: none; }
  #crf-page .crf-c-feature, #crf-page .crf-c-cell { padding: 0; border-inline-start: none; }
  #crf-page .crf-c-cell { font-size: 13px; }
  #crf-page .crf-c-cells { background: transparent; }
}

/* ---------- Task 12 · testimonials (3 cards) ---------- */
#crf-page .crf-rev-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
#crf-page .crf-rev { display: flex; flex-direction: column; gap: 14px; padding: 24px; margin: 0;
  border-radius: var(--crf-radius-card); border: 1px solid var(--crf-glass-border);
  background: var(--crf-glass-bg-strong); box-shadow: var(--crf-shadow-low);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
#crf-page .crf-stars { display: inline-flex; gap: 3px; }
#crf-page .crf-stars svg { color: var(--crf-fee); }
#crf-page .crf-rev blockquote { margin: 0; color: var(--crf-ink); font-size: 15px; line-height: 1.9; }
#crf-page .crf-rev-meta { display: flex; align-items: center; gap: 12px; margin-top: auto; }
#crf-page .crf-avatar { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px;
  flex: none; border-radius: 50%; background: var(--crf-accent-soft); color: var(--crf-accent);
  font-size: 18px; font-weight: 800; }
#crf-page .crf-rev-meta > div { display: flex; flex-direction: column; gap: 3px; }
#crf-page .crf-rev-meta b { color: var(--crf-ink); font-size: 14px; }
#crf-page .crf-verify { display: inline-flex; align-items: center; gap: 5px; color: var(--crf-success);
  font-size: 12px; font-weight: 600; }
#crf-page .crf-verify svg { flex: none; }
@media (max-width: 900px) {
  #crf-page .crf-rev-grid { grid-template-columns: 1fr; }
}

/* ---------- Task 13 · brands marquee (decorative, JS-free) ---------- */
#crf-page #crf-marquee { padding-block: clamp(40px, 5vw, 64px); }
#crf-page .crf-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
#crf-page .crf-marquee-track { display: flex; gap: clamp(32px, 5vw, 64px); white-space: nowrap; width: max-content; direction: ltr; animation: crf-marquee 32s linear infinite; }
#crf-page .crf-marquee-track span { font-family: Alexandria, Tajawal, sans-serif; font-weight: 800; font-size: clamp(20px, 2.6vw, 28px); letter-spacing: -0.01em; color: var(--crf-ink-secondary); }
@keyframes crf-marquee { from { transform: translateX(0); } to { transform: translateX(50%); } }
@media (prefers-reduced-motion: reduce) {
  #crf-page .crf-marquee-track { animation: none; }
}

/* ---------- Task 14 · services (6 compact cards) ---------- */
#crf-page .crf-serv-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
#crf-page .crf-serv { display: flex; flex-direction: column; gap: 10px; padding: 22px;
  border-radius: var(--crf-radius-input); border: 1px solid var(--crf-glass-border);
  background: var(--crf-glass-bg-strong); box-shadow: var(--crf-shadow-low);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
#crf-page .crf-serv-icon { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px;
  flex: none; border-radius: 14px; background: var(--crf-accent-soft); color: var(--crf-accent); }
#crf-page .crf-serv-icon svg { flex: none; }
#crf-page .crf-serv h3 { margin: 0; font-family: Alexandria, Tajawal, sans-serif; font-size: 17px; font-weight: 800; color: var(--crf-ink); }
#crf-page .crf-serv p { margin: 0; font-size: 13.5px; line-height: 1.7; color: var(--crf-ink-secondary); }
@media (max-width: 900px) {
  #crf-page .crf-serv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  #crf-page .crf-serv-grid { grid-template-columns: 1fr; }
}

/* ---------- Task 15 · price calculator ---------- */
#crf-page #crf-calc { scroll-margin-top: 80px; }
#crf-page .crf-calc { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(20px, 4vw, 48px); align-items: start; }
#crf-page .crf-calc:hover { transform: none; box-shadow: var(--crf-shadow-low); }
#crf-page .crf-calc-form { display: flex; flex-direction: column; gap: 14px; }
#crf-page .crf-calc-form .crf-h3 { margin: 0; font-family: Alexandria, Tajawal, sans-serif; font-size: clamp(20px, 2.6vw, 24px); font-weight: 800; letter-spacing: -0.01em; color: var(--crf-ink); }
#crf-page .crf-calc-sub { margin: 0; font-size: 14.5px; color: var(--crf-ink-secondary); }
#crf-page .crf-calc .crf-bk-row { grid-template-columns: 1fr 1fr auto; align-items: end; margin-top: 4px; }
#crf-page .crf-calc-submit { justify-content: flex-end; }
#crf-page .crf-calc-submit .crf-btn { height: 48px; min-width: 190px; position: relative; }
#crf-page .crf-calc-err { min-height: 0; margin: 0; font-size: 13px; font-weight: 700; color: var(--crf-accent); }
/* Loading state — spinner + disabled while the server quote is in flight */
#crf-page .crf-btn-spinner { display: none; width: 18px; height: 18px; flex: none; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35); border-top-color: #fff; animation: crf-spin 0.7s linear infinite; }
#crf-page .crf-btn.is-busy .crf-btn-spinner { display: inline-block; }
#crf-page .crf-btn.is-busy .crf-btn-label { opacity: 0.85; }
#crf-page .crf-btn[disabled] { cursor: not-allowed; opacity: 0.7; transform: none; }
@keyframes crf-spin { to { transform: rotate(360deg); } }
/* Output panel */
#crf-page .crf-calc-out { border-radius: var(--crf-radius-card); padding: clamp(22px, 3vw, 28px);
  background: var(--crf-accent-soft); border: 1px solid var(--crf-glass-border); text-align: center;
  display: flex; flex-direction: column; gap: 4px; }
#crf-page .crf-calc-row { margin: 0; display: flex; justify-content: space-between; align-items: center; gap: 10px;
  font-size: 14px; color: var(--crf-ink-secondary); padding-block: 5px; border-bottom: 1px dashed var(--crf-glass-border); }
#crf-page .crf-calc-row b { color: var(--crf-ink); font-family: Alexandria, Tajawal, sans-serif; }
#crf-page .crf-calc-disc { color: var(--crf-success); font-weight: 800; }
#crf-page .crf-calc-total { margin: 14px 0 0; display: flex; align-items: baseline; justify-content: center; gap: 8px; }
#crf-page .crf-calc-total .crf-num { font-size: clamp(34px, 5vw, 46px); font-weight: 700; color: var(--crf-ink); }
#crf-page .crf-calc-total span { font-size: 15px; color: var(--crf-ink-secondary); }
#crf-page .crf-total-note { margin: 10px 0 0; font-size: 13px; color: var(--crf-ink-secondary); }
#crf-page .crf-calc-wa { margin-top: 18px; }
@media (max-width: 900px) {
  #crf-page .crf-calc { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  #crf-page .crf-calc .crf-bk-row { grid-template-columns: 1fr; }
}

/* ---------- Task 16 · FAQ (two-column details/summary) ---------- */
#crf-page #crf-faq { scroll-margin-top: 80px; }
#crf-page .crf-head { margin-bottom: clamp(24px, 4vw, 36px); }
#crf-page .crf-kicker { margin: 0 0 6px; font-size: 13px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--crf-accent); }
#crf-page .crf-h2 { margin: 0; font-family: Alexandria, Tajawal, sans-serif; font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -0.02em; color: var(--crf-ink); }
#crf-page .crf-sub { margin: 10px 0 0; font-size: 16px; color: var(--crf-ink-secondary); }
#crf-page .crf-faq { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
#crf-page .crf-faq-item { border: 1px solid var(--crf-glass-border); border-radius: var(--crf-radius-input);
  background: var(--crf-glass-bg-strong); box-shadow: var(--crf-shadow-low); overflow: hidden;
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
#crf-page .crf-faq-item[open] { background: var(--crf-glass-bg-strong); }
#crf-page .crf-faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 18px; font-family: Alexandria, Tajawal, sans-serif; font-size: 15px; font-weight: 700; color: var(--crf-ink); }
#crf-page .crf-faq-item summary::-webkit-details-marker { display: none; }
#crf-page .crf-faq-item summary::after { content: "+"; flex: none; width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--crf-accent-soft); color: var(--crf-accent); font-size: 16px; font-weight: 700; transition: transform 0.2s ease; }
#crf-page .crf-faq-item[open] summary::after { transform: rotate(45deg); }
#crf-page .crf-faq-item p { margin: 0; padding: 0 18px 16px; font-size: 14px; line-height: 1.8; color: var(--crf-ink-secondary); }
@media (max-width: 860px) {
  #crf-page .crf-faq { grid-template-columns: 1fr; }
}
