/* ============================================================
   Gap360 — الهوية العامة (كحلي + ذهبي)
   ============================================================ */
:root {
  --navy-950: #071224;
  --navy-900: #0b1e36;
  --navy-800: #0e2a47;
  --navy-700: #14385e;
  --navy-600: #1c4674;
  --gold-600: #b08d1e;
  --gold-500: #c9a227;
  --gold-400: #dfc060;
  --gold-100: #f7efd4;
  --ink: #152238;
  --muted: #5c6b82;
  --paper: #f6f8fb;
  --card: #ffffff;
  --line: #e3e8f0;
  --radius: 16px;
  --shadow: 0 22px 45px -22px rgba(11, 30, 54, 0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Tajawal", "Segoe UI", Tahoma, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.8;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
svg { width: 24px; height: 24px; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- الهيدر ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(246, 248, 251, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; padding-top: 12px; padding-bottom: 12px;
}

.brand { display: flex; flex-direction: column; line-height: 1.2; }

.brand-mark {
  font-size: 24px; font-weight: 800; color: var(--navy-800); letter-spacing: 0.3px;
}
.brand-mark b { color: var(--gold-500); font-weight: 800; }
.brand-mark.light { color: #fff; font-size: 26px; }

.brand-sub { font-size: 11px; color: var(--muted); font-weight: 500; }

.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a { font-size: 15px; font-weight: 500; color: var(--navy-800); padding: 6px 0; }
.main-nav a:hover { color: var(--gold-600); }

.header-actions { display: flex; align-items: center; gap: 14px; }

.lang-switch {
  font-size: 13.5px; font-weight: 700; color: var(--navy-700);
  border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px;
  background: #fff;
}
.lang-switch:hover { border-color: var(--gold-500); color: var(--gold-600); }

/* ---------- الأزرار ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 30px; border-radius: 999px; font-weight: 700; font-size: 15.5px;
  font-family: inherit; border: 1px solid transparent; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn svg { width: 18px; height: 18px; }
.btn-sm { padding: 9px 20px; font-size: 14px; }

.btn-primary {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  color: var(--navy-950);
  box-shadow: 0 12px 26px -12px rgba(201, 162, 39, 0.65);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -12px rgba(201, 162, 39, 0.8); }

.btn-outline { border-color: rgba(255,255,255,0.45); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,0.1); }

.btn-navy { background: var(--navy-800); color: #fff; }
.btn-navy:hover { background: var(--navy-700); transform: translateY(-2px); }

/* ---------- الهيرو ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(90% 120% at 85% -20%, var(--navy-600) 0%, transparent 55%),
    radial-gradient(120% 150% at 10% 110%, #123252 0%, transparent 50%),
    linear-gradient(160deg, var(--navy-800) 0%, var(--navy-950) 80%);
}

.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,0.07) 1px, transparent 0);
  background-size: 34px 34px;
  mask-image: radial-gradient(70% 70% at 60% 40%, #000 0%, transparent 100%);
}

.hero .container {
  display: grid; grid-template-columns: 1.15fr 0.85fr; align-items: center;
  gap: 48px; padding-top: 84px; padding-bottom: 84px; position: relative;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(201, 162, 39, 0.14); border: 1px solid rgba(201, 162, 39, 0.45);
  color: var(--gold-400); font-size: 13px; font-weight: 700;
  padding: 7px 18px; border-radius: 999px; margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(28px, 4vw, 44px); line-height: 1.4;
  margin: 0 0 20px; font-weight: 800;
}
.hero h1 span { color: var(--gold-400); }

.hero p.lead {
  font-size: 17px; color: rgba(255,255,255,0.82); max-width: 580px; margin: 0 0 34px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* رسم 360 الدائري */
.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; min-height: 380px; }

.orbit {
  position: relative; width: min(370px, 88%); aspect-ratio: 1;
  border-radius: 50%;
  border: 1.5px dashed rgba(223, 192, 96, 0.4);
  display: flex; align-items: center; justify-content: center;
  animation: none;
}

.orbit-core {
  width: 62%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, rgba(223,192,96,0.28), rgba(223,192,96,0.04) 62%),
              linear-gradient(150deg, var(--navy-700), var(--navy-900));
  border: 1px solid rgba(223, 192, 96, 0.5);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: 0 30px 60px -25px rgba(0,0,0,0.6);
}

.orbit-core .g { font-size: 26px; font-weight: 800; color: #fff; letter-spacing: 0.5px; }
.orbit-core .g b { color: var(--gold-400); }
.orbit-core .d { font-size: 44px; font-weight: 800; color: var(--gold-400); line-height: 1.1; }
.orbit-core .s { font-size: 12px; color: rgba(255,255,255,0.65); }

.orbit-chip {
  position: absolute; background: #fff; color: var(--navy-800);
  font-size: 12.5px; font-weight: 700; padding: 7px 15px; border-radius: 999px;
  box-shadow: 0 10px 25px -10px rgba(0,0,0,0.45); white-space: nowrap;
}
.orbit-chip.c1 { top: -4%; inset-inline-start: 30%; }
.orbit-chip.c2 { top: 22%; inset-inline-end: -12%; }
.orbit-chip.c3 { bottom: 14%; inset-inline-end: -8%; background: var(--gold-500); color: var(--navy-950); }
.orbit-chip.c4 { bottom: -4%; inset-inline-start: 24%; }
.orbit-chip.c5 { top: 30%; inset-inline-start: -13%; }

/* ---------- شريط الأرقام ---------- */
.stats { background: var(--navy-900); border-top: 1px solid rgba(255,255,255,0.06); }
.stats .container {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 32px 24px;
}
.stat-item { text-align: center; color: #fff; }
.stat-item .num { font-size: 32px; font-weight: 800; color: var(--gold-400); display: block; line-height: 1.3; }
.stat-item .label { font-size: 13px; color: rgba(255,255,255,0.72); }

/* ---------- الأقسام المشتركة ---------- */
section { padding: 90px 0; }

.section-head { max-width: 700px; margin: 0 auto 54px; text-align: center; }
.section-tag {
  display: inline-block; color: var(--gold-600); font-weight: 800; font-size: 13px;
  letter-spacing: 0.5px; margin-bottom: 10px;
}
.section-head h2 { font-size: clamp(24px, 3vw, 34px); margin: 0 0 14px; color: var(--navy-900); font-weight: 800; }
.section-head p { color: var(--muted); font-size: 16px; margin: 0; }

/* ---------- الخدمات الأربع ---------- */
.services { background: #fff; }

.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.service-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 24px; position: relative; overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }

.service-card .num {
  position: absolute; top: 14px; inset-inline-end: 18px;
  font-size: 46px; font-weight: 800; color: rgba(11,30,54,0.06); line-height: 1;
}

.service-card .icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--navy-800); color: var(--gold-400);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.service-card .icon svg { width: 26px; height: 26px; }

.service-card h3 { font-size: 16.5px; margin: 0 0 10px; color: var(--navy-900); line-height: 1.55; }
.service-card p { font-size: 13.8px; color: var(--muted); margin: 0; }

/* ---------- المسارات ---------- */
.tracks { background: var(--paper); }

.track-cat { margin-bottom: 46px; }
.track-cat:last-child { margin-bottom: 0; }

.track-cat-head {
  display: flex; align-items: center; gap: 14px; margin-bottom: 22px;
}
.track-cat-head h3 { font-size: 20px; color: var(--navy-900); margin: 0; font-weight: 800; }
.track-cat-head .line { flex: 1; height: 1px; background: var(--line); }
.track-cat-head .count {
  font-size: 12.5px; font-weight: 700; color: var(--gold-600);
  background: var(--gold-100); border-radius: 999px; padding: 4px 14px;
}

.tracks-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.track-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 20px; display: flex; align-items: flex-start; gap: 14px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.track-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(201,162,39,0.55); }

.track-card .t-icon {
  flex: none; width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.track-card .t-icon svg { width: 22px; height: 22px; }

.track-card.awards .t-icon { background: rgba(201,162,39,0.14); color: var(--gold-600); }
.track-card.iso .t-icon { background: rgba(14,42,71,0.08); color: var(--navy-700); }
.track-card.practices .t-icon { background: rgba(23,101,77,0.1); color: #17654d; }

.track-card h4 { font-size: 14.5px; margin: 2px 0 0; color: var(--navy-900); line-height: 1.6; font-weight: 700; }

/* قسم الجوائز مع البورتريه */
.awards-flag {
  display: grid; grid-template-columns: 0.9fr 2.1fr; gap: 24px; align-items: stretch;
  margin-bottom: 22px;
}

.portrait-card {
  background: linear-gradient(160deg, var(--navy-800), var(--navy-950));
  border-radius: var(--radius); padding: 26px 22px 20px; color: #fff;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  border: 1px solid rgba(223,192,96,0.35); position: relative; overflow: hidden;
}
.portrait-card img {
  width: 72%; max-width: 200px; border-radius: 12px;
  filter: drop-shadow(0 14px 24px rgba(0,0,0,0.4));
  margin-bottom: 16px;
}
.portrait-card .cap { font-size: 13.5px; font-weight: 700; color: var(--gold-400); }

.awards-note {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; display: flex; flex-direction: column; justify-content: center; gap: 18px;
}
.awards-note p { margin: 0; font-size: 15.5px; color: var(--ink); }

/* ---------- كيف نعمل ---------- */
.how { background: #fff; }

.how-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }

.how-step { padding: 10px 22px; position: relative; text-align: center; }

.how-step::after {
  content: ""; position: absolute; top: 33px; inset-inline-start: calc(50% + 40px);
  width: calc(100% - 80px); height: 2px;
  background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 16px);
}
.how-step:last-child::after { display: none; }

.how-step .step-num {
  width: 66px; height: 66px; margin: 0 auto 18px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--gold-500);
  color: var(--navy-900); font-size: 22px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 1;
}

.how-step h3 { font-size: 16.5px; margin: 0 0 8px; color: var(--navy-900); }
.how-step p { font-size: 13.8px; color: var(--muted); margin: 0; }

/* ---------- الدعوة الختامية ---------- */
.cta-wrap { padding-top: 0; }

.cta {
  background:
    radial-gradient(80% 130% at 90% -20%, var(--navy-600) 0%, transparent 55%),
    linear-gradient(150deg, var(--navy-800), var(--navy-950));
  color: #fff; text-align: center; border-radius: 26px;
  padding: 64px 32px; position: relative; overflow: hidden;
  border: 1px solid rgba(223,192,96,0.25);
}

.cta h2 { font-size: clamp(22px, 3vw, 32px); margin: 0 0 14px; font-weight: 800; }
.cta p { color: rgba(255,255,255,0.8); max-width: 560px; margin: 0 auto 30px; font-size: 15.5px; }

/* ---------- الفوتر ---------- */
.site-footer { background: var(--navy-950); color: rgba(255,255,255,0.72); padding: 54px 0 26px; }

.footer-grid {
  display: flex; justify-content: space-between; align-items: flex-start;
  flex-wrap: wrap; gap: 30px; padding-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-note { font-size: 13.5px; color: rgba(255,255,255,0.55); max-width: 460px; margin: 10px 0 0; }

.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { font-size: 14px; color: rgba(255,255,255,0.72); }
.footer-nav a:hover { color: var(--gold-400); }

.footer-bottom { padding-top: 22px; text-align: center; font-size: 12.5px; color: rgba(255,255,255,0.45); }
.footer-bottom .disclaimer { margin: 0 0 8px; color: rgba(255,255,255,0.55); }
.footer-bottom p { margin: 0; }

/* ============================================================
   صفحات النماذج (طلب / تتبع / شكر)
   ============================================================ */
.page-hero {
  background: linear-gradient(150deg, var(--navy-800), var(--navy-950));
  color: #fff; padding: 52px 0; text-align: center;
}
.page-hero h1 { font-size: clamp(24px, 3vw, 34px); margin: 0 0 10px; font-weight: 800; }
.page-hero p { color: rgba(255,255,255,0.78); margin: 0 auto; max-width: 620px; font-size: 15.5px; }

.form-wrap { padding: 56px 0 90px; }

.form-card {
  max-width: 780px; margin: 0 auto; background: #fff;
  border: 1px solid var(--line); border-radius: 20px;
  padding: 40px; box-shadow: 0 20px 50px -35px rgba(11,30,54,0.35);
}

.form-section { margin-bottom: 36px; }
.form-section:last-of-type { margin-bottom: 0; }

.form-section > h2 {
  font-size: 17px; color: var(--navy-900); margin: 0 0 18px;
  display: flex; align-items: center; gap: 10px; font-weight: 800;
}
.form-section > h2 .n {
  width: 30px; height: 30px; border-radius: 9px; flex: none;
  background: var(--navy-800); color: var(--gold-400);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px;
}

label.f-label { display: block; font-size: 14.5px; font-weight: 700; color: var(--navy-900); margin-bottom: 8px; }
label.f-label .req { color: #c0392b; }

.hint { font-size: 12.5px; color: var(--muted); margin-top: 6px; }

input[type="text"], input[type="email"], input[type="number"], input[type="tel"],
select, textarea {
  width: 100%; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px;
  font-family: inherit; font-size: 15px; color: var(--ink); background: var(--paper);
  transition: border-color .15s ease, box-shadow .15s ease;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(201,162,39,0.18); background: #fff;
}
textarea { min-height: 110px; resize: vertical; }

.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.f-field { margin-bottom: 20px; }

/* بطاقات الاختيار (نوع الخدمة / القطاع) */
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choice-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }

.choice-card { position: relative; }
.choice-card input { position: absolute; opacity: 0; pointer-events: none; }

.choice-card .box {
  display: block; border: 1.5px solid var(--line); border-radius: 12px;
  background: var(--paper); padding: 14px 16px; cursor: pointer;
  font-size: 14px; font-weight: 700; color: var(--navy-900);
  transition: all .15s ease; text-align: center; line-height: 1.6;
}
.choice-card .box:hover { border-color: var(--gold-500); }
.choice-card input:checked + .box {
  border-color: var(--gold-500); background: var(--gold-100);
  box-shadow: 0 0 0 3px rgba(201,162,39,0.15);
}

/* صفوف الفروع */
.branches-rows { display: grid; gap: 10px; margin-top: 14px; }
.branch-row { display: grid; grid-template-columns: 2fr 1fr; gap: 10px; }

/* المرفقات */
.file-field {
  border: 1.5px dashed var(--line); border-radius: 12px; padding: 18px;
  background: var(--paper); transition: border-color .15s ease;
}
.file-field:hover { border-color: var(--gold-500); }
.file-field input[type="file"] { width: 100%; font-size: 13.5px; font-family: inherit; color: var(--muted); }

.form-actions { margin-top: 34px; text-align: center; }
.form-actions .btn { min-width: 240px; }

/* التنبيهات */
.alert {
  border-radius: 12px; padding: 14px 18px; font-size: 14.5px; font-weight: 500;
  margin-bottom: 24px;
}
.alert-error { background: #fdecea; color: #922b21; border: 1px solid #f5c6c0; }
.alert-success { background: #e8f6ef; color: #14624a; border: 1px solid #bce3d3; }

/* صفحة الشكر */
.thanks-card {
  max-width: 620px; margin: 0 auto; background: #fff; text-align: center;
  border: 1px solid var(--line); border-radius: 20px; padding: 52px 36px;
  box-shadow: 0 20px 50px -35px rgba(11,30,54,0.35);
}
.thanks-card .check-ring {
  width: 82px; height: 82px; margin: 0 auto 22px; border-radius: 50%;
  background: #e8f6ef; color: #17654d; display: flex; align-items: center; justify-content: center;
}
.thanks-card .check-ring svg { width: 40px; height: 40px; }
.thanks-card h1 { font-size: 26px; color: var(--navy-900); margin: 0 0 12px; }
.thanks-card p { color: var(--muted); font-size: 15px; margin: 0 0 10px; }

.ref-box {
  margin: 26px auto; background: var(--navy-900); color: var(--gold-400);
  font-size: 26px; font-weight: 800; letter-spacing: 1.5px;
  border-radius: 14px; padding: 16px 26px; display: inline-block;
  font-family: "Segoe UI", monospace;
}

.thanks-actions { display: flex; gap: 12px; justify-content: center; margin-top: 26px; flex-wrap: wrap; }

/* صفحة التتبع */
.track-result { max-width: 640px; margin: 34px auto 0; }

.status-timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 28px; }

.status-step { text-align: center; position: relative; padding: 0 6px; }
.status-step::before {
  content: ""; position: absolute; top: 15px; inset-inline-start: 50%;
  width: 100%; height: 3px; background: var(--line); z-index: 0;
}
.status-step:last-child::before { display: none; }

.status-step .dot {
  width: 32px; height: 32px; margin: 0 auto 10px; border-radius: 50%;
  background: #fff; border: 3px solid var(--line); position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center;
}
.status-step.done .dot { border-color: var(--gold-500); background: var(--gold-500); color: var(--navy-950); }
.status-step.done::before { background: var(--gold-500); }
.status-step .dot svg { width: 15px; height: 15px; }

.status-step .s-label { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.status-step.done .s-label { color: var(--navy-900); }

.meta-table { width: 100%; border-collapse: collapse; margin-top: 24px; }
.meta-table td { padding: 11px 14px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.meta-table td:first-child { color: var(--muted); font-weight: 700; width: 38%; }

/* ============================================================
   التقويم الذاتي
   ============================================================ */
.assess-invite {
  margin-top: 26px; padding: 24px; border-radius: 14px; text-align: center;
  background: linear-gradient(150deg, rgba(201,162,39,0.1), rgba(201,162,39,0.03));
  border: 1.5px solid rgba(201,162,39,0.5);
}
.assess-invite h3 { margin: 0 0 8px; color: var(--navy-900); font-size: 18px; }
.assess-invite p { color: var(--muted); font-size: 14.5px; margin: 0 0 18px; }

.assess-progress { max-width: 460px; margin: 18px auto 0; }
.assess-progress .bar {
  height: 10px; border-radius: 999px; background: rgba(255,255,255,0.18); overflow: hidden;
}
.assess-progress .bar span {
  display: block; height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, var(--gold-400), var(--gold-500));
  transition: width .3s ease;
}
.assess-progress .lbl { font-size: 12.5px; color: rgba(255,255,255,0.75); display: block; margin-top: 8px; }

.assess-steps {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 26px;
}
.astep {
  width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: #fff; border: 1.5px solid var(--line); font-weight: 800; font-size: 15px; color: var(--navy-800);
  transition: all .15s ease;
}
.astep:hover { border-color: var(--gold-500); }
.astep.current { background: var(--navy-800); color: var(--gold-400); border-color: var(--navy-800); }
.astep.results { border-style: dashed; }
.astep.results.current { border-style: solid; }

.astep.locked {
  position: relative; background: #eef1f5; color: #a3aebc;
  border-style: solid; cursor: not-allowed;
}
.astep.locked:hover { border-color: var(--line); }
.astep.locked i {
  position: absolute; top: -7px; inset-inline-end: -7px;
  font-size: 12px; font-style: normal; line-height: 1;
  filter: grayscale(0.2);
}

/* لوحة قفل الاشتراك */
.assess-lock {
  max-width: 980px; margin: 26px auto 0; text-align: center;
  border: 1.5px dashed var(--gold-500); border-radius: 18px;
  background: linear-gradient(150deg, rgba(201,162,39,0.08), rgba(201,162,39,0.02));
  padding: 36px 26px;
}
.assess-lock .lock-icon { font-size: 38px; margin-bottom: 10px; }
.assess-lock h3 { margin: 0 0 10px; color: var(--navy-900); font-size: 19px; }
.assess-lock p { color: var(--muted); font-size: 14.5px; max-width: 560px; margin: 0 auto 22px; }

.assess-card { max-width: 980px; }

.assess-head { margin-bottom: 26px; }
.assess-head h2 { font-size: 21px; color: var(--navy-900); margin: 10px 0 6px; }
.sec-badge {
  display: inline-block; font-size: 12px; font-weight: 800; padding: 4px 14px; border-radius: 999px;
  background: rgba(14,42,71,0.08); color: var(--navy-700);
}
.sec-badge.results { background: var(--gold-100); color: #8a6c14; }

.assess-sub { margin-bottom: 30px; }
.assess-sub > h3 {
  font-size: 16.5px; color: var(--navy-900); margin: 0 0 14px;
  padding-bottom: 10px; border-bottom: 2px solid var(--gold-500); font-weight: 800;
}
.assess-sub > h3 small { color: var(--muted); font-weight: 500; font-size: 12.5px; }

.assess-point {
  border: 1px solid var(--line); border-radius: 14px; padding: 18px; margin-bottom: 16px;
  background: var(--paper);
}
.point-title { font-size: 14.5px; font-weight: 700; color: var(--navy-900); margin-bottom: 14px; line-height: 1.7; }
.point-title .tag {
  display: inline-block; font-size: 11px; font-weight: 800; color: var(--gold-600);
  background: var(--gold-100); border-radius: 999px; padding: 2px 10px; margin-inline-end: 8px;
}

.q-table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.q-table { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 620px; }
.q-table th {
  font-size: 12px; color: var(--muted); font-weight: 700; padding: 9px 6px; text-align: center;
  border-bottom: 2px solid var(--line); background: var(--paper);
}
.q-table th.q-text-col { text-align: start; }
.q-table td { padding: 9px 6px; border-bottom: 1px solid var(--line); }
.q-table tr:last-child td { border-bottom: none; }
.q-table .q-text { line-height: 1.7; padding-inline-start: 12px; }
.q-table .q-opt { text-align: center; width: 44px; }
.q-table .q-opt input { width: 17px; height: 17px; accent-color: var(--gold-500); cursor: pointer; }
.q-table .q-opt.na input { accent-color: var(--muted); }
.q-table tbody tr:hover { background: #fbfcfe; }

.point-note { margin-top: 12px; }
.point-note summary {
  cursor: pointer; font-size: 13px; font-weight: 700; color: var(--navy-700);
}
.point-note textarea { margin-top: 10px; min-height: 76px; }

.assess-actions {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 30px;
}
.btn-ghost-navy { border: 1.5px solid var(--navy-800); color: var(--navy-800); background: transparent; }
.btn-ghost-navy:hover { background: var(--navy-800); color: #fff; }

.status-timeline.steps-6 { grid-template-columns: repeat(6, 1fr); }
.status-timeline.steps-6 .s-label { font-size: 11px; }

/* ---------- استجابة ---------- */
@media (max-width: 1020px) {
  .main-nav { display: none; }
  .hero .container { grid-template-columns: 1fr; text-align: center; padding-top: 56px; padding-bottom: 60px; }
  .hero p.lead { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { min-height: 330px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .tracks-grid { grid-template-columns: repeat(2, 1fr); }
  .awards-flag { grid-template-columns: 1fr; }
  .portrait-card img { max-width: 150px; }
  .how-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 0; }
  .how-step::after { display: none; }
  .stats .container { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .brand-sub { display: none; }
  .services-grid, .tracks-grid { grid-template-columns: 1fr; }
  .choice-grid, .choice-grid.cols-3 { grid-template-columns: 1fr; }
  .f-row { grid-template-columns: 1fr; }
  .form-card { padding: 26px 20px; }
  .how-grid { grid-template-columns: 1fr; }
  .status-timeline, .status-timeline.steps-6 { grid-template-columns: repeat(2, 1fr); gap: 20px 0; }
  .status-step::before { display: none; }
  .q-table { min-width: 560px; }
  section { padding: 60px 0; }
  .orbit-chip.c2, .orbit-chip.c5 { display: none; }
}

/* ===== أداة إتقان: تجميع الأسئلة بعناصرها ===== */
.q-table { min-width: 760px; }
.q-elem-row td {
  background: var(--navy-800); color: #fff;
  font-size: 12.5px; font-weight: 700;
  padding: 6px 12px;
}
.q-attr {
  display: inline-block; font-size: 11.5px; font-weight: 700;
  background: #eef2f8; color: var(--navy-700);
  border: 1px solid var(--line); border-radius: 6px;
  padding: 1px 9px; margin-inline-end: 7px; white-space: nowrap;
}
.point-hint {
  font-size: 13px; color: var(--muted); line-height: 1.8;
  background: #fbf8ee; border: 1px dashed var(--gold-500);
  border-radius: 8px; padding: 8px 14px; margin: -4px 0 14px;
}
.pt-weight { font-weight: 500; color: var(--muted); font-size: 12.5px; }

/* رؤوس نطاقات إتقان الخمسة */
.q-table .band-th { min-width: 104px; padding: 8px 6px; vertical-align: bottom; }
.band-name { display: block; font-size: 11.5px; font-weight: 700; line-height: 1.5; white-space: normal; }
.band-pct { display: block; font-size: 11px; font-weight: 500; color: var(--gold-500); margin-top: 2px; }
