/* ============================================================
   صيانة متنقلة — نظام التصميم (هيرو فقط بدون فورم)
   ============================================================ */

:root {
    --navy-950: #060F1A;
    --navy-900: #0B1B2B;
    --navy-800: #10263A;
    --navy-700: #16324A;
    --navy-600: #1E4260;

    --gold-500: #F5A623;
    --gold-400: #FFC24D;
    --gold-600: #D98D0B;

    --wa-500: #25D366;
    --wa-600: #1EBE5A;

    --ink-900: #0E1726;
    --ink-700: #334155;
    --ink-500: #64748B;
    --ink-400: #94A3B8;

    --paper: #F7F9FC;
    --white: #FFFFFF;
    --line: rgba(14, 23, 38, 0.08);

    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --radius-full: 999px;

    --shadow-sm: 0 2px 8px rgba(11, 27, 43, 0.06);
    --shadow: 0 10px 30px rgba(11, 27, 43, 0.10);
    --shadow-lg: 0 24px 60px rgba(11, 27, 43, 0.16);
    --shadow-gold: 0 10px 30px rgba(245, 166, 35, 0.35);
    --shadow-wa: 0 10px 30px rgba(37, 211, 102, 0.35);

    --container: 1140px;
    --nav-h: 74px;

    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Tajawal', system-ui, -apple-system, 'Segoe UI', sans-serif;
    background: var(--paper);
    color: var(--ink-900);
    line-height: 1.75;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

.container {
    width: min(var(--container), calc(100% - 40px));
    margin-inline: auto;
}

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

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

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 15px;
    line-height: 1.2;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
    white-space: nowrap;
}
.btn:active { transform: scale(.97); }

.btn--wa {
    background: linear-gradient(135deg, var(--wa-500), var(--wa-600));
    color: var(--white);
    box-shadow: var(--shadow-wa);
}
.btn--wa:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(37, 211, 102, 0.45);
}

.btn--gold {
    background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
    color: var(--navy-900);
    box-shadow: var(--shadow-gold);
}
.btn--gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(245, 166, 35, 0.5);
}

.btn--sm { padding: 9px 18px; font-size: 14px; }
.btn--lg { padding: 15px 30px; font-size: 16.5px; }

/* ---------- Navbar ---------- */
.navbar {
    position: fixed;
    inset-inline: 0;
    top: 0;
    z-index: 1000;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    background: rgba(11, 27, 43, 0.55);
    transition: background .35s var(--ease), box-shadow .35s var(--ease);
}
.navbar.is-scrolled {
    background: rgba(11, 27, 43, 0.96);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.navbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    z-index: 1002;
    position: relative;
}
.brand__mark svg { border-radius: 10px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.25; }
.brand__text strong { font-size: 17px; font-weight: 800; }
.brand__text small { font-size: 12px; color: var(--gold-400); font-weight: 500; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    background:
        radial-gradient(ellipse 90% 70% at 80% 0%, rgba(245, 166, 35, 0.10), transparent 55%),
        radial-gradient(ellipse 50% 45% at 15% 100%, rgba(30, 66, 96, 0.4), transparent 65%),
        linear-gradient(165deg, var(--navy-950) 0%, var(--navy-900) 50%, var(--navy-800) 100%);
    color: var(--white);
    padding: calc(var(--nav-h) + 72px) 0 96px;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: radial-gradient(ellipse 65% 55% at 50% 35%, black, transparent);
    pointer-events: none;
}

.hero__glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 166, 35, 0.10), transparent 65%);
    top: -200px;
    left: -150px;
    filter: blur(40px);
    pointer-events: none;
}

.hero__inner {
    position: relative;
}

.hero__content { max-width: 720px; }

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    background: rgba(245, 166, 35, 0.08);
    border: 1px solid rgba(245, 166, 35, 0.28);
    color: var(--gold-400);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: .2px;
}

.hero__title {
    font-size: clamp(2.4rem, 5.5vw, 4rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 22px;
    letter-spacing: -1px;
}

.hero__sub {
    font-size: clamp(1.05rem, 1.5vw, 1.2rem);
    color: rgba(255, 255, 255, 0.72);
    max-width: 540px;
    margin-bottom: 40px;
    font-weight: 400;
    line-height: 1.9;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 48px;
}

.hero__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 32px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.hero__trust li {
    display: flex;
    align-items: center;
    gap: 9px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14.5px;
    font-weight: 600;
}
.hero__trust svg { color: var(--gold-500); flex-shrink: 0; }

/* بطاقات الأرقام الجانبية */
.hero__side {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hero__stat-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 20px 24px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}
.hero__stat-num {
    font-size: 36px;
    font-weight: 900;
    color: var(--gold-400);
    line-height: 1;
}
.hero__stat-txt {
    font-size: 13px;
    font-weight: 700;
    color: rgba(255,255,255,0.7);
    line-height: 1.5;
}

/* ---------- Footer مبسّط ---------- */
.footer {
    background: var(--navy-950);
    color: var(--white);
}
.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.45);
    font-size: 13.5px;
}

/* ---------- أزرار عائمة (اتصال + واتساب) ---------- */
.fab-group {
    position: fixed;
    bottom: 26px;
    inset-inline-start: 26px;
    z-index: 90;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.fab-call,
.fab-wa {
    position: relative;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--white);
    transition: transform .3s var(--ease), box-shadow .3s;
}
.fab-call:hover,
.fab-wa:hover {
    transform: scale(1.1) translateY(-3px);
}

.fab-call {
    background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
    color: var(--navy-900);
    box-shadow: var(--shadow-gold);
    order: 2;
}
.fab-call:hover {
    box-shadow: 0 16px 40px rgba(245, 166, 35, 0.5);
}
.fab-call::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(245, 166, 35, 0.45);
    animation: pulse 2.2s ease-out infinite;
}

.fab-wa {
    background: linear-gradient(135deg, var(--wa-500), var(--wa-600));
    box-shadow: var(--shadow-wa);
    order: 1;
}
.fab-wa:hover {
    box-shadow: 0 16px 40px rgba(37, 211, 102, 0.5);
}
.fab-wa::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(37, 211, 102, 0.45);
    animation: pulse 2.2s ease-out infinite;
}

@keyframes pulse {
    0% { transform: scale(.85); opacity: 1; }
    100% { transform: scale(1.35); opacity: 0; }
}

/* ---------- AOS fallback ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
    .hero__inner { grid-template-columns: 1fr; gap: 48px; text-align: center; }
    .hero__content { max-width: 100%; margin-inline: auto; }
    .hero__sub { margin-inline: auto; }
    .hero__actions, .hero__trust { justify-content: center; }
    .hero__side {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }
    .hero__stat-card { min-width: 200px; }
}

@media (max-width: 640px) {
    :root { --nav-h: 66px; }

    .container { width: calc(100% - 32px); }

    .hero {
        padding: calc(var(--nav-h) + 48px) 0 80px;
        min-height: auto;
    }

    .hero__actions { flex-direction: column; }
    .hero__actions .btn { width: 100%; }

    .fab-group { bottom: 18px; inset-inline-start: 18px; gap: 12px; }
    .fab-call, .fab-wa { width: 52px; height: 52px; }
    .fab-call svg { width: 22px; height: 22px; }
    .fab-wa svg { width: 24px; height: 24px; }
}

@media (max-width: 380px) {
    .hero__trust { flex-direction: column; align-items: center; gap: 10px; }
    .hero__side { flex-direction: column; align-items: center; }
}
