/* ============================================================
   Salvation — الصفحة الرئيسية (Premium Dark Technology)
   كل القواعد محصورة داخل body.home-page حتى لا تتأثر بقية الصفحات
   التي تستخدم نفس الهيدر والفوتر.
   ============================================================ */

:root {
    /* لوحة الألوان المعتمدة */
    --h-bg: #09271D;          /* الخلفية الرئيسية: أخضر غابي داكن */
    --h-bg-2: #0C2F23;        /* أقسام متناوبة (بين الخلفية والبطاقات) */
    --h-panel: #10382A;       /* الخدمات والبطاقات */
    --h-panel-2: #144232;
    --h-line: rgba(240, 245, 241, 0.10);
    --h-line-2: rgba(240, 245, 241, 0.18);
    --h-green: #00D477;       /* الأزرار والإضاءة: أخضر زمردي ساطع */
    --h-green-2: #4DF0A8;
    --h-green-deep: #00A85E;
    --h-red: #e53935;
    --h-text: #F0F5F1;        /* النصوص والعناوين */
    --h-soft: #C2D4CA;
    --h-muted: #93B0A2;
    --h-on-green: #052118;    /* نص داكن فوق الأخضر */
    --h-glow: 0 0 0 1px rgba(0, 212, 119, .35), 0 18px 50px -12px rgba(0, 212, 119, .35);
    --h-radius: 18px;
    --h-radius-sm: 12px;
    --h-ease: cubic-bezier(.22, .8, .24, 1);
    --h-space: clamp(80px, 11vw, 136px);
    --h-font: 'Cairo', 'Tajawal', 'Noto Sans Arabic', system-ui, sans-serif;
}

/* ---------- الأساس ---------- */
html { scroll-behavior: smooth; }
body.home-page {
    margin: 0;
    background: var(--h-bg);
    color: var(--h-text);
    font-family: var(--h-font);
    line-height: 1.75;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
}
.home-page *, .home-page *::before, .home-page *::after { box-sizing: border-box; font-family: inherit; }
.home-page main { overflow-x: clip; }
.home-page img { max-width: 100%; }
.home-page .container { width: min(100% - 48px, 1200px); margin-inline: auto; padding: 0; }
.home-page section { position: relative; padding: var(--h-space) 0; scroll-margin-top: 70px; }
.home-page a:focus-visible,
.home-page button:focus-visible {
    outline: 2px solid var(--h-green-2);
    outline-offset: 4px;
    border-radius: 8px;
}
.home-page ::selection { background: rgba(0, 212, 119, .35); color: #fff; }
.skip-link {
    position: fixed; top: 10px; right: 10px; z-index: 3000;
    padding: 10px 16px; border-radius: 10px;
    background: var(--h-green); color: var(--h-bg); font-weight: 800; text-decoration: none;
    transform: translateY(-160%); transition: transform .2s;
}
.skip-link:focus { transform: none; }

/* عناوين الأقسام */
.h-kicker {
    display: inline-flex; align-items: center; gap: 10px;
    color: var(--h-green); font-size: .86rem; font-weight: 700; letter-spacing: .02em;
}
.h-kicker::before {
    content: ""; width: 8px; height: 8px; border-radius: 50%;
    background: var(--h-green); box-shadow: 0 0 12px var(--h-green);
}
.h-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.h-head h2 {
    margin: 14px 0 14px;
    font-size: clamp(1.9rem, 3.6vw, 3rem);
    font-weight: 800; line-height: 1.3; color: var(--h-text);
}
.h-head p { margin: 0; color: var(--h-soft); font-size: clamp(1rem, 1.3vw, 1.1rem); }
.h-head.start { margin-inline: 0; text-align: right; }
.h-grad {
    background: linear-gradient(100deg, var(--h-green-2), var(--h-green) 55%, #9dffd0);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- الأزرار ---------- */
.h-btn {
    position: relative; isolation: isolate; overflow: hidden;
    display: inline-flex; align-items: center; justify-content: center; gap: 12px;
    min-height: 54px; padding: 0 26px;
    border: 1px solid transparent; border-radius: 14px;
    font-size: 1rem; font-weight: 800; text-decoration: none; white-space: nowrap;
    cursor: pointer;
    transition: transform .25s var(--h-ease), box-shadow .3s var(--h-ease), background-color .3s, border-color .3s, color .3s;
}
.h-btn svg { width: 18px; height: 18px; flex: none; transition: transform .3s var(--h-ease); }
.h-btn:hover svg { transform: translateX(-4px); }
.h-btn:active { transform: translateY(1px) scale(.985); }
.h-btn-primary {
    background: linear-gradient(135deg, var(--h-green-2), var(--h-green) 60%, var(--h-green-deep));
    color: var(--h-on-green);
    box-shadow: 0 10px 30px -10px rgba(0, 212, 119, .7), inset 0 1px 0 rgba(255,255,255,.35);
}
.h-btn-primary::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%);
    transform: translateX(120%); transition: transform .7s var(--h-ease);
}
.h-btn-primary:hover { color: var(--h-on-green); transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(0, 212, 119, .85), inset 0 1px 0 rgba(255,255,255,.35); }
.h-btn-primary:hover::after { transform: translateX(-120%); }
.h-btn-ghost {
    background: rgba(255,255,255,.03); color: var(--h-text);
    border-color: var(--h-line-2);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.h-btn-ghost:hover { color: var(--h-green-2); border-color: rgba(0, 212, 119, .6); background: rgba(0, 212, 119, .07); transform: translateY(-2px); }

.h-link {
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--h-green); font-weight: 700; font-size: .92rem; text-decoration: none;
}
.h-link svg { width: 16px; height: 16px; transition: transform .3s var(--h-ease); }

/* الهيدر والفوتر الموحّدان في css/site.css */

/* ============================================================
   الهيرو
   ============================================================ */
.h-hero {
    min-height: calc(100svh - 80px);
    display: flex; align-items: center;
    padding: clamp(56px, 8vw, 96px) 0 clamp(90px, 10vw, 120px) !important;
    isolation: isolate; overflow: hidden;
    background:
        radial-gradient(60% 70% at 22% 45%, rgba(0, 212, 119, .16), transparent 62%),
        radial-gradient(45% 50% at 95% 0%, rgba(0, 168, 94, .14), transparent 70%),
        linear-gradient(180deg, var(--h-bg) 0%, #0B2D22 70%, var(--h-bg) 100%);
}
.h-hero::before {
    content: ""; position: absolute; inset: 0; z-index: -2; opacity: .5;
    background-image:
        linear-gradient(rgba(240,245,241,.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(240,245,241,.05) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(70% 80% at 30% 45%, #000 20%, transparent 75%);
    mask-image: radial-gradient(70% 80% at 30% 45%, #000 20%, transparent 75%);
}
.h-hero::after {
    content: ""; position: absolute; inset: auto 0 0 0; height: 140px; z-index: -1;
    background: linear-gradient(180deg, transparent, var(--h-bg));
}
.h-hero .container {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    align-items: center;
    gap: clamp(32px, 5vw, 72px);
}
.h-hero-copy { max-width: 640px; }
.h-badge {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 7px 14px 7px 16px; border-radius: 999px;
    border: 1px solid var(--h-line-2); background: rgba(255,255,255,.03);
    color: var(--h-soft); font-size: .86rem; font-weight: 600;
}
.h-badge i {
    width: 8px; height: 8px; border-radius: 50%; background: var(--h-green);
    box-shadow: 0 0 0 4px rgba(0, 212, 119, .18), 0 0 14px var(--h-green);
}
.h-hero h1 {
    margin: 24px 0 22px;
    font-size: clamp(2.4rem, 5.4vw, 4.6rem);
    font-weight: 900; line-height: 1.22; letter-spacing: -.01em;
    color: var(--h-text);
}
.h-hero h1 .h-grad { display: inline; }
.h-hero-lead {
    max-width: 560px; margin: 0 0 36px;
    color: var(--h-soft); font-size: clamp(1.02rem, 1.35vw, 1.18rem); line-height: 1.95;
}
.h-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.h-hero-meta {
    display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 40px; padding-top: 22px;
    border-top: 1px solid var(--h-line);
    color: var(--h-muted); font-size: .88rem;
}
.h-hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.h-hero-meta svg { width: 16px; height: 16px; color: var(--h-green); }

/* دخول متتابع للنص */
.h-enter { opacity: 0; transform: translateY(18px); animation: h-enter .9s var(--h-ease) forwards; animation-delay: calc(var(--i, 0) * 110ms + 120ms); }
@keyframes h-enter { to { opacity: 1; transform: none; } }

/* --- المشهد المداري: الشعار ثابت، الضوء يدور --- */
.h-orbit {
    position: relative;
    width: min(100%, 560px);
    aspect-ratio: 1;
    margin-inline: auto;
    display: grid; place-items: center;
}
.h-orbit-glow {
    position: absolute; inset: 22%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 212, 119, .42), rgba(0, 212, 119, .08) 55%, transparent 72%);
    filter: blur(18px);
    animation: h-pulse 6s ease-in-out infinite;
}
@keyframes h-pulse { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
.h-orbit-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.h-orbit-svg .ring { fill: none; stroke: rgba(196, 230, 208, .13); stroke-width: 1; }
.h-orbit-svg .ring-dash { fill: none; stroke: rgba(0, 212, 119, .22); stroke-width: 1; stroke-dasharray: 2 9; }
.h-orbit-svg .beam {
    fill: none; stroke: #4DF0A8; stroke-width: 2.4; stroke-linecap: round;
    stroke-dasharray: 90 910;
    filter: url(#hSoft);
    animation: h-beam var(--dur, 14s) linear infinite;
    animation-direction: var(--dir, normal);
}
@keyframes h-beam { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -1000; } }
.h-orbit-svg .spark { fill: #c9ffe0; filter: url(#hGlow); }
.h-orbit-svg .spark.dim { fill: var(--h-green); }
.h-logo-wrap {
    position: relative; z-index: 2;
    width: 36%; aspect-ratio: 1;
    display: grid; place-items: center;
}
.h-logo-wrap::before {
    content: ""; position: absolute; inset: -14%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(9, 39, 29, .0) 40%, rgba(9, 39, 29, .55) 70%, transparent 72%);
}
.h-logo {
    position: relative;
    width: 100%; height: auto;
    filter: drop-shadow(0 0 28px rgba(0, 212, 119, .25)) drop-shadow(0 12px 30px rgba(0, 0, 0, .6));
    /* الشعار ثابت تمامًا: لا حركة ولا دوران ولا تكبير */
    transform: none !important;
    animation: none !important;
}
.h-particles { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.h-particles span {
    position: absolute; width: 3px; height: 3px; border-radius: 50%;
    background: var(--h-green-2); opacity: 0;
    box-shadow: 0 0 8px var(--h-green);
    animation: h-float var(--t, 16s) linear infinite;
    animation-delay: var(--d, 0s);
}
.h-particles span:nth-child(1) { left: 8%;  top: 78%; --t: 18s; --d: -2s; }
.h-particles span:nth-child(2) { left: 22%; top: 64%; --t: 22s; --d: -9s; }
.h-particles span:nth-child(3) { left: 36%; top: 86%; --t: 17s; --d: -5s; }
.h-particles span:nth-child(4) { left: 52%; top: 72%; --t: 24s; --d: -14s; }
.h-particles span:nth-child(5) { left: 66%; top: 90%; --t: 20s; --d: -1s; }
.h-particles span:nth-child(6) { left: 78%; top: 60%; --t: 26s; --d: -11s; }
.h-particles span:nth-child(7) { left: 90%; top: 82%; --t: 19s; --d: -7s; }
.h-particles span:nth-child(8) { left: 14%; top: 40%; --t: 23s; --d: -16s; }
.h-particles span:nth-child(9) { left: 44%; top: 50%; --t: 21s; --d: -4s; width: 2px; height: 2px; }
.h-particles span:nth-child(10){ left: 84%; top: 34%; --t: 25s; --d: -18s; width: 2px; height: 2px; }
@keyframes h-float {
    0%   { transform: translate3d(0, 0, 0); opacity: 0; }
    15%  { opacity: .7; }
    85%  { opacity: .5; }
    100% { transform: translate3d(0, -220px, 0); opacity: 0; }
}

.h-hero.is-paused *, .h-hero.is-paused *::before { animation-play-state: paused !important; }

/* مؤشر التمرير */
.h-scroll {
    position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    color: var(--h-muted); font-size: .78rem; text-decoration: none;
    transition: color .25s;
}
.h-scroll:hover { color: var(--h-green-2); }
@media (max-height: 880px) { .h-scroll { display: none; } }
.h-scroll-mouse {
    width: 22px; height: 34px; border: 1.5px solid currentColor; border-radius: 12px;
    display: flex; justify-content: center; padding-top: 6px;
}
.h-scroll-mouse::before {
    content: ""; width: 3px; height: 7px; border-radius: 2px; background: var(--h-green);
    animation: h-wheel 2.2s var(--h-ease) infinite;
}
@keyframes h-wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(10px); opacity: 0; } 100% { opacity: 0; } }

/* ============================================================
   الخدمات
   ============================================================ */
.h-services { background: var(--h-bg); }
.h-services-grid {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px;
}
.h-service {
    --mx: 50%; --my: 0%;
    position: relative; isolation: isolate; overflow: hidden;
    display: flex; flex-direction: column;
    min-height: 250px; padding: 30px 28px 26px;
    border-radius: var(--h-radius);
    border: 1px solid var(--h-line);
    background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,.01)), var(--h-panel);
    color: inherit; text-decoration: none;
    transition: transform .4s var(--h-ease), border-color .4s, box-shadow .4s;
}
.h-service::before {
    content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
    background: radial-gradient(380px circle at var(--mx) var(--my), rgba(0, 212, 119, .16), transparent 60%);
    transition: opacity .4s;
}
.h-service:hover, .h-service:focus-visible {
    transform: translateY(-4px);
    border-color: rgba(0, 212, 119, .4);
    box-shadow: 0 24px 60px -30px rgba(0, 212, 119, .55);
}
.h-service:hover::before, .h-service:focus-visible::before { opacity: 1; }
.h-icon {
    width: 52px; height: 52px; display: grid; place-items: center;
    border-radius: 14px;
    color: var(--h-green-2);
    background: linear-gradient(145deg, rgba(0, 212, 119, .16), rgba(0, 212, 119, .03));
    border: 1px solid rgba(0, 212, 119, .25);
    transition: transform .4s var(--h-ease), box-shadow .4s;
}
.h-icon svg { width: 26px; height: 26px; }
.h-service:hover .h-icon { transform: translateY(-3px); box-shadow: 0 0 24px -4px rgba(0, 212, 119, .6); }
.h-service h3 { margin: 22px 0 8px; font-size: 1.22rem; font-weight: 800; color: var(--h-text); }
.h-service p { margin: 0 0 22px; color: var(--h-soft); font-size: .96rem; line-height: 1.85; }
.h-service .h-link { margin-top: auto; }
.h-service:hover .h-link svg { transform: translateX(-5px); }

/* ============================================================
   المنتجات
   ============================================================ */
.h-products {
    background:
        radial-gradient(50% 40% at 85% 10%, rgba(0, 212, 119, .08), transparent 70%),
        var(--h-bg-2);
    border-block: 1px solid var(--h-line);
}
.h-products-top { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 44px; }
.h-products-top .h-head { margin-bottom: 0; }
.h-bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; }
.h-prod {
    position: relative; overflow: hidden;
    display: grid; grid-template-columns: minmax(0, 1fr); align-content: start;
    border-radius: var(--h-radius);
    border: 1px solid var(--h-line);
    background: var(--h-panel);
    transition: transform .4s var(--h-ease), border-color .4s, box-shadow .4s;
}
.h-prod:hover { transform: translateY(-4px); border-color: rgba(0, 212, 119, .35); box-shadow: 0 30px 60px -36px rgba(0, 212, 119, .5); }
.h-prod-art {
    position: relative; display: grid; place-items: center;
    padding: 26px;
    background:
        radial-gradient(70% 70% at 50% 40%, #ffffff 0%, #eef4f0 60%, #dfe9e2 100%);
}
.h-prod-art::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    box-shadow: inset 0 -30px 40px -30px rgba(0, 0, 0, .25);
}
.h-prod-art img {
    width: auto; height: auto; max-height: 150px; max-width: 78%;
    object-fit: contain;
    transition: transform .6s var(--h-ease);
}
.h-prod:hover .h-prod-art img { transform: scale(1.04); }
.h-prod-copy { display: flex; flex-direction: column; padding: 24px 26px 26px; }
.h-tag {
    align-self: flex-start;
    padding: 3px 10px; border-radius: 999px;
    border: 1px solid rgba(0, 212, 119, .3); background: rgba(0, 212, 119, .08);
    color: var(--h-green-2); font-size: .76rem; font-weight: 700;
}
.h-prod h3 { margin: 14px 0 8px; font-size: 1.15rem; font-weight: 800; line-height: 1.5; color: var(--h-text); }
.h-prod p { margin: 0 0 18px; color: var(--h-soft); font-size: .93rem; line-height: 1.85; }
.h-prod .h-link { margin-top: auto; }
.h-prod .h-link:hover svg { transform: translateX(-5px); }
/* أحجام البنتو */
/* البطاقة المميزة بنفس نمط "is-tall": الصورة فوق والنص تحتها */
.h-prod.is-feature, .h-prod.is-tall { grid-column: span 6; }
.h-prod.is-third { grid-column: span 4; }
.h-prod.is-wide { grid-column: span 6; grid-template-columns: 200px minmax(0, 1fr); align-items: stretch; }
.h-prod.is-wide .h-prod-art img { max-height: 120px; }

/* ============================================================
   لماذا سالفيشن
   ============================================================ */
.h-why { background: var(--h-bg); }
.h-why .container { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.h-why-copy p.lead { color: var(--h-soft); font-size: 1.06rem; line-height: 1.95; margin: 0 0 28px; }
.h-why-copy .h-head { margin-bottom: 18px; }
.h-reg {
    display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
    padding: 16px 18px; margin-bottom: 30px;
    border: 1px dashed rgba(0, 212, 119, .35); border-radius: var(--h-radius-sm);
    background: rgba(0, 212, 119, .04);
    color: var(--h-soft); font-size: .93rem;
}
.h-reg svg { width: 22px; height: 22px; color: var(--h-green); flex: none; }
.h-reg strong { color: var(--h-text); font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.h-pillars { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--h-line); }
.h-pillar {
    display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 18px; align-items: start;
    padding: 24px 4px;
    border-bottom: 1px solid var(--h-line);
    transition: background-color .3s;
}
.h-pillar:hover { background: linear-gradient(270deg, rgba(0, 212, 119, .06), transparent 70%); }
.h-pillar-num {
    font-size: .82rem; font-weight: 800; color: var(--h-green);
    padding-top: 4px; font-variant-numeric: tabular-nums; direction: ltr; text-align: right;
}
.h-pillar h3 { margin: 0 0 6px; font-size: 1.12rem; font-weight: 800; color: var(--h-text); }
.h-pillar p { margin: 0; color: var(--h-soft); font-size: .95rem; line-height: 1.85; }

/* ============================================================
   آلية العمل
   ============================================================ */
.h-process {
    background:
        radial-gradient(60% 50% at 50% 100%, rgba(0, 212, 119, .08), transparent 70%),
        var(--h-bg-2);
    border-top: 1px solid var(--h-line);
}
.h-steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; counter-reset: step; }
/* المسار الأخضر الذي يربط المراحل */
.h-steps::before, .h-steps::after {
    content: ""; position: absolute; top: 27px; right: 12.5%; left: 12.5%; height: 2px; border-radius: 2px;
}
.h-steps::before { background: var(--h-line-2); }
.h-steps::after {
    background: linear-gradient(270deg, var(--h-green-2), var(--h-green));
    box-shadow: 0 0 12px var(--h-green);
    transform: scaleX(0); transform-origin: right center;
    transition: transform 1.6s var(--h-ease) .2s;
}
.h-steps.is-in::after { transform: scaleX(1); }
.h-step { position: relative; text-align: center; padding: 0 8px; }
.h-step-dot {
    position: relative; z-index: 1;
    width: 56px; height: 56px; margin: 0 auto 22px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: var(--h-bg); border: 1px solid rgba(0, 212, 119, .45);
    color: var(--h-green-2); font-weight: 900; font-size: 1.05rem;
    box-shadow: 0 0 0 6px var(--h-bg-2), 0 0 26px -6px rgba(0, 212, 119, .7);
}
.h-step h3 { margin: 0 0 8px; font-size: 1.1rem; font-weight: 800; color: var(--h-text); }
.h-step p { margin: 0; color: var(--h-soft); font-size: .93rem; line-height: 1.8; }

/* ============================================================
   الدعوة لاتخاذ إجراء
   ============================================================ */
.h-cta { background: var(--h-bg); padding-top: clamp(70px, 9vw, 110px) !important; }
.h-cta-box {
    position: relative; overflow: hidden; isolation: isolate;
    display: flex; align-items: center; justify-content: space-between; gap: 32px;
    padding: clamp(36px, 6vw, 64px);
    border-radius: 26px;
    border: 1px solid rgba(0, 212, 119, .28);
    background:
        radial-gradient(70% 120% at 0% 100%, rgba(0, 212, 119, .22), transparent 60%),
        radial-gradient(50% 90% at 100% 0%, rgba(0, 168, 94, .18), transparent 65%),
        var(--h-panel);
}
.h-cta-box::before {
    content: ""; position: absolute; inset: 0; z-index: -1; opacity: .35;
    background-image: radial-gradient(rgba(240,245,241,.18) 1px, transparent 1px);
    background-size: 22px 22px;
    -webkit-mask-image: linear-gradient(90deg, #000, transparent 60%);
    mask-image: linear-gradient(90deg, #000, transparent 60%);
}
.h-cta h2 { margin: 12px 0 10px; font-size: clamp(1.8rem, 3.6vw, 2.9rem); font-weight: 900; line-height: 1.3; color: var(--h-text); }
.h-cta p { margin: 0; color: var(--h-soft); font-size: 1.05rem; }
.h-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; flex: none; }

/* ============================================================
   الظهور عند التمرير
   ============================================================ */
.js .h-reveal {
    opacity: 0; transform: translateY(26px);
    transition: opacity .9s var(--h-ease), transform .9s var(--h-ease);
    transition-delay: calc(var(--i, 0) * 90ms);
}
.js .h-reveal.is-in { opacity: 1; transform: none; }

/* ============================================================
   التجاوب
   ============================================================ */
@media (max-width: 1100px) {
    .h-prod.is-feature, .h-prod.is-tall { grid-column: span 12; grid-template-columns: 240px minmax(0, 1fr); }
}
@media (max-width: 960px) {
    .h-prod.is-third, .h-prod.is-wide { grid-column: span 12; grid-template-columns: 200px minmax(0, 1fr); align-items: stretch; }
}
@media (max-width: 960px) {
    .h-hero { min-height: auto; }
    .h-hero .container { grid-template-columns: 1fr; text-align: center; }
    .h-hero-copy { margin-inline: auto; }
    .h-hero-lead { margin-inline: auto; }
    .h-hero-actions, .h-hero-meta { justify-content: center; }
    .h-hero-visual { order: -1; }
    .h-orbit { width: min(78vw, 420px); }
    .h-scroll { display: none; }
    .h-services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .h-why .container { grid-template-columns: 1fr; }
    .h-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
    .h-steps::before, .h-steps::after { display: none; }
    .h-cta-box { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
    .home-page .container { width: min(100% - 32px, 1200px); }
    .h-hero { padding-top: 32px !important; padding-bottom: 72px !important; }
    .h-hero h1 { font-size: clamp(2rem, 9.4vw, 2.7rem); }
    .h-orbit { width: min(86vw, 340px); }
    .h-orbit-svg .ring-dash, .h-orbit-svg .spark.dim, .h-particles span:nth-child(n+6) { display: none; }
    .h-hero-actions { flex-direction: column; align-items: stretch; }
    .h-hero-actions .h-btn { width: 100%; }
    .h-hero-meta { gap: 8px 16px; font-size: .82rem; }
    .h-services-grid { grid-template-columns: 1fr; }
    .h-service { min-height: 0; padding: 24px 22px; }
    .h-products-top { flex-direction: column; align-items: stretch; }
    .h-products-top .h-btn { align-self: flex-start; }
    .h-prod.is-feature, .h-prod.is-tall, .h-prod.is-third, .h-prod.is-wide { grid-template-columns: 1fr; }
    .h-prod-art { padding: 22px; }
    .h-prod-art img { max-height: 120px; }
    .h-steps { grid-template-columns: 1fr; row-gap: 0; }
    .h-step { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 18px; text-align: right; padding: 0 0 30px; }
    .h-step::before {
        content: ""; position: absolute; top: 56px; bottom: 0; right: 27px; width: 2px;
        background: linear-gradient(var(--h-green), rgba(0, 212, 119, .1));
    }
    .h-step:last-child::before { display: none; }
    .h-step-dot { margin: 0; }
    .h-cta-actions { width: 100%; flex-direction: column; }
    .h-cta-actions .h-btn { width: 100%; }
}

/* ============================================================
   تقليل الحركة
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .home-page *, .home-page *::before, .home-page *::after {
        animation-duration: .01ms !important; animation-iteration-count: 1 !important;
        transition-duration: .01ms !important; transition-delay: 0s !important;
    }
    .h-enter { opacity: 1; transform: none; }
    .js .h-reveal { opacity: 1; transform: none; }
    .h-orbit-svg .beam { animation: none !important; stroke-dashoffset: -120; }
    .h-particles, .h-scroll-mouse::before { display: none; }
    .h-steps::after { transform: scaleX(1); }
}

/* ============================================================
   الوضع الفاتح — الألوان الأساسية تُعاد تعريفها في css/site.css،
   وهنا فقط ما يخص الهيرو والمدارات: إضاءة أهدأ تناسب الخلفية الفاتحة.
   ============================================================ */
html[data-theme="light"] .h-grad {
    background-image: linear-gradient(100deg, #00663D, #008F57 55%, #00A86A);
}
html[data-theme="light"] .h-hero {
    background:
        radial-gradient(60% 70% at 22% 45%, rgba(0, 143, 87, .10), transparent 62%),
        radial-gradient(45% 50% at 95% 0%, rgba(0, 143, 87, .08), transparent 70%),
        linear-gradient(180deg, var(--h-bg) 0%, #E8F1EB 70%, var(--h-bg) 100%);
}
html[data-theme="light"] .h-hero::before {
    background-image:
        linear-gradient(rgba(23, 53, 42, .06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(23, 53, 42, .06) 1px, transparent 1px);
}
html[data-theme="light"] .h-badge,
html[data-theme="light"] .h-btn-ghost { background: rgba(255, 255, 255, .75); }
html[data-theme="light"] .h-badge i { box-shadow: 0 0 0 4px rgba(0, 143, 87, .14); }
html[data-theme="light"] .h-kicker::before { box-shadow: 0 0 0 3px rgba(0, 143, 87, .14); }
/* المدارات والإضاءة */
html[data-theme="light"] .h-orbit-glow { background: radial-gradient(circle, rgba(0, 168, 94, .22), rgba(0, 168, 94, .05) 55%, transparent 72%); }
html[data-theme="light"] .h-orbit-svg .ring { stroke: rgba(0, 110, 67, .16); }
html[data-theme="light"] .h-orbit-svg .ring-dash { stroke: rgba(0, 128, 78, .22); }
html[data-theme="light"] .h-orbit-svg .beam { stroke: #00A86A; opacity: .75; }
html[data-theme="light"] .h-orbit-svg .spark { fill: #00995D; }
html[data-theme="light"] .h-orbit-svg .spark.dim { fill: #3CC48A; }
html[data-theme="light"] .h-logo-wrap::before { background: radial-gradient(circle, rgba(243, 247, 244, 0) 40%, rgba(243, 247, 244, .7) 70%, transparent 72%); }
html[data-theme="light"] .h-logo { filter: drop-shadow(0 0 22px rgba(0, 143, 87, .16)) drop-shadow(0 12px 24px rgba(23, 53, 42, .18)); }
html[data-theme="light"] .h-particles span { box-shadow: none; opacity: .5; }
/* البطاقات والأقسام */
html[data-theme="light"] .h-service { background: var(--h-panel); box-shadow: 0 14px 34px -28px rgba(23, 53, 42, .35); }
html[data-theme="light"] .h-service::before { background: radial-gradient(380px circle at var(--mx) var(--my), rgba(0, 143, 87, .08), transparent 60%); }
html[data-theme="light"] .h-service:hover,
html[data-theme="light"] .h-service:focus-visible { border-color: rgba(0, 143, 87, .4); box-shadow: 0 22px 46px -30px rgba(0, 143, 87, .45); }
html[data-theme="light"] .h-icon { background: #E3EEE7; border-color: rgba(0, 143, 87, .22); }
html[data-theme="light"] .h-prod { box-shadow: 0 14px 34px -28px rgba(23, 53, 42, .35); }
html[data-theme="light"] .h-prod:hover { border-color: rgba(0, 143, 87, .4); box-shadow: 0 26px 50px -34px rgba(0, 143, 87, .45); }
html[data-theme="light"] .h-prod-art { border-bottom: 1px solid var(--h-line); }
html[data-theme="light"] .h-prod-art::after { box-shadow: inset 0 -24px 34px -30px rgba(23, 53, 42, .18); }
html[data-theme="light"] .h-tag { background: #E3EEE7; border-color: rgba(0, 143, 87, .25); }
html[data-theme="light"] .h-reg { background: #EAF2EC; border-color: rgba(0, 143, 87, .35); }
html[data-theme="light"] .h-pillar:hover { background: linear-gradient(270deg, rgba(0, 143, 87, .06), transparent 70%); }
html[data-theme="light"] .h-steps::after { box-shadow: none; }
html[data-theme="light"] .h-step-dot { background: #fff; box-shadow: 0 0 0 6px var(--h-bg-2), 0 8px 20px -10px rgba(0, 143, 87, .5); }
html[data-theme="light"] .h-cta-box {
    border-color: rgba(0, 143, 87, .25);
    background:
        radial-gradient(70% 120% at 0% 100%, rgba(0, 143, 87, .12), transparent 60%),
        radial-gradient(50% 90% at 100% 0%, rgba(0, 143, 87, .08), transparent 65%),
        var(--h-panel-2);
}
html[data-theme="light"] .h-cta-box::before { background-image: radial-gradient(rgba(23, 53, 42, .14) 1px, transparent 1px); }
html[data-theme="light"] .skip-link { color: #fff; background: #008F57; }
html[data-theme="light"] .home-page ::selection { background: rgba(0, 143, 87, .2); color: var(--h-text); }
/* ============================================================
   الإنجليزية (من اليسار لليمين)
   ============================================================ */
html[dir="ltr"] .h-btn svg, html[dir="ltr"] .h-link svg { transform: scaleX(-1); }
html[dir="ltr"] .h-btn:hover svg { transform: scaleX(-1) translateX(-4px); }
html[dir="ltr"] .h-service:hover .h-link svg,
html[dir="ltr"] .h-prod .h-link:hover svg { transform: scaleX(-1) translateX(-5px); }
html[dir="ltr"] .h-head.start { text-align: left; }
html[dir="ltr"] .h-pillar-num { text-align: left; }
html[dir="ltr"] .h-pillar:hover { background: linear-gradient(90deg, rgba(0, 212, 119, .06), transparent 70%); }
html[data-theme="light"][dir="ltr"] .h-pillar:hover { background: linear-gradient(90deg, rgba(0, 143, 87, .06), transparent 70%); }
html[dir="ltr"] .h-steps::after { transform-origin: left center; background: linear-gradient(90deg, var(--h-green-2), var(--h-green)); }
html[dir="ltr"] .skip-link { right: auto; left: 10px; }
html[dir="ltr"] .h-cta-box::before { -webkit-mask-image: linear-gradient(270deg, #000, transparent 60%); mask-image: linear-gradient(270deg, #000, transparent 60%); }
html[dir="ltr"] .h-hero-copy { letter-spacing: -.005em; }
@media (max-width: 640px) {
    html[dir="ltr"] .h-step { text-align: left; }
    html[dir="ltr"] .h-step::before { right: auto; left: 27px; }
}