/* ========================================================================
   Brandorix Editorial Design System v5
   Style: Editorial Confidence + Bento + Subtle Glassmorphism
   Font pair: Cairo (Arabic) + Playfair Display (English serif accent)
   Used across every page. Import once, style everywhere.
   ======================================================================== */

:root {
    --canvas: #FAFAF7;
    --surface: #FFFFFF;
    --surface-2: #F5F5F0;
    --surface-warm: #FFF8ED;
    --surface-dark: #131418;
    --surface-darker: #0A0B0F;
    --ink: #1A1D24;
    --ink-2: #545966;
    --ink-3: #8B8F9B;
    --ink-inverse: #F5F5F0;
    --brand: #E5601D;
    --brand-2: #C24E14;
    --gold: #CEA05A;
    --gold-2: #B58542;
    --cognac: #7A2E0F;
    --studio-teal: #2C6F6D;
    --hair: #E5E5E0;
    --hair-2: #D4D4CE;
    --grad-warm: linear-gradient(135deg, #E5601D 0%, #CEA05A 100%);
    --grad-editorial: radial-gradient(1200px 600px at 100% 0%, rgba(206,160,90,0.08), transparent 60%), radial-gradient(1000px 500px at 0% 100%, rgba(229,96,29,0.05), transparent 60%);
    --shadow-1: 0 1px 2px rgba(20,22,27,0.04), 0 2px 8px rgba(20,22,27,0.04);
    --shadow-2: 0 8px 24px -8px rgba(20,22,27,0.12);
    --shadow-3: 0 24px 60px -20px rgba(20,22,27,0.18);
    --shadow-dark: 0 24px 80px -30px rgba(206,160,90,0.35);
    --radius-sm: 6px;
    --radius: 14px;
    --radius-lg: 22px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-out: cubic-bezier(0.2, 0.9, 0.3, 1);
}

@media (prefers-color-scheme: dark) {
    :root {
        --canvas: #0A0B0F;
        --surface: #131418;
        --surface-2: #1A1C22;
        --surface-warm: #1F1B14;
        --ink: #F5F5F0;
        --ink-2: #B5B8C0;
        --ink-3: #7A7E8A;
        --hair: #2A2D35;
        --hair-2: #3A3E48;
        --shadow-2: 0 8px 24px -8px rgba(0,0,0,0.5);
        --shadow-3: 0 24px 60px -20px rgba(0,0,0,0.6);
    }
}

/* ===== RESET ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: 'Cairo', system-ui, -apple-system, sans-serif;
    background: var(--canvas);
    color: var(--ink);
    font-size: 17px;
    line-height: 1.7;
    font-feature-settings: 'kern' 1, 'liga' 1;
    overflow-x: hidden;
}
::selection { background: var(--brand); color: white; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; }

/* ===== UTILITIES ===== */
.serif { font-family: 'Playfair Display', Georgia, serif; font-style: italic; font-weight: 600; }
.mono { font-family: 'JetBrains Mono', 'SF Mono', monospace; }
.tabular { font-variant-numeric: tabular-nums; font-feature-settings: 'tnum' 1; }
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 768px) { .container { padding: 0 20px; } }

/* ===== HEADER ===== */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: color-mix(in srgb, var(--canvas) 88%, transparent);
    backdrop-filter: saturate(140%) blur(18px);
    -webkit-backdrop-filter: saturate(140%) blur(18px);
    border-bottom: 1px solid var(--hair);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; padding-top: 18px; padding-bottom: 18px; }
.brand-mark { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.brand-mark img {
    width: 44px; height: 44px;
    object-fit: contain;
    background: transparent;
    transition: transform 300ms var(--ease-out), filter 300ms;
    filter: drop-shadow(0 2px 4px rgba(20, 22, 27, 0.06));
}
.brand-mark:hover img { transform: rotate(-3deg) scale(1.05); }
.brand-mark span { font-size: 15px; letter-spacing: 0.5px; }
.brand-mark em { font-family: 'Playfair Display', serif; color: var(--gold-2); font-size: 13px; font-weight: 500; }
/* Dark backgrounds — invert logo to white/cream for max legibility */
footer.site-footer .brand-mark img,
.dark-cta .brand-mark img {
    filter: brightness(0) invert(1) brightness(0.96) drop-shadow(0 2px 6px rgba(0,0,0,0.3));
}
footer.site-footer .brand-mark:hover img,
.dark-cta .brand-mark:hover img {
    filter: brightness(0) invert(70%) sepia(65%) saturate(450%) hue-rotate(0deg) brightness(0.95);
}
.primary-nav ul { display: flex; gap: 28px; }
.primary-nav a {
    font-size: 14.5px; font-weight: 500; color: var(--ink-2);
    position: relative; padding: 4px 0;
    transition: color 200ms var(--ease);
}
.primary-nav a:hover { color: var(--ink); }
.primary-nav a.active { color: var(--ink); font-weight: 700; }
.primary-nav a.active::before {
    content: ""; position: absolute; bottom: -3px; right: 0; left: 0;
    height: 2px; background: var(--brand); border-radius: 2px;
}
.nav-toggle { display: none; width: 40px; height: 40px; border-radius: var(--radius-sm); align-items: center; justify-content: center; }
.nav-toggle:hover { background: var(--surface-2); }
@media (max-width: 900px) {
    .primary-nav { display: none; position: absolute; top: 100%; right: 0; left: 0;
        background: var(--surface); border-bottom: 1px solid var(--hair);
        padding: 20px 32px; }
    .primary-nav.open { display: block; }
    .primary-nav ul { flex-direction: column; gap: 4px; }
    .primary-nav a { display: block; padding: 12px 0; font-size: 16px; }
    .nav-toggle { display: inline-flex; }
}

/* ===== HERO (Editorial) ===== */
.hero {
    padding: 96px 0 64px;
    background: var(--canvas);
    background-image: var(--grad-editorial);
    position: relative;
    overflow: hidden;
}
.hero-inner { position: relative; z-index: 1; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 12px;
    font-size: 12px; font-weight: 700;
    letter-spacing: 3px; text-transform: uppercase;
    color: var(--brand);
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: var(--brand); display: inline-block; }
.display {
    margin-top: 24px;
    font-size: clamp(40px, 6.5vw, 88px);
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: -1.5px;
    color: var(--ink);
    max-width: 14ch;
}
.display .serif-accent {
    font-family: 'Playfair Display', serif;
    font-weight: 400; font-style: italic;
    color: var(--gold-2);
    letter-spacing: -0.5px;
}
.display .brand-c { color: var(--brand); }
.lede {
    margin-top: 28px;
    max-width: 62ch;
    font-size: clamp(17px, 1.6vw, 21px);
    line-height: 1.65;
    color: var(--ink-2);
    font-weight: 400;
}
.lede strong { color: var(--ink); font-weight: 700; }

/* ===== HERO META ===== */
.hero-meta {
    margin-top: 48px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    max-width: 780px;
}
.hero-meta > div { border-right: 1px solid var(--hair); padding-right: 20px; }
.hero-meta > div:last-child { border-right: 0; }
.hero-meta .num {
    font-family: 'Playfair Display', serif;
    font-size: 44px; font-weight: 700;
    line-height: 1;
    color: var(--ink);
}
.hero-meta .lbl {
    margin-top: 6px;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--ink-3);
    font-weight: 600;
}
@media (max-width: 640px) {
    .hero-meta { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .hero-meta .num { font-size: 34px; }
}

/* ===== SECTIONS ===== */
.section { padding: 96px 0; }
.section-caption { text-align: center; margin-bottom: 64px; }
.section-caption .eyebrow { display: inline-flex; }
.section-caption h2 {
    margin-top: 20px;
    font-size: clamp(28px, 3.5vw, 46px);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.5px;
    max-width: 22ch;
    margin-inline: auto;
}
.section-caption h2 .serif { color: var(--gold-2); }
.section-caption p {
    margin-top: 18px;
    color: var(--ink-2);
    max-width: 60ch;
    margin-inline: auto;
    font-size: 17px;
}
.section-alt { background: var(--surface); border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }

/* ===== CARDS ===== */
.card {
    background: var(--surface);
    border: 1px solid var(--hair);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    transition: transform 300ms var(--ease-out), box-shadow 300ms var(--ease-out), border-color 300ms var(--ease-out);
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-3);
    border-color: var(--hair-2);
}
.card.dark {
    background: var(--surface-dark);
    color: var(--ink-inverse);
    border-color: var(--surface-dark);
}
.card.dark:hover { box-shadow: var(--shadow-dark); }
.card.warm {
    background: var(--surface-warm);
    border-color: var(--gold);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 16px 24px;
    font-size: 15px; font-weight: 700;
    border-radius: 100px;
    transition: transform 200ms var(--ease-out), background 200ms;
    min-height: 52px;
    white-space: nowrap;
}
.btn-primary { background: var(--brand); color: white; }
.btn-primary:hover { background: var(--gold-2); transform: translateY(-2px); color: white; }
.btn-dark { background: var(--ink); color: white; }
.btn-dark:hover { background: var(--brand); color: white; transform: scale(1.02); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--hair-2); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-inverse { background: transparent; color: var(--ink-inverse); border: 1px solid rgba(245,245,240,0.25); }
.btn-inverse:hover { border-color: var(--gold); color: var(--gold); }
.btn svg { width: 16px; height: 16px; }

/* ===== BENTO GRID ===== */
.bento-grid { display: grid; gap: 20px; }
.bento-2 { grid-template-columns: 1fr 1fr; }
.bento-3 { grid-template-columns: 1fr 1.4fr 1fr; align-items: stretch; }
.bento-4 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) {
    .bento-3, .bento-4 { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 720px) {
    .bento-2 { grid-template-columns: 1fr; }
}

/* ===== FEATURE LIST ===== */
.feature-list { display: flex; flex-direction: column; gap: 14px; }
.feature-list li {
    position: relative; padding-right: 26px;
    font-size: 15px; line-height: 1.55;
}
.feature-list li::before {
    content: ""; position: absolute; right: 0; top: 8px;
    width: 14px; height: 14px;
    background: currentColor; opacity: 0.85;
    -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 10.5 L8 14.5 L16 6' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 10.5 L8 14.5 L16 6' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
    color: var(--brand);
}
.card.dark .feature-list li::before { color: var(--gold); }

/* ===== EDITORIAL PROCESS ===== */
.process-list { max-width: 900px; margin: 0 auto; }
.process-step {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 40px;
    padding: 40px 0;
    border-bottom: 1px solid var(--hair);
    align-items: start;
}
.process-step:last-child { border-bottom: 0; }
.process-num {
    font-family: 'Playfair Display', serif;
    font-size: clamp(56px, 8vw, 96px);
    font-weight: 400; font-style: italic;
    color: var(--gold);
    line-height: 1;
    opacity: 0.55;
}
.process-body h3 {
    font-size: clamp(20px, 2.2vw, 26px);
    font-weight: 900;
    letter-spacing: -0.3px;
}
.process-body h3 em { color: var(--cognac); font-family: 'Playfair Display', serif; font-style: italic; font-weight: 400; }
.process-body p {
    margin-top: 12px;
    color: var(--ink-2);
    max-width: 55ch;
    font-size: 16px;
}
.process-body .kicker {
    margin-top: 12px;
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    background: var(--surface-2);
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px; color: var(--ink-2);
    font-weight: 700;
}
@media (max-width: 640px) {
    .process-step { grid-template-columns: 1fr; gap: 8px; padding: 24px 0; }
    .process-num { font-size: 56px; }
}

/* ===== FAQ ===== */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--hair); }
.faq-item summary {
    padding: 28px 0;
    list-style: none;
    cursor: pointer;
    display: flex; align-items: center; justify-content: space-between;
    gap: 20px;
    font-weight: 700;
    font-size: clamp(16px, 1.8vw, 19px);
    letter-spacing: -0.2px;
    color: var(--ink);
    transition: color 200ms;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--brand); }
.faq-icon {
    flex: 0 0 auto; width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--surface-2);
    display: grid; place-items: center;
    transition: background 200ms, transform 300ms var(--ease);
    color: var(--ink);
}
.faq-icon svg { width: 14px; height: 14px; }
.faq-item[open] .faq-icon { background: var(--brand); color: white; transform: rotate(45deg); }
.faq-body {
    padding-bottom: 28px;
    color: var(--ink-2);
    font-size: 16.5px;
    line-height: 1.75;
    max-width: 65ch;
}

/* ===== DARK CTA ===== */
.dark-cta {
    padding: 96px 0 100px;
    background: var(--surface-dark);
    color: var(--ink-inverse);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.dark-cta::before {
    content: "";
    position: absolute; inset: 0;
    background:
        radial-gradient(600px 300px at 30% 20%, rgba(229,96,29,0.15), transparent 60%),
        radial-gradient(600px 300px at 70% 80%, rgba(206,160,90,0.12), transparent 60%);
    pointer-events: none;
}
.dark-cta .container { position: relative; }
.dark-cta .eyebrow { color: var(--gold); }
.dark-cta .eyebrow::before { background: var(--gold); }
.dark-cta h2 {
    margin-top: 20px;
    font-size: clamp(32px, 4.5vw, 56px);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -1px;
    max-width: 20ch;
    margin-inline: auto;
    color: var(--ink-inverse);
}
.dark-cta h2 .serif { font-family: 'Playfair Display', serif; font-style: italic; color: var(--gold); font-weight: 400; }
.dark-cta p {
    margin-top: 24px;
    color: rgba(245,245,240,0.72);
    font-size: 18px;
    max-width: 55ch;
    margin-inline: auto;
}
.cta-row {
    margin-top: 40px;
    display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
}

/* ===== FOOTER ===== */
footer.site-footer {
    background: var(--surface-darker);
    color: var(--ink-inverse);
    padding: 72px 0 40px;
}
footer.site-footer .grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(245,245,240,0.1);
}
@media (max-width: 900px) { footer.site-footer .grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 520px) { footer.site-footer .grid { grid-template-columns: 1fr; } }
footer.site-footer h4 {
    font-size: 13px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
}
footer.site-footer li { margin-bottom: 10px; font-size: 14.5px; }
footer.site-footer a { color: rgba(245,245,240,0.75); transition: color 200ms; }
footer.site-footer a:hover { color: var(--gold); }
.footer-brand p { color: rgba(245,245,240,0.7); font-size: 14.5px; line-height: 1.7; max-width: 40ch; margin-top: 12px; }
.footer-brand em { font-family: 'Playfair Display', serif; color: var(--gold); font-style: italic; }
.footer-socials { display: flex; gap: 12px; margin-top: 20px; }
.footer-socials a {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(245,245,240,0.06);
    display: grid; place-items: center;
    transition: background 200ms, color 200ms;
}
.footer-socials a:hover { background: var(--brand); color: white; }
.footer-bottom {
    margin-top: 32px;
    display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
    color: rgba(245,245,240,0.5); font-size: 13px;
}
.footer-bottom em { font-family: 'Playfair Display', serif; color: var(--gold); font-style: italic; }

/* ===== FLOATING WHATSAPP ===== */
.whatsapp-float {
    position: fixed; bottom: 24px; left: 24px;
    width: 60px; height: 60px;
    background: #25D366; color: white;
    border-radius: 50%;
    display: grid; place-items: center;
    box-shadow: 0 8px 24px rgba(37,211,102,0.35);
    z-index: 90;
    transition: transform 300ms var(--ease-out), box-shadow 300ms;
}
.whatsapp-float svg { width: 30px; height: 30px; }
.whatsapp-float:hover { transform: scale(1.06); box-shadow: 0 12px 32px rgba(37,211,102,0.5); color: white; }

/* ===== BREADCRUMB ===== */
.crumbs {
    padding: 16px 0;
    background: var(--surface);
    border-bottom: 1px solid var(--hair);
    font-size: 13px;
    color: var(--ink-3);
}
.crumbs ol { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; list-style: none; }
.crumbs a { color: var(--ink-2); }
.crumbs a:hover { color: var(--brand); }
.crumbs li + li::before { content: "‹"; margin-inline: 4px; color: var(--hair-2); }

/* ===== ACCESSIBILITY ===== */
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ===== REVEAL ON SCROLL ===== */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ===== GEO ACCENTS (per-country hero) ===== */
.geo-hero { padding: 96px 0 64px; text-align: center; position: relative; overflow: hidden; }
.geo-flag { font-size: 4.5rem; margin-bottom: 20px; line-height: 1; }
.geo-hero h1 { font-size: clamp(36px, 5.5vw, 68px); font-weight: 900; line-height: 1.05; letter-spacing: -1.2px; max-width: 18ch; margin: 0 auto; }
.geo-hero h1 em { font-family: 'Playfair Display', serif; font-weight: 400; font-style: italic; }
.geo-hero p { margin-top: 24px; max-width: 60ch; font-size: 18px; line-height: 1.65; color: var(--ink-2); margin-inline: auto; }
.geo-hero .cta-row { margin-top: 36px; }
.geo-hero.sy { background: linear-gradient(180deg, #F4F9F2 0%, var(--canvas) 100%); }
.geo-hero.sy h1 em { color: #007A3D; }
.geo-hero.tr { background: linear-gradient(180deg, #FDF4F5 0%, var(--canvas) 100%); }
.geo-hero.tr h1 em { color: #E30A17; }
.geo-hero.sa { background: linear-gradient(180deg, #F1FAF5 0%, var(--canvas) 100%); }
.geo-hero.sa h1 em { color: #006C35; }
.geo-hero.eg { background: linear-gradient(180deg, #FDF4F5 0%, var(--canvas) 100%); }
.geo-hero.eg h1 em { color: #CE1126; }

/* ===== CITIES BAR ===== */
.cities-bar { padding: 32px 0; background: var(--surface); border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.cities-list { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; font-size: 14px; }
.cities-list span {
    padding: 8px 16px; background: var(--surface-2); border-radius: 100px; color: var(--ink-2); font-weight: 600;
    transition: background 200ms, color 200ms, transform 200ms var(--ease-out);
}
.cities-list span:hover { background: var(--brand); color: white; transform: translateY(-2px); }

/* ===== ICON GRID (Industries) ===== */
.icon-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 900px) { .icon-grid { grid-template-columns: repeat(2, 1fr); } }
.icon-tile {
    background: var(--surface);
    border: 1px solid var(--hair);
    border-radius: var(--radius);
    padding: 24px 20px;
    text-align: center;
    transition: transform 200ms var(--ease-out), border-color 200ms;
    color: inherit;
}
.icon-tile:hover { transform: translateY(-3px); border-color: var(--brand); }
.icon-tile svg { width: 32px; height: 32px; color: var(--brand); margin-bottom: 12px; }
.icon-tile h4 { font-size: 15px; font-weight: 700; }
.icon-tile p { margin-top: 4px; font-size: 12.5px; color: var(--ink-3); }

/* ===== QUOTE ===== */
.quote-block {
    border-inline-start: 3px solid var(--gold);
    padding-inline-start: 20px;
    margin: 32px 0;
}
.quote-block p {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: clamp(18px, 1.8vw, 22px);
    color: var(--ink);
    line-height: 1.5;
}
.quote-block cite {
    display: block; margin-top: 12px;
    font-family: 'Cairo', sans-serif;
    font-style: normal;
    font-size: 13px; letter-spacing: 1px; text-transform: uppercase;
    color: var(--ink-3);
    font-weight: 700;
}

/* ===== TAG STRIP ===== */
.tag-strip { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.tag {
    padding: 8px 14px;
    border: 1px solid var(--hair-2);
    border-radius: 100px;
    background: var(--surface);
    font-size: 13px; font-weight: 600;
    color: var(--ink-2);
    transition: transform 200ms var(--ease), border-color 200ms, color 200ms;
}
.tag:hover { transform: translateY(-2px); border-color: var(--brand); color: var(--brand); }
