/* ==========================================================
   BRANDEXA THEME — v3.0 (Clean Rewrite)
   ==========================================================
   Structure:
   1.  Variables
   2.  Reset & Base
   3.  Utilities
   4.  Buttons
   5.  Background decor
   6.  Preloader
   7.  Header (logo + nav + tools)
   8.  Mobile menu
   9.  Hero + floating tags
   10. Marquee strip
   11. Stacked text + Services
   12. Process
   13. Pricing
   14. Saudi (map + stats sidebar + logos)
   15. Stats numbers
   16. Story (chart)
   17. Let's Talk
   18. Site Footer
   19. Brand Slogan (reveal section)
   20. Animations & helpers
   21. Mobile cleanup
   ========================================================== */

/* ==========================================================
   1. VARIABLES
   ========================================================== */
:root {
    /* Brand */
    --primary:       #1FBA8B;
    --primary-light: #3FE5AE;
    --primary-dark:  #14856B;
    --accent-gold:   #D4A05A;
    --accent-warm:   #FFD580;

    /* Background tiers */
    --bg-base:    #050E0E;
    --bg-elev-1:  #0A1A1A;
    --bg-elev-2:  #0F2424;
    --bg-elev-3:  #15302F;

    /* Text */
    --text:        #F0F8F6;
    --text-muted:  #8FA8A4;
    --text-dimmed: #5A7370;

    /* Borders */
    --border:         rgba(255, 255, 255, 0.06);
    --border-strong:  rgba(255, 255, 255, 0.12);
    --border-primary: rgba(31, 186, 139, 0.25);

    /* Fonts */
    --font-en:   'Outfit', sans-serif;
    --font-ar:   'Tajawal', 'Cairo', sans-serif;
    --font-mono: 'Space Grotesk', monospace;

    /* Spacing */
    --s-1: 0.5rem; --s-2: 1rem; --s-3: 1.5rem; --s-4: 2rem;
    --s-5: 3rem; --s-6: 4rem; --s-7: 6rem; --s-8: 8rem;

    /* Layout */
    --container: 1280px;
    --header-h:  72px;

    /* Easing */
    --ease: cubic-bezier(0.65, 0.05, 0.36, 1);
}

/* ==========================================================
   2. RESET & BASE
   ========================================================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    font-size: 16px;
}

body {
    background: var(--bg-base);
    color: var(--text);
    font-family: var(--font-en);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    min-height: 100vh;
}

body.lang-ar {
    font-family: var(--font-ar);
}

img, svg, video {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

button {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    font: inherit;
}

ul, ol { list-style: none; }

::selection { background: var(--primary); color: var(--bg-base); }

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-dark); }

/* ==========================================================
   3. UTILITIES
   ========================================================== */
.container {
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--s-4);
}

@media (max-width: 600px) {
    .container { padding-inline: var(--s-3); }
}

.text-accent { color: var(--primary); }
.text-muted  { color: var(--text-muted); }

.section-eyebrow {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--primary);
    letter-spacing: 0.18em;
    margin-bottom: var(--s-2);
    text-transform: uppercase;
}
.lang-ar .section-eyebrow {
    font-family: var(--font-ar);
    letter-spacing: 0.05em;
    font-size: 0.95rem;
    font-weight: 600;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text);
}
.lang-ar .section-title {
    font-family: var(--font-ar);
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.25;
}

.section-header {
    margin-bottom: var(--s-5);
    max-width: 800px;
}
.section-header--center {
    margin-inline: auto;
    text-align: center;
}

/* ==========================================================
   4. BUTTONS
   ========================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    font-size: 0.92rem;
    font-weight: 600;
    border-radius: 100px;
    transition: all 0.3s var(--ease);
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
    border: 1px solid transparent;
    font-family: inherit;
}

.btn--sm { padding: 9px 16px; font-size: 0.85rem; }
.btn--lg { padding: 15px 28px; font-size: 1rem; }
.btn--block { display: flex; width: 100%; }

.btn--primary {
    background: var(--primary);
    color: var(--bg-base);
}
.btn--primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(31, 186, 139, 0.35);
}

.btn--ghost {
    background: var(--bg-elev-2);
    color: var(--text);
    border-color: var(--border-strong);
}
.btn--ghost:hover {
    background: var(--bg-elev-3);
    border-color: var(--primary);
    color: var(--primary-light);
}

/* Arrow direction handling */
.lang-ar .btn svg {
    transform: scaleX(-1);
}

/* ==========================================================
   5. BACKGROUND DECOR (subtle, GPU-friendly)
   ========================================================== */
.bg-decor {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 60% 50% at 70% 0%, rgba(31, 186, 139, 0.06), transparent 70%),
        radial-gradient(ellipse 50% 40% at 20% 100%, rgba(212, 160, 90, 0.03), transparent 70%);
}
.bg-decor::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(31, 186, 139, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(31, 186, 139, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 20%, transparent 75%);
            mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 20%, transparent 75%);
}

/* ==========================================================
   6. (preloader removed in v3.0.4)
   ========================================================== */

/* ==========================================================
   7. HEADER
   ========================================================== */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    height: var(--header-h);
    transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
}
.site-header.is-scrolled {
    background: rgba(5, 14, 14, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}
.site-header__inner {
    height: 100%;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: var(--s-3);
    justify-content: space-between;
}

/* Logo */
.site-header__brand {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    line-height: 0;
}
.site-header__brand .custom-logo,
.site-header__brand .custom-logo-link img {
    height: clamp(32px, 4.5vw, 44px) !important;
    width: auto !important;
    max-width: clamp(120px, 22vw, 180px) !important;
    object-fit: contain;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.site-logo__mark {
    width: clamp(28px, 4vw, 36px);
    height: clamp(28px, 4vw, 36px);
    color: var(--primary);
    filter: drop-shadow(0 0 14px rgba(31, 186, 139, 0.4));
    display: inline-flex;
}
.site-logo__mark svg { width: 100%; height: 100%; }
.site-logo__text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}
.site-logo__name {
    font-family: var(--font-en);
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}
.site-logo__tag {
    font-size: clamp(0.55rem, 0.7vw, 0.7rem);
    color: var(--text-muted);
    margin-top: 2px;
    letter-spacing: 0.08em;
}

/* Nav */
.site-nav {
    margin-inline-start: auto;
}
.site-nav__list {
    display: flex;
    gap: var(--s-3);
    align-items: center;
}
.site-nav__list a {
    color: var(--text-muted);
    font-size: 0.92rem;
    font-weight: 500;
    transition: color 0.2s;
    position: relative;
    padding: 4px 0;
}
.site-nav__list a:hover { color: var(--text); }
.site-nav__list a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform 0.3s var(--ease);
}
.site-nav__list a:hover::after { transform: scaleX(1); }

@media (max-width: 992px) {
    .site-nav { display: none; }
}

/* Header tools */
.site-header__tools {
    display: flex;
    align-items: center;
    gap: var(--s-1);
    margin-inline-start: auto;
}
@media (min-width: 993px) {
    .site-header__tools { margin-inline-start: 0; }
}

/* Language switcher */
.lang-switcher {
    display: inline-flex;
    background: var(--bg-elev-2);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 3px;
}
.lang-switcher__btn {
    padding: 6px 14px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    border-radius: 100px;
    transition: all 0.25s var(--ease);
    letter-spacing: 0.05em;
    direction: ltr;
}
.lang-switcher__btn:hover { color: var(--text); }
.lang-switcher__btn.is-active {
    background: var(--primary);
    color: var(--bg-base);
}

/* Menu toggle */
.menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: var(--bg-elev-2);
    border: 1px solid var(--border);
    border-radius: 50%;
}
.menu-toggle span {
    display: block;
    width: 16px;
    height: 1.5px;
    background: var(--text);
    transition: all 0.3s;
}
.menu-toggle.is-active span:nth-child(1) { transform: rotate(45deg) translate(3px, 3px); }
.menu-toggle.is-active span:nth-child(2) { opacity: 0; }
.menu-toggle.is-active span:nth-child(3) { transform: rotate(-45deg) translate(3px, -3px); }

@media (max-width: 992px) { .menu-toggle { display: flex; } }

@media (max-width: 600px) {
    .site-header__cta { display: none; }
}

/* ==========================================================
   8. MOBILE MENU
   ========================================================== */
.mobile-menu {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: var(--bg-base);
    z-index: 90;
    transform: translateY(-100%);
    transition: transform 0.5s var(--ease);
    overflow-y: auto;
}
.mobile-menu.is-open { transform: translateY(0); }
.mobile-menu__nav {
    padding: var(--s-5) var(--s-4);
}
.mobile-menu__list {
    display: flex;
    flex-direction: column;
    gap: var(--s-2);
}
.mobile-menu__list a {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    padding: var(--s-2) 0;
    border-bottom: 1px solid var(--border);
}

/* ==========================================================
   9. HERO
   ========================================================== */
.site-main {
    position: relative;
    z-index: 1;
    padding-top: var(--header-h);
}

.hero {
    position: relative;
    min-height: calc(100vh - var(--header-h));
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: var(--s-6) 0 var(--s-5);
}

.hero__container {
    position: relative;
    z-index: 2;
}

.hero__content {
    text-align: center;
    max-width: 900px;
    margin-inline: auto;
}

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: var(--bg-elev-2);
    border: 1px solid var(--border-primary);
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--primary-light);
    margin-bottom: var(--s-3);
}
.hero__eyebrow-dot {
    width: 7px; height: 7px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary);
    animation: dotPulse 2s infinite;
}
@keyframes dotPulse {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.4; }
}

.hero__title {
    font-size: clamp(2.5rem, 7vw, 5.5rem);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: var(--s-3);
    color: var(--text);
}
.lang-ar .hero__title {
    font-family: var(--font-ar);
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.25;
    -webkit-font-feature-settings: "liga", "kern";
            font-feature-settings: "liga", "kern";
    text-rendering: optimizeLegibility;
}

.hero__title-accent {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 30px rgba(31, 186, 139, 0.5));
    display: inline-block;
}

.hero__subtitle {
    font-size: clamp(1rem, 1.5vw, 1.18rem);
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto var(--s-4);
    line-height: 1.7;
}

.hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s-2);
    justify-content: center;
    margin-bottom: var(--s-4);
}
.hero__badges li {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: rgba(15, 36, 36, 0.5);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.88rem;
    color: var(--text);
    transition: border-color 0.25s, background 0.25s, transform 0.25s;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.hero__badges li:hover {
    border-color: var(--border-primary);
    background: rgba(31, 186, 139, 0.06);
    transform: translateY(-2px);
}
.hero__badge-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, rgba(31, 186, 139, 0.18), rgba(31, 186, 139, 0.06));
    border: 1px solid var(--border-primary);
    border-radius: 50%;
    color: var(--primary-light);
    flex-shrink: 0;
}
.hero__badge-icon svg {
    width: 14px;
    height: 14px;
}

@media (max-width: 600px) {
    .hero__badges {
        flex-direction: column;
        align-items: center;
    }
    .hero__badges li {
        width: 100%;
        max-width: 280px;
        justify-content: flex-start;
    }
}

.hero__cta {
    display: flex;
    gap: var(--s-2);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--s-5);
}

.hero__scroll-hint {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: var(--s-1);
    color: var(--text-dimmed);
    font-size: 0.78rem;
    letter-spacing: 0.1em;
}
.hero__scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--primary), transparent);
    position: relative;
    overflow: hidden;
}
.hero__scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to bottom, transparent, var(--primary-light));
    animation: scrollDot 2s ease-in-out infinite;
}
@keyframes scrollDot {
    0%   { transform: translateY(-100%); }
    100% { transform: translateY(200%); }
}

/* ==========================================================
   9b. FLOATING TAGS — BULLETPROOF (works in all langs)
   ========================================================== */
.hero__floating {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.floating-tag {
    position: absolute;
    padding: 8px 16px;
    background: rgba(15, 36, 36, 0.7);
    border: 1px solid var(--border);
    border-radius: 8px;
    /* Always Latin/mono — NEVER inherit Arabic font */
    font-family: 'Space Grotesk', 'Outfit', monospace;
    font-size: 0.78rem;
    color: var(--text-dimmed);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    /* Always visible, regardless of language */
    opacity: 1;
    visibility: visible;
    display: inline-block;
    /* Always LTR for hashtags / numerics */
    direction: ltr;
    unicode-bidi: isolate-override;
    /* Base rotation from inline style --rot */
    transform: rotate(var(--rot, 0deg));
    z-index: 1;
    will-change: transform;
}

/* Apply to Arabic version too — keep them Latin */
.lang-ar .floating-tag,
[dir="rtl"] .floating-tag {
    font-family: 'Space Grotesk', 'Outfit', monospace !important;
    direction: ltr !important;
    unicode-bidi: isolate-override !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: inline-block !important;
}

.floating-tag--1 { top: 15%; left: 5%; }
.floating-tag--2 { top: 18%; right: 5%; }
.floating-tag--3 { top: 55%; left: 4%; }
.floating-tag--4 { top: 62%; right: 6%; }
.floating-tag--5 { top: 35%; left: 12%; }
.floating-tag--6 { top: 45%; right: 14%; }

@media (max-width: 768px) {
    .floating-tag--3,
    .floating-tag--4,
    .floating-tag--5,
    .floating-tag--6 {
        display: none !important;
    }
    .floating-tag--1 { top: 6%; left: 3%; }
    .floating-tag--2 { top: 6%; right: 3%; }
}

/* ==========================================================
   10. MARQUEE STRIP
   ========================================================== */
.marquee {
    overflow: hidden;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: linear-gradient(180deg, transparent, rgba(31, 186, 139, 0.025), transparent);
    padding: var(--s-3) 0;
    margin: var(--s-6) 0;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 6%, black 94%, transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0%, black 6%, black 94%, transparent 100%);
}
.marquee__track {
    display: flex;
    gap: var(--s-3);
    animation: marqueeScroll 40s linear infinite;
    width: max-content;
    will-change: transform;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    background: var(--bg-elev-1);
    border: 1px solid var(--border);
    border-radius: 100px;
    flex-shrink: 0;
}
.marquee__icon {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(31, 186, 139, 0.1);
    border: 1px solid var(--border-primary);
    border-radius: 8px;
    color: var(--primary-light);
    flex-shrink: 0;
}
.marquee__icon svg {
    width: 16px;
    height: 16px;
}
.marquee__label {
    font-size: 0.92rem;
    font-weight: 500;
    letter-spacing: 0.05em;
}
@keyframes marqueeScroll {
    from { transform: translate3d(0, 0, 0); }
    to   { transform: translate3d(-50%, 0, 0); }
}

/* ==========================================================
   11. STACKED TEXT (Start growing parallax)
   ========================================================== */
.stacked {
    padding: var(--s-7) 0;
    position: relative;
    overflow: hidden;
}
.stacked__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s-6);
    align-items: center;
}
@media (max-width: 900px) {
    .stacked__grid { grid-template-columns: 1fr; gap: var(--s-4); }
}
.stacked__text p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-top: var(--s-3);
}
.stacked__visual {
    position: relative;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent);
            mask-image: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent);
}
.stacked__line {
    font-family: var(--font-en);
    font-size: clamp(2.2rem, 7vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.04em;
    background: linear-gradient(180deg, var(--primary-light), var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;     /* fallback for non-webkit */
    transform: skewY(-3deg);
    display: block;
    width: 100%;
    text-align: center;
    margin: 0;
    padding: 4px 0;
    will-change: transform, opacity;
}
.stacked__line:nth-child(1) { opacity: 0.15; }
.stacked__line:nth-child(2) { opacity: 0.35; }
.stacked__line:nth-child(3) { opacity: 0.55; }
.stacked__line:nth-child(4) { opacity: 0.75; }
.stacked__line:nth-child(5) {
    opacity: 1;
    filter: drop-shadow(0 0 30px rgba(31, 186, 139, 0.5));
}

/* Mobile: shorter container, smaller font */
@media (max-width: 768px) {
    .stacked__visual {
        height: 320px;
    }
    .stacked__line {
        font-size: clamp(1.8rem, 8vw, 3rem);
        padding: 2px 0;
    }
}
.lang-ar .stacked__line {
    font-family: var(--font-ar);
    transform: skewY(0);
    letter-spacing: 0;
}

/* ==========================================================
   12. SERVICES
   ========================================================== */
.services {
    padding: var(--s-7) 0;
    position: relative;
}
.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--s-3);
}
.service-card {
    position: relative;
    padding: var(--s-4);
    background: var(--bg-elev-1);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}
.service-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-primary);
}
.service-card__icon {
    width: 56px; height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(31, 186, 139, 0.12), rgba(31, 186, 139, 0.04));
    border: 1px solid var(--border-primary);
    color: var(--primary-light);
    border-radius: 14px;
    margin-bottom: var(--s-3);
    transition: transform 0.4s var(--ease), background 0.4s var(--ease), border-color 0.4s var(--ease);
}
.service-card__icon svg {
    width: 26px;
    height: 26px;
    transition: transform 0.4s var(--ease);
}
.service-card:hover .service-card__icon {
    background: linear-gradient(135deg, rgba(31, 186, 139, 0.2), rgba(31, 186, 139, 0.08));
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(31, 186, 139, 0.15);
}
.service-card:hover .service-card__icon svg {
    transform: scale(1.1) rotate(-4deg);
}
.service-card__title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: var(--s-2);
}
.service-card__desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ==========================================================
   13. PROCESS
   ========================================================== */
.process {
    padding: var(--s-7) 0;
    background: var(--bg-elev-1);
}
.process__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s-3);
}
@media (max-width: 768px) {
    .process__grid { grid-template-columns: 1fr; }
}
.process-card {
    padding: var(--s-4);
    background: var(--bg-elev-2);
    border: 1px solid var(--border);
    border-radius: 20px;
    min-height: 260px;
    transition: all 0.35s var(--ease);
}
.process-card--featured {
    background: linear-gradient(145deg, var(--bg-elev-3), var(--bg-elev-2));
    border-color: var(--border-primary);
    box-shadow: 0 0 60px rgba(31, 186, 139, 0.12);
}
.process-card__num {
    font-family: var(--font-mono);
    font-size: 4rem;
    font-weight: 700;
    line-height: 1;
    background: linear-gradient(135deg, var(--primary), transparent);
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.4;
    margin-bottom: var(--s-2);
    direction: ltr;
}
.process-card--featured .process-card__num { opacity: 1; }
.process-card__title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: var(--s-2);
}
.process-card__desc {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ==========================================================
   14. PRICING
   ========================================================== */
.pricing {
    padding: var(--s-7) 0;
}
.pricing__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s-3);
    margin-top: var(--s-5);
}
@media (max-width: 992px) {
    .pricing__grid {
        grid-template-columns: 1fr;
        max-width: 460px;
        margin-inline: auto;
    }
}
.price-card {
    position: relative;
    padding: var(--s-5) var(--s-4);
    background: var(--bg-elev-1);
    border: 1px solid var(--border);
    border-radius: 24px;
    transition: all 0.4s var(--ease);
}
.price-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-primary);
}
.price-card--featured {
    background: linear-gradient(180deg, rgba(31, 186, 139, 0.08), var(--bg-elev-1));
    border-color: var(--primary);
    box-shadow: 0 0 60px rgba(31, 186, 139, 0.15);
    transform: scale(1.03);
}
.price-card--featured:hover { transform: scale(1.03) translateY(-4px); }
.price-card__badge {
    position: absolute;
    top: -12px; left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--bg-base);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 700;
}
.price-card__tier {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-dimmed);
    letter-spacing: 0.15em;
    margin-bottom: var(--s-1);
}
.price-card__name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--s-3);
}
.price-card__amount {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: var(--s-3);
    padding-bottom: var(--s-3);
    border-bottom: 1px solid var(--border);
    direction: ltr;
}
.price-card__price {
    font-family: var(--font-mono);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
}
.price-card__currency {
    color: var(--text-muted);
    font-size: 0.95rem;
}
.price-card__period {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-inline-start: 4px;
}
.price-card__features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: var(--s-3);
}
.price-card__features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.5;
}
.price-card__features .check {
    color: var(--primary);
    font-weight: 700;
}

/* ==========================================================
   15. SAUDI (map + stats sidebar + logos)
   ========================================================== */
.saudi {
    padding: var(--s-7) 0;
    background: linear-gradient(180deg, transparent, rgba(31, 186, 139, 0.015), transparent);
}

.saudi__layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--s-5);
    max-width: 1280px;
    margin: var(--s-5) auto var(--s-5);
    align-items: center;
}

/* Desktop: side-by-side */
@media (min-width: 992px) {
    .saudi__layout {
        grid-template-columns: minmax(0, 1.3fr) minmax(340px, 1fr);
        gap: clamp(var(--s-4), 5vw, 80px);
    }
}

/* MAP */
.saudi__map {
    width: 100%;
    max-width: 100%;
    margin: 0;
}
.saudi__map svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 60px rgba(31, 186, 139, 0.12));
}

/* City dots */
.saudi-city__halo {
    animation: cityHalo 3s ease-in-out infinite;
    animation-delay: var(--delay, 0s);
    transform-origin: center;
    transform-box: fill-box;
}
@keyframes cityHalo {
    0%, 100% { opacity: 0.4; transform: scale(0.85); }
    50%      { opacity: 1;   transform: scale(1.15); }
}
.saudi-city--tier-capital .saudi-city__halo {
    animation: capitalHalo 2.4s ease-in-out infinite;
}
.saudi-city--tier-capital .saudi-city__ring {
    animation: capitalRing 2.4s ease-in-out infinite;
    transform-origin: center;
    transform-box: fill-box;
}
@keyframes capitalHalo {
    0%, 100% { opacity: 0.55; transform: scale(0.9); }
    50%      { opacity: 1;    transform: scale(1.3); }
}
@keyframes capitalRing {
    0%, 100% { opacity: 0.4; transform: scale(0.9); }
    50%      { opacity: 0.9; transform: scale(1.3); }
}
.saudi-city--tier-capital .saudi-city__core {
    filter: drop-shadow(0 0 14px #FFD580);
}

/* STATS SIDEBAR */
.saudi__stats {
    display: flex;
    flex-direction: column;
    gap: var(--s-2);
}

.saudi__stats-eyebrow {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.2em;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: var(--s-2);
    padding-bottom: var(--s-2);
    border-bottom: 1px solid var(--border);
}
.lang-ar .saudi__stats-eyebrow {
    font-family: var(--font-ar);
    letter-spacing: 0.05em;
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-light);
}

/* Stat cards in sidebar */
.saudi__stats .stat-card {
    position: relative;
    padding: var(--s-3) var(--s-4);
    background: linear-gradient(135deg, rgba(31, 186, 139, 0.05), rgba(15, 36, 36, 0.6));
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}
.saudi__stats .stat-card::before {
    content: '';
    position: absolute;
    top: 16px;
    bottom: 16px;
    inset-inline-start: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary-light), var(--primary), transparent);
    border-radius: 0 3px 3px 0;
    opacity: 0.7;
    transition: opacity 0.35s, width 0.35s;
}
.lang-ar .saudi__stats .stat-card::before {
    border-radius: 3px 0 0 3px;
}
.saudi__stats .stat-card:hover {
    transform: translateY(-3px);
    border-color: var(--border-primary);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}
.saudi__stats .stat-card:hover::before {
    opacity: 1;
    width: 4px;
}

.saudi__stats .stat-card--featured {
    background: linear-gradient(135deg, rgba(31, 186, 139, 0.1), rgba(15, 36, 36, 0.7));
    border-color: rgba(31, 186, 139, 0.25);
    box-shadow: 0 6px 20px rgba(31, 186, 139, 0.08);
}
.saudi__stats .stat-card--featured::before {
    width: 4px;
    opacity: 1;
    background: linear-gradient(180deg, #FFFFFF, var(--primary-light), var(--primary));
}

.stat-card__top {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    direction: ltr;
    margin-bottom: 6px;
    line-height: 1;
}
.stat-card__num {
    font-family: var(--font-mono);
    font-size: clamp(2.4rem, 4.5vw, 3.4rem);
    font-weight: 700;
    line-height: 1;
    background: linear-gradient(135deg, #FFFFFF 0%, var(--primary-light) 55%, var(--primary) 100%);
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
    filter: drop-shadow(0 0 16px rgba(31, 186, 139, 0.2));
}
.stat-card__plus {
    font-family: var(--font-mono);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: var(--accent-gold);
    font-weight: 700;
    line-height: 1;
}
.stat-card__name {
    display: block;
    color: var(--text);
    font-size: 1.08rem;
    font-weight: 600;
    margin-top: 4px;
}
.lang-ar .stat-card__name {
    font-size: 1.15rem;
    line-height: 1.4;
}
.stat-card__hint {
    display: block;
    color: var(--text-muted);
    font-size: 0.86rem;
    line-height: 1.5;
    margin-top: 2px;
}

/* Capital ribbon */
.saudi__capital-strip {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px var(--s-3);
    background: linear-gradient(135deg, rgba(255, 213, 128, 0.06), rgba(15, 36, 36, 0.4));
    border: 1px solid rgba(255, 213, 128, 0.2);
    border-radius: 14px;
    font-size: 0.92rem;
    color: var(--text-muted);
    margin-top: 4px;
}
.saudi__capital-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent-warm);
    box-shadow: 0 0 14px var(--accent-warm);
    flex-shrink: 0;
    animation: capitalDot 2.4s ease-in-out infinite;
}
@keyframes capitalDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.55; transform: scale(0.8); }
}
.saudi__capital-strip strong {
    color: var(--accent-warm);
    font-weight: 700;
    margin-inline-start: 6px;
}

/* LOGOS MARQUEE */
.logos-marquee {
    margin-top: var(--s-6);
    padding: var(--s-4) 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: linear-gradient(180deg, transparent, rgba(31, 186, 139, 0.015), transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
    overflow: hidden;
}
.logos-marquee__row {
    overflow: hidden;
    height: 90px;
    margin-bottom: 14px;
}
.logos-marquee__row:last-child { margin-bottom: 0; }

.logos-marquee__track {
    display: inline-flex;
    align-items: center;
    gap: 22px;
    height: 100%;
    width: max-content;
    animation: logosScroll linear infinite;
    will-change: transform;
    transform: translateZ(0);
}
.logos-marquee__row--s1 .logos-marquee__track { animation-duration: 50s; }
.logos-marquee__row--s2 .logos-marquee__track { animation-duration: 38s; }
.logos-marquee__row--s3 .logos-marquee__track { animation-duration: 60s; }
.logos-marquee__row--reverse .logos-marquee__track { animation-direction: reverse; }

.logos-marquee:hover .logos-marquee__track { animation-play-state: paused; }

@keyframes logosScroll {
    from { transform: translate3d(0, 0, 0); }
    to   { transform: translate3d(-33.333%, 0, 0); }
}

.logos-marquee__item {
    flex-shrink: 0;
    width: 160px;
    height: 80px;
    padding: 16px 22px;
    background: linear-gradient(135deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.35s var(--ease);
}
.logos-marquee__item img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%) brightness(1.8) contrast(0.7);
    opacity: 0.55;
    transition: filter 0.35s, opacity 0.35s;
}
.logos-marquee__item:hover {
    background: linear-gradient(135deg, rgba(31, 186, 139, 0.1), rgba(31, 186, 139, 0.02));
    border-color: var(--border-primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}
.logos-marquee__item:hover img {
    filter: grayscale(0%) brightness(1) contrast(1);
    opacity: 1;
}

@media (max-width: 600px) {
    .logos-marquee__row {
        height: 64px;
        margin-bottom: 10px;
    }
    .logos-marquee__item {
        width: 120px;
        height: 60px;
        padding: 10px 14px;
    }
}

/* ==========================================================
   15b. STATS NUMBERS (general section)
   ========================================================== */
.stats {
    padding: var(--s-6) 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: linear-gradient(180deg, transparent, rgba(31, 186, 139, 0.02), transparent);
}
.stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--s-3);
}
@media (max-width: 768px) {
    .stats__grid { grid-template-columns: repeat(2, 1fr); }
}

.stat-num-card {
    position: relative;
    padding: var(--s-4) var(--s-2);
    text-align: center;
    background: linear-gradient(160deg, rgba(15, 36, 36, 0.6), rgba(10, 26, 26, 0.4));
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.stat-num-card::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 80%; height: 60%;
    background: radial-gradient(ellipse, rgba(31, 186, 139, 0.15), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}
.stat-num-card::after {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    transition: width 0.5s var(--ease);
}
.stat-num-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-primary);
}
.stat-num-card:hover::before { opacity: 1; }
.stat-num-card:hover::after  { width: 80%; }

.stat-num-card__inner {
    display: inline-flex;
    align-items: baseline;
    gap: 2px;
    direction: ltr;
    margin-bottom: var(--s-1);
}
.stat-num-card__value {
    font-family: var(--font-mono);
    font-size: clamp(2.8rem, 6vw, 4.2rem);
    font-weight: 700;
    line-height: 1;
    background: linear-gradient(135deg, #FFFFFF 0%, var(--primary-light) 50%, var(--primary) 100%);
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
    filter: drop-shadow(0 0 20px rgba(31, 186, 139, 0.25));
}
.stat-num-card__suffix {
    font-family: var(--font-mono);
    font-size: clamp(2rem, 4.5vw, 3rem);
    color: var(--accent-gold);
    font-weight: 700;
}
.stat-num-card__label {
    display: block;
    margin-top: var(--s-1);
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* ==========================================================
   16. STORY (chart)
   ========================================================== */
.story {
    padding: var(--s-7) 0;
    position: relative;
}
.story__grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: var(--s-6);
    align-items: center;
}
@media (max-width: 900px) {
    .story__grid { grid-template-columns: 1fr; }
}
.story__text p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-top: var(--s-3);
}

.story__chart {
    background: linear-gradient(180deg, var(--bg-elev-1), var(--bg-elev-2));
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: var(--s-4);
    position: relative;
    overflow: hidden;
}
.story__chart-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: var(--s-4);
}
.story__chart-label {
    display: block;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}
.story__chart-metric {
    display: block;
    font-family: var(--font-mono);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    direction: ltr;
}
.story__chart-legend {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--text-muted);
}
.story__chart-legend .dot {
    width: 8px; height: 8px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--primary);
}
.story__chart-bars {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--s-2);
    align-items: end;
    height: 240px;
    margin-bottom: var(--s-2);
}
.story__chart-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
    gap: 8px;
}
.story__chart-value {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--primary-light);
    direction: ltr;
}
.story__chart-bar {
    width: 100%;
    max-width: 56px;
    height: 30%;                /* visible fallback if JS doesn't run */
    background: var(--bg-elev-3);
    border-radius: 8px 8px 0 0;
    position: relative;
    overflow: hidden;
    transition: height 1.4s var(--ease);
}
.story__chart-fill {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, var(--primary-light) 0%, var(--primary) 60%, var(--primary-dark) 100%);
    border-radius: 8px 8px 0 0;
    box-shadow: inset 0 0 20px rgba(63, 229, 174, 0.3);
}
.story__chart-col:last-child .story__chart-fill {
    background: linear-gradient(180deg, var(--accent-warm) 0%, var(--primary-light) 40%, var(--primary) 100%);
}
.story__chart-col:last-child .story__chart-value {
    color: var(--accent-warm);
}
.story__chart-year {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--text-muted);
    direction: ltr;
}

/* ==========================================================
   17. LET'S TALK (contact section)
   ========================================================== */
.lets-talk {
    padding: var(--s-7) 0;
    position: relative;
    overflow: hidden;
}
.lets-talk__grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: var(--s-6);
    align-items: center;
}
@media (max-width: 900px) {
    .lets-talk__grid {
        grid-template-columns: 1fr;
        gap: var(--s-4);
    }
}

.lets-talk__title {
    font-size: clamp(2.4rem, 6vw, 4.5rem);
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: var(--s-3);
}
.lang-ar .lets-talk__title {
    font-family: var(--font-ar);
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.2;
}

.lets-talk__desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: var(--s-4);
    max-width: 480px;
}

.lets-talk__contacts {
    display: flex;
    flex-direction: column;
    gap: var(--s-2);
}
.lets-talk__contacts li {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--text);
    font-size: 0.95rem;
}
.lets-talk__contacts a {
    color: var(--text);
    transition: color 0.2s;
}
.lets-talk__contacts a:hover {
    color: var(--primary);
}
.lets-talk__icon {
    width: 40px; height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-elev-2);
    border: 1px solid var(--border-primary);
    border-radius: 10px;
    color: var(--primary);
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* Card on the right */
.lets-talk__card {
    position: relative;
    padding: var(--s-5);
    background: linear-gradient(160deg, rgba(31, 186, 139, 0.08), var(--bg-elev-2));
    border: 1px solid var(--border-primary);
    border-radius: 28px;
    overflow: hidden;
}
.lets-talk__card-glow {
    position: absolute;
    width: 280px; height: 280px;
    background: radial-gradient(circle, var(--primary), transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
    top: -100px;
    inset-inline-end: -100px;
}
.lets-talk__card-title {
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: var(--s-2);
    position: relative;
}
.lets-talk__card-desc {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: var(--s-3);
    font-size: 0.95rem;
    position: relative;
}
.lets-talk__card-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: var(--s-3);
    position: relative;
}
.lets-talk__card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: var(--s-3);
    border-top: 1px solid var(--border);
    font-size: 0.85rem;
    color: var(--text-muted);
    position: relative;
}
.lets-talk__card-dot {
    width: 8px; height: 8px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--primary);
    animation: dotPulse 2s infinite;
}

/* ==========================================================
   18. SITE FOOTER
   ========================================================== */
.site-footer {
    background: var(--bg-elev-1);
    border-top: 1px solid var(--border);
    padding: var(--s-6) 0 var(--s-3);
    position: relative;
}
.site-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0.4;
}

.site-footer__top {
    display: grid;
    grid-template-columns: 1.4fr 2fr;
    gap: var(--s-6);
    margin-bottom: var(--s-5);
    padding-bottom: var(--s-5);
    border-bottom: 1px solid var(--border);
}
@media (max-width: 900px) {
    .site-footer__top {
        grid-template-columns: 1fr;
        gap: var(--s-5);
    }
}

.site-footer__logo { margin-bottom: var(--s-3); }
.site-footer__about {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.95rem;
    max-width: 360px;
}

.site-footer__cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s-4);
}
@media (max-width: 700px) {
    .site-footer__cols { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .site-footer__cols { grid-template-columns: 1fr; }
}

.site-footer__heading {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    margin-bottom: var(--s-2);
}
.site-footer__col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.site-footer__col a,
.site-footer__col li {
    color: var(--text);
    font-size: 0.92rem;
    transition: color 0.2s;
    line-height: 1.4;
}
.site-footer__col a:hover { color: var(--primary); }

.site-footer__bottom {
    text-align: center;
    color: var(--text-dimmed);
    font-size: 0.82rem;
}

/* ==========================================================
   19. BRAND SLOGAN (reveal on scroll)
   ========================================================== */
.brand-slogan {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(80px, 12vh, 160px) var(--s-4) clamp(60px, 10vh, 120px);
    background:
        radial-gradient(ellipse 70% 80% at 50% 60%, rgba(31, 186, 139, 0.12), transparent 65%),
        radial-gradient(ellipse 40% 50% at 50% 100%, rgba(212, 160, 90, 0.06), transparent 70%),
        var(--bg-base);
    position: relative;
    overflow: hidden;
    min-height: 50vh;
}
.brand-slogan::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(31, 186, 139, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(31, 186, 139, 0.025) 1px, transparent 1px);
    background-size: 60px 60px;
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 80%);
            mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 80%);
    pointer-events: none;
}
.brand-slogan::after {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(31, 186, 139, 0.4), transparent);
}

.brand-slogan__inner {
    position: relative;
    text-align: center;
    max-width: 1200px;
    width: 100%;
    /* Initial state */
    opacity: 0;
    transform: translateY(60px) scale(0.94);
    transition:
        opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1),
        transform 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.brand-slogan.is-revealed .brand-slogan__inner {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.brand-slogan__eyebrow {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    letter-spacing: 0.45em;
    color: var(--primary);
    margin-bottom: var(--s-3);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s 0.25s, transform 0.8s 0.25s;
}
.brand-slogan.is-revealed .brand-slogan__eyebrow {
    opacity: 1;
    transform: translateY(0);
}
.lang-ar .brand-slogan__eyebrow {
    font-family: var(--font-ar);
    letter-spacing: 0.1em;
    font-size: 1rem;
}

.brand-slogan__text {
    font-family: var(--font-en);
    font-size: clamp(2.6rem, 11vw, 8rem);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.04em;
    background: linear-gradient(180deg,
        var(--primary-light) 0%,
        var(--primary) 55%,
        rgba(31, 186, 139, 0.4) 100%);
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 60px rgba(31, 186, 139, 0.4));
    margin: 0;
}
.lang-ar .brand-slogan__text {
    font-family: var(--font-ar);
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.25;
}

.brand-slogan.is-revealed .brand-slogan__text {
    animation: sloganHover 5s ease-in-out 1.4s infinite;
}
@keyframes sloganHover {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-6px); }
}

.brand-slogan__decor {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--s-2);
    margin-top: var(--s-4);
    opacity: 0;
    transition: opacity 0.8s 0.7s;
}
.brand-slogan.is-revealed .brand-slogan__decor {
    opacity: 1;
}
.brand-slogan__line {
    display: inline-block;
    width: 50px;
    height: 1px;
    background: var(--text-dimmed);
}
.brand-slogan__year {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.25em;
    color: var(--text-dimmed);
    direction: ltr;
}

@media (max-width: 768px) {
    .brand-slogan {
        padding: 80px var(--s-3) 60px;
        min-height: 40vh;
    }
}

/* ==========================================================
   20. ANIMATIONS & HELPERS
   ========================================================== */
[data-anim] {
    opacity: 0;
    transform: translateY(40px);
}
[data-anim].is-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    .marquee__track,
    .logos-marquee__track {
        animation: none !important;
    }
}

/* ==========================================================
   21. MOBILE — CLEAN BACKGROUND (no patches)
   ========================================================== */
@media (max-width: 768px) {
    /* All sections share one background color — no patches */
    .hero,
    .stacked,
    .services,
    .process,
    .pricing,
    .saudi,
    .stats,
    .story,
    .lets-talk {
        background: var(--bg-base);
    }

    /* Lighter padding everywhere */
    .hero { padding: var(--s-5) 0 var(--s-4); }
    .stacked,
    .services,
    .process,
    .pricing,
    .saudi,
    .stats,
    .story,
    .lets-talk { padding: var(--s-5) 0; }

    /* Subtle dividers between sections */
    .stacked,
    .services,
    .process,
    .pricing,
    .saudi,
    .stats,
    .story,
    .lets-talk {
        position: relative;
    }
    .stacked::before,
    .services::before,
    .process::before,
    .pricing::before,
    .saudi::before,
    .stats::before,
    .story::before,
    .lets-talk::before {
        content: '';
        position: absolute;
        top: 0;
        left: 15%;
        right: 15%;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(31, 186, 139, 0.2), transparent);
    }

    /* Hero gets ONE soft top glow only */
    .hero {
        background:
            radial-gradient(ellipse 80% 40% at 50% 0%, rgba(31, 186, 139, 0.07), transparent 65%),
            var(--bg-base);
    }
    .hero::before {
        display: none;
    }

    /* bg-decor refined */
    .bg-decor {
        background: transparent;
    }
    .bg-decor::before {
        background-size: 50px 50px;
        opacity: 0.7;
        -webkit-mask-image: radial-gradient(ellipse 70% 50% at 50% 25%, black 0%, transparent 75%);
                mask-image: radial-gradient(ellipse 70% 50% at 50% 25%, black 0%, transparent 75%);
    }

    /* Smaller sections */
    .section-header { margin-bottom: var(--s-4); }
}

/* ==========================================================
   22. SINGLE PAGE / BLOG / 404
   ========================================================== */
.single-page, .single-post, .archive-section, .error-404 {
    padding: var(--s-7) 0;
    min-height: 60vh;
}
.error-404__inner { text-align: center; }
.error-404__num {
    font-family: var(--font-mono);
    font-size: clamp(8rem, 18vw, 12rem);
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, var(--primary), var(--accent-gold));
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: var(--s-3);
    direction: ltr;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--s-3);
    margin-top: var(--s-4);
}
.post-card {
    background: var(--bg-elev-1);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s, border-color 0.3s;
}
.post-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-primary);
}
.post-card__thumb img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}
.post-card__content { padding: var(--s-3); }
.post-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--s-2);
}
.post-card__excerpt {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: var(--s-2);
}
.post-card__more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
}

.page-content {
    padding-top: var(--s-3);
}
.container--narrow { max-width: 800px; }
.page-body {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 1.05rem;
}
.page-body p { margin-bottom: var(--s-3); }
.page-body h2, .page-body h3 {
    color: var(--text);
    margin-top: var(--s-4);
    margin-bottom: var(--s-2);
}

/* ==========================================================
   ✓ CRITICAL FIX — Custom logo size constraints
   ==========================================================
   WordPress's the_custom_logo() outputs:
     <a class="custom-logo-link"><img class="custom-logo"></a>
   We need to force size limits on both the link and the image,
   in EVERY place the logo appears (header AND footer).
   ========================================================== */

/* HEADER logo — strict size */
.site-header .custom-logo-link {
    display: inline-flex !important;
    align-items: center;
    line-height: 0;
    max-height: 44px;
    max-width: 180px;
    flex-shrink: 0;
}
.site-header .custom-logo {
    height: clamp(32px, 4.5vw, 44px) !important;
    width: auto !important;
    max-width: 180px !important;
    max-height: 44px !important;
    object-fit: contain !important;
    display: block !important;
}

/* FOOTER logo — separate, slightly bigger allowed */
.site-footer .custom-logo-link {
    display: inline-block !important;
    line-height: 0;
    max-width: 200px;
    max-height: 60px;
}
.site-footer .custom-logo {
    height: clamp(40px, 5vw, 60px) !important;
    width: auto !important;
    max-width: 200px !important;
    max-height: 60px !important;
    object-fit: contain !important;
    display: block !important;
}

/* Mobile: even tighter */
@media (max-width: 600px) {
    .site-header .custom-logo-link,
    .site-header .custom-logo {
        max-height: 36px !important;
        height: 36px !important;
        max-width: 140px !important;
    }
    .site-footer .custom-logo,
    .site-footer .custom-logo-link {
        max-height: 48px !important;
        height: 48px !important;
        max-width: 160px !important;
    }
}

/* ==========================================================
   ✓ v3.0.3 — Header layout & hero spacing fix
   ========================================================== */

/* Force header to be ONE horizontal row at all desktop sizes */
@media (min-width: 993px) {
    .site-header {
        height: 80px !important;
        background: rgba(5, 14, 14, 0.7) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        border-bottom: 1px solid var(--border) !important;
    }
    .site-header .container.site-header__inner {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: var(--s-3) !important;
        height: 100% !important;
        width: 100% !important;
        max-width: var(--container);
        margin: 0 auto;
        padding: 0 var(--s-4);
    }
    .site-header .site-header__brand {
        flex: 0 0 auto !important;
        order: 1;
    }
    .site-header .site-nav {
        flex: 1 1 auto !important;
        display: flex !important;
        justify-content: center !important;
        order: 2;
    }
    .site-header .site-nav__list {
        display: inline-flex !important;
        flex-direction: row !important;
        gap: var(--s-3) !important;
        align-items: center;
        list-style: none;
        margin: 0;
        padding: 0;
    }
    .site-header .site-header__tools {
        flex: 0 0 auto !important;
        display: inline-flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 10px !important;
        order: 3;
        margin: 0 !important;
    }
    .site-header .menu-toggle { display: none !important; }
}

/* Header height var update to match new design */
:root {
    --header-h: 80px;
}

/* ==========================================================
   ✓ HERO — Tighten layout, remove huge empty space
   ========================================================== */
.hero {
    /* Override the 100vh min-height — too much empty space */
    min-height: auto !important;
    padding-top: calc(var(--header-h) + var(--s-5)) !important;
    padding-bottom: var(--s-6) !important;
    display: block !important;       /* not flex centering */
}

/* Make floating tags more visible & spread on desktop */
@media (min-width: 993px) {
    .floating-tag {
        font-size: 0.92rem !important;
        padding: 10px 20px !important;
    }
    .floating-tag--1 { top: 18%; left: 6%; }
    .floating-tag--2 { top: 18%; right: 6%; }
    .floating-tag--3 { top: 48%; left: 4%; }
    .floating-tag--4 { top: 58%; right: 5%; }
    .floating-tag--5 { top: 32%; left: 14%; }
    .floating-tag--6 { top: 40%; right: 13%; }
}

/* Mobile: tighter hero */
@media (max-width: 992px) {
    .hero {
        padding-top: calc(var(--header-h) + var(--s-3)) !important;
        padding-bottom: var(--s-5) !important;
    }
}
