/* =========================================================
  كراج الميكانيك — مدينة العهد
   ملف التصميم الرئيسي (مشترك بين كل الصفحات)
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700;800;900&display=swap');

:root {
  --bg: #0c0c0d;
  --bg-soft: #131315;
  --card: #1a1a1c;
  --card-border: #2b2b2e;
  --card-border-hover: #3a3a3d;
  --text: #f3f3f2;
  --text-muted: #9a9a9e;
  --text-faint: #6f6f74;

  --accent: #f0a437;
  --accent-strong: #ffb84d;
  --accent-dim: #7a5420;
  --accent-glow: rgba(240, 164, 55, 0.28);

  --danger: #ff6161;
  --danger-soft: rgba(255, 97, 97, 0.12);
  --success: #3ecf8e;
  --success-soft: rgba(62, 207, 142, 0.12);
  --info: #4fa8ff;
  --info-soft: rgba(79, 168, 255, 0.12);

  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;

  --container: 1180px;
  --header-h: 76px;
}

* { box-sizing: border-box; }

html {
  min-height: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background-color: #1c1b19;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  color: var(--text);
  font-family: 'Tajawal', 'Segoe UI', Tahoma, sans-serif;
  direction: rtl;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 15px;
  width: 1px;
  height: 100vh;
  z-index: -1;
  background: #c68a20;
  opacity: 0.8;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
input { font-family: inherit; }

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

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ---------------------------------------------------------
   الهيدر / شريط التنقل
--------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(12,12,13,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--card-border);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.05rem;
  white-space: nowrap;
}

.brand .logo-mark {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.main-nav a, .main-nav .nav-drop > button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  color: #d9d0c2;
  font-weight: 500;
  font-size: 0.95rem;
  background: none;
  border: none;
  transition: background .15s ease, color .15s ease;
}

.main-nav a:hover,
.main-nav .nav-drop > button:hover,
.main-nav a.active {
  color: #21170a;
  background: var(--accent);
  box-shadow: 0 5px 16px rgba(240, 164, 55, 0.18);
}

.nav-drop { position: relative; }

.nav-drop .chev { font-size: .7rem; transition: transform .15s ease; }
.nav-drop.open .chev { transform: rotate(180deg); }

.nav-drop-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 240px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 8px;
  display: none;
  flex-direction: column;
  gap: 2px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.45);
}

.nav-drop.open .nav-drop-menu { display: flex; }

.nav-drop-menu a {
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  color: var(--text-muted);
}
.nav-drop-menu a:hover { background: rgba(255,255,255,0.06); color: var(--text); }

.header-cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--accent-dim);
  color: var(--accent-strong);
  font-weight: 700;
  font-size: .9rem;
  background: rgba(240,164,55,0.08);
  transition: background .15s ease, transform .15s ease;
}
.header-cta:hover { background: rgba(240,164,55,0.16); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  color: var(--text);
  width: 42px;
  height: 42px;
  font-size: 1.2rem;
}

/* ---------------------------------------------------------
   الهيرو
--------------------------------------------------------- */
.hero {
  padding: 90px 0 60px;
  text-align: center;
}

.hero-mark {
  width: 110px;
  height: 110px;
  margin: 0 auto 28px;
  filter: drop-shadow(0 0 30px var(--accent-glow));
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 900;
  color: var(--accent);
  margin: 0 0 10px;
  letter-spacing: -0.5px;
}

.hero .hero-sub {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin: 0 0 30px;
}

.pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 28px;
  border: 1px solid var(--accent-dim);
  border-radius: 999px;
  color: var(--accent-strong);
  font-weight: 700;
}

/* ---------------------------------------------------------
   عناوين الأقسام
--------------------------------------------------------- */
.section { padding: 56px 0; }
.section-head { text-align: center; margin-bottom: 40px; }

.section-head h2 {
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  font-weight: 800;
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.section-head .icon-tag {
  display: inline-flex;
  width: 34px; height: 34px;
  align-items: center; justify-content: center;
  border-radius: 9px;
  background: var(--accent-glow);
  color: var(--accent);
  font-size: 1rem;
}

.section-head p {
  color: var(--text-muted);
  margin: 0;
  font-size: .95rem;
}

/* ---------------------------------------------------------
   مولّد المسمى الميداني
--------------------------------------------------------- */
.generator-wrap { max-width: 640px; margin: 0 auto; }

.generator-card {
  background: var(--card);
  border: 1px solid var(--accent-dim);
  border-radius: var(--radius-lg);
  padding: 34px;
  position: relative;
  overflow: hidden;
}

.generator-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 0%, var(--accent-glow), transparent 55%);
  pointer-events: none;
}

.generator-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--accent);
  font-size: 1.15rem;
  margin-bottom: 26px;
}

.field { margin-bottom: 20px; }

.field label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .9rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.field input {
  width: 100%;
  background: var(--bg-soft);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  color: var(--text);
  font-size: .95rem;
  transition: border-color .15s ease;
}

.field input:focus { border-color: var(--accent); }
.field input::placeholder { color: var(--text-faint); }

.code-field { display: flex; gap: 10px; }
.code-field input { text-align: center; }
.code-prefix {
  flex-shrink: 0;
  min-width: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #1a1200;
  font-weight: 800;
  border-radius: var(--radius-sm);
}

.btn-primary {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, var(--accent-strong), var(--accent));
  color: #1a1200;
  font-weight: 800;
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: filter .15s ease, transform .15s ease;
}
.btn-primary:hover { filter: brightness(1.08); transform: translateY(-1px); }

.result-box {
  margin-top: 22px;
  display: none;
  background: var(--bg-soft);
  border: 1px dashed var(--card-border-hover);
  border-radius: var(--radius-sm);
  padding: 18px;
  text-align: center;
}
.result-box.show { display: block; }
.result-box .result-text {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--accent-strong);
  margin-bottom: 14px;
  word-break: break-word;
  direction: ltr;
}

.btn-secondary {
  width: 100%;
  padding: 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--card-border-hover);
  background: transparent;
  color: var(--text);
  font-weight: 700;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-secondary:hover { background: rgba(255,255,255,0.05); }
.copy-report:not(:disabled) { background: #20c766; border-color: #20c766; color: #071b0e; }
.copy-report:not(:disabled):hover { background: #28dc73; }

/* ---------------------------------------------------------
   شبكات البطاقات (عام)
--------------------------------------------------------- */
.grid {
  display: grid;
  gap: 20px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 26px;
  transition: border-color .15s ease, transform .15s ease;
}
.card:hover { border-color: var(--card-border-hover); }

/* بطاقات أكواد الحالات */
.code-card .code-card-top {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 14px; margin-bottom: 14px;
  border-bottom: 1px solid var(--card-border);
}
.code-card .code-card-top strong { font-size: 1.05rem; color: var(--accent-strong); }
.code-card .code-card-top .badge-icon {
  width: 30px; height: 30px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem;
}
.badge-icon.ready { background: var(--success-soft); color: var(--success); }
.badge-icon.fuel { background: var(--accent-glow); color: var(--accent); }
.badge-icon.break { background: var(--info-soft); color: var(--info); }
.code-card p { margin: 0; color: var(--text-muted); font-size: .92rem; }

/* بطاقات الروابط السريعة */
.link-card {
  display: flex; align-items: center; gap: 16px;
}
.link-card .icon-circle {
  width: 46px; height: 46px; flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.05);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.link-card strong { display: block; font-size: 1rem; margin-bottom: 3px; }
.link-card span { display: block; color: var(--text-muted); font-size: .85rem; }
.link-card:hover .icon-circle { background: var(--accent-glow); }

/* بطاقات تردد الموجات */
.freq-card strong.freq-title {
  display: block; text-align: center;
  color: var(--accent-strong); font-size: 1.05rem;
  padding-bottom: 14px; margin-bottom: 14px;
  border-bottom: 1px solid var(--card-border);
}
.freq-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 0; font-size: .92rem; color: var(--text-muted);
}
.freq-num {
  background: var(--accent);
  color: #1a1200;
  font-weight: 800;
  font-size: .85rem;
  min-width: 30px;
  text-align: center;
  padding: 3px 8px;
  border-radius: 6px;
}

/* ---------------------------------------------------------
   الفيديو
--------------------------------------------------------- */
.video-wrap {
  max-width: 860px; margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--card-border);
  background: #000;
}
.video-wrap video { width: 100%; display: block; }

/* ---------------------------------------------------------
   مواقع الكراجات
--------------------------------------------------------- */
.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--card-border);
  margin-bottom: 4px;
  cursor: zoom-in;
}
.map-frame img { width: 100%; }
.map-hint { text-align: center; color: var(--text-faint); font-size: .85rem; margin-bottom: 30px; }

.services-panel {
  border: 1px solid var(--accent-dim);
  border-radius: var(--radius-lg);
  padding: 30px;
  background: var(--card);
}

.services-panel-title {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent);
  color: #1a1200;
  font-weight: 800;
  padding: 8px 20px;
  border-radius: 999px;
  margin-bottom: 26px;
}

.services-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.services-cols h4 {
  display: flex; align-items: center; gap: 8px;
  color: var(--accent-strong);
  font-size: 1rem;
  margin: 0 0 12px;
}

.services-cols ul li {
  position: relative;
  padding-right: 18px;
  margin-bottom: 8px;
  color: var(--text-muted);
  font-size: .92rem;
}
.services-cols ul li::before {
  content: "•";
  position: absolute; right: 0; color: var(--accent);
}

.note-box {
  background: var(--bg-soft);
  border-right: 3px solid var(--accent);
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: .88rem;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.locations-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 26px;
}
.location-thumb {
  text-align: center;
}
.location-thumb .thumb-img {
  aspect-ratio: 1.3/1;
  border-radius: var(--radius-sm);
  border: 1px solid var(--card-border);
  background:
    linear-gradient(135deg, rgba(240,164,55,0.12), rgba(255,255,255,0.02)),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.03) 0 1px, transparent 1px 24px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.03) 0 1px, transparent 1px 24px);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 8px;
  color: var(--accent);
}
.location-thumb strong { display: block; font-size: .88rem; }
.location-thumb span { display: block; font-size: .78rem; color: var(--text-faint); }

/* ---------------------------------------------------------
   ديسكورد
--------------------------------------------------------- */
.discord-card {
  max-width: 640px; margin: 0 auto;
  text-align: center;
  padding: 44px 30px;
  background: linear-gradient(180deg, rgba(240,164,55,0.08), transparent);
  border: 1px solid var(--accent-dim);
  border-radius: var(--radius-lg);
}
.discord-card h3 { margin: 0 0 8px; font-size: 1.3rem; }
.discord-card p { color: var(--text-muted); margin: 0 0 24px; }

/* ---------------------------------------------------------
   الفوتر
--------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--card-border);
  padding: 46px 0 26px;
  text-align: center;
  margin-top: 40px;
}
.site-footer .logo-mark { width: 52px; height: 52px; margin: 0 auto 14px; }
.site-footer strong { display: block; font-size: 1.05rem; margin-bottom: 4px; }
.site-footer .footer-sub { color: var(--text-muted); font-size: .88rem; margin-bottom: 22px; }
.site-footer .footer-legal {
  color: var(--text-faint);
  font-size: .8rem;
  padding-top: 20px;
  border-top: 1px solid var(--card-border);
}
.site-footer .footer-dev {
  color: var(--accent-strong);
  font-size: 1.15rem;
  font-weight: 800;
  margin-top: 12px;
}

/* ---------------------------------------------------------
   صفحة المخالفات
--------------------------------------------------------- */
.page-title {
  text-align: center;
  padding: 60px 0 10px;
}
.page-title h1 {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-size: clamp(1.7rem, 4vw, 2.2rem);
  font-weight: 800;
  color: var(--accent);
  margin: 0 0 8px;
}
.page-title p { color: var(--text-muted); margin: 0; }

.search-wrap {
  max-width: 640px;
  margin: 30px auto 24px;
  position: relative;
}
.search-wrap input {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 999px;
  padding: 15px 50px 15px 20px;
  color: var(--text);
  font-size: .95rem;
}
.search-wrap input:focus { border-color: var(--accent); }
.search-wrap .search-icon {
  position: absolute; top: 50%; right: 20px; transform: translateY(-50%);
  color: var(--text-faint);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 44px;
}
.filter-btn {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--card-border);
  background: var(--card);
  color: var(--text-muted);
  font-weight: 600;
  font-size: .88rem;
  transition: all .15s ease;
}
.filter-btn:hover { border-color: var(--card-border-hover); color: var(--text); }
.filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #1a1200;
}

.violations-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-bottom: 60px;
}

.violation-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-right: 4px solid var(--accent-dim);
  border-radius: var(--radius-md);
  padding: 20px 24px;
}
.violation-card[data-severity="فصل"] { border-right-color: var(--danger); }
.violation-card[data-severity="عالي"] { border-right-color: var(--accent); }
.violation-card[data-severity="متوسط"] { border-right-color: var(--info); }

.violation-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}
.violation-top h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}
.violation-tag {
  flex-shrink: 0;
  font-size: .78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--accent-glow);
  color: var(--accent-strong);
  white-space: nowrap;
}
.violation-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: .9rem;
}
.violation-card p strong { color: var(--danger); font-weight: 700; }

.category-heading {
  font-size: 1rem;
  font-weight: 800;
  color: var(--accent-strong);
  margin: 30px 0 4px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--card-border);
}
.category-heading:first-child { margin-top: 0; }

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-faint);
}

/* ---------------------------------------------------------
   صفحة النماذج
--------------------------------------------------------- */
.form-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.form-card h3 {
  display: flex; align-items: center; gap: 10px;
  margin: 0 0 8px;
  color: var(--accent-strong);
  font-size: 1.05rem;
}
.form-card p { color: var(--text-muted); font-size: .9rem; margin: 0 0 18px; }
.form-card a.pill-btn { padding: 10px 22px; font-size: .88rem; }

/* ---------------------------------------------------------
   صفحة التقارير الإدارية
--------------------------------------------------------- */
.reports-section { padding-top: 10px; }
.password-gate {
  max-width: 500px;
  margin: 0 auto;
  padding: 42px 34px;
  text-align: center;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
}
.gate-icon { font-size: 2.4rem; margin-bottom: 12px; }
.password-gate h2 { margin: 0 0 8px; }
.password-gate > p { color: var(--text-muted); margin: 0 0 24px; }
.gate-form { text-align: right; }
.gate-error { display: none; color: var(--danger); font-size: .85rem; margin: 10px 0 0; }
.gate-error.show { display: block; }
.gate-actions, .report-actions { display: flex; gap: 10px; margin-top: 18px; }
.gate-actions > *, .report-actions > * { flex: 1; text-align: center; }
.report-tabs, .sub-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.report-tab, .sub-tab {
  border: 1px solid var(--card-border);
  background: var(--card);
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  padding: 12px 15px;
  font: inherit;
  cursor: pointer;
}
.report-tab:hover, .sub-tab:hover, .report-tab.active, .sub-tab.active { border-color: var(--accent); color: var(--text); background: var(--accent-dim); }
.report-panel { display: none; }
.report-panel.active, .sub-panel.active { display: block; }
.report-panel > h2, .sub-panel > h2 { font-size: 1.35rem; margin: 0 0 18px; }
.sub-panel { display: none; }
.reports-form { background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius-lg); padding: 22px; }
.report-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.report-fields label, .yesno-field { display: flex; flex-direction: column; gap: 7px; color: var(--text-muted); font-size: .9rem; }
.report-fields input, .report-fields select, .report-fields textarea, .gate-form input {
  width: 100%; border: 1px solid var(--card-border); border-radius: var(--radius-sm); background: var(--bg-soft); color: var(--text); padding: 11px 12px; font: inherit; outline: none;
}
.report-fields input:focus, .report-fields select:focus, .report-fields textarea:focus, .gate-form input:focus { border-color: var(--accent); }
.report-fields textarea { resize: vertical; min-height: 86px; }
.time-field { display: flex; gap: 8px; align-items: stretch; }
.time-field > input { flex: 1; min-width: 0; }
.period-toggle { display: flex; border: 1px solid var(--card-border); border-radius: var(--radius-sm); overflow: hidden; background: var(--bg-soft); }
.period-toggle label { display: flex; align-items: center; justify-content: center; min-width: 38px; padding: 0 8px; color: var(--text-muted); cursor: pointer; }
.period-toggle label:has(input:checked) { background: var(--accent-dim); color: var(--text); }
.period-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.report-fields .full-field, .report-fields .yesno-field { grid-column: 1 / -1; }
.yesno-field { border: 1px solid var(--card-border); padding: 12px; border-radius: var(--radius-sm); flex-direction: row; align-items: center; gap: 18px; }
.yesno-field legend { width: 100%; margin-bottom: 4px; }
.yesno-field label { flex-direction: row; align-items: center; color: var(--text); }
.report-result { white-space: pre-wrap; direction: rtl; text-align: right; margin: 20px 0 0; padding: 18px; border: 1px solid var(--accent-dim); border-radius: var(--radius-sm); background: var(--bg-soft); color: var(--text); font: inherit; line-height: 1.8; }
.report-ready { margin: 20px 0 0; color: var(--accent); font-weight: 700; }
.report-actions button:disabled { opacity: .45; cursor: not-allowed; }
@media (max-width: 700px) {
  .report-fields { grid-template-columns: 1fr; }
  .report-fields .full-field, .report-fields .yesno-field { grid-column: auto; }
  .report-tabs, .sub-tabs { display: grid; grid-template-columns: 1fr 1fr; }
  .report-tab, .sub-tab { min-height: 52px; }
  .password-gate { padding: 30px 20px; }
}

/* ---------------------------------------------------------
   استجابة الشاشات
--------------------------------------------------------- */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .services-cols { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .main-nav, .nav-drop-menu { display: none; }
  .nav-toggle { display: flex; align-items: center; justify-content: center; }

  .site-header.nav-open .main-nav {
    display: flex;
    position: absolute;
    top: var(--header-h);
    right: 0; left: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--card-border);
    padding: 10px;
    gap: 2px;
  }
  .site-header.nav-open .nav-drop-menu {
    display: flex;
    position: static;
    border: none;
    padding: 4px 0 4px 20px;
  }
  .site-header.nav-open .nav-drop.open .nav-drop-menu { display: flex; }

  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .locations-strip { grid-template-columns: 1fr 1fr; }
  .header-cta span.cta-text { display: none; }
}

@media (max-width: 480px) {
  .locations-strip { grid-template-columns: 1fr; }
  .violation-top { flex-direction: column; }
}
