:root {
    --green: #26303B;
    --green-dark: #1b222b;
    --green-2: #37424f;
    --green-soft: #EBEBDD;
    --sand: #f5f5ee;
    --sand-2: #EBEBDD;
    --gold: #9A694E;
    --gold-2: #87593f;
    --gold-light: #d3ab90;
    --red: #7a4f38;
    --ink: #1f2630;
    --muted: #5c6470;
    --line: #dcdccb;
    --card: #fbfbf6;
    --kufi: "Amiri", "Times New Roman", serif;
    color-scheme: light;
  }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; scroll-padding-top: 80px; }
  body {
    margin: 0;
    font-family: "Amiri", "Times New Roman", serif;
    font-size: 1.14rem;
    background: var(--sand);
    color: var(--ink);
    line-height: 1.85;
    -webkit-font-smoothing: antialiased;
  }
  a { color: inherit; }
  .wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
  .ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
  svg { width: 1em; height: 1em; flex: none; }

  /* ---------- Saudi motifs ---------- */
  /* Sadu (السدو) woven band */
  .sadu {
    height: 18px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='16'%3E%3Crect width='32' height='16' fill='%231b222b'/%3E%3Cpath d='M0 8L8 0 16 8 8 16Z' fill='%239A694E'/%3E%3Cpath d='M4 8L8 4 12 8 8 12Z' fill='%23EBEBDD'/%3E%3Cpath d='M16 0L24 8 32 0Z M16 16L24 8 32 16Z' fill='%23d3ab90'/%3E%3C/svg%3E") repeat-x center / auto 16px;
    border-block: 1px solid #EBEBDD;
  }
  /* Najdi parapet triangles (الشرفات النجدية) on top of dark sections */
  .najdi { position: relative; }
  .najdi::before {
    content: ""; position: absolute; inset-inline: 0; top: -13px; height: 14px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='14'%3E%3Cpath d='M3 14L12 2 21 14Z' fill='%2326303B'/%3E%3C/svg%3E") repeat-x;
  }
  /* 8-point star lattice */
  .stars {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.07'%3E%3Crect x='20' y='20' width='24' height='24'/%3E%3Crect x='20' y='20' width='24' height='24' transform='rotate(45 32 32)'/%3E%3C/g%3E%3C/svg%3E");
  }

  /* ---------- Header ---------- */
  .top { position: sticky; top: 0; z-index: 10; background: rgba(251,251,246,.97); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
  .top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 84px; flex-wrap: wrap; }
  .logo { display: block; height: 66px; width: auto; }
  .foot-logo { display: block; height: 92px; width: auto; margin-bottom: 10px; }
  .brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
  .seal { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: var(--gold); font-size: 24px; box-shadow: inset 0 0 0 3px var(--green), inset 0 0 0 4px var(--gold); }
  .brand strong { display: block; font-family: var(--kufi); font-size: 1.12rem; line-height: 1.3; color: var(--green); }
  .brand small { display: block; font-size: .8rem; color: var(--muted); line-height: 1.3; }
  .nav { display: flex; gap: 22px; font-size: .95rem; }
  .nav a { text-decoration: none; color: var(--muted); }
  .nav a:hover { color: var(--green); }

  /* ---------- Buttons ---------- */
  .btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; font-weight: 700; border-radius: 12px; transition: background .15s, transform .15s; }
  .btn:active { transform: translateY(1px); }
  .btn-sm { background: var(--green); color: #fff; padding: 9px 16px; font-size: .95rem; }
  .btn-sm:hover { background: var(--green-2); }
  .btn-lg { background: var(--gold); color: #fff; padding: 16px 30px; font-size: 1.2rem; box-shadow: 0 6px 18px rgba(0,0,0,.2); }
  .btn-lg:hover { background: var(--gold-2); }

  /* ---------- Hero ---------- */
  .hero { background-color: var(--green); color: #fff; padding: 60px 0 68px; }
  .hero-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 40px; align-items: center; }
  .eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 4px 14px; border: 1px solid rgba(211,171,144,.6); border-radius: 999px; color: var(--gold-light); font-size: .9rem; font-weight: 500; }
  .hero h1 { margin: 0 0 16px; font-family: var(--kufi); font-weight: 700; font-size: clamp(1.8rem, 4.8vw, 2.9rem); line-height: 1.45; }
  .hero h1 span { color: var(--gold-light); }
  .lead { margin: 0 0 28px; font-size: clamp(1.02rem, 2.2vw, 1.15rem); color: rgba(255,255,255,.88); max-width: 620px; }
  .cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
  .phone-line { margin: 0; color: rgba(255,255,255,.85); }
  .phone-line a { color: #fff; font-weight: 700; font-size: 1.2rem; text-decoration: none; border-bottom: 1px dashed rgba(255,255,255,.5); }
  .trust-card { background: rgba(255,255,255,.07); border: 1px solid rgba(211,171,144,.4); border-radius: 18px; padding: 22px; }
  .trust-card h2 { margin: 0 0 12px; font-family: var(--kufi); font-size: 1.15rem; color: var(--gold-light); }
  .trust-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
  .trust-card li { display: flex; gap: 12px; align-items: flex-start; }
  .trust-card li svg { color: var(--gold-light); font-size: 1.35rem; margin-top: 3px; }
  .trust-card strong { display: block; line-height: 1.5; }
  .trust-card span { font-size: .9rem; color: rgba(255,255,255,.75); }

  /* ---------- Sections ---------- */
  section.block { padding: 68px 0; }
  .head { text-align: center; max-width: 680px; margin: 0 auto 36px; }
  .head .kicker { display: inline-block; color: var(--gold); font-weight: 700; font-size: .9rem; margin-bottom: 4px; }
  .head h2 { margin: 0 0 6px; font-family: var(--kufi); font-size: clamp(1.5rem, 3.6vw, 2.05rem); color: var(--green); line-height: 1.45; }
  .head p { margin: 0; color: var(--muted); }
  .head::after { content: ""; display: block; width: 72px; height: 10px; margin: 14px auto 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='10'%3E%3Cpath d='M1 10L6 2 11 10Z' fill='%239A694E'/%3E%3C/svg%3E") repeat-x center; }

  .group { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 26px; margin-bottom: 20px; }
  .group-head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px dashed var(--line); }
  .group-head .icon { width: 54px; height: 54px; font-size: 28px; background: var(--green); color: var(--gold-light); }
  .group-head h3 { margin: 0; font-family: var(--kufi); font-size: 1.35rem; color: var(--green); line-height: 1.4; }
  .group-head p { margin: 0; color: var(--muted); font-size: .95rem; }

  .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 14px; }
  .item { border: 1px solid var(--line); border-radius: 14px; padding: 18px; background: #fff; border-top: 3px solid var(--gold); }
  .item h4 { margin: 10px 0 4px; font-size: 1.08rem; line-height: 1.5; }
  .item p { margin: 0; color: var(--muted); font-size: .95rem; }
  .icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--green-soft); color: var(--green); font-size: 22px; }

  .chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; list-style: none; padding: 0; margin: 0; }
  .chips li { display: inline-flex; align-items: center; gap: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 8px 18px; font-weight: 500; }
  .chips li svg { color: var(--gold); }

  .alt { background: var(--sand-2); }
  .docs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 16px; }
  .doc { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
  .doc h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: 1.12rem; color: var(--green); }
  .doc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
  .doc li { display: flex; gap: 10px; align-items: flex-start; }
  .doc li svg { color: var(--green-2); margin-top: 7px; font-size: .95rem; }
  .note { text-align: center; color: var(--muted); margin: 20px 0 0; font-size: .95rem; }

  .steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 16px; }
  .steps li { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
  .steps li::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 42px; height: 42px; background: var(--green); color: var(--gold-light); font-family: var(--kufi); font-size: 1.2rem; margin-bottom: 12px;
    clip-path: polygon(50% 0, 64% 14%, 86% 14%, 86% 36%, 100% 50%, 86% 64%, 86% 86%, 64% 86%, 50% 100%, 36% 86%, 14% 86%, 14% 64%, 0 50%, 14% 36%, 14% 14%, 36% 14%); }
  .steps strong { display: block; font-size: 1.08rem; margin-bottom: 2px; }
  .steps span { color: var(--muted); }

  .faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
  .faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 4px 20px; }
  .faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
  .faq summary::-webkit-details-marker { display: none; }
  .faq summary::after { content: "+"; color: var(--gold); font-size: 1.4rem; line-height: 1; }
  .faq details[open] summary::after { content: "−"; }
  .faq details p { margin: 0 0 16px; color: var(--muted); }

  /* ---------- Final CTA ---------- */
  .final { background-color: var(--green); color: #fff; text-align: center; padding: 68px 0; }
  .final h2 { margin: 0 0 10px; font-family: var(--kufi); font-size: clamp(1.5rem, 3.6vw, 2.1rem); }
  .final p { margin: 0 auto 26px; max-width: 560px; color: rgba(255,255,255,.88); }

  /* ---------- Footer ---------- */
  footer { background: var(--green-dark); color: rgba(255,255,255,.8); padding: 30px 0 26px; font-size: .95rem; }
  .foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; align-items: center; }
  footer a { color: #fff; text-decoration: none; }
  footer details { margin-top: 18px; border-top: 1px solid rgba(255,255,255,.12); padding-top: 14px; }
  footer summary { cursor: pointer; color: #fff; font-weight: 500; }
  footer details p { margin: 10px 0 0; max-width: 780px; color: rgba(255,255,255,.72); }
  .copy { margin-top: 16px; font-size: .85rem; color: rgba(255,255,255,.55); }

  /* ---------- Mobile ---------- */
  .callbar { display: none; }
  @media (max-width: 900px) {
    .nav { display: none; }
    .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  }
  @media (max-width: 720px) {
    .top .btn-sm .label, .hide-sm { display: none; }
    .brand { gap: 10px; }
    .brand strong { font-size: .98rem; }
    .seal { width: 38px; height: 38px; font-size: 20px; }
    .top-in { min-height: 72px; }
    .logo { height: 54px; }
    .hero { padding: 42px 0 50px; }
    .cta .btn-lg { width: 100%; }
    section.block { padding: 52px 0; }
    .group { padding: 18px; }
    body { padding-bottom: 78px; }
    .callbar {
      display: flex; position: fixed; inset-inline: 12px; bottom: 12px; z-index: 20;
      align-items: center; justify-content: center; gap: 10px;
      background: var(--gold); color: #fff; font-weight: 700; font-size: 1.15rem;
      padding: 14px; border-radius: 14px; text-decoration: none;
      box-shadow: 0 8px 24px rgba(0,0,0,.25);
    }
  }

  /* ---------- v3: multi-page ---------- */
  .brand { flex: none; }
  .nav a.on { color: var(--green); font-weight: 700; box-shadow: inset 0 -2px 0 var(--gold); }
  .stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 14px; }
  .stat { background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: 18px; padding: 22px 16px; text-align: center; }
  .stat b { display: block; font-size: 2.7rem; line-height: 1.25; color: var(--green); }
  .stat span { color: var(--muted); }
  .svc { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 16px; }
  a.svc-card { display: block; text-decoration: none; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px; transition: transform .15s, box-shadow .15s; }
  a.svc-card:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0,0,0,.08); }
  a.svc-card h3 { margin: 12px 0 4px; font-family: var(--kufi); font-size: 1.3rem; color: var(--green); line-height: 1.4; }
  a.svc-card p { margin: 0 0 10px; color: var(--muted); }
  a.svc-card .more { color: var(--gold); font-weight: 700; }
  .hero-stat { display: inline-flex; align-items: baseline; gap: 10px; margin: 0 10px 26px 0; padding: 8px 18px; border: 1px solid rgba(211,171,144,.4); border-radius: 14px; background: rgba(255,255,255,.07); }
  .hero-stat b { font-size: 2.1rem; line-height: 1.2; color: var(--gold-light); }
  .foot-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; }
  /* ---------- v4: landing sections (like the client's reference) ---------- */
  .about { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: center; }
  .about p { margin: 0 0 14px; }
  .promise { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 8px; }
  .promise li { display: flex; gap: 10px; align-items: flex-start; }
  .promise li svg { color: var(--gold); margin-top: 7px; }
  .about-card { background: var(--green); color: #fff; border-radius: 20px; padding: 26px; text-align: center; }
  .about-card img { width: 100%; max-width: 280px; height: auto; }
  .about-card p { margin: 10px 0 0; color: var(--gold-light); font-weight: 700; }
  .why { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 14px; }
  .why div { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
  .why .icon { margin-bottom: 10px; }
  .why strong { display: block; font-size: 1.15rem; color: var(--green); }
  .why span { color: var(--muted); }
  .numbers { background: var(--green); color: #fff; }
  .numbers .head h2 { color: #fff; }
  .numbers .stat { background: rgba(255,255,255,.07); border-color: rgba(211,171,144,.4); }
  .numbers .stat b { color: var(--gold-light); }
  .numbers .stat span { color: rgba(255,255,255,.8); }
  .branch { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 14px; }
  .branch > a, .branch > div { display: flex; gap: 12px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px; text-decoration: none; }
  .branch svg { color: var(--gold); font-size: 1.4rem; }
  .branch strong { color: var(--green); }
  .svc-group { display: flex; align-items: center; gap: 10px; margin: 26px 0 14px; font-family: var(--kufi); font-size: 1.2rem; color: var(--green); }
  .svc-group:first-of-type { margin-top: 0; }
  [id] { scroll-margin-top: 96px; }
  html { overflow-x: hidden; }
  body { overflow-x: clip; }
  .svc-part { margin-top: 34px; }
  .svc-part:first-of-type { margin-top: 0; }
  .svc-part > h3.svc-group { font-size: 1.55rem; }
  .svc-part > p.part-lead { margin: -6px 0 14px; color: var(--muted); }
  .part-cta { margin-top: 14px; }
  .trust-card a.part-link { display: flex; gap: 12px; align-items: center; color: #fff; text-decoration: none; padding: 6px 0; }
  .trust-card a.part-link:hover strong { color: var(--gold-light); }
  .trust-card a.part-link .arrow { margin-inline-start: auto; color: var(--gold-light); }
  .svc-group svg { color: var(--gold); font-size: 1.4rem; }
  @media (max-width: 900px) { .about { grid-template-columns: 1fr; } }
  @media (max-width: 900px) {
    .nav { display: flex; order: 3; width: 100%; overflow-x: auto; gap: 18px; padding: 4px 0 10px; white-space: nowrap; -webkit-overflow-scrolling: touch; }
  }
