/* ===================================================================
   شركة شريح للمحاماة والاستشارات — نظام التصميم
   فحمي #1c1c1e · ذهبي #b8922a · أبيض دافئ
   عصري نظيف · RTL · موبايل-فيرست
=================================================================== */

:root {
  /* الألوان */
  --charcoal: #1c1c1e;
  --charcoal-90: #262628;
  --charcoal-80: #303033;
  --charcoal-line: #3a3a3e;

  --gold: #b8922a;
  --gold-bright: #d4ab46;
  --gold-soft: #e7cf94;
  --gold-tint: rgba(184, 146, 42, 0.10);

  --paper: #f7f3ea;        /* خلفية أبيض دافئ */
  --paper-2: #fbf8f1;      /* بطاقات فاتحة */
  --paper-pure: #fffdf8;

  --ink: #1c1c1e;
  --ink-soft: #4a463e;
  --muted: #837d6f;        /* رمادي دافئ */
  --muted-2: #a8a294;
  --line: #e4ddcd;

  /* الخطوط */
  --font-body: "IBM Plex Sans Arabic", "Segoe UI", system-ui, sans-serif;
  --font-display: "Cairo", "IBM Plex Sans Arabic", system-ui, sans-serif;

  /* المقاسات */
  --maxw: 1240px;
  --gutter: 22px;
  --radius: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 3px rgba(28, 28, 30, 0.06), 0 1px 2px rgba(28, 28, 30, 0.04);
  --shadow-md: 0 12px 34px -12px rgba(28, 28, 30, 0.20);
  --shadow-lg: 0 30px 70px -30px rgba(28, 28, 30, 0.45);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.75;
  font-size: 16px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ---------- أدوات مساعدة ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(64px, 11vw, 130px); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--gold);
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1.5px;
  background: var(--gold);
  display: inline-block;
}
.eyebrow.center { justify-content: center; }
.eyebrow.on-dark { color: var(--gold-soft); }
.eyebrow.on-dark::before { background: var(--gold-soft); }

.section-head { max-width: 640px; margin-bottom: clamp(36px, 6vw, 60px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 {
  font-size: clamp(1.9rem, 6.2vw, 3rem);
  margin-top: 16px;
  color: var(--ink);
}
.section-head p {
  margin-top: 18px;
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.85;
}

/* ---------- الأزرار ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.97rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.35s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 19px; height: 19px; }

.btn-gold {
  background: var(--gold);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(184, 146, 42, 0.7);
}
.btn-gold:hover {
  background: var(--gold-bright);
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -10px rgba(184, 146, 42, 0.8);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

.btn-ghost-light {
  background: transparent;
  color: #f4efe3;
  border-color: rgba(231, 207, 148, 0.35);
}
.btn-ghost-light:hover { border-color: var(--gold-soft); color: #fff; }

.btn-block { width: 100%; }

/* =================================================================
   الترويسة
================================================================= */
.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 100;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), padding 0.4s var(--ease);
  padding-block: 18px;
}
.site-header.scrolled {
  background: rgba(247, 243, 234, 0.86);
  backdrop-filter: saturate(150%) blur(14px);
  box-shadow: 0 1px 0 var(--line);
  padding-block: 10px;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* الشعار */
.brand { display: flex; align-items: center; gap: 13px; }
.brand-logo { height: 80px; width: auto; object-fit: contain; filter: brightness(1.1) drop-shadow(0 0 10px rgba(184,146,42,0.5)); transition: transform 0.3s ease, filter 0.3s ease; }
.brand-logo:hover { transform: scale(1.05); filter: brightness(1.2) drop-shadow(0 0 16px rgba(184,146,42,0.75)); }
.site-header.scrolled .brand-logo { height: 62px; }
.brand-mark {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--charcoal);
  display: grid; place-items: center;
  flex-shrink: 0;
  border: 1px solid var(--charcoal-line);
  transition: transform 0.4s var(--ease);
}
.site-header.scrolled .brand-mark { width: 42px; height: 42px; }
.brand-mark span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.45rem;
  color: var(--gold-soft);
  line-height: 1;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.12rem;
  color: var(--ink);
}
.brand-text small { font-size: 0.72rem; color: var(--muted); letter-spacing: 0.02em; }

/* روابط القائمة */
.nav-links { display: none; align-items: center; gap: 6px; }
.nav-links a {
  padding: 9px 15px;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.25s, background 0.25s;
}
.nav-links a:hover { color: var(--gold); background: var(--gold-tint); }

.nav-cta { display: none; }

/* زر القائمة المتنقلة */
.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px; height: 46px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--paper-pure);
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 20px; height: 2px;
  background: var(--ink);
  margin-inline: auto;
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
body.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* لوحة الجوال */
.mobile-panel {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--paper);
  padding: 96px var(--gutter) 40px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transform: translateX(110%);
  transition: transform 0.45s var(--ease);
  overflow-y: auto;
}
[dir="rtl"] .mobile-panel { transform: translateX(-110%); }
body.menu-open .mobile-panel { transform: translateX(0); }
.mobile-panel a {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  padding: 14px 6px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.mobile-panel a:last-of-type { border-bottom: none; }
.mobile-panel .btn { margin-top: 22px; }

/* =================================================================
   الواجهة الرئيسية Hero
================================================================= */
.hero {
  position: relative;
  background: var(--charcoal);
  color: #f4efe3;
  padding-block: 150px 0;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset-block-start: -30%;
  inset-inline-start: -10%;
  width: 60%; height: 80%;
  background: radial-gradient(circle, rgba(184,146,42,0.16), transparent 65%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  gap: 50px;
  align-items: center;
  position: relative;
}
.hero-copy { position: relative; }
.hero h1 {
  font-size: clamp(2.4rem, 9vw, 4.4rem);
  line-height: 1.12;
  color: #fdfbf6;
  margin-top: 22px;
}
.hero h1 .accent { color: var(--gold-soft); }
.hero-lead {
  margin-top: 24px;
  font-size: 1.1rem;
  line-height: 1.9;
  color: #c8c2b4;
  max-width: 520px;
}
.hero-actions {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero-trust {
  margin-top: 44px;
  padding-top: 30px;
  border-top: 1px solid var(--charcoal-line);
  display: flex;
  flex-wrap: wrap;
  gap: 30px 44px;
}
.hero-trust .t-item strong {
  font-family: var(--font-display);
  display: block;
  font-size: 1.9rem;
  color: var(--gold-soft);
  line-height: 1;
}
.hero-trust .t-item span { font-size: 0.85rem; color: var(--muted-2); }

.hero-figure {
  position: relative;
  padding-bottom: 50px;
}
.hero-media {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--charcoal-line);
}
.hero-badge {
  position: absolute;
  inset-block-end: 14px;
  inset-inline-start: -14px;
  background: var(--paper-pure);
  color: var(--ink);
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 270px;
}
.hero-badge .hb-icon {
  width: 44px; height: 44px;
  border-radius: 11px;
  background: var(--gold-tint);
  color: var(--gold);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.hero-badge .hb-icon svg { width: 24px; height: 24px; }
.hero-badge strong { font-family: var(--font-display); font-size: 0.98rem; display: block; }
.hero-badge span { font-size: 0.8rem; color: var(--muted); }

/* =================================================================
   نائب الصورة (placeholder)
================================================================= */
.ph {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: #2c2c2f;
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(255,255,255,0.035) 0 10px,
    transparent 10px 20px
  );
  display: grid;
  place-items: center;
  color: rgba(255,255,255,0.4);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 16px;
}
.ph.light {
  background-color: #ece5d6;
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(28,28,30,0.05) 0 10px,
    transparent 10px 20px
  );
  color: var(--muted);
}
.ph::after {
  content: attr(data-label);
  z-index: 1;
}
.ph .ph-icon {
  position: absolute;
  inset-block-start: 50%;
  inset-inline-start: 50%;
  transform: translate(50%, -150%);
  opacity: 0.3;
}
[dir="rtl"] .ph .ph-icon { transform: translate(-50%, -150%); }
.ph .ph-icon svg { width: 38px; height: 38px; }

/* =================================================================
   من نحن
================================================================= */
.about-grid {
  display: grid;
  gap: 46px;
  align-items: center;
}
.about-media {
  aspect-ratio: 5 / 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
}
.about-media .frame-tag {
  position: absolute;
  inset-block-end: 16px; inset-inline-end: 16px;
  background: var(--charcoal);
  color: var(--gold-soft);
  font-family: var(--font-display);
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 0.85rem;
}
.about-copy h2 { font-size: clamp(1.8rem, 5.5vw, 2.7rem); margin-top: 16px; }
.about-copy p { margin-top: 18px; color: var(--ink-soft); line-height: 1.95; }
.about-points {
  margin-top: 28px;
  display: grid;
  gap: 16px;
}
.about-point {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.about-point .ap-check {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 8px;
  background: var(--gold-tint);
  color: var(--gold);
  display: grid; place-items: center;
  margin-top: 3px;
}
.about-point .ap-check svg { width: 15px; height: 15px; }
.about-point strong { font-family: var(--font-display); font-size: 1.02rem; }
.about-point p { margin-top: 2px; font-size: 0.93rem; color: var(--muted); line-height: 1.7; }

/* =================================================================
   شريط الإحصائيات
================================================================= */
.stats {
  background: var(--charcoal);
  color: #f4efe3;
  position: relative;
  overflow: hidden;
}
.stats::before {
  content: "";
  position: absolute;
  inset-block-start: -40%; inset-inline-end: -5%;
  width: 50%; height: 100%;
  background: radial-gradient(circle, rgba(184,146,42,0.12), transparent 60%);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px 20px;
  position: relative;
}
.stat { text-align: center; }
.stat .num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 9vw, 3.6rem);
  color: var(--gold-soft);
  line-height: 1;
}
.stat .num small { font-size: 0.5em; color: var(--gold); }
.stat .lbl { margin-top: 12px; font-size: 0.92rem; color: #c8c2b4; }

/* =================================================================
   مجالات الممارسة
================================================================= */
.areas-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.area-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s;
  position: relative;
  overflow: hidden;
}
.area-card::before {
  content: "";
  position: absolute;
  inset-block: 0; inset-inline-start: 0;
  width: 3px;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s var(--ease);
}
.area-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.area-card:hover::before { transform: scaleY(1); }
.area-icon {
  width: 52px; height: 52px;
  border-radius: 13px;
  background: var(--charcoal);
  color: var(--gold-soft);
  display: grid; place-items: center;
  margin-bottom: 20px;
}
.area-icon svg { width: 26px; height: 26px; }
.area-card h3 { font-size: 1.2rem; }
.area-card p { margin-top: 10px; color: var(--muted); font-size: 0.94rem; line-height: 1.75; }

/* =================================================================
   آراء العملاء
================================================================= */
.testimonials { background: var(--paper-2); }
.tst-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.tst-card {
  background: var(--paper-pure);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}
.tst-quote {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 0.6;
  height: 28px;
}
.tst-card p {
  font-size: 1.02rem;
  line-height: 1.9;
  color: var(--ink-soft);
  margin-bottom: 24px;
  flex-grow: 1;
}
.tst-author { display: flex; align-items: center; gap: 14px; }
.tst-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--line);
}
.tst-author strong { font-family: var(--font-display); font-size: 0.98rem; display: block; }
.tst-author span { font-size: 0.84rem; color: var(--muted); }

/* =================================================================
   الفريق
================================================================= */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.branches-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 700px;
  margin: 0 auto;
}
.branch-card {
  background: var(--charcoal-2);
  border: 1px solid var(--charcoal-line);
  border-radius: var(--radius);
  padding: 40px 32px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  transition: border-color 0.3s, transform 0.3s;
}
.branch-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.branch-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(184,146,42,0.12);
  display: grid; place-items: center;
  flex-shrink: 0;
  color: var(--gold);
}
.branch-icon svg { width: 24px; height: 24px; }
.branch-info h3 { font-size: 1.3rem; font-weight: 700; color: var(--warm-white); margin-bottom: 6px; }
.branch-info p { color: var(--muted); font-size: 0.95rem; margin-bottom: 18px; }
.branch-wa {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--gold); font-size: 0.88rem; font-weight: 600;
  text-decoration: none; transition: opacity 0.2s;
}
.branch-wa:hover { opacity: 0.75; }
.member { text-align: start; }
.member-photo-blank { aspect-ratio: 3/4; background: var(--charcoal-2); border-radius: var(--radius); }
.member-photo {
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  margin-bottom: 16px;
}
.member-photo .m-social {
  position: absolute;
  inset-block-end: 12px; inset-inline-end: 12px;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(247,243,234,0.92);
  color: var(--charcoal);
  display: grid; place-items: center;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.35s var(--ease);
}
.member:hover .m-social { opacity: 1; transform: translateY(0); }
.member-photo .m-social svg { width: 18px; height: 18px; }
.member h3 { font-size: 1.12rem; }
.member .role { color: var(--gold); font-size: 0.9rem; font-weight: 600; margin-top: 3px; }
.member .bio { color: var(--muted); font-size: 0.88rem; margin-top: 8px; line-height: 1.7; }

/* =================================================================
   المقالات
================================================================= */
.articles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
.article-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  display: flex;
  flex-direction: column;
}
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.article-thumb { aspect-ratio: 16 / 10; overflow: hidden; }
.article-body { padding: 24px 24px 28px; display: flex; flex-direction: column; flex-grow: 1; }
.article-meta {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.8rem; color: var(--muted);
  margin-bottom: 12px;
}
.article-tag {
  color: var(--gold);
  font-weight: 600;
  background: var(--gold-tint);
  padding: 4px 12px;
  border-radius: 100px;
}
.article-card h3 { font-size: 1.18rem; line-height: 1.45; }
.article-card p { margin-top: 10px; color: var(--muted); font-size: 0.92rem; flex-grow: 1; }
.article-more {
  margin-top: 18px;
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.92rem;
}
.article-more svg { width: 16px; height: 16px; transition: transform 0.3s; }
[dir="rtl"] .article-more svg { transform: scaleX(-1); }
.article-card:hover .article-more svg { transform: scaleX(-1) translateX(4px); }

/* =================================================================
   تواصل معنا
================================================================= */
.contact { background: var(--charcoal); color: #f4efe3; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
}
.contact-copy h2 { font-size: clamp(1.9rem, 6vw, 2.9rem); color: #fdfbf6; margin-top: 16px; }
.contact-copy p.lead { margin-top: 18px; color: #c8c2b4; line-height: 1.9; max-width: 480px; }

.contact-list { margin-top: 34px; display: grid; gap: 14px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  background: var(--charcoal-90);
  border: 1px solid var(--charcoal-line);
  border-radius: var(--radius);
  transition: border-color 0.3s, background 0.3s;
}
.contact-item:hover { border-color: var(--gold); }
.contact-item .ci-icon {
  width: 46px; height: 46px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--gold-tint);
  color: var(--gold-soft);
  display: grid; place-items: center;
}
.contact-item .ci-icon svg { width: 22px; height: 22px; }
.contact-item small { display: block; color: var(--muted-2); font-size: 0.8rem; }
.contact-item strong { font-family: var(--font-display); font-size: 1.05rem; color: #f4efe3; direction: ltr; unicode-bidi: plaintext; }

.wa-cta {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* نموذج الاستشارة */
.contact-form {
  background: var(--paper-pure);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 5vw, 40px);
  box-shadow: var(--shadow-lg);
}
.contact-form h3 { font-size: 1.4rem; }
.contact-form > p { color: var(--muted); font-size: 0.92rem; margin-top: 6px; margin-bottom: 24px; }
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 7px;
  color: var(--ink-soft);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.96rem;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--paper);
  color: var(--ink);
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder,
.field textarea::placeholder { color: var(--muted-2); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--paper-pure);
  box-shadow: 0 0 0 4px var(--gold-tint);
}
.form-note {
  margin-top: 14px;
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
}

/* =================================================================
   التذييل
================================================================= */
.footer {
  background: #161618;
  color: #c8c2b4;
  padding-block: 64px 30px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--charcoal-line);
}
.footer .brand-text strong { color: #f4efe3; }
.footer .brand-text small { color: var(--muted-2); }
.footer-about p { margin-top: 18px; font-size: 0.92rem; line-height: 1.85; max-width: 340px; }
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  color: #f4efe3;
  margin-bottom: 18px;
}
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { font-size: 0.92rem; color: #b3ad9f; transition: color 0.25s; }
.footer-col a:hover { color: var(--gold-soft); }
.footer-social { display: flex; gap: 10px; margin-top: 6px; }
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 11px;
  border: 1px solid var(--charcoal-line);
  display: grid; place-items: center;
  color: #c8c2b4;
  transition: all 0.3s var(--ease);
}
.footer-social a:hover { border-color: var(--gold); color: var(--gold-soft); transform: translateY(-2px); }
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom {
  padding-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  text-align: center;
  font-size: 0.84rem;
  color: var(--muted-2);
}
.footer-bottom a { color: var(--muted-2); }
.footer-bottom a:hover { color: var(--gold-soft); }

/* =================================================================
   كشف التمرير (animations)
================================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* زر واتساب عائم */
.wa-float {
  position: fixed;
  inset-block-end: 22px;
  inset-inline-end: 22px;
  z-index: 90;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 14px 30px -8px rgba(37, 211, 102, 0.6);
  transition: transform 0.3s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* =================================================================
   التجاوب — نقاط التوقف
================================================================= */
@media (min-width: 640px) {
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .tst-grid { grid-template-columns: repeat(2, 1fr); }
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1.4fr 1fr 1fr; }
}

@media (min-width: 920px) {
  :root { --gutter: 40px; }
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .menu-toggle { display: none; }

  .hero { padding-block: 170px 0; }
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 60px; }

  .about-grid { grid-template-columns: 1fr 1.1fr; }
  .stats-grid { grid-template-columns: repeat(4, 1fr); gap: 30px; }
  .areas-grid { grid-template-columns: repeat(3, 1fr); }
  .tst-grid { grid-template-columns: repeat(3, 1fr); }
  .team-grid { grid-template-columns: repeat(4, 1fr); }
  .articles-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: start; }
  .footer-top { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}

@media (min-width: 1100px) {
  .hero h1 { font-size: clamp(3rem, 4.4vw, 4.4rem); }
}
