html, body, #root { margin: 0; min-height: 100%; }
body { background: #fff; }
.sg-root { font-family: 'Segoe UI', Tahoma, 'Noto Sans Arabic', system-ui, -apple-system, Helvetica, Arial, sans-serif; color: #0f172a; overflow-x: hidden; background: #fff; }
.sg-root * { box-sizing: border-box; }
.sg-root button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
.sg-nav { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 24px; background: #fff; border-bottom: 1px solid #eef0f4; }
.sg-logo { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 2px; line-height: 1; }
.sg-logo-mark { font-size: 24px; font-weight: 300; letter-spacing: .08em; }
.sg-logo-gate { font-size: 24px; font-weight: 800; letter-spacing: .08em; color: #1f6f95; }
.sg-logo-sub { flex-basis: 100%; font-size: 10px; letter-spacing: 0; color: #64748b; margin-top: 4px; }
.sg-links { display: flex; gap: 8px; }
.sg-links button { padding: 8px 14px; font-size: 14px; color: #334155; border-radius: 8px; min-height: 44px; }
.sg-links button.is-on { color: #1a73e8; }
.sg-root button.sg-cta, .sg-cta { display: inline-flex; flex: none; align-items: center; gap: 8px; background: #0f172a !important; color: #fff !important; padding: 14px 24px; border-radius: 999px; font-size: 14px; min-height: 44px; white-space: nowrap; }
.sg-root button.sg-cta-light, .sg-cta-light { background: #fff !important; color: #0f172a !important; margin-top: 8px; }
.sg-hero, .sg-contact { position: relative; overflow: hidden; background: linear-gradient(160deg, #123b57 0%, #1d6286 55%, #14405e 100%); color: #fff; }
.sg-grid { position: absolute; inset: 0; opacity: .35; background-image: linear-gradient(rgba(255,255,255,.14) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.14) 1px, transparent 1px), linear-gradient(135deg, transparent 49.6%, rgba(255,255,255,.25) 50%, transparent 50.4%); background-size: 56px 56px, 56px 56px, 168px 168px; }
.sg-glow { position: absolute; width: 520px; height: 520px; border-radius: 50%; left: 50%; top: 50%; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(120,190,255,.35), transparent 65%); }
.sg-hero-in { position: relative; min-height: 640px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 72px 20px 96px; gap: 24px; }
.sg-badge { padding: 12px 24px; border-radius: 999px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3); font-size: 14px; letter-spacing: 0; }
.sg-hero h1 { margin: 0; font-size: clamp(44px, 9vw, 104px); line-height: 1.1; font-weight: 800; letter-spacing: 0; }
.sg-hero h1 span { background: linear-gradient(90deg, #bfdcff, #e2d3ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sg-hero-sub { margin: 0; font-size: clamp(20px, 3.4vw, 34px); font-weight: 300; opacity: .92; }
.sg-chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.sg-chips span { padding: 10px 18px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); font-size: 14px; }
.sg-scroll { margin-top: 16px; font-size: 12px; letter-spacing: 0; opacity: .8; min-height: 44px; }
.sg-about { padding: 96px 24px; max-width: 1240px; margin: 0 auto; }
.sg-about-head { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.sg-tag { display: inline-block; background: #0f172a; color: #fff; padding: 8px 16px; border-radius: 10px; font-size: 12px; letter-spacing: 0; }
.sg-tag-light { background: rgba(255,255,255,.15); }
.sg-about h2 { margin: 20px 0 0; font-size: clamp(48px, 8vw, 96px); line-height: .95; font-weight: 800; letter-spacing: 0; }
.sg-lead { font-size: 22px; line-height: 1.55; margin: 0 0 20px; color: #1e293b; }
.sg-about-copy p { font-size: 18px; line-height: 1.7; color: #475569; margin: 0; }
.sg-about-body { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; margin-top: 72px; align-items: stretch; }
.sg-visual { border-radius: 28px; min-height: 420px; padding: 28px; background: linear-gradient(160deg, #0d2c4d, #17538a); display: flex; flex-direction: column; gap: 14px; }
.sg-win { display: flex; gap: 8px; margin-bottom: 14px; }
.sg-win i { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,.4); }
.sg-bar { height: 14px; border-radius: 8px; background: rgba(255,255,255,.22); }
.sg-bar.w1 { width: 70%; height: 28px; background: rgba(255,255,255,.4); } .sg-bar.w2 { width: 90%; } .sg-bar.w3 { width: 55%; }
.sg-blocks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: auto; }
.sg-blocks b { height: 110px; border-radius: 16px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.2); }
.sg-cards { display: flex; flex-direction: column; gap: 20px; }
.sg-card { display: flex; gap: 20px; align-items: flex-start; background: #123763; color: #fff; border-radius: 28px; padding: 32px; }
.sg-ico { flex: none; width: 64px; height: 64px; border-radius: 16px; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.28); display: grid; place-items: center; font-size: 28px; }
.sg-card h3 { margin: 0 0 8px; font-size: 22px; }
.sg-card p { margin: 0; font-size: 16px; line-height: 1.6; color: #dbe6f5; }
.sg-services { background: #0b1d33; color: #fff; padding: 96px 24px; }
.sg-wrap { max-width: 1140px; margin: 0 auto; }
.sg-h2-light { margin-top: 20px !important; margin-bottom: 8px; font-size: clamp(40px, 7vw, 76px); font-weight: 800; letter-spacing: 0; }
.sg-services-sub { color: #b8c7da; font-size: 18px; margin-top: 0; margin-bottom: 56px; }
.sg-svc-list { display: flex; flex-direction: column; gap: 32px; }
.sg-svc { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: #12294a; border-radius: 28px; overflow: hidden; }
.sg-svc.is-flip .sg-svc-art { order: 2; }
.sg-svc-art { min-height: 300px; display: grid; place-items: center; background: linear-gradient(150deg, #1e6f9a, #3a49a8 80%); }
.sg-svc-art span { font-size: 96px; font-weight: 800; color: rgba(255,255,255,.85); }
.sg-svc-text { padding: 40px; }
.sg-svc-tag { font-size: 12px; letter-spacing: 0; color: #8fc3ff; }
.sg-svc h3 { margin: 10px 0 4px; font-size: 32px; }
.sg-svc-sub { color: #cbd5e1; margin-bottom: 14px; }
.sg-svc p { margin: 0 0 16px; line-height: 1.65; color: #dbe6f5; }
.sg-k { font-weight: 700; font-size: 13px; letter-spacing: 0; color: #fff; }
.sg-small { font-size: 14px; color: #b8c7da !important; margin-bottom: 12px !important; }
.sg-process { padding: 96px 24px; max-width: 1140px; margin: 0 auto; text-align: center; }
.sg-process h2 { font-size: clamp(36px, 6vw, 64px); margin: 0 0 40px; font-weight: 800; letter-spacing: 0; }
.sg-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sg-step { background: #f1f5f9; border-radius: 24px; padding: 28px 12px; font-weight: 700; font-size: 18px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.sg-step span { width: 44px; height: 44px; border-radius: 50%; background: #0f172a; color: #fff; display: grid; place-items: center; }
.sg-contact-in { position: relative; padding: 96px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px; max-width: 900px; margin: 0 auto; }
.sg-contact h2 { margin: 0; font-size: clamp(36px, 6.5vw, 72px); line-height: 1.1; font-weight: 800; letter-spacing: 0; }
.sg-contact p { margin: 0; font-size: 18px; max-width: 620px; opacity: .92; line-height: 1.6; }
.sg-contact-info { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 28px; justify-content: center; font-size: 15px; }
.sg-contact-info b { display: block; font-size: 12px; letter-spacing: 0; opacity: .7; margin-bottom: 4px; }
.sg-foot { padding: 24px; text-align: center; font-size: 13px; color: #64748b; background: #fff; }
@media (max-width: 860px) {
  .sg-nav { flex-wrap: wrap; justify-content: space-between; padding: 12px 16px; }
  .sg-links { order: 3; width: 100%; justify-content: space-between; overflow-x: auto; }
  .sg-links button { padding: 8px 10px; }
  .sg-cta { padding: 12px 18px; }
  .sg-about, .sg-services, .sg-process { padding-top: 64px; padding-bottom: 64px; padding-left: 16px; padding-right: 16px; }
  .sg-about-head, .sg-about-body, .sg-svc { grid-template-columns: 1fr; gap: 28px; }
  .sg-svc { gap: 0; }
  .sg-svc.is-flip .sg-svc-art { order: 0; }
  .sg-svc-art { min-height: 160px; }
  .sg-svc-text { padding: 28px 22px; }
  .sg-visual { min-height: 300px; }
  .sg-card { padding: 22px; gap: 16px; }
  .sg-steps { grid-template-columns: repeat(2, 1fr); }
  .sg-hero-in { min-height: 560px; }
}

.sg-aud { margin-top: 72px; text-align: center; }
.sg-aud h3 { font-size: 28px; margin: 0 0 20px; }
.sg-aud-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.sg-aud-row span { padding: 12px 22px; border-radius: 999px; background: #f1f5f9; font-weight: 600; font-size: 16px; }
.sg-reg-h { margin: 64px 0 20px; font-size: 26px; }
.sg-hero h1 { line-height: 1.35; }
.sg-about h2 { line-height: 1.25; }
.sg-root h1, .sg-root h2, .sg-root h3 { letter-spacing: 0; }
@media (max-width: 860px) { .sg-nav { flex-wrap: wrap; } .sg-logo { order: 1; } .sg-cta { order: 2; padding: 10px 16px; } .sg-links { order: 3; } .sg-hero h1 { font-size: 40px; } }
.sg-about h2 { font-size: clamp(40px, 6vw, 72px); }

/* النموذج */
.sg-form { width: 100%; max-width: 760px; text-align: start; background: #fff; color: #0f172a; border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.sg-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: #334155; }
.sg-form input, .sg-form select, .sg-form textarea { font: inherit; font-weight: 400; color: #0f172a; background: #f8fafc; border: 1px solid #dbe3ee; border-radius: 14px; padding: 12px 14px; min-height: 46px; width: 100%; }
.sg-form textarea { resize: vertical; }
.sg-form input:focus, .sg-form select:focus, .sg-form textarea:focus { outline: 2px solid #1f6f95; outline-offset: 1px; background: #fff; }
.sg-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sg-form .sg-cta { align-self: flex-start; }
.sg-root .sg-form button.sg-cta-light, .sg-form .sg-cta-light { background: #0f172a !important; color: #fff !important; margin-top: 0; }
.sg-form-note { margin: 0 !important; font-size: 13px !important; color: #64748b !important; opacity: 1 !important; }
.sg-hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sg-flash { width: 100%; max-width: 760px; padding: 14px 18px; border-radius: 16px; font-size: 16px; text-align: start; }
.sg-ok { background: #e7f6ee; color: #14532d; }
.sg-bad { background: #fde8e8; color: #7f1d1d; }
@media (max-width: 860px) { .sg-row { grid-template-columns: 1fr; } .sg-form { padding: 20px; } }

/* الشعار */
.sg-root a.sg-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; line-height: 1; }
.sg-logo-icon { width: 52px; height: 52px; flex: none; display: block; }
.sg-logo-text { display: flex; flex-direction: column; align-items: stretch; gap: 4px; }
.sg-logo-name { display: flex; align-items: baseline; font-family: 'Ubuntu', 'Segoe UI', Arial, sans-serif; font-size: 25px; letter-spacing: .02em; white-space: nowrap; }
.sg-logo-mark { font-weight: 800; color: #0b1d33; letter-spacing: .02em; }
.sg-logo-gate { font-weight: 300; color: #2a8bb8; letter-spacing: .02em; }
.sg-logo-line { display: block; height: 2px; border-radius: 2px; background: linear-gradient(90deg, #2a8bb8, #6a5de0); }
.sg-logo-sub { align-self: center; font-family: 'Ubuntu', 'Segoe UI', Arial, sans-serif; font-size: 8.5px; letter-spacing: .3em; margin-inline-end: -.3em; color: #64748b; white-space: nowrap; }
@media (max-width: 860px) { .sg-logo-icon { width: 42px; height: 42px; } .sg-logo-name { font-size: 20px; } .sg-logo-sub { font-size: 7px; } }

/* صور الخدمات و"من نحن" (اختيارية). بدون صورة يظهر التصميم الأصلي. */
.sg-svc-art { position: relative; overflow: hidden; }
.sg-svc-art.has-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.sg-svc-art.has-img span { position: absolute; top: 14px; inset-inline-start: 18px; font-size: 20px; padding: 4px 12px; border-radius: 999px; background: rgba(11,29,51,.72); color: #fff; }
.sg-visual-img { padding: 0; overflow: hidden; background: #0d2c4d; }
.sg-visual-img img { width: 100%; height: 100%; min-height: inherit; object-fit: cover; display: block; }
@media (max-width: 860px) { .sg-svc-art.has-img { min-height: 220px; } }

/* ============================================================
   الإصدار 4: هوية جديدة (مسار وبوابة). تُحمَّل بعد ما سبق وتتجاوزه.
   الخطوط مستضافة محلياً في assets/fonts (رخصة OFL): لا طلبات خارجية.
   ============================================================ */
@font-face { font-family: 'Lalezar'; src: url('fonts/lalezar.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Cairo'; src: url('fonts/cairo.woff2') format('woff2'); font-weight: 200 1000; font-style: normal; font-display: swap; }
:root {
  --ink: #050f1b; --ink2: #0a1b30; --navy: #0e2a47; --teal: #22c3d6; --blue: #2a8bb8; --violet: #8b7dff; --amber: #ffb547; --mist: #f2f7fb;
  --f-display: 'Lalezar', 'Cairo', 'Noto Sans Arabic', Tahoma, sans-serif;
  --f-body: 'Cairo', 'Segoe UI', Tahoma, 'Noto Sans Arabic', system-ui, sans-serif;
}
html { scroll-behavior: smooth; }
.sg-root { font-family: var(--f-body); background: var(--mist); }
.sg-root h1, .sg-root h2, .sg-root h3, .sg-hero h1, .sg-about h2, .sg-h2-light, .sg-process h2, .sg-contact h2 { font-family: var(--f-display); font-weight: 400; }
.sg-nav { background: rgba(255,255,255,.86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(15,23,42,.06); }
.sg-links button { font-weight: 600; position: relative; transition: color .2s; }
.sg-links button::after { content: ""; position: absolute; inset-inline: 14px; bottom: 6px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--teal), var(--violet)); transform: scaleX(0); transition: transform .3s; }
.sg-links button:hover::after, .sg-links button.is-on::after { transform: scaleX(1); }
.sg-links button.is-on { color: #0a1b30; }
.sg-root button.sg-cta, .sg-cta { background: linear-gradient(120deg, #0a1b30, #14456b) !important; transition: transform .25s, box-shadow .25s; font-weight: 700; }
.sg-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -8px rgba(34,195,214,.55); }
.sg-cta span { display: inline-block; transition: transform .25s; }
.sg-cta:hover span { transform: translateX(-4px); }

/* الواجهة */
.sg-hero, .sg-contact { background: radial-gradient(1200px 700px at 80% 10%, rgba(139,125,255,.28), transparent 60%), radial-gradient(900px 600px at 10% 90%, rgba(34,195,214,.22), transparent 60%), linear-gradient(165deg, #050f1b 0%, #0a2038 55%, #0b2c4b 100%); }
.sg-grid { opacity: .22; }
.sg-glow { width: 720px; height: 720px; background: radial-gradient(circle, rgba(34,195,214,.22), transparent 62%); animation: sgBreath 9s ease-in-out infinite; }
.sg-hero-in { min-height: 760px; padding: 96px 20px 120px; z-index: 2; }
.sg-hero h1 { font-size: clamp(56px, 11vw, 150px); line-height: 1.2; text-shadow: 0 8px 40px rgba(0,0,0,.35); }
.sg-hero h1 span { background: linear-gradient(100deg, var(--amber), #ff8a5c 30%, var(--teal) 70%, var(--violet)); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: sgShift 8s ease-in-out infinite alternate; }
.sg-hero-sub { font-weight: 400; opacity: .9; max-width: 780px; }
.sg-badge { display: inline-flex; align-items: center; gap: 10px; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.22); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.sg-pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 0 rgba(255,181,71,.7); animation: sgPulse 2.2s infinite; }
.sg-chips span { background: rgba(255,255,255,.07); transition: transform .25s, background .25s, border-color .25s; }
.sg-chips span:hover { transform: translateY(-3px); background: rgba(34,195,214,.18); border-color: rgba(34,195,214,.6); }
.sg-scroll { animation: sgBob 2.4s ease-in-out infinite; }
.sg-trail { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .75; z-index: 1; pointer-events: none; }
.sg-trail-path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: sgDraw 3.6s .4s cubic-bezier(.6,0,.2,1) forwards; filter: drop-shadow(0 0 8px rgba(34,195,214,.6)); }
.sg-trail-gate { transform-origin: 940px 150px; animation: sgSpin 60s linear infinite; }
.sg-trail-gate.g2 { animation-duration: 90s; animation-direction: reverse; }
.sg-trail-dot { offset-path: path('M-40 760 C 200 640, 420 760, 560 600 S 760 420, 700 330 S 860 220, 940 150'); offset-distance: 0%; animation: sgTravel 7s 1s ease-in-out infinite; filter: drop-shadow(0 0 10px #ffb547); }
.sg-float { position: absolute; z-index: 1; display: block; pointer-events: none; border: 1.5px solid rgba(255,255,255,.22); background: linear-gradient(135deg, rgba(34,195,214,.22), rgba(139,125,255,.12)); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.sg-float.f1 { width: 120px; height: 120px; border-radius: 50%; top: 16%; inset-inline-start: 7%; animation: sgFloat 11s ease-in-out infinite; }
.sg-float.f2 { width: 74px; height: 74px; border-radius: 22px; top: 62%; inset-inline-start: 14%; transform: rotate(18deg); animation: sgFloat2 13s ease-in-out infinite; }
.sg-float.f3 { width: 160px; height: 160px; border-radius: 50%; bottom: 10%; inset-inline-end: 8%; animation: sgFloat 15s -4s ease-in-out infinite; opacity: .7; }
.sg-float.f4 { width: 46px; height: 46px; border-radius: 14px; top: 28%; inset-inline-end: 26%; transform: rotate(40deg); animation: sgFloat2 10s -2s ease-in-out infinite; background: linear-gradient(135deg, rgba(255,181,71,.4), rgba(255,138,92,.15)); }

/* من نحن */
.sg-about { padding-top: 120px; padding-bottom: 120px; }
.sg-tag { background: linear-gradient(120deg, #0a1b30, #14456b); font-weight: 600; padding: 9px 18px; }
.sg-about h2 { font-size: clamp(52px, 8vw, 104px); line-height: 1.15; background: linear-gradient(120deg, #0a1b30 30%, var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sg-lead { font-weight: 600; color: #0f2540; }
.sg-visual { background: radial-gradient(500px 300px at 20% 0%, rgba(34,195,214,.35), transparent 60%), linear-gradient(160deg, #0a1b30, #17538a); box-shadow: 0 40px 80px -40px rgba(10,27,48,.6); }
.sg-blocks b { animation: sgBlock 4.5s ease-in-out infinite; }
.sg-blocks b:nth-child(2) { animation-delay: .6s; } .sg-blocks b:nth-child(3) { animation-delay: 1.2s; }
.sg-cards { gap: 22px; perspective: 1000px; }
.sg-card { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(150deg, #0e2a47, #081a2f); border: 1px solid rgba(255,255,255,.1); border-radius: 28px; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0px)); transition: transform .28s cubic-bezier(.2,.8,.2,1), box-shadow .3s, border-color .3s; will-change: transform; touch-action: pan-y; box-shadow: 0 18px 40px -24px rgba(10,27,48,.7); }
.sg-card::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s; background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(34,195,214,.34), rgba(139,125,255,.14) 45%, transparent 70%); }
.sg-card::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; opacity: 0; transition: opacity .35s; padding: 1.5px; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.9), transparent 65%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.sg-card:hover, .sg-card.is-active { --ty: -8px; border-color: rgba(34,195,214,.5); box-shadow: 0 34px 70px -26px rgba(34,195,214,.5), 0 18px 40px -24px rgba(10,27,48,.8); }
.sg-card:hover::before, .sg-card.is-active::before, .sg-card:hover::after, .sg-card.is-active::after { opacity: 1; }
.sg-card-n { position: absolute; top: 10px; inset-inline-end: 22px; font-family: var(--f-display); font-size: 74px; line-height: 1; color: rgba(255,255,255,.06); transition: color .3s, transform .4s; z-index: -1; }
.sg-card:hover .sg-card-n, .sg-card.is-active .sg-card-n { color: rgba(34,195,214,.2); transform: scale(1.12); }
.sg-ico { background: linear-gradient(135deg, rgba(34,195,214,.35), rgba(139,125,255,.3)); transition: transform .4s cubic-bezier(.3,1.6,.5,1); }
.sg-card:hover .sg-ico, .sg-card.is-active .sg-ico { transform: rotate(-10deg) scale(1.12); }
.sg-card h3 { font-size: 26px; }
.sg-aud-row span { background: #fff; border: 1px solid #e2eaf2; transition: transform .25s, border-color .25s, box-shadow .25s; }
.sg-aud-row span:hover { transform: translateY(-3px); border-color: var(--teal); box-shadow: 0 10px 24px -14px rgba(34,195,214,.8); }
.sg-aud h3, .sg-reg-h { font-family: var(--f-display); font-weight: 400; }

/* الخدمات */
.sg-services { position: relative; overflow: hidden; background: radial-gradient(900px 500px at 90% 0%, rgba(139,125,255,.2), transparent 60%), radial-gradient(800px 500px at 0% 100%, rgba(34,195,214,.16), transparent 60%), #050f1b; padding: 130px 24px; }
.sg-services::before { content: ""; position: absolute; inset-inline-start: 50%; top: 0; bottom: 0; width: 2px; background: linear-gradient(180deg, transparent, rgba(34,195,214,.35) 20%, rgba(139,125,255,.35) 80%, transparent); }
.sg-wrap { position: relative; }
.sg-h2-light { font-size: clamp(48px, 8vw, 100px); line-height: 1.2; }
.sg-svc { position: relative; background: linear-gradient(150deg, #0e2a47, #0a1d34); border: 1px solid rgba(255,255,255,.08); border-radius: 32px; transition: box-shadow .4s, border-color .4s; }
.sg-svc:hover { border-color: rgba(34,195,214,.45); box-shadow: 0 40px 80px -40px rgba(34,195,214,.45); }
.sg-svc-art { background: radial-gradient(400px 260px at 30% 20%, rgba(255,181,71,.35), transparent 60%), linear-gradient(150deg, #1e8aa6, #4b45c4 85%); }
.sg-svc-art span { font-family: var(--f-display); font-size: 120px; font-weight: 400; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.sg-svc:hover .sg-svc-art span { transform: scale(1.1) rotate(-4deg); }
.sg-svc-art.has-img img { transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.sg-svc:hover .sg-svc-art.has-img img { transform: scale(1.06); }
.sg-svc-art.has-img span { font-size: 22px; transform: none !important; }
.sg-svc h3 { font-size: 38px; line-height: 1.3; }
.sg-svc-tag { color: var(--amber); font-weight: 700; }

/* أعمالنا */
.sg-projects { background: #fff; padding: 120px 24px; }
.sg-h2-dark { margin: 20px 0 8px; font-size: clamp(48px, 8vw, 96px); line-height: 1.2; background: linear-gradient(120deg, #0a1b30 30%, var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sg-projects-sub { color: #475569; font-size: 18px; margin: 0 0 48px; }
.sg-prj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.sg-prj { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 28px; overflow: hidden; background: linear-gradient(150deg, #0e2a47, #4b45c4); color: #fff; text-decoration: none; box-shadow: 0 20px 40px -26px rgba(10,27,48,.7); transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s; }
.sg-prj:hover { transform: translateY(-8px); box-shadow: 0 36px 60px -28px rgba(34,195,214,.6); }
.sg-prj img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2,.8,.2,1); }
.sg-prj:hover img { transform: scale(1.08); }
.sg-prj-ph { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--f-display); font-size: 120px; color: rgba(255,255,255,.35); }
.sg-prj-cap { position: absolute; inset: auto 0 0 0; padding: 60px 22px 20px; display: flex; flex-direction: column; gap: 6px; background: linear-gradient(0deg, rgba(5,15,27,.92), rgba(5,15,27,.55) 55%, transparent); }
.sg-prj-cap b { font-family: var(--f-display); font-weight: 400; font-size: 26px; line-height: 1.3; }
.sg-prj-cap em { font-style: normal; font-size: 14px; line-height: 1.55; color: #d6e4f3; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s, opacity .4s; }
.sg-prj:hover .sg-prj-cap em, .sg-prj:focus-visible .sg-prj-cap em { max-height: 120px; opacity: 1; }
@media (hover: none) { .sg-prj-cap em { max-height: 120px; opacity: 1; } }

/* كيف نعمل */
.sg-process { padding-top: 120px; padding-bottom: 120px; }
.sg-steps { position: relative; }
.sg-steps::before { content: ""; position: absolute; top: 50px; inset-inline: 12%; height: 3px; border-radius: 3px; background: repeating-linear-gradient(90deg, var(--teal) 0 14px, transparent 14px 26px); opacity: .55; }
.sg-step { position: relative; background: #fff; border: 1px solid #e2eaf2; transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s, border-color .35s; }
.sg-step:hover { transform: translateY(-8px); border-color: var(--teal); box-shadow: 0 24px 40px -26px rgba(34,195,214,.8); }
.sg-step span { background: linear-gradient(135deg, #0a1b30, #14609a); font-family: var(--f-display); font-size: 22px; box-shadow: 0 0 0 8px #fff; transition: transform .4s cubic-bezier(.3,1.6,.5,1); }
.sg-step:hover span { transform: scale(1.18) rotate(-8deg); }
.sg-contact h2 { font-size: clamp(44px, 7.5vw, 96px); line-height: 1.2; }
.sg-foot { background: #050f1b; color: #8aa0b8; }

/* الظهور عند التمرير (يعمل فقط لو JavaScript مفعّل) */
.js .rv { opacity: 0; transform: translateY(44px); transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }

@keyframes sgDraw { to { stroke-dashoffset: 0; } }
@keyframes sgTravel { 0% { offset-distance: 0%; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }
@keyframes sgSpin { to { transform: rotate(360deg); } }
@keyframes sgFloat { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(14px, -26px, 0); } }
@keyframes sgFloat2 { 0%, 100% { transform: translate3d(0, 0, 0) rotate(18deg); } 50% { transform: translate3d(-18px, 22px, 0) rotate(48deg); } }
@keyframes sgBreath { 0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: .9; } 50% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; } }
@keyframes sgShift { to { background-position: 100% 0; } }
@keyframes sgPulse { 70% { box-shadow: 0 0 0 12px rgba(255,181,71,0); } 100% { box-shadow: 0 0 0 0 rgba(255,181,71,0); } }
@keyframes sgBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
@keyframes sgBlock { 0%, 100% { transform: translateY(0); background: rgba(255,255,255,.14); } 50% { transform: translateY(-8px); background: rgba(34,195,214,.28); } }

@media (max-width: 860px) {
  .sg-hero-in { min-height: 620px; padding: 72px 16px 90px; }
  .sg-trail { opacity: .5; }
  .sg-float.f1 { width: 70px; height: 70px; } .sg-float.f3 { width: 100px; height: 100px; } .sg-float.f2, .sg-float.f4 { display: none; }
  .sg-about, .sg-process, .sg-projects { padding-top: 72px; padding-bottom: 72px; }
  .sg-services { padding: 80px 16px; }
  .sg-services::before, .sg-steps::before { display: none; }
  .sg-prj-grid { grid-template-columns: 1fr; }
  .sg-svc h3 { font-size: 30px; }
  .sg-svc-art span { font-size: 84px; }
  .sg-card-n { font-size: 56px; }
}
@media (min-width: 861px) and (max-width: 1100px) { .sg-prj-grid { grid-template-columns: repeat(2, 1fr); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .rv { opacity: 1; transform: none; }
  .sg-trail-path { stroke-dashoffset: 0; }
  .sg-trail-dot { display: none; }
  .sg-card { transform: none !important; }
}
.sg-links button { white-space: nowrap; }

/* من نحن: وسائط + إحصائيات اختيارية */
.sg-about-media { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.sg-about-media .sg-visual { min-height: 0; aspect-ratio: 4 / 3; flex: none; }
.sg-about-media .sg-visual:not(.sg-visual-img) { aspect-ratio: auto; min-height: 340px; }
.sg-visual-img img { position: relative; height: 100%; }
.sg-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.sg-stat { background: #fff; border: 1px solid #e2eaf2; border-radius: 22px; padding: 18px 14px; text-align: center; transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s, border-color .35s; }
.sg-stat:hover { transform: translateY(-5px); border-color: var(--teal); box-shadow: 0 20px 34px -24px rgba(34,195,214,.9); }
.sg-stat b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 44px; line-height: 1.2; background: linear-gradient(120deg, #0a1b30, var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sg-stat span { display: block; margin-top: 2px; font-size: 14px; font-weight: 600; color: #475569; }
@media (max-width: 860px) { .sg-stats { gap: 10px; } .sg-stat { padding: 14px 8px; border-radius: 18px; } .sg-stat b { font-size: 34px; } .sg-stat span { font-size: 12px; } }

/* ===== v5: صفحات متعددة، الباقات، الحاسبة ===== */
.sg-links a { padding: 8px 14px; font-size: 14px; font-weight: 600; color: #334155; border-radius: 8px; min-height: 44px; display: inline-flex; align-items: center; position: relative; text-decoration: none; transition: color .2s; white-space: nowrap; }
.sg-links a::after { content: ""; position: absolute; inset-inline: 14px; bottom: 6px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--teal), var(--violet)); transform: scaleX(0); transition: transform .3s; }
.sg-links a:hover::after, .sg-links a.is-on::after { transform: scaleX(1); }
.sg-links a.is-on { color: #0a1b30; }
.sg-links a:focus-visible, .sg-cta:focus-visible, .sg-btn-solid:focus-visible, .sg-btn-gold:focus-visible, .sg-btn-ghost:focus-visible, .sg-opt input:focus-visible + span, .sg-wa:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
a.sg-cta { text-decoration: none; }
@media (max-width: 860px) { .sg-links a { padding: 8px 10px; } }
.sg-nav { position: sticky; top: 0; z-index: 50; }

.sg-btn-solid, .sg-btn-gold, .sg-btn-ghost { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 26px; border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none; transition: transform .25s, box-shadow .25s, background .25s; border: 1.5px solid transparent; cursor: pointer; font-family: inherit; }
.sg-btn-solid { background: linear-gradient(120deg, #0a1b30, #14456b); color: #fff; }
.sg-btn-solid:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(10,27,48,.6); }
.sg-btn-gold { background: linear-gradient(120deg, #ffb547, #ffcf7a); color: #3a2300; }
.sg-btn-gold:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(255,181,71,.7); }
.sg-btn-ghost { background: transparent; color: #0a1b30; border-color: rgba(10,27,48,.25); }
.sg-btn-ghost:hover { border-color: #0a1b30; transform: translateY(-2px); }
.sg-btn-onDark { color: #fff; border-color: rgba(255,255,255,.35); }
.sg-btn-onDark:hover { border-color: #fff; }
.sg-btn-solid span, .sg-btn-gold span { transition: transform .25s; }
.sg-btn-solid:hover span, .sg-btn-gold:hover span { transform: translateX(-4px); }

.sg-page-hero { position: relative; overflow: hidden; background: linear-gradient(160deg, #050f1b, #0e2a47 70%, #14456b); color: #fff; padding: 84px 24px 72px; text-align: center; }
.sg-page-hero-in { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.sg-page-hero h1 { margin: 0; font-size: clamp(40px, 7vw, 76px); line-height: 1.25; }
.sg-page-hero p { margin: 0; font-size: 18px; color: #bcd0e4; line-height: 1.8; max-width: 620px; }
.sg-page-hero .sg-grid { position: absolute; inset: 0; opacity: .5; }

.sg-pricenote { display: flex; gap: 10px; align-items: center; justify-content: center; margin: 28px auto 0; max-width: 720px; padding: 10px 18px; border-radius: 12px; background: #fff7e8; border: 1px dashed #e0a43a; color: #7a4d00; font-size: 14px; font-weight: 600; }
.sg-pricenote span { display: inline-grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 50%; background: #ffb547; color: #3a2300; font-weight: 800; font-size: 13px; }

.sg-pk { padding-bottom: 0; }
.sg-pk .sg-wrap { padding: 0 24px; }
.sg-pk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; padding: 40px 0 8px; }
.sg-pkc { position: relative; display: flex; flex-direction: column; gap: 14px; background: #fff; border: 1px solid rgba(10,27,48,.1); border-radius: 22px; padding: 34px 28px 28px; transition: transform .3s, box-shadow .3s, border-color .3s; }
.sg-pkc:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -24px rgba(10,27,48,.35); border-color: rgba(34,195,214,.5); }
.sg-pkc.is-featured { background: linear-gradient(170deg, #0a1b30, #0e2a47 80%); color: #fff; border-color: var(--amber); box-shadow: 0 30px 60px -26px rgba(10,27,48,.7); transform: translateY(-14px); }
.sg-pkc.is-featured:hover { transform: translateY(-20px); }
.sg-pkc h2 { margin: 0; font-size: 34px; line-height: 1.3; }
.sg-pkc-tag { margin: 0; color: #5a6f86; font-size: 15px; line-height: 1.7; min-height: 3.4em; }
.is-featured .sg-pkc-tag { color: #b5c8dc; }
.sg-ribbon { position: absolute; top: -14px; inset-inline-start: 24px; background: linear-gradient(120deg, #ffb547, #ffcf7a); color: #3a2300; font-weight: 800; font-size: 13px; padding: 6px 16px; border-radius: 999px; box-shadow: 0 8px 18px -8px rgba(255,181,71,.8); }
.sg-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; padding: 14px 0; border-block: 1px solid rgba(10,27,48,.1); }
.is-featured .sg-price { border-color: rgba(255,255,255,.16); }
.sg-price small { font-size: 14px; color: #5a6f86; }
.is-featured .sg-price small { color: #b5c8dc; }
.sg-price b { font-family: var(--f-display); font-weight: 400; font-size: 52px; line-height: 1; }
.sg-price em { font-style: normal; font-size: 15px; font-weight: 700; color: #14456b; }
.is-featured .sg-price em { color: var(--amber); }
.sg-x { display: inline-block; padding: 0 .35em; border-radius: 8px; background: repeating-linear-gradient(135deg, rgba(255,181,71,.28) 0 6px, rgba(255,181,71,.12) 6px 12px); color: #8a5a00; font-weight: 800; }
.is-featured .sg-x { color: #ffd68a; }
.sg-pkc-meta { margin: 0; display: grid; gap: 8px; }
.sg-pkc-meta div { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.sg-pkc-meta dt { color: #5a6f86; }
.is-featured .sg-pkc-meta dt { color: #b5c8dc; }
.sg-pkc-meta dd { margin: 0; font-weight: 700; }
.sg-pkc-list { list-style: none; margin: 4px 0 8px; padding: 0; display: grid; gap: 10px; flex: 1; }
.sg-pkc-list li { position: relative; padding-inline-start: 28px; line-height: 1.7; font-size: 15px; }
.sg-pkc-list li::before { content: "✓"; position: absolute; inset-inline-start: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; background: rgba(34,195,214,.16); color: #0b7c8b; }
.is-featured .sg-pkc-list li::before { background: rgba(255,181,71,.2); color: var(--amber); }

.sg-guar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 56px 0 0; background: #0a1b30; color: #fff; border-radius: 20px; overflow: hidden; }
.sg-guar div { display: flex; flex-direction: column; gap: 6px; padding: 26px 24px; border-inline-start: 1px solid rgba(255,255,255,.1); }
.sg-guar div:first-child { border-inline-start: 0; }
.sg-guar i { font-style: normal; color: var(--amber); font-size: 18px; }
.sg-guar b { font-size: 17px; }
.sg-guar span { font-size: 14px; color: #b5c8dc; line-height: 1.7; }

.sg-cmp, .sg-faq { margin-top: 64px; }
.sg-cmp .sg-h2-dark, .sg-faq .sg-h2-dark, .sg-svc-mini .sg-h2-dark { margin-top: 0; font-size: clamp(36px, 5vw, 56px); }
.sg-cmp-scroll { overflow-x: auto; border-radius: 18px; border: 1px solid rgba(10,27,48,.1); background: #fff; -webkit-overflow-scrolling: touch; }
.sg-cmp table { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 620px; }
.sg-cmp th, .sg-cmp td { padding: 16px 18px; text-align: center; font-size: 15px; border-bottom: 1px solid rgba(10,27,48,.08); }
.sg-cmp thead th { background: #0a1b30; color: #fff; font-weight: 700; font-size: 16px; }
.sg-cmp thead th.is-f { background: linear-gradient(120deg, #ffb547, #ffcf7a); color: #3a2300; }
.sg-cmp tbody th { text-align: start; font-weight: 600; background: #fff; position: sticky; inset-inline-start: 0; z-index: 1; min-width: 160px; }
.sg-cmp tbody tr:last-child th, .sg-cmp tbody tr:last-child td { border-bottom: 0; }
.sg-cmp td.is-f { background: #fff8ea; font-weight: 600; }
.sg-yes { color: #0b9a76; font-weight: 800; font-size: 18px; }
.sg-no { color: #a3b1c1; font-weight: 700; }

.sg-faq details { background: #fff; border: 1px solid rgba(10,27,48,.1); border-radius: 14px; margin-bottom: 12px; padding: 0 22px; transition: border-color .2s; }
.sg-faq details[open] { border-color: rgba(34,195,214,.6); }
.sg-faq summary { cursor: pointer; padding: 18px 0; font-weight: 700; font-size: 16px; list-style: none; display: flex; justify-content: space-between; gap: 12px; align-items: center; min-height: 44px; }
.sg-faq summary::-webkit-details-marker { display: none; }
.sg-faq summary::after { content: "+"; font-size: 24px; color: #14456b; transition: transform .25s; flex: none; }
.sg-faq details[open] summary::after { transform: rotate(45deg); }
.sg-faq details p { margin: 0 0 18px; color: #475b72; line-height: 1.9; }

.sg-band { margin: 72px 0 0; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding: 56px max(24px, calc((100% - 1092px) / 2)); background: linear-gradient(150deg, #050f1b, #0e2a47 75%, #14456b); color: #fff; }
.sg-band h2 { margin: 0 0 6px; font-size: clamp(32px, 4.5vw, 50px); }
.sg-band p { margin: 0; color: #b5c8dc; font-size: 17px; }
.sg-band-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* الحاسبة */
.sg-calc-wrap { padding: 0 24px 80px; }
.sg-calc { display: grid; grid-template-columns: 1fr 380px; gap: 28px; align-items: start; margin-top: 36px; }
.sg-calc-form { display: grid; gap: 20px; }
.sg-step-box { margin: 0; padding: 26px 26px 28px; background: #fff; border: 1px solid rgba(10,27,48,.1); border-radius: 20px; min-width: 0; }
.sg-step-box legend { padding: 0 10px; font-family: var(--f-display); font-size: 26px; color: #0a1b30; }
.sg-type-grid, .sg-extra-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.sg-opt { position: relative; display: block; cursor: pointer; }
.sg-opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; margin: 0; }
.sg-opt span { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 14px 18px; border-radius: 14px; border: 1.5px solid rgba(10,27,48,.14); background: #f7fafd; font-weight: 600; transition: border-color .2s, background .2s, transform .2s, box-shadow .2s; }
.sg-opt span::before { content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #9db0c4; transition: .2s; }
.sg-chk span::before { border-radius: 6px; }
.sg-opt:hover span { border-color: var(--teal); transform: translateY(-2px); }
.sg-opt input:checked + span { border-color: #14456b; background: #eaf6fb; box-shadow: 0 10px 22px -14px rgba(20,69,107,.7); }
.sg-opt input:checked + span::before { border-color: #14456b; background: #14456b; box-shadow: inset 0 0 0 3px #eaf6fb; }
.sg-chk input:checked + span::before { box-shadow: none; content: "✓"; color: #fff; font-size: 13px; display: grid; place-items: center; font-weight: 800; }
.sg-pages-row { display: flex; align-items: center; gap: 18px; }
.sg-pages-row input[type=range] { flex: 1; accent-color: #14456b; height: 44px; }
.sg-pages-row output { min-width: 64px; text-align: center; font-family: var(--f-display); font-size: 36px; color: #14456b; }
.sg-hint { margin: 8px 0 0; font-size: 13px; color: #5a6f86; }
.sg-calc-result { position: sticky; top: 112px; display: flex; flex-direction: column; gap: 10px; padding: 30px 28px; border-radius: 24px; background: linear-gradient(170deg, #0a1b30, #0e2a47 85%); color: #fff; border: 1px solid rgba(255,181,71,.5); box-shadow: 0 30px 60px -28px rgba(10,27,48,.8); }
.sg-res-tag { align-self: flex-start; padding: 5px 14px; border-radius: 999px; background: rgba(255,181,71,.18); color: var(--amber); font-weight: 700; font-size: 13px; }
.sg-res-k { margin-top: 8px; font-size: 13px; color: #9fb6cd; }
.sg-res-price { font-family: var(--f-display); font-size: 40px; line-height: 1.25; color: #fff; }
.sg-res-dur { font-family: var(--f-display); font-size: 30px; color: var(--teal); }
.sg-res-list { list-style: none; margin: 8px 0; padding: 14px 0 0; border-top: 1px solid rgba(255,255,255,.14); display: grid; gap: 6px; font-size: 14px; color: #cfe0f0; }
.sg-res-list li::before { content: "◈ "; color: var(--amber); }
.sg-res-note { margin: 4px 0 0; font-size: 12.5px; color: #9fb6cd; line-height: 1.7; }
.sg-empty { text-align: center; padding: 40px 0; color: #475b72; }

/* الرئيسية */
.sg-teaser { padding: 72px 24px 24px; }
.sg-teaser-in { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding: 40px; border-radius: 24px; background: #fff; border: 1px solid rgba(10,27,48,.1); }
.sg-teaser-in h2 { margin: 12px 0 4px; font-size: clamp(32px, 4vw, 46px); }
.sg-teaser-in p { margin: 0; color: #475b72; }
.sg-teaser-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.sg-pillars-home { padding: 56px 24px 0; }
.sg-pill-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sg-pill { background: #fff; border: 1px solid rgba(10,27,48,.1); border-radius: 20px; padding: 28px; }
.sg-pill i { font-style: normal; color: #14456b; font-size: 22px; }
.sg-pill h3 { margin: 10px 0 6px; font-size: 26px; }
.sg-pill p { margin: 0; color: #475b72; line-height: 1.8; }
.sg-svc-mini { padding: 56px 24px 24px; }
.sg-mini-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 18px; }
.sg-mini { display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: 16px; background: #0a1b30; color: #fff; text-decoration: none; transition: transform .25s, box-shadow .25s; }
.sg-mini:hover { transform: translateY(-4px); box-shadow: 0 18px 34px -18px rgba(10,27,48,.8); }
.sg-mini b { font-size: 18px; }
.sg-mini span { font-size: 14px; color: #9fb6cd; }

.sg-foot { display: flex; flex-direction: column; gap: 14px; align-items: center; }
.sg-foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; }
.sg-foot-links a { color: #b5c8dc; text-decoration: none; font-size: 14px; padding: 8px 4px; }
.sg-foot-links a:hover { color: var(--amber); }
.sg-contact-page { padding-top: 64px; }
.sg-h1-in { margin: 0 0 8px; font-size: clamp(36px, 6vw, 60px); }
.sg-wa-line { margin: 18px 0 0; }

.sg-wa { position: fixed; inset-inline-start: 18px; bottom: 18px; z-index: 60; display: inline-flex; align-items: center; gap: 10px; background: #1faa59; color: #fff; text-decoration: none; font-weight: 700; padding: 12px 18px; border-radius: 999px; box-shadow: 0 14px 30px -10px rgba(31,170,89,.8); transition: transform .25s; min-height: 48px; }
.sg-wa:hover { transform: translateY(-3px); }

@media (max-width: 980px) {
  .sg-pk-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .sg-pkc.is-featured, .sg-pkc.is-featured:hover { transform: none; }
  .sg-guar { grid-template-columns: repeat(2, 1fr); }
  .sg-guar div:nth-child(3) { border-inline-start: 0; }
  .sg-guar div:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.1); }
  .sg-calc { grid-template-columns: 1fr; }
  .sg-calc-result { position: static; }
  .sg-pill-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .sg-page-hero { padding: 56px 20px 48px; }
  .sg-type-grid, .sg-extra-grid { grid-template-columns: 1fr; }
  .sg-guar { grid-template-columns: 1fr; }
  .sg-guar div { border-inline-start: 0; border-top: 1px solid rgba(255,255,255,.1); }
  .sg-guar div:first-child { border-top: 0; }
  .sg-pkc h2 { font-size: 30px; }
  .sg-step-box { padding: 20px 16px 22px; }
  .sg-wa span { display: none; }
  .sg-wa { padding: 14px; }
  .sg-teaser-in { padding: 26px 20px; }
  .sg-pk .sg-wrap, .sg-calc-wrap { padding-inline: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .sg-pkc, .sg-opt span, .sg-btn-solid, .sg-btn-gold, .sg-btn-ghost, .sg-mini, .sg-wa { transition: none; }
}

/* v5.1: الباقات مجمّعة حسب نوع العميل */
.sg-grp-h { margin: 48px 0 0; font-size: clamp(30px, 4vw, 44px); color: #0a1b30; display: flex; align-items: center; gap: 14px; }
.sg-grp-h::after { content: ""; flex: 1; height: 2px; background: linear-gradient(90deg, rgba(10,27,48,.18), transparent); }
.sg-pk-grid { grid-template-columns: repeat(2, 1fr); padding-top: 22px; }
.sg-pkc.is-featured, .sg-pkc.is-featured:hover { transform: none; }
.sg-pkc h3 { margin: 0; font-size: 30px; line-height: 1.3; }
.sg-pkc-tag { min-height: 0; }
.sg-pkc-list { grid-template-columns: 1fr; }
.sg-cmp th, .sg-cmp td { font-size: 14.5px; }
@media (max-width: 980px) { .sg-pk-grid { grid-template-columns: 1fr; max-width: 560px; } }

/* v5.2: مدة الاشتراك */
.sg-bill { margin: 34px auto 0; max-width: 720px; text-align: center; }
.sg-bill-t { font-family: var(--f-display); font-size: 26px; color: #0a1b30; margin-bottom: 10px; }
.sg-bill-opts { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.sg-pill-opt { position: relative; cursor: pointer; }
.sg-pill-opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.sg-pill-opt span { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 10px 22px; border-radius: 999px; border: 1.5px solid rgba(10,27,48,.18); background: #fff; font-weight: 700; transition: .2s; }
.sg-pill-opt em { font-style: normal; font-size: 12px; background: rgba(255,181,71,.25); color: #7a4d00; padding: 2px 8px; border-radius: 999px; }
.sg-pill-opt:hover span { border-color: var(--teal); }
.sg-pill-opt input:checked + span { background: #0a1b30; color: #fff; border-color: #0a1b30; }
.sg-pill-opt input:checked + span em { background: var(--amber); color: #3a2300; }
.sg-pill-opt input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 2px; }
.sg-bill-n { margin: 10px 0 0; font-size: 13.5px; color: #5a6f86; }
.sg-price-sub { min-height: 1.6em; margin-top: -4px; font-size: 13.5px; font-weight: 700; color: #0b7c8b; }
.is-featured .sg-price-sub { color: var(--amber); }
.sg-res-sub { font-size: 14px; color: #cfe0f0; }
.sg-res-save { font-size: 14px; font-weight: 700; color: var(--amber); }
.sg-calc-form .sg-bill-opts { justify-content: flex-start; }
.sg-calc-form .sg-pill-opt span { background: #f7fafd; }
.sg-calc-form .sg-pill-opt input:checked + span { background: #0a1b30; }
