/* ======================================================
   الألوان والمتغيرات (مأخوذة من الشعار: أزرق ملكي + فضي)
   ====================================================== */
:root {
  --blue: #343CCD;
  --blue-deep: #1D228F;
  --blue-ink: #10133F;
  --blue-soft: rgba(52, 60, 205, .08);
  --silver: #8C877E;
  --silver-light: #D8D5CF;
  --paper: #F3F4F6;
  --card: #FFFFFF;
  --text: #171A2C;
  --muted: #5E6274;
  --line: #E3E5EA;

  --r-lg: 28px;
  --r-md: 20px;
  --r-sm: 12px;

  --shadow: 0 1px 2px rgba(16, 19, 63, .05), 0 14px 34px -14px rgba(16, 19, 63, .16);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --wrap: 1200px;
}


/* ======================================================
   الأساسيات
   ====================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Readex Pro", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 24px;
}

/* الأرقام تظهر من اليسار لليمين حتى داخل النص العربي */
.num {
  direction: ltr;
  unicode-bidi: isolate;
  font-feature-settings: "tnum";
}

.ph {
  line-height: 1;
}


/* ======================================================
   الأزرار
   ====================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 54px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: background .3s var(--ease), color .3s, border-color .3s, transform .3s var(--ease), box-shadow .3s;
}

.btn:active {
  transform: scale(.97);
}

.btn-blue {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(52, 60, 205, .6);
}

.btn-blue:hover {
  background: var(--blue-deep);
}

.btn-line {
  background: #fff;
  color: var(--text);
  border-color: var(--line);
}

.btn-line:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.btn-line .ph {
  font-size: 19px;
}

/* زر فيه دائرة سهم */
.btn.has-ico {
  padding-inline: 26px 7px;
}

.btn .ico {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .16);
  font-size: 18px;
  transition: transform .4s var(--ease);
}

.btn:hover .ico {
  transform: translateX(-4px);
}


/* ======================================================
   الهيدر: كبسولة زجاجية عائمة
   ====================================================== */
.hdr {
  position: fixed;
  top: 14px;
  inset-inline: 0;
  z-index: 50;
  padding-inline: 16px;
}

.hdr-in {
  position: relative;
  isolation: isolate;
  max-width: var(--wrap);
  height: 72px;
  margin-inline: auto;
  padding-inline: 12px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* الزجاج في ::before عشان البلور ما يأثر على قائمة الجوال */
.hdr-in::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .85), rgba(255, 255, 255, .6)),
    rgba(255, 255, 255, .5);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  backdrop-filter: blur(18px) saturate(170%);
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow:
    inset 0 1px 0 #fff,
    0 1px 2px rgba(16, 19, 63, .06),
    0 12px 32px -16px rgba(16, 19, 63, .25);
  transition: box-shadow .4s var(--ease);
}

.hdr.solid .hdr-in::before {
  box-shadow:
    inset 0 1px 0 #fff,
    0 1px 2px rgba(16, 19, 63, .08),
    0 18px 40px -16px rgba(16, 19, 63, .32);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

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

.brand-txt b {
  font-size: 15px;
  font-weight: 600;
  color: var(--blue-ink);
}

.brand-txt small {
  font-size: 12px;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 15px;
  color: var(--muted);
  transition: background .3s, color .3s;
}

.nav a:hover {
  background: var(--blue-soft);
  color: var(--blue);
}

/* زر الطلب داخل القائمة يظهر في الجوال فقط */
.nav .nav-cta {
  display: none;
}

.hdr-cta {
  height: 48px;
  padding: 0 22px;
}

.burger {
  display: none;
  position: relative;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--blue-soft);
  cursor: pointer;
}

.burger span {
  position: absolute;
  right: 14px;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--blue-ink);
  transition: transform .35s var(--ease), top .35s var(--ease);
}

.burger span:nth-child(1) {
  top: 19px;
}

.burger span:nth-child(2) {
  top: 27px;
}

.menu-open .burger span:nth-child(1) {
  top: 23px;
  transform: rotate(45deg);
}

.menu-open .burger span:nth-child(2) {
  top: 23px;
  transform: rotate(-45deg);
}


/* ======================================================
   الواجهة الأولى
   ====================================================== */
.hero {
  padding: 140px 0 70px;
}

.hero-in {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 64px;
  align-items: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  font-size: 15px;
  font-weight: 500;
  color: var(--blue);
}

.kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: var(--blue);
}

.hero h1 {
  font-size: clamp(38px, 4.4vw, 58px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--blue-ink);
}

.hero h1 span {
  display: block;
  white-space: nowrap;
  font-weight: 400;
  color: var(--silver);
}

.lead {
  margin-top: 22px;
  max-width: 50ch;
  font-size: 18px;
  font-weight: 300;
  color: var(--muted);
}

.ctas {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-media {
  position: relative;
}

.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: 640px;
  object-fit: cover;
  border-radius: var(--r-lg);
  background: var(--silver-light);
  box-shadow: var(--shadow);
}

/* بطاقة "مسجّلة في هيئة المقاولين" فوق الصورة */
.verified {
  position: absolute;
  bottom: 22px;
  right: -28px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px 14px 22px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 40px -18px rgba(16, 19, 63, .4);
}

.v-ic {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--blue);
  color: #fff;
  font-size: 22px;
}

.verified b {
  display: block;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--blue-ink);
}

.verified small {
  font-size: 13px;
  color: var(--muted);
}


/* ======================================================
   شريط البيانات الرسمية
   ====================================================== */
.facts {
  padding-bottom: 20px;
}

.facts-in {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.fact {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 24px;
  border-inline-start: 1px solid var(--line);
}

.fact:first-child {
  border-inline-start: 0;
}

.fact .ph {
  flex: none;
  font-size: 28px;
  color: var(--blue);
}

.fact small {
  display: block;
  font-size: 13px;
  color: var(--muted);
}

.fact b {
  font-size: 16px;
  font-weight: 600;
  color: var(--blue-ink);
}


/* ======================================================
   عناوين الأقسام
   ====================================================== */
.sec {
  padding: 96px 0;
}

.title {
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 700;
  line-height: 1.25;
  color: var(--blue-ink);
}

.sub {
  margin-top: 12px;
  max-width: 46ch;
  font-size: 17px;
  color: var(--muted);
}


/* ======================================================
   خدماتنا (قائمة بصفوف)
   ====================================================== */
.services {
  background: var(--card);
  border-radius: 40px;
  margin-inline: 12px;
}

.svc-in {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.svc-aside {
  position: sticky;
  top: 130px;
}

.link-arrow {
  margin-top: 26px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: var(--blue);
  border-bottom: 1.5px solid currentColor;
  padding-bottom: 2px;
}

.link-arrow .ph {
  transition: transform .35s var(--ease);
}

.link-arrow:hover .ph {
  transform: translateX(-4px);
}

.svc-list {
  border-top: 1px solid var(--line);
}

.svc {
  position: relative;
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 22px;
  align-items: start;
  padding: 28px 8px;
  border-bottom: 1px solid var(--line);
  transition: padding .45s var(--ease);
}

/* خط أزرق يمتد تحت الخدمة عند المرور */
.svc::after {
  content: "";
  position: absolute;
  bottom: -1px;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: width .6s var(--ease);
}

.svc:hover {
  padding-inline-start: 18px;
}

.svc:hover::after {
  width: 100%;
}

.svc-ic {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 28px;
  transition: background .4s var(--ease), color .4s, transform .5s var(--ease);
}

.svc:hover .svc-ic {
  background: var(--blue);
  color: #fff;
  transform: rotate(-8deg);
}

.svc h3 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--blue-ink);
}

.svc p {
  margin-top: 4px;
  color: var(--muted);
}


/* ======================================================
   لماذا نحن
   ====================================================== */
.why-in {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.why-media img {
  width: 100%;
  aspect-ratio: 4 / 4.4;
  object-fit: cover;
  border-radius: var(--r-lg);
  background: var(--silver-light);
  box-shadow: var(--shadow);
}

.why-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.why-item {
  padding: 24px;
  border-radius: var(--r-md);
  background: var(--card);
  box-shadow: var(--shadow);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}

.why-item .ph {
  font-size: 30px;
  color: var(--blue);
}

.why-item h3 {
  margin-top: 14px;
  font-size: 17px;
  font-weight: 600;
  color: var(--blue-ink);
}

.why-item p {
  margin-top: 4px;
  font-size: 15px;
  color: var(--muted);
}


/* ======================================================
   طريقة العمل (خطوات أفقية)
   ====================================================== */
.process {
  padding-top: 40px;
}

.proc-head {
  text-align: center;
  margin-bottom: 52px;
}

.proc-head .sub {
  margin-inline: auto;
}

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

/* الخط اللي يربط الخطوات، ويمتلئ مع النزول */
.steps::before,
.steps::after {
  content: "";
  position: absolute;
  top: 31px;
  right: 12.5%;
  left: 12.5%;
  height: 2px;
  border-radius: 2px;
}

.steps::before {
  background: var(--line);
}

.steps::after {
  background: var(--blue);
  transform-origin: right;
  transform: scaleX(var(--fill));
}

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

.step-n {
  position: relative;
  z-index: 1;
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--card);
  border: 2px solid var(--line);
  font-size: 20px;
  font-weight: 600;
  color: var(--muted);
  transition: background .5s var(--ease), border-color .5s, color .5s, box-shadow .6s var(--ease);
}

.step.on .step-n {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  box-shadow: 0 0 0 8px var(--blue-soft);
}

.step h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--blue-ink);
}

.step p {
  margin-top: 6px;
  font-size: 15px;
  color: var(--muted);
}


/* ======================================================
   تواصل معنا
   ====================================================== */
.contact {
  padding-top: 40px;
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr minmax(0, 520px);
  gap: 56px;
  padding: 56px;
  border-radius: 40px;
  background: linear-gradient(150deg, var(--blue-deep) 0%, var(--blue-ink) 100%);
  color: #fff;
}

.c-info h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 700;
  line-height: 1.3;
}

.c-info > p {
  margin-top: 10px;
  color: rgba(255, 255, 255, .72);
}

.c-list {
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, .14);
}

.c-list a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  transition: padding .4s var(--ease);
}

.c-list a:hover {
  padding-inline-start: 8px;
}

.c-ic {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .1);
  font-size: 20px;
  transition: background .35s, color .35s;
}

.c-list a:hover .c-ic {
  background: #fff;
  color: var(--blue);
}

.c-list small {
  display: block;
  font-size: 13px;
  line-height: 1.4;
  color: rgba(255, 255, 255, .65);
}

.c-list b {
  font-size: 16px;
  font-weight: 500;
}

.map {
  margin-top: 24px;
  border-radius: var(--r-md);
  overflow: hidden;
  height: 210px;
  background: rgba(255, 255, 255, .06);
}

.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(.25);
}


/* ======================================================
   النموذج
   ====================================================== */
.qf {
  align-self: start;
  padding: 34px;
  border-radius: var(--r-lg);
  background: var(--card);
  color: var(--text);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .5);
}

.qf-body {
  display: grid;
  gap: 18px;
}

.qf-head h3 {
  font-size: 25px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--blue-ink);
}

.qf-head p {
  font-size: 14px;
  color: var(--muted);
}

.qf fieldset {
  border: 0;
  min-width: 0;
}

.qf label,
.qf legend {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--blue-ink);
}

.qf label small {
  font-weight: 400;
  color: var(--muted);
}

/* أزرار اختيار نوع العمل */
.types {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.types label {
  position: relative;
  margin: 0;
}

.types input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.types span {
  display: inline-flex;
  align-items: center;
  height: 42px;
  padding: 0 16px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background .25s, border-color .25s, color .25s;
}

.types span:hover {
  border-color: var(--blue);
}

.types input:checked + span {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.types input:focus-visible + span {
  outline: 3px solid rgba(52, 60, 205, .35);
  outline-offset: 2px;
}

.row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.qf input[type=text],
.qf input[type=tel],
.qf textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid transparent;
  border-radius: var(--r-sm);
  background: var(--paper);
  font: inherit;
  font-size: 15px;
  color: var(--text);
  outline: none;
  transition: border-color .25s, background .25s;
}

.qf input[dir=ltr] {
  text-align: right;
}

.qf textarea {
  min-height: 92px;
  resize: vertical;
}

.qf input::placeholder,
.qf textarea::placeholder {
  color: #6B6F80;
}

.qf input:focus,
.qf textarea:focus {
  border-color: var(--blue);
  background: #fff;
}

.qf .err {
  display: none;
  margin-top: 6px;
  font-size: 13px;
  color: #B42318;
}

.field.bad input {
  border-color: #B42318;
  background: #fff;
}

.field.bad .err {
  display: block;
}

.qf-submit {
  width: 100%;
  height: 58px;
  margin-top: 4px;
  font-size: 16px;
}

.qf-done {
  display: none;
  padding: 44px 8px;
  text-align: center;
}

.qf-done-ic {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 32px;
}

.qf-done h3 {
  font-size: 23px;
  font-weight: 600;
  color: var(--blue-ink);
}

.qf-done p {
  margin-top: 6px;
  color: var(--muted);
}

.qf-again {
  margin-top: 20px;
  padding: 2px 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: none;
  font: inherit;
  font-size: 14px;
  color: var(--blue);
  cursor: pointer;
}

.qf.sent .qf-body {
  display: none;
}

.qf.sent .qf-done {
  display: block;
}


/* ======================================================
   الفوتر
   ====================================================== */
.ftr {
  padding: 56px 0 26px;
}

.f-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.f-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.f-brand img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.f-brand b {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--blue-ink);
}

.f-brand small {
  display: block;
  font-size: 13px;
  color: var(--muted);
  text-align: right;
}

.f-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.f-links a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--muted);
  transition: background .3s, color .3s;
}

.f-links a:hover {
  background: var(--blue-soft);
  color: var(--blue);
}

.f-bot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding-top: 20px;
  font-size: 13px;
  color: var(--muted);
}


/* ======================================================
   زر واتساب العائم
   ====================================================== */
.wa {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 60;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25D366;
  color: #fff;
  font-size: 30px;
  box-shadow: 0 12px 30px -6px rgba(37, 211, 102, .55);
  transition: transform .3s var(--ease);
}

.wa:hover {
  transform: scale(1.08);
}

/* شعار واتساب الأصلي (ممتلئ) */
.wa svg {
  width: 30px;
  height: 30px;
  fill: #fff;
}


/* ======================================================
   حركات الظهور عند النزول
   ====================================================== */
.rv {
  opacity: 0;
  transform: translateY(30px);
  filter: blur(6px);
  transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out), filter 1s var(--ease-out);
}

.rv.in {
  opacity: 1;
  transform: none;
  filter: none;
}

/* صورة الواجهة تنفتح من الوسط */
.hero-media.rv {
  filter: none;
  transform: none;
  opacity: 1;
  clip-path: inset(8% 8% 8% 8% round var(--r-lg));
  transition: clip-path 1.4s var(--ease-out);
}

.hero-media.rv img {
  transform: scale(1.1);
  transition: transform 1.8s var(--ease-out);
}

.hero-media.rv.in {
  clip-path: inset(-40px -40px -40px -40px);
}

.hero-media.rv.in img {
  transform: none;
}

.hero-media .verified {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .8s var(--ease-out) .7s, transform .8s var(--ease-out) .7s;
}

.hero-media.rv.in .verified {
  opacity: 1;
  transform: none;
}

/* حركة المرور على بطاقات "لماذا نحن" بعد ظهورها */
.why-item.rv.in {
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), opacity 1s, filter 1s;
}

.why-item.rv.in:hover {
  transform: translateY(-6px);
  box-shadow: 0 1px 2px rgba(16, 19, 63, .05), 0 24px 44px -18px rgba(16, 19, 63, .28);
}


/* ======================================================
   التجاوب: تابلت
   ====================================================== */
@media (max-width: 1020px) {
  .nav,
  .hdr-cta {
    display: none;
  }

  .burger {
    display: block;
  }

  /* قائمة الجوال */
  .menu-open {
    overflow: hidden;
  }

  .menu-open .nav {
    position: fixed;
    top: 100px;
    inset-inline: 16px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px;
    border-radius: var(--r-lg);
    background: #fff;
    box-shadow: 0 30px 60px -20px rgba(16, 19, 63, .35);
  }

  .menu-open .nav a {
    padding: 14px 16px;
    font-size: 18px;
    color: var(--text);
  }

  .menu-open .nav .nav-cta {
    display: block;
    margin-top: 6px;
    text-align: center;
    background: var(--blue);
    color: #fff;
  }

  .menu-open .wa {
    display: none;
  }

  .hero-in,
  .svc-in,
  .why-in {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero-media img {
    aspect-ratio: 4 / 3.4;
  }

  .verified {
    right: 16px;
  }

  .svc-aside {
    position: static;
  }

  .facts-in {
    grid-template-columns: 1fr 1fr;
  }

  .fact:nth-child(3) {
    border-inline-start: 0;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
    row-gap: 36px;
  }

  .steps::before,
  .steps::after {
    display: none;
  }

  .contact-card {
    grid-template-columns: 1fr;
    padding: 40px;
  }
}


/* ======================================================
   التجاوب: جوال
   ====================================================== */
@media (max-width: 640px) {
  .wrap {
    padding-inline: 18px;
  }

  .hdr {
    top: 10px;
    padding-inline: 10px;
  }

  .hdr-in {
    height: 64px;
    padding-inline: 8px;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .brand-txt b {
    font-size: 13px;
  }

  .brand-txt small {
    font-size: 11px;
  }

  .burger {
    width: 44px;
    height: 44px;
  }

  .burger span {
    right: 12px;
  }

  .burger span:nth-child(1) {
    top: 17px;
  }

  .burger span:nth-child(2) {
    top: 25px;
  }

  .menu-open .burger span:nth-child(1),
  .menu-open .burger span:nth-child(2) {
    top: 21px;
  }

  .menu-open .nav {
    top: 86px;
    inset-inline: 10px;
  }

  .hero {
    padding: 110px 0 40px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero h1 span {
    white-space: normal;
  }

  .lead {
    font-size: 16px;
  }

  .ctas .btn {
    flex: 1;
  }

  .verified {
    right: 12px;
    left: 12px;
    bottom: 12px;
    padding: 12px 14px;
  }

  .facts-in {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .fact {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 16px;
    border: 0;
    border-radius: var(--r-md);
    background: var(--card);
  }

  .fact .ph {
    font-size: 24px;
  }

  .fact b {
    font-size: 15px;
  }

  .sec {
    padding: 64px 0;
  }

  .services {
    margin-inline: 8px;
    border-radius: 28px;
  }

  .svc {
    grid-template-columns: 50px 1fr;
    gap: 16px;
    padding: 22px 0;
  }

  .svc:hover {
    padding-inline-start: 0;
  }

  .svc-ic {
    width: 50px;
    height: 50px;
    border-radius: 15px;
    font-size: 24px;
  }

  .svc h3 {
    font-size: 18px;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
    row-gap: 28px;
  }

  .step {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 2px 16px;
    text-align: right;
    padding: 0;
  }

  .step-n {
    grid-row: span 2;
    width: 56px;
    height: 56px;
    margin: 0;
    font-size: 18px;
  }

  .contact-card {
    padding: 28px 18px 18px;
    border-radius: 28px;
    margin-inline: -8px;
  }

  .c-list b {
    font-size: 15px;
    word-break: break-word;
  }

  .qf {
    padding: 24px 18px;
    border-radius: 22px;
  }

  .row2 {
    grid-template-columns: 1fr;
  }

  .f-bot {
    flex-direction: column;
  }
}


/* ======================================================
   تقليل الحركة لمن يفضّل ذلك
   ====================================================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .rv,
  .hero-media.rv,
  .hero-media.rv img,
  .hero-media .verified {
    opacity: 1;
    transform: none;
    filter: none;
    clip-path: none;
    transition: none;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .hdr-in::before,
  .verified {
    background: #fff;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}
