/* ============ Tokens (من صفحة الألوان RGB في الهوية) ============ */
:root {
  --navy: #0f1e3f;
  --navy-2: #0b1730;
  --navy-3: #0a1428;
  --purple: #4d51a5;
  --gray: #b0bec5;
  --warm: #ecebe7;
  --gold: #d5a857;
  --gold-light: #e6c791;
  --blue: #05668d;

  /* دلالية — الوضع الفاتح (اتجاه الهوية ص39: خلفيات فاتحة + كحلي + ذهبي للتأكيد) */
  --bg: #fafaf7;
  --surface: #ffffff;
  --surface-2: #f3f1eb;
  --text: #14203a;
  --text-2: #54617c;
  --line: #e5e2d9;
  --header-bg: rgba(250, 250, 247, 0.88);
  --footer-bg: var(--navy-2);
  --danger: #c0504d;
  --pattern-ink: %230F1E3F;
  --pattern-op: 0.05;
  --shadow: 0 10px 30px rgba(15, 30, 63, 0.08);
  --shadow-lg: 0 22px 50px rgba(15, 30, 63, 0.14);
  --radius: 20px;
}
[data-theme="dark"] {
  --bg: var(--navy-3);
  --surface: #101e3c;
  --surface-2: #15264a;
  --text: var(--warm);
  --text-2: #9facc4;
  --line: #243456;
  --header-bg: rgba(10, 20, 40, 0.85);
  --footer-bg: #070f20;
  --pattern-ink: %23E6C791;
  --pattern-op: 0.06;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 22px 50px rgba(0, 0, 0, 0.5);
}
/* ============ أساسيات ============ */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body {
  margin: 0;
  font-family: "IBM Plex Sans Arabic", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img,
svg {
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}
::selection {
  background: var(--gold);
  color: var(--navy);
}
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}
.container {
  max-width: 1140px;
  margin-inline: auto;
  padding-inline: 24px;
}
.section {
  padding-block: 96px;
  scroll-margin-top: 88px;
}
.section-alt {
  background: var(--surface-2);
}
[dir="ltr"] .ltr,
[dir="rtl"] .ltr {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
}
.skip-link {
  position: fixed;
  inset-block-start: -60px;
  inset-inline-start: 16px;
  z-index: 200;
  background: var(--navy);
  color: var(--warm);
  padding: 10px 18px;
  border-radius: 10px;
  transition: inset-block-start 0.2s;
}
.skip-link:focus {
  inset-block-start: 12px;
}

/* أنماط هندسية خافتة (مستوحاة من صفحة Pattern في الهوية) */
.patterned {
  position: relative;
}
.patterned::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: var(--pattern-op);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%230F1E3F' stroke-width='1'%3E%3Cpath d='M32 4l28 28-28 28L4 32z'/%3E%3Cpath d='M32 15l17 17-17 17-17-17z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 64px 64px;
}
[data-theme="dark"] .patterned::before {
  filter: invert(1) hue-rotate(180deg);
}

/* ============ عناوين الأقسام ============ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}
.section-title {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 700;
  margin: 12px 0 10px;
  line-height: 1.35;
}
.section-sub {
  color: var(--text-2);
  margin: 0;
  font-size: 1.05rem;
}

/* ============ أزرار ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 14px;
  padding: 14px 28px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}
.btn:active {
  transform: translateY(1px);
}
.btn-gold {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 8px 20px rgba(213, 168, 87, 0.35);
}
.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}
.btn-navy {
  background: var(--navy);
  color: var(--warm);
}
.btn-navy:hover {
  background: var(--navy-2);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
[data-theme="dark"] .btn-navy {
  background: var(--gold);
  color: var(--navy);
}
[data-theme="dark"] .btn-navy:hover {
  background: var(--gold-light);
}
.btn-ghost {
  border: 1.5px solid currentColor;
  color: inherit;
  padding: 12px 24px;
}
.btn-ghost:hover {
  transform: translateY(-2px);
}
.link-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--gold);
  border-bottom: 1.5px solid transparent;
  padding-block: 4px;
}
.link-cta:hover {
  border-bottom-color: var(--gold);
}
.icon-arrow {
  transition: transform 0.2s;
}
[dir="rtl"] .icon-arrow {
  transform: scaleX(-1);
}
a:hover > .icon-arrow {
  transform: translateX(3px);
}
[dir="rtl"] a:hover > .icon-arrow {
  transform: scaleX(-1) translateX(3px);
}

/* ============ شريط التقدم ============ */
.progress {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  height: 3px;
  z-index: 120;
  background: transparent;
}
.progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
}

/* ============ الهيدر ============ */
.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 100;
  color: var(--warm);
  transition:
    background 0.25s,
    box-shadow 0.25s,
    color 0.25s,
    border-color 0.25s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
  color: var(--text);
  box-shadow: 0 6px 24px rgba(15, 30, 63, 0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 76px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.brand .mark {
  width: 40px;
  height: 40px;
  color: var(--gold);
}
.brand-word {
  font-weight: 700;
  letter-spacing: 0.24em;
  font-size: 1.05rem;
}
.main-nav ul {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  font-weight: 500;
  opacity: 0.85;
  padding-block: 6px;
  border-bottom: 2px solid transparent;
  transition: 0.2s;
}
.main-nav a:hover {
  opacity: 1;
}
.main-nav a[aria-current="true"] {
  opacity: 1;
  color: var(--gold);
  border-bottom-color: var(--gold);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.chip-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 8px 14px;
  border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  transition: 0.2s;
}
.site-header.scrolled .chip-btn {
  border-color: var(--line);
}
.chip-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.chip-btn svg {
  width: 16px;
  height: 16px;
}
.header-cta {
  padding: 10px 20px;
  font-size: 0.92rem;
  border-radius: 12px;
}
.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}
.menu-btn svg {
  width: 24px;
  height: 24px;
}
.mobile-nav {
  position: fixed;
  inset-block-start: 76px;
  inset-inline: 0;
  z-index: 99;
  background: var(--surface);
  color: var(--text);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  padding: 20px 24px 28px;
  display: none;
}
.mobile-nav.open {
  display: block;
}
.mobile-nav ul {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: grid;
  gap: 4px;
}
.mobile-nav a.nav-item {
  display: block;
  padding: 12px 8px;
  border-radius: 10px;
  font-weight: 600;
}
.mobile-nav a.nav-item:hover {
  background: var(--surface-2);
  color: var(--gold);
}
.mobile-nav .row {
  display: flex;
  gap: 10px;
  align-items: center;
}
body.nav-open {
  overflow: hidden;
}

/* ============ Hero ============ */
.hero {
  position: relative;
  background: linear-gradient(
    160deg,
    var(--navy-2) 0%,
    var(--navy) 55%,
    #132a55 100%
  );
  color: var(--warm);
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-block: 140px 90px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.07;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%23D5A857' stroke-width='1'%3E%3Cpath d='M32 4l28 28-28 28L4 32z'/%3E%3Cpath d='M32 15l17 17-17 17-17-17z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 64px 64px;
}
.hero::after {
  content: "";
  position: absolute;
  inset-inline-end: -140px;
  inset-block-start: -140px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(77, 81, 165, 0.45), transparent 65%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.hero .eyebrow {
  color: var(--gold-light);
}
.hero h1 {
  font-size: clamp(2.3rem, 5.4vw, 3.6rem);
  font-weight: 700;
  line-height: 1.25;
  margin: 18px 0 18px;
  letter-spacing: -0.01em;
}
.hero .lead {
  font-size: 1.12rem;
  color: #c9d2e4;
  max-width: 52ch;
  margin: 0 0 32px;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}
.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.hero-chips li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #c9d2e4;
  border: 1px solid rgba(236, 235, 231, 0.22);
  border-radius: 99px;
  padding: 7px 16px;
  backdrop-filter: blur(4px);
}
.hero-chips li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
.hero-emblem {
  justify-self: center;
  position: relative;
  width: min(380px, 80vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
.hero-emblem .ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(213, 168, 87, 0.4);
}
.hero-emblem .ring::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  border: 1px dashed rgba(213, 168, 87, 0.3);
}
.hero-emblem .glow {
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(213, 168, 87, 0.16),
    transparent 70%
  );
}
.hero-emblem .inner {
  position: relative;
  text-align: center;
}
.hero-emblem .scales {
  width: 150px;
  height: 150px;
  color: var(--gold);
  margin-inline: auto;
}
.hero-emblem .word {
  margin-top: 14px;
  font-weight: 700;
  letter-spacing: 0.34em;
  font-size: 1rem;
  color: var(--warm);
}
@media (max-width: 900px) {
  .hero-emblem {
    display: none;
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

/* ============ من نحن — خط زمني ============ */
.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.era {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow);
}
.era::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline: 30px;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: var(--gold);
}
.era .year {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 12px;
}
.era h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
}
.era p {
  margin: 0;
  color: var(--text-2);
  font-size: 0.98rem;
}
.era .era-icon {
  width: 44px;
  height: 44px;
  color: var(--gold);
  margin-bottom: 14px;
}
@media (max-width: 900px) {
  .timeline {
    grid-template-columns: 1fr;
  }
}

/* ============ الخدمات ============ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.svc {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s;
}
.svc:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(213, 168, 87, 0.5);
}
.svc .icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(213, 168, 87, 0.12);
  color: var(--gold);
}
.svc .icon-wrap svg {
  width: 28px;
  height: 28px;
}
.svc h3 {
  margin: 0;
  font-size: 1.18rem;
}
.svc p {
  margin: 0;
  color: var(--text-2);
  font-size: 0.97rem;
}
.svc ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.svc li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.93rem;
  color: var(--text-2);
}
.svc li svg {
  width: 17px;
  height: 17px;
  color: var(--gold);
  flex: none;
  margin-top: 5px;
}
.svc .link-cta {
  margin-top: auto;
  align-self: flex-start;
}
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 680px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* ============ شريط الحقائق الآمنة (بدل الإحصائيات غير الموثقة) ============ */
.strip {
  background: var(--navy);
  color: var(--warm);
  padding-block: 64px;
}
.strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.fact {
  text-align: center;
  position: relative;
}
.fact:not(:last-child)::after {
  content: "";
  position: absolute;
  inset-inline-end: -14px;
  inset-block: 8px;
  border-inline-end: 1px solid rgba(236, 235, 231, 0.15);
}
.fact svg {
  width: 30px;
  height: 30px;
  color: var(--gold);
  margin: 0 auto 12px;
}
.fact .v {
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 4px;
}
.fact .l {
  color: #b9c3d8;
  font-size: 0.88rem;
}
@media (max-width: 860px) {
  .strip-grid {
    grid-template-columns: 1fr 1fr;
  }
  .fact:nth-child(2)::after {
    display: none;
  }
}
@media (max-width: 480px) {
  .strip-grid {
    grid-template-columns: 1fr;
  }
  .fact::after {
    display: none;
  }
}

/* ============ خطوات العمل ============ */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  inset-block-start: 26px;
  inset-inline: 60px;
  border-top: 1.5px dashed var(--line);
}
.step {
  position: relative;
  text-align: center;
}
.step .num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  background: var(--surface);
  border: 1.5px solid var(--gold);
  color: var(--gold);
  font-weight: 700;
  font-size: 1.05rem;
  position: relative;
  z-index: 1;
}
.step h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
}
.step p {
  margin: 0;
  color: var(--text-2);
  font-size: 0.94rem;
}
@media (max-width: 860px) {
  .steps {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .steps::before {
    display: none;
  }
  .step {
    text-align: start;
  }
  .step .num {
    margin-inline-start: 0;
  }
}
@media (max-width: 480px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

/* ============ التواصل ============ */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(280px, 380px) 1fr;
  gap: 36px;
  align-items: start;
}
.info-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 22px;
}
.info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.info-item .ico {
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(77, 81, 165, 0.1);
  color: var(--purple);
}
.info-item .ico svg {
  width: 20px;
  height: 20px;
}
.info-item .lbl {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-2);
  letter-spacing: 0.03em;
}
.info-item .val {
  font-weight: 600;
  margin-top: 2px;
}
.info-item .val a:hover {
  color: var(--gold);
}
.phone-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.copy-btn {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid var(--line);
  color: var(--text-2);
  transition: 0.2s;
}
.copy-btn:hover {
  color: var(--gold);
  border-color: var(--gold);
}
.copy-btn svg {
  width: 14px;
  height: 14px;
}
/* النموذج */
.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.field {
  display: grid;
  gap: 8px;
}
.field.full {
  grid-column: 1/-1;
}
.field label {
  font-size: 0.9rem;
  font-weight: 600;
}
.field input,
.field select,
.field textarea {
  font: inherit;
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  color: var(--text);
  background: var(--bg);
  border: 1.5px solid var(--line);
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--text-2);
  opacity: 0.7;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(213, 168, 87, 0.22);
}
.field select.flash {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(213, 168, 87, 0.3);
}
.field textarea {
  resize: vertical;
  min-height: 140px;
}
.field .err {
  display: none;
  color: var(--danger);
  font-size: 0.82rem;
  margin: 0;
}
.field.invalid input,
.field.invalid textarea,
.field.invalid select {
  border-color: var(--danger);
}
.field.invalid .err {
  display: block;
}
.counter-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.counter {
  font-size: 0.8rem;
  color: var(--text-2);
}
.form-foot {
  grid-column: 1/-1;
  display: grid;
  gap: 14px;
  justify-items: start;
}
.fineprint {
  font-size: 0.82rem;
  color: var(--text-2);
  margin: 0;
}
.success-card {
  display: none;
  text-align: center;
  padding: 30px 10px;
}
.success-card.show {
  display: block;
}
.success-card .ok {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  background: rgba(213, 168, 87, 0.15);
  color: var(--gold);
}
.success-card .ok svg {
  width: 34px;
  height: 34px;
}
.success-card h3 {
  margin: 0 0 8px;
  font-size: 1.3rem;
}
.success-card p {
  color: var(--text-2);
  margin: 0 0 24px;
}
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-card {
    padding: 26px;
  }
}

/* الخريطة */
.map-card {
  margin-top: 36px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.map-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding: 22px 28px;
  border-bottom: 1px solid var(--line);
}
.map-head svg {
  width: 22px;
  height: 22px;
  color: var(--gold);
  flex: none;
}
.map-head .addr {
  font-weight: 600;
  flex: 1;
  min-width: 200px;
}
.map-frame {
  height: 340px;
  width: 100%;
  border: 0;
  display: block;
  filter: saturate(0.9);
}
[data-theme="dark"] .map-frame {
  filter: saturate(0.7) brightness(0.85) contrast(1.05);
}

/* ============ التذييل — خلفية token مستقلة (إصلاح خلل التباين) ============ */
.site-footer {
  background: var(--footer-bg);
  color: #c9d2e2;
  padding-block: 64px 0;
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.05;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%23E6C791' stroke-width='1'%3E%3Cpath d='M32 4l28 28-28 28L4 32z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 64px 64px;
}
.footer-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
}
.site-footer .brand {
  color: var(--warm);
}
.site-footer .brand .mark {
  width: 36px;
  height: 36px;
}
.f-tagline {
  color: var(--gold-light);
  font-weight: 600;
  margin: 14px 0 8px;
}
.f-desc {
  font-size: 0.9rem;
  color: #9facc4;
  margin: 0;
  max-width: 34ch;
}
.site-footer h4 {
  color: var(--gold-light);
  font-size: 0.95rem;
  margin: 0 0 16px;
  letter-spacing: 0.04em;
}
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: 0.94rem;
}
.site-footer ul a:hover {
  color: var(--gold-light);
}
.site-footer .social {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}
.site-footer .social a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(236, 235, 231, 0.2);
  transition: 0.2s;
}
.site-footer .social a:hover {
  border-color: var(--gold-light);
  color: var(--gold-light);
}
.site-footer .social svg {
  width: 18px;
  height: 18px;
}
.footer-bottom {
  position: relative;
  border-top: 1px solid rgba(236, 235, 231, 0.12);
  padding-block: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #9facc4;
}
@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ============ واتساب + Toast ============ */
.wa-float {
  position: fixed;
  inset-block-end: 24px;
  inset-inline-end: 24px;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s;
}
.wa-float:hover {
  transform: translateY(-3px) scale(1.04);
}
.wa-float svg {
  width: 28px;
  height: 28px;
}
.toast {
  position: fixed;
  inset-block-end: 28px;
  inset-inline: 0;
  margin-inline: auto;
  width: max-content;
  max-width: 90vw;
  z-index: 150;
  background: var(--navy);
  color: var(--warm);
  padding: 12px 22px;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  font-weight: 600;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: 0.3s;
}
.toast.show {
  opacity: 1;
  transform: none;
}

/* ============ Reveal ============ */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
}
.js .reveal.in-view {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* ============ استجابة عامة ============ */
@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }
  .menu-btn {
    display: inline-flex;
  }
  .header-cta {
    display: none;
  }
}
@media (max-width: 768px) {
  .section {
    padding-block: 64px;
  }
  .hero {
    padding-block: 120px 70px;
    min-height: auto;
  }
  .hero .lead {
    font-size: 1.02rem;
  }
}
@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.1rem;
  }
  .brand-word {
    font-size: 0.92rem;
    letter-spacing: 0.18em;
  }
}

/* Mechanically extracted inline declarations; unchanged values. */
.extracted-style-1 {
  flex: 1 !important;
}
.extracted-style-2 {
  color: var(--warm) !important;
}
.extracted-style-3 {
  font-weight: 400 !important;
  font-size: 0.8rem !important;
  color: var(--text-2) !important;
}
.extracted-style-4 {
  font-weight: 400 !important;
  font-size: 0.8rem !important;
  color: var(--text-2) !important;
}
.extracted-style-5 {
  padding: 9px 18px !important;
  font-size: 0.88rem !important;
  border-radius: 10px !important;
}
