/* =========================================================
   وتد للتطوير العقاري
   ألوان الهوية من ملف الهوية الرسمي، والخط صومر.
   العناصر المميزة: الإطار القوسي (من البروشور) وخط الوتد العمودي.
   ========================================================= */
@font-face { font-family: "Somar"; src: url("../fonts/somar-300.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Somar"; src: url("../fonts/somar-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Somar"; src: url("../fonts/somar-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Somar"; src: url("../fonts/somar-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Somar"; src: url("../fonts/somar-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  --earth: #26170e;
  --earth-deep: #1c1009;
  --earth-soft: #33211a;
  --copper: #a66945;
  --copper-deep: #8c4f38;
  --sand: #dfc28c;
  --stone: #d6d6cf;
  --paper: #efede7;
  --ink: #26170e;
  --muted: #6e6158;
  --on-dark: #efe7da;
  --on-dark-muted: rgba(239, 231, 218, .66);
  --line: rgba(38, 23, 14, .14);
  --line-dark: rgba(239, 231, 218, .14);

  --step--1: clamp(.86rem, .83rem + .12vw, .94rem);
  --step-0: clamp(1rem, .97rem + .18vw, 1.12rem);
  --step-1: clamp(1.2rem, 1.12rem + .4vw, 1.45rem);
  --step-2: clamp(1.55rem, 1.35rem + 1vw, 2.15rem);
  --step-3: clamp(2.1rem, 1.6rem + 2.3vw, 3.5rem);
  --step-4: clamp(2.7rem, 1.8rem + 4.2vw, 5.4rem);
  --step-5: clamp(3.4rem, 2rem + 6.5vw, 7.5rem);

  --wrap: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --head-h: 84px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 1rem); }
body {
  margin: 0;
  font-family: "Somar", "Segoe UI", Tahoma, sans-serif;
  font-size: var(--step-0);
  line-height: 1.85;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.2; font-weight: 800; }
p { margin: 0; }
sup { font-size: .55em; line-height: 0; vertical-align: .9em; }
:focus-visible { outline: 2px solid var(--sand); outline-offset: 3px; }
.on-light :focus-visible, .light :focus-visible { outline-color: var(--copper-deep); }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip { position: absolute; inset-inline-start: 1rem; top: -4rem; background: var(--sand); color: var(--earth); padding: .5rem 1rem; z-index: 99; }
.skip:focus { top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
section { padding-block: clamp(5rem, 11vw, 9rem); }

/* ---------- أزرار ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .65rem;
  min-height: 3.25rem; padding: .8rem 1.7rem;
  font: inherit; font-weight: 700; font-size: var(--step--1);
  text-decoration: none; border: 1px solid currentColor; border-radius: 2px; cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn-sand { background: var(--sand); color: var(--earth); border-color: var(--sand); }
.btn-sand:hover { background: var(--on-dark); border-color: var(--on-dark); }
.btn-line { color: var(--on-dark); border-color: rgba(239, 231, 218, .35); }
.btn-line:hover { border-color: var(--sand); color: var(--sand); }
.btn-earth { background: var(--earth); color: var(--on-dark); border-color: var(--earth); }
.btn-earth:hover { background: var(--copper-deep); border-color: var(--copper-deep); }
.btn-line-dark { color: var(--earth); border-color: rgba(38, 23, 14, .3); }
.btn-line-dark:hover { border-color: var(--earth); }

/* ---------- الترويسة ---------- */
.site-head {
  position: sticky; top: 0; z-index: 30; height: var(--head-h);
  background: rgba(38, 23, 14, .94); color: var(--on-dark);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.site-head.scrolled { border-bottom-color: var(--line-dark); }
.site-head .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand img { height: 56px; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(1.25rem, 2.6vw, 2.4rem); font-size: var(--step--1); font-weight: 500; }
.nav a { text-decoration: none; padding-block: .35rem; color: var(--on-dark-muted); border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.nav a:hover { color: var(--on-dark); }
.nav a[aria-current="page"] { color: var(--sand); border-bottom-color: var(--sand); }
.nav .nav-cta { color: var(--earth); background: var(--sand); padding: .55rem 1.2rem; border: 0; border-radius: 2px; font-weight: 700; }
.nav .nav-cta:hover { color: var(--earth); background: var(--on-dark); }
.nav-toggle {
  display: none; align-items: center; gap: .6rem; background: none; color: inherit; font: inherit; font-size: var(--step--1); font-weight: 500;
  border: 1px solid var(--line-dark); border-radius: 2px; cursor: pointer;
  width: 46px; height: 46px; justify-content: center; padding: 0;
}
.nav-toggle i, .nav-toggle i::before, .nav-toggle i::after { display: block; width: 18px; height: 1.5px; background: currentColor; position: relative; transition: transform .25s var(--ease), background-color .2s; }
.nav-toggle i::before, .nav-toggle i::after { content: ""; position: absolute; inset-inline-start: 0; }
.nav-toggle i::before { top: -6px; } .nav-toggle i::after { top: 6px; }
.nav-toggle[aria-expanded="true"] i { background: transparent; }
.nav-toggle[aria-expanded="true"] i::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] i::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 860px) {
  :root { --head-h: 72px; }
  .brand img { height: 46px; }
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none; position: fixed; inset: var(--head-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--earth-deep); padding: .5rem var(--gutter) 1.5rem; border-top: 1px solid var(--line-dark);
    box-shadow: 0 24px 40px rgba(0, 0, 0, .35); font-size: var(--step-1);
  }
  .nav a { padding-block: 1rem; color: var(--on-dark); border-bottom: 1px solid var(--line-dark); }
  .nav a[aria-current="page"] { border-bottom-color: var(--line-dark); }
  .nav .nav-cta { margin-top: 1.25rem; text-align: center; padding-block: .9rem; }
  .nav.open { display: flex; }
}

/* ---------- الإطار القوسي ---------- */
.arch { position: relative; margin: 0; }
.arch::before {          /* خط قوسي ثانٍ يحيط بالصورة */
  content: ""; position: absolute; inset: -14px -14px 0 -14px; border: 1px solid rgba(223, 194, 140, .45);
  border-bottom: 0; border-radius: 999px 999px 0 0; pointer-events: none;
}
.arch img { width: 100%; height: 100%; object-fit: cover; border-radius: 999px 999px 0 0; }
.arch.on-light::before { border-color: rgba(166, 105, 69, .45); }

/* ---------- عناوين الأقسام: الوتد ---------- */
.sec-head { position: relative; padding-inline-start: 2.25rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); max-width: 46rem; }
.sec-head::before { content: ""; position: absolute; inset-inline-start: 6px; top: .25em; bottom: .3em; width: 1px; background: var(--copper); }
.sec-head::after { content: ""; position: absolute; inset-inline-start: 1px; top: .25em; width: 11px; height: 11px; background: var(--copper); transform: rotate(45deg); }
.sec-head h2 { font-size: var(--step-3); }
.sec-head p { margin-top: .9rem; color: var(--muted); font-size: var(--step-1); font-weight: 300; line-height: 1.7; }
.dark .sec-head p { color: var(--on-dark-muted); }
.dark .sec-head::after { background: var(--sand); }

.dark { background: var(--earth); color: var(--on-dark); }
.pattern-band { line-height: 0; background: var(--earth); }
.pattern-band.light { background: var(--paper); }
.pattern-band svg { display: block; }

/* =========================================================
   الصفحة الرئيسية
   ========================================================= */
.hero {
  position: relative; overflow: hidden; padding: 0;
  min-height: calc(100svh - var(--head-h));
  background: radial-gradient(120% 90% at 20% 110%, #3a2416 0%, transparent 60%), var(--earth);
  color: var(--on-dark);
}
.hero-bg { position: absolute; inset: 0; opacity: .07; -webkit-mask-image: linear-gradient(to left, transparent 30%, #000); mask-image: linear-gradient(to left, transparent 30%, #000); }
.hero .wrap {
  position: relative; min-height: inherit; display: grid; align-items: center;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2rem, 6vw, 6rem);
  padding-block: clamp(3rem, 7vh, 5rem);
}
.hero-text { position: relative; padding-inline-start: clamp(1.75rem, 3vw, 2.75rem); }
.hero-peg { position: absolute; inset-inline-start: 0; top: -.25rem; bottom: .5rem; width: 15px; }
.hero-peg::before { content: ""; position: absolute; inset-inline-start: 7px; top: 14px; bottom: 9px; width: 1px; background: var(--copper); transform-origin: top; animation: peg-drop 1.3s var(--ease) both .15s; }
.hero-peg::after { content: ""; position: absolute; inset-inline-start: 1px; top: 0; width: 11px; height: 11px; border: 1px solid var(--sand); border-radius: 50%; }
.hero-peg i { position: absolute; inset-inline-start: 2px; bottom: 0; width: 11px; height: 11px; background: var(--copper); transform: rotate(45deg); animation: fade-in .4s ease both 1.3s; }
.hero-kicker { font-size: var(--step--1); color: var(--sand); font-weight: 500; letter-spacing: .02em; padding-top: .35rem; }
.hero h1 { margin-top: 1.4rem; font-size: var(--step-5); line-height: 1.08; letter-spacing: -.015em; animation: rise .9s var(--ease) both .35s; }
.hero h1 span { display: block; }
.hero .lede { margin-top: 1.75rem; max-width: 34ch; font-size: var(--step-1); font-weight: 300; line-height: 1.75; color: var(--on-dark-muted); animation: rise .9s var(--ease) both .5s; }
.hero .actions { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: .85rem; animation: rise .9s var(--ease) both .62s; }
.hero-figure { justify-self: center; width: min(100%, 440px); }
.hero-figure .arch { aspect-ratio: 1054 / 1600; animation: fade-in 1.2s ease both .2s; }
.hero-figure figcaption { margin-top: 1.1rem; display: flex; justify-content: space-between; gap: 1rem; font-size: var(--step--1); color: var(--on-dark-muted); }
.hero-figure figcaption a { color: var(--sand); text-decoration: none; border-bottom: 1px solid rgba(223, 194, 140, .4); }
.hero-figure figcaption a:hover { border-color: var(--sand); }

@keyframes peg-drop { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 3.5rem; padding-block: 3rem 4rem; }
  .hero-figure { width: min(100%, 380px); }
  .hero-figure .arch { aspect-ratio: 4 / 5; }
  .hero-figure .arch img { object-position: 50% 70%; }
}

/* من نحن */
.about { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(2.5rem, 7vw, 7rem); align-items: start; }
.statement { font-size: var(--step-3); font-weight: 300; line-height: 1.45; letter-spacing: -.01em; }
.statement strong { font-weight: 800; color: var(--copper-deep); }
.about .body p { color: #3d2e25; }
.about .body p + p { margin-top: 1.1rem; }
.facts { margin: 2.5rem 0 0; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 8.5rem 1fr; gap: 1rem; padding-block: .95rem; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); font-size: var(--step--1); }
.facts dd { margin: 0; font-weight: 500; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }

/* المشروع المميز */
.project-card { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.project-card .shot { position: relative; margin: 0; }
.project-card .shot img { width: 100%; aspect-ratio: 1280 / 783; object-fit: cover; }
.project-card .shot::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(223, 194, 140, .45); pointer-events: none; }
.tag { display: inline-block; font-size: var(--step--1); color: var(--sand); border: 1px solid rgba(223, 194, 140, .4); padding: .2rem .8rem; border-radius: 999px; }
.project-card h3 { margin-top: 1.1rem; font-size: var(--step-4); line-height: 1.05; }
.project-card .where { margin-top: .5rem; font-size: var(--step-1); color: var(--on-dark-muted); font-weight: 300; }
.figures { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: clamp(1.5rem, 4vw, 3rem); margin: 2rem 0 2.5rem; padding-block: 1.4rem; border-block: 1px solid var(--line-dark); }
.figures b { display: block; font-size: var(--step-3); font-weight: 800; color: var(--sand); line-height: 1; }
.figures span { display: block; margin-top: .55rem; font-size: var(--step--1); color: var(--on-dark-muted); }
@media (max-width: 860px) { .project-card { grid-template-columns: 1fr; } }

/* الضمانات */
.warranty-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.warranty-lead b { display: block; font-size: var(--step-5); font-weight: 800; line-height: .95; color: var(--copper-deep); }
.warranty-lead span { display: block; margin-top: 1rem; font-size: var(--step-1); font-weight: 300; color: var(--muted); max-width: 18ch; }
.warranty { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.25rem 1.5rem; margin: 0; padding: 0; list-style: none; }
.warranty li { display: flex; flex-direction: column; padding-top: 1rem; border-top: 1px solid var(--copper); }
.warranty li em { order: -1; min-height: 1.6em; }
.warranty li:not(:has(em))::before { content: ""; min-height: 1.6em; order: -1; }
.warranty b { display: block; font-size: var(--step-2); font-weight: 800; line-height: 1.15; }
.warranty b small { font-size: .5em; font-weight: 500; color: var(--muted); }
.warranty span { display: block; margin-top: .3rem; font-weight: 500; color: #3d2e25; }
.warranty em { display: block; font-style: normal; font-size: var(--step--1); color: var(--muted); }
@media (max-width: 1000px) { .warranty-wrap { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .warranty { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* التواصل */
.contact { position: relative; overflow: hidden; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.contact h2 { font-size: var(--step-4); line-height: 1.1; }
.contact .lead { margin-top: 1.25rem; font-size: var(--step-1); font-weight: 300; color: var(--on-dark-muted); max-width: 32ch; }
.contact .actions { margin-top: 2.25rem; display: flex; flex-wrap: wrap; gap: .85rem; }
.details { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-dark); }
.details li { display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; padding-block: 1.1rem; border-bottom: 1px solid var(--line-dark); }
.details .key { color: var(--on-dark-muted); font-size: var(--step--1); padding-top: .2rem; }
.details .val { font-weight: 500; }
.details a { text-decoration: none; }
.details a:hover { color: var(--sand); }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* التذييل */
.site-foot { background: var(--earth-deep); color: var(--on-dark-muted); font-size: var(--step--1); padding-block: 3.5rem 2rem; }
.foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--line-dark); }
.foot-top img { height: 64px; width: auto; }
.foot-top p { margin-top: 1rem; max-width: 30ch; }
.foot-top h3 { font-size: var(--step--1); font-weight: 700; color: var(--on-dark); margin-bottom: .9rem; }
.foot-top ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.foot-top a { text-decoration: none; }
.foot-top a:hover { color: var(--sand); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; }
@media (max-width: 760px) { .foot-top { grid-template-columns: 1fr 1fr; } .foot-top > div:first-child { grid-column: 1 / -1; } }

/* زر واتساب العائم على الجوال */
.wa-fab {
  position: fixed; inset-inline-end: 1rem; bottom: 1rem; z-index: 25; display: none;
  width: 56px; height: 56px; border-radius: 50%; place-items: center;
  background: var(--sand); color: var(--earth); box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
}
.wa-fab svg { width: 26px; height: 26px; }
@media (max-width: 860px) { .wa-fab { display: grid; } }

@media (max-width: 560px) {
  .actions .btn { flex: 1 1 100%; }
}

/* =========================================================
   صفحة المشروع
   ========================================================= */
.p-hero { padding: 0; overflow: hidden; }
.p-hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 6vw, 6rem); align-items: end; padding-top: clamp(3rem, 7vw, 5.5rem); }
.crumbs { font-size: var(--step--1); color: var(--on-dark-muted); }
.crumbs a { text-decoration: none; color: var(--sand); }
.crumbs a:hover { text-decoration: underline; }
.p-hero h1 { margin-top: 1rem; font-size: var(--step-5); line-height: 1; animation: rise .9s var(--ease) both .2s; }
.p-hero .where { margin-top: .9rem; font-size: var(--step-2); font-weight: 300; color: var(--sand); }
.p-hero .lede { margin-top: 1.4rem; max-width: 40ch; color: var(--on-dark-muted); font-size: var(--step-1); font-weight: 300; line-height: 1.75; }
.p-hero .actions { margin-top: 2.25rem; display: flex; flex-wrap: wrap; gap: .85rem; }
.p-hero-text { padding-bottom: clamp(3rem, 7vw, 6rem); }
.p-hero-figure { width: min(100%, 460px); justify-self: center; }
.p-hero-figure .arch { aspect-ratio: 1054 / 1500; }
.p-hero-figure .arch img { object-position: 50% 100%; }
.p-stats { background: var(--earth-deep); color: var(--on-dark); }
.p-stats ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.p-stats li { padding: 1.75rem 1.25rem; border-inline-start: 1px solid var(--line-dark); }
.p-stats li:first-child { border-inline-start: 0; padding-inline-start: 0; }
.p-stats b { display: block; font-size: var(--step-3); font-weight: 800; color: var(--sand); line-height: 1; }
.p-stats span { display: block; margin-top: .55rem; font-size: var(--step--1); color: var(--on-dark-muted); }
@media (max-width: 860px) {
  .p-hero .wrap { grid-template-columns: 1fr; gap: 0; }
  .p-hero-text { padding-bottom: 2.5rem; }
  .p-hero-figure { width: 100%; max-width: 420px; }
  .p-hero-figure .arch { aspect-ratio: 4 / 4.4; }
  .p-stats ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .p-stats li { padding: 1.4rem 1rem; border-inline-start: 0; border-top: 1px solid var(--line-dark); }
  .p-stats li:nth-child(-n+2) { border-top: 0; }
  .p-stats li:nth-child(even) { border-inline-start: 1px solid var(--line-dark); }
  .p-stats li:nth-child(odd) { padding-inline-start: 0; }
}

/* شريط أقسام المشروع */
.subnav { position: sticky; top: var(--head-h); z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); }
.subnav .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: 3.6rem; }
.subnav strong { font-weight: 800; white-space: nowrap; }
.subnav-links { display: flex; align-items: center; gap: clamp(1rem, 2.6vw, 2.2rem); overflow-x: auto; scrollbar-width: none; font-size: var(--step--1); font-weight: 500; margin-inline-start: auto; }
.subnav-links::-webkit-scrollbar { display: none; }
.subnav-links a { text-decoration: none; white-space: nowrap; padding-block: .35rem; color: var(--muted); border-bottom: 1px solid transparent; }
.subnav-links a:hover, .subnav-links a.active { color: var(--ink); border-bottom-color: var(--copper); }
@media (max-width: 560px) { .subnav strong { display: none; } .subnav-links { margin-inline-start: 0; } }

/* عن المشروع */
.intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 7vw, 7rem); align-items: center; }
.intro .statement { font-size: var(--step-2); }
.intro .shot { margin: 0; position: relative; }
.intro .shot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.intro .shot::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(239, 231, 218, .55); pointer-events: none; }
.intro .shot figcaption { margin-top: .75rem; font-size: var(--step--1); color: var(--muted); }
@media (max-width: 860px) { .intro { grid-template-columns: 1fr; } }

/* النماذج */
.models-sec { background: var(--stone); }
.model-tabs { display: flex; gap: .4rem; overflow-x: auto; scrollbar-width: none; padding-bottom: .25rem; margin-bottom: 2.5rem; }
.model-tabs::-webkit-scrollbar { display: none; }
.model-tabs button {
  flex: none; font: inherit; font-weight: 700; font-size: var(--step-0); min-width: 3.75rem; min-height: 3rem; padding: .5rem .9rem;
  background: transparent; color: var(--ink); border: 1px solid rgba(38, 23, 14, .2); border-radius: 2px; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.model-tabs button:hover { border-color: var(--earth); }
.model-tabs button[aria-selected="true"] { background: var(--earth); color: var(--sand); border-color: var(--earth); }
.models { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.model-info h3 { font-size: var(--step-4); line-height: 1; }
.model-info .floor { margin-top: .75rem; color: var(--copper-deep); font-weight: 500; font-size: var(--step-1); }
.model-nums { display: flex; gap: clamp(2rem, 5vw, 3.5rem); margin: 2rem 0; padding-block: 1.25rem; border-block: 1px solid rgba(38, 23, 14, .18); }
.model-nums b { display: block; font-size: var(--step-3); font-weight: 800; line-height: 1; }
.model-nums span { display: block; margin-top: .45rem; font-size: var(--step--1); color: var(--muted); }
.rooms { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.rooms li { padding: .4rem .95rem; background: var(--paper); font-size: var(--step--1); font-weight: 500; border-radius: 999px; }
.model-info .btn { margin-top: 2.5rem; }
.plan { margin: 0; background: #f6f5f1; padding: clamp(1.25rem, 3vw, 2.25rem); display: flex; justify-content: center; border-radius: 999px 999px 0 0; padding-top: clamp(3rem, 6vw, 4.5rem); }
.plan img { width: auto; max-width: 100%; max-height: 620px; mix-blend-mode: multiply; transition: opacity .25s; }
.plan img.loading { opacity: .2; }
.plan-note { margin-top: .9rem; font-size: var(--step--1); color: var(--muted); }
@media (max-width: 860px) {
  .models { grid-template-columns: 1fr; }
  .plan img { max-height: 460px; }
}

/* المميزات */
.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.features figure { margin: 0; }
.features .ph { overflow: hidden; border-radius: 999px 999px 0 0; }
.features img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .8s var(--ease); }
.features figure:hover img { transform: scale(1.04); }
.features figcaption { margin-top: 1.1rem; font-weight: 700; font-size: var(--step-1); }
.features figcaption small { display: block; margin-top: .2rem; font-weight: 300; color: var(--on-dark-muted); font-size: var(--step--1); }
@media (max-width: 860px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1rem; } }

/* الموقع */
.loc-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.places { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.places li { display: flex; align-items: baseline; justify-content: space-between; gap: 1.25rem; padding-block: 1.15rem; border-bottom: 1px solid var(--line); }
.places .name { font-weight: 500; }
.places .dist { display: flex; gap: .5rem; flex: none; }
.chip { font-size: var(--step--1); padding: .15rem .7rem; border-radius: 999px; background: var(--stone); white-space: nowrap; }
.chip.strong { background: var(--earth); color: var(--on-dark); }
.loc-callout { position: relative; background: var(--earth); color: var(--on-dark); padding: clamp(2rem, 4vw, 3rem); overflow: hidden; }
.loc-callout b { display: block; font-size: var(--step-5); color: var(--sand); line-height: 1; }
.loc-callout p { margin-top: .9rem; font-size: var(--step-1); font-weight: 300; }
.loc-callout .btn { margin-top: 2rem; }
@media (max-width: 860px) { .loc-grid { grid-template-columns: 1fr; } }

/* صورة عريضة */
.wide-shot { margin: 0; }
.wide-shot img { width: 100%; max-height: 82vh; object-fit: cover; }
.wide-shot figcaption { margin-top: .8rem; font-size: var(--step--1); color: var(--muted); }

/* شاشات قليلة الحركة */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* =========================================================
   نموذج تسجيل الاهتمام وحجز الزيارة
   ========================================================= */
.card-actions { display: flex; flex-wrap: wrap; gap: .85rem; }
.register { background: var(--stone); }
.register [hidden] { display: none !important; }
.register-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2.5rem, 7vw, 7rem); align-items: start; }
.register-intro { position: sticky; top: calc(var(--head-h) + 2rem); }
.register-intro .sec-head { margin-bottom: 2rem; }
.register-alt { color: var(--muted); }
.register-alt a { color: var(--copper-deep); font-weight: 700; text-underline-offset: 4px; }

.lead-card { background: var(--paper); border-top: 3px solid var(--copper); padding: clamp(1.5rem, 4vw, 3rem); }
.lead-switch { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); margin-bottom: 2rem; }
.lead-switch button {
  font: inherit; font-weight: 700; font-size: var(--step-1); padding: .2rem 0 1rem; background: none; border: 0; cursor: pointer;
  color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color .2s, border-color .2s;
}
.lead-switch button:hover { color: var(--ink); }
.lead-switch button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--copper-deep); }

.lead-form { display: grid; gap: 1.6rem; }
.lead-form .field { margin: 0; padding: 0; border: 0; min-width: 0; }
.lead-form label, .lead-form legend { display: block; padding: 0; font-weight: 700; font-size: var(--step--1); margin-bottom: .45rem; }
.lead-form .opt { font-weight: 400; color: var(--muted); font-size: .9em; margin-inline-start: .35rem; }
.lead-form input:not([type="radio"]), .lead-form select {
  display: block; width: 100%; font: inherit; font-size: var(--step-1); color: var(--ink);
  min-height: 3.25rem; padding: .35rem .1rem; background: transparent;
  border: 0; border-bottom: 1px solid rgba(38, 23, 14, .35); border-radius: 0; transition: border-color .2s;
}
.lead-form select { appearance: none; padding-inline-end: 2rem; cursor: pointer;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%238c4f38' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat left .4rem center; }
.lead-form input::placeholder { color: rgba(110, 97, 88, .6); }
.lead-form input:focus, .lead-form select:focus { outline: none; border-bottom: 2px solid var(--copper-deep); }
.lead-form input[aria-invalid="true"], .lead-form select[aria-invalid="true"] { border-bottom-color: #9b2c1f; }
.lead-form input[dir="ltr"] { text-align: right; }
.field-err, .form-err { color: #9b2c1f; font-size: var(--step--1); }
.field-err:empty, .form-err:empty { display: none; }
.field-err { margin-top: .4rem; }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips.days { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: .2rem; }
.chips.days::-webkit-scrollbar { display: none; }
.pick { position: relative; margin: 0 !important; }
.pick input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pick span {
  display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 3.5rem; min-height: 3rem; padding: .35rem 1rem;
  font-weight: 700; font-size: var(--step-0); line-height: 1.3; border: 1px solid rgba(38, 23, 14, .25); border-radius: 2px; background: transparent;
  transition: background-color .2s, color .2s, border-color .2s; white-space: nowrap;
}
.pick span small { font-weight: 400; font-size: .8em; }
.pick:hover span { border-color: var(--earth); }
.pick input:checked + span { background: var(--earth); color: var(--sand); border-color: var(--earth); }
.pick input:focus-visible + span { outline: 2px solid var(--copper-deep); outline-offset: 2px; }
.chips[aria-invalid="true"] .pick span { border-color: #9b2c1f; }

.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.lead-submit { justify-self: start; min-width: 12rem; margin-top: .4rem; }
.lead-submit[disabled] { opacity: .6; cursor: progress; }
.privacy { font-size: var(--step--1); color: var(--muted); margin-top: -.6rem; }

.lead-done { text-align: start; padding-block: 2rem 1rem; }
.lead-done:focus { outline: none; }
.done-mark { display: block; width: 15px; height: 15px; background: var(--copper); transform: rotate(45deg); margin-bottom: 1.5rem; }
.lead-done h3 { font-size: var(--step-3); }
.lead-done p { margin-top: 1rem; font-size: var(--step-1); font-weight: 300; color: var(--muted); max-width: 34ch; }
.link-btn { margin-top: 2rem; font: inherit; font-weight: 700; color: var(--copper-deep); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 860px) {
  .register-grid { grid-template-columns: 1fr; gap: 2rem; }
  .register-intro { position: static; }
  .lead-card { margin-inline: calc(-1 * var(--gutter) + .5rem); }
  .lead-submit { justify-self: stretch; }
}
