/* =========================================================
   شركة احمد المشرفي للمحاماة والاستشارات القانونية
   Luxury Law Firm — Stylesheet
   ========================================================= */

:root {
    /* ===== ألوان الشعار الرسمية =====
       النيلي الملكي #262261  +  الكهرماني الذهبي #E09F25 */
    --navy-900: #100d2e;
    --navy-800: #171340;
    --navy-700: #1e1a4f;
    --navy-600: #262261;   /* نيلي الشعار */
    --ink: #0c0a24;
    --gold: #e0a02c;       /* كهرماني الشعار */
    --gold-light: #f0bd5e;
    --gold-soft: #f7d99a;
    --cream: #f6f1e7;
    --paper: #fbf9f4;
    --muted: #9a97b4;
    --muted-dark: #5d5980;
    --white: #ffffff;

    --grad-gold: linear-gradient(135deg, #f2bd57 0%, #e0a025 50%, #c07f14 100%);
    --grad-navy: linear-gradient(160deg, #262261 0%, #100d2e 100%);

    --radius: 18px;
    --radius-sm: 12px;
    --shadow-soft: 0 18px 50px -22px rgba(16, 13, 46, .55);
    --shadow-gold: 0 18px 45px -16px rgba(224, 159, 37, .5);

    --ff-body: "Tajawal", "Cairo", system-ui, sans-serif;
    --ff-head: "Cairo", "Tajawal", sans-serif;
    --ff-deco: "Marcellus", serif;

    --ease: cubic-bezier(.22, 1, .36, 1);
    --container: 1200px;

    /* الوضع الفاتح (افتراضي) — أسطح ونصوص قابلة للتبديل */
    --bg: #fbf9f4;
    --bg-alt: #f1ece1;
    --surface: #ffffff;
    --surface-2: #f6f1e7;
    --text: #100d2e;
    --text-soft: #5d5980;
    --border: rgba(16, 13, 46, .08);
    --field-bg: #fbf9f4;
    --field-border: rgba(16, 13, 46, .14);

    /* الأقسام البارزة (Hero/الإحصائيات/الآراء/الدخول) — تتبدّل مع الثيم */
    --feature-bg: linear-gradient(160deg, #ffffff 0%, #f1ebdf 100%);
    --feature-text: #100d2e;
    --feature-soft: rgba(16, 13, 46, .62);
    --feature-card: #ffffff;
    --feature-card-bd: rgba(16, 13, 46, .1);
    --header-bg: rgba(255, 255, 255, .82);
    --header-link: rgba(16, 13, 46, .72);
    --header-strong: #100d2e;
    --header-line: rgba(16, 13, 46, .12);
    --nav-drawer: rgba(255, 255, 255, .97);
    --footer-bg: #efe8da;
    --footer-text: rgba(16, 13, 46, .66);
    --footer-strong: #100d2e;
    --footer-line: rgba(16, 13, 46, .1);
    --footer-chip: rgba(16, 13, 46, .05);
    --orb-2: rgba(224, 159, 37, .3);
}

[data-theme="dark"] {
    --bg: #100d2e;
    --bg-alt: #14113a;
    --surface: #1e1a4f;
    --surface-2: #171340;
    --text: #f3eee2;
    --text-soft: #a8a4c2;
    --border: rgba(224, 159, 37, .16);
    --field-bg: #171340;
    --field-border: rgba(224, 159, 37, .22);

    --feature-bg: linear-gradient(160deg, #262261 0%, #100d2e 100%);
    --feature-text: #f3eee2;
    --feature-soft: rgba(243, 238, 226, .72);
    --feature-card: rgba(38, 34, 97, .55);
    --feature-card-bd: rgba(224, 159, 37, .22);
    --header-bg: rgba(16, 13, 46, .82);
    --header-link: rgba(246, 241, 231, .82);
    --header-strong: #ffffff;
    --header-line: rgba(246, 241, 231, .16);
    --nav-drawer: rgba(16, 13, 46, .97);
    --footer-bg: #0c0a24;
    --footer-text: rgba(246, 241, 231, .7);
    --footer-strong: #ffffff;
    --footer-line: rgba(246, 241, 231, .08);
    --footer-chip: rgba(246, 241, 231, .06);
    --orb-2: rgba(38, 34, 97, .9);
}

html { color-scheme: light dark; }
[data-theme="dark"] { color-scheme: dark; }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
    font-family: var(--ff-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.75;
    overflow-x: hidden;
    cursor: none;
    transition: background .4s var(--ease), color .4s var(--ease);
}

@media (hover: none) { body { cursor: auto; } }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: none; border: none; background: none; }

.container { width: min(var(--container), 92%); margin-inline: auto; }

.gold { color: var(--gold); }

::selection { background: var(--gold); color: var(--navy-900); }

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--navy-900); }
::-webkit-scrollbar-thumb { background: var(--grad-gold); border-radius: 10px; border: 2px solid var(--navy-900); }

/* =========================================================
   PRELOADER
   ========================================================= */
.preloader {
    position: fixed; inset: 0; z-index: 9999;
    background: var(--navy-900);
    display: grid; place-items: center;
    transition: opacity .7s var(--ease), visibility .7s;
}
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader__inner { text-align: center; }
.preloader__logo {
    width: min(320px, 68vw); height: auto; margin: 0 auto;
    opacity: 0; transform: translateY(14px) scale(.98);
    animation: logoIn 1s .1s var(--ease) forwards;
}
@keyframes logoIn { to { opacity: 1; transform: none; } }
.preloader__bar {
    display: block; width: 180px; height: 3px; margin: 26px auto 0;
    border-radius: 100px; background: rgba(224, 159, 37, .16); overflow: hidden;
}
.preloader__bar i {
    display: block; width: 40%; height: 100%; border-radius: 100px;
    background: var(--grad-gold); animation: loadBar 1.2s var(--ease) infinite;
}
@keyframes loadBar {
    0% { transform: translateX(-120%); }
    100% { transform: translateX(360%); }
}

/* =========================================================
   CUSTOM CURSOR
   ========================================================= */
.cursor-dot, .cursor-ring {
    position: fixed; top: 0; left: 0; z-index: 9998;
    pointer-events: none; border-radius: 50%;
    transform: translate(-50%, -50%);
}
.cursor-dot { width: 7px; height: 7px; background: var(--gold); }
.cursor-ring {
    width: 38px; height: 38px; border: 1.5px solid rgba(224, 159, 37, .65);
    transition: width .25s, height .25s, background .25s, border-color .25s;
}
.cursor-ring.is-hover { width: 64px; height: 64px; background: rgba(224, 159, 37, .12); border-color: var(--gold); }
.cursor-ring.is-view { width: 86px; height: 86px; background: rgba(224, 159, 37, .14); border-color: transparent; }
.cursor-ring.is-view::after { content: "عرض"; color: var(--gold); font-size: 13px; font-weight: 700; }
@media (hover: none) { .cursor-dot, .cursor-ring { display: none; } }

/* =========================================================
   SCROLL PROGRESS
   ========================================================= */
.scroll-progress {
    position: fixed; top: 0; right: 0; height: 3px; width: 0;
    background: var(--grad-gold); z-index: 9997; box-shadow: 0 0 12px rgba(224,159,37,.7);
}

/* =========================================================
   HEADER
   ========================================================= */
.header {
    position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 900;
    padding: 22px 0; transition: all .45s var(--ease);
}
.header.is-scrolled {
    padding: 12px 0;
    background: var(--header-bg);
    backdrop-filter: blur(16px);
    box-shadow: 0 10px 40px -18px rgba(0,0,0,.45);
    border-bottom: 1px solid var(--header-line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; }

.brand { display: flex; align-items: center; gap: 12px; max-width: min(420px, 52vw); }
.brand__logo { height: 46px; width: auto; display: block; flex: none; transition: height .45s var(--ease), filter .4s var(--ease); }
.header.is-scrolled .brand__logo { height: 38px; }
.brand:hover .brand__logo { filter: drop-shadow(0 6px 16px rgba(224, 159, 37, .4)); }
.brand__logo--light { display: none; }
[data-theme="dark"] .brand__logo--dark { display: none; }
[data-theme="dark"] .brand__logo--light { display: block; }
.brand__text {
    display: flex; flex-direction: column; gap: 2px; line-height: 1.25;
    color: var(--header-link); min-width: 0;
}
.brand__text strong {
    font-family: var(--ff-head); font-size: 15px; font-weight: 800;
    color: var(--text); white-space: nowrap;
}
.brand__text small {
    font-size: 11.5px; font-weight: 600; color: var(--gold);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
@media (max-width: 720px) {
    .brand__text { display: none; }
}
/* legacy mark (still used as avatar chips elsewhere) */
.brand__mark {
    width: 46px; height: 46px; flex: none; display: grid; place-items: center;
    background: var(--grad-gold); color: var(--navy-900);
    font-family: var(--ff-head); font-weight: 900; font-size: 22px;
    border-radius: 13px; box-shadow: var(--shadow-gold);
    transition: transform .4s var(--ease);
}

.nav { display: flex; align-items: center; gap: 6px; }
.nav__link {
    position: relative; color: var(--header-link); font-weight: 500; font-size: 15px;
    padding: 9px 14px; border-radius: 10px; transition: color .3s;
}
.nav__link::after {
    content: ""; position: absolute; inset-block-end: 4px; inset-inline: 14px;
    height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: right;
    transition: transform .35s var(--ease);
}
.nav__link:hover { color: var(--header-strong); }
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--gold); }
.nav__staff { color: var(--gold) !important; font-weight: 700; display: inline-flex; align-items: center; gap: 7px; }
.nav__staff-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(224,159,37,.6); animation: pulse 2s infinite; }
.nav__cta.is-active { color: var(--navy-900) !important; }
.nav__cta {
    background: var(--grad-gold); color: var(--navy-900) !important; font-weight: 700;
    margin-inline-start: 8px; box-shadow: var(--shadow-gold);
}
.nav__cta::after { display: none; }
.nav__cta:hover { transform: translateY(-2px); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 26px; height: 2.4px; background: var(--white); border-radius: 2px; transition: .35s var(--ease); }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7.4px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7.4px) rotate(-45deg); }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
    --b: var(--gold);
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 15px 30px; border-radius: 14px; font-weight: 700; font-size: 15.5px;
    font-family: var(--ff-head); position: relative; overflow: hidden;
    transition: transform .4s var(--ease), box-shadow .4s var(--ease);
    white-space: nowrap;
}
.btn svg { transition: transform .4s var(--ease); }
.btn--gold { background: var(--grad-gold); color: var(--navy-900); box-shadow: var(--shadow-gold); }
.btn--gold:hover { transform: translateY(-3px); box-shadow: 0 24px 50px -14px rgba(224,159,37,.7); }
.btn--gold:hover svg { transform: translateX(-5px); }
.btn--ghost { color: var(--feature-text); border: 1.5px solid var(--feature-card-bd); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-3px); }
.btn--dark { background: var(--navy-900); color: var(--cream); box-shadow: var(--shadow-soft); }
.btn--dark:hover { transform: translateY(-3px); background: var(--navy-700); }
.btn--block { width: 100%; }
.btn::before {
    content: ""; position: absolute; inset: 0; background: rgba(255,255,255,.25);
    transform: translateX(-120%) skewX(-20deg); transition: transform .7s var(--ease);
}
.btn:hover::before { transform: translateX(120%) skewX(-20deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
    position: relative; min-height: 100vh; display: flex; align-items: center;
    background: var(--feature-bg); color: var(--feature-text); overflow: hidden;
    padding-block: 140px 80px;
    transition: background .5s var(--ease), color .5s var(--ease);
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; }
.hero__orb--1 { width: 480px; height: 480px; background: radial-gradient(circle, rgba(224,159,37,.5), transparent 70%); top: -120px; inset-inline-start: -80px; animation: float 14s ease-in-out infinite; }
.hero__orb--2 { width: 540px; height: 540px; background: radial-gradient(circle, var(--orb-2), transparent 70%); bottom: -160px; inset-inline-end: -120px; animation: float 18s ease-in-out infinite reverse; }
@keyframes float { 0%,100% { transform: translate(0,0); } 50% { transform: translate(30px,-30px); } }
.hero__grid {
    position: absolute; inset: 0;
    background-image: linear-gradient(rgba(224,159,37,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(224,159,37,.06) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 40%, #000 30%, transparent 75%);
}
.hero__inner {
    position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr;
    gap: 50px; align-items: center;
}

.hero__eyebrow {
    display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 600;
    color: var(--gold); padding: 8px 16px; border: 1px solid rgba(224,159,37,.35);
    border-radius: 100px; background: rgba(224,159,37,.08); margin-bottom: 18px;
}
.hero__eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(224,159,37,.7); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(224,159,37,.6); } 70% { box-shadow: 0 0 0 10px rgba(224,159,37,0); } 100% { box-shadow: 0 0 0 0 rgba(224,159,37,0); } }

.hero__brand {
    font-family: var(--ff-head); font-weight: 900; line-height: 1.35;
    font-size: clamp(1.55rem, 3.2vw, 2.35rem);
    color: var(--gold); margin: 0 0 16px; max-width: 18ch;
}
.hero__title {
    font-family: var(--ff-head); font-weight: 900; line-height: 1.18;
    font-size: clamp(1.85rem, 4vw, 3.1rem); letter-spacing: -.5px; margin-bottom: 24px;
}
.hero__title .line { display: block; overflow: hidden; }
.hero__title .word {
    display: inline-block; transform: translateY(110%);
    animation: wordUp .9s var(--ease) forwards;
}
.hero__title .line:nth-child(1) .word:nth-child(1) { animation-delay: .15s; }
.hero__title .line:nth-child(1) .word:nth-child(2) { animation-delay: .27s; }
.hero__title .line:nth-child(2) .word:nth-child(1) { animation-delay: .42s; }
.hero__title .line:nth-child(2) .word:nth-child(2) { animation-delay: .54s; }
.hero__title .line:nth-child(2) .word:nth-child(3) { animation-delay: .66s; }
@keyframes wordUp { to { transform: translateY(0); } }

.hero__lead { font-size: clamp(1rem, 1.5vw, 1.18rem); color: var(--feature-soft); max-width: 540px; margin-bottom: 34px; }
.hero__lead strong { color: var(--gold); }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }

.hero__stats { display: flex; gap: 40px; }
.hero__stat .num { font-family: var(--ff-head); font-weight: 900; font-size: 2.1rem; color: var(--feature-text); display: block; }
.hero__stat small { color: var(--feature-soft); font-size: 13.5px; }

/* hero card */
.hero__visual { display: flex; justify-content: center; }
.hero__card {
    position: relative; width: 100%; max-width: 380px; padding: 42px 34px;
    background: var(--feature-card); border: 1px solid var(--feature-card-bd);
    border-radius: 26px; backdrop-filter: blur(14px); text-align: center;
    box-shadow: var(--shadow-soft); transition: transform .15s ease-out, background .5s, border-color .5s;
}
.hero__card-glow { position: absolute; inset: -1px; border-radius: 26px; background: linear-gradient(135deg, rgba(224,159,37,.5), transparent 60%); opacity: .35; z-index: -1; filter: blur(8px); }
.hero__emblem { width: 100px; height: 100px; margin: 0 auto 22px; display: grid; place-items: center; background: rgba(224,159,37,.1); border-radius: 26px; border: 1px solid rgba(224,159,37,.3); }
.hero__emblem-img { width: 62px; height: 62px; object-fit: contain; }
.hero__emblem-img--light { display: none; }
[data-theme="dark"] .hero__emblem-img--dark { display: none; }
[data-theme="dark"] .hero__emblem-img--light { display: block; }
.hero__card h3 { font-family: var(--ff-head); font-size: 1.5rem; margin-bottom: 10px; color: var(--feature-text); }
.hero__card p { color: var(--feature-soft); font-size: 15px; margin-bottom: 22px; }
.hero__badges { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.hero__badges span { font-size: 12.5px; font-weight: 600; padding: 6px 14px; border-radius: 100px; background: rgba(224,159,37,.14); color: var(--gold); border: 1px solid rgba(224,159,37,.3); }

.hero__scroll {
    position: absolute; inset-block-end: 28px; inset-inline-start: 50%; transform: translateX(50%);
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    color: var(--feature-soft); font-size: 12.5px; z-index: 2;
}
.mouse { width: 24px; height: 40px; border: 2px solid rgba(224,159,37,.5); border-radius: 14px; display: flex; justify-content: center; padding-top: 7px; }
.mouse span { width: 4px; height: 8px; background: var(--gold); border-radius: 4px; animation: scrollDot 1.6s infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(-4px); } 40% { opacity: 1; } 80%,100% { opacity: 0; transform: translateY(8px); } }

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee { background: var(--bg-alt); color: var(--text); padding: 22px 0; overflow: hidden; border-block: 1px solid rgba(224,159,37,.18); transition: background .5s, color .5s; }
.marquee__track { display: flex; align-items: center; gap: 36px; width: max-content; animation: marquee 28s linear infinite; }
.marquee__track span { font-family: var(--ff-head); font-size: 1.5rem; font-weight: 700; white-space: nowrap; opacity: .85; }
.marquee__track i { color: var(--gold); font-style: normal; }
@keyframes marquee { to { transform: translateX(50%); } }

/* =========================================================
   SECTIONS — generic
   ========================================================= */
.section { padding-block: clamp(70px, 9vw, 120px); position: relative; }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.eyebrow {
    display: inline-block; font-family: var(--ff-head); font-weight: 700; font-size: 14px;
    letter-spacing: 2px; color: var(--gold); text-transform: uppercase; margin-bottom: 14px;
    position: relative; padding-inline: 40px;
}
.eyebrow::before, .eyebrow::after { content: ""; position: absolute; top: 50%; width: 28px; height: 1.5px; background: var(--gold); }
.eyebrow::before { inset-inline-start: 0; }
.eyebrow::after { inset-inline-end: 0; }
.section__head .eyebrow { padding-inline: 0; }
.section__head .eyebrow::before, .section__head .eyebrow::after { display: none; }
.section__title { font-family: var(--ff-head); font-weight: 900; font-size: clamp(1.8rem, 3.6vw, 2.9rem); line-height: 1.25; letter-spacing: -.5px; }
.section__sub { color: var(--text-soft); margin-top: 16px; font-size: 1.05rem; }

/* =========================================================
   ABOUT
   ========================================================= */
.about__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.about__visual { position: relative; }
.about__img-frame {
    position: relative; aspect-ratio: 4/5; border-radius: 24px;
    background: var(--grad-navy);
    background-image: radial-gradient(circle at 30% 20%, rgba(224,159,37,.25), transparent 50%), var(--grad-navy);
    box-shadow: var(--shadow-soft); overflow: hidden;
    display: grid; place-items: center;
}
.about__img-frame::after {
    content: "⚖"; font-size: 9rem; color: rgba(224,159,37,.25);
}
.about__img-deco { position: absolute; inset-block-start: 18px; inset-inline-start: 18px; inset-inline-end: 18px; inset-block-end: 18px; border: 1px solid rgba(224,159,37,.35); border-radius: 18px; }
.about__exp {
    position: absolute; inset-block-end: -26px; inset-inline-start: -26px;
    background: var(--grad-gold); color: var(--navy-900); padding: 22px 26px;
    border-radius: 18px; box-shadow: var(--shadow-gold); display: flex; align-items: center; gap: 14px;
}
.about__exp .num { font-family: var(--ff-head); font-weight: 900; font-size: 3rem; line-height: 1; }
.about__exp small { font-weight: 700; font-size: 13px; line-height: 1.35; }

.about__content > p { color: var(--text-soft); margin-block: 18px 26px; font-size: 1.06rem; }
.about__content > p strong { color: var(--text); }
.about__list { display: grid; gap: 14px; margin-bottom: 32px; }
.about__list li { display: flex; align-items: center; gap: 14px; font-weight: 600; color: var(--text); }
.about__list i { width: 26px; height: 26px; flex: none; border-radius: 50%; background: rgba(224,159,37,.16); position: relative; }
.about__list i::after { content: "✓"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--gold); font-size: 13px; font-weight: 900; }

/* =========================================================
   STATS BAND
   ========================================================= */
.stats-band { background: var(--feature-bg); color: var(--feature-text); position: relative; overflow: hidden; transition: background .5s, color .5s; }
.stats-band::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(224,159,37,.05) 1px, transparent 1px); background-size: 100% 44px; }
.stats-band__grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-block: 60px; }
.stat { text-align: center; position: relative; }
.stat:not(:last-child)::after { content: ""; position: absolute; inset-inline-end: -12px; top: 15%; height: 70%; width: 1px; background: rgba(224,159,37,.2); }
.stat .num { font-family: var(--ff-head); font-weight: 900; font-size: clamp(2.4rem, 5vw, 3.6rem); background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; display: block; }
.stat small { color: var(--feature-soft); font-size: 15px; }

/* =========================================================
   SERVICES
   ========================================================= */
.services { background: var(--bg); }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service-card {
    position: relative; background: var(--surface); padding: 38px 32px; border-radius: var(--radius);
    border: 1px solid var(--border); box-shadow: 0 10px 40px -28px rgba(8,14,30,.4);
    overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s;
}
.service-card::before { content: ""; position: absolute; inset-block-start: 0; inset-inline: 0; height: 3px; background: var(--grad-gold); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.service-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-soft); border-color: rgba(224,159,37,.4); }
.service-card:hover::before { transform: scaleX(1); }
.service-card__icon { position: relative; width: 70px; height: 70px; border-radius: 16px; background: var(--grad-navy); display: grid; place-items: center; margin-bottom: 24px; transition: transform .5s var(--ease); }
.service-card:hover .service-card__icon { transform: rotate(-6deg) scale(1.06); }
.service-card__icon svg { width: 34px; height: 34px; color: var(--gold); }
.service-card__num { position: absolute; inset-block-start: -14px; inset-inline-end: -10px; font-family: var(--ff-head); font-weight: 900; font-size: 2.6rem; color: rgba(11,15,26,.06); }
.service-card h3 { font-family: var(--ff-head); font-size: 1.32rem; margin-bottom: 12px; color: var(--text); }
.service-card p { color: var(--text-soft); font-size: 15px; margin-bottom: 20px; }
.service-card__link { display: inline-flex; align-items: center; gap: 8px; color: var(--gold); font-weight: 700; font-size: 14.5px; }
.service-card__link svg { transition: transform .4s var(--ease); }
.service-card:hover .service-card__link svg { transform: translateX(-6px); }

/* =========================================================
   PROCESS
   ========================================================= */
.process { background: var(--bg-alt); }
.process__track { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.process__line { position: absolute; inset-block-start: 38px; inset-inline: 8%; height: 2px; background: repeating-linear-gradient(90deg, rgba(224,159,37,.5) 0 10px, transparent 10px 20px); }
.process__step { position: relative; text-align: center; padding-top: 12px; }
.process__num { font-family: var(--ff-head); font-weight: 900; font-size: 1.4rem; width: 60px; height: 60px; margin: 0 auto 22px; display: grid; place-items: center; background: var(--surface); color: var(--gold); border: 2px solid var(--gold); border-radius: 50%; position: relative; z-index: 2; transition: all .4s var(--ease); }
.process__step:hover .process__num { background: var(--grad-gold); color: var(--navy-900); transform: scale(1.1); }
.process__dot { display: none; }
.process__step h3 { font-family: var(--ff-head); font-size: 1.2rem; margin-bottom: 8px; color: var(--text); }
.process__step p { color: var(--text-soft); font-size: 14.5px; }

/* =========================================================
   TEAM
   ========================================================= */
.team { background: var(--bg); }
.team__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; max-width: 980px; margin-inline: auto; }
.team__grid--4 { grid-template-columns: repeat(4, 1fr); max-width: none; }

/* بطاقة بدون إطار — صورة مقصوصة للشخص فقط */
.team-card { background: transparent; border: none; text-align: center; transition: transform .5s var(--ease); }
.team-card:hover { transform: translateY(-6px); }
.team-card__photo { position: relative; height: 240px; display: flex; align-items: center; justify-content: center; padding: 18px 18px 0; }
.team-card__halo {
    position: absolute; inset-block-end: 18px; inset-inline-start: 50%; transform: translateX(50%);
    width: 70%; height: 48%; border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(224,159,37,.28), transparent 70%);
    filter: blur(14px); opacity: .7; transition: opacity .5s var(--ease), transform .5s var(--ease); z-index: 0;
}
.team-card:hover .team-card__halo { opacity: 1; width: 78%; }
.team-card__photo img {
    position: relative; z-index: 1; width: 168px; height: 196px;
    object-fit: cover; object-position: center;
    border-radius: 22px;
    filter: drop-shadow(0 18px 22px rgba(8,14,30,.28));
    transition: transform .6s var(--ease), filter .5s;
}
.team-card:hover .team-card__photo img { transform: scale(1.04) translateY(-4px); filter: drop-shadow(0 24px 28px rgba(8,14,30,.34)); }

.team-card__body { padding: 16px 18px 0; text-align: center; }
.team-card__body h3 { font-family: var(--ff-head); font-size: 1.2rem; color: var(--text); }
.team-card__role { color: var(--gold); font-weight: 700; font-size: 14px; display: block; margin-block: 5px 10px; }
.team-card__bio { color: var(--text-soft); font-size: 13px; line-height: 1.7; max-width: 230px; margin: 0 auto 12px; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .4s, margin .4s; }
.team-card:hover .team-card__bio { max-height: 90px; opacity: 1; }
.team-card__meta { display: flex; flex-direction: column; align-items: center; gap: 7px; }
.team-card__tag { font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 100px; background: rgba(224,159,37,.12); color: var(--gold); border: 1px solid rgba(224,159,37,.25); }
.team-card__body small { color: var(--text-soft); font-size: 13px; }
.team-card__social { display: flex; gap: 8px; justify-content: center; margin-top: 14px; }
.team-card__social a { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(224,159,37,.14); color: var(--gold); font-weight: 700; font-size: 13px; transition: all .3s var(--ease); }
.team-card__social a:hover { background: var(--grad-gold); color: var(--navy-900); transform: translateY(-3px); }

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testimonials { background: var(--feature-bg); color: var(--feature-text); position: relative; overflow: hidden; transition: background .5s, color .5s; }
.testimonials::before { content: "”"; position: absolute; inset-block-start: 20px; inset-inline-start: 5%; font-family: var(--ff-deco); font-size: 22rem; color: rgba(224,159,37,.08); line-height: 1; }
.testimonials__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; position: relative; }
.quote-card { background: var(--feature-card); border: 1px solid var(--feature-card-bd); border-radius: var(--radius); padding: 34px 30px; backdrop-filter: blur(10px); transition: transform .5s var(--ease), border-color .5s, background .5s; }
.quote-card:hover { transform: translateY(-8px); border-color: rgba(224,159,37,.5); }
.quote-card__stars { color: var(--gold); letter-spacing: 3px; margin-bottom: 16px; }
.quote-card blockquote { font-size: 1.05rem; color: var(--feature-text); margin-bottom: 24px; line-height: 1.85; }
.quote-card figcaption { display: flex; align-items: center; gap: 14px; }
.quote-card__avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--grad-gold); color: var(--navy-900); font-family: var(--ff-head); font-weight: 900; font-size: 1.3rem; display: grid; place-items: center; }
.quote-card figcaption strong { display: block; font-family: var(--ff-head); }
.quote-card figcaption strong { color: var(--feature-text); }
.quote-card figcaption small { color: var(--feature-soft); }

/* =========================================================
   CONTACT
   ========================================================= */
.contact { background: var(--bg); }
.contact__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.contact__info > p { color: var(--text-soft); margin-block: 16px 30px; font-size: 1.06rem; }
.contact__details { display: grid; gap: 18px; }
.contact__details li { display: flex; align-items: center; gap: 16px; font-weight: 600; color: var(--text); }
.contact__ic { width: 46px; height: 46px; flex: none; border-radius: 13px; background: var(--grad-navy); color: var(--gold); display: grid; place-items: center; font-size: 18px; }

.contact__form { background: var(--surface); padding: 38px; border-radius: var(--radius); box-shadow: var(--shadow-soft); border: 1px solid var(--border); }
.contact__form--flat { box-shadow: none; padding: 0; border: none; background: transparent; }
.contact__welcome { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--radius-sm); background: rgba(224,159,37,.1); border: 1px solid rgba(224,159,37,.25); margin-bottom: 22px; font-size: 14.5px; color: var(--text); }
.contact__welcome-avatar { width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--grad-gold); color: var(--navy-900); display: grid; place-items: center; font-family: var(--ff-head); font-weight: 900; }
.field { position: relative; margin-bottom: 22px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field input, .field select, .field textarea {
    width: 100%; padding: 16px 16px; border: 1.5px solid var(--field-border); border-radius: var(--radius-sm);
    font-family: inherit; font-size: 15px; background: var(--field-bg); color: var(--text);
    transition: border-color .3s, box-shadow .3s; cursor: none; resize: vertical;
}
.field select option { color: #100d2e; }
.field textarea { min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(224,159,37,.14); }
.field label {
    position: absolute; inset-block-start: 16px; inset-inline-start: 16px; color: var(--text-soft);
    pointer-events: none; transition: all .25s var(--ease); background: var(--field-bg); padding-inline: 4px;
}
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label {
    inset-block-start: -9px; font-size: 12.5px; color: var(--gold); font-weight: 700;
}
.field__err { color: #d9534f; font-size: 12.5px; margin-top: 6px; display: block; min-height: 14px; }
.field.is-invalid input, .field.is-invalid textarea { border-color: #d9534f; }

.btn__spinner { width: 18px; height: 18px; border: 2.5px solid rgba(10,17,36,.3); border-top-color: var(--navy-900); border-radius: 50%; display: none; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.btn.is-loading .btn__label { opacity: .4; }
.btn.is-loading .btn__spinner { display: block; }
.form-status { margin-top: 16px; text-align: center; font-weight: 700; font-size: 14.5px; min-height: 20px; }
.form-status.ok { color: #1f9d55; }
.form-status.err { color: #d9534f; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--footer-bg); color: var(--footer-text); padding-block: 70px 0; transition: background .5s, color .5s; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.footer__logo { height: 52px; width: auto; margin-bottom: 18px; }
.footer__logo--light { display: none; }
[data-theme="dark"] .footer__logo--dark { display: none; }
[data-theme="dark"] .footer__logo--light { display: block; }
.footer__brand h3 { font-family: var(--ff-head); color: var(--footer-strong); font-size: 1.4rem; margin-bottom: 10px; }
.footer__brand p { font-size: 14.5px; max-width: 280px; }
.footer__social { display: flex; gap: 10px; margin-top: 20px; }
.footer__social a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--footer-chip); color: var(--gold); font-weight: 700; transition: all .35s var(--ease); }
.footer__social a:hover { background: var(--grad-gold); color: var(--navy-900); transform: translateY(-3px); }
.footer__col h4 { color: var(--footer-strong); font-family: var(--ff-head); font-size: 1.1rem; margin-bottom: 18px; }
.footer__col a, .footer__col span { display: block; font-size: 14.5px; margin-bottom: 10px; transition: color .3s; }
.footer__col a:hover { color: var(--gold); }
.footer__wa { color: var(--gold) !important; font-weight: 700; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-block: 24px; border-top: 1px solid var(--footer-line); font-size: 13.5px; }
.footer__legal { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.footer__legal a { color: var(--gold); font-weight: 700; }
.footer__legal a:hover { text-decoration: underline; }
.footer__staff { color: var(--gold); font-weight: 700; margin-inline-start: 6px; opacity: .85; transition: opacity .3s; }
.footer__staff:hover { opacity: 1; }

/* =========================================================
   LEGAL PAGES (Refund / Policies)
   ========================================================= */
.legal-page {
    padding-block: 140px 80px;
    background:
        radial-gradient(900px 420px at 90% 0%, rgba(224,159,37,.12), transparent 60%),
        var(--bg);
}
.legal-page__inner { max-width: 820px; }
.legal-page__head { margin-bottom: 36px; }
.legal-page__head h1 {
    font-family: var(--ff-head); font-weight: 900;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    color: var(--text); margin: 10px 0 12px; line-height: 1.3;
}
.legal-page__head p { color: var(--text-soft); font-size: 15px; max-width: 56ch; }
.legal-page__body {
    background: var(--card-bg, rgba(255,255,255,.04));
    border: 1px solid var(--line, rgba(224,159,37,.18));
    border-radius: 22px; padding: clamp(22px, 4vw, 40px);
}
.legal-page__body h2 {
    font-family: var(--ff-head); font-size: 1.25rem; color: var(--gold);
    margin: 28px 0 10px;
}
.legal-page__body h2:first-child { margin-top: 0; }
.legal-page__body p, .legal-page__body li {
    color: var(--text-soft); font-size: 15.5px; line-height: 1.9; margin-bottom: 10px;
}
.legal-page__body ul { padding-inline-start: 1.2rem; margin-bottom: 8px; }
.legal-page__body li { margin-bottom: 8px; }
.legal-page__body a { color: var(--gold); font-weight: 700; }
.legal-page__body strong { color: var(--text); }
.legal-page__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* =========================================================
   FLOATING ELEMENTS
   ========================================================= */
.fab-wa {
    position: fixed; inset-block-end: 26px; inset-inline-start: 26px; z-index: 800;
    width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff;
    display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(37,211,102,.6);
    transition: transform .4s var(--ease);
}
.fab-wa::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ripple 2s infinite; }
@keyframes ripple { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.7); opacity: 0; } }
.fab-wa:hover { transform: scale(1.1); }

.to-top {
    position: fixed; inset-block-end: 26px; inset-inline-end: 26px; z-index: 800;
    width: 50px; height: 50px; border-radius: 14px; background: var(--navy-900); color: var(--gold);
    font-size: 20px; display: grid; place-items: center; box-shadow: var(--shadow-soft);
    opacity: 0; visibility: hidden; transform: translateY(20px); transition: all .4s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--grad-gold); color: var(--navy-900); }

/* =========================================================
   ERROR PAGE
   ========================================================= */
.error-page { min-height: 100vh; display: grid; place-items: center; text-align: center; background: var(--feature-bg); color: var(--feature-text); }
.error-page__code { font-family: var(--ff-head); font-weight: 900; font-size: clamp(6rem, 18vw, 12rem); background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; line-height: 1; }
.error-page h1 { font-family: var(--ff-head); font-size: 2rem; margin-block: 10px 14px; }
.error-page p { color: var(--feature-soft); margin-bottom: 30px; }

/* =========================================================
   THEME SWITCH (سويتش الوضع الداكن/الفاتح المتحرك)
   ========================================================= */
.theme-switch {
    --w: 66px; --h: 32px; --pad: 3px; --knob: calc(var(--h) - var(--pad) * 2);
    position: relative; flex: none; width: var(--w); height: var(--h);
    border-radius: 100px; margin-inline-start: 8px; overflow: hidden;
    background: linear-gradient(160deg, #7cc3ff 0%, #aee0ff 60%, #ffe7a8 100%);
    border: 1px solid rgba(255, 255, 255, .5);
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, .25), 0 4px 14px -4px rgba(0, 0, 0, .35);
    cursor: none; transition: background .6s var(--ease), box-shadow .5s;
}
[data-theme="dark"] .theme-switch {
    background: linear-gradient(160deg, #262261 0%, #100d2e 70%, #1e1a4f 100%);
    border-color: rgba(224, 159, 37, .35);
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, .6), 0 4px 16px -4px rgba(0, 0, 0, .6);
}
.theme-switch:hover { box-shadow: inset 0 2px 6px rgba(0,0,0,.25), 0 0 0 4px rgba(224,159,37,.18); }

/* السماء: نجوم + غيمة */
.theme-switch__sky { position: absolute; inset: 0; pointer-events: none; }
.theme-switch__star {
    position: absolute; inset-block-start: var(--y); inset-inline-start: var(--x);
    width: 3px; height: 3px; border-radius: 50%; background: #fff;
    opacity: 0; transform: scale(0); transition: opacity .5s var(--d, 0s), transform .5s var(--d, 0s);
    box-shadow: 0 0 4px #fff;
}
[data-theme="dark"] .theme-switch__star { opacity: 1; transform: scale(1); animation: twinkle 2.4s ease-in-out infinite; animation-delay: var(--d, 0s); }
@keyframes twinkle { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
.theme-switch__cloud {
    position: absolute; inset-block-end: 5px; inset-inline-end: 9px; width: 22px; height: 8px;
    background: #fff; border-radius: 100px; opacity: .9; transition: opacity .5s, transform .6s var(--ease);
    box-shadow: -7px -3px 0 -1px #fff, 6px -2px 0 -2px #fff;
}
[data-theme="dark"] .theme-switch__cloud { opacity: 0; transform: translateX(-12px); }

/* الزرّ المنزلق */
.theme-switch__thumb {
    position: absolute; inset-block-start: var(--pad); inset-inline-start: var(--pad);
    width: var(--knob); height: var(--knob); border-radius: 50%; display: grid; place-items: center;
    background: radial-gradient(circle at 32% 30%, #fff3cf, #f6c945 60%, #e0a92e);
    box-shadow: 0 0 10px 2px rgba(255, 213, 92, .8), inset 0 -2px 4px rgba(180, 130, 0, .4);
    transition: transform .55s cubic-bezier(.6, -.3, .3, 1.5), background .5s, box-shadow .5s;
    z-index: 2;
}
[data-theme="dark"] .theme-switch__thumb {
    transform: translateX(calc((var(--w) - var(--knob) - var(--pad) * 2) * -1));
    background: radial-gradient(circle at 35% 30%, #fdfdfd, #d7dce6 60%, #aab2c4);
    box-shadow: 0 0 10px 2px rgba(200, 210, 230, .5), inset 0 -2px 4px rgba(80, 90, 110, .4);
}
.theme-switch__thumb svg { position: absolute; width: 16px; height: 16px; transition: opacity .4s, transform .5s var(--ease); }
.ts-sun { color: #b9750c; opacity: 1; transform: rotate(0) scale(1); }
.ts-moon { color: #3a4258; opacity: 0; transform: rotate(-80deg) scale(.4); }
[data-theme="dark"] .ts-sun { opacity: 0; transform: rotate(80deg) scale(.4); }
[data-theme="dark"] .ts-moon { opacity: 1; transform: rotate(0) scale(1); }

/* nav user chip */
.nav__user { display: flex; align-items: center; gap: 10px; margin-inline-start: 10px; padding-inline-start: 12px; border-inline-start: 1px solid var(--header-line); }
.nav__avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--grad-gold); color: var(--navy-900); font-family: var(--ff-head); font-weight: 900; display: grid; place-items: center; }
.nav__logout { color: var(--gold); font-size: 14px; font-weight: 600; transition: color .3s; }
.nav__logout:hover { color: var(--gold); }

/* =========================================================
   FLASH MESSAGES
   ========================================================= */
.flash-stack { position: fixed; inset-block-start: 96px; inset-inline-end: 24px; z-index: 970; display: grid; gap: 12px; width: min(360px, 90%); }
.flash {
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    padding: 15px 18px; border-radius: 14px; background: var(--surface); color: var(--text);
    box-shadow: var(--shadow-soft); border-inline-start: 4px solid var(--gold);
    font-weight: 600; font-size: 14.5px; animation: flashIn .5s var(--ease) both;
    transition: opacity .35s, transform .35s;
}
.flash--success { border-color: #1f9d55; }
.flash--error { border-color: #d9534f; }
.flash--info { border-color: var(--gold); }
.flash__close { color: var(--text-soft); font-size: 22px; line-height: 1; flex: none; }
@keyframes flashIn { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }

/* =========================================================
   AUTH PAGES (login / register)
   ========================================================= */
.auth { position: relative; min-height: 100vh; display: grid; place-items: center; padding: 130px 20px 70px; background: var(--feature-bg); overflow: hidden; transition: background .5s; }
.auth__bg { position: absolute; inset: 0; z-index: 0; }
.auth__card {
    position: relative; z-index: 2; width: min(440px, 100%); padding: 44px 40px;
    background: var(--surface); border: 1px solid var(--border); border-radius: 24px;
    backdrop-filter: blur(16px); box-shadow: var(--shadow-soft); color: var(--text);
}
.auth__head { text-align: center; margin-bottom: 30px; }
.auth__head .brand__mark { margin: 0 auto 18px; width: 56px; height: 56px; font-size: 26px; }
.auth__logo { width: 66px; height: 66px; object-fit: contain; margin: 0 auto 16px; display: block; }
.auth__logo--light { display: none; }
[data-theme="dark"] .auth__logo--dark { display: none; }
[data-theme="dark"] .auth__logo--light { display: block; }
.auth__head h1 { font-family: var(--ff-head); font-size: 1.8rem; color: var(--text); }
.auth__head p { color: var(--text-soft); font-size: 14.5px; margin-top: 6px; }
.auth__form .field input {
    background: var(--field-bg); border-color: var(--field-border); color: var(--text);
}
.auth__form .field label { background: var(--field-bg); color: var(--text-soft); }
.auth__form .field input:focus { border-color: var(--gold); }
.auth__form .field input:focus + label,
.auth__form .field input:not(:placeholder-shown) + label { color: var(--gold); }
.auth__form .btn { margin-top: 6px; }
.field--pass .field__eye { position: absolute; inset-block-start: 14px; inset-inline-end: 14px; font-size: 17px; opacity: .6; transition: opacity .3s; }
.field--pass .field__eye:hover, .field--pass .field__eye.is-on { opacity: 1; }
.field--pass input { padding-inline-end: 46px; }
.auth__alt { text-align: center; margin-top: 22px; color: var(--text-soft); font-size: 14.5px; }
.auth__alt a { color: var(--gold); font-weight: 700; }

.btn--ghost-dark { color: var(--gold); border: 1.5px solid rgba(224,159,37,.4); }
.btn--ghost-dark:hover { background: rgba(224,159,37,.12); transform: translateY(-3px); }

/* =========================================================
   CONTACT LOCKED (غير مسجل)
   ========================================================= */
.contact__locked {
    text-align: center; padding: 48px 34px; border-radius: var(--radius);
    background: var(--surface); border: 1px dashed rgba(224,159,37,.4); box-shadow: var(--shadow-soft);
}
.contact__lock-icon { width: 84px; height: 84px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; background: rgba(224,159,37,.12); color: var(--gold); border: 1px solid rgba(224,159,37,.3); }
.contact__locked h3 { font-family: var(--ff-head); font-size: 1.5rem; color: var(--text); margin-bottom: 12px; }
.contact__locked p { color: var(--text-soft); max-width: 380px; margin: 0 auto 26px; }
.contact__locked-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* =========================================================
   DASHBOARD
   ========================================================= */
.dash { padding: 130px 0 90px; background: var(--bg); min-height: 100vh; }
.dash__head { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 38px; }
.dash__welcome { display: flex; align-items: center; gap: 18px; }
.dash__avatar { width: 72px; height: 72px; flex: none; border-radius: 20px; background: var(--grad-gold); color: var(--navy-900); font-family: var(--ff-head); font-weight: 900; font-size: 2rem; display: grid; place-items: center; box-shadow: var(--shadow-gold); }
.dash__welcome h1 { font-family: var(--ff-head); font-size: 1.9rem; color: var(--text); line-height: 1.2; }
.dash__welcome p { color: var(--text-soft); font-size: 14.5px; }

.dash__staff-banner {
    display: flex; align-items: center; gap: 18px; margin-bottom: 28px;
    padding: 20px 24px; border-radius: var(--radius); color: var(--navy-900);
    background: var(--grad-gold); box-shadow: var(--shadow-gold);
    transition: transform .35s var(--ease);
}
.dash__staff-banner:hover { transform: translateY(-3px); }
.dash__staff-ic { font-size: 2rem; flex: none; }
.dash__staff-txt { display: flex; flex-direction: column; line-height: 1.4; }
.dash__staff-txt strong { font-family: var(--ff-head); font-size: 1.15rem; }
.dash__staff-txt small { font-size: 13.5px; opacity: .85; }
.dash__staff-go { margin-inline-start: auto; font-family: var(--ff-head); font-weight: 800; white-space: nowrap; }
.dash__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 40px; }
.dash__stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; text-align: center; }
.dash__stat .num { font-family: var(--ff-head); font-weight: 900; font-size: 2.6rem; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; display: block; }
.dash__stat small { color: var(--text-soft); }

.dash__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: start; }
.dash__panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; box-shadow: 0 10px 40px -30px rgba(8,14,30,.5); }
.dash__panel-title { font-family: var(--ff-head); font-size: 1.4rem; color: var(--text); margin-bottom: 22px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }

.req-list { display: grid; gap: 16px; }
.req-card { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 20px 22px; transition: transform .35s var(--ease), border-color .35s; }
.req-card:hover { transform: translateX(-4px); border-color: rgba(224,159,37,.4); }
.req-card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.req-card__service { font-family: var(--ff-head); font-weight: 700; color: var(--text); }
.req-card__msg { color: var(--text-soft); font-size: 14.5px; margin-bottom: 14px; }
.req-card__foot { display: flex; flex-wrap: wrap; gap: 16px; color: var(--text-soft); font-size: 13px; }
.req-card__id { margin-inline-start: auto; color: var(--gold); font-weight: 700; }

.status { font-size: 12px; font-weight: 700; padding: 5px 13px; border-radius: 100px; white-space: nowrap; }
.status--new { background: rgba(224,159,37,.16); color: var(--gold); }
.status--progress { background: rgba(64,128,220,.16); color: #5b8def; }
.status--done { background: rgba(31,157,85,.16); color: #2bb673; }

.dash__empty { text-align: center; padding: 40px 20px; color: var(--text-soft); }
.dash__empty-icon { font-size: 3rem; margin-bottom: 14px; }
.dash__empty h3 { font-family: var(--ff-head); color: var(--text); margin-bottom: 8px; }

/* =========================================================
   REVEAL ANIMATIONS
   ========================================================= */
[data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }
.hero [data-reveal] { transform: translateY(24px); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
    .hero__inner { grid-template-columns: 1fr; gap: 50px; }
    .hero__visual { order: -1; max-width: 360px; margin-inline: auto; }
    .about__grid { grid-template-columns: 1fr; gap: 70px; }
    .about__visual { max-width: 420px; margin-inline: auto; width: 100%; }
    .contact__grid { grid-template-columns: 1fr; gap: 40px; }
    .services__grid, .testimonials__grid, .team__grid { grid-template-columns: repeat(2, 1fr); }
    .process__track { grid-template-columns: repeat(2, 1fr); gap: 40px; }
    .process__line { display: none; }
    .footer__grid { grid-template-columns: 1fr 1fr; }
    .dash__grid { grid-template-columns: 1fr; }
    .nav__user { border: none; padding: 0; }
}

@media (max-width: 768px) {
    .nav {
        position: fixed; inset-block-start: 0; inset-inline-end: 0; height: 100vh; width: min(78%, 320px);
        flex-direction: column; justify-content: center; gap: 14px; padding: 40px;
        background: var(--nav-drawer); backdrop-filter: blur(20px);
        transform: translateX(100%); transition: transform .5s var(--ease); z-index: 950;
    }
    [dir="rtl"] .nav { inset-inline-end: auto; inset-inline-start: 0; transform: translateX(-100%); }
    .nav.is-open { transform: translateX(0); }
    .nav__link { font-size: 18px; }
    .nav-toggle { display: flex; z-index: 960; }
    .stats-band__grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
    .stat:not(:last-child)::after { display: none; }
    .hero__stats { gap: 24px; }
    .footer__grid { grid-template-columns: 1fr; gap: 32px; }
    .field-row { grid-template-columns: 1fr; }
    .dash__stats { grid-template-columns: 1fr; gap: 14px; }
    .dash__head { flex-direction: column; align-items: flex-start; }
    .flash-stack { inset-inline: 16px; width: auto; inset-block-start: 84px; }
    .theme-switch { margin-inline-start: 4px; }
}

@media (max-width: 560px) {
    .services__grid, .testimonials__grid, .team__grid, .process__track { grid-template-columns: 1fr; }
    .hero__actions { flex-direction: column; align-items: stretch; }
    .hero__stats { flex-wrap: wrap; }
    .about__exp { inset-inline-start: 50%; transform: translateX(50%); inset-block-end: -22px; }
    .contact__form { padding: 26px 20px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    [data-reveal] { opacity: 1; transform: none; }
}
