/* =========================================================
   خبير الحوادث — شراء سيارات مصدومة الرياض
   نظام تصميم حديث — Design tokens v2
   ========================================================= */
:root{
  --bg: #0A0C10;
  --bg-elevated: #101319;
  --surface: #151922;
  --surface-2: #1B2029;
  --surface-hover: #1F2530;
  --border: #262C38;
  --border-soft: #1C212B;

  --text: #F3F5F7;
  --text-muted: #9BA3B0;
  --text-dim: #656E7C;

  --accent: #FFB020;       /* أصفر/كهرماني - إجراء أساسي */
  --accent-2: #FF7A3D;      /* برتقالي - نهاية التدرج */
  --accent-dark: #D89000;
  --accent-ink: #17110A;    /* نص فوق الأصفر */
  --accent-grad: linear-gradient(135deg, #FFC93C 0%, #FF7A3D 100%);
  --accent-soft: rgba(255, 176, 32, .12);

  --rust: #E15A3E;          /* لون الضرر - استخدام محدود */
  --steel: #4C93C4;
  --moss: #4FAE7E;
  --whatsapp: #25D366;

  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 22px;
  --radius-xl: 28px;

  --shadow-1: 0 2px 8px rgba(0,0,0,.35);
  --shadow-2: 0 20px 50px -18px rgba(0,0,0,.65);
  --shadow-glow: 0 18px 46px -16px rgba(255,150,40,.38);

  --font-display: "Cairo", "Tahoma", sans-serif;
  --font-body: "IBM Plex Sans Arabic", "Tahoma", sans-serif;

  --header-h: 72px;
  --ease: cubic-bezier(.22,1,.36,1);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; scroll-padding-top: calc(var(--header-h) + 14px); }

body{
  margin:0;
  background:
    radial-gradient(1200px 700px at 88% -8%, rgba(255,176,32,.07), transparent 60%),
    radial-gradient(900px 600px at -10% 15%, rgba(76,147,196,.06), transparent 55%),
    var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul,ol{ margin:0; padding:0; list-style:none; }
button{ font:inherit; color:inherit; background:none; border:0; cursor:pointer; }
h1,h2,h3,h4{ font-family: var(--font-display); margin:0; line-height:1.25; }
p{ margin:0; }
svg{ display:block; }

.container{
  width:100%;
  max-width: 1200px;
  margin-inline:auto;
  padding-inline: clamp(18px, 4vw, 24px);
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *{ animation-duration:.001ms !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
}

::selection{ background: var(--accent); color: var(--accent-ink); }

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

/* حركات ظهور عند التمرير */
.reveal{ opacity:0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-visible{ opacity:1; transform:none; }

/* =========================================================
   أزرار
   ========================================================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  padding: 13px 22px;
  border-radius: var(--radius-s);
  font-weight:700;
  font-size: 15px;
  white-space:nowrap;
  min-height: 46px;
  transition: transform .18s var(--ease), background .18s ease, border-color .18s ease, box-shadow .18s ease, filter .18s ease;
  border: 1px solid transparent;
  position: relative;
}
.btn:hover{ transform: translateY(-2px); }
.btn:active{ transform: translateY(0); }

.btn-accent{
  background: var(--accent-grad);
  color: var(--accent-ink);
  box-shadow: 0 10px 26px -10px rgba(255,140,30,.55);
}
.btn-accent:hover{ filter: brightness(1.06); box-shadow: 0 16px 34px -12px rgba(255,140,30,.68); }

.btn-ghost{
  background: rgba(255,255,255,.02);
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover{ border-color: var(--text-muted); background: rgba(255,255,255,.05); }

.btn-outline{
  background: transparent;
  border-color: rgba(243,245,247,.28);
  color: var(--text);
}
.btn-outline:hover{ border-color: var(--text); background: rgba(255,255,255,.04); }

.btn-dark{
  background: rgba(10,12,16,.92);
  color: var(--text);
  border-color: rgba(255,255,255,.12);
}
.btn-dark:hover{ background:#000; }

.btn-lg{ padding: 16px 28px; font-size:16px; border-radius: var(--radius-m); min-height:52px; }

/* =========================================================
   شريط الخطر (توقيع بصري)
   ========================================================= */
.hazard-strip{
  height: 7px;
  width:100%;
  background: repeating-linear-gradient(-45deg, var(--accent) 0 18px, var(--bg-elevated) 18px 36px);
}
.hazard-strip-footer{ height:5px; }

/* =========================================================
   الهيدر
   ========================================================= */
.site-header{
  position: fixed;
  inset-inline:0;
  top:0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(10,12,16,.78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--border-soft);
  transition: box-shadow .25s ease, background .25s ease, border-color .25s ease;
}
.site-header.is-scrolled{
  box-shadow: var(--shadow-2);
  background: rgba(9,11,14,.94);
  border-color: var(--border);
}

.header-inner{
  height:100%;
  display:flex;
  align-items:center;
  gap: 18px;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  margin-inline-end:auto;
  min-width:0;
}
.brand-mark{
  color: var(--accent);
  flex-shrink:0;
  display:flex;
  filter: drop-shadow(0 2px 6px rgba(255,176,32,.35));
}
.brand-text{ display:flex; flex-direction:column; line-height:1.25; min-width:0; }
.brand-text strong{ font-family: var(--font-display); font-weight:800; font-size:17px; white-space:nowrap; }
.brand-text small{ color: var(--text-dim); font-size:11.5px; font-weight:500; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }

.main-nav{
  display:flex;
  align-items:center;
  gap: 4px;
  margin-inline-end:auto;
}
.main-nav a{
  font-size: 13.5px;
  font-weight:600;
  color: var(--text-muted);
  position:relative;
  padding: 8px 12px;
  border-radius: 999px;
  white-space:nowrap;
  transition: color .15s ease, background .15s ease;
}
.main-nav a:hover{ color: var(--text); background: rgba(255,255,255,.05); }

.header-actions{ display:flex; align-items:center; gap:10px; }
.header-actions .btn{ padding: 10px 16px; font-size:14px; min-height:40px; }
.header-actions svg{ flex-shrink:0; }

.nav-toggle{
  display:none;
  flex-direction:column;
  justify-content:center;
  gap:5px;
  width:40px; height:40px;
  border:1px solid var(--border);
  border-radius: var(--radius-s);
  flex-shrink:0;
  transition: border-color .15s ease, background .15s ease;
}
.nav-toggle:hover{ border-color: var(--text-muted); background: rgba(255,255,255,.04); }
.nav-toggle span{
  width:18px; height:2px; background: var(--text);
  margin-inline:auto;
  transition: transform .25s var(--ease), opacity .2s ease;
  border-radius: 2px;
}
.nav-toggle.is-open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2){ opacity:0; }
.nav-toggle.is-open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

main{ padding-top: var(--header-h); overflow-x: clip; }

/* =========================================================
   المسار (Breadcrumb)
   ========================================================= */
.breadcrumb{ padding-top: 20px; }
.breadcrumb ol{ display:flex; align-items:center; flex-wrap:wrap; gap:8px; }
.breadcrumb li{ font-size:12.5px; color: var(--text-dim); display:flex; align-items:center; gap:8px; }
.breadcrumb li:not(:last-child)::after{ content:"/"; color: var(--text-dim); }
.breadcrumb a{ color: var(--text-muted); transition: color .15s ease; }
.breadcrumb a:hover{ color: var(--accent); }
.breadcrumb li[aria-current="page"]{ color: var(--text-muted); }

/* =========================================================
   من نحن (About)
   ========================================================= */
.about-inner{
  display:grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(28px,5vw,52px);
  align-items:center;
}
.about-points{ margin-top: 24px; display:flex; flex-direction:column; gap:12px; }
.about-points li{
  display:flex;
  align-items:flex-start;
  gap:10px;
  color: var(--text-muted);
  font-size: 14.5px;
  font-weight:600;
}
.about-point-icon{
  flex-shrink:0;
  width:22px; height:22px;
  border-radius:50%;
  background: var(--accent-soft);
  color: var(--accent);
  display:flex; align-items:center; justify-content:center;
  font-size:12px; font-weight:900;
  margin-top:1px;
}
.about-photo{
  margin:0;
  border-radius: var(--radius-l);
  overflow:hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-2);
  aspect-ratio: 16/10;
}
.about-photo img{ width:100%; height:100%; object-fit:cover; }

/* شريط الصور التوضيحية داخل معرض الأضرار */
.photo-strip{
  margin-top: 32px;
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.photo-strip-item{
  margin:0;
  position:relative;
  border-radius: var(--radius-m);
  overflow:hidden;
  border: 1px solid var(--border);
  aspect-ratio: 16/9;
}
.photo-strip-item img{ width:100%; height:100%; object-fit:cover; transition: transform .5s var(--ease); }
.photo-strip-item:hover img{ transform: scale(1.05); }
.photo-strip-item figcaption{
  position:absolute; inset-inline:0; bottom:0;
  padding: 28px 16px 12px;
  background: linear-gradient(0deg, rgba(0,0,0,.82), transparent);
  color: #fff;
  font-size: 13px;
  font-weight:600;
}

/* قسم الالتزام بالكاش */
.cash-grid{ grid-template-columns: repeat(2, 1fr); }
.cash-photo-card{
  margin:0;
  position:relative;
  border-radius: var(--radius-m);
  overflow:hidden;
  border: 1px solid var(--border);
  aspect-ratio: 16/9;
  transition: transform .3s var(--ease), box-shadow .3s ease;
}
.cash-photo-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-2); }
.cash-photo-card img{ width:100%; height:100%; object-fit:cover; }
.cash-photo-card figcaption{
  position:absolute; inset-inline:0; bottom:0;
  padding: 34px 18px 16px;
  background: linear-gradient(0deg, rgba(0,0,0,.85), transparent);
  color:#fff;
  font-size: 13.5px;
  font-weight:700;
}

/* =========================================================
   HERO
   ========================================================= */
.hero{
  position:relative;
  background:
    radial-gradient(ellipse 900px 520px at 88% -14%, rgba(255,176,32,.14), transparent 62%),
    radial-gradient(ellipse 600px 420px at 5% 100%, rgba(76,147,196,.08), transparent 60%),
    linear-gradient(180deg, var(--bg-elevated), var(--bg) 72%);
  overflow:hidden;
}
.hero::before{
  content:"";
  position:absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 700px 500px at 85% 0%, black, transparent 70%);
  pointer-events:none;
  z-index:1;
}
.hero-bg{
  position:absolute;
  inset:0;
  z-index:0;
}
.hero-bg img{
  width:100%; height:100%;
  object-fit:cover;
  object-position:center 40%;
  opacity:.26;
  filter: grayscale(.15) contrast(1.05);
}
.hero-bg::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg, var(--bg) 0%, rgba(10,12,16,.55) 35%, var(--bg) 96%),
    linear-gradient(90deg, var(--bg) 0%, transparent 35%, transparent 65%, var(--bg) 100%);
}
.hero-inner, .breadcrumb{ position:relative; z-index:2; }
.hero-inner{
  position:relative;
  display:grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items:center;
  padding-block: clamp(40px,7vw,68px) clamp(52px,8vw,80px);
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color: var(--accent);
  font-weight:700;
  font-size: 13px;
  letter-spacing:.2px;
  margin-bottom: 18px;
  background: var(--accent-soft);
  padding: 6px 14px;
  border-radius: 999px;
}

.hero-copy h1{
  font-size: clamp(30px, 4.8vw, 54px);
  font-weight:900;
  letter-spacing:-.6px;
  color: var(--text);
}
.hero-copy h1 span{
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead{
  margin-top: 20px;
  max-width: 54ch;
  color: var(--text-muted);
  font-size: clamp(15px,1.6vw,17px);
}

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

.hero-trust{
  display:flex;
  flex-wrap:wrap;
  gap: clamp(20px,4vw,28px);
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--border-soft);
}
.hero-trust li{
  font-size: 13px;
  color: var(--text-dim);
}
.hero-trust strong{
  display:block;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(18px,2.4vw,20px);
  font-weight:800;
}

/* بطاقة التقييم - العنصر التوقيعي */
.hero-visual{ display:flex; justify-content:center; }
.ticket{
  position:relative;
  width: 100%;
  max-width: 340px;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  padding: 26px 24px 30px;
  box-shadow: var(--shadow-2), var(--shadow-glow);
  transform: rotate(-3deg);
  transition: transform .4s var(--ease);
}
.ticket:hover{ transform: rotate(0deg) translateY(-4px); }
.ticket-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding-bottom:16px;
  margin-bottom:16px;
  border-bottom: 1px dashed var(--border);
  font-weight:700;
  font-size: 13px;
  color: var(--text-muted);
}
.ticket-id{ color: var(--text-dim); font-weight:600; }
.ticket-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding-block:8px;
  font-size: 14px;
  color: var(--text-dim);
}
.ticket-row b{ color: var(--text); font-weight:700; font-size: 14.5px; }
.ticket-total{
  margin-top:8px;
  padding-top:14px;
  border-top: 1px solid var(--border);
}
.ticket-total span{ color: var(--text-muted); font-weight:700; }
.ticket-total b{
  background: var(--accent-grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-family: var(--font-display); font-size: 25px;
}
.ticket-perf{
  height:0;
  border-bottom: 2px dotted var(--border);
  margin: 20px -24px 0;
}
.ticket-stamp{
  position:absolute;
  top: 108px;
  left: -14px;
  background: rgba(225,90,62,.08);
  border: 3px solid var(--rust);
  color: var(--rust);
  font-family: var(--font-display);
  font-weight:800;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 8px;
  transform: rotate(-14deg);
  opacity:.95;
}

/* =========================================================
   أقسام عامة
   ========================================================= */
.section{ padding-block: clamp(56px,8vw,88px); }
.section-alt{ background: var(--bg-elevated); }

.section-eyebrow{
  color: var(--accent);
  font-weight:700;
  font-size: 13px;
  margin-bottom: 10px;
  letter-spacing: .3px;
}
.section-title{
  font-size: clamp(25px, 3.6vw, 37px);
  font-weight:800;
  max-width: 24ch;
  letter-spacing: -.3px;
}
.section-lead{
  margin-top:14px;
  color: var(--text-muted);
  max-width: 60ch;
  font-size: clamp(14.5px,1.6vw,16px);
}

.grid{ display:grid; gap: clamp(16px,2.4vw,22px); margin-top: clamp(32px,5vw,44px); }

.card{
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: clamp(22px,3vw,28px);
  transition: border-color .22s ease, transform .22s var(--ease), box-shadow .22s ease;
}
.card:hover{ border-color: rgba(255,176,32,.4); transform: translateY(-4px); box-shadow: var(--shadow-2); }

/* خدمات */
.services-grid{ grid-template-columns: repeat(auto-fit, minmax(250px,1fr)); }
.card-icon{
  width: 48px; height:48px;
  display:flex; align-items:center; justify-content:center;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: var(--radius-s);
  margin-bottom: 18px;
}
.card-icon svg{ width:24px; height:24px; }
.service-card h3{ font-size:18px; font-weight:800; margin-bottom:8px; }
.service-card p{ color: var(--text-muted); font-size:14.5px; }

/* معرض أنواع الأضرار */
.gallery-grid{ grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); }
.damage-card{
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: 24px;
  display:flex;
  align-items:center;
  gap:18px;
  margin:0;
  transition: border-color .2s ease, transform .2s var(--ease);
}
.damage-card:hover{ border-color: rgba(255,176,32,.4); transform: translateY(-3px); }
.damage-icon{
  flex-shrink:0;
  width:64px; height:44px;
  color: var(--tint, var(--accent));
}
.damage-icon svg{ width:100%; height:100%; }
.damage-card h3{ font-size:16px; font-weight:800; margin-bottom:4px; }
.damage-card p{ color: var(--text-dim); font-size:13.5px; }

/* لماذا نحن */
.why-grid{ grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); }
.why-card p{ color: var(--text-muted); font-size:14.5px; }

/* أنواع السيارات */
.car-types{ margin-top: 32px; }
.car-types h3{ font-size:16px; font-weight:800; margin-bottom:16px; }
.car-types-list{ display:flex; flex-wrap:wrap; gap:10px; }
.car-types-list li{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 9px 17px;
  font-size: 13.5px;
  color: var(--text-muted);
  font-weight:600;
  transition: border-color .15s ease, color .15s ease;
}
.car-types-list li:hover{ border-color: rgba(255,176,32,.4); color: var(--text); }
.gallery-subhead{
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border-soft);
  font-size: clamp(18px,2.2vw,20px);
  font-weight: 800;
}

/* مناطق الخدمة */
.areas-grid{ margin-top: 40px; display:flex; flex-wrap:wrap; gap: 10px; }
.areas-grid span{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-s);
  padding: 10px 18px;
  font-size: 13.5px;
  font-weight:700;
  color: var(--text);
  transition: border-color .15s ease, background .15s ease;
}
.areas-grid span:hover{ border-color: rgba(255,176,32,.4); background: var(--surface-hover); }

/* عوامل التسعير / مستندات */
.pricing-factors{
  margin-top: 40px;
  display:flex;
  flex-direction:column;
  gap: 0;
  max-width: 760px;
}
.factor{
  display:flex;
  gap: 22px;
  padding-block: 22px;
  border-top: 1px solid var(--border-soft);
  transition: padding-inline-start .2s ease;
}
.factor:hover{ padding-inline-start: 6px; }
.factor:last-child{ border-bottom: 1px solid var(--border-soft); }
.factor-num{
  font-family: var(--font-display);
  font-weight:900;
  font-size: 22px;
  background: var(--accent-grad);
  -webkit-background-clip:text; background-clip:text; color:transparent;
  width: 40px;
  flex-shrink:0;
}
.factor h3{ font-size:16.5px; font-weight:800; margin-bottom:6px; }
.factor p{ color: var(--text-muted); font-size:14.5px; }

/* خطوات العمل */
.process-list{ position:relative; margin-top: 48px; display:flex; flex-direction:column; gap: 0; }
.process-step{
  display:flex;
  gap: 26px;
  padding-block: 22px;
  border-top: 1px solid var(--border-soft);
  position:relative;
  transition: padding-inline-start .2s ease;
}
.process-step:hover{ padding-inline-start: 6px; }
.process-step:last-child{ border-bottom: 1px solid var(--border-soft); }
.step-num{
  font-family: var(--font-display);
  font-weight:900;
  font-size: clamp(24px,3vw,30px);
  background: var(--accent-grad);
  -webkit-background-clip:text; background-clip:text; color:transparent;
  width: 56px;
  flex-shrink:0;
  opacity:.95;
}
.step-body h3{ font-size:18px; font-weight:800; margin-bottom:6px; }
.step-body p{ color: var(--text-muted); font-size:14.5px; max-width:60ch; }

/* CTA */
.cta-banner{
  background: var(--accent-grad);
  color: var(--accent-ink);
  position: relative;
  overflow: hidden;
}
.cta-banner::before{
  content:"";
  position:absolute; inset:0;
  background-image: radial-gradient(rgba(0,0,0,.06) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity:.5;
}
.cta-inner{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 24px;
  padding-block: clamp(36px,5vw,44px);
  flex-wrap:wrap;
}
.cta-inner h2{ font-size: clamp(21px,2.6vw,28px); font-weight:800; }
.cta-inner p{ margin-top:6px; opacity:.85; font-weight:600; }

/* مقالات */
.articles-grid{ grid-template-columns: repeat(auto-fit, minmax(270px,1fr)); }
.article-tag{
  display:inline-block;
  font-size: 12px;
  font-weight:700;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.article-card h3{ font-size:17px; font-weight:800; margin-bottom:10px; }
.article-card p{ color: var(--text-muted); font-size:14.5px; }
.article-link{
  display:inline-block;
  margin-top:16px;
  color: var(--text);
  font-weight:700;
  font-size:14px;
  border-bottom: 1px solid var(--accent);
  padding-bottom:2px;
  transition: color .15s ease, border-color .15s ease;
}
.article-link:hover{ color: var(--accent); }

/* FAQ */
.faq-list{ margin-top: 40px; max-width: 780px; }
.faq-item{ border-bottom: 1px solid var(--border); }
.faq-question-heading{ margin:0; font-size:inherit; font-weight:inherit; }
.faq-question{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
  padding-block: 20px;
  text-align:right;
  font-weight:700;
  font-size: clamp(14.5px,1.8vw,16px);
  transition: color .15s ease;
}
.faq-question:hover{ color: var(--accent); }
.faq-icon{ position:relative; flex-shrink:0; width: 20px; height:20px; }
.faq-icon::before,.faq-icon::after{
  content:"";
  position:absolute;
  background: var(--accent);
  top:50%; left:50%;
  transform: translate(-50%,-50%);
  border-radius: 2px;
}
.faq-icon::before{ width:14px; height:2px; }
.faq-icon::after{ width:2px; height:14px; transition: transform .25s var(--ease), opacity .2s ease; }
.faq-item.is-open .faq-icon::after{ transform: translate(-50%,-50%) rotate(90deg); opacity:0; }

.faq-answer{ height:0; overflow:hidden; transition: height .25s var(--ease); }
.faq-answer p{ color: var(--text-muted); font-size: 14.5px; padding-bottom: 20px; }
.faq-item.is-open .faq-answer{ height:auto; }

/* =========================================================
   الفوتر
   ========================================================= */
.site-footer{
  background: var(--bg-elevated);
  border-top: 1px solid var(--border-soft);
  margin-top: 0;
}
.footer-inner{
  display:grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-block: clamp(40px,6vw,56px) 32px;
}
.footer-col h4{ font-size:14px; font-weight:800; margin-bottom:16px; color: var(--text); }
.footer-col a{ display:block; color: var(--text-muted); font-size:14.5px; padding-block:6px; transition: color .15s ease; }
.footer-col a:hover{ color: var(--accent); }
.footer-col p{ color: var(--text-dim); font-size:13.5px; margin-top:6px; }
.footer-brand p{ color: var(--text-muted); font-size:14.5px; margin-block:14px 18px; max-width:36ch; }
.footer-brand .brand-text strong{ font-size:18px; }

.footer-bottom{ border-top: 1px solid var(--border-soft); padding-block: 18px; }
.footer-bottom p{ color: var(--text-dim); font-size:13px; text-align:center; }

/* =========================================================
   واتساب عائم
   ========================================================= */
.float-wa{
  position: fixed;
  bottom: 20px;
  inset-inline-start: 20px;
  width: 56px; height:56px;
  border-radius:50%;
  background: var(--whatsapp);
  color:#fff;
  display:flex; align-items:center; justify-content:center;
  box-shadow: 0 10px 26px -6px rgba(37,211,102,.6);
  z-index: 90;
  transition: transform .2s var(--ease), box-shadow .2s ease;
  animation: wa-pulse 2.6s ease-in-out infinite;
}
.float-wa:hover{ transform: scale(1.08); box-shadow: 0 14px 32px -6px rgba(37,211,102,.72); }
@keyframes wa-pulse{
  0%,100%{ box-shadow: 0 10px 26px -6px rgba(37,211,102,.6), 0 0 0 0 rgba(37,211,102,.4); }
  50%{ box-shadow: 0 10px 26px -6px rgba(37,211,102,.6), 0 0 0 10px rgba(37,211,102,0); }
}
@media (prefers-reduced-motion: reduce){ .float-wa{ animation:none; } }

/* =========================================================
   قوالب صفحات المقالات (articles/*.html)
   ========================================================= */
.article-shell{ padding-block: 34px clamp(60px,10vw,90px); }

.article-header{ max-width: 760px; margin-inline: auto; margin-bottom: 44px; }
.article-header h1{
  font-size: clamp(26px, 4.4vw, 40px);
  font-weight: 900;
  letter-spacing: -.4px;
  margin-top: 14px;
}
.article-meta{
  display:flex; flex-wrap:wrap; gap: 16px;
  margin-top: 18px; color: var(--text-dim); font-size: 13px;
}
.article-meta span{ display:flex; align-items:center; gap:6px; }
.article-lead{ margin-top: 22px; color: var(--text-muted); font-size: clamp(15px,2vw,17px); max-width: 68ch; }

.article-cover{
  max-width: 760px;
  margin: 0 auto 40px;
  border-radius: var(--radius-l);
  overflow:hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-2);
  aspect-ratio: 16/9;
}
.article-cover img{ width:100%; height:100%; object-fit:cover; }

.prose{ max-width: 760px; margin-inline: auto; }
.prose h2{ font-family: var(--font-display); font-weight: 800; font-size: clamp(20px,2.6vw,24px); margin-top: 46px; margin-bottom: 14px; }
.prose h3{ font-family: var(--font-display); font-weight: 800; font-size: 18.5px; margin-top: 26px; margin-bottom: 10px; }
.prose p{ color: var(--text-muted); font-size: 16px; line-height: 1.9; margin-bottom: 16px; }
.prose ul, .prose ol{ margin: 0 0 20px; padding-inline-start: 22px; color: var(--text-muted); font-size: 15.5px; line-height: 1.85; }
.prose ul{ list-style: disc; }
.prose ol{ list-style: decimal; }
.prose li{ margin-bottom: 8px; }
.prose strong{ color: var(--text); }
.prose a{ color: var(--accent); font-weight: 700; border-bottom: 1px solid rgba(255,176,32,.4); transition: border-color .15s ease; }
.prose a:hover{ border-color: var(--accent); }
.prose blockquote{
  border-inline-start: 3px solid var(--accent);
  background: var(--surface);
  padding: 6px 20px;
  margin: 26px 0;
  border-radius: 0 var(--radius-s) var(--radius-s) 0;
  color: var(--text-muted);
  font-size: 15.5px;
}

.article-cta{
  max-width: 760px;
  margin: 52px auto 0;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: clamp(24px,4vw,32px);
  text-align:center;
}
.article-cta h2{ font-family: var(--font-display); font-weight: 800; font-size: 21px; margin-bottom: 10px; }
.article-cta p{ color: var(--text-muted); margin-bottom: 20px; }
.article-cta .btn-row{ display:flex; justify-content:center; gap:12px; flex-wrap:wrap; }

.article-faq{ max-width: 760px; margin: 56px auto 0; }
.article-faq h2{ font-family: var(--font-display); font-weight: 800; font-size: 22px; margin-bottom: 6px; }

.related-section{ max-width: 760px; margin: 60px auto 0; }
.related-section h2{ font-family: var(--font-display); font-weight: 800; font-size: 19px; margin-bottom: 18px; }
.related-grid{ display:grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.related-card{
  display:block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: 18px 20px;
  transition: border-color .18s ease, transform .18s var(--ease);
}
.related-card:hover{ border-color: rgba(255,176,32,.4); transform: translateY(-3px); }
.related-card .tag{ font-size: 11.5px; color: var(--accent); font-weight:700; }
.related-card h3{ font-size: 14.5px; font-weight:800; margin: 8px 0 0; color: var(--text); }

/* =========================================================
   الاستجابة للأجهزة — نقاط توقف متدرجة
   ========================================================= */

/* أجهزة لوحية كبيرة / سطح مكتب صغير */
@media (max-width: 1080px){
  .hero-inner{ gap: 32px; }
  .footer-inner{ gap: 28px; }
}

@media (max-width: 860px){
  .about-inner{ grid-template-columns: 1fr; }
  .about-photo{ order:-1; }
}

@media (max-width: 640px){
  .photo-strip, .cash-grid{ grid-template-columns: 1fr; }
}

/* إخفاء القائمة الأفقية وتفعيل قائمة الجوال */
@media (max-width: 940px){
  .main-nav{
    position: fixed;
    top: var(--header-h);
    inset-inline:0;
    background: rgba(9,11,14,.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-soft);
    flex-direction:column;
    align-items:stretch;
    gap: 0;
    padding: 8px 20px 18px;
    transform: translateY(-10px);
    opacity:0;
    pointer-events:none;
    transition: transform .25s var(--ease), opacity .2s ease;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .main-nav.is-open{ transform: translateY(0); opacity:1; pointer-events:auto; }
  .main-nav a{ width:100%; padding-block:14px; border-bottom:1px solid var(--border-soft); border-radius:0; font-size:14.5px; }
  .main-nav a:hover{ background:transparent; padding-inline-start: 6px; }

  .header-actions .header-call span{ display:none; }
  .header-actions .header-call{ padding:10px; }

  .nav-toggle{ display:flex; }

  .hero-inner{ grid-template-columns: 1fr; padding-block: 40px 52px; }
  .hero-visual{ order:-1; }
  .ticket{ transform:none; max-width: 320px; margin-inline:auto; }
  .ticket:hover{ transform: translateY(-3px); }
  .hero-trust{ gap:20px; }

  .footer-inner{ grid-template-columns: 1fr 1fr; }
  .footer-brand{ grid-column: 1 / -1; }
}

/* أجهزة لوحية / جوال أفقي */
@media (max-width: 760px){
  :root{ --header-h: 66px; }
  .section{ padding-block: 52px; }
  .hero-trust{ flex-direction:column; gap:14px; }
  .cta-inner{ flex-direction:column; align-items:flex-start; }
  .header-actions .header-wa span{ display:none; }
  .related-grid{ grid-template-columns: 1fr; }
}

/* جوال */
@media (max-width: 640px){
  .damage-card{ padding:20px; }
  .footer-inner{ grid-template-columns: 1fr; }
  .areas-grid span{ padding: 8px 14px; font-size:12.5px; }
  .factor, .process-step{ gap:14px; }
  .step-num{ width: 44px; }
  .article-cta{ padding: 22px; }
  .brand-text small{ display:none; }
}

/* جوال صغير */
@media (max-width: 400px){
  .container{ padding-inline: 16px; }
  .hero-actions{ flex-direction:column; align-items:stretch; }
  .hero-actions .btn{ width:100%; }
  .header-actions{ gap:6px; }
  .header-actions .btn{ padding:9px 12px; }
  .ticket{ padding: 22px 18px 26px; }
}

/* شاشات كبيرة جداً — سقف أوسع قليلاً لعرض المحتوى */
@media (min-width: 1440px){
  .container{ max-width: 1280px; }
}
