/* LIHKET APARTMENTS: design tokens (spec 4.2) */
:root {
  --primary: #0B3D2E;
  --primary-600: #115740;
  --primary-ink: #ffffff;
  --accent: #E0A526;
  --accent-600: #c98f17;
  --accent-contrast: #1A1A1A;
  --danger: #D64545;
  --success: #1F9D63;
  --wa: #1fa855;
  --bg: #FFFFFF;
  --surface: #F6F7F5;
  --surface-2: #ECEFEA;
  --text: #16201C;
  --text-muted: #5E6B65;
  --border: #DDE3DE;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 6px 24px rgba(11, 61, 46, .10);
  --shadow-lg: 0 18px 50px rgba(11, 61, 46, .18);
  --hero-shade: linear-gradient(180deg, rgba(6, 26, 19, .35) 0%, rgba(6, 26, 19, .55) 55%, rgba(6, 26, 19, .85) 100%);
  --dark: #0B3D2E;
  --dark-2: #082c21;
  --on-dark: #EAF0EC;
  --font-sans: "Inter", "Noto Sans Ethiopic", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Plus Jakarta Sans", "Noto Sans Ethiopic", "Inter", system-ui, sans-serif;
  --wrap: 1240px;
  --header-h: 78px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0E1512; --surface: #151E1A; --surface-2: #1C2823;
    --text: #EAF0EC; --text-muted: #9AA9A1; --border: #2A3832;
    --primary: #2FA37A; --primary-600: #3DBB90; --primary-ink: #04140e;
    --shadow: 0 6px 24px rgba(0, 0, 0, .35); --shadow-lg: 0 18px 50px rgba(0, 0, 0, .5);
    --dark: #0a2219; --dark-2: #071811;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0E1512; --surface: #151E1A; --surface-2: #1C2823;
  --text: #EAF0EC; --text-muted: #9AA9A1; --border: #2A3832;
  --primary: #2FA37A; --primary-600: #3DBB90; --primary-ink: #04140e;
  --dark: #0a2219; --dark-2: #071811; color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.6 var(--font-sans); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
:lang(am), html[lang="am"] body { line-height: 1.75; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--primary); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--accent); color: var(--accent-contrast); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.hp { position: absolute !important; left: -5000px !important; opacity: 0; height: 0; width: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .wrap { padding: 0 24px; } }
.narrow { max-width: 860px; }
.center { text-align: center; justify-content: center; }
.muted { color: var(--text-muted); }
.small { font-size: 14px; }
.mt { margin-top: 40px; }
.lead { font-size: 18px; }
.err { color: var(--danger); }
.ok { color: var(--success); }
.row-gap { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.inline { display: inline; }
.pre { white-space: pre-wrap; }

/* type */
.h1, .h2, .h3, .h4 { font-family: var(--font-display); letter-spacing: -.01em; margin: 0 0 .4em; line-height: 1.2; }
.h1 { font-size: clamp(28px, 4.2vw, 48px); font-weight: 800; }
.h2 { font-size: clamp(24px, 3vw, 36px); font-weight: 800; }
.h3 { font-size: 22px; font-weight: 700; }
.h4 { font-size: 18px; font-weight: 700; }
html[lang="am"] .h1, html[lang="am"] .h2 { letter-spacing: 0; line-height: 1.35; }
.eyebrow { display: inline-flex; gap: 6px; align-items: center; margin: 0 0 8px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); }
html[lang="am"] .eyebrow { letter-spacing: .04em; }
.eyebrow-gold { color: var(--accent); }
.eyebrow-danger { color: var(--danger); }

/* icons */
.ic { width: 22px; height: 22px; flex: none; }
.ic-sm { width: 18px; height: 18px; }
.ic-xs { width: 14px; height: 14px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: 999px; border: 1.5px solid transparent; font-weight: 600; font-size: 15px; line-height: 1.2; transition: background .2s, color .2s, border-color .2s, transform .2s; white-space: nowrap; text-align: center; }
.btn:hover { transform: translateY(-1px); }
.btn-sm { min-height: 38px; padding: 7px 14px; font-size: 14px; }
.btn-xs { min-height: 30px; padding: 4px 10px; font-size: 13px; }
.btn-lg { min-height: 52px; padding: 14px 26px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--primary); color: var(--primary-ink); }
.btn-primary:hover { background: var(--primary-600); color: var(--primary-ink); }
.btn-accent { background: var(--accent); color: var(--accent-contrast); }
.btn-accent:hover { background: var(--accent-600); color: var(--accent-contrast); }
.btn-ghost { background: transparent; border-color: var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-outline-light { border-color: rgba(255, 255, 255, .7); color: #fff; background: rgba(255, 255, 255, .06); backdrop-filter: blur(4px); }
.btn-outline-light:hover { background: #fff; color: var(--dark); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { color: #fff; filter: brightness(1.05); }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--border); background: var(--bg); color: var(--text); flex: none; }
.icon-btn:hover { border-color: var(--primary); color: var(--primary); }
.icon-btn.wa { color: var(--wa); }
.icon-btn .count { position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--danger); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.round-btn { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .5); background: rgba(0, 0, 0, .25); color: #fff; backdrop-filter: blur(6px); }
.round-btn:hover { background: #fff; color: var(--dark); }
.round-btn.dark { border-color: var(--border); background: var(--bg); color: var(--text); }
.round-btn.dark:hover { border-color: var(--primary); color: var(--primary); }
.link-btn { background: none; border: 0; padding: 0; color: var(--primary); font-weight: 600; display: inline-flex; gap: 6px; align-items: center; font-size: 14px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--primary); font-weight: 700; }
.pill { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 11px; background: var(--accent); color: var(--accent-contrast); font-size: 12px; font-weight: 700; }

/* segmented controls */
.seg { display: inline-flex; border: 1px solid var(--border); border-radius: 999px; padding: 3px; background: var(--bg); }
.seg a, .seg button { padding: 4px 11px; border-radius: 999px; font-size: 13px; font-weight: 600; border: 0; background: none; color: var(--text-muted); }
.seg .on { background: var(--primary); color: var(--primary-ink); }
.seg-icons a { padding: 6px 9px; display: inline-grid; place-items: center; }

/* tags & badges */
.tag { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--surface-2); color: var(--text); white-space: nowrap; }
.tag-type { background: rgba(255, 255, 255, .92); color: #0B3D2E; }
.tag-drop, .tag-status, .tag-urgent, .tag-rejected { background: var(--danger); color: #fff; }
.tag-finished { background: var(--accent); color: var(--accent-contrast); }
.tag-verified, .tag-published { background: var(--success); color: #fff; }
.tag-new { background: #2563eb; color: #fff; }
.tag-neg { background: rgba(11, 61, 46, .85); color: #fff; }
.tag-pending, .tag-draft { background: var(--accent); color: var(--accent-contrast); }
.tag-sold, .tag-rented, .tag-reserved, .tag-archived { background: var(--surface-2); color: var(--text-muted); }

/* topbar & header */
.topbar { background: var(--dark-2); color: var(--on-dark); font-size: 13px; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 38px; }
.topbar a { color: var(--on-dark); }
.topbar a:hover { color: var(--accent); }
.topbar-l, .topbar-r { display: flex; gap: 14px; align-items: center; }
.topbar-l a { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; }
.topbar .seg { background: transparent; border-color: rgba(255, 255, 255, .2); padding: 2px; }
.topbar .seg a { color: var(--on-dark); padding: 2px 9px; font-size: 12px; }
.topbar .seg .on { background: var(--accent); color: var(--accent-contrast); }
.topbar .lowdata { font-size: 12px; opacity: .75; white-space: nowrap; }
@media (max-width: 560px) {
  .topbar-in { gap: 4px 8px; flex-wrap: wrap; justify-content: center; padding-top: 4px; padding-bottom: 4px; }
  .topbar-l, .topbar-r { gap: 8px; }
  .topbar-l a + a { display: none; } /* second hotline stays in menu, footer & CTAs */
  .topbar .seg a { padding: 2px 7px; }
  .sec { padding-top: 48px; padding-bottom: 48px; }
}
.topbar .lowdata.on { color: var(--accent); opacity: 1; }
.socials { display: inline-flex; gap: 6px; }
.soc { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; }
.header { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--border); }
.header-in { display: flex; align-items: center; gap: 18px; min-height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.logo-mark { width: 38px; height: 38px; }
.logo-text { display: flex; flex-direction: column; line-height: 1; font-family: var(--font-display); }
.logo-text b { font-size: 19px; font-weight: 800; letter-spacing: .06em; color: var(--text); }
.logo-text small { font-size: 9.5px; letter-spacing: .32em; color: var(--text-muted); margin-top: 3px; font-weight: 700; }
.logo-light .logo-text b { color: #fff; }
.logo-light .logo-text small { color: rgba(255, 255, 255, .65); }
.logo-full { display: block; height: 66px; width: auto; }
.logo-on-dark { display: none !important; }
:root[data-theme="dark"] .logo-on-light { display: none !important; }
:root[data-theme="dark"] .logo-on-dark { display: block !important; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .logo-on-light { display: none !important; }
  :root:not([data-theme="light"]) .logo-on-dark { display: block !important; }
}
.footer .logo-full { height: 104px; }
.adm-side .logo-full { height: 64px; }
.adm-side .logo-brand { align-items: flex-end; }
@media (max-width: 600px) { .header .logo-full, .drawer .logo-full { height: 52px; } }
.nav { display: none; gap: 4px; margin: 0 auto; }
.nav a { padding: 8px 11px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--text); }
.nav a:hover { background: var(--surface); }
.nav a.active { color: var(--primary); background: var(--surface); }
.header-cta { display: flex; gap: 8px; align-items: center; margin-left: auto; }
@media (min-width: 1100px) { .nav { display: flex; } .menu-btn { display: none !important; } .header-cta { margin-left: 0; } }
.hide-sm { display: none !important; }
@media (min-width: 768px) { .hide-sm { display: inline-flex !important; } .only-sm { display: none !important; } }

/* drawer */
.drawer { position: fixed; inset: 0; z-index: 80; background: rgba(0, 0, 0, .45); }
.drawer-panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(360px, 88vw); background: var(--bg); display: flex; flex-direction: column; padding: 16px; overflow-y: auto; animation: slideIn .25s ease; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.drawer-nav { display: flex; flex-direction: column; }
.drawer-nav a { padding: 12px 6px; border-bottom: 1px solid var(--border); font-weight: 600; }
.drawer-nav a.active { color: var(--primary); }
.drawer-foot { margin-top: auto; display: grid; gap: 8px; padding-top: 16px; }
@keyframes slideIn { from { transform: translateX(30px); opacity: 0; } }

/* hero (Temer-style full-bleed slider) */
/* All slides share one grid cell, so the hero grows to fit the tallest slide's text.
   Slides are not positioned, so each slide's image/shade fills the whole .hero. */
.hero { position: relative; color: #fff; display: flex; flex-direction: column; background: var(--dark); overflow: hidden; isolation: isolate; }
.hero-slides { display: grid; }
.hero-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s; }
.hero-slide.on { opacity: 1; visibility: visible; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 7s ease; z-index: -2; }
.hero-slide.on .hero-img { transform: scale(1); }
.hero-shade { position: absolute; inset: 0; background: var(--hero-shade); z-index: -1; }
.hero-content { position: relative; padding-top: 56px; padding-bottom: 28px; }
.hero-content > * { max-width: 860px; }
@media (min-width: 900px) { .hero-content { padding-top: 96px; padding-bottom: 36px; } }
.hero-welcome { margin: 0 0 14px; font-weight: 600; color: var(--accent); letter-spacing: .04em; }
.hero-title { font-family: var(--font-display); font-size: clamp(32px, 6vw, 64px); font-weight: 800; line-height: 1.08; margin: 0 0 16px; text-wrap: balance; }
html[lang="am"] .hero-title { line-height: 1.3; }
.hero-brand { display: block; font-size: .42em; letter-spacing: .22em; color: rgba(255, 255, 255, .85); margin-bottom: 10px; }
.hero-sub { font-size: clamp(16px, 2vw, 19px); max-width: 640px; color: rgba(255, 255, 255, .9); margin: 0 0 26px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-ctrl { position: relative; display: flex; align-items: center; gap: 14px; padding-bottom: 18px; }
.hero-dots { display: flex; gap: 8px; }
.hero-dots button { width: 28px; height: 4px; border-radius: 2px; border: 0; background: rgba(255, 255, 255, .4); padding: 0; }
.hero-dots .on { background: var(--accent); width: 44px; }
.hero-search { position: relative; padding-bottom: 28px; }
.low-data .hero-img { display: none; }

/* search card */
.search-card { background: var(--bg); color: var(--text); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 14px; }
.search-card .tabs { display: inline-flex; gap: 4px; background: var(--surface); padding: 4px; border-radius: 999px; margin-bottom: 12px; }
.search-card .tabs button { border: 0; background: none; padding: 7px 20px; border-radius: 999px; font-weight: 700; color: var(--text-muted); }
.search-card .tabs .on { background: var(--primary); color: var(--primary-ink); }
.search-fields { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.search-fields > *, .grid-2 > *, .listing-layout > *, .detail > *, .about-intro > *, .faq-wrap > * { min-width: 0; }
select { max-width: 100%; text-overflow: ellipsis; }
.search-fields .sf-q { grid-column: 1 / -1; }
.search-fields .btn { grid-column: 1 / -1; }
@media (min-width: 900px) { .search-fields { grid-template-columns: 2fr 1fr 1fr 1fr 1fr auto; } .search-fields .sf-q, .search-fields .btn { grid-column: auto; } }
.sf { display: flex; align-items: center; gap: 8px; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0 12px; background: var(--bg); }
.sf span { color: var(--text-muted); display: inline-flex; }
.sf input { border: 0; outline: 0; background: transparent; min-height: 44px; width: 100%; padding: 0; }

/* forms */
label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--text); }
input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]), select, textarea {
  width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--bg); font-weight: 400; font-size: 15px;
}
textarea { min-height: 90px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--primary); outline: 2px solid color-mix(in srgb, var(--primary) 25%, transparent); outline-offset: 0; }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--danger); }
input[type="range"] { width: 100%; accent-color: var(--primary); }
.check { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.check input { width: 18px; height: 18px; accent-color: var(--primary); }
fieldset { border: 0; padding: 0; margin: 0; }
legend { font-weight: 700; margin-bottom: 8px; padding: 0; }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px 14px; }
.checks legend { grid-column: 1 / -1; }
.grid-2 { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
form > label, form > fieldset, form > .grid-2, form > .check, .side-card > label { margin-bottom: 14px; }
.form-msg { margin: 10px 0 0; font-weight: 600; min-height: 1.4em; }
.form-msg.ok { color: var(--success); }
.form-msg.err { color: var(--danger); }

/* sections */
.sec { padding-top: 64px; padding-bottom: 64px; }
.sec-tight { padding-top: 28px; padding-bottom: 56px; }
.sec-surface { background: var(--surface); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.sec-head .h2 { margin: 0; }
@media (min-width: 900px) { .sec { padding-top: 88px; padding-bottom: 88px; } }

.trust { background: var(--primary); color: #fff; }
.trust-in { display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center; justify-content: center; padding-top: 16px; padding-bottom: 16px; font-size: 14px; font-weight: 600; }
.trust-in span { display: inline-flex; gap: 6px; align-items: center; opacity: .92; }
.trust-in strong { color: var(--accent); font-family: var(--font-display); }

.about-intro { display: grid; gap: 24px; }
@media (min-width: 900px) { .about-intro { grid-template-columns: 1fr 1.3fr; gap: 64px; } }
.about-copy p { margin: 0 0 12px; }

/* categories */
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 640px) { .cat-grid { grid-template-columns: repeat(5, 1fr); } }
.cat { display: grid; gap: 4px; padding: 20px 16px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); transition: border-color .2s, box-shadow .2s, transform .2s; }
.cat:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--text); }
.cat-ic { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; background: var(--surface); color: var(--primary); margin-bottom: 8px; }
.cat small { color: var(--text-muted); }
.cat:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (min-width: 640px) { .cat:last-child:nth-child(odd) { grid-column: auto; } }

/* cards */
.grid-cards { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .grid-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid-cards { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .grid-cards { grid-template-columns: repeat(4, 1fr); } .grid-cards-3 { grid-template-columns: repeat(3, 1fr); } }
.grid-3 { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s; }
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.card-media { position: relative; aspect-ratio: 4 / 3; background: var(--surface-2); overflow: hidden; }
.card-track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.card-track::-webkit-scrollbar { display: none; }
.card-img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; }
.low-data .card-img:not(:first-child) { display: none; }
.card-tags { position: absolute; left: 10px; top: 10px; display: flex; gap: 6px; flex-wrap: wrap; max-width: calc(100% - 60px); }
.fav-btn { position: absolute; right: 10px; top: 10px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: #16201C; display: grid; place-items: center; }
.fav-btn[aria-pressed="true"], [data-fav][aria-pressed="true"] { color: var(--danger); }
.fav-btn[aria-pressed="true"] svg, [data-fav][aria-pressed="true"] svg { fill: currentColor; }
.card-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); color: #16201C; display: grid; place-items: center; opacity: 0; transition: opacity .2s; }
.card-nav.prev { left: 8px; } .card-nav.next { right: 8px; }
.card:hover .card-nav, .card-nav:focus-visible { opacity: 1; }
.card-dots { position: absolute; bottom: 10px; left: 0; right: 0; display: flex; justify-content: center; gap: 4px; pointer-events: none; }
.card-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .55); }
.card-dots i.on { background: #fff; }
.card-body { padding: 14px 16px 12px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-area { display: flex; align-items: center; gap: 4px; font-size: 13px; color: var(--text-muted); font-weight: 600; }
.card-title { font-family: var(--font-display); font-size: 17px; font-weight: 700; line-height: 1.35; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.specs { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 14px; color: var(--text-muted); }
.specs span { display: inline-flex; align-items: center; gap: 5px; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.price-now { font-family: var(--font-display); font-size: 20px; font-weight: 800; color: var(--primary); }
.price-per { font-size: 14px; color: var(--text-muted); }
.price-was { font-size: 13px; color: var(--text-muted); }
.price-was b { color: var(--danger); }
.price-lg .price-now { font-size: 30px; }
.card-actions { display: flex; gap: 6px; align-items: center; margin-top: auto; padding-top: 4px; }
.card-actions .btn { flex: 1; padding-left: 10px; padding-right: 10px; }
.card-actions .icon-btn { width: 38px; height: 38px; }
.card-foot { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--border); padding-top: 10px; font-size: 13px; }
.cmp-check { display: inline-flex; gap: 6px; font-weight: 600; font-size: 13px; color: var(--text-muted); align-items: center; }
.cmp-check input { width: 16px; height: 16px; accent-color: var(--primary); }
.list-cards { display: grid; gap: 16px; }
@media (min-width: 700px) {
  .list-cards .card { flex-direction: row; }
  .list-cards .card-media { flex: 0 0 300px; aspect-ratio: auto; min-height: 220px; }
}

/* stats */
.stats { background: var(--dark); color: #fff; }
.stats-in { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; padding-top: 44px; padding-bottom: 44px; text-align: center; }
@media (min-width: 760px) { .stats-in { grid-template-columns: repeat(4, 1fr); } }
.stats b { display: block; font-family: var(--font-display); font-size: clamp(34px, 5vw, 52px); font-weight: 800; color: var(--accent); line-height: 1; }
.stats span { opacity: .85; font-weight: 600; }

.drop-sec { background: linear-gradient(180deg, color-mix(in srgb, var(--danger) 7%, var(--bg)), var(--bg)); }
.drop-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.drop-head p { margin: 0; }

/* areas */
.area-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 760px) { .area-grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; } .area-wide { grid-column: span 2; grid-row: span 2; } }
.area-card { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 160px; background: var(--surface-2); isolation: isolate; }
.area-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; z-index: -1; }
.area-card:hover img { transform: scale(1.05); }
.area-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, .75)); z-index: -1; }
.area-info { position: absolute; left: 14px; bottom: 12px; right: 14px; color: #fff; display: grid; }
.area-info b { font-family: var(--font-display); font-size: 20px; }
.area-info small { opacity: .9; }
.area-grid-all { grid-auto-rows: 200px; }
.area-grid-all .area-card { grid-column: auto; grid-row: auto; }

/* rails */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 85%); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.rail > * { scroll-snap-align: start; }
@media (min-width: 760px) { .rail { grid-auto-columns: calc((100% - 36px) / 3); } }
.proj { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--bg); border: 1px solid var(--border); transition: box-shadow .25s; }
.proj:hover { box-shadow: var(--shadow-lg); color: var(--text); }
.proj-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); }
.proj-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.proj:hover .proj-media img { transform: scale(1.04); }
.proj-media .tag { position: absolute; left: 12px; top: 12px; }
.proj-body { padding: 16px; display: grid; gap: 8px; }
.proj-body p { margin: 0; color: var(--text-muted); font-size: 15px; }
.proj-foot { display: flex; justify-content: space-between; align-items: center; }
.progress { height: 8px; border-radius: 4px; background: var(--surface-2); overflow: hidden; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--primary), var(--accent)); border-radius: 4px; }
.progress-lg { height: 14px; border-radius: 7px; }

/* split sell banner */
.split { display: grid; gap: 18px; margin-top: 26px; }
@media (min-width: 800px) { .split { grid-template-columns: 1fr 1fr; } }
.split-card { display: grid; gap: 10px; align-content: start; padding: 30px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); transition: transform .25s, box-shadow .25s; }
.split-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--text); }
.split-card p { margin: 0; color: var(--text-muted); }
.split-card .btn { justify-self: start; margin-top: 8px; }
.split-dark { background: var(--dark); color: #fff; border-color: var(--dark); }
.split-dark:hover { color: #fff; }
.split-dark p { color: rgba(255, 255, 255, .8); }
.split-ic { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--accent); color: var(--accent-contrast); }
.split-up { margin-top: -60px; position: relative; }

/* promo */
.promo { background: var(--dark); color: #fff; }
.promo-in { display: grid; gap: 30px; align-items: center; }
@media (min-width: 900px) { .promo-in { grid-template-columns: 1.1fr 1fr; gap: 56px; } }
.promo-copy p { color: rgba(255, 255, 255, .82); }
.promo-media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--dark-2); }
.promo-media img { width: 100%; height: 100%; object-fit: cover; }
.ticks { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .ic { color: var(--accent); margin-top: 3px; }

/* why (numbered standard) */
.why-grid { display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 640px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .why-grid { grid-template-columns: repeat(3, 1fr); } .why-grid-2 { grid-template-columns: repeat(2, 1fr); } }
.why { background: var(--bg); padding: 28px; }
.why h3 { font-family: var(--font-display); margin: 6px 0; font-size: 19px; }
.why p { margin: 0; color: var(--text-muted); }
.why-n { font-family: var(--font-display); font-weight: 800; font-size: 34px; color: var(--accent); line-height: 1; }

/* market bars */
.market { display: grid; gap: 30px; }
@media (min-width: 900px) { .market { grid-template-columns: 1fr 1.5fr; align-items: center; } }
.bars { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.bars li { display: grid; grid-template-columns: 110px 1fr auto; gap: 12px; align-items: center; font-size: 14px; }
.bar-l { font-weight: 600; }
.bar { height: 12px; background: var(--surface-2); border-radius: 6px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--primary); border-radius: 6px; }
.bar-gold i { background: var(--accent); }
.bars b { font-family: var(--font-display); min-width: 70px; text-align: right; }
.market-grid { display: grid; gap: 18px; }
@media (min-width: 980px) { .market-grid { grid-template-columns: repeat(3, 1fr); } }

/* testimonials */
.testi { margin: 0; padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); display: grid; gap: 14px; }
.testi blockquote { margin: 0; font-size: 17px; }
.testi figcaption { display: grid; }
.testi figcaption span { color: var(--text-muted); font-size: 14px; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--primary), var(--dark-2)); color: #fff; }
.cta-in { display: grid; gap: 22px; padding-top: 56px; padding-bottom: 56px; align-items: center; }
@media (min-width: 900px) { .cta-in { grid-template-columns: 1fr auto; } }
.cta-in p { margin: 0; opacity: .85; }
.cta-btns { display: flex; gap: 10px; flex-wrap: wrap; }

/* posts */
.post { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: var(--bg); }
.post-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post:hover .post-media img { transform: scale(1.04); }
.post-body { padding: 18px; display: grid; gap: 8px; }
.post-body p { margin: 0; color: var(--text-muted); }
.post-body .tag-type { background: var(--surface-2); }
.post-page { padding-top: 20px; padding-bottom: 40px; }
.post-cover { border-radius: var(--radius); overflow: hidden; margin: 24px 0; aspect-ratio: 16 / 9; background: var(--surface-2); }
.post-cover img { width: 100%; height: 100%; object-fit: cover; }
.prose p { margin: 0 0 14px; }

/* FAQ */
.faq-wrap { display: grid; gap: 26px; }
@media (min-width: 900px) { .faq-wrap { grid-template-columns: 1fr 1.6fr; gap: 56px; } }
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--bg); padding: 0 18px; }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--primary); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 16px; color: var(--text-muted); }

/* page head & crumbs */
.page-head { padding: 28px 0 8px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--text-muted); margin-bottom: 10px; }
.crumbs a:hover { color: var(--primary); }

/* listings layout */
.listing-layout { display: grid; gap: 24px; padding-bottom: 60px; }
@media (min-width: 1000px) { .listing-layout { grid-template-columns: 290px 1fr; } }
.filters { display: none; }
@media (min-width: 1000px) { .filters { display: block; } }
.filters.open { display: block; position: fixed; inset: 0; z-index: 90; background: rgba(0, 0, 0, .45); }
.filters.open .filter-form { position: absolute; right: 0; top: 0; bottom: 0; width: min(380px, 92vw); overflow-y: auto; border-radius: 0; animation: slideIn .25s ease; }
.filter-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; position: sticky; top: calc(var(--header-h) + 12px); max-height: calc(100vh - var(--header-h) - 24px); overflow-y: auto; }
.filters-head { display: flex; justify-content: space-between; align-items: center; }
.filter-form .checks { grid-template-columns: 1fr 1fr; font-size: 13px; }
.filter-btns { position: sticky; bottom: -18px; background: var(--surface); padding: 12px 0 4px; }
.results-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.results-count { margin: 0; }
.results-tools { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.results-tools select { min-height: 38px; padding: 6px 10px; font-size: 14px; width: auto; }
.empty { text-align: center; padding: 50px 16px; border: 1px dashed var(--border); border-radius: var(--radius); color: var(--text-muted); display: grid; justify-items: center; gap: 10px; }
.empty .ic { width: 40px; height: 40px; }
.pager { display: flex; justify-content: space-between; align-items: center; margin-top: 28px; }
.pager a { display: inline-flex; gap: 6px; align-items: center; font-weight: 700; color: var(--primary); }
.is-map { grid-template-columns: 1fr; }
.is-map .filters { display: none; }
.is-map .filters.open { display: block; }
.is-map .only-sm { display: inline-flex !important; }
.map-split { display: grid; gap: 16px; }
@media (min-width: 1000px) { .map-split { grid-template-columns: 1fr 1.1fr; } .map-box { position: sticky; top: calc(var(--header-h) + 12px); height: calc(100vh - var(--header-h) - 24px); } }
.map-list { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .map-list { grid-template-columns: 1fr 1fr; } }
.map { width: 100%; height: 420px; border-radius: var(--radius); background: var(--surface-2); z-index: 0; }
.map-box .map { height: 100%; min-height: 420px; }
.map-sm { height: 300px; }
.map-pop { display: grid; gap: 4px; width: 180px; }
.map-pop img { width: 100%; height: 100px; object-fit: cover; border-radius: 6px; }
.map-price { background: var(--primary); color: #fff; padding: 3px 8px; border-radius: 999px; font-weight: 700; font-size: 12px; white-space: nowrap; box-shadow: var(--shadow); border: 2px solid #fff; }
.map-price.on { background: var(--accent); color: var(--accent-contrast); }

/* property detail */
.gallery { position: relative; display: grid; gap: 8px; grid-template-columns: 1fr; border-radius: var(--radius); overflow: hidden; margin-bottom: 26px; }
.g-item { border: 0; padding: 0; background: var(--surface-2); overflow: hidden; aspect-ratio: 4 / 3; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.g-item:hover img { transform: scale(1.03); }
.gallery .g-1, .gallery .g-2, .gallery .g-3, .gallery .g-4 { display: none; }
@media (min-width: 800px) {
  .gallery { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 220px 220px; }
  .gallery .g-item { aspect-ratio: auto; display: block; }
  .gallery .g-0 { grid-row: span 2; }
  .gallery-few { grid-template-columns: 2fr 1fr; }
}
.g-all { position: absolute; right: 14px; bottom: 14px; background: var(--bg); border-color: var(--border); }
.detail { display: grid; gap: 30px; padding-bottom: 40px; }
@media (min-width: 1000px) { .detail { grid-template-columns: 1fr 380px; gap: 44px; } }
.detail-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.detail-title { font-size: clamp(26px, 3.4vw, 38px); }
.detail-loc { display: flex; gap: 6px; align-items: center; color: var(--text-muted); margin: 0 0 18px; flex-wrap: wrap; }
.detail-loc a { color: var(--primary); font-weight: 600; }
.detail-specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); gap: 10px; margin-bottom: 26px; }
.detail-specs div { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px; display: grid; gap: 2px; justify-items: start; }
.detail-specs .ic { color: var(--primary); }
.detail-specs b { font-family: var(--font-display); font-size: 20px; }
.detail-specs span { font-size: 13px; color: var(--text-muted); }
.block { padding: 26px 0; border-top: 1px solid var(--border); }
.block-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.block-head .h3 { margin: 0; }
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0; margin: 0; }
.facts div { display: flex; justify-content: space-between; gap: 10px; padding: 11px 0; border-bottom: 1px dashed var(--border); margin-right: 22px; }
.facts dt { color: var(--text-muted); }
.facts dd { margin: 0; font-weight: 600; text-align: right; }
.amen { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.amen li { display: flex; gap: 8px; align-items: center; }
.amen .ic { color: var(--success); }
.embed { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; margin-bottom: 12px; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.embed-map { aspect-ratio: auto; height: 320px; }
@media (min-width: 900px) { .embed-map { height: 420px; } }
.chart svg { width: 100%; height: auto; }
.chart .axis { stroke: var(--border); }
.chart .line { fill: none; stroke: var(--primary); stroke-width: 3; }
.chart .dot { fill: var(--accent); stroke: var(--bg); stroke-width: 2; }
.chart-legend { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 4px; font-size: 14px; }
.chart-legend li { display: flex; justify-content: space-between; border-bottom: 1px dashed var(--border); padding: 4px 0; }
.share { display: flex; gap: 8px; flex-wrap: wrap; }
.notice { background: color-mix(in srgb, var(--accent) 18%, var(--bg)); border: 1px solid var(--accent); padding: 12px 16px; border-radius: var(--radius-sm); font-weight: 600; }
.side-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.detail-side { display: grid; gap: 18px; align-content: start; }
.sticky { position: sticky; top: calc(var(--header-h) + 14px); }
.side-btns { display: grid; gap: 8px; margin: 14px 0; }
.side-row { display: flex; justify-content: space-between; align-items: center; padding: 6px 0 12px; }
.drop-note { color: var(--danger); font-weight: 700; margin: 4px 0 0; display: flex; align-items: center; gap: 4px; }
.agent { display: flex; gap: 12px; align-items: center; padding-top: 14px; border-top: 1px solid var(--border); }
.agent div { display: grid; }
.agent small { color: var(--text-muted); }
.agent a { color: var(--primary); font-weight: 700; }
.agent-lg { border-top: 1px solid var(--border); }
.avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--primary); color: var(--primary-ink); display: grid; place-items: center; font-weight: 800; font-family: var(--font-display); flex: none; }
.inquiry label { margin-bottom: 10px; }
/* The price card stays pinned while you scroll; cards after it (the inquiry form) slide over it,
   not under it, so their fields stay visible on short laptop screens. */
.detail-side > .sticky { z-index: 1; }
.detail-side > .sticky ~ * { position: relative; z-index: 2; }
.mobile-cta { display: none; }
@media (max-width: 999px) {
  .mobile-cta { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; position: fixed; left: 0; right: 0; bottom: 64px; z-index: 45; padding: 10px 16px; background: var(--bg); border-top: 1px solid var(--border); }
  .has-mobile-cta .float-contact { display: none; }
  .has-mobile-cta main { padding-bottom: 72px; }
  .sticky { position: static; }
}
.lightbox { border: 0; padding: 0; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; background: rgba(0, 0, 0, .94); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox img { max-width: 92vw; max-height: 84vh; object-fit: contain; }
.lb-x { position: absolute; top: 14px; right: 14px; }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-prev { left: 14px; } .lb-next { right: 14px; }
.lb-count { position: absolute; bottom: 14px; color: #fff; margin: 0; }

/* calculator */
.calc { display: grid; gap: 20px; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; background: var(--surface); }
@media (min-width: 760px) { .calc { grid-template-columns: 1.2fr 1fr; } }
.calc-inputs { display: grid; gap: 14px; }
.calc-inputs label { grid-template-columns: 1fr auto; }
.calc-inputs label input, .calc-inputs label > input[type="range"] { grid-column: 1 / -1; }
.calc-inputs output { font-weight: 800; color: var(--primary); }
.calc-out { background: var(--dark); color: #fff; border-radius: var(--radius); padding: 22px; display: grid; gap: 14px; align-content: start; }
.calc-big small { opacity: .8; }
.calc-big b { display: block; font-family: var(--font-display); font-size: 32px; color: var(--accent); }
.calc-dl { margin: 0; display: grid; gap: 8px; }
.calc-dl div { display: flex; justify-content: space-between; border-bottom: 1px solid rgba(255, 255, 255, .15); padding-bottom: 8px; }
.calc-dl dd { margin: 0; font-weight: 700; }

/* tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th, .table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.table thead th { background: var(--surface); font-weight: 700; white-space: nowrap; }
.table tbody tr:last-child td, .table tbody tr:last-child th { border-bottom: 0; }
.cmp-table th:first-child { width: 160px; }
.cmp-head { display: grid; gap: 6px; min-width: 180px; }
.cmp-head img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }
.actions { display: flex; gap: 6px; flex-wrap: wrap; }
.plain-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.plain-list li { padding: 10px 0; border-bottom: 1px solid var(--border); }

/* projects page */
.proj-hero { position: relative; isolation: isolate; overflow: hidden; min-height: 460px; color: #fff; display: flex; align-items: flex-end; background: var(--dark); }
.proj-hero .hero-img { transform: none; }
.proj-hero-in { position: relative; padding-top: 50px; padding-bottom: 36px; }
.proj-hero .crumbs, .proj-hero .crumbs a { color: rgba(255, 255, 255, .8); }
.proj-hero-stats { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 16px; }
.proj-hero-stats div { display: grid; }
.proj-hero-stats b { font-family: var(--font-display); font-size: 28px; color: var(--accent); }
.timeline { list-style: none; padding: 0 0 0 18px; margin: 0; border-left: 2px solid var(--border); display: grid; gap: 18px; }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; left: -25px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }
.timeline time { font-size: 13px; color: var(--text-muted); font-weight: 600; }
.timeline p { margin: 2px 0 0; }

/* sell */
.sell-hero { background: var(--dark); color: #fff; padding: 56px 0 100px; }
.sell-hero .lead { color: rgba(255, 255, 255, .85); }
.steps { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 16px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { padding: 22px; border: 1px solid var(--border); border-radius: var(--radius); }
.steps h3 { margin: 6px 0; font-family: var(--font-display); }
.steps p { margin: 0; color: var(--text-muted); }
.stepper { list-style: none; padding: 0; margin: 0 0 18px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.stepper li { display: grid; justify-items: center; gap: 4px; text-align: center; color: var(--text-muted); font-size: 12px; }
.stepper span { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--border); font-weight: 800; background: var(--bg); }
.stepper .on span { border-color: var(--primary); background: var(--primary); color: var(--primary-ink); }
.stepper .done span { border-color: var(--success); background: var(--success); color: #fff; }
.stepper small { display: none; }
@media (min-width: 640px) { .stepper small { display: block; } }
.card-pad { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); margin-bottom: 40px; }
.wizard fieldset > legend { margin-bottom: 16px; }
.wizard fieldset > label, .wizard fieldset > .grid-2, .wizard fieldset > .checks, .wizard fieldset > .row-gap, .wizard fieldset > .check { margin-bottom: 14px; }
.wizard-nav { display: flex; justify-content: space-between; align-items: center; gap: 10px; border-top: 1px solid var(--border); padding-top: 16px; margin-top: 10px; }
.choice-row, .choice-grid { display: grid; gap: 10px; margin-bottom: 16px; }
.choice-row { grid-template-columns: 1fr 1fr; }
.choice-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; }
.choice span { display: grid; place-items: center; min-height: 56px; padding: 10px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-weight: 700; cursor: pointer; text-align: center; }
.choice input:checked + span { border-color: var(--primary); background: color-mix(in srgb, var(--primary) 10%, var(--bg)); color: var(--primary); }
.choice input:focus-visible + span { outline: 3px solid var(--accent); }
.review { display: grid; gap: 6px; }
.review div { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px dashed var(--border); padding: 7px 0; }
.review dt { color: var(--text-muted); }
.review dd { margin: 0; font-weight: 600; text-align: right; }
.uploader { margin-bottom: 14px; }
.drop { display: grid; justify-items: center; gap: 4px; padding: 26px; border: 2px dashed var(--border); border-radius: var(--radius); text-align: center; cursor: pointer; background: var(--surface); }
.drop:hover, .drop.drag { border-color: var(--primary); }
.drop input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.drop small { color: var(--text-muted); font-weight: 400; }
.thumbs { list-style: none; padding: 0; margin: 10px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: 8px; }
.thumbs li { position: relative; aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: var(--surface-2); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .65); color: #fff; font-size: 14px; line-height: 1; }
.thumbs .up { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0, 0, 0, .45); color: #fff; font-size: 12px; }
.done { text-align: center; display: grid; justify-items: center; gap: 12px; }
.lus { display: grid; gap: 24px; padding-bottom: 50px; }
@media (min-width: 1000px) { .lus { grid-template-columns: 1fr 340px; align-items: start; } }
.lus-side { display: grid; gap: 16px; }
.mini-steps { padding-left: 20px; margin: 0; display: grid; gap: 10px; }
.mini-steps li { display: grid; }
.mini-steps span { color: var(--text-muted); font-size: 14px; }
.phone-verify { display: grid; gap: 10px; margin-bottom: 14px; }
.phone-verify [data-otp-box] { display: grid; gap: 8px; }

/* contact */
.contact { display: grid; gap: 22px; }
@media (min-width: 900px) { .contact { grid-template-columns: 1fr 1.2fr; } }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-content: start; }
.contact-card { display: grid; gap: 4px; justify-items: start; box-shadow: none; }
.contact-card .ic { color: var(--primary); }
.contact-card small { color: var(--text-muted); }

/* footer */
.footer { background: var(--dark-2); color: rgba(234, 240, 236, .82); margin-top: 0; padding: 56px 0 0; font-size: 15px; }
.footer-grid { display: grid; gap: 30px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; } }
.footer h3 { color: #fff; font-family: var(--font-display); font-size: 16px; margin: 0 0 14px; }
.footer a { display: block; padding: 3px 0; color: rgba(234, 240, 236, .82); }
.footer a:hover { color: var(--accent); }
.footer p { margin: 0 0 8px; }
.footer .socials { display: flex; margin-top: 12px; }
.footer .soc { display: inline-grid; width: 36px; height: 36px; border: 1px solid rgba(255, 255, 255, .2); }
.footer-phone { display: flex !important; gap: 6px; align-items: center; font-weight: 700; color: #fff !important; }
.footer-brand p { max-width: 340px; margin-top: 14px; }
.newsletter { margin-top: 14px; display: grid; gap: 6px; }
.newsletter label { color: #fff; }
.newsletter .row { display: flex; gap: 6px; }
.newsletter input { background: rgba(255, 255, 255, .08) !important; border-color: rgba(255, 255, 255, .2) !important; color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 22px; padding-bottom: 90px; margin-top: 40px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; }
.footer-bottom a { display: inline; }
@media (min-width: 768px) { .footer-bottom { padding-bottom: 26px; } }

/* floating contact (spec 4.4) */
.float-contact { position: fixed; right: 16px; bottom: 80px; z-index: 50; display: grid; gap: 10px; }
@media (min-width: 768px) { .float-contact { bottom: 24px; } }
.fc { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: var(--shadow-lg); transition: transform .2s; }
.fc:hover { transform: scale(1.08); color: #fff; }
.fc.wa { background: var(--wa); }
.fc.tg { background: #229ED9; }
.fc.call { background: var(--primary); }
.fc .ic { width: 24px; height: 24px; }

/* bottom tab bar (mobile) */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 46; display: grid; grid-template-columns: repeat(5, 1fr); background: var(--bg); border-top: 1px solid var(--border); padding-bottom: env(safe-area-inset-bottom); }
.tabbar a { display: grid; justify-items: center; gap: 2px; padding: 8px 2px; font-size: 11px; font-weight: 600; color: var(--text-muted); text-align: center; }
.tabbar a.on { color: var(--primary); }
.tabbar span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
@media (min-width: 768px) { .tabbar { display: none; } }
body { padding-bottom: 0; }

/* compare tray */
.cmp-tray { position: fixed; left: 50%; transform: translateX(-50%); bottom: 76px; z-index: 55; display: flex; gap: 12px; align-items: center; background: var(--dark); color: #fff; padding: 10px 14px 10px 18px; border-radius: 999px; box-shadow: var(--shadow-lg); font-weight: 600; font-size: 14px; max-width: calc(100vw - 32px); }
.cmp-tray .link-btn { color: rgba(255, 255, 255, .8); }
@media (min-width: 768px) { .cmp-tray { bottom: 24px; } }

/* modals */
.modal { border: 0; padding: 0; border-radius: var(--radius); width: min(560px, calc(100vw - 24px)); max-height: calc(100vh - 24px); background: var(--bg); color: var(--text); box-shadow: var(--shadow-lg); }
.modal::backdrop { background: rgba(0, 0, 0, .55); }
.modal-body { padding: 24px; position: relative; }
.modal-body > label, .modal-body > .grid-2 { margin-bottom: 12px; }
.modal-x { position: absolute; right: 14px; top: 14px; }
.visit-prop { font-weight: 700; color: var(--primary); margin: 0 0 12px; }
.otp { margin-bottom: 12px; }
.toast { position: fixed; left: 50%; bottom: 90px; transform: translateX(-50%); z-index: 100; background: var(--dark); color: #fff; padding: 12px 20px; border-radius: 999px; font-weight: 600; box-shadow: var(--shadow-lg); max-width: calc(100vw - 32px); text-align: center; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
@media print { .topbar, .header, .footer, .float-contact, .tabbar, .mobile-cta, .cmp-tray { display: none !important; } }
.logo-img { width: 38px; height: 38px; object-fit: contain; border-radius: 8px; }
img.avatar { object-fit: cover; }
.faq details ul { margin: 0 0 16px; color: var(--text-muted); }
.prose h2 { margin: 26px 0 10px; }
.prose ul { margin: 0 0 14px; padding-left: 22px; }
.hero-plain { padding-bottom: 10px; }

/* page banners (Admin > Page banners & intros) */
.page-head-in { position: relative; }
.page-banner { position: relative; isolation: isolate; color: #fff; padding: 64px 0 44px; margin-bottom: 8px; background: var(--dark); overflow: hidden; }
.page-banner .page-banner-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-banner-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6, 26, 19, .45), rgba(6, 26, 19, .78)); }
.page-banner .crumbs, .page-banner .crumbs a { color: rgba(255, 255, 255, .82); }
.page-banner .page-sub { color: rgba(255, 255, 255, .9); max-width: 760px; }
.page-head .page-sub { margin: 0; }
.page-head:not(.page-banner) .page-sub { color: var(--text-muted); }
@media (min-width: 900px) { .page-banner { padding: 96px 0 64px; } }
.page-intro { padding-top: 18px; padding-bottom: 8px; font-size: 17px; }
.sell-hero.page-banner, .sell-hero { padding-bottom: 100px; }
.sell-hero:not(.page-banner) { background: var(--dark); color: #fff; }
.sell-hero:not(.page-banner) .crumbs, .sell-hero:not(.page-banner) .crumbs a, .sell-hero:not(.page-banner) .page-sub { color: rgba(255, 255, 255, .85); }

/* home: category tiles with photos, about photo, CTA photo */
.cat-photo { padding: 0; overflow: hidden; gap: 0; }
.cat-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s; }
.cat-photo:hover .cat-img { transform: scale(1.05); }
.cat-txt { display: grid; gap: 2px; }
.cat-photo .cat-txt { padding: 12px 14px 14px; }
.about-img { margin-top: 22px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface-2); }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.cta-photo { position: relative; isolation: isolate; overflow: hidden; }
.cta-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, rgba(11, 61, 46, .92), rgba(8, 44, 33, .7)); }
/* keep the compare bar above the pinned Call / WhatsApp bar on mobile property pages */
@media (max-width: 999px) { .has-mobile-cta .cmp-tray { bottom: 138px; } }

/* ---------- phone layout ---------- */
.m-price { display: none; }
@media (max-width: 999px) { .m-price { display: block; margin: -6px 0 18px; } }
@media (max-width: 759px) {
  :root { --header-h: 64px; }
  .header .logo-full, .drawer .logo-full { height: 48px; }
  .header-in { gap: 10px; }
  .sec { padding-top: 40px; padding-bottom: 40px; }
  .sec-tight { padding-top: 20px; padding-bottom: 40px; }
  .sec-head, .drop-head { margin-bottom: 18px; gap: 10px; }
  .h2 { font-size: 24px; }
  .lead { font-size: 16px; }
  .hero-content { padding-top: 36px; padding-bottom: 20px; }
  .hero-sub { margin-bottom: 20px; }
  .hero-btns .btn { flex: 1 1 auto; }
  .hero-search { padding-bottom: 20px; }
  .about-img { aspect-ratio: 16 / 10; }
  .why { padding: 20px; }
  .why-n { font-size: 28px; }
  .testi { padding: 20px; }
  .testi blockquote { font-size: 16px; }
  .split-card { padding: 22px; }
  .cta-in { padding-top: 40px; padding-bottom: 40px; }
  .cta-btns .btn { flex: 1 1 auto; }
  .stats-in { padding-top: 32px; padding-bottom: 32px; gap: 18px; }
  .page-banner { padding: 40px 0 30px; }
  .page-head { padding-top: 20px; }
  .proj-hero { min-height: 340px; }
  .sell-hero, .sell-hero.page-banner { padding-bottom: 80px; }
  .card-pad { padding: 16px; margin-bottom: 28px; }
  .side-card { padding: 16px; }
  .block { padding: 20px 0; }
  .facts div { margin-right: 0; }
  .detail-specs { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .detail-specs div { padding: 10px; }
  .detail-specs b { font-size: 18px; }
  .gallery { margin-bottom: 18px; }
  .calc { padding: 14px; }
  .contact-cards { gap: 8px; }
  .modal-body { padding: 18px; }
  /* footer: link columns side by side */
  .footer { padding-top: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px 18px; }
  .footer-brand, .footer-grid > div:last-child { grid-column: 1 / -1; }
  .footer .logo-full { height: 84px; }
  .footer-bottom { margin-top: 28px; }
  /* floating buttons sit above the tab bar and take less room */
  .float-contact { right: 12px; bottom: 76px; gap: 8px; }
  .fc { width: 46px; height: 46px; }
  .fc .ic { width: 22px; height: 22px; }
  /* card lists on the home page, similar homes, blog: swipe sideways instead of a long column */
  .m-rail, .rail { display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(86%, 340px); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 2px 16px 14px; scroll-padding: 0 16px; scrollbar-width: none; overscroll-behavior-x: contain; }
  .m-rail::-webkit-scrollbar, .rail::-webkit-scrollbar { display: none; }
  .m-rail > *, .rail > * { scroll-snap-align: start; }
  .m-rail .card:hover, .rail .proj:hover, .m-rail .post:hover { transform: none; box-shadow: none; }
  /* property type tiles: same height, last odd tile a wide strip */
  .cat-grid { gap: 10px; }
  .cat:not(.cat-photo) { padding: 14px 12px; }
  .cat-photo .cat-img { aspect-ratio: 3 / 2; }
  .cat-photo:last-child:nth-child(odd) .cat-img { aspect-ratio: 3 / 1; }
  .card-media { aspect-ratio: 3 / 2; }
  .area-card { min-height: 130px; }
  .area-grid-all { grid-auto-rows: 150px; }
}
@media (max-width: 420px) {
  .card-body { padding: 12px 14px 10px; }
  .card-actions .btn { min-width: 0; padding-left: 8px; padding-right: 8px; font-size: 14px; overflow: hidden; text-overflow: ellipsis; }
  .card-actions .icon-btn { width: 36px; height: 36px; }
  .price-lg .price-now { font-size: 26px; }
  .topbar .lowdata { display: none; }
}

/* project photo gallery */
.proj-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.pg-item { border: 0; padding: 0; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 3 / 4; background: var(--surface-2); cursor: zoom-in; }
.pg-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.pg-item:hover img { transform: scale(1.04); }
@media (max-width: 759px) { .proj-gallery { grid-template-columns: repeat(3, 1fr); gap: 6px; } }
