/* نعيمات سنتر — site stylesheet
   Palette is taken from the building itself: blue glass facade, limestone spine,
   the red shop band at street level, and the pale Amman stone around it. */

:root {
  --ink: #10233a;        /* facade at dusk */
  --glass: #1c64ae;      /* blue glass */
  --glass-deep: #0f3e75; /* glass in shadow */
  --glass-light: #4f93d6;/* glass catching sun */
  --stone: #d6cdbd;      /* limestone spine */
  --stone-deep: #b9ad98;
  --brick: #a6352c;      /* street-level shop band */
  --ground: #f3f4f2;     /* page: pale cool stone */
  --paper: #ffffff;
  --text: #1a2633;
  --muted: #5b6773;
  --rule: #d9dde1;

  --font-display: "Noto Kufi Arabic", "Readex Pro", system-ui, sans-serif;
  --font-body: "Readex Pro", "Noto Kufi Arabic", system-ui, sans-serif;

  --measure: 34rem;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --wrap: 72rem;
}

html[lang="en"] {
  --font-display: "Readex Pro", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
html[lang="en"] body { line-height: 1.65; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--glass-light); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.25; margin: 0; color: var(--ink); }
h1 { font-size: clamp(1.9rem, 4.4vw, 3.3rem); font-weight: 800; letter-spacing: -0.005em; }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.95rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }
html[lang="en"] h1 { font-weight: 700; letter-spacing: -0.02em; }
html[lang="en"] h2 { letter-spacing: -0.01em; }
p { margin: 0 0 1rem; max-width: var(--measure); }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--ground) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; color: var(--ink); }
.brand-mark { width: 1.6rem; height: 1.6rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.brand-mark i { background: var(--glass); border-radius: 1px; }
.brand-mark i:nth-child(2) { background: var(--stone-deep); }
.brand-mark i:nth-child(8) { background: var(--brick); }
.site-nav { display: flex; align-items: center; gap: clamp(.8rem, 2vw, 1.6rem); }
.site-nav a { text-decoration: none; color: var(--text); font-weight: 500; font-size: .95rem; }
.site-nav a:hover { color: var(--glass); }
.lang { border: 1px solid var(--rule); padding: .2rem .65rem; border-radius: 999px; font-size: .85rem !important; }
@media (max-width: 720px) {
  .site-nav a:not(.lang) { display: none; }
}

/* ---------- hero ---------- */
.hero { padding-block: clamp(3rem, 8vw, 6.5rem) clamp(2.5rem, 6vw, 5rem); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero-copy .lede { font-size: 1.1rem; color: var(--muted); margin-top: 1.4rem; }
.hero-address { display: flex; align-items: center; gap: .6rem; color: var(--ink); font-weight: 500; margin-top: 1.2rem; }
.hero-address svg { flex: none; width: 1.1rem; height: 1.1rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .8rem 1.35rem; border-radius: .5rem; text-decoration: none;
  font-weight: 600; font-size: 1rem; line-height: 1.2; border: 1.5px solid transparent;
}
.btn svg { width: 1.15rem; height: 1.15rem; }
.btn-primary { background: var(--brick); color: #fff; }
.btn-primary:hover { background: #8e2c24; }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.num { font-variant-numeric: tabular-nums; direction: ltr; unicode-bidi: isolate; }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
}

/* ---------- facade (drawn building) ---------- */
.facade {
  --w: 100%;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 14%;
  gap: 0;
  width: var(--w);
  max-width: 30rem;
  margin-inline: auto;
  filter: drop-shadow(0 30px 40px rgba(16, 35, 58, .18));
}
.facade-glass { display: grid; grid-auto-rows: auto; min-width: 0; }
.facade-spine {
  background: linear-gradient(180deg, var(--stone) 0%, var(--stone-deep) 100%);
  display: grid; grid-auto-rows: 1fr; padding: 8% 22%; gap: 12%;
}
.facade-spine i { background: var(--glass-deep); display: block; border-radius: 1px; }
.floor {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px;
  padding: 7px; background: var(--ink); min-width: 0;
  border: 0; width: 100%; cursor: pointer; text-align: start;
  font: inherit; color: #fff; position: relative;
  transition: background .2s ease;
}
.floor + .floor { border-top: 3px solid #0b1a2c; }
.floor .pane {
  min-width: 0;
  aspect-ratio: 1 / 1.1;
  background: linear-gradient(160deg, var(--glass-light) 0%, var(--glass) 45%, var(--glass-deep) 100%);
  border-radius: 1px;
  opacity: 0;
  transform: translateY(4px);
}
.floor-tag {
  position: absolute; inset-inline-start: -2.4rem; top: 50%; transform: translateY(-50%);
  width: 2rem; text-align: center; font-family: var(--font-display); font-weight: 700; font-size: .8rem; color: var(--muted);
}
.floor.is-ground { background: var(--brick); padding: 10px 8px; }
.floor.is-ground .pane { aspect-ratio: 2.6 / 1; background: linear-gradient(180deg, #2b1512 0%, #4a2420 100%); border-radius: 2px; }
.floor.is-basement { background: #0b1a2c; }
.floor.is-basement .pane { aspect-ratio: 4 / 1; background: #16283d; }
.floor.is-roof { background: var(--ink); grid-auto-columns: minmax(0,1fr) minmax(0,3fr) minmax(0,1fr); }
.floor.is-roof .pane:nth-child(2), .floor.is-roof .pane:last-child { visibility: hidden; }
.floor.is-roof .pane { aspect-ratio: 3 / 1.05; }
.floor[aria-selected="true"] { background: #1a3d66; }
.floor[aria-selected="true"]::after {
  content: ""; position: absolute; inset: 0; border: 2px solid #ffd479; pointer-events: none;
}
.floor.is-ground[aria-selected="true"] { background: #7f2a22; }
.floor.is-basement[aria-selected="true"] { background: #1a3552; }
.floor:hover:not([aria-selected="true"]) { background: #16304f; }
.floor.is-ground:hover:not([aria-selected="true"]) { background: #8e2c24; }

/* page-load: windows light up floor by floor, bottom to top, once */
.facade.lit .pane { animation: lightup .5s ease forwards; }
@keyframes lightup { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .facade .pane { opacity: 1; transform: none; animation: none !important; }
}

/* ---------- hero visual: facade + floor panel ---------- */
.hero-visual { display: grid; gap: 1.25rem; max-width: 30rem; margin-inline: auto; width: 100%; padding-inline-start: 2.5rem; }
.floor-panel {
  padding: 1.25rem 1.5rem; background: var(--paper); border-radius: .75rem;
  border: 1px solid var(--rule); min-height: 11rem;
}
.floor-panel h3 { font-size: 1.25rem; }
.floor-panel p[data-slot="desc"] { color: var(--muted); font-size: .95rem; margin: .4rem 0 .75rem; }
.floor-panel .stat { display: flex; flex-wrap: wrap; gap: 1.75rem; margin: .5rem 0 .75rem; }
.floor-panel .stat b { display: block; font-family: var(--font-display); font-size: 1.35rem; color: var(--ink); line-height: 1.2; }
.floor-panel .stat span { font-size: .82rem; color: var(--muted); }
.floor-panel ul { margin: 0; padding: 0; list-style: none; }
.floor-panel li { padding: .45rem 0; border-top: 1px solid var(--rule); display: flex; justify-content: space-between; gap: 1rem; font-size: .95rem; line-height: 1.55; }
.floor-panel li span:first-child { color: var(--muted); font-size: .85rem; white-space: nowrap; }
.floor-panel li span:last-child { text-align: end; }
.floor-panel .hint { color: var(--muted); font-size: .88rem; margin: .75rem 0 0; }
@media (max-width: 860px) { .hero-visual { padding-inline-start: 2.25rem; } }

/* ---------- photo band + about + gallery ---------- */
.band { line-height: 0; background: var(--ink); }
.band img { width: 100%; height: clamp(16rem, 52vw, 40rem); object-fit: cover; object-position: 28% 45%; }
.about { padding-block: clamp(3rem, 7vw, 5.5rem); }
.about .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.about .facts { margin-top: .5rem; }
.gallery { padding-block: clamp(3rem, 7vw, 5.5rem); background: var(--paper); border-top: 1px solid var(--rule); }
.shots { list-style: none; margin: 1.75rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.shots li { margin: 0; }
.shots img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: .6rem; }
.shots span { display: block; font-size: .88rem; color: var(--muted); margin-top: .5rem; }
@media (max-width: 860px) { .shots { grid-template-columns: repeat(2, 1fr); gap: .9rem; } }
@media (max-width: 480px) { .shots { grid-template-columns: 1fr; } }
.photo { position: relative; }
.photo img { border-radius: .75rem; width: 100%; object-fit: cover; aspect-ratio: 1024 / 840; }
.photo figcaption { font-size: .85rem; color: var(--muted); margin-top: .6rem; }
.about-copy p + p { margin-top: 0; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem 2rem; margin-top: 1.75rem; padding: 0; list-style: none; max-width: var(--measure); }
.facts b { display: block; font-family: var(--font-display); font-size: 1.5rem; color: var(--ink); line-height: 1.2; }
.facts span { color: var(--muted); font-size: .9rem; }
@media (max-width: 860px) { .about .wrap { grid-template-columns: 1fr; } }

/* ---------- spaces ---------- */
.spaces { padding-block: clamp(3rem, 7vw, 5.5rem); background: var(--ink); color: #e8eef5; }
.spaces h2 { color: #fff; }
.spaces .intro { color: #b9c7d6; }
.space-list { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid rgba(255,255,255,.18); }
.space-list li { padding: 1.75rem 0 1.5rem; border-bottom: 1px solid rgba(255,255,255,.18); }
.space-list li + li { border-inline-start: 1px solid rgba(255,255,255,.18); padding-inline-start: 2rem; }
.space-list li:not(:last-child) { padding-inline-end: 2rem; }
.space-list h3 { color: #fff; font-size: 1.25rem; }
.space-list .size { font-family: var(--font-display); font-size: clamp(1.9rem, 3.5vw, 2.6rem); color: #ffd479; font-weight: 700; line-height: 1.1; margin: .5rem 0 .75rem; }
.space-list .size small { font-size: 1rem; color: #b9c7d6; font-weight: 500; margin-inline-start: .35rem; }
.space-list p { color: #c8d3de; font-size: .98rem; margin-bottom: 0; }
.spaces .included { margin-top: 2.5rem; max-width: 46rem; color: #c8d3de; }
.spaces .included strong { color: #fff; font-weight: 600; }
@media (max-width: 860px) {
  .space-list { grid-template-columns: 1fr; }
  .space-list li + li { border-inline-start: 0; padding-inline-start: 0; }
  .space-list li:not(:last-child) { padding-inline-end: 0; }
}

/* ---------- directory ---------- */
.directory { padding-block: clamp(3rem, 7vw, 5.5rem); background: var(--paper); }
.directory .intro { color: var(--muted); }
.mix { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 0 3rem; max-width: 60rem; }
.mix li { padding: .6rem 0; border-top: 1px solid var(--rule); font-size: .98rem; }
.mix a { color: var(--glass); text-decoration: none; border-bottom: 1px solid var(--glass-light); }
.dir-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1.5rem 3rem; margin-top: 2rem; }
.dir-floor { border-top: 2px solid var(--ink); padding-top: .75rem; }
.dir-floor h3 { font-size: 1rem; color: var(--muted); font-weight: 600; }
.dir-floor ul { list-style: none; margin: .5rem 0 0; padding: 0; }
.dir-floor li { display: grid; grid-template-columns: 3rem 1fr; gap: .5rem; padding: .4rem 0; border-top: 1px solid var(--rule); font-size: .97rem; }
.dir-floor li span:first-child { font-family: var(--font-display); font-weight: 700; color: var(--glass); font-variant-numeric: tabular-nums; }
.dir-floor li small { display: block; color: var(--muted); font-size: .82rem; }

/* ---------- location ---------- */
.location { padding-block: clamp(3rem, 7vw, 5.5rem); }
.location .wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.location .map { border-radius: .75rem; overflow: hidden; border: 1px solid var(--rule); background: #dfe6ec; aspect-ratio: 4 / 3; }
.location iframe { width: 100%; height: 100%; border: 0; display: block; }
.landmarks { list-style: none; margin: 1.25rem 0 0; padding: 0; max-width: var(--measure); }
.landmarks li { padding: .7rem 0; border-top: 1px solid var(--rule); display: grid; grid-template-columns: 1.6rem 1fr; gap: .6rem; align-items: start; }
.landmarks svg { width: 1.25rem; height: 1.25rem; color: var(--glass); margin-top: .35rem; }
.address-block { font-style: normal; margin-top: 1.25rem; line-height: 1.7; }
@media (max-width: 860px) { .location .wrap { grid-template-columns: 1fr; } }

/* ---------- contact ---------- */
.contact { padding-block: clamp(3rem, 7vw, 5.5rem); background: var(--paper); border-top: 1px solid var(--rule); }
.contact .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.contact .intro { color: var(--muted); }
.contact-card { background: var(--ground); border-radius: .75rem; padding: 1.75rem; }
.contact-card dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .75rem 1.25rem; align-items: baseline; }
.contact-card dt { color: var(--muted); font-size: .9rem; }
.contact-card dd { margin: 0; font-weight: 500; }
.contact-card dd a { text-decoration: none; color: var(--ink); border-bottom: 1.5px solid var(--glass-light); }
.contact-card .cta-row { margin-top: 1.5rem; }
@media (max-width: 860px) { .contact .wrap { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-foot { padding: 2rem 0 2.5rem; color: var(--muted); font-size: .88rem; }
.site-foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
.site-foot a { color: var(--muted); }
