/* ===== الحاسم للاستشارات القانونية — الأنماط العامة ===== */

:root {
  --ink: #0e0e10;
  --ink-2: #18181c;
  --ink-3: #232328;
  --gold: #b8914a;
  --gold-light: #d9b878;
  --gold-soft: rgba(184, 145, 74, 0.18);
  --paper: #f6f2ea;
  --paper-2: #efe8db;
  --white: #fffdf9;
  --text: #2a2a2e;
  --muted: #6b6760;
  --line: #e2d9c8;
  --on-ink: #cfc9bd;
  --radius: 4px;
  --container: 1200px;
  --header-h: 84px;
  --font-head: "El Messiri", "IBM Plex Sans Arabic", sans-serif;
  --font-body: "IBM Plex Sans Arabic", sans-serif;
  --font-num: "Cormorant Garamond", Georgia, serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

:root[lang="en"] {
  --font-head: "Cormorant Garamond", Georgia, serif;
  --font-body: "Inter", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 70px; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.85;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
:root[lang="en"] body { font-size: 16px; line-height: 1.75; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.35; margin: 0 0 .5em; color: var(--ink); }
:root[lang="en"] :is(h1, h2, h3) { font-weight: 600; line-height: 1.15; letter-spacing: -.005em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.section { padding: 110px 0; }
.section--paper { background: var(--paper); }
.section--ink { background: var(--ink); color: var(--on-ink); }
.section--ink :is(h2, h3) { color: #fff; }

/* ===== عناصر الهوية ===== */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-body); font-weight: 600; font-size: 14px;
  letter-spacing: .04em; color: var(--gold); margin-bottom: 14px;
}
:root[lang="en"] .eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: 12px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }

/* فاصل ذهبي بمعيّن في المنتصف — مستوحى من اللوجو */
.ornament {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  width: 220px; max-width: 100%; margin: 6px auto 22px;
}
.ornament::before,
.ornament::after { content: ""; flex: 1; height: 1px; background: linear-gradient(to left, transparent, var(--gold)); }
.ornament::after { background: linear-gradient(to right, transparent, var(--gold)); }
:root[dir="ltr"] .ornament::before { background: linear-gradient(to right, transparent, var(--gold)); }
:root[dir="ltr"] .ornament::after { background: linear-gradient(to left, transparent, var(--gold)); }
.ornament i { width: 8px; height: 8px; background: var(--gold); transform: rotate(45deg); flex: none; }
.values__num, .service__num, .step__num { font-variant-numeric: lining-nums; }
.ornament--light i { background: var(--gold-light); }

.section-head { max-width: 720px; margin: 0 auto 60px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); }
:root[lang="en"] .section-head h2 { font-size: clamp(32px, 4.6vw, 50px); }
.section-head .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.section-head p { color: var(--muted); font-size: 18px; margin: 0; }

/* ===== الأزرار ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 30px; border-radius: var(--radius); border: 1px solid transparent;
  font-family: var(--font-body); font-weight: 600; font-size: 16px; line-height: 1.4;
  cursor: pointer; transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--gold { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--ink); }
.btn--gold:hover { transform: translateY(-2px); background: var(--gold-light); }
.btn--ghost { border-color: rgba(217, 184, 120, .5); color: var(--gold-light); }
.btn--ghost:hover { background: rgba(217, 184, 120, .1); border-color: var(--gold-light); }
.btn--block { width: 100%; }
.icon-arrow { transition: transform .3s var(--ease); }
:root[dir="ltr"] .icon-arrow { transform: scaleX(-1); }
.btn:hover .icon-arrow { transform: translateX(-4px); }
:root[dir="ltr"] .btn:hover .icon-arrow { transform: scaleX(-1) translateX(-4px); }

/* ===== الهيدر ===== */
.header {
  position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 50;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(14, 14, 16, .92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom-color: rgba(184, 145, 74, .25);
}
.header__inner { display: flex; align-items: center; gap: 18px; height: var(--header-h); transition: height .35s var(--ease); }
.header.is-scrolled .header__inner { height: 70px; }

.brand { display: flex; align-items: center; gap: 12px; margin-inline-end: auto; color: #fff; }
.brand img { width: 52px; height: 52px; object-fit: cover; border-radius: 50%; border: 1px solid rgba(217, 184, 120, .55); }
.brand__text { display: flex; flex-direction: column; line-height: 1.25; }
.brand__text strong { font-family: var(--font-head); font-size: 22px; color: var(--gold-light); font-weight: 700; }
:root[lang="en"] .brand__text strong { font-size: 21px; letter-spacing: .14em; text-transform: uppercase; }
.brand__text span { font-size: 12.5px; color: var(--on-ink); letter-spacing: .02em; }
:root[lang="en"] .brand__text span { text-transform: uppercase; letter-spacing: .2em; font-size: 10px; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) {
  position: relative; color: #e9e4d8; font-size: 15.5px; font-weight: 500; padding-block: 6px;
  transition: color .25s;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 1px; background: var(--gold-light);
  transform: scaleX(0); transition: transform .3s var(--ease);
}
.nav a:not(.btn):hover,
.nav a.is-active { color: var(--gold-light); }
.nav a.is-active::after,
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.nav__cta { padding: 10px 22px; font-size: 15px; }

.lang-switch {
  display: inline-grid; place-items: center; min-width: 44px; height: 40px; padding: 0 12px;
  border: 1px solid rgba(217, 184, 120, .45); border-radius: var(--radius);
  background: transparent; color: var(--gold-light); cursor: pointer;
  font-family: "Inter", "IBM Plex Sans Arabic", sans-serif; font-weight: 600; font-size: 14px; letter-spacing: .06em;
  transition: background .25s, border-color .25s;
}
.lang-switch:hover { background: rgba(217, 184, 120, .12); border-color: var(--gold-light); }

.menu-toggle {
  display: none; width: 44px; height: 40px; padding: 0 11px; flex-direction: column; justify-content: center; gap: 5px;
  background: transparent; border: 1px solid rgba(217, 184, 120, .45); border-radius: var(--radius); cursor: pointer;
}
.menu-toggle span { display: block; height: 1.5px; background: var(--gold-light); transition: transform .3s var(--ease), opacity .3s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; overflow: hidden;
  background: var(--ink); color: var(--on-ink);
  padding: calc(var(--header-h) + 40px) 0 90px;
}
.hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 70% 40%, rgba(184, 145, 74, .14), transparent 60%),
    linear-gradient(90deg, rgba(14, 14, 16, .97) 0%, rgba(14, 14, 16, .86) 50%, rgba(14, 14, 16, .7) 100%),
    url("../assets/img/hero.webp") center / cover no-repeat;
  transform: scale(1.04);
  animation: heroZoom 18s var(--ease) forwards;
}
:root[dir="ltr"] .hero__bg {
  background:
    radial-gradient(ellipse at 30% 40%, rgba(184, 145, 74, .14), transparent 60%),
    linear-gradient(270deg, rgba(14, 14, 16, .97) 0%, rgba(14, 14, 16, .86) 50%, rgba(14, 14, 16, .7) 100%),
    url("../assets/img/hero.webp") center / cover no-repeat;
}
@keyframes heroZoom { to { transform: scale(1); } }

.hero__inner { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; gap: 60px; align-items: center; }
.motto {
  display: inline-flex; align-items: center; flex-wrap: wrap; gap: 14px;
  color: var(--gold-light); font-size: 15px; font-weight: 500; letter-spacing: .04em; margin-bottom: 26px;
}
:root[lang="en"] .motto { text-transform: uppercase; letter-spacing: .2em; font-size: 12.5px; }
.motto i { width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); }
.hero h1 { color: #fff; font-size: clamp(38px, 6vw, 70px); font-weight: 600; margin-bottom: 24px; }
:root[lang="en"] .hero h1 { font-size: clamp(42px, 5.4vw, 72px); }
.hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--gold-light), var(--gold) 60%, #8f6d31);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
:root[lang="en"] .hero h1 em { font-style: italic; }
.hero__lead { font-size: 18.5px; max-width: 560px; color: #bdb7aa; margin-bottom: 38px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__emblem { display: flex; justify-content: center; }
.emblem {
  position: relative; width: min(100%, 420px); aspect-ratio: 1;
  padding: 18px; border: 1px solid rgba(217, 184, 120, .5);
}
.emblem::before {
  content: ""; position: absolute; inset: 8px; border: 1px solid rgba(217, 184, 120, .22); pointer-events: none;
}
.emblem::after {
  content: ""; position: absolute; inset-block-start: -6px; inset-inline-start: 50%; width: 11px; height: 11px;
  background: var(--gold); transform: translateX(50%) rotate(45deg);
}
:root[dir="ltr"] .emblem::after { transform: translateX(-50%) rotate(45deg); }
.emblem img { width: 100%; height: 100%; object-fit: cover; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }

.hero__scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px; border: 1px solid rgba(217, 184, 120, .5); border-radius: 14px;
}
.hero__scroll span {
  position: absolute; top: 8px; left: 50%; width: 3px; height: 8px; margin-left: -1.5px;
  background: var(--gold-light); border-radius: 2px; animation: scrollDot 2s infinite;
}
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ===== شريط القيم ===== */
.pillars { background: var(--ink-2); border-block: 1px solid rgba(184, 145, 74, .22); }
.pillars__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.pillar {
  display: flex; align-items: center; gap: 14px; padding: 30px 22px; color: var(--on-ink);
}
.pillar + .pillar { border-inline-start: 1px solid rgba(184, 145, 74, .18); }
.pillar svg { width: 34px; height: 34px; color: var(--gold-light); flex: none; }
.pillar strong { display: block; color: #fff; font-weight: 600; font-size: 16px; line-height: 1.4; }
.pillar span { font-size: 14px; color: #9a9488; }

/* ===== من نحن ===== */
.about { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: center; }
.about__media { position: relative; padding-bottom: 70px; padding-inline-end: 60px; }
.about__main { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(.25) contrast(1.05); }
.about__small {
  position: absolute; bottom: 0; inset-inline-end: 0; width: 55%; aspect-ratio: 4 / 3; object-fit: cover;
  border: 8px solid var(--paper); box-shadow: 0 20px 50px rgba(14, 14, 16, .18);
}
.about__frame {
  position: absolute; inset-block-start: -18px; inset-inline-start: -18px; width: 60%; height: 60%;
  border-block-start: 1px solid var(--gold); border-inline-start: 1px solid var(--gold); pointer-events: none;
}
.about__text h2 { font-size: clamp(28px, 3.6vw, 40px); }
:root[lang="en"] .about__text h2 { font-size: clamp(32px, 4.2vw, 48px); }
.about__text > p { color: var(--muted); }
.values { margin-top: 34px; display: grid; gap: 4px; }
.values li { display: flex; gap: 20px; padding: 18px 0; border-top: 1px solid var(--line); }
.values li:last-child { border-bottom: 1px solid var(--line); }
.values__num { font-family: var(--font-num); font-size: 34px; line-height: 1; color: var(--gold); font-weight: 600; min-width: 42px; }
.values strong { display: block; font-family: var(--font-head); font-size: 19px; color: var(--ink); margin-bottom: 2px; }
:root[lang="en"] .values strong { font-size: 22px; }
.values p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* ===== الخدمات ===== */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service {
  position: relative; padding: 38px 32px 34px; background: var(--white);
  border: 1px solid var(--line); transition: border-color .4s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease);
}
.service::before {
  content: ""; position: absolute; inset: 10px; border: 1px solid transparent; pointer-events: none;
  transition: border-color .4s var(--ease);
}
.service:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: 0 26px 50px rgba(14, 14, 16, .09); }
.service:hover::before { border-color: var(--gold-soft); }
.service__top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 24px; }
.service__icon {
  display: grid; place-items: center; width: 58px; height: 58px;
  background: var(--ink); color: var(--gold-light); transition: background .4s var(--ease), color .4s var(--ease);
}
.service:hover .service__icon { background: var(--gold); color: var(--ink); }
.service__icon svg { width: 28px; height: 28px; }
.service__num { font-family: var(--font-num); font-size: 46px; line-height: 1; font-weight: 500; color: var(--line); transition: color .4s; }
.service:hover .service__num { color: var(--gold-light); }
.service h3 { font-size: 21px; margin-bottom: 16px; }
:root[lang="en"] .service h3 { font-size: 25px; }
.service ul { display: grid; gap: 9px; }
.service li { position: relative; padding-inline-start: 20px; color: var(--muted); font-size: 15.5px; line-height: 1.65; }
.service li::before {
  content: ""; position: absolute; inset-inline-start: 2px; top: .62em; width: 6px; height: 6px;
  background: var(--gold); transform: rotate(45deg);
}

/* ===== لماذا الحاسم ===== */
.why { position: relative; overflow: hidden; }
.why::before {
  content: ""; position: absolute; inset-block: 0; inset-inline-end: -10%; width: 50%;
  background: radial-gradient(circle at center, rgba(184, 145, 74, .1), transparent 65%); pointer-events: none;
}
.why__inner { position: relative; display: grid; grid-template-columns: 1fr 1.3fr; gap: 70px; align-items: center; }
.why__head h2 { font-size: clamp(28px, 3.6vw, 40px); }
:root[lang="en"] .why__head h2 { font-size: clamp(32px, 4.2vw, 48px); }
.why__head p { color: #a39d91; font-size: 17.5px; margin-bottom: 30px; }
.why__grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid rgba(184, 145, 74, .25); border-inline-start: 1px solid rgba(184, 145, 74, .25); }
.why__item {
  padding: 34px 30px; border-bottom: 1px solid rgba(184, 145, 74, .25); border-inline-end: 1px solid rgba(184, 145, 74, .25);
  transition: background .4s var(--ease);
}
.why__item:hover { background: rgba(184, 145, 74, .06); }
.why__item h3 { font-size: 20px; color: var(--gold-light) !important; }
:root[lang="en"] .why__item h3 { font-size: 24px; }
.why__item p { margin: 0; font-size: 15.5px; color: #a39d91; }

/* ===== آلية العمل ===== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 34px; inset-inline: 12.5%; height: 1px;
  background: repeating-linear-gradient(to right, var(--gold) 0 6px, transparent 6px 12px);
}
.step { position: relative; text-align: center; }
.step__num {
  position: relative; z-index: 0; display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 26px;
  font-family: var(--font-num); font-size: 26px; font-weight: 600; line-height: 1; color: var(--gold-light);
}
.step__num::before {
  content: ""; position: absolute; inset: 6px; z-index: -1;
  background: var(--ink); border: 1px solid var(--gold); transform: rotate(45deg);
  box-shadow: 0 0 0 6px var(--paper);
}
.step h3 { font-size: 20px; }
:root[lang="en"] .step h3 { font-size: 24px; }
.step p { color: var(--muted); font-size: 15.5px; margin: 0; }

/* ===== الاقتباس ===== */
.quote-band {
  position: relative; padding: 130px 0; text-align: center; color: #fff;
  background: linear-gradient(rgba(14, 14, 16, .82), rgba(14, 14, 16, .88)), url("../assets/img/dubai.webp") center / cover no-repeat fixed;
}
.quote-band blockquote {
  margin: 0 auto 36px; max-width: 860px;
  font-family: var(--font-head); font-size: clamp(26px, 4vw, 44px); line-height: 1.55; color: #fff;
}
:root[lang="en"] .quote-band blockquote { font-style: italic; font-size: clamp(30px, 4.6vw, 54px); line-height: 1.25; }

/* ===== التواصل ===== */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 70px; align-items: start; }
.contact__info h2 { font-size: clamp(28px, 3.8vw, 42px); }
:root[lang="en"] .contact__info h2 { font-size: clamp(32px, 4.4vw, 50px); }
.contact__info > p { color: var(--muted); margin-bottom: 34px; }
.contact__list { display: grid; gap: 14px; }
.contact__list li {
  display: flex; align-items: center; gap: 18px; padding: 18px 20px;
  background: var(--white); border: 1px solid var(--line); transition: border-color .3s;
}
.contact__list li:hover { border-color: var(--gold); }
.contact__icon { display: grid; place-items: center; width: 48px; height: 48px; flex: none; background: var(--ink); color: var(--gold-light); }
.contact__icon svg { width: 22px; height: 22px; }
.contact__list div { display: flex; flex-direction: column; min-width: 0; }
.contact__list span { font-size: 13.5px; color: var(--muted); }
.contact__list a,
.contact__list strong { font-weight: 600; color: var(--ink); font-size: 16.5px; overflow-wrap: anywhere; }
.contact__list a { text-align: start; unicode-bidi: plaintext; }
.contact__list a:hover { color: var(--gold); }

.form {
  position: relative; padding: 42px 38px; background: var(--ink); color: var(--on-ink);
  display: grid; gap: 18px;
}
.form::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(184, 145, 74, .3); pointer-events: none; }
.form h3 { color: #fff; font-size: 24px; margin-bottom: 4px; }
:root[lang="en"] .form h3 { font-size: 28px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { position: relative; display: grid; gap: 7px; font-size: 14px; }
.form label > span { color: #b3ada1; }
.form input,
.form select,
.form textarea {
  width: 100%; padding: 13px 15px; font: inherit; font-size: 16px; color: #fff;
  background: var(--ink-3); border: 1px solid #34343a; border-radius: var(--radius);
  transition: border-color .25s, background .25s;
}
.form input::placeholder,
.form textarea::placeholder { color: #6f6a62; }
.form input[dir="ltr"] { text-align: start; }
:root[dir="rtl"] .form input[dir="ltr"] { text-align: right; }
.form select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold-light) 50%), linear-gradient(135deg, var(--gold-light) 50%, transparent 50%); background-size: 6px 6px; background-repeat: no-repeat; background-position: left 14px center, left 20px center; padding-inline-end: 40px; }
:root[dir="ltr"] .form select { background-position: right 20px center, right 14px center; }
.form select option { background: var(--ink-2); color: #fff; }
.form textarea { resize: vertical; min-height: 110px; }
.form :is(input, select, textarea):focus { outline: none; border-color: var(--gold); background: #1d1d22; }
.form .btn { margin-top: 6px; position: relative; }
.form__note { margin: 0; font-size: 13.5px; color: #8a847a; text-align: center; position: relative; }

/* ===== الفوتر ===== */
.footer { background: var(--ink); color: #9a9488; padding-top: 80px; border-top: 1px solid rgba(184, 145, 74, .25); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 50px; padding-bottom: 60px; }
.footer__brand img { width: 96px; height: 96px; object-fit: cover; margin-bottom: 18px; border: 1px solid rgba(217, 184, 120, .4); }
.footer__brand p { max-width: 360px; font-size: 15.5px; }
.footer h4 { color: var(--gold-light); font-size: 18px; margin-bottom: 18px; }
:root[lang="en"] .footer h4 { font-size: 22px; }
.footer ul { display: grid; gap: 10px; font-size: 15.5px; }
.footer a { transition: color .25s; overflow-wrap: anywhere; }
.footer a:hover { color: var(--gold-light); }
.footer__bottom { border-top: 1px solid #26262b; padding: 24px 0; font-size: 14px; text-align: center; }
.footer__bottom p { margin: 0; }

/* ===== زر واتساب العائم ===== */
.wa-float {
  position: fixed; bottom: 22px; inset-inline-start: 22px; z-index: 40;
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff; box-shadow: 0 10px 28px rgba(0, 0, 0, .3);
  transition: transform .3s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* ===== الظهور التدريجي ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.services .reveal:nth-child(3n+2),
.why__grid .reveal:nth-child(2n),
.steps .reveal:nth-child(2) { transition-delay: .1s; }
.services .reveal:nth-child(3n),
.steps .reveal:nth-child(3) { transition-delay: .2s; }
.steps .reveal:nth-child(4) { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ===== التجاوب ===== */
@media (max-width: 1080px) {
  .nav { gap: 22px; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .why__inner { grid-template-columns: 1fr; gap: 50px; }
  .about { gap: 50px; }
}

@media (max-width: 920px) {
  :root { --header-h: 72px; }
  .menu-toggle { display: flex; }
  .nav {
    position: absolute; inset-block-start: 100%; inset-inline: 0;
    flex-direction: column; align-items: stretch; gap: 0; padding: 10px 20px 22px;
    background: rgba(14, 14, 16, .97); border-bottom: 1px solid rgba(184, 145, 74, .3);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid #26262b; }
  .nav a:not(.btn)::after { display: none; }
  .nav__cta { margin-top: 16px; }
  .header:has(.nav.is-open) { background: rgba(14, 14, 16, .97); }

  .hero__inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero__content { order: 2; }
  .hero__emblem { order: 1; }
  .emblem { width: min(62vw, 280px); }
  .motto, .hero__actions { justify-content: center; }
  .hero__lead { margin-inline: auto; }
  .hero__scroll { display: none; }

  .pillars__grid { grid-template-columns: repeat(2, 1fr); }
  .pillar:nth-child(3) { border-inline-start: 0; }
  .pillar:nth-child(n+3) { border-top: 1px solid rgba(184, 145, 74, .18); }

  .about, .contact { grid-template-columns: 1fr; }
  .about__media { max-width: 560px; margin-inline: auto; width: 100%; }

  .steps { grid-template-columns: 1fr 1fr; row-gap: 50px; }
  .steps::before { display: none; }

  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .quote-band { background-attachment: scroll; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .section { padding: 80px 0; }
  .section-head { margin-bottom: 44px; }
  .brand__text span { display: none; }
  .brand img { width: 44px; height: 44px; }
  .hero { padding-bottom: 70px; }
  .hero__lead { font-size: 17px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .pillars__grid { grid-template-columns: 1fr; }
  .pillar { padding: 20px 4px; }
  .pillar + .pillar { border-inline-start: 0; border-top: 1px solid rgba(184, 145, 74, .18); }
  .about__media { padding-inline-end: 30px; padding-bottom: 50px; }
  .about__frame { inset-block-start: -10px; inset-inline-start: -10px; }
  .services { grid-template-columns: 1fr; }
  .service { padding: 32px 24px 28px; }
  .why__grid { grid-template-columns: 1fr; }
  .why__item { padding: 26px 22px; }
  .steps { grid-template-columns: 1fr; }
  .quote-band { padding: 90px 0; }
  .form { padding: 34px 22px; }
  .contact__list li { padding: 16px 14px; gap: 14px; }
  .contact__icon { width: 42px; height: 42px; }
  .contact__list a, .contact__list strong { font-size: 14.5px; }
  .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .wa-float { width: 52px; height: 52px; bottom: 16px; inset-inline-start: 16px; }
}
