/* =========================================================
   الشركة العراقية الدولية للاستثمارات العقارية
   Design system — lapis night + antique gold
   ---------------------------------------------------------
   Fonts are self-hosted (no third-party requests).
   ========================================================= */
@font-face{font-family:'Amiri';font-style:normal;font-weight:400;font-display:swap;src:url(../assets/fonts/amiri-arabic-400.woff2) format('woff2');unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC,U+102E0-102FB,U+10E60-10E7E,U+10EC2-10EC4,U+10EFC-10EFF,U+1EE00-1EE03,U+1EE05-1EE1F,U+1EE21-1EE22,U+1EE24,U+1EE27,U+1EE29-1EE32,U+1EE34-1EE37,U+1EE39,U+1EE3B,U+1EE42,U+1EE47,U+1EE49,U+1EE4B,U+1EE4D-1EE4F,U+1EE51-1EE52,U+1EE54,U+1EE57,U+1EE59,U+1EE5B,U+1EE5D,U+1EE5F,U+1EE61-1EE62,U+1EE64,U+1EE67-1EE6A,U+1EE6C-1EE72,U+1EE74-1EE77,U+1EE79-1EE7C,U+1EE7E,U+1EE80-1EE89,U+1EE8B-1EE9B,U+1EEA1-1EEA3,U+1EEA5-1EEA9,U+1EEAB-1EEBB,U+1EEF0-1EEF1;}
@font-face{font-family:'Amiri';font-style:normal;font-weight:400;font-display:swap;src:url(../assets/fonts/amiri-latin-400.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'Amiri';font-style:normal;font-weight:700;font-display:swap;src:url(../assets/fonts/amiri-arabic-700.woff2) format('woff2');unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC,U+102E0-102FB,U+10E60-10E7E,U+10EC2-10EC4,U+10EFC-10EFF,U+1EE00-1EE03,U+1EE05-1EE1F,U+1EE21-1EE22,U+1EE24,U+1EE27,U+1EE29-1EE32,U+1EE34-1EE37,U+1EE39,U+1EE3B,U+1EE42,U+1EE47,U+1EE49,U+1EE4B,U+1EE4D-1EE4F,U+1EE51-1EE52,U+1EE54,U+1EE57,U+1EE59,U+1EE5B,U+1EE5D,U+1EE5F,U+1EE61-1EE62,U+1EE64,U+1EE67-1EE6A,U+1EE6C-1EE72,U+1EE74-1EE77,U+1EE79-1EE7C,U+1EE7E,U+1EE80-1EE89,U+1EE8B-1EE9B,U+1EEA1-1EEA3,U+1EEA5-1EEA9,U+1EEAB-1EEBB,U+1EEF0-1EEF1;}
@font-face{font-family:'Amiri';font-style:normal;font-weight:700;font-display:swap;src:url(../assets/fonts/amiri-latin-700.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'IBM Plex Sans Arabic';font-style:normal;font-weight:300;font-display:swap;src:url(../assets/fonts/plex-arabic-300.woff2) format('woff2');unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC,U+102E0-102FB,U+10E60-10E7E,U+10EC2-10EC4,U+10EFC-10EFF,U+1EE00-1EE03,U+1EE05-1EE1F,U+1EE21-1EE22,U+1EE24,U+1EE27,U+1EE29-1EE32,U+1EE34-1EE37,U+1EE39,U+1EE3B,U+1EE42,U+1EE47,U+1EE49,U+1EE4B,U+1EE4D-1EE4F,U+1EE51-1EE52,U+1EE54,U+1EE57,U+1EE59,U+1EE5B,U+1EE5D,U+1EE5F,U+1EE61-1EE62,U+1EE64,U+1EE67-1EE6A,U+1EE6C-1EE72,U+1EE74-1EE77,U+1EE79-1EE7C,U+1EE7E,U+1EE80-1EE89,U+1EE8B-1EE9B,U+1EEA1-1EEA3,U+1EEA5-1EEA9,U+1EEAB-1EEBB,U+1EEF0-1EEF1;}
@font-face{font-family:'IBM Plex Sans Arabic';font-style:normal;font-weight:300;font-display:swap;src:url(../assets/fonts/plex-latin-300.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'IBM Plex Sans Arabic';font-style:normal;font-weight:400;font-display:swap;src:url(../assets/fonts/plex-arabic-400.woff2) format('woff2');unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC,U+102E0-102FB,U+10E60-10E7E,U+10EC2-10EC4,U+10EFC-10EFF,U+1EE00-1EE03,U+1EE05-1EE1F,U+1EE21-1EE22,U+1EE24,U+1EE27,U+1EE29-1EE32,U+1EE34-1EE37,U+1EE39,U+1EE3B,U+1EE42,U+1EE47,U+1EE49,U+1EE4B,U+1EE4D-1EE4F,U+1EE51-1EE52,U+1EE54,U+1EE57,U+1EE59,U+1EE5B,U+1EE5D,U+1EE5F,U+1EE61-1EE62,U+1EE64,U+1EE67-1EE6A,U+1EE6C-1EE72,U+1EE74-1EE77,U+1EE79-1EE7C,U+1EE7E,U+1EE80-1EE89,U+1EE8B-1EE9B,U+1EEA1-1EEA3,U+1EEA5-1EEA9,U+1EEAB-1EEBB,U+1EEF0-1EEF1;}
@font-face{font-family:'IBM Plex Sans Arabic';font-style:normal;font-weight:400;font-display:swap;src:url(../assets/fonts/plex-latin-400.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'IBM Plex Sans Arabic';font-style:normal;font-weight:500;font-display:swap;src:url(../assets/fonts/plex-arabic-500.woff2) format('woff2');unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC,U+102E0-102FB,U+10E60-10E7E,U+10EC2-10EC4,U+10EFC-10EFF,U+1EE00-1EE03,U+1EE05-1EE1F,U+1EE21-1EE22,U+1EE24,U+1EE27,U+1EE29-1EE32,U+1EE34-1EE37,U+1EE39,U+1EE3B,U+1EE42,U+1EE47,U+1EE49,U+1EE4B,U+1EE4D-1EE4F,U+1EE51-1EE52,U+1EE54,U+1EE57,U+1EE59,U+1EE5B,U+1EE5D,U+1EE5F,U+1EE61-1EE62,U+1EE64,U+1EE67-1EE6A,U+1EE6C-1EE72,U+1EE74-1EE77,U+1EE79-1EE7C,U+1EE7E,U+1EE80-1EE89,U+1EE8B-1EE9B,U+1EEA1-1EEA3,U+1EEA5-1EEA9,U+1EEAB-1EEBB,U+1EEF0-1EEF1;}
@font-face{font-family:'IBM Plex Sans Arabic';font-style:normal;font-weight:500;font-display:swap;src:url(../assets/fonts/plex-latin-500.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'IBM Plex Sans Arabic';font-style:normal;font-weight:600;font-display:swap;src:url(../assets/fonts/plex-arabic-600.woff2) format('woff2');unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC,U+102E0-102FB,U+10E60-10E7E,U+10EC2-10EC4,U+10EFC-10EFF,U+1EE00-1EE03,U+1EE05-1EE1F,U+1EE21-1EE22,U+1EE24,U+1EE27,U+1EE29-1EE32,U+1EE34-1EE37,U+1EE39,U+1EE3B,U+1EE42,U+1EE47,U+1EE49,U+1EE4B,U+1EE4D-1EE4F,U+1EE51-1EE52,U+1EE54,U+1EE57,U+1EE59,U+1EE5B,U+1EE5D,U+1EE5F,U+1EE61-1EE62,U+1EE64,U+1EE67-1EE6A,U+1EE6C-1EE72,U+1EE74-1EE77,U+1EE79-1EE7C,U+1EE7E,U+1EE80-1EE89,U+1EE8B-1EE9B,U+1EEA1-1EEA3,U+1EEA5-1EEA9,U+1EEAB-1EEBB,U+1EEF0-1EEF1;}
@font-face{font-family:'IBM Plex Sans Arabic';font-style:normal;font-weight:600;font-display:swap;src:url(../assets/fonts/plex-latin-600.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}


:root {
  --night: #0B1220;          /* deepest lapis, hero + footer */
  --lapis: #111C30;          /* dark section background */
  --lapis-2: #1A2942;        /* raised panel on dark */
  --gold: #B8975A;           /* antique gold (matches Ashur logo) */
  --gold-soft: #DCC48E;      /* gold for text on dark */
  --gold-deep: #74592A;      /* gold for text on light (AA contrast) */
  --paper: #F6F4EF;
  --stone: #ECE9E2;
  --ink: #0B1220;
  --ink-soft: #4B5566;
  --on-dark: #E9E4D7;
  --on-dark-soft: rgba(233, 228, 215, .74);
  --hair-dark: rgba(184, 151, 90, .34);
  --hair-light: rgba(11, 18, 32, .16);

  --font-display: 'Amiri', 'Times New Roman', serif;
  --font-body: 'IBM Plex Sans Arabic', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.95;
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
}
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.5rem; }
p  { margin: 0 0 1rem; }
a  { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
::selection { background: var(--gold); color: var(--night); }

.rule { display: block; width: 72px; height: 1px; background: var(--gold); margin: 1.4rem 0; }
.text-soft { color: var(--ink-soft); }

/* ---------- Topbar ---------- */
.topbar {
  position: fixed; inset-inline: 0; top: 0; z-index: 1000;
  padding: 1.2rem 0;
  color: var(--on-dark);
  transition: background .35s var(--ease), padding .35s var(--ease), box-shadow .35s var(--ease);
}
.topbar.is-solid {
  background: rgba(11, 18, 32, .94);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--hair-dark);
  padding: .7rem 0;
}
.topbar .container { position: relative; }

.brand-mark { display: flex; align-items: center; gap: .75rem; }
.brand-mark .disc {
  width: 42px; height: 42px; flex: none;
  border-radius: 50%; background: #F3EFE4; padding: 3px;
  display: grid; place-items: center;
  box-shadow: 0 0 0 1px var(--gold);
}
.brand-mark .disc img { width: 100%; height: 100%; object-fit: contain; }
.brand-mark span.name { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; white-space: nowrap; }
.topbar .brand-mark { position: absolute; inset-inline-start: 50%; transform: translateX(-50%); }
[dir="rtl"] .topbar .brand-mark { transform: translateX(50%); }

.topbar-menu {
  display: flex; align-items: center; gap: .8rem;
  background: none; border: 0; padding: .3rem 0; color: inherit;
  font: 500 .9rem var(--font-body);
}
.menu-icon { display: flex; flex-direction: column; gap: 5px; width: 24px; }
.menu-icon i { display: block; height: 1px; background: var(--gold-soft); }
.menu-icon i:nth-child(2) { width: 62%; margin-inline-start: auto; transition: width .3s var(--ease); }
.topbar-menu:hover .menu-icon i:nth-child(2) { width: 100%; }

.topbar-lang {
  background: transparent; color: inherit;
  border: 1px solid var(--hair-dark); padding: .3rem .95rem;
  font: 500 .8rem var(--font-body); letter-spacing: .06em;
  transition: background .25s, color .25s, border-color .25s;
}
.topbar-lang:hover { background: var(--gold); border-color: var(--gold); color: var(--night); }

/* ---------- Fullscreen navigation ---------- */
.nav-overlay {
  position: fixed; inset: 0; z-index: 1100;
  background: var(--night);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2.4rem;
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
}
.nav-overlay.is-open { opacity: 1; visibility: visible; }
.nav-overlay::before {
  content: ""; position: absolute; inset: 1.4rem; border: 1px solid var(--hair-dark); pointer-events: none;
}
.nav-overlay-close {
  position: absolute; top: 2.2rem; inset-inline-end: 2.4rem;
  background: none; border: 0; color: var(--on-dark); font-size: 2.4rem; line-height: 1; padding: .2rem .6rem;
}
.nav-overlay-close:hover { color: var(--gold-soft); }
.nav-overlay-links { display: flex; flex-direction: column; align-items: center; gap: .6rem; }
.nav-overlay-links a {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.5;
  color: var(--on-dark); opacity: .82; transition: color .25s, opacity .25s;
}
.nav-overlay-links a:hover, .nav-overlay-links a.active { color: var(--gold-soft); opacity: 1; }
.nav-overlay-meta { display: flex; gap: 1rem; color: var(--on-dark-soft); font-size: .95rem; }
.nav-overlay-meta a:hover { color: var(--gold-soft); }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: 88vh; min-height: 88svh;
  display: flex; align-items: flex-end;
  padding: 8rem 0 5rem;
  background: var(--night) center / cover no-repeat;
  color: var(--on-dark);
  overflow: hidden;
}
.hero--home { min-height: 100vh; min-height: 100svh; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(11,18,32,.5) 0%, rgba(11,18,32,.2) 28%, rgba(11,18,32,.58) 56%, rgba(11,18,32,.84) 80%, var(--night) 100%);
}
.hero-body { position: relative; }
.hero-eyebrow { color: var(--gold-soft); font-weight: 500; font-size: 1rem; margin: 0 0 .6rem; }
.hero-title {
  font-size: clamp(2.6rem, 6.4vw, 5.6rem); line-height: 1.3;
  max-width: 16ch; text-wrap: balance;
}
.hero--home .hero-title { max-width: 12ch; }
.hero-title.wide { max-width: 20ch; }
.hero-sub { max-width: 34rem; color: var(--on-dark-soft); font-size: 1.15rem; margin-bottom: 2.2rem; }
.hero-logo { height: 96px; width: auto; margin-bottom: 1.2rem; display: block; }
.hero-more { display: inline-flex; align-items: center; gap: .9rem; font-weight: 500; }
.hero-more::before { content: ""; width: 1px; height: 34px; background: var(--gold); }
.hero-more:hover { color: var(--gold-soft); }

.hero--about    { background-image: url('../assets/img/ashur-view-3.jpg'); }
.hero--projects { background-image: url('../assets/img/ashur-view-2.jpg'); }
.hero--ashur    { background-image: url('../assets/img/ashur-view-4.jpg'); }
.hero--school   { background-image: linear-gradient(160deg, var(--lapis-2) 0%, var(--night) 70%); min-height: 62vh; min-height: 62svh; }
.hero--school::before { content: ""; position: absolute; inset: 1.4rem; border: 1px solid var(--hair-dark); pointer-events: none; }
.hero--contact  { background-image: url('../assets/img/hero-poster.jpg'); min-height: 62vh; min-height: 62svh; }

/* the one orchestrated moment: hero content rises in once on load */
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.rise { animation: rise 1.1s var(--ease) both; }
.rise:nth-child(2) { animation-delay: .12s; }
.rise:nth-child(3) { animation-delay: .24s; }
.rise:nth-child(4) { animation-delay: .36s; }
.rise:nth-child(5) { animation-delay: .48s; }

/* ---------- Buttons ---------- */
.btn-gold, .btn-line {
  display: inline-block; padding: .85rem 2.1rem; border-radius: 0;
  font: 500 1rem var(--font-body); line-height: 1.5; text-align: center;
  transition: background .25s, color .25s, border-color .25s;
}
.btn-gold { background: var(--gold); border: 1px solid var(--gold); color: var(--night); }
.btn-gold:hover { background: var(--gold-soft); border-color: var(--gold-soft); color: var(--night); }
.btn-line { background: transparent; border: 1px solid var(--gold-soft); color: var(--on-dark); }
.btn-line:hover { background: var(--gold-soft); color: var(--night); }
.btn-line.on-light { border-color: var(--ink); color: var(--ink); }
.btn-line.on-light:hover { background: var(--ink); color: var(--paper); }

/* ---------- Sections ---------- */
.section { padding: 6.5rem 0; }
.section--stone { background: var(--stone); }
.section--lapis { background: var(--lapis); color: var(--on-dark); }
.section--night { background: var(--night); color: var(--on-dark); }
.section--lapis .text-soft, .section--night .text-soft { color: var(--on-dark-soft); }
.section-head { max-width: 40rem; margin-bottom: 3.4rem; }

/* framed figure: gold outline offset behind the image */
.frame { position: relative; margin: 0; }
.frame::before {
  content: ""; position: absolute; z-index: 0;
  inset-block: 18px -18px; inset-inline: 18px -18px;
  border: 1px solid var(--gold);
}
.frame img { position: relative; z-index: 1; display: block; width: 100%; object-fit: cover; }
.frame--16x9 img { aspect-ratio: 16 / 9; }
.frame--2x1 img { aspect-ratio: 2 / 1; }
.frame--night::before { border-color: var(--hair-dark); }

.showcase-logo { height: 72px; width: auto; margin-bottom: 1.4rem; display: block; }
.showcase h2 { margin-bottom: .2rem; }
.showcase .place { color: var(--gold-deep); font-weight: 500; margin-bottom: 1rem; }
.section--lapis .showcase .place, .section--night .showcase .place { color: var(--gold-soft); }
.showcase .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; margin-top: 1.8rem; }
.text-link { border-bottom: 1px solid var(--gold); padding-bottom: 2px; }
.text-link:hover { color: var(--gold-deep); }
.section--lapis .text-link:hover, .section--night .text-link:hover { color: var(--gold-soft); }

/* ---------- Pillars (values) ---------- */
.pillar { border-top: 1px solid var(--gold); padding-top: 1.8rem; height: 100%; }
.pillar svg { color: var(--gold-soft); margin-bottom: 1.2rem; }
.pillar h3 { margin-bottom: .6rem; }
.pillar p { color: var(--on-dark-soft); margin: 0; }

/* ---------- Project facts + tower elevation ---------- */
.towers { width: 100%; height: auto; display: block; color: var(--gold-soft); }
.spec { list-style: none; margin: 0; padding: 0; }
.spec li {
  display: flex; align-items: baseline; justify-content: flex-start; gap: 2rem;
  padding: 1.5rem 0; border-bottom: 1px solid var(--hair-dark);
}
.spec li:first-child { border-top: 1px solid var(--hair-dark); }
.spec-label { color: var(--on-dark-soft); font-size: 1.1rem; }
.spec-value { min-width: 13.5rem; font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 4vw, 3.1rem); color: var(--gold-soft); line-height: 1.1; white-space: nowrap; }

/* ---------- Unit types ---------- */
.types { list-style: none; margin: 0; padding: 0; max-width: 46rem; }
.type { display: flex; align-items: center; gap: 1.6rem; padding: 1.5rem 0; border-bottom: 1px solid var(--hair-light); }
.type:first-child { border-top: 1px solid var(--hair-light); }
.type-mark {
  flex: none; width: 68px; height: 68px; display: grid; place-items: center;
  border: 1px solid var(--gold); color: var(--gold-deep);
  font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; line-height: 1;
}
.type h3 { margin: 0; font-size: 1.35rem; }
.type p { margin: 0; color: var(--ink-soft); }
.type--soon .type-mark { border-style: dashed; font-size: 1.15rem; }
.type--soon { opacity: .72; }

/* ---------- Gallery ---------- */
.gallery img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

/* ---------- Map ---------- */
.map { aspect-ratio: 16 / 9; border: 1px solid var(--hair-light); background: var(--stone); overflow: hidden; }
.section--lapis .map, .section--night .map { border-color: var(--hair-dark); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.35) contrast(1.05); }
.map--wide { aspect-ratio: 3 / 1; }

/* ---------- Contact ---------- */
.contact-item { padding: 1.6rem 0; border-bottom: 1px solid var(--hair-light); }
.contact-item:first-child { border-top: 1px solid var(--hair-light); }
.contact-item h3 { font-family: var(--font-body); font-weight: 600; font-size: .95rem; color: var(--gold-deep); margin-bottom: .3rem; }
.contact-item a, .contact-item span.val { display: block; font-size: 1.25rem; }
.contact-item a:hover { color: var(--gold-deep); }

/* ---------- CTA band ---------- */
.cta { text-align: center; }
.cta h2 { margin-bottom: 1rem; }
.cta p { max-width: 34rem; margin: 0 auto 2rem; color: var(--on-dark-soft); }
.cta .rule { margin-inline: auto; }
.cta .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.cta .social { display: flex; justify-content: center; gap: 2rem; margin-top: 2rem; color: var(--on-dark-soft); font-size: .95rem; }
.cta .social a:hover { color: var(--gold-soft); }

/* ---------- Footer ---------- */
.footer { background: var(--night); color: var(--on-dark); padding: 4.5rem 0 2rem; border-top: 1px solid var(--hair-dark); }
.footer h6 { font-family: var(--font-body); font-weight: 600; font-size: .95rem; color: var(--gold-soft); margin-bottom: 1.1rem; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: .55rem; }
.footer a { color: var(--on-dark-soft); }
.footer a:hover { color: var(--gold-soft); }
.footer .brand-mark { margin-bottom: 1.2rem; }
.footer .brand-mark .name { color: var(--on-dark); }
.footer .phone { display: block; font-family: var(--font-display); font-size: 1.6rem; color: var(--on-dark); line-height: 1.3; }
.footer .copy { border-top: 1px solid var(--hair-dark); margin-top: 3rem; padding-top: 1.6rem; text-align: center; color: var(--on-dark-soft); font-size: .9rem; margin-bottom: 0; }
.footer .credit { margin: .7rem 0 0; text-align: center; color: var(--on-dark-soft); font-size: .85rem; line-height: 1.6; }
.footer .credit a { color: var(--gold-soft); unicode-bidi: isolate; }
.footer .credit a:hover { color: var(--on-dark); text-decoration: underline; }

/* ---------- 404 ---------- */
.notfound { min-height: 100vh; display: grid; place-items: center; text-align: center; background: var(--night); color: var(--on-dark); padding: 2rem; }
.notfound .big { font-family: var(--font-display); font-size: clamp(5rem, 18vw, 10rem); color: var(--gold-soft); line-height: 1; }

/* ---------- Accessibility floor ---------- */
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold-soft); outline-offset: 3px; }
.on-light-focus a:focus-visible { outline-color: var(--gold-deep); }
.skip { position: absolute; inset-inline-start: 1rem; top: -4rem; z-index: 2000; background: var(--gold); color: var(--night); padding: .6rem 1.2rem; }
.skip:focus { top: 1rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise { animation: none; }
  * { transition: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .section { padding: 4.5rem 0; }
  .frame::before { inset-block: 12px -12px; inset-inline: 12px -12px; }
  .hero { padding-bottom: 3.5rem; }
}
@media (max-width: 575px) {
  body { font-size: 1rem; }
  .topbar-menu > span:not(.menu-icon) { display: none; }
  .brand-mark span.name { font-size: 1rem; }
  .brand-mark .disc { width: 36px; height: 36px; }
  .spec li { flex-direction: column; gap: .1rem; align-items: flex-start; }
  .spec-value { min-width: 0; }
  .type { gap: 1rem; }
  .type-mark { width: 56px; height: 56px; font-size: 1.4rem; }
  .map--wide { aspect-ratio: 4 / 3; }
  .hero-logo { height: 72px; }
}
@media (max-width: 380px) {
  .topbar .brand-mark .name { display: none; }
}

/* ---------- Apartment types (tabs) ---------- */
.unit-tabs { display: inline-flex; border: 1px solid var(--gold); margin-bottom: 3rem; }
.unit-tab {
  background: transparent; border: 0; color: var(--ink);
  padding: .8rem 2.6rem; font: 500 1.05rem var(--font-body);
  transition: background .25s, color .25s;
}
.unit-tab + .unit-tab { border-inline-start: 1px solid var(--gold); }
.unit-tab:hover { background: rgba(184,151,90,.16); }
.unit-tab[aria-selected="true"] { background: var(--gold); color: var(--night); }
.unit-panel[hidden] { display: none; }
.unit-panel:focus-visible { outline-offset: 8px; }
.unit-stats { display: flex; flex-wrap: wrap; gap: 1.6rem 2.8rem; margin-bottom: 1.6rem; }
.unit-num { display: block; font-family: var(--font-display); font-weight: 700; font-size: 3rem; line-height: 1.1; color: var(--gold-deep); }
.unit-label { display: block; color: var(--ink-soft); font-size: .95rem; }
.rooms-title { font-size: 1.35rem; margin-bottom: 1rem; }
.rooms { list-style: none; margin: 0; padding: 0; }
.rooms li { display: flex; justify-content: space-between; gap: 1.5rem; padding: .85rem 0; border-bottom: 1px solid var(--hair-light); }
.rooms li:first-child { border-top: 1px solid var(--hair-light); }
.rooms .dim { white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--ink-soft); }
.unit-more { margin-top: 2.6rem; }
.frame--plan img { background: #fff; }

/* facilities grid (school) */
.types--grid { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 3.5rem; max-width: none; }
.types--grid .type { border-top: 1px solid var(--hair-dark); border-bottom: 0; }
.types--grid .type:nth-last-child(-n+2) { border-bottom: 1px solid var(--hair-dark); }
.section--lapis .type-mark { border-color: var(--gold); color: var(--gold-soft); }
.section--lapis .type h3 { color: var(--on-dark); }
@media (max-width: 767px) {
  .types--grid { grid-template-columns: 1fr; }
  .types--grid .type:nth-last-child(2) { border-bottom: 0; }
  .unit-tab { padding: .8rem 1.8rem; }
  .unit-num { font-size: 2.4rem; }
}

.showcase + .showcase { margin-top: 6.5rem; }
@media (max-width: 991px) { .showcase + .showcase { margin-top: 4.5rem; } }

/* ---------- WhatsApp floating button (lapis disc, gold glyph) ---------- */
.wa-float {
  position: fixed; z-index: 900;
  inset-inline-end: max(1.5rem, env(safe-area-inset-right, 0px));
  bottom: max(1.5rem, env(safe-area-inset-bottom, 0px));
  display: grid; place-items: center;
  width: 3.5rem; height: 3.5rem; border-radius: 50%;
  background: var(--night); color: var(--gold-soft);
  border: 1px solid var(--gold);
  box-shadow: 0 6px 22px rgba(11, 18, 32, .38);
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.wa-float svg { width: 1.75rem; height: 1.75rem; fill: currentColor; display: block; }
.wa-float:hover { background: var(--gold); color: var(--night); transform: translateY(-2px); }
.wa-float:focus-visible { outline: 2px solid var(--gold-soft); outline-offset: 4px; }
body.nav-open .wa-float { visibility: hidden; }
@media (max-width: 991px) {
  .wa-float { inset-inline-end: max(1.25rem, env(safe-area-inset-right, 0px)); bottom: max(1.25rem, env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 575px) {
  .wa-float { width: 3.25rem; height: 3.25rem; inset-inline-end: max(1rem, env(safe-area-inset-right, 0px)); bottom: max(1rem, env(safe-area-inset-bottom, 0px)); }
  .wa-float svg { width: 1.6rem; height: 1.6rem; }
  .footer { padding-bottom: 5.5rem; }
}
