:root {
  --ink: #171510;
  --ink-soft: #28231b;
  --gold: #b58632;
  --gold-bright: #d5ad60;
  --gold-pale: #f0ddba;
  --paper: #fffdf8;
  --sand: #f4eee4;
  --line: #e5dac9;
  --muted: #716a60;
  --white: #ffffff;
  --shadow: 0 20px 60px rgba(38, 28, 14, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "IBM Plex Sans Arabic", "Tajawal", "Segoe UI", Tahoma, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

body, button, input, select { font-family: inherit; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
.container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  background: rgba(255, 253, 248, 0.94);
  border-bottom: 1px solid rgba(229, 218, 201, 0.86);
  backdrop-filter: blur(18px);
}
.nav-shell { min-height: 86px; display: flex; align-items: center; gap: 28px; }
.brand { flex: 0 0 auto; width: 70px; height: 70px; border-radius: 16px; overflow: hidden; background: var(--white); box-shadow: 0 8px 20px rgba(38, 28, 14, 0.08); }
.brand img { width: 100%; height: 100%; object-fit: cover; }
.site-nav { display: flex; align-items: center; gap: 30px; margin-inline-start: auto; color: #5a5147; font-size: 15px; }
.site-nav a { position: relative; padding-block: 8px; }
.site-nav a::after { position: absolute; right: 0; bottom: 0; width: 0; height: 2px; background: var(--gold); content: ""; transition: width .25s ease; }
.site-nav a:hover::after, .site-nav a:focus-visible::after { width: 100%; }
.nav-call { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 700; white-space: nowrap; }
.nav-call svg { width: 19px; height: 19px; color: var(--gold); }
.menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 12px; background: transparent; }
.menu-toggle span:not(.visually-hidden) { display: block; width: 20px; height: 2px; margin: 4px auto; background: var(--ink); }

.hero-section { background: var(--ink); color: var(--white); padding: clamp(42px, 7vw, 88px) 0 72px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(34px, 6vw, 86px); align-items: center; }
.hero-copy { padding-block: 12px; }
.eyebrow { margin: 0 0 14px; color: var(--gold-bright); font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.eyebrow-dark { color: var(--gold); }
.hero-title { max-width: 650px; margin: 0; font-size: clamp(44px, 7vw, 82px); font-weight: 800; letter-spacing: 0; line-height: 1.02; }
.hero-title span { display: block; margin-top: 22px; color: #f3eadc; font-size: clamp(25px, 3.1vw, 42px); font-weight: 400; line-height: 1.35; }
.hero-lead { max-width: 590px; margin: 27px 0 0; color: #cfc5b7; font-size: clamp(16px, 1.6vw, 19px); line-height: 1.9; }
.hero-price { display: flex; align-items: baseline; gap: 14px; margin: 30px 0 26px; }
.hero-price span { color: #bcb0a1; font-size: 15px; }
.hero-price strong { color: var(--gold-bright); font-size: clamp(23px, 3vw, 34px); font-weight: 800; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 12px 22px; border: 1px solid transparent; border-radius: 12px; font-size: 15px; font-weight: 700; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid rgba(213, 173, 96, .6); outline-offset: 3px; }
.button-gold { background: var(--gold); color: var(--white); box-shadow: 0 10px 26px rgba(181, 134, 50, .2); }
.button-gold:hover { background: #c2943d; }
.button-outline { border-color: rgba(240, 221, 186, .42); color: var(--gold-pale); }
.button-outline:hover { border-color: var(--gold-bright); background: rgba(213, 173, 96, .09); }
.button-dark { background: var(--ink); color: var(--white); }
.hero-note { margin: 16px 0 0; color: #9e9387; font-size: 13px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 34px; padding-top: 23px; border-top: 1px solid rgba(255, 255, 255, .14); }
.hero-facts div { display: flex; align-items: baseline; gap: 7px; }
.hero-facts strong { color: var(--white); font-size: 21px; font-weight: 800; }
.hero-facts span { color: #9e9387; font-size: 13px; }
.hero-media { position: relative; min-height: 560px; margin: 0; overflow: hidden; border: 1px solid rgba(240, 221, 186, .18); border-radius: 28px; background: #322a20; box-shadow: 0 30px 80px rgba(0, 0, 0, .24); }
.hero-media::after { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23, 21, 16, .03) 35%, rgba(23, 21, 16, .42) 100%); content: ""; pointer-events: none; }
.hero-media img { width: 100%; height: 100%; min-height: 560px; object-fit: cover; object-position: center; }
.media-label, .media-location { position: absolute; z-index: 1; color: var(--white); }
.media-label { top: 18px; right: 18px; padding: 6px 11px; border: 1px solid rgba(255, 255, 255, .34); border-radius: 99px; background: rgba(23, 21, 16, .55); font-size: 12px; }
.media-location { right: 24px; bottom: 22px; display: flex; align-items: center; gap: 8px; color: #f3eadc; font-size: 14px; }
.location-dot { width: 9px; height: 9px; border: 2px solid var(--gold-bright); border-radius: 50%; background: transparent; }

.fact-ribbon { background: var(--gold-pale); }
.fact-ribbon-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-block: 25px; }
.ribbon-item { display: flex; align-items: center; gap: 12px; }
.ribbon-icon { display: grid; width: 42px; height: 42px; flex: 0 0 42px; place-items: center; border: 1px solid rgba(181, 134, 50, .45); border-radius: 50%; color: var(--gold); font-size: 13px; font-weight: 800; }
.ribbon-item b, .ribbon-item small { display: block; }
.ribbon-item b { font-size: 14px; }
.ribbon-item small { color: #766957; font-size: 12px; }

.section { padding: clamp(68px, 9vw, 112px) 0; }
.section-light { background: var(--sand); }
.section-paper { background: var(--paper); }
.section-heading { margin-bottom: 42px; }
.split-heading { display: grid; grid-template-columns: .95fr 1fr; gap: 60px; align-items: end; }
.section-heading h2, .location-copy h2, .contact-intro h2 { margin: 0; font-size: clamp(32px, 4.3vw, 56px); font-weight: 800; letter-spacing: 0; line-height: 1.14; }
.section-heading p { max-width: 520px; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.9; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card { min-height: 220px; padding: 27px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255, 253, 248, .65); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.feature-card:hover { transform: translateY(-4px); border-color: rgba(181, 134, 50, .55); box-shadow: var(--shadow); }
.feature-card-accent { background: var(--ink); color: var(--white); border-color: var(--ink); }
.feature-card-accent p { color: #cfc5b7; }
.feature-number { margin-bottom: 22px; color: var(--gold); font-size: 13px; font-weight: 800; }
.feature-card h3 { margin: 0 0 10px; font-size: 21px; font-weight: 700; }
.feature-card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.85; }
.feature-card-cta { background: var(--gold-pale); border-color: transparent; }
.text-link { display: inline-flex; gap: 9px; margin-top: 20px; color: var(--gold); font-size: 14px; font-weight: 800; }

.units-heading { display: grid; grid-template-columns: 1fr .82fr; gap: 60px; align-items: end; }
.filter-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 24px; }
.filter-label { margin-inline-end: 4px; color: var(--muted); font-size: 13px; }
.filter-button { padding: 9px 15px; border: 1px solid var(--line); border-radius: 99px; background: transparent; color: var(--muted); font-size: 13px; }
.filter-button:hover, .filter-button.is-active { border-color: var(--ink); background: var(--ink); color: var(--white); }
.units-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.unit-card { position: relative; display: flex; min-height: 270px; flex-direction: column; padding: 23px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); box-shadow: 0 8px 20px rgba(38, 28, 14, .03); }
.unit-top { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.unit-number { color: var(--gold); font-size: 13px; font-weight: 800; }
.unit-floor { color: var(--muted); font-size: 12px; }
.unit-card h3 { margin: 21px 0 8px; font-size: 22px; font-weight: 800; }
.unit-area { display: inline-flex; width: fit-content; padding: 5px 10px; border-radius: 99px; background: var(--sand); color: #665745; font-size: 13px; }
.unit-details { min-height: 48px; margin: 16px 0 18px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.unit-bottom { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 15px; border-top: 1px solid var(--line); }
.unit-price small, .unit-price strong { display: block; }
.unit-price small { color: var(--muted); font-size: 11px; }
.unit-price strong { color: var(--ink); font-size: 20px; font-weight: 800; }
.unit-ask { padding: 9px 13px; border: 0; border-radius: 10px; background: var(--ink); color: var(--white); font-size: 12px; font-weight: 700; }
.unit-ask:hover { background: var(--gold); }
.units-footnote { margin: 20px 0 0; color: var(--muted); font-size: 12px; }

.location-section { padding: clamp(68px, 9vw, 112px) 0; background: var(--ink-soft); color: var(--white); }
.location-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: center; }
.location-copy h2 { max-width: 560px; }
.location-copy > p:not(.eyebrow) { max-width: 480px; margin: 22px 0 26px; color: #cfc5b7; font-size: 17px; line-height: 1.9; }
.nearby-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.nearby-list span { padding: 8px 12px; border: 1px solid rgba(240, 221, 186, .22); border-radius: 99px; color: var(--gold-pale); font-size: 13px; }
.location-visual { position: relative; min-height: 390px; overflow: hidden; border: 1px solid rgba(240, 221, 186, .2); border-radius: 26px; background: #1f1c17; }
.grid-lines { position: absolute; inset: 0; opacity: .46; background-image: linear-gradient(rgba(213, 173, 96, .14) 1px, transparent 1px), linear-gradient(90deg, rgba(213, 173, 96, .14) 1px, transparent 1px); background-size: 42px 42px; transform: perspective(700px) rotateX(55deg) scale(1.5); transform-origin: bottom center; }
.location-visual::after { position: absolute; inset: 0; background: radial-gradient(circle at center, transparent 0 16%, rgba(23, 21, 16, .3) 55%, rgba(23, 21, 16, .9) 100%); content: ""; }
.location-stamp { position: absolute; z-index: 1; top: 50%; right: 50%; display: flex; width: 190px; height: 190px; flex-direction: column; align-items: center; justify-content: center; border: 1px solid rgba(213, 173, 96, .7); border-radius: 50%; color: var(--gold-pale); transform: translate(50%, -50%); }
.location-stamp span { font-size: 20px; }
.location-stamp strong { color: var(--gold-bright); font-size: 70px; font-weight: 800; line-height: .95; }
.location-stamp small { margin-top: 10px; color: #cfc5b7; font-size: 12px; }
.compass { position: absolute; z-index: 1; left: 23px; top: 22px; display: flex; align-items: center; gap: 7px; color: var(--gold-bright); font-size: 13px; }
.compass i { display: block; width: 24px; height: 24px; border: 1px solid var(--gold-bright); border-radius: 50%; }

.contact-section { padding: clamp(68px, 9vw, 112px) 0; background: var(--gold-pale); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(35px, 7vw, 90px); align-items: start; }
.contact-intro h2 { max-width: 480px; }
.contact-intro > p:not(.eyebrow) { max-width: 460px; margin: 21px 0 29px; color: #665745; font-size: 17px; line-height: 1.9; }
.contact-direct { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.contact-direct a { display: flex; align-items: center; gap: 11px; padding: 14px; border: 1px solid rgba(181, 134, 50, .35); border-radius: 15px; background: rgba(255, 253, 248, .5); }
.contact-direct a:hover { background: var(--white); }
.contact-direct svg { width: 25px; height: 25px; flex: 0 0 25px; color: var(--gold); }
.contact-direct b, .contact-direct small { display: block; }
.contact-direct b { font-size: 13px; }
.contact-direct small { color: #665745; font-size: 12px; direction: ltr; text-align: right; }
.lead-form { padding: clamp(24px, 4vw, 38px); border-radius: 24px; background: var(--white); box-shadow: var(--shadow); }
.form-header { display: flex; align-items: baseline; justify-content: space-between; gap: 15px; margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.form-header span { font-size: 22px; font-weight: 800; }
.form-header small { color: var(--muted); font-size: 12px; }
.lead-form label:not(.consent-row) { display: block; margin: 14px 0 6px; color: #4e463c; font-size: 13px; font-weight: 700; }
.lead-form input:not([type="checkbox"]), .lead-form select { width: 100%; height: 50px; padding: 10px 13px; border: 1px solid var(--line); border-radius: 10px; outline: none; background: #fffdfa; color: var(--ink); font-size: 15px; }
.lead-form input::placeholder { color: #a1988e; }
.lead-form input:not([type="checkbox"]):focus, .lead-form select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(181, 134, 50, .12); }
.consent-row { display: flex; align-items: start; gap: 9px; margin: 18px 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.consent-row input { width: 17px; height: 17px; flex: 0 0 17px; margin-top: 2px; accent-color: var(--gold); }
.button-submit { width: 100%; border: 0; }
.button-submit span { margin-inline-start: 8px; color: var(--gold-bright); font-size: 20px; }
.form-message { min-height: 24px; margin: 11px 0 0; color: #16734b; font-size: 13px; }
.privacy-note { margin: 10px 0 0; color: #8a8074; font-size: 11px; line-height: 1.7; }

.site-footer { padding: 28px 0 34px; background: var(--ink); color: #cfc5b7; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1fr auto; gap: 30px; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; }
.footer-brand strong, .footer-brand span { display: block; }
.footer-brand strong { color: var(--white); font-size: 17px; }
.footer-brand span { color: #9e9387; font-size: 12px; }
.footer-grid > p { margin: 0; font-size: 12px; line-height: 1.8; }
.footer-meta { display: flex; flex-direction: column; gap: 5px; color: #9e9387; font-size: 11px; text-align: left; }
.floating-whatsapp { position: fixed; z-index: 25; left: 22px; bottom: 22px; display: grid; width: 58px; height: 58px; place-items: center; border: 3px solid var(--paper); border-radius: 50%; background: #1aa56b; color: var(--white); box-shadow: 0 12px 28px rgba(19, 90, 57, .28); transition: transform .2s ease; }
.floating-whatsapp:hover { transform: translateY(-3px) scale(1.03); }
.floating-whatsapp svg { width: 29px; height: 29px; }
.mobile-cta { display: none; }

@media (max-width: 940px) {
  .container { width: min(100% - 36px, 720px); }
  .site-nav { gap: 18px; }
  .hero-grid, .location-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 42px; }
  .hero-media { min-height: 430px; }
  .hero-media img { min-height: 430px; }
  .split-heading, .units-heading { grid-template-columns: 1fr; gap: 16px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .units-grid { grid-template-columns: repeat(2, 1fr); }
  .location-grid { gap: 38px; }
  .location-visual { min-height: 330px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-meta { text-align: right; }
}

@media (max-width: 680px) {
  body { padding-bottom: 70px; }
  .container { width: calc(100% - 32px); }
  .nav-shell { min-height: 72px; gap: 13px; }
  .brand { width: 56px; height: 56px; border-radius: 13px; }
  .menu-toggle { display: block; margin-inline-start: auto; }
  .site-nav { position: absolute; top: calc(100% + 1px); right: 0; left: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 14px; border-bottom: 1px solid var(--line); background: var(--paper); box-shadow: 0 14px 25px rgba(38, 28, 14, .08); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 13px 4px; border-bottom: 1px solid rgba(229, 218, 201, .7); }
  .site-nav a:last-child { border-bottom: 0; }
  .nav-call { font-size: 0; }
  .nav-call svg { width: 22px; height: 22px; }
  .hero-section { padding: 40px 0 48px; }
  .hero-title { font-size: clamp(42px, 15vw, 66px); }
  .hero-title span { margin-top: 17px; font-size: 26px; }
  .hero-lead { margin-top: 22px; font-size: 16px; line-height: 1.85; }
  .hero-price { margin-top: 23px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .button { width: 100%; }
  .hero-facts { gap: 17px; margin-top: 27px; }
  .hero-media { min-height: 350px; border-radius: 20px; }
  .hero-media img { min-height: 350px; }
  .fact-ribbon-grid { grid-template-columns: repeat(2, 1fr); gap: 17px 12px; padding-block: 20px; }
  .ribbon-item { gap: 8px; }
  .ribbon-icon { width: 35px; height: 35px; flex-basis: 35px; font-size: 11px; }
  .ribbon-item b { font-size: 12px; }
  .ribbon-item small { font-size: 10px; }
  .section { padding: 64px 0; }
  .section-heading { margin-bottom: 30px; }
  .section-heading h2, .location-copy h2, .contact-intro h2 { font-size: 35px; }
  .section-heading p, .location-copy > p:not(.eyebrow), .contact-intro > p:not(.eyebrow) { font-size: 15px; }
  .feature-grid, .units-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: auto; padding: 22px; }
  .feature-number { margin-bottom: 14px; }
  .filter-bar { gap: 6px; }
  .filter-label { width: 100%; margin-bottom: 2px; }
  .filter-button { padding: 8px 11px; font-size: 12px; }
  .unit-card { min-height: 250px; }
  .location-visual { min-height: 280px; }
  .location-stamp { width: 150px; height: 150px; }
  .location-stamp strong { font-size: 56px; }
  .contact-direct { grid-template-columns: 1fr; }
  .lead-form { padding: 22px 18px; border-radius: 18px; }
  .footer-grid { grid-template-columns: 1fr; gap: 16px; }
  .footer-meta { text-align: right; }
  .floating-whatsapp { left: 14px; bottom: 83px; width: 54px; height: 54px; }
  .mobile-cta { position: fixed; z-index: 24; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: 1fr 1fr; min-height: 67px; border-top: 1px solid rgba(255, 255, 255, .16); background: var(--ink); box-shadow: 0 -10px 24px rgba(0, 0, 0, .15); }
  .mobile-cta a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; color: #bcb0a1; font-size: 11px; }
  .mobile-cta a + a { border-right: 1px solid rgba(255, 255, 255, .14); background: #1f5d43; color: #dff8ea; }
  .mobile-cta strong { font-size: 13px; font-weight: 700; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
