/* ═══════════════════════════════════════════════
   Global Visa Way — Design Tokens
   Load before every public stylesheet.
═══════════════════════════════════════════════ */

:root {
    /* ── Neutrals ── */
    --n900: #111827;
    --n800: #18202F;
    --n750: #1E2840;
    --n700: #232D42;
    --n600: #283856;
    --n500: #2E4063;

    /* ── Brand accent ── */
    --gold: #E8B84A;
    --gold-l: #F5D278;
    --gold-d: #C4922A;
    --gold-glow: rgba(232, 184, 74, 0.22);

    /* ── Base text ── */
    --white: #FFFFFF;
    --tl: #A8BCCF;
    --tm: #6E8AA8;

    /* ── Semantic page aliases ── */
    --page-bg: var(--n900);
    --page-text: var(--white);
    --link-color: var(--gold);
    --focus-ring-color: var(--gold-a35);

    /* ── Shared layout widths ──
       Existing .container remains 1200px-compatible.
       The variants are available for upcoming page types. */
    --container-narrow: 760px;
    --container-content: 980px;
    --container-default: 1200px;
    --container-wide: 1480px;
    --container-home: 1200px;
    --container-shell: 1200px;
    --page-gutter: clamp(16px, 2.2vw, 28px);
    --layout-gutter: clamp(16px, 2vw, 28px);

    /* ── Shared responsive spacing ── */
    --section-space: clamp(64px, 7vw, 112px);
    --section-space-compact: clamp(44px, 5vw, 80px);
    --grid-gap: clamp(16px, 2vw, 28px);
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-8: 32px;
    --space-10: 40px;
    --space-12: 48px;
    --space-16: 64px;

    /* ── Radius ── */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --radius-pill: 999px;

    /* ── Type scale ── */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --heading-sm: clamp(1.6rem, 2vw, 2.1rem);
    --heading-md: clamp(2rem, 3vw, 3.2rem);
    --heading-xl: clamp(2.6rem, 5vw, 4.8rem);
    --line-tight: 1.15;
    --line-heading: 1.25;
    --line-body: 1.65;

    /* ── Motion ── */
    --duration-fast: 160ms;
    --duration-normal: 240ms;
    --duration-slow: 360ms;
    --ease-standard: cubic-bezier(.2, .8, .2, 1);

    /* ── Layering ── */
    --z-header: 1000;
    --z-dropdown: 1100;
    --z-fab: 9998;
    --z-modal: 10000;

    /* Footer — always dark, including Desert Light */
    --footer-bg: var(--n900);
    --contact-bg: var(--n750);
    --footer-text: var(--tl);
    --footer-text-muted: var(--tm);
    --footer-logo-text: var(--white);
    --footer-border: rgba(255, 255, 255, 0.05);
    --footer-s-btn-bg: rgba(255, 255, 255, 0.04);
    --footer-s-btn-bdr: rgba(255, 255, 255, 0.07);
    --nav-text: rgba(255, 255, 255, 0.72);
    --nav-text-hover: rgba(255, 255, 255, 1);

    /* Topbar */
    --topbar-bg: var(--n900);
    --topbar-border: var(--gold-a12);

    /* Cold-side accent */
    --cold-rgb: 100, 170, 240;
    --cold-hex: #64AAF0;

    /* Navbar / hero surfaces */
    --nav-bg: rgba(24, 32, 47, 0.97);
    --card-bg: rgba(30, 40, 64, 0.92);
    --stats-bg: rgba(17, 24, 39, 0.72);

    /* Hero sky gradient */
    --sky-start: #111827;
    --sky-mid: #18202F;
    --sky-end: #1E2840;
    --sky-b1: rgba(28, 55, 110, 0.82);
    --sky-b2: rgba(18, 36, 72, 0.65);
    --sky-b3: rgba(14, 28, 58, 0.45);

    /* Page section and card surfaces */
    --section-alt: rgba(11, 21, 37, 0.50);
    --surface-1: rgba(255, 255, 255, 0.025);
    --surface-2: rgba(255, 255, 255, 0.030);
    --surface-3: rgba(255, 255, 255, 0.035);
    --surface-4: rgba(255, 255, 255, 0.040);
    --surface-input: rgba(255, 255, 255, 0.050);
    --input-hover: rgba(255, 255, 255, 0.070);
    --cat-overlay: rgba(4, 8, 15, 0.85);
    --thumb-dark: rgba(11, 21, 37, 0.80);

    /* Borders */
    --border-soft: rgba(255, 255, 255, 0.06);
    --border-mid: rgba(255, 255, 255, 0.07);
    --border-med: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.09);
    --border-bold: rgba(255, 255, 255, 0.10);

    /* Text opacity */
    --text-faint: rgba(255, 255, 255, 0.55);
    --text-dim: rgba(255, 255, 255, 0.72);
    --text-body: rgba(255, 255, 255, 0.75);
    --text-strong: rgba(255, 255, 255, 0.88);

    /* Gold opacity scale */
    --gold-a04: rgba(232, 184, 74, 0.04);
    --gold-a05: rgba(232, 184, 74, 0.05);
    --gold-a06: rgba(232, 184, 74, 0.06);
    --gold-a07: rgba(232, 184, 74, 0.07);
    --gold-a08: rgba(232, 184, 74, 0.08);
    --gold-a09: rgba(232, 184, 74, 0.09);
    --gold-a10: rgba(232, 184, 74, 0.10);
    --gold-a12: rgba(232, 184, 74, 0.12);
    --gold-a15: rgba(232, 184, 74, 0.15);
    --gold-a16: rgba(232, 184, 74, 0.16);
    --gold-a18: rgba(232, 184, 74, 0.18);
    --gold-a20: rgba(232, 184, 74, 0.20);
    --gold-a22: rgba(232, 184, 74, 0.22);
    --gold-a25: rgba(232, 184, 74, 0.25);
    --gold-a30: rgba(232, 184, 74, 0.30);
    --gold-a35: rgba(232, 184, 74, 0.35);
    --gold-a38: rgba(232, 184, 74, 0.38);
    --gold-a40: rgba(232, 184, 74, 0.40);
    --gold-a45: rgba(232, 184, 74, 0.45);
    --gold-a50: rgba(232, 184, 74, 0.50);
    --gold-a55: rgba(232, 184, 74, 0.55);
    --gold-a65: rgba(232, 184, 74, 0.65);
    --gold-a70: rgba(232, 184, 74, 0.70);

    /* Fonts */
    --en: 'Outfit', sans-serif;
    --ur: 'Scheherazade New', serif;
    --ar: 'Cairo', sans-serif;
}

/* ── Large-screen public shell scale ──
   Homepage and shared chrome expand in controlled stages while readable
   article/form containers retain their existing limits. */
@media (min-width: 1440px) {
    :root {
        --container-home: 1360px;
        --container-shell: 1360px;
        --layout-gutter: 36px;
    }
}

@media (min-width: 1680px) {
    :root {
        --container-home: 1480px;
        --container-shell: 1480px;
        --layout-gutter: 44px;
    }
}

@media (min-width: 1920px) {
    :root {
        --container-home: 1560px;
        --container-shell: 1560px;
        --layout-gutter: 52px;
    }
}
