/* Apex Capital concept: Apex's colours (navy #181947, blue #3695CB, warm grey #F0EDEE, gold #EEBA2B)
   in Drottna Crest's own design: Fraunces display serif + Plus Jakarta Sans, soft rounded surfaces, map-first. */
:root {
  --navy: #181947;
  --navy-2: #22245e;
  --blue: #3695cb;
  --blue-soft: #e6f1f8;
  --grey: #f0edee;
  --paper: #faf8f8;
  --gold: #eeba2b;
  --gold-soft: #fbf1d6;
  --ink: #181947;
  --ink-2: #4a4c69;
  --muted: #7a7c95;
  --line: #e4e0e2;
  --r: 18px;
  --r-s: 12px;
  --shadow: 0 1px 2px rgba(24, 25, 71, .04), 0 12px 32px rgba(24, 25, 71, .08);
  --shadow-h: 0 2px 4px rgba(24, 25, 71, .06), 0 22px 50px rgba(24, 25, 71, .14);
  --serif: Fraunces, Georgia, serif;
  --sans: "Plus Jakarta Sans", system-ui, sans-serif;
  --wrap: 1240px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 400 15.5px/1.65 var(--sans); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
[hidden] { display: none !important; }

/* type */
.h2 { margin: 0; font: 400 clamp(28px, 3.2vw, 42px)/1.12 var(--serif); letter-spacing: -.02em; }
.h2 em, h1 em { font-style: italic; color: var(--blue); }
.h3 { font: 600 18px/1.3 var(--sans); margin: 34px 0 10px; }
.eyebrow { margin: 0 0 10px; font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.lead { max-width: 680px; margin: 0 0 32px; color: var(--ink-2); font-size: 17px; }
.fine { margin: 14px 0 0; font-size: 12.5px; color: var(--muted); }

/* buttons: pills */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1.5px solid transparent; border-radius: 999px; padding: 12px 22px; font-weight: 600; font-size: 14.5px; cursor: pointer; transition: transform .2s, background .2s, color .2s, box-shadow .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: #2a83b6; box-shadow: 0 8px 22px rgba(54, 149, 203, .35); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); box-shadow: 0 8px 22px rgba(24, 25, 71, .3); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { box-shadow: 0 8px 22px rgba(238, 186, 43, .4); }
.btn-white { background: #fff; color: var(--navy); }
.btn-ghost-w, .btn-line-w { border-color: rgba(255, 255, 255, .4); color: #fff; }
.btn-ghost-w:hover, .btn-line-w:hover { background: rgba(255, 255, 255, .1); }
.btn-wa { background: #25d366; color: #fff; }
.view-all { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14.5px; color: var(--navy); border-bottom: 1.5px solid currentColor; padding-bottom: 2px; white-space: nowrap; }
.view-all:hover { color: var(--blue); }
.view-all svg { transition: transform .2s; }
.view-all:hover svg { transform: translateX(3px); }

/* concept strip */
.concept { background: var(--navy); color: #b9bbd6; font-size: 12px; text-align: center; padding: 6px 12px; }
.concept b { color: #fff; font-weight: 600; }
.concept a { color: var(--gold); margin-left: 4px; }

/* ── header: light glass ─────────────────────────────── */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(250, 248, 248, .82); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.hdr.solid { border-color: var(--line); box-shadow: 0 6px 20px rgba(24, 25, 71, .05); }
.hdr-in { display: flex; align-items: center; gap: 26px; height: 74px; }
.logo img { width: 150px; height: auto; }
.menu { flex: 1; display: flex; justify-content: flex-end; align-items: center; gap: 18px; }
.menu > ul { display: flex; list-style: none; margin: 0; padding: 0; gap: 4px; }
.menu > ul > li { position: relative; }
.menu > ul > li > a { display: flex; align-items: center; gap: 6px; padding: 9px 13px; border-radius: 999px; font-weight: 500; font-size: 14.5px; color: var(--ink-2); white-space: nowrap; transition: background .2s, color .2s; }
.menu > ul > li > a:hover, .menu > ul > li.on > a { background: #fff; color: var(--navy); box-shadow: 0 1px 2px rgba(24, 25, 71, .06); }
.chev { width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: .6; }
.menu li ul { position: absolute; top: calc(100% + 8px); left: 0; min-width: 230px; background: #fff; list-style: none; margin: 0; padding: 8px; border-radius: 14px; box-shadow: var(--shadow-h); opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .2s; }
.menu li:hover ul, .menu li:focus-within ul { opacity: 1; visibility: visible; transform: none; }
.menu li ul a { display: block; padding: 9px 12px; border-radius: 9px; font-size: 14px; color: var(--ink-2); }
.menu li ul a:hover { background: var(--grey); color: var(--navy); }
.lang { display: flex; gap: 6px; }
.lang a { font-size: 13px; color: var(--muted); padding: 4px 8px; border-radius: 8px; }
.lang a:hover { background: #fff; color: var(--navy); }
.hdr-cta { padding: 11px 20px; font-size: 14px; }
.burger { display: none; background: none; border: 0; width: 42px; height: 42px; padding: 9px; cursor: pointer; }
.burger span { display: block; height: 2px; background: var(--navy); margin: 5px 0; border-radius: 2px; transition: transform .3s, opacity .3s; }

/* ── hero: the map is the hero ───────────────────────── */
.hero-map { position: relative; height: calc(100vh - 74px - 29px); min-height: 640px; max-height: 920px; }
.explore-embed { position: absolute; inset: 0; background: #ebe8e9; }
.explore-embed .map { position: absolute; inset: 0; }
.hero-card { position: absolute; z-index: 3; left: max(24px, calc((100vw - var(--wrap)) / 2 + 24px)); top: 50%; width: min(500px, calc(100vw - 48px)); background: rgba(255, 255, 255, .94); backdrop-filter: blur(14px); padding: 34px 34px 28px; border-radius: 26px; box-shadow: var(--shadow-h); }
.hero-card h1 { margin: 4px 0 22px; font: 400 clamp(32px, 3.6vw, 48px)/1.06 var(--serif); letter-spacing: -.025em; }
.ask-hero { display: grid; gap: 10px; }
.ask-box { display: flex; align-items: center; gap: 10px; background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding: 6px 6px 6px 18px; color: var(--muted); transition: border-color .2s, box-shadow .2s; }
.ask-box:focus-within { border-color: var(--blue); box-shadow: 0 0 0 5px rgba(54, 149, 203, .14); }
.ask-box input { flex: 1; min-width: 0; border: 0; outline: 0; font-size: 16px; padding: 10px 0; color: var(--navy); background: none; }
.ask-box .btn { width: 46px; height: 46px; padding: 0; }
.ask-live { margin: 0; min-height: 24px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 12.5px; }
.ask-live span { background: var(--blue-soft); color: var(--navy); padding: 3px 10px; border-radius: 999px; font-weight: 500; }
.ask-live b { background: var(--navy); color: #fff; padding: 3px 11px; border-radius: 999px; font-weight: 600; }
.ask-try { display: flex; flex-wrap: wrap; gap: 6px; }
.ask-try a { font-size: 12.5px; color: var(--ink-2); background: var(--grey); padding: 6px 12px; border-radius: 999px; transition: background .2s, color .2s; }
.ask-try a:hover { background: var(--navy); color: #fff; }
.hero-keys { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }
.hero-keys span { display: inline-flex; align-items: center; gap: 7px; }
.hero-keys b { color: var(--navy); }
.map-tools { position: absolute; z-index: 2; right: 24px; top: 24px; display: grid; gap: 8px; justify-items: end; }
.map-tools .legend { background: #fff; padding: 10px 12px; border-radius: 12px; width: 230px; box-shadow: var(--shadow); }
/* colour-key dots only (photo labels use the same k-* classes with their own pill style) */
.hero-keys i, .kinds i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; }
.hero-keys .k-sale, .kinds .k-sale { background: var(--navy); } .hero-keys .k-rent, .kinds .k-rent { background: var(--blue); } .hero-keys .k-offplan, .kinds .k-offplan { background: var(--gold); }

/* segmented controls, tabs */
.seg, .tabs { display: inline-flex; background: #fff; padding: 4px; border-radius: 999px; box-shadow: var(--shadow); gap: 2px; }
.seg button, .tabs button { border: 0; background: none; padding: 8px 15px; border-radius: 999px; font-size: 13.5px; font-weight: 500; cursor: pointer; color: var(--ink-2); white-space: nowrap; }
.seg button.on, .tabs button.on { background: var(--navy); color: #fff; }
.legend .ramp { height: 8px; border-radius: 4px; background: linear-gradient(90deg, #b9d7ea, #3695cb, #181947); margin: 4px 0; }
.legend .ends { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--muted); }
.legend p { margin: 4px 0 0; font-size: 12px; color: var(--muted); }

/* ── sections ────────────────────────────────────────── */
.sec { padding: 96px 0; }
.sec-white { background: #fff; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 36px; }
.sec-navy { background: var(--navy); color: #fff; }
.sec-navy .h2 { color: #fff; }

/* Apex Picks: editorial spread */
.picks .h2 em { color: var(--gold); }
.picks-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 22px; }
.pick-lead { position: relative; border-radius: var(--r); overflow: hidden; min-height: 520px; color: #fff; display: block; }
.pick-lead img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s; }
.pick-lead:hover img { transform: scale(1.04); }
.pick-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(24, 25, 71, 0) 35%, rgba(24, 25, 71, .9)); }
.pick-tx { position: absolute; left: 30px; right: 30px; bottom: 28px; display: grid; gap: 4px; }
.pick-tx i, .pick-row i { font: italic 400 15px var(--serif); color: var(--gold); }
.pick-tx b { font: 400 34px/1.1 var(--serif); letter-spacing: -.02em; }
.pick-tx small { color: #d5d6e6; font-size: 14px; }
.pick-nums { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .2); }
.pick-nums span { display: grid; font-weight: 700; font-size: 18px; }
.pick-nums small { font-size: 11.5px; font-weight: 500; color: #b9bbd6; text-transform: uppercase; letter-spacing: .06em; }
.pick-lead .heart { right: 18px; top: 18px; }
.pick-list { display: grid; gap: 14px; align-content: start; }
.pick-row { display: grid; grid-template-columns: 150px 1fr; gap: 18px; align-items: center; background: #fff; border-radius: var(--r); padding: 12px; box-shadow: var(--shadow); transition: box-shadow .25s, transform .25s; }
.pick-row:hover { box-shadow: var(--shadow-h); transform: translateY(-2px); }
.pick-row img { width: 150px; height: 120px; object-fit: cover; border-radius: var(--r-s); }
.pick-row span { display: grid; gap: 2px; min-width: 0; }
.pick-row b { font: 400 21px/1.2 var(--serif); }
.pick-row small { color: var(--muted); font-size: 13px; }
.pick-row em { font-style: normal; font-size: 12.5px; font-weight: 600; color: #8a6a0c; background: var(--gold-soft); padding: 3px 10px; border-radius: 999px; width: max-content; margin-top: 6px; }

/* investor's view */
.invest { background: var(--navy); color: #fff; }
.invest-in { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: center; }
.invest .h2 { color: #fff; margin-bottom: 16px; }
.invest p { color: #c9cbe0; }
.invest .eyebrow { color: var(--gold); }
.invest .btn { margin-top: 10px; }
.invest .fine { color: #8d90b3; }
.bars { display: grid; gap: 10px; }
.bar { display: grid; grid-template-columns: 200px 1fr 64px; gap: 14px; align-items: center; padding: 6px 10px; border-radius: 10px; transition: background .2s; }
.bar:hover { background: rgba(255, 255, 255, .06); }
.bn { font-size: 14px; color: #dfe0ee; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bt { height: 12px; background: rgba(255, 255, 255, .08); border-radius: 6px; overflow: hidden; }
.bt i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blue), #7cc3ea); border-radius: 6px; transition: width 1.1s cubic-bezier(.2, .8, .2, 1) var(--d); }
.bars.in .bt i { width: var(--w); }
.bar b { font-weight: 700; text-align: right; }

/* calculator */
.calc { background: #fff; border-radius: 24px; padding: 30px; box-shadow: var(--shadow); }
.calc-in { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; }
.calc-ctl { display: grid; gap: 18px; align-content: start; }
.calc label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.calc output { font: 400 34px var(--serif); color: var(--navy); }
.calc input[type=range] { width: 100%; accent-color: var(--blue); }
.calc select { border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 12px; background: #fff; font-size: 14.5px; color: var(--navy); }
.calc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.calc-src { margin: 0; font-size: 13px; color: var(--muted); }
.calc-sum { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; align-self: start; }
.calc-sum div { background: var(--paper); border-radius: 16px; padding: 18px; display: grid; gap: 4px; align-content: start; }
.calc-sum span { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.calc-sum b { font-size: 21px; font-weight: 700; }
.calc-sum small { font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.tl { position: relative; height: 170px; margin: 36px 40px 10px; }
.tl-line { position: absolute; left: 0; right: 0; top: 96px; height: 2px; background: var(--line); }
.tl-key { position: absolute; top: -6px; width: 2px; height: 14px; background: var(--gold); }
.tl-pt { position: absolute; top: 0; bottom: 0; transform: translateX(-50%); width: 90px; display: flex; justify-content: center; }
.tl-bar { width: 22px; background: var(--blue); position: absolute; bottom: 78px; border-radius: 6px 6px 0 0; transition: height .4s; }
.tl-pt.ho .tl-bar { background: var(--navy); }
.tl-pt.post .tl-bar { background: var(--gold); }
.tl-dot { position: absolute; top: 91px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--blue); }
.tl-pt.ho .tl-dot { border-color: var(--navy); background: var(--navy); }
.tl-lb { position: absolute; top: 110px; font-size: 11.5px; color: var(--muted); text-align: center; line-height: 1.35; white-space: nowrap; }
.tl-lb b { display: block; color: var(--navy); font-size: 12.5px; font-weight: 700; }
.calc-foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid var(--line); padding-top: 18px; margin-top: 10px; }
.gv { margin: 0; font-size: 14.5px; }
.calc-note { margin: 12px 0 0; font-size: 12px; color: var(--muted); }
.calc-home .lead b { color: var(--navy); }

/* cards */
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.card { position: relative; background: #fff; border-radius: var(--r); box-shadow: var(--shadow); display: flex; flex-direction: column; overflow: hidden; transition: box-shadow .3s, transform .3s; }
.card:hover { box-shadow: var(--shadow-h); transform: translateY(-3px); }
.card-img { position: relative; display: block; aspect-ratio: 4/3; overflow: hidden; background: var(--grey); margin: 8px 8px 0; border-radius: 13px; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.card:hover .card-img img { transform: scale(1.05); }
.tags { position: absolute; z-index: 1; top: 12px; left: 12px; display: flex; flex-wrap: wrap; gap: 5px; }
.tags i { font-style: normal; font-size: 11.5px; font-weight: 600; color: var(--navy); background: rgba(255, 255, 255, .94); padding: 4px 10px; border-radius: 999px; }
.tags i.pick { background: var(--gold); }
.tags i.rent { color: var(--blue); }
.card-body { padding: 16px 18px 18px; display: grid; gap: 2px; }
.card-body .price { margin: 0 0 2px; font-weight: 700; font-size: 20px; }
.card-body .price small { font-weight: 500; font-size: 12.5px; color: var(--muted); }
.card-body h3 { margin: 0; font-weight: 500; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-body h3 a:hover { color: var(--blue); }
.loc { margin: 0; font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.facts-line { margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.facts-line span { font-size: 12px; font-weight: 500; color: var(--ink-2); background: var(--paper); border: 1px solid var(--line); padding: 3px 9px; border-radius: 999px; }
.heart { position: absolute; z-index: 2; right: 18px; top: 18px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .94); display: grid; place-items: center; cursor: pointer; box-shadow: 0 4px 14px rgba(0, 0, 0, .12); transition: transform .2s; }
.heart svg { fill: none; stroke: var(--navy); stroke-width: 1.8; transition: all .2s; }
.heart:hover { transform: scale(1.1); }
.heart.on svg { fill: #e0245e; stroke: #e0245e; }
.heart-l { position: static; width: auto; height: auto; border-radius: 999px; padding: 9px 16px; gap: 8px; display: inline-flex; margin-top: 18px; font-size: 13.5px; font-weight: 600; color: var(--navy); }
.heart-l.on { color: #e0245e; }

/* rails */
.rail-wrap { position: relative; }
.rail-nav { display: flex; justify-content: flex-end; gap: 8px; margin: -12px 0 16px; }
.rail-nav button { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; cursor: pointer; font-size: 16px; color: var(--navy); transition: all .2s; }
.rail-nav button:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 72px) / 4); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 14px 16px 40px; margin: -14px -16px -22px; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.ready .sec-head { align-items: center; }

/* services */
.svc-split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: start; }
.svc-split .sec-head { margin-bottom: 18px; }
.svc-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.svc-rows a { display: grid; grid-template-columns: 54px 1fr auto; gap: 16px; align-items: center; padding: 22px 6px; border-bottom: 1px solid var(--line); transition: padding .25s, background .25s; }
.svc-rows a:hover { padding-left: 16px; background: #fff; }
.svc-rows .n { font: italic 400 18px var(--serif); color: var(--blue); }
.svc-rows .t { display: grid; }
.svc-rows b { font: 400 25px/1.2 var(--serif); }
.svc-rows small { color: var(--muted); font-size: 14px; }

/* people */
.people-sec { background: #fff; }
.nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: -6px 0 34px; }
.nums div { background: var(--paper); border-radius: 16px; padding: 18px 20px; }
.nums b { display: block; font: 400 36px/1.1 var(--serif); color: var(--navy); }
.nums span { font-size: 13px; color: var(--muted); }
.lang-filter { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 24px; }
.lang-filter button { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 16px; font-size: 13.5px; font-weight: 500; cursor: pointer; color: var(--ink-2); }
.lang-filter button.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.people-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.person .ph { aspect-ratio: 4/5; overflow: hidden; background: var(--grey); border-radius: 16px; margin-bottom: 10px; }
.person .ph img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s; }
.person:hover .ph img { transform: scale(1.05); }
.person h3 { margin: 0; font-size: 14.5px; font-weight: 600; }
.person .role { margin: 0; font-size: 12.5px; color: var(--blue); font-weight: 500; }
.person .langs, .person .spec, .person .rera { margin: 2px 0 0; font-size: 12px; color: var(--muted); }
.person .rera span { font-style: italic; }
.desk-tag { display: inline-block; margin: 6px 0 0; font-size: 11px; font-weight: 600; color: #8a6a0c; background: var(--gold-soft); padding: 2px 9px; border-radius: 999px; }

/* reviews */
.quotes { text-align: center; }
.q-head { display: flex; justify-content: center; align-items: center; gap: 16px; margin-bottom: 20px; }
.q-head .eyebrow { margin: 0; }
.g-score { display: inline-flex; align-items: center; gap: 6px; background: #fff; padding: 6px 12px; border-radius: 999px; box-shadow: var(--shadow); font-size: 13px; }
.g-score span { display: flex; }
.q-track { display: grid; max-width: 900px; margin: 0 auto; }
.q { grid-area: 1 / 1; margin: 0; opacity: 0; transform: translateY(10px); transition: opacity .6s, transform .6s; pointer-events: none; }
.q.on { opacity: 1; transform: none; pointer-events: auto; }
.q p { margin: 0 0 20px; font: 300 clamp(22px, 2.4vw, 32px)/1.35 var(--serif); letter-spacing: -.01em; }
.q footer { font-size: 14px; color: var(--muted); }
.q footer b { color: var(--navy); }
.q-nav { display: inline-flex; gap: 14px; align-items: center; margin-top: 26px; font-size: 13px; color: var(--muted); }
.q-nav button { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; cursor: pointer; color: var(--navy); }
.q-nav button:hover { background: var(--navy); color: #fff; }

/* news */
.news { background: #fff; }
.post { display: grid; gap: 8px; align-content: start; }
.post-img { aspect-ratio: 16/10; overflow: hidden; border-radius: var(--r); }
.post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.post:hover .post-img img { transform: scale(1.04); }
.post time { font-size: 12.5px; font-weight: 600; color: var(--blue); margin-top: 6px; }
.post h3 { margin: 0; font: 400 21px/1.3 var(--serif); }
.post h3 a:hover { color: var(--blue); }

/* partners */
.partners { padding: 40px 0 46px; text-align: center; border-top: 1px solid var(--line); }
.logos { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logos-track { display: flex; gap: 60px; width: max-content; animation: marquee 45s linear infinite; align-items: center; padding-top: 10px; }
.logos-track img { height: 40px; width: auto; filter: grayscale(1); opacity: .55; transition: all .3s; }
.logos-track img:hover { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* CTA + footer */
.cta-band { background: var(--navy); color: #fff; padding: 90px 0 70px; text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; width: 720px; height: 720px; border-radius: 50%; left: 50%; top: -420px; transform: translateX(-50%); background: radial-gradient(circle, rgba(54, 149, 203, .35), transparent 65%); }
.cta-in { position: relative; display: grid; justify-items: center; gap: 22px; }
.cta-band h2 { margin: 0; font: 300 clamp(34px, 4.6vw, 64px)/1.05 var(--serif); letter-spacing: -.03em; }
.cta-band p { margin: 0; color: #9fa2c4; font-size: 13.5px; }
.cta-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.ftr { background: #12133a; color: #a6a9c9; font-size: 14px; padding: 60px 0 26px; }
.ftr-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.3fr; gap: 34px; padding-bottom: 40px; }
.fcol h4 { margin: 0 0 14px; color: #fff; font-weight: 600; font-size: 14px; }
.fcol ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.fcol a:hover { color: #fff; }
.fcol.brand p { margin: 16px 0; max-width: 280px; }
.social { display: flex; gap: 8px; }
.social a { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .07); color: #fff; transition: background .2s; }
.social a:hover { background: var(--blue); }
.ftr .news { display: flex; background: rgba(255, 255, 255, .07); border-radius: 999px; padding: 4px; margin-bottom: 18px; }
.ftr .news input { flex: 1; min-width: 0; border: 0; background: none; padding: 8px 12px; color: #fff; outline: 0; }
.ftr .news .btn { padding: 9px 16px; font-size: 13px; }
.ftr .news p { margin: 6px 12px; color: #fff; }
.ftr-bot { border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 22px; display: flex; justify-content: space-between; gap: 20px; font-size: 12.5px; color: #7a7da3; }
.ftr-bot p { margin: 0; }
.wa { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .2); transition: transform .25s; }
.wa:hover { transform: scale(1.08); }
.sl-pill { position: fixed; z-index: 41; left: 22px; bottom: 22px; display: flex; align-items: center; gap: 8px; background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 999px; font-size: 13.5px; font-weight: 600; box-shadow: 0 10px 30px rgba(24, 25, 71, .3); }
.sl-pill svg { fill: #ff5c8a; }
.sl-pill b { background: #fff; color: var(--navy); min-width: 22px; height: 22px; border-radius: 999px; display: grid; place-items: center; font-size: 12px; }
.sl-pill.bump { animation: bump .45s; }
@keyframes bump { 40% { transform: scale(1.1); } }
.devbar:not([hidden]) ~ .sl-pill { display: none !important; }

/* ── inner pages ─────────────────────────────────────── */
.banner { padding: 56px 0 30px; }
.banner-in { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.banner h1 { margin: 0; font: 400 clamp(36px, 4.4vw, 60px)/1.05 var(--serif); letter-spacing: -.03em; }
.banner p { margin: 14px 0 0; color: var(--ink-2); font-size: 17px; max-width: 540px; }
.banner-img { height: 300px; border-radius: 26px; background: center/cover; box-shadow: var(--shadow); }
.banner-in:not(:has(.banner-img)) { grid-template-columns: 1fr; }
.banner + .sec { padding-top: 30px; }
.filters { display: grid; grid-template-columns: 1.6fr repeat(5, 1fr) auto; gap: 8px; background: #fff; padding: 10px; border-radius: 20px; box-shadow: var(--shadow); }
.filters input, .filters select { border: 1.5px solid var(--line); background: #fff; padding: 11px 13px; min-width: 0; border-radius: 12px; font-size: 14px; }
.count { margin: 24px 0; color: var(--muted); }
.count b { color: var(--navy); }
.count a { color: var(--blue); text-decoration: underline; }
.empty { grid-column: 1 / -1; text-align: center; padding: 40px; }
.empty a { color: var(--blue); text-decoration: underline; }
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 40px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 42px; padding: 9px 13px; text-align: center; background: #fff; border-radius: 999px; box-shadow: var(--shadow); }
.pager a.on { background: var(--navy); color: #fff; }

.detail-hero { position: relative; margin: 20px auto 0; max-width: calc(var(--wrap) - 48px); border-radius: 28px; overflow: hidden; background: center/cover; color: #fff; min-height: 480px; display: flex; align-items: flex-end; }
.detail-hero .banner-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(24, 25, 71, .05) 30%, rgba(24, 25, 71, .85)); }
.detail-hero .wrap { position: relative; width: 100%; padding: 40px; }
.detail-hero .tags { position: static; margin-bottom: 12px; }
.detail-hero h1 { margin: 0; font: 400 clamp(28px, 3.4vw, 46px)/1.1 var(--serif); letter-spacing: -.02em; max-width: 860px; }
.crumbs { font-size: 13px; color: #d5d6e6; margin: 0 0 16px; }
.crumbs a:hover { color: #fff; }
.sub { margin: 6px 0 0; color: #dfe0ee; }
.big-price { margin: 14px 0 0; font-size: 28px; font-weight: 700; }
.big-price small { font-size: 14px; font-weight: 500; }
.detail-hero .heart-l { background: rgba(255, 255, 255, .95); }
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 50px; align-items: start; }
.detail-main p { color: var(--ink-2); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0; }
.facts div { background: #fff; padding: 16px 18px; border-radius: 14px; box-shadow: var(--shadow); }
.facts dt { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-weight: 700; font-size: 16px; }
.amen { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.amen li { background: #fff; border: 1px solid var(--line); padding: 6px 13px; border-radius: 999px; font-size: 13px; text-transform: capitalize; }
.note { background: var(--gold-soft); border-radius: 12px; padding: 12px 16px; }
.feed-note { font-size: 12.5px; color: var(--muted) !important; border-top: 1px solid var(--line); padding-top: 14px; margin-top: 30px; }
.detail-side { position: sticky; top: 96px; }
.side-box { background: #fff; padding: 26px; border-radius: 22px; box-shadow: var(--shadow); }
.side-box h3 { margin: 0 0 16px; font: 400 24px/1.2 var(--serif); }
.agent { margin: 0 0 10px; font-size: 13px; color: var(--muted); }
.calc-sec { background: none; padding-top: 10px; }

.svc-page { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: start; }
.svc-intro .h2 { margin-bottom: 16px; }
.svc-intro .lead { margin: 0 0 24px; }
.points { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.point { background: #fff; padding: 24px; border-radius: 18px; box-shadow: var(--shadow); }
.point span { font: italic 400 16px var(--serif); color: var(--blue); }
.point h3 { margin: 6px 0; font-weight: 600; font-size: 16px; }
.point p { margin: 0; font-size: 14px; color: var(--ink-2); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps li { border-top: 1px solid rgba(255, 255, 255, .2); padding-top: 18px; display: grid; gap: 6px; }
.steps b { font: 300 44px var(--serif); color: var(--gold); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.faq details { background: #fff; margin-bottom: 10px; border-radius: 14px; box-shadow: var(--shadow); }
.faq summary { padding: 18px 20px; cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.faq summary::after { content: "+"; color: var(--blue); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 0; padding: 0 20px 18px; color: var(--ink-2); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.svc-list .svc-card, .extra-card { background: #fff; padding: 30px; border-radius: 20px; box-shadow: var(--shadow); display: grid; gap: 10px; align-content: start; transition: box-shadow .3s, transform .3s; }
.svc-card:hover { box-shadow: var(--shadow-h); transform: translateY(-3px); }
.svc-card h3, .extra-card h3 { margin: 0; font: 400 24px/1.2 var(--serif); }
.svc-card p, .extra-card p { margin: 0; color: var(--ink-2); font-size: 14.5px; }
.svc-card em { font-style: normal; font-size: 14px; font-weight: 600; color: var(--blue); display: flex; gap: 6px; align-items: center; }
.svc-card .svc-n { font: italic 400 16px var(--serif); color: var(--blue); }
.sec-white .extra-card { background: var(--paper); box-shadow: none; }

.founders { display: grid; gap: 24px; }
.founder { display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: center; background: #fff; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); }
.founder img { width: 100%; height: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: top; }
.founder div { padding: 26px 40px 26px 0; }
.founder h2 { margin: 0 0 12px; font: 400 32px var(--serif); }
.founder p:not(.eyebrow) { color: var(--ink-2); font-size: 14.5px; }
.team-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 30px; justify-content: center; }
.team-tabs button { background: var(--paper); border: 1.5px solid var(--line); padding: 9px 18px; border-radius: 999px; font-size: 14px; font-weight: 500; cursor: pointer; }
.team-tabs button.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.team-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px; }
.desk { background: #fff; padding: 26px; border-radius: 22px; box-shadow: var(--shadow); display: grid; gap: 16px; align-content: start; }
.desk-h { display: flex; gap: 14px; align-items: center; }
.desk h3 { margin: 0; font: 400 24px var(--serif); }
.desk-h p { margin: 0; color: var(--muted); font-size: 13.5px; }
.flag { width: 46px; height: 46px; display: grid; place-items: center; background: var(--navy); color: #fff; font-size: 13px; font-weight: 700; border-radius: 14px; }
.faces.big { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 16px; }
.faces.big figure { margin: 0; font-size: 13px; font-weight: 600; }
.faces.big img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: top; border-radius: 14px; margin-bottom: 8px; }
.faces.big small { display: block; color: var(--muted); font-size: 11.5px; font-weight: 400; }
.contact-info p { display: grid; margin: 0 0 18px; }
.contact-info b { font-size: 12.5px; font-weight: 600; color: var(--blue); }

/* consultation form */
.cform { display: grid; gap: 12px; }
.cform .r2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cform label { display: grid; gap: 5px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.cform input, .cform select, .cform textarea { border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 13px; font-size: 14.5px; font-weight: 400; color: var(--navy); background: #fff; width: 100%; }
.cform input:focus, .cform select:focus, .cform textarea:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(54, 149, 203, .12); }
.cform .bad input, .cform .bad select { border-color: #d63638; }
.cform .consent { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; font-size: 13px; }
.cform .consent input { width: auto; margin-top: 3px; }
.cform .consent.bad { color: #d63638; }
.cform .err { color: #d63638; font-size: 13px; margin: 0; }
.cform .about-p { margin: 0; padding: 10px 14px; background: var(--paper); border-radius: 12px; font-size: 13.5px; }
.cform .hp { position: absolute; left: -9999px; }
.cform .btn { margin-top: 4px; }
.thanks { text-align: center; padding: 20px 0; }
.thanks .tick { width: 60px; height: 60px; margin: 0 auto 12px; border-radius: 50%; background: #e3f5ea; color: #137a3e; display: grid; place-items: center; font-size: 28px; }
.thanks h3 { font: 400 26px var(--serif); margin: 0 0 6px; }
.thanks p { color: var(--muted); }
.modal { border: 0; padding: 0; width: min(880px, calc(100vw - 30px)); max-height: calc(100vh - 30px); border-radius: 26px; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.modal::backdrop { background: rgba(24, 25, 71, .45); backdrop-filter: blur(4px); }
.modal-in { display: grid; grid-template-columns: 290px 1fr; }
.modal-side { background: var(--navy); color: #fff; padding: 34px 28px; }
.modal-side h3 { font: 400 30px/1.1 var(--serif); margin: 26px 0 10px; }
.modal-side p { color: #c9cbe0; font-size: 14px; }
.modal-side ul { list-style: none; padding: 0; margin: 24px 0 0; font-size: 13px; color: #c9cbe0; display: grid; gap: 6px; }
.modal-in > [data-consult] { padding: 30px; }
.modal-x { position: absolute; right: 14px; top: 10px; border: 0; background: none; font-size: 28px; cursor: pointer; color: var(--navy); z-index: 2; }

/* ── map pieces (homepage hero + /explore) ───────────── */
.maplibregl-ctrl-attrib { font-size: 10px; }
.area-tag { border: 0; background: #fff; padding: 5px 11px; border-radius: 10px; box-shadow: 0 6px 18px rgba(24, 25, 71, .18); cursor: pointer; text-align: center; transform: translateY(-6px); font-family: var(--sans); color: var(--navy); }
.area-tag b { display: block; font-size: 14px; font-weight: 700; }
.area-tag span { display: block; font-size: 10.5px; color: var(--muted); white-space: nowrap; }
.area-tag:hover { background: var(--navy); color: #fff; }
.ptag { display: none; background: #fff; color: var(--navy); font: 700 12px var(--sans); padding: 4px 10px; border-radius: 999px; box-shadow: 0 4px 14px rgba(24, 25, 71, .2); cursor: pointer; white-space: nowrap; border: 2px solid var(--navy); }
.ptag small { font-weight: 500; color: var(--muted); }
.ptag.k-rent { border-color: var(--blue); } .ptag.k-offplan { border-color: var(--gold); }
.ptag:hover { background: var(--navy); color: #fff; z-index: 5; }
.zoomed .ptag { display: block; }
.peek { position: absolute; z-index: 4; left: 16px; bottom: 16px; width: 350px; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-h); display: grid; grid-template-columns: 120px 1fr; animation: rise .3s; }
.hero-map .peek { left: auto; right: 24px; bottom: 28px; }
@keyframes rise { from { transform: translateY(12px); opacity: 0; } }
.peek-ph, .xph, .cmp-ph { position: relative; background: var(--grey) center/cover; }
.peek-ph { min-height: 140px; }
.peek-ph i, .xph i, .cmp-ph i { position: absolute; left: 6px; top: 6px; font-size: 10.5px; font-weight: 700; font-style: normal; padding: 3px 8px; border-radius: 999px; color: #fff; background: var(--navy); }
.peek-ph i.k-rent, .xph i.k-rent, .cmp-ph i.k-rent { background: var(--blue); }
.peek-ph i.k-offplan, .xph i.k-offplan, .cmp-ph i.k-offplan { background: var(--gold); color: var(--navy); }
.peek-tx { padding: 12px 14px; display: grid; gap: 2px; align-content: start; min-width: 0; }
.peek-x { position: absolute; right: 6px; top: 0; border: 0; background: none; font-size: 22px; cursor: pointer; color: var(--muted); }
.peek-act { display: flex; gap: 8px; align-items: center; margin-top: 8px; }
.peek-act .btn { padding: 8px 16px; font-size: 13px; }
.peek .heart { position: static; box-shadow: none; background: var(--grey); }

/* /explore */
.explore-page { background: #fff; }
.xbar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 20px; align-items: center; padding: 14px 24px; border-bottom: 1px solid var(--line); }
.xask { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--line); border-radius: 999px; padding: 4px 4px 4px 16px; color: var(--muted); }
.xask:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(54, 149, 203, .12); }
.xask input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 10px 0; font-size: 15px; color: var(--navy); }
.xtools { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.xtools .seg { box-shadow: none; background: var(--paper); }
.kinds { display: flex; gap: 6px; }
.kinds button { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 13px; font-size: 13px; font-weight: 500; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; color: var(--muted); }
.kinds button.on { color: var(--navy); border-color: var(--navy); }
.kinds button:not(.on) i { opacity: .25; }
.chips { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; }
.chips:empty { display: none; }
.chip { display: inline-flex; align-items: center; gap: 6px; background: var(--blue-soft); color: var(--navy); padding: 4px 6px 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 500; }
.chip button { border: 0; background: #fff; width: 20px; height: 20px; border-radius: 50%; cursor: pointer; font-size: 12px; line-height: 1; padding: 0; }
.chip-clear { border: 0; background: none; color: var(--blue); text-decoration: underline; cursor: pointer; font-size: 13px; }
.xsplit { display: grid; grid-template-columns: minmax(0, 1fr) 430px; height: calc(100vh - 74px - 128px); min-height: 560px; }
.xmap { position: relative; }
.xmap .map { position: absolute; inset: 0; }
.xmap .legend { position: absolute; z-index: 2; left: 16px; top: 16px; background: #fff; padding: 10px 12px; width: 240px; border-radius: 12px; box-shadow: var(--shadow); }
.xlist { border-left: 1px solid var(--line); display: flex; flex-direction: column; min-height: 0; background: var(--paper); }
.xhead { display: flex; justify-content: space-between; align-items: center; padding: 16px 16px 4px; }
.xhead p { margin: 0; color: var(--muted); }
.xhead b { font: 400 30px var(--serif); color: var(--navy); }
.xhead select { border: 1.5px solid var(--line); border-radius: 999px; padding: 7px 12px; font-size: 13px; background: #fff; }
.xnote { margin: 0; padding: 0 16px 10px; font-size: 12.5px; color: var(--muted); }
.xtry { display: flex; gap: 6px; overflow-x: auto; padding: 0 16px 12px; scrollbar-width: none; }
.xtry button { flex: none; border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 5px 12px; font-size: 12.5px; cursor: pointer; color: var(--navy); }
.xtry button:hover { border-color: var(--blue); color: var(--blue); }
#list { overflow-y: auto; padding: 0 12px 12px; display: grid; gap: 10px; align-content: start; flex: 1; }
.xrow { position: relative; display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 12px; background: #fff; padding: 8px; border-radius: 16px; border: 1.5px solid transparent; transition: border-color .2s, box-shadow .2s; }
.xrow.hot, .xrow:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.xph { min-height: 96px; border-radius: 11px; }
.xtx { min-width: 0; display: grid; gap: 1px; align-content: start; padding-right: 32px; }
.xpr { font-weight: 700; font-size: 16.5px; }
.xpr small { font-weight: 500; font-size: 11.5px; color: var(--muted); }
.xti { font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xti:hover { color: var(--blue); }
.xmt { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vs { font-size: 11.5px; font-weight: 600; color: var(--muted); background: var(--paper); padding: 2px 9px; border-radius: 999px; width: max-content; margin-top: 5px; }
.vs.lo { color: #137a3e; background: #e3f5ea; }
.xrow .heart { right: 8px; top: 8px; width: 32px; height: 32px; box-shadow: none; background: var(--paper); }
.xmore { border: 1.5px dashed var(--line); background: #fff; border-radius: 14px; padding: 10px; cursor: pointer; color: var(--muted); }
.xempty { background: #fff; padding: 30px 20px; border-radius: 16px; text-align: center; }
.xempty h3 { margin: 0 0 6px; font: 400 24px var(--serif); }
.xempty p { color: var(--muted); font-size: 14px; }
.xarea { display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: center; background: #fff; border: 1.5px solid transparent; border-radius: 14px; padding: 12px; cursor: pointer; text-align: left; font-family: inherit; color: var(--navy); }
.xarea:hover { border-color: var(--blue); }
.xarea .rk { font: italic 400 18px var(--serif); color: var(--muted); text-align: center; }
.xarea span { display: grid; min-width: 0; }
.xarea small { color: var(--muted); font-size: 11.5px; }
.xarea em { font-style: normal; font-weight: 700; font-size: 16px; }

/* compare */
.cmp-wrap { overflow-x: auto; background: #fff; border-radius: 24px; box-shadow: var(--shadow); }
.cmp { width: 100%; border-collapse: collapse; min-width: 720px; }
.cmp th { text-align: left; font-weight: 600; font-size: 13px; color: var(--muted); padding: 14px 20px; width: 190px; vertical-align: top; }
.cmp td { padding: 14px 20px; border-left: 1px solid var(--grey); vertical-align: top; font-size: 14.5px; width: 26%; }
.cmp tbody tr:nth-child(odd) { background: var(--paper); }
.cmp-ph { display: block; height: 170px; border-radius: 14px; margin-bottom: 10px; }
.cmp-t { display: block; font: 400 19px/1.25 var(--serif); }
.cmp .heart-l { margin-top: 8px; padding: 0; background: none; box-shadow: none; font-size: 12px; color: var(--muted); }
.cmp td.best { background: #e3f5ea; font-weight: 700; }
.cmp .good { color: #137a3e; font-weight: 600; }
.cmp-act { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.cmp-note { font-size: 12.5px; color: var(--muted); }

/* demo panel (press D) */
.devbar { position: fixed; left: 16px; bottom: 16px; z-index: 60; width: 420px; max-height: 70vh; overflow: auto; background: #0e0f33; color: #d5d6e6; font: 12px/1.5 ui-monospace, Menlo, monospace; padding: 14px; border-radius: 16px; box-shadow: 0 20px 50px rgba(0, 0, 0, .4); }
.devbar h4 { margin: 0 0 8px; font: 700 12px var(--sans); color: #fff; display: flex; justify-content: space-between; }
.devbar pre { white-space: pre-wrap; margin: 6px 0 12px; background: rgba(255, 255, 255, .05); padding: 8px; border-radius: 8px; }
.devbar button, .devbar a { background: var(--blue); color: #fff; border: 0; padding: 6px 11px; cursor: pointer; font: 600 11.5px var(--sans); border-radius: 999px; margin: 0 4px 6px 0; display: inline-block; }
.devbar label { display: block; margin: 6px 0; }
.devbar .ok { color: #7ee2a8; } .devbar .warn { color: #ffcf6b; }

/* reveal */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s ease; transition-delay: var(--d, 0ms); }
[data-reveal].in { opacity: 1; transform: none; }
.hero-card, .hero-card[data-reveal] { transform: translateY(calc(-50% + 22px)); }
.hero-card[data-reveal].in { transform: translateY(-50%); }

/* ── responsive ──────────────────────────────────────── */
@media (max-width: 1240px) {
  .lang { display: none; }
  .menu > ul > li > a { padding: 9px 9px; font-size: 14px; }
  .people-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .rail { grid-auto-columns: calc((100% - 48px) / 3); }
  .ftr-grid { grid-template-columns: 1fr 1fr 1fr; }
  .filters { grid-template-columns: repeat(4, 1fr); }
  .filters input { grid-column: span 2; }
  .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 1020px) {
  .burger { display: block; }
  .hdr-cta { display: none; }
  .hdr-in { justify-content: space-between; }
  .menu { position: fixed; inset: 0; background: var(--paper); flex-direction: column; justify-content: flex-start; align-items: stretch; padding: 100px 24px 30px; transform: translateX(100%); transition: transform .4s; overflow-y: auto; visibility: hidden; }
  .menu.open { transform: none; visibility: visible; }
  .menu > ul { flex-direction: column; gap: 0; }
  .menu > ul > li > a { padding: 14px 0; border-radius: 0; border-bottom: 1px solid var(--line); font: 400 24px var(--serif); background: none !important; box-shadow: none !important; }
  .chev { display: none; }
  .menu li ul { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: none; padding: 4px 0 10px; min-width: 0; }
  .menu li ul a { padding: 6px 0; }
  .lang { display: flex; padding-top: 18px; }
  .burger { position: relative; z-index: 2; }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero-map { height: auto; max-height: none; min-height: 0; display: flex; flex-direction: column-reverse; }
  .explore-embed { position: relative; height: 60vh; min-height: 420px; }
  .hero-card, .hero-card[data-reveal], .hero-card[data-reveal].in { position: relative; left: auto; top: auto; transform: none; width: auto; margin: 16px; border-radius: 22px; box-shadow: var(--shadow); }
  .map-tools { right: 12px; top: 12px; }
  .hero-map .peek { left: 8px; right: 8px; width: auto; bottom: 64px; }
  .picks-grid, .invest-in, .svc-split, .svc-page, .two, .form-row, .detail, .banner-in { grid-template-columns: 1fr; gap: 36px; }
  .pick-lead { min-height: 420px; }
  .banner-img { height: 220px; }
  .detail-side { position: static; }
  .calc-in { grid-template-columns: 1fr; }
  .rail { grid-auto-columns: calc((100% - 24px) / 2); }
  .xsplit { grid-template-columns: 1fr; height: auto; }
  .xmap { height: 58vh; }
  .xlist { border-left: 0; }
  .xbar { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .modal-in { grid-template-columns: 1fr; }
  .modal-side { display: none; }
  .founder { grid-template-columns: 220px 1fr; }
  .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  body { font-size: 15px; }
  .wrap { padding: 0 18px; }
  .concept { font-size: 10.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .hdr-in { height: 64px; }
  .logo img { width: 128px; }
  .sec { padding: 64px 0; }
  .sec-head { flex-wrap: wrap; align-items: flex-start; }
  .hero-card { padding: 24px 20px; }
  .hero-card h1 { font-size: 32px; }
  .ask-try a:nth-child(n+3) { display: none; }
  .map-tools .seg button { padding: 7px 10px; font-size: 12.5px; }
  .pick-row { grid-template-columns: 100px 1fr; }
  .pick-row img { width: 100px; height: 96px; }
  .pick-row b { font-size: 18px; }
  .pick-tx { left: 20px; right: 20px; }
  .pick-tx b { font-size: 26px; }
  .pick-nums { gap: 16px; }
  .bar { grid-template-columns: 120px 1fr 50px; gap: 8px; padding: 6px 0; }
  .nums { grid-template-columns: 1fr 1fr; }
  .people-grid, .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid3, .grid4, .grid2, .points, .steps, .calc-sum { grid-template-columns: 1fr; }
  .rail { grid-auto-columns: 82%; gap: 14px; }
  .ftr-grid { grid-template-columns: 1fr 1fr; }
  .fcol.brand { grid-column: 1 / -1; }
  .ftr-bot { flex-direction: column; gap: 6px; }
  .filters { grid-template-columns: 1fr 1fr; }
  .filters input, .filters .btn { grid-column: span 2; }
  .facts { grid-template-columns: 1fr 1fr; }
  .detail-hero { margin: 12px 12px 0; border-radius: 22px; min-height: 420px; }
  .detail-hero .wrap { padding: 24px; }
  .founder { grid-template-columns: 1fr; }
  .founder div { padding: 0 22px 22px; }
  .calc { padding: 18px; }
  .tl { margin: 30px 10px 10px; }
  .tl-pt { width: 60px; }
  .tl-pt:not(:first-child):not(.ho):not(:last-child) .tl-lb { display: none; }
  .calc-foot { flex-direction: column; align-items: stretch; }
  .cform .r2 { grid-template-columns: 1fr; }
  .peek { left: 8px; right: 8px; width: auto; bottom: 8px; }
  .sl-pill { left: 12px; bottom: 16px; padding: 10px 14px; }
  .devbar { left: 8px; right: 8px; width: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ── Ask Apex AI ─────────────────────────────────────── */
.ai-fab { position: fixed; z-index: 42; right: 92px; bottom: 26px; display: flex; align-items: center; gap: 8px; border: 0; cursor: pointer; background: linear-gradient(135deg, var(--navy), #2c2f86); color: #fff; padding: 13px 20px; border-radius: 999px; font: 600 14px var(--sans); box-shadow: 0 12px 30px rgba(24, 25, 71, .35); transition: transform .2s; }
.ai-fab:hover { transform: translateY(-2px); }
.ai-fab .spark { color: var(--gold); font-size: 16px; animation: twinkle 2.4s ease-in-out infinite; }
@keyframes twinkle { 50% { opacity: .5; transform: scale(.85) rotate(20deg); } }
.ai-fab.on { opacity: 0; pointer-events: none; }
.ai-panel { position: fixed; z-index: 70; right: 24px; bottom: 24px; width: min(420px, calc(100vw - 24px)); height: min(640px, calc(100vh - 48px)); background: #fff; border-radius: 24px; box-shadow: 0 30px 80px rgba(24, 25, 71, .3); display: flex; flex-direction: column; overflow: hidden; animation: rise .3s; }
.ai-panel header { display: flex; gap: 12px; align-items: center; padding: 16px 18px; background: var(--navy); color: #fff; }
.ai-av { width: 38px; height: 38px; border-radius: 12px; background: rgba(255, 255, 255, .1); display: grid; place-items: center; color: var(--gold); font-size: 18px; }
.ai-panel header div { flex: 1; display: grid; line-height: 1.3; }
.ai-panel header small { color: #b9bbd6; font-size: 12px; }
.ai-x { border: 0; background: rgba(255, 255, 255, .1); color: #fff; width: 32px; height: 32px; border-radius: 50%; font-size: 20px; cursor: pointer; }
.ai-msgs { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--paper); }
.ai-m { max-width: 88%; padding: 10px 14px; border-radius: 16px; font-size: 14px; line-height: 1.55; }
.ai-m.a { background: #fff; box-shadow: 0 1px 2px rgba(24, 25, 71, .08); border-bottom-left-radius: 5px; align-self: flex-start; }
.ai-m.u { background: var(--navy); color: #fff; border-bottom-right-radius: 5px; align-self: flex-end; white-space: pre-wrap; }
.ai-m ul { margin: 6px 0; padding-left: 18px; }
.ai-m a { color: var(--blue); text-decoration: underline; }
.ai-m.typing { display: flex; gap: 4px; padding: 14px; }
.ai-m.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: dot 1.2s infinite; }
.ai-m.typing i:nth-child(2) { animation-delay: .15s; } .ai-m.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 30% { transform: translateY(-4px); opacity: .4; } }
.ai-homes { display: grid; gap: 8px; align-self: stretch; }
.ai-home { display: grid; grid-template-columns: 84px 1fr; gap: 10px; background: #fff; border-radius: 14px; padding: 6px; border: 1.5px solid transparent; transition: border-color .2s; }
.ai-home:hover { border-color: var(--blue); }
.ai-home .ph { position: relative; border-radius: 10px; background: var(--grey) center/cover; min-height: 70px; }
.ai-home .ph i { position: absolute; left: 4px; top: 4px; font-style: normal; font-size: 9.5px; font-weight: 700; background: rgba(255, 255, 255, .95); color: var(--navy); padding: 2px 6px; border-radius: 999px; }
.ai-home .tx { display: grid; min-width: 0; align-content: center; font-size: 13px; }
.ai-home .tx b { font-size: 15px; }
.ai-home .tx b small { font-weight: 500; color: var(--muted); }
.ai-home .tx > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ai-home .tx small { color: var(--muted); font-size: 11.5px; }
.ai-home .tx em { font-style: normal; color: #137a3e; font-weight: 600; }
.ai-all { justify-self: start; font-weight: 600; font-size: 13.5px; color: #fff; background: var(--blue); padding: 8px 14px; border-radius: 999px; }
.ai-none, .ai-lead { font-size: 13px; padding: 9px 12px; border-radius: 12px; background: var(--gold-soft); color: #6e5409; }
.ai-lead { background: #e3f5ea; color: #137a3e; font-weight: 600; }
.ai-sugg { display: flex; gap: 6px; overflow-x: auto; padding: 10px 14px 0; background: var(--paper); scrollbar-width: none; }
.ai-sugg button { flex: none; border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 12px; font-size: 12.5px; cursor: pointer; color: var(--navy); }
.ai-sugg button:hover { border-color: var(--blue); }
.ai-form { display: flex; gap: 8px; align-items: flex-end; padding: 12px 14px; background: var(--paper); border-top: 1px solid var(--line); }
.ai-form textarea { flex: 1; resize: none; border: 1.5px solid var(--line); border-radius: 16px; padding: 10px 14px; font-size: 14px; outline: 0; max-height: 120px; background: #fff; }
.ai-form textarea:focus { border-color: var(--blue); }
.ai-form button { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--navy); color: #fff; cursor: pointer; }
.ai-foot { margin: 0; padding: 0 14px 10px; font-size: 10.5px; color: var(--muted); background: var(--paper); text-align: center; }
.ai-inline { margin-top: 14px; border: 0; background: none; padding: 0; cursor: pointer; font-size: 13.5px; color: var(--ink-2); text-align: left; }
.ai-inline b { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.xtry .xai { background: var(--navy); color: #fff; border-color: var(--navy); }
@media (max-width: 680px) {
  .ai-fab { right: 84px; bottom: 20px; padding: 12px 16px; }
  .ai-panel { right: 0; bottom: 0; width: 100vw; height: 100dvh; border-radius: 0; }
}

/* ── news article ────────────────────────────────────── */
.wrap.narrow { max-width: 780px; }
.article { padding: 56px 0 40px; }
.crumbs-dark { font-size: 13px; color: var(--muted); margin: 0 0 18px; }
.crumbs-dark a:hover { color: var(--blue); }
.article time, .post time { font-size: 12.5px; font-weight: 600; color: var(--blue); }
.article h1 { margin: 8px 0 26px; font: 400 clamp(32px, 4vw, 50px)/1.1 var(--serif); letter-spacing: -.025em; }
.article-img { width: 100%; border-radius: 22px; margin-bottom: 30px; box-shadow: var(--shadow); }
.article-body { font-size: 17px; line-height: 1.75; color: var(--ink-2); }
.article-body h2 { font: 400 28px/1.25 var(--serif); color: var(--navy); margin: 38px 0 12px; }
.article-body ul { padding-left: 20px; }
.article-body li { margin: 6px 0; }
.article-cta { margin-top: 40px; padding: 24px; border-radius: 20px; background: #fff; box-shadow: var(--shadow); display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.article-cta p { flex: 1 1 260px; margin: 0; font-weight: 500; color: var(--navy); }
.post .excerpt { margin: 2px 0 0; font-size: 14px; color: var(--muted); }
