/* Al Rawad Real Estate – base: tokens, header, footer, buttons */
:root {
  --char: #2A2420;
  --bronze: #8C6A43;
  --bronze-dark: #6F532F;
  --sage: #E3E8DF;
  --sand: #F2EEE7;
  --white: #FFFFFF;
  --muted: #6D655D;
  --line: #E0DAD1;
  --display: "El Messiri", "Noto Naskh Arabic", serif;
  --text: "Alexandria", "Segoe UI", Tahoma, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--text); font-weight: 300; font-size: .98rem; line-height: 1.85; color: var(--char); background: var(--white); }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.3; margin: 0 0 .5em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
a { color: var(--bronze-dark); }
b, strong { font-weight: 500; }
.wrap { width: min(100% - 2.5rem, 1240px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; top: -50px; right: 1rem; background: var(--char); color: #fff; padding: .5rem 1rem; z-index: 99; }
.skip:focus { top: .5rem; }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }

.btn { display: inline-block; background: var(--char); color: #fff; text-decoration: none; font-weight: 400; padding: .8rem 1.5rem; border-radius: 4px; }
.btn:hover { background: var(--bronze-dark); }

/* header */
.hd { border-bottom: 1px solid var(--line); background: var(--white); position: sticky; top: 0; z-index: 30; }
.hd__row { display: flex; align-items: center; gap: 2.5rem; min-height: 78px; }
.hd__logo { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--char); }
.hd__logo svg { width: 38px; height: 38px; }
.hd__logo span { font-family: var(--display); font-size: 1.6rem; font-weight: 700; line-height: 1; display: flex; flex-direction: column; }
.hd__logo small { font-family: var(--text); font-size: .72rem; font-weight: 400; color: var(--bronze); margin-top: .2rem; }
.hd__nav { display: flex; gap: 1.8rem; }
.hd__nav a { color: var(--char); text-decoration: none; font-size: .92rem; font-weight: 400; }
.hd__nav a:hover { color: var(--bronze); }
.hd__cta { margin-inline-start: auto; border: 1px solid var(--bronze); color: var(--bronze-dark); text-decoration: none; padding: .5rem 1.2rem; border-radius: 4px; font-weight: 400; white-space: nowrap; }
.hd__cta:hover { background: var(--bronze); color: #fff; }
.hd__toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 4px; background: #fff; cursor: pointer; }
.hd__toggle i, .hd__toggle i::before, .hd__toggle i::after { display: block; width: 18px; height: 2px; background: var(--char); margin: auto; position: relative; content: ""; }
.hd__toggle i::before { position: absolute; top: -6px; }
.hd__toggle i::after { position: absolute; top: 6px; }

/* footer */
.ft { background: var(--char); color: #BDB3A8; font-size: .82rem; padding: 2rem 0; }
.ft__row { display: flex; gap: 1rem 2.5rem; flex-wrap: wrap; align-items: baseline; }
.ft b { font-family: var(--display); font-size: 1.3rem; color: #fff; }

@media (max-width: 980px) {
  .hd__row { gap: 1rem; }
  .hd__toggle { display: block; }
  .hd__nav { display: none; position: absolute; top: 100%; inset-inline: 0; background: #fff; flex-direction: column; gap: 0; padding: .5rem 1.25rem 1rem; border-bottom: 1px solid var(--line); }
  .hd__nav.is-open { display: flex; }
  .hd__nav a { padding: .8rem 0; border-bottom: 1px solid var(--sand); }
}
@media (max-width: 420px) {
  .hd__cta { padding: .45rem .7rem; font-size: .85rem; }
  .hd__logo small { display: none; }
}
