/* =========================================================
   داركوم لنقل العفش والأثاث — style.css
   RTL · موبايل أولاً · بدون مكتبات خارجية
   ========================================================= */

:root {
  --navy: #0a2a66;
  --navy-deep: #061a45;
  --navy-soft: #16397f;
  --orange: #f47b20;
  --orange-deep: #c2560a;      /* للنصوص البرتقالية على الخلفيات الفاتحة */
  --tan: #c9a26b;              /* لون الكرتون: يُستخدم في شريط اللاصق فقط */
  --mist: #eef3fa;
  --line: #d6e0ef;
  --ink: #14213d;
  --ink-soft: #46536e;
  --white: #ffffff;
  --wa: #1faa59;
  --wa-dark: #178a48;

  --font-head: "Readex Pro", "Tajawal", "Segoe UI", Tahoma, Arial, sans-serif;
  --font-body: "IBM Plex Sans Arabic", "Tajawal", "Segoe UI", Tahoma, Arial, sans-serif;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 26px;
  --shadow: 0 18px 40px -18px rgba(6, 26, 69, 0.35);
  --header-h: 72px;
  --wrap: 1200px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.9;
  color: var(--ink);
  background: var(--white);
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 6px;
}

.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon--fill { fill: currentColor; stroke: none; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; inset-inline-start: 12px; top: -60px; z-index: 200;
  background: var(--orange); color: var(--navy-deep); padding: 10px 18px;
  border-radius: var(--r-sm); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- الأزرار ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem; line-height: 1;
  text-decoration: none; transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn--orange { background: var(--orange); color: var(--navy-deep); }
.btn--orange:hover { background: #ff8c3a; }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: var(--wa-dark); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-soft); }
.btn--ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.btn--white { background: #fff; color: var(--navy); }
.btn--white:hover { background: var(--mist); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .95rem; }

/* ---------- الهيدر ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand img { height: 40px; width: auto; }
.brand__tag { font-family: var(--font-head); font-size: .82rem; font-weight: 500; color: var(--ink-soft); line-height: 1.4; border-inline-start: 2px solid var(--orange); padding-inline-start: 12px; }

.nav { margin-inline-start: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__list a {
  display: block; padding: 8px 14px; border-radius: 999px; text-decoration: none;
  font-family: var(--font-head); font-weight: 500; font-size: .95rem; color: var(--ink);
  transition: background-color .2s, color .2s;
}
.nav__list a:hover { background: var(--mist); color: var(--navy); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.header-phone {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  font-family: var(--font-head); font-weight: 600; color: var(--navy); direction: ltr;
}

.nav-toggle {
  display: none; margin-inline-start: auto; width: 46px; height: 46px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff; align-items: center; justify-content: center; color: var(--navy);
}
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle .i-close { display: none; }
.nav-toggle[aria-expanded="true"] .i-menu { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: block; }

/* ---------- الهيرو ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 420px at 88% -10%, rgba(244, 123, 32, .22), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  padding-block: 56px 130px;
}
.hero__grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 48px; align-items: center; }
.hero h1 {
  font-family: var(--font-head); font-weight: 700; font-size: clamp(2rem, 4.2vw, 3.4rem);
  line-height: 1.4; letter-spacing: 0;
}
.hero h1 .sub { display: block; margin-top: 10px; font-weight: 500; font-size: .6em; color: #ffd0a8; line-height: 1.6; }
.hero__lead { margin-top: 22px; max-width: 34em; font-size: 1.15rem; color: #dbe5f7; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__note { margin-top: 22px; display: flex; align-items: center; gap: 10px; color: #b9c9e8; font-size: .98rem; }
.hero__note .icon { color: var(--orange); }

.hero__media { position: relative; }
.hero__frame {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  aspect-ratio: 4 / 3.35; box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .7);
  border: 3px solid rgba(255, 255, 255, .14);
}
.hero__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; }

/* شريط لاصق كرتون: الفكرة المميزة للتصميم */
.tape {
  position: absolute; width: 118px; height: 34px; z-index: 3; pointer-events: none;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .0) 0 9px, rgba(255, 255, 255, .13) 9px 10px),
    linear-gradient(180deg, rgba(214, 178, 122, .93), rgba(190, 150, 95, .93));
  box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
  clip-path: polygon(0 12%, 4% 0, 8% 14%, 12% 0, 16% 12%, 100% 12%, 100% 88%, 16% 88%, 12% 100%, 8% 86%, 4% 100%, 0 88%);
}
.tape--a { top: -6px; inset-inline-end: 34px; transform: rotate(-8deg); }
.tape--b { bottom: 22px; inset-inline-start: -22px; transform: rotate(-38deg); width: 100px; }

.hero__badge {
  position: absolute; z-index: 4; inset-inline-end: 18px; bottom: 18px; display: flex; align-items: center; gap: 10px;
  background: #fff; color: var(--navy); border-radius: 14px; padding: 10px 16px;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem; box-shadow: var(--shadow);
}
.hero__badge .icon { color: var(--orange); width: 22px; height: 22px; }

/* ---------- بطاقة طلب السعر (تشبه بوليصة الشحن) ---------- */
.quote { position: relative; z-index: 10; margin-top: -84px; }
.quote__card {
  position: relative; display: grid; grid-template-columns: 250px 1fr; background: #fff; border-radius: var(--r-lg);
  box-shadow: 0 30px 60px -28px rgba(6, 26, 69, .55); border: 1px solid var(--line);
}
.quote__card .tape { top: -14px; inset-inline-start: 40px; transform: rotate(-4deg); }
.quote__side {
  padding: 30px 28px; border-inline-end: 2px dashed var(--line); background: var(--mist);
  border-radius: 0 var(--r-lg) var(--r-lg) 0;
  display: flex; flex-direction: column; justify-content: center; gap: 10px;
}
.quote__side .icon { width: 38px; height: 38px; color: var(--orange-deep); }
.quote__side h2 { font-family: var(--font-head); font-size: 1.4rem; font-weight: 700; color: var(--navy); line-height: 1.5; }
.quote__side p { font-size: .95rem; color: var(--ink-soft); line-height: 1.7; }
.quote__form { padding: 30px 32px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px 16px; align-items: end; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-family: var(--font-head); font-size: .88rem; font-weight: 600; color: var(--navy); }
.field input, .field select {
  width: 100%; height: 50px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff;
  padding: 0 14px; font-size: 1rem; transition: border-color .2s, box-shadow .2s;
}
.field select { appearance: none; -webkit-appearance: none; padding-inline-end: 38px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230a2a66' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat left 12px center;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(10, 42, 102, .12); }
.quote__submit { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.quote__submit .btn { min-width: 260px; }
.quote__hint { font-size: .92rem; color: var(--ink-soft); }
.quote__hint a { color: var(--navy); font-weight: 700; }

/* ---------- شريط الثقة ---------- */
.trust { padding-block: 44px 8px; }
.trust__list { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust__item { display: flex; gap: 14px; padding: 6px 22px; border-inline-start: 1px solid var(--line); }
.trust__item:first-child { border-inline-start: 0; padding-inline-start: 0; }
.trust__item .icon { width: 34px; height: 34px; color: var(--orange-deep); margin-top: 4px; }
.trust__item h3 { font-family: var(--font-head); font-size: 1.02rem; font-weight: 600; color: var(--navy); line-height: 1.6; }
.trust__item p { font-size: .93rem; color: var(--ink-soft); line-height: 1.7; }

/* ---------- الأقسام العامة ---------- */
.section { padding-block: 84px; }
.section--mist { background: var(--mist); }
.section--navy { background: var(--navy); color: #fff; }
.section-head { max-width: 46rem; margin-bottom: 44px; }
.section-head h2 { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.35rem); line-height: 1.5; color: var(--navy); }
.section-head p { margin-top: 12px; color: var(--ink-soft); font-size: 1.08rem; }
.section--navy .section-head h2 { color: #fff; }
.section--navy .section-head p { color: #c5d3ee; }

/* ---------- الخدمات ---------- */
.services { display: grid; grid-template-columns: 1.15fr 1fr 1fr; grid-template-rows: auto auto; gap: 20px; }
.svc {
  position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: var(--r-md);
  background: #fff; border: 1px solid var(--line); text-decoration: none; transition: border-color .2s, box-shadow .2s;
}
.svc:hover { border-color: var(--navy); box-shadow: var(--shadow); }
.svc .icon { width: 42px; height: 42px; color: var(--navy); padding: 9px; box-sizing: content-box; background: var(--mist); border-radius: 14px; }
.svc h3 { font-family: var(--font-head); font-size: 1.2rem; font-weight: 700; color: var(--navy); line-height: 1.5; }
.svc p { color: var(--ink-soft); font-size: .98rem; line-height: 1.8; }
.svc__more { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--orange-deep); }
.svc__more .icon { width: 1.1em; height: 1.1em; padding: 0; background: none; border-radius: 0; color: inherit; }
.svc:hover .svc__more { color: var(--navy); }

.svc--feature {
  grid-row: span 2; padding: 0; overflow: hidden; background: var(--navy); border-color: var(--navy); color: #fff;
}
.svc--feature img { width: 100%; height: 250px; object-fit: cover; object-position: 50% 40%; }
.svc--feature .svc__body { display: flex; flex-direction: column; gap: 10px; padding: 26px; flex: 1; }
.svc--feature h3 { color: #fff; font-size: 1.45rem; }
.svc--feature p { color: #cbd8f1; }
.svc--feature .svc__more { color: #ffb37a; }
.svc--feature:hover { border-color: var(--orange); }
.svc--feature:hover .svc__more { color: #fff; }

/* ---------- شبكة خدمات التكييف ---------- */
.ac-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ac-grid .svc h3 { font-size: 1.1rem; }

/* ---------- لماذا داركوم ---------- */
.why { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.why__media { position: relative; }
.why__media img { width: 100%; border-radius: var(--r-lg); aspect-ratio: 4 / 4.4; object-fit: cover; box-shadow: var(--shadow); }
.why__media .tape { top: -8px; inset-inline-start: 36px; transform: rotate(6deg); }
.why__list { display: grid; gap: 22px; margin-top: 30px; }
.why__list li { display: flex; gap: 16px; }
.why__list .icon { width: 30px; height: 30px; padding: 5px; box-sizing: content-box; background: var(--orange); color: var(--navy-deep); border-radius: 50%; stroke-width: 3; margin-top: 2px; }
.why__list h3 { font-family: var(--font-head); font-weight: 600; font-size: 1.12rem; color: var(--navy); line-height: 1.6; }

.why__list li > div { flex: 1; min-width: 0; }
.why__list p { color: var(--ink-soft); font-size: 1rem; line-height: 1.8; }

/* ---------- خطوات العمل ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding-top: 72px; }
.road { position: absolute; top: 46px; right: 8%; left: 8%; height: 0; }
.road::before {
  content: ""; position: absolute; inset-inline: 0; top: 0; height: 4px; border-radius: 4px;
  background: repeating-linear-gradient(90deg, var(--navy) 0 16px, transparent 16px 28px);
  opacity: .28;
}
.road__truck {
  position: absolute; top: -34px; right: 0; width: 42px; height: 42px; color: var(--orange);
  transform: scaleX(-1); transition: right 2.6s cubic-bezier(.45, .05, .2, 1);
}
.road__truck .icon { width: 100%; height: 100%; stroke-width: 1.8; }
.steps.is-go .road__truck { right: calc(100% - 42px); }
.step { position: relative; }
.step__num {
  position: absolute; top: -72px; inset-inline-start: 0; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; background: var(--navy); color: #fff; box-shadow: 0 0 0 6px #fff;
  font-family: var(--font-head); font-weight: 700; font-size: 1.1rem;
}
.step h3 { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--navy); line-height: 1.6; }
.step p { margin-top: 6px; color: var(--ink-soft); font-size: 1rem; line-height: 1.8; }

/* ---------- الأحياء ---------- */
.hoods { position: relative; padding-block: 0 84px; }
.hoods__band { position: relative; height: 240px; overflow: hidden; }
.hoods__band img {
  display: block; width: 64%; height: 100%; margin-inline-start: auto; object-fit: cover; object-position: 30% 35%;
  -webkit-mask-image: linear-gradient(to right, #000 45%, transparent 100%); mask-image: linear-gradient(to right, #000 45%, transparent 100%);
}
.hoods__band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 42, 102, 0) 30%, var(--navy) 100%); }
.hoods__inner { position: relative; margin-top: -70px; z-index: 2; }
.hoods .section-head { max-width: 48rem; }
.hood-groups { display: grid; grid-template-columns: repeat(5, 1fr); gap: 26px 22px; }
.hood-group h3 { font-family: var(--font-head); font-size: 1.05rem; font-weight: 600; color: #ffb37a; padding-bottom: 10px; margin-bottom: 14px; border-bottom: 2px dashed rgba(255, 255, 255, .22); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1.5px solid rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .06); color: #fff;
  border-radius: 999px; padding: 4px 14px; font-size: .95rem; line-height: 1.7;
  transition: background-color .2s, border-color .2s, color .2s;
}
.chip:hover, .chip:focus-visible { background: var(--orange); border-color: var(--orange); color: var(--navy-deep); }
.hoods__foot { margin-top: 34px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .16); color: #c5d3ee; }

/* ---------- الأسئلة الشائعة ---------- */
.faq { max-width: 52rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 18px; cursor: pointer;
  padding: 20px 4px; font-family: var(--font-head); font-weight: 600; font-size: 1.08rem; color: var(--navy); line-height: 1.6;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .25s; color: var(--orange-deep); width: 22px; height: 22px; }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details[open] summary { color: var(--navy-deep); }
.faq .answer { padding: 0 4px 22px; color: var(--ink-soft); max-width: 46rem; }

/* ---------- الدعوة النهائية ---------- */
.cta { background: var(--orange); color: var(--navy-deep); padding-block: 60px; }
.cta__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; }
.cta h2 { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.5; }
.cta p { margin-top: 6px; font-size: 1.08rem; max-width: 34em; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- الفوتر ---------- */
.site-footer { background: var(--navy-deep); color: #c5d3ee; padding-block: 64px 28px; font-size: .98rem; }
.footer__grid { display: grid; grid-template-columns: 1.3fr .9fr .9fr .9fr 1.1fr; gap: 32px; }
.footer__logo { display: inline-block; background: #fff; border-radius: var(--r-md); padding: 12px 16px; }
.footer__logo img { width: 190px; }
.footer__about { margin-top: 16px; line-height: 1.85; max-width: 24rem; }
.site-footer h3 { font-family: var(--font-head); font-size: 1.05rem; font-weight: 600; color: #fff; margin-bottom: 14px; }
.footer__links { display: grid; gap: 8px; }
.footer__links a { text-decoration: none; }
.footer__links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer__contact li { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; }
.footer__contact .icon { color: var(--orange); }
.footer__contact a { text-decoration: none; }
.footer__contact a:hover { color: #fff; }
.ltr { direction: ltr; unicode-bidi: embed; }
.footer__bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .9rem; color: #9fb2d8; }

/* ---------- أزرار التواصل العائمة ---------- */
.float-wa {
  position: fixed; z-index: 90; bottom: 24px; inset-inline-start: 24px; width: 60px; height: 60px; border-radius: 50%;
  background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px -8px rgba(0, 0, 0, .45);
  transition: transform .2s, background-color .2s;
}
.float-wa:hover { background: var(--wa-dark); transform: scale(1.06); }
.float-wa .icon { width: 32px; height: 32px; }
.mobile-bar { display: none; }

/* ---------- صفحات الخدمات ---------- */
.page-hero {
  position: relative; overflow: hidden; color: #fff; padding-block: 44px 120px;
  background:
    radial-gradient(700px 320px at 90% -20%, rgba(244, 123, 32, .22), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
}
.crumbs { display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: .92rem; color: #b9c9e8; margin-bottom: 26px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs li + li::before { content: "‹"; margin-inline-end: 10px; color: #6f86b8; }
.page-hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.page-hero h1 { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.9rem, 3.8vw, 3rem); line-height: 1.45; }
.page-hero__lead { margin-top: 18px; font-size: 1.12rem; color: #dbe5f7; max-width: 36em; }
.page-hero .hero__actions { margin-top: 28px; }
.page-hero__media { position: relative; }
.page-hero__media img { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; border-radius: var(--r-lg); border: 3px solid rgba(255, 255, 255, .14); box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .7); }
.page-hero__media .tape { top: -8px; inset-inline-end: 34px; transform: rotate(-8deg); }

.content { display: grid; grid-template-columns: 1.6fr 1fr; gap: 56px; align-items: start; }
.prose h2 { font-family: var(--font-head); font-size: clamp(1.4rem, 2.6vw, 1.85rem); font-weight: 700; line-height: 1.55; color: var(--navy); margin: 46px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-bottom: 14px; max-width: 42rem; }
.checks { display: grid; gap: 12px; margin: 10px 0 6px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks .icon { width: 24px; height: 24px; padding: 4px; box-sizing: content-box; background: var(--orange); color: var(--navy-deep); border-radius: 50%; stroke-width: 3.2; margin-top: 3px; }
.factors { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 14px 0; }
.factors li { background: var(--mist); border-radius: var(--r-sm); padding: 14px 16px; border-inline-start: 4px solid var(--orange); font-size: 1rem; line-height: 1.7; }
.aside { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 20px; }
.aside__box { border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px; background: #fff; }
.aside__box h2, .aside__box h3 { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--navy); margin-bottom: 12px; line-height: 1.6; }
.aside__box--cta { background: var(--navy); border-color: var(--navy); color: #d5e0f5; }
.aside__box--cta h2 { color: #fff; }
.aside__box--cta .btn { width: 100%; margin-top: 10px; }
.related li a { display: flex; align-items: center; gap: 10px; padding: 10px 0; text-decoration: none; border-bottom: 1px solid var(--line); font-family: var(--font-head); font-weight: 500; color: var(--navy); }
.related li:last-child a { border-bottom: 0; }
.related li a:hover { color: var(--orange-deep); }
.related .icon { color: var(--orange-deep); }

/* ---------- صفحة 404 ---------- */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 60px 20px; }
.notfound h1 { font-family: var(--font-head); font-size: clamp(4rem, 12vw, 8rem); font-weight: 700; color: var(--navy); line-height: 1.1; }
.notfound p { margin: 10px auto 26px; max-width: 30rem; color: var(--ink-soft); }

/* =========================================================
   الاستجابة للشاشات
   ========================================================= */
@media (max-width: 1080px) {
  .hood-groups { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .header-phone { display: none; }
  .quote__form { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  body { padding-bottom: 76px; }
  .nav-toggle { display: inline-flex; }
  .brand__tag { display: none; }
  .header-cta { display: none; }
  .nav {
    position: absolute; top: var(--header-h); inset-inline: 0; margin: 0; background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 30px -20px rgba(6, 26, 69, .4); display: none; padding: 10px 20px 20px;
  }
  .nav.is-open { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list a { padding: 14px 8px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }

  .hero { padding-block: 36px 110px; }
  .hero__grid, .page-hero__grid, .why, .content { grid-template-columns: 1fr; gap: 34px; }
  .hero__media { order: -1; }
  .hero__frame { aspect-ratio: 16 / 11; }
  .page-hero__media { display: none; }
  .quote__card { grid-template-columns: 1fr; }
  .quote__side { border-inline-end: 0; border-bottom: 2px dashed var(--line); border-radius: var(--r-lg) var(--r-lg) 0 0; flex-direction: row; align-items: center; flex-wrap: wrap; }
  .quote__side p { flex-basis: 100%; }
  .trust__list { grid-template-columns: 1fr 1fr; gap: 22px 0; }
  .trust__item:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
  .section { padding-block: 64px; }
  .services { grid-template-columns: 1fr 1fr; }
  .ac-grid { grid-template-columns: 1fr 1fr; }
  .svc--feature { grid-column: 1 / -1; grid-row: auto; flex-direction: row; }
  .svc--feature img { width: 42%; height: auto; min-height: 240px; }
  .aside { position: static; }
  .steps { grid-template-columns: 1fr; padding-top: 0; gap: 34px; }
  .road { top: 24px; bottom: 24px; right: 21px; left: auto; width: 0; height: auto; }
  .road::before { inset-inline: auto; width: 4px; height: 100%; background: repeating-linear-gradient(180deg, var(--navy) 0 14px, transparent 14px 24px); }
  .road__truck { display: none; }
  .step { padding-inline-start: 72px; min-height: 60px; }
  .step__num { top: 0; inset-inline-start: 0; }
  .hoods__band { height: 170px; }
  .hoods__band img { width: 100%; -webkit-mask-image: none; mask-image: none; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; z-index: 95; inset-inline: 0; bottom: 0;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line);
    box-shadow: 0 -10px 24px -16px rgba(6, 26, 69, .5);
  }
  .mobile-bar .btn { min-height: 48px; padding: 0 12px; }
  .float-wa { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 1.02rem; }
  .wrap { width: min(100% - 32px, var(--wrap)); }
  .quote__form { grid-template-columns: 1fr; padding: 24px 20px; }
  .quote__submit .btn { width: 100%; min-width: 0; }
  .services { grid-template-columns: 1fr; }
  .ac-grid { grid-template-columns: 1fr; }
  .svc--feature { flex-direction: column; }
  .svc--feature img { width: 100%; height: 210px; min-height: 0; }
  .hood-groups { grid-template-columns: 1fr 1fr; }
  .factors { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .hero__actions .btn, .cta__actions .btn { flex: 1 1 100%; }
  .trust__list { grid-template-columns: 1fr; }
  .trust__item { border-inline-start: 0; padding-inline: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .steps .road__truck { right: calc(100% - 42px); }
}
