#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) */
        
        /* QA-fix: collapse secondary header actions on small screens (RTL overflow fix) */

@media (max-width: 640px) {
#crf-page .header-actions .lang-switch,
#crf-page .header-actions .btn-primary { display: none; }
}

@media (max-width: 400px) {
#crf-page .header-actions .btn-whatsapp { display: none; }
}

#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: 'Changa', 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 */

#crf-page .mre-bar {
            background: linear-gradient(90deg, rgba(10,92,54,0.92), rgba(14,122,78,0.92), rgba(10,92,54,0.92));
            backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
            border-bottom: 1px solid rgba(255,255,255,0.15);
            color: #fff; text-align: center; padding: 10px 24px; font-size: 14px;
            display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap;
        }

#crf-page .mre-bar strong { color: var(--secondary); }

#crf-page .mre-bar .mre-cta {
            background: var(--secondary); color: var(--on-secondary); padding: 4px 18px;
            border-radius: 20px; font-weight: 700; font-size: 12px; transition: all 0.3s;
        }

#crf-page .mre-bar .mre-cta:hover { transform: scale(1.05); }

/* Header */

#crf-page .site-header {
            background: var(--glass-header);
            backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%);
            border-bottom: 1px solid var(--glass-border); position: sticky; top: 0; z-index: 1000;
        }

#crf-page .header-inner {
            display: flex; align-items: center; justify-content: space-between;
            max-width: 1200px; margin: 0 auto; padding: 14px 24px;
        }

#crf-page .logo { font-family: 'Changa', 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; }

#crf-page .nav-menu { display: flex; gap: 28px; list-style: none; }

#crf-page .nav-menu a {
            font-weight: 600; font-size: 14px; color: var(--gray-600); transition: color 0.3s;
            position: relative; padding: 4px 0;
        }

#crf-page .nav-menu a:hover { color: var(--primary); }

#crf-page .nav-menu a::after {
            content: ''; position: absolute; bottom: -2px; right: 0; width: 0; height: 2px;
            background: var(--primary); transition: width 0.3s;
        }

#crf-page .nav-menu a:hover::after { width: 100%; }

#crf-page .header-actions { display: flex; gap: 10px; align-items: center; }

#crf-page .lang-switch { display: flex; gap: 2px; font-size: 12px; }

#crf-page .lang-switch a { padding: 5px 10px; border-radius: 6px; font-weight: 700; color: var(--gray-400); transition: all 0.2s; }

#crf-page .lang-switch a.active { background: var(--primary-solid); color: #fff; }

#crf-page .hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }

#crf-page .hamburger span { width: 24px; height: 2.5px; background: var(--dark); border-radius: 2px; transition: all 0.3s; }

/* 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: 'Changa', 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 .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 .nav-menu { display: none; }

#crf-page .nav-menu.open {
                display: flex; flex-direction: column; position: absolute;
                top: 100%; right: 0; left: 0; background: var(--white);
                padding: 20px 24px; box-shadow: var(--shadow-lg); z-index: 100;
            }

#crf-page .hamburger { display: flex; }

#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 .mre-bar { font-size: 12px; gap: 8px; }

#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: 'Changa', 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: 'Changa', 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: 'Changa', 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: "Changa", 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: "Changa", 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: "Changa", 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: "Changa", 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: "Changa", 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: "Changa", 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;
    }
}
/* ================= BACKDROP-FILTER FALLBACK (mobile / safe) ================= */
@supports not (backdrop-filter: blur(1px)) {
  #crf-page .mre-bar {
    background: linear-gradient(90deg, rgba(10,92,54,0.98), rgba(14,122,78,0.98), rgba(10,92,54,0.98));
  }
  #crf-page .site-header {
    background: rgba(255,255,255,0.94);
  }
  #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);
  }
}
