/* Delhi NCR Properties — main stylesheet (no build step) */
:root {
  --red: #d71920;
  --red-d: #b3121a;
  --red-soft: #fdecec;
  --char: #3b3c40;
  --ink: #16181d;
  --text: #2a2d34;
  --muted: #6b7280;
  --line: #e6e8ec;
  --bg: #f4f5f7;
  --card: #ffffff;
  --ok: #0f8a4b;
  --ok-soft: #e7f6ee;
  --warn: #b45309;
  --blue-soft: #eef4ff;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .08);
  --shadow-lg: 0 12px 40px rgba(16, 24, 40, .14);
  --wrap: 1240px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 15px; line-height: 1.5; color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--red); }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4, h5 { color: var(--ink); margin: 0 0 .5em; line-height: 1.25; letter-spacing: -.01em; }
h1 { font-size: 28px; font-weight: 800; }
h2 { font-size: 21px; font-weight: 700; }
h3 { font-size: 17px; font-weight: 700; }
p { margin: 0 0 1em; }
input, select, textarea {
  font: inherit; color: var(--ink); width: 100%; padding: 10px 12px; border: 1px solid #d3d7de;
  border-radius: var(--radius-sm); background: #fff; outline: none; transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(215, 25, 32, .12); }
input[type=checkbox], input[type=radio] { width: auto; accent-color: var(--red); }
input[type=range] { padding: 0; border: 0; accent-color: var(--red); }
input[type=file] { padding: 8px; background: #fafafa; }
select.sm, input.sm { padding: 6px 8px; font-size: 13px; width: auto; }
label { display: block; font-size: 13px; font-weight: 600; color: var(--char); margin-bottom: 12px; }
label > input, label > select, label > textarea { margin-top: 5px; font-weight: 400; }
code { background: #f1f2f4; padding: 1px 5px; border-radius: 4px; font-size: 12px; }
.ic { width: 18px; height: 18px; flex: none; vertical-align: -3px; }
.ic.sm { width: 14px; height: 14px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.ok { color: var(--ok); }
.warn { color: var(--warn); }
.red { color: var(--red); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: 8px 12px; z-index: 999; }
.skip:focus { left: 8px; }
.only-sm { display: none !important; }
[hidden] { display: none !important; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 18px;
  border-radius: var(--radius-sm); border: 1px solid transparent; font-weight: 600; font-size: 14px;
  line-height: 1.2; white-space: nowrap; transition: background .15s, color .15s, border-color .15s, transform .05s;
  background: #fff;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-d); color: #fff; }
.btn-outline { border-color: var(--red); color: var(--red); background: #fff; }
.btn-outline:hover { background: var(--red-soft); color: var(--red); }
.btn-ghost { background: transparent; color: var(--char); }
.btn-ghost:hover { background: #f1f2f4; }
.btn-white { background: #fff; color: var(--red); }
.btn-white:hover { background: #fff5f5; }
.btn.danger, .danger { color: var(--red); }
.btn-sm { padding: 7px 12px; font-size: 13px; }
.btn-lg { padding: 14px 26px; font-size: 16px; }
.btn-block { width: 100%; }
.free { display: inline-block; background: #11a05b; color: #fff; font-size: 10px; font-weight: 800; padding: 2px 5px; border-radius: 3px; letter-spacing: .04em; vertical-align: 1px; }
.icon-btn { display: inline-flex; align-items: center; gap: 2px; background: none; border: 0; padding: 6px; border-radius: 8px; position: relative; }
.icon-btn .ic { width: 24px; height: 24px; }
.icon-btn .ic.sm { width: 14px; height: 14px; }
.icon-btn .dot { position: absolute; top: 6px; left: 24px; width: 8px; height: 8px; border-radius: 50%; background: var(--red); border: 2px solid #fff; }
.pill { background: var(--red); color: #fff; border-radius: 99px; font-size: 11px; padding: 1px 7px; margin-left: 4px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); transition: background .2s, box-shadow .2s, border-color .2s; }
.header-row { display: flex; align-items: center; gap: 18px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 9px; flex: none; }
.brand img { width: auto; height: 44px; }
.brand .on-dark { display: none; }
.site-header.is-overlay:not(.scrolled) .brand .on-light { display: none; }
.site-header.is-overlay:not(.scrolled) .brand .on-dark { display: block; }
.f-logo { height: 80px !important; width: auto !important; }
.admin-side .brand { flex-direction: column; align-items: flex-start; gap: 4px; }
.admin-side .brand img { height: 36px; }
.admin-tag { font-size: 10px; letter-spacing: .3em; font-weight: 700; color: #9a9da4; }
.brand-text { display: flex; flex-direction: column; line-height: 1; color: var(--ink); }
.brand-text b { font-size: 17px; font-weight: 900; letter-spacing: .02em; }
.brand-text small { font-size: 9.5px; letter-spacing: .42em; font-weight: 500; margin-top: 3px; }
.brand.light .brand-text { color: #fff; }
.city-btn { background: none; border: 0; display: flex; white-space: nowrap; align-items: center; gap: 4px; font-size: 15px; padding: 6px 4px; color: var(--char); }
.city-btn strong { color: var(--ink); }
.main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-link { display: block; padding: 8px 10px; font-weight: 500; font-size: 14.5px; color: var(--char); border-radius: 8px; white-space: nowrap; }
.nav-link:hover, .nav-link.on { color: var(--red); }
.main-nav .dropdown > .nav-link { display: flex; align-items: center; }
.header-row .city-pick { margin-left: 6px; }
.site-header .btn-post { margin-left: 8px; }
.tag-new { background: var(--red); color: #fff; font-size: 8px; font-weight: 800; padding: 1px 3px; border-radius: 3px; vertical-align: 8px; }
.btn-post { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line); color: var(--ink); padding: 9px 14px; border-radius: 8px; font-weight: 600; white-space: nowrap; box-shadow: var(--shadow); }
.btn-post:hover { color: var(--red); }
.menu-btn { display: none; }
/* desktop header runs closer to the screen edges than page content */
.header-wide { max-width: none; padding: 0 clamp(16px, 2.5vw, 40px); }
.site-header .user-menu { margin-left: 4px; }

/* transparent header over the homepage hero */
.site-header.is-overlay { position: fixed; left: 0; right: 0; background: linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,0)); border-color: transparent; }
.site-header.is-overlay .brand-text, .site-header.is-overlay .city-btn, .site-header.is-overlay .city-btn strong,
.site-header.is-overlay .nav-link, .site-header.is-overlay > .wrap > .icon-btn, .site-header.is-overlay .user-menu > .icon-btn { color: #fff; }
.site-header.is-overlay .btn-post { border-color: #fff; }
.site-header.is-overlay.scrolled { background: #fff; border-color: var(--line); box-shadow: var(--shadow); }
.site-header.is-overlay.scrolled .brand-text, .site-header.is-overlay.scrolled .city-btn, .site-header.is-overlay.scrolled .city-btn strong,
.site-header.is-overlay.scrolled .nav-link, .site-header.is-overlay.scrolled > .wrap > .icon-btn, .site-header.is-overlay.scrolled .user-menu > .icon-btn { color: var(--ink); }

/* dropdowns */
.dropdown { position: relative; }
.dropdown-menu {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 220px; background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); border: 1px solid var(--line); padding: 8px; z-index: 60;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s;
}
.dropdown-menu.right { left: auto; right: 0; }
.dropdown.open > .dropdown-menu, .dropdown.hover:hover > .dropdown-menu, .dropdown.hover:focus-within > .dropdown-menu { opacity: 1; visibility: visible; transform: none; }
.dropdown.hover::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 8px; }
.dropdown-menu a, .dropdown-menu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border-radius: 8px; font-size: 14px; color: var(--text); background: none; border: 0; text-align: left; }
.dropdown-menu a:hover, .dropdown-menu button:hover { background: #f6f7f9; color: var(--red); }
.dropdown-menu form { margin: 0; }
.dm-title { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; padding: 8px 10px 4px; }
.dm-user { padding: 8px 10px 10px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.dm-user strong, .dm-user small { display: block; } .dm-user small { color: var(--muted); }
.dm-login { padding: 6px 4px 10px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.city-menu a { justify-content: space-between; }
.city-menu a span { color: var(--muted); font-size: 12px; }
.mega { display: grid; grid-template-columns: repeat(3, 190px); gap: 6px; }

/* drawer */
.drawer { position: fixed; inset: 0; z-index: 100; background: rgba(15, 17, 21, .5); opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
.drawer.open { opacity: 1; visibility: visible; }
.drawer-panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(340px, 88vw); background: #fff; padding: 16px; overflow-y: auto; transform: translateX(100%); transition: transform .25s; display: flex; flex-direction: column; gap: 12px; }
.drawer.open .drawer-panel { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; }
.drawer-user { display: flex; gap: 10px; align-items: center; padding: 10px; background: var(--bg); border-radius: var(--radius); }
.drawer-user .ic { width: 34px; height: 34px; }
.drawer-user small { display: block; color: var(--muted); }
.drawer-nav a, .drawer-nav button { display: flex; align-items: center; gap: 12px; padding: 12px 6px; border-bottom: 1px solid var(--line); font-weight: 500; width: 100%; background: none; border-left: 0; border-right: 0; border-top: 0; text-align: left; }
.drawer-nav form { margin: 0; }

/* flashes */
.flash-stack { position: fixed; top: 84px; right: 16px; z-index: 90; display: flex; flex-direction: column; gap: 8px; max-width: min(420px, calc(100vw - 32px)); }
.flash { display: flex; align-items: flex-start; gap: 12px; justify-content: space-between; padding: 12px 14px; border-radius: 10px; background: #fff; box-shadow: var(--shadow-lg); border-left: 4px solid var(--char); font-size: 14px; animation: slideIn .25s ease; }
.flash.inline { box-shadow: none; border: 1px solid var(--line); border-left-width: 4px; margin-bottom: 12px; animation: none; }
.flash-success { border-left-color: var(--ok); } .flash-error { border-left-color: var(--red); } .flash-info { border-left-color: #2563eb; }
.flash-x { background: none; border: 0; font-size: 20px; line-height: 1; color: var(--muted); }
@keyframes slideIn { from { opacity: 0; transform: translateY(-8px); } }
.notice { padding: 12px 14px; border-radius: 10px; margin: 0 0 14px; font-size: 14px; }
.notice-error { background: var(--red-soft); color: #8f1015; } .notice-info { background: var(--blue-soft); color: #1e3a8a; }
.notice a { text-decoration: underline; }

/* ---------- hero (99acres-style banner + overlapping search card) ---------- */
.hero { position: relative; height: 568px; background: #222 var(--hero-bg) center 30% / cover no-repeat; display: flex; align-items: center; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.4) 0%, rgba(0,0,0,.12) 45%, rgba(0,0,0,.35) 100%); }
.hero-copy { position: relative; color: #fff; text-align: center; padding-top: 30px; padding-bottom: 70px; }
.hero-copy h1 { color: #fff; font-size: clamp(30px, 4.6vw, 52px); font-weight: 800; line-height: 1.08; margin-bottom: 12px; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.hero-copy h1 span { color: #fff; background: var(--red); padding: 0 12px; border-radius: 8px; display: inline-block; transform: rotate(-1.5deg); margin-top: 8px; }
.hero-copy p { font-size: 16px; opacity: .95; margin: 0; text-shadow: 0 1px 8px rgba(0,0,0,.4); }

.search-dock { position: relative; margin-top: -86px; z-index: 5; max-width: 1080px; }
.search-card { background: #fff; border-radius: 16px; box-shadow: 0 10px 40px rgba(16, 24, 40, .16); }
.search-tabs { display: flex; align-items: stretch; gap: 4px; padding: 0 22px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.search-tabs::-webkit-scrollbar { display: none; }
.stab { position: relative; background: none; border: 0; padding: 20px 18px 18px; font-size: 17px; color: #42454c; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.stab::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: transparent; }
.stab.is-active { color: var(--ink); font-weight: 700; }
.stab.is-active::after { background: var(--red); }
.stab:hover { color: var(--ink); }
.red-dot { position: absolute; top: 18px; right: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.stab-sep { width: 1px; background: var(--line); margin: 14px 6px; flex: none; }
.stab-post { margin-left: auto; color: var(--ink); }
.search-row { display: flex; align-items: center; gap: 10px; padding: 14px 18px 14px 0; }
.type-pick { flex: none; border-right: 1px solid var(--line); align-self: stretch; display: flex; }
.type-btn { background: none; border: 0; display: flex; align-items: center; gap: 6px; padding: 0 24px 0 30px; font-size: 16px; color: var(--ink); font-weight: 500; white-space: nowrap; }
.type-menu { min-width: 240px; top: calc(100% + 14px); }
.type-menu label { display: flex; align-items: center; gap: 10px; padding: 8px 10px; margin: 0; border-radius: 8px; font-weight: 500; font-size: 14px; cursor: pointer; }
.type-menu label:hover { background: #f6f7f9; }
.search-input { position: relative; flex: 1; display: flex; align-items: center; min-width: 0; }
.search-input > .ic { position: absolute; left: 12px; width: 20px; height: 20px; color: #4b5563; pointer-events: none; }
.search-input input { border: 0; box-shadow: none; padding: 12px 12px 12px 42px; font-size: 16px; background: transparent; }
.search-input.slim input { border: 1px solid #d3d7de; padding: 9px 12px 9px 38px; font-size: 14px; background: #fff; }
.search-input.slim > .ic { width: 17px; height: 17px; }
.round-btn { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--blue-soft); color: #2563eb; display: inline-flex; align-items: center; justify-content: center; transition: background .15s; }
.round-btn:hover { background: #dfe9ff; }
.round-btn .ic { width: 22px; height: 22px; }
.round-btn.listening { background: var(--red); color: #fff; animation: pulse 1s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(215, 25, 32, .18); } }
.search-go { padding: 13px 28px; font-size: 16px; }
.suggest { position: absolute; top: calc(100% + 12px); left: 0; right: 0; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--line); z-index: 30; max-height: 360px; overflow-y: auto; padding: 6px; }
.suggest button { display: flex; width: 100%; justify-content: space-between; gap: 10px; padding: 10px 12px; border: 0; background: none; text-align: left; border-radius: 8px; }
.suggest button:hover, .suggest button.on { background: #f6f7f9; }
.suggest b { font-weight: 600; color: var(--ink); }
.suggest small { color: var(--muted); display: block; font-size: 12px; }
.suggest em { font-style: normal; font-size: 11px; color: var(--muted); background: #f1f2f4; border-radius: 4px; padding: 2px 6px; align-self: center; }
.quick-cities { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center; margin-top: 16px; font-size: 13px; color: var(--muted); }
.quick-cities a { background: #fff; border: 1px solid var(--line); border-radius: 99px; padding: 5px 12px; color: var(--char); }
.quick-cities a:hover { border-color: var(--red); }

/* ---------- sections ---------- */
.section { padding-top: 44px; padding-bottom: 8px; }
.section-tight { padding-top: 20px; padding-bottom: 40px; }
.band { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 44px 0 40px; margin-top: 44px; }
.band + .section { padding-top: 44px; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.sec-head h2 { margin: 0; font-size: 24px; }
.sec-head p { margin: 4px 0 0; }
.eyebrow { display: block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red); margin-bottom: 4px; }
.eyebrow.light { color: #ffd6d7; }
.see-all { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; color: var(--red); font-size: 14px; }

.explore-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.explore { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 16px; display: flex; flex-direction: column; gap: 4px; transition: box-shadow .2s, transform .2s, border-color .2s; }
.explore:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); border-color: transparent; color: inherit; }
.explore strong { color: var(--ink); font-size: 15px; margin-top: 8px; }
.explore small { color: var(--muted); font-size: 13px; }
.ex-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--red-soft); color: var(--red); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.ex-ic .ic { width: 22px; height: 22px; }

.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.grid-3.lg-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* horizontal rail */
.rail { position: relative; }
.rail-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 54px) / 4); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 10px; }
.rail-track::-webkit-scrollbar { display: none; }
.rail-track > * { scroll-snap-align: start; }
.rail-btn { position: absolute; top: 34%; z-index: 3; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-lg); display: flex; align-items: center; justify-content: center; }
.rail-btn.prev { left: -14px; } .rail-btn.next { right: -14px; }
.rail-btn[disabled] { opacity: 0; pointer-events: none; }

.seg { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 99px; padding: 3px; }
.seg button { border: 0; background: none; padding: 7px 14px; border-radius: 99px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.seg button.is-active { background: var(--ink); color: #fff; }

/* ---------- cards ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 18px; }
.card h2 { font-size: 19px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.card-head h1, .card-head h2 { margin: 0; }
.card-head a:not(.btn) { color: var(--red); font-weight: 600; font-size: 14px; }

.badge { position: absolute; top: 12px; left: 12px; font-size: 11px; font-weight: 700; padding: 4px 8px; border-radius: 6px; background: #fff; color: var(--ink); letter-spacing: .02em; }
.badge-red { background: var(--red); color: #fff; }
.status-new_launch { background: #fff1e6; color: #c2410c; }
.status-under_construction { background: #eef4ff; color: #1d4ed8; }
.status-ready_to_move { background: var(--ok-soft); color: var(--ok); }
.status-sold_out { background: #eceef1; color: #4b5563; }
td .badge, .ph-badges .badge { position: static; display: inline-flex; align-items: center; gap: 4px; }
.pcount { position: absolute; bottom: 10px; left: 10px; background: rgba(0,0,0,.6); color: #fff; font-size: 12px; padding: 3px 7px; border-radius: 6px; display: inline-flex; align-items: center; gap: 4px; }
.pcount .ic { width: 13px; height: 13px; }

.pcard, .jcard { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .2s; display: flex; flex-direction: column; min-width: 0; }
.pcard:hover, .jcard:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.pcard-media, .jcard-media { position: relative; display: block; aspect-ratio: 4 / 3; background: #eef0f3; overflow: hidden; }
.pcard-media img, .jcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.pcard:hover .pcard-media img, .jcard:hover .jcard-media img { transform: scale(1.04); }
.pcard-body, .jcard-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; }
.pcard-price { font-size: 19px; font-weight: 800; color: var(--ink); }
.pcard-price small { font-weight: 500; font-size: 12px; }
.pcard-title, .jcard-title { font-weight: 700; color: var(--ink); font-size: 15.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcard-loc { color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcard-loc .ic { width: 14px; height: 14px; vertical-align: -2px; }
.pcard-meta { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 6px; font-size: 12.5px; color: var(--char); }
.pcard-meta span { display: inline-flex; align-items: center; gap: 4px; }
.pcard-meta .ic { width: 14px; height: 14px; }
.save-btn { position: absolute; top: 10px; right: 10px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.95); display: flex; align-items: center; justify-content: center; color: var(--char); box-shadow: var(--shadow); }
.save-btn .ic { width: 18px; height: 18px; }
.save-btn.is-saved { color: var(--red); }
.save-btn.is-saved .ic { fill: var(--red); }
.save-btn.inline { position: static; flex: none; box-shadow: none; border: 1px solid var(--line); }
.save-btn.inline-btn { position: static; width: auto; height: auto; border-radius: var(--radius-sm); border: 1px solid var(--red); }
.jcard-by { font-size: 13px; color: var(--muted); margin-top: -2px; }
.jcard-config { font-size: 13px; color: var(--char); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jcard-price { font-size: 17px; font-weight: 800; color: var(--ink); margin-top: 4px; }
.rera { position: absolute; bottom: 10px; right: 10px; background: rgba(15, 138, 75, .92); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 7px; border-radius: 6px; display: inline-flex; gap: 3px; align-items: center; }
.rera .ic { width: 12px; height: 12px; }

/* post CTA band */
.post-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 34px 38px; border-radius: 18px; background: linear-gradient(120deg, var(--red) 0%, #8f0f15 100%); color: #fff; overflow: hidden; position: relative; }
.post-cta::after { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%; border: 40px solid rgba(255,255,255,.07); }
.post-cta h2 { color: #fff; font-size: 26px; }
.post-cta p { opacity: .92; max-width: 560px; }
.post-cta.slim { padding: 22px 26px; margin-bottom: 18px; }
.post-cta.slim h2 { font-size: 20px; } .post-cta.slim p { margin: 0; }
.ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.ticks li { display: flex; align-items: center; gap: 6px; font-size: 14px; }
.ticks .ic { width: 16px; height: 16px; color: #8ff0bd; }

.city-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.city-tile { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: linear-gradient(135deg, var(--char), #1c1d20); display: block; }
.city-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.city-tile:hover img { transform: scale(1.06); }
.city-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(0,0,0,.75)); }
.city-name { position: absolute; left: 14px; bottom: 12px; z-index: 1; color: #fff; font-weight: 700; font-size: 17px; }
.city-name small { display: block; font-weight: 500; font-size: 12px; opacity: .88; }

.loc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.loc-card { display: flex; align-items: center; gap: 12px; justify-content: space-between; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.loc-card:hover { border-color: var(--red); color: inherit; }
.loc-card strong { display: block; color: var(--ink); }
.loc-card small { color: var(--muted); }
.loc-stats { margin-left: auto; text-align: right; font-size: 12.5px; color: var(--char); display: flex; flex-direction: column; }
.loc-stats span:first-child { font-weight: 700; color: var(--ink); }

.builder-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; }
.builder-grid.lg { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.builder-tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 10px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.builder-tile:hover { box-shadow: var(--shadow-lg); color: inherit; }
.builder-tile strong { font-size: 14px; color: var(--ink); line-height: 1.2; }
.builder-tile small { color: var(--muted); font-size: 12px; }
.b-logo { width: 72px; height: 72px; border-radius: 12px; border: 1px solid var(--line); background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; font-weight: 800; color: var(--red); text-transform: uppercase; flex: none; }
.b-logo img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.b-logo.sm { width: 42px; height: 42px; border-radius: 8px; font-size: 13px; }
.b-logo.lg { width: 96px; height: 96px; }

.tools-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tool { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.tool:hover { border-color: var(--red); color: inherit; }
.tool strong { display: block; color: var(--ink); }
.tool small { color: var(--muted); }
.tool > .ic:last-child { margin-left: auto; color: var(--red); }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 26px; padding: 26px; background: var(--ink); border-radius: 16px; color: #fff; text-align: center; }
.stats-row strong { display: block; font-size: 30px; font-weight: 800; }
.stats-row span { opacity: .75; font-size: 14px; }

/* ---------- footer ---------- */
.site-footer { background: #17181b; color: #c9cbd1; margin-top: 60px; padding-top: 48px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid h4 { color: #fff; font-size: 14px; margin-bottom: 14px; text-transform: uppercase; letter-spacing: .08em; }
.footer-grid > div > a { display: block; padding: 4px 0; color: #c9cbd1; }
.footer-grid a:hover { color: #fff; }
.f-brand p { margin: 14px 0; max-width: 360px; }
.f-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.f-contact li { display: flex; gap: 8px; align-items: flex-start; }
.f-contact .ic { color: var(--red); margin-top: 2px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; border-top: 1px solid #2c2e33; margin-top: 36px; padding-top: 18px; padding-bottom: 8px; font-size: 13px; }
.f-legal { display: flex; gap: 18px; flex-wrap: wrap; }
.f-disclaimer { font-size: 12px; color: #8a8d95; padding-bottom: 28px; }
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 54px; height: 54px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(37, 211, 102, .45); }
.wa-float .ic { width: 30px; height: 30px; }
.wa-float:hover { color: #fff; transform: scale(1.05); }

/* ---------- search results ---------- */
.page-top { background: #fff; border-bottom: 1px solid var(--line); padding: 16px 0 18px; }
.page-top h1 { font-size: 26px; margin: 6px 0 4px; }
.crumbs { font-size: 13px; color: var(--muted); }
.crumbs a:hover { color: var(--red); }
.crumbs.light, .crumbs.light a { color: rgba(255,255,255,.85); }
.mini-search { display: flex; gap: 10px; margin-top: 12px; align-items: center; flex-wrap: wrap; }
.mini-search select { width: auto; min-width: 140px; padding: 9px 12px; }
.mini-search .search-input { min-width: 240px; }
.ms-seg { display: inline-flex; border: 1px solid #d3d7de; border-radius: var(--radius-sm); overflow: hidden; }
.ms-seg a { padding: 9px 16px; font-weight: 600; font-size: 14px; }
.ms-seg a.on { background: var(--ink); color: #fff; }
.results-layout { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 22px; padding-top: 22px; align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 14px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); max-height: calc(100vh - var(--header-h) - 28px); overflow-y: auto; }
.filters form { padding: 0 18px 18px; }
.filters-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 0 10px; position: sticky; top: 0; background: #fff; z-index: 2; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.filters-head a { color: var(--red); font-weight: 600; }
.fgroup { padding: 14px 0; border-bottom: 1px solid var(--line); }
.fgroup:last-of-type { border-bottom: 0; }
.fgroup h5 { font-size: 14px; margin: 0 0 10px; }
.fsub { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; margin: 10px 0 6px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.toggle-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.toggle-chips label { margin: 0; cursor: pointer; }
.toggle-chips input { position: absolute; opacity: 0; pointer-events: none; }
.toggle-chips span { display: inline-flex; align-items: center; gap: 4px; padding: 6px 12px; border: 1px solid #d3d7de; border-radius: 99px; font-size: 13px; font-weight: 500; color: var(--char); background: #fff; transition: all .12s; }
.toggle-chips span::before { content: "+"; font-weight: 600; color: var(--muted); }
.toggle-chips input[type=radio] + span::before { content: none; }
.toggle-chips input:checked + span { border-color: var(--red); background: var(--red-soft); color: var(--red); }
.toggle-chips input:checked + span::before { content: "✓"; color: var(--red); }
.toggle-chips input:focus-visible + span { box-shadow: 0 0 0 3px rgba(215, 25, 32, .2); }
.toggle-chips.lg span { padding: 10px 22px; font-size: 15px; }
.switch { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 14px; margin: 6px 0; cursor: pointer; }
.switch input { position: absolute; opacity: 0; }
.switch span { width: 36px; height: 20px; border-radius: 99px; background: #cfd3da; position: relative; transition: background .15s; flex: none; }
.switch span::after { content: ""; position: absolute; left: 2px; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .15s; }
.switch input:checked + span { background: var(--red); }
.switch input:checked + span::after { transform: translateX(16px); }
.apply-btn { margin-top: 10px; }
.js .apply-btn { display: none; }
.results-head { display: flex; justify-content: space-between; gap: 14px; align-items: flex-end; flex-wrap: wrap; margin-bottom: 14px; }
.results-head h1 { font-size: 22px; margin: 0 0 2px; }
.results-head p { margin: 0; }
.results-tools { display: flex; gap: 10px; align-items: center; }
.sort { display: flex; align-items: center; gap: 8px; margin: 0; font-weight: 500; color: var(--muted); white-space: nowrap; }
.sort select { width: auto; padding: 7px 10px; margin: 0; }
.inline-projects { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 16px 6px; margin-bottom: 16px; }
.ip-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.ip-head strong { display: inline-flex; gap: 6px; align-items: center; } .ip-head strong .ic { color: var(--red); }
.ip-head a { color: var(--red); font-weight: 600; font-size: 13px; display: inline-flex; gap: 4px; align-items: center; }
.inline-projects .rail-track { grid-auto-columns: calc((100% - 36px) / 3); }
.inline-projects .rail-btn.prev { left: -6px; } .inline-projects .rail-btn.next { right: -6px; }
.rows { display: flex; flex-direction: column; gap: 14px; }
.prow { display: grid; grid-template-columns: 300px minmax(0, 1fr); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s; }
.prow:hover { box-shadow: var(--shadow-lg); }
.prow-media { position: relative; background: #eef0f3; min-height: 230px; }
.prow-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.prow-body { padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.prow-top { display: flex; justify-content: space-between; gap: 10px; }
.prow-title { font-weight: 700; color: var(--ink); font-size: 16.5px; }
.prow-facts { display: flex; flex-wrap: wrap; gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.prow-facts > div { padding: 10px 18px 10px 0; margin-right: 18px; border-right: 1px solid var(--line); }
.prow-facts > div:last-child { border-right: 0; }
.prow-facts strong { display: block; color: var(--ink); font-size: 15.5px; }
.prow-facts strong small { font-size: 12px; font-weight: 500; }
.prow-facts small { color: var(--muted); font-size: 12px; }
.prow-desc { color: var(--char); font-size: 13.5px; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.chips span { background: #f3f4f6; border-radius: 6px; padding: 3px 9px; font-size: 12.5px; color: var(--char); display: inline-flex; align-items: center; gap: 4px; }
.chips.sm span { font-size: 12px; }
.chips .chip-ok { background: var(--ok-soft); color: var(--ok); font-weight: 600; }
.chips .chip-red { background: var(--red-soft); color: var(--red); font-weight: 600; }
.chips .ic { width: 14px; height: 14px; }
.prow-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; flex-wrap: wrap; }
.poster { display: flex; align-items: center; gap: 10px; min-width: 0; }
.poster strong { display: block; color: var(--ink); font-size: 14px; }
.poster small { color: var(--muted); font-size: 12px; }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--char); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; flex: none; }
.avatar.lg { width: 48px; height: 48px; font-size: 19px; }
.prow-cta { display: flex; gap: 8px; }
.empty { background: #fff; border: 1px dashed #cfd3da; border-radius: var(--radius); padding: 44px 20px; text-align: center; }
.empty > .ic { width: 42px; height: 42px; color: var(--red); margin: 0 auto 10px; }
.empty .btn { margin: 4px; }
.pager { display: flex; justify-content: center; gap: 6px; margin: 26px 0 10px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 40px; height: 40px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; gap: 4px; border-radius: 8px; border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: 14px; }
.pager .current { background: var(--red); color: #fff; border-color: var(--red); }
.pager .gap { border: 0; background: none; }
.filters-backdrop { display: none; }

/* ---------- modal / lightbox ---------- */
.modal { position: fixed; inset: 0; z-index: 120; background: rgba(15, 17, 21, .55); display: flex; align-items: center; justify-content: center; padding: 16px; opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
.modal.open { opacity: 1; visibility: visible; }
.modal-box { position: relative; background: #fff; border-radius: 16px; width: min(440px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; padding: 26px; transform: translateY(12px); transition: transform .2s; }
.modal.open .modal-box { transform: none; }
.modal-x { position: absolute; top: 10px; right: 12px; background: none; border: 0; font-size: 28px; line-height: 1; color: var(--muted); }
.enq-form label { margin-bottom: 10px; }
.enq-form .check, label.check { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; color: var(--muted); font-size: 12.5px; }
label.check input { margin-top: 3px; }
.form-err { color: var(--red); font-size: 13px; margin: 8px 0 0; }
.ferr { display: block; color: var(--red); font-size: 12.5px; font-weight: 500; margin-top: 4px; }
.enq-done { text-align: center; }
.done-ic .ic { width: 52px; height: 52px; color: var(--ok); margin: 0 auto 8px; }
.lightbox { position: fixed; inset: 0; z-index: 130; background: rgba(8, 9, 11, .94); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .2s; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox figure { margin: 0; max-width: 92vw; max-height: 86vh; text-align: center; }
.lightbox img { max-width: 92vw; max-height: 80vh; object-fit: contain; margin: 0 auto; border-radius: 6px; }
.lightbox figcaption { color: #cfd2d8; font-size: 13px; margin-top: 10px; }
.lb-x { position: absolute; top: 12px; right: 18px; font-size: 38px; color: #fff; background: none; border: 0; line-height: 1; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; display: flex; align-items: center; justify-content: center; }
.lb-nav .ic { width: 26px; height: 26px; }
.lb-nav.prev { left: 16px; } .lb-nav.next { right: 16px; }

/* ---------- property detail ---------- */
.detail { padding-top: 16px; }
.detail .crumbs { margin-bottom: 12px; }
.detail-head { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; flex-wrap: wrap; margin-bottom: 16px; }
.detail-head h1 { font-size: 22px; margin: 4px 0; }
.dh-price { font-size: 28px; font-weight: 800; color: var(--ink); }
.dh-price small { font-size: 14px; font-weight: 500; color: var(--muted); }
.dh-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 22px; align-items: start; }
.detail-main > .card:first-child { margin-top: 0; }
.gallery { display: grid; grid-template-columns: 2fr 1fr; gap: 8px; height: 440px; margin-bottom: 18px; border-radius: var(--radius); overflow: hidden; }
.gallery:has(.g-main:only-child), .gallery.single { grid-template-columns: 1fr; }
.gallery button { border: 0; padding: 0; position: relative; overflow: hidden; background: #eef0f3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery button:hover img { transform: scale(1.03); }
.g-side { display: grid; grid-template-rows: 1fr 1fr; gap: 8px; min-height: 0; }
.g-side button { min-height: 0; }
.more { position: absolute; inset: 0; background: rgba(0,0,0,.5); color: #fff; font-weight: 700; font-size: 18px; display: flex; align-items: center; justify-content: center; }
.empty-photo { display: flex; align-items: center; justify-content: center; flex-direction: column; color: var(--muted); }
.empty-photo img { width: 140px; height: auto; }
.key-icons { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.key-icons div { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: var(--bg); border-radius: 10px; font-size: 14px; }
.key-icons .ic { color: var(--red); width: 20px; height: 20px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 0; }
.facts div { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: 12.5px; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-weight: 600; color: var(--ink); font-size: 14.5px; }
.facts.compact { grid-template-columns: repeat(2, 1fr); margin-top: 16px; }
.prose { color: var(--char); line-height: 1.7; }
.prose p:last-child { margin-bottom: 0; }
.prose h2, .prose h3, .prose h4 { margin-top: 1.2em; font-size: 17px; }
.prose ul, .prose ol { padding-left: 20px; }
.prose li { margin-bottom: 4px; }
.prose table { border-collapse: collapse; width: 100%; margin: 12px 0; font-size: 14px; }
.prose td, .prose th { border: 1px solid var(--line); padding: 8px; text-align: left; }
.collapsible { max-height: 300px; overflow: hidden; position: relative; transition: max-height .3s; }
.collapsible.is-open { max-height: none; }
.collapsible.is-clipped::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 80px; background: linear-gradient(rgba(255,255,255,0), #fff); }
.collapsible.is-open::after { display: none; }
.read-more { background: none; border: 0; color: var(--red); font-weight: 600; padding: 8px 0 0; }
.amen-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.amen-list.two-col { grid-template-columns: repeat(2, 1fr); }
.amen-list li { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; }
.amen-list .ic { color: var(--ok); margin-top: 1px; }
.proj-mini { display: flex; gap: 14px; align-items: center; }
.proj-mini img { width: 110px; height: 80px; object-fit: cover; border-radius: 10px; }
.proj-mini h3 { margin: 0; } .proj-mini p { margin: 0; }
.proj-mini .btn { margin-left: auto; }
.loc-insight { display: flex; gap: 12px; flex-wrap: wrap; margin: 12px 0 14px; }
.loc-insight > div { flex: 1; min-width: 150px; background: var(--bg); border-radius: 10px; padding: 12px 14px; }
.loc-insight small { display: block; color: var(--muted); font-size: 12px; }
.loc-insight strong { font-size: 16px; }
.ic.star { color: #f59e0b; }
.map-frame { height: 320px; border-radius: var(--radius); overflow: hidden; background: #eef0f3 url("../img/placeholder.svg") center / 120px no-repeat; display: flex; align-items: center; justify-content: center; margin-top: 12px; }
.map-frame iframe { width: 100%; height: 100%; border: 0; }
.contact-card h3 { margin-top: 14px; }
.sticky { position: sticky; top: calc(var(--header-h) + 16px); }
.revealed { margin: 14px 0 4px; padding: 12px; background: var(--ok-soft); border-radius: 10px; }
.revealed small { display: block; color: var(--ok); font-weight: 600; margin-bottom: 6px; }
.m-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: #fff; border-top: 1px solid var(--line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); gap: 10px; }
.m-cta .btn-primary { flex: 1; }

/* ---------- project page ---------- */
.proj-hero { position: relative; min-height: 420px; background: #222 var(--hero-bg) center / cover no-repeat; display: flex; align-items: flex-end; }
.proj-hero-in { position: relative; padding-top: 40px; padding-bottom: 70px; color: #fff; }
.proj-hero h1 { color: #fff; font-size: clamp(28px, 4vw, 44px); margin: 10px 0 6px; text-shadow: 0 2px 16px rgba(0,0,0,.4); }
.ph-sub { font-size: 16px; opacity: .95; margin: 0; }
.ph-sub a { text-decoration: underline; }
.ph-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.badge-glass { background: rgba(255,255,255,.18); color: #fff; backdrop-filter: blur(6px); }
.proj-summary { display: flex; flex-wrap: wrap; gap: 0; margin-top: -44px; position: relative; z-index: 3; box-shadow: var(--shadow-lg); padding: 18px 22px; align-items: center; }
.proj-summary > div { padding: 6px 22px 6px 0; margin-right: 22px; border-right: 1px solid var(--line); }
.proj-summary > div:nth-last-child(2) { border-right: 0; }
.proj-summary small { display: block; color: var(--muted); font-size: 12px; }
.proj-summary strong { font-size: 17px; color: var(--ink); }
.ps-cta { margin-left: auto; display: flex; gap: 8px; border: 0 !important; margin-right: 0 !important; padding-right: 0 !important; }
.proj-tabs { position: sticky; top: var(--header-h); z-index: 20; background: #fff; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.proj-tabs .wrap { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.proj-tabs .wrap::-webkit-scrollbar { display: none; }
.proj-tabs a { padding: 14px 14px 12px; font-weight: 600; font-size: 14px; color: var(--muted); border-bottom: 3px solid transparent; white-space: nowrap; }
.proj-tabs a.on, .proj-tabs a:hover { color: var(--ink); border-bottom-color: var(--red); }
.proj-body .card { scroll-margin-top: calc(var(--header-h) + 60px); }
.about-img { width: 100%; max-height: 380px; object-fit: cover; border-radius: 10px; margin-bottom: 16px; }
.table-wrap { overflow-x: auto; }
.card.table-wrap { padding: 0; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 700; padding: 12px 14px; background: #fafbfc; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tr.dim td { opacity: .55; }
.card > .table-wrap .table th:first-child, .card > .table-wrap .table td:first-child { padding-left: 0; }
.thumb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.thumb { border: 1px solid var(--line); padding: 0; background: #f7f8fa; border-radius: 10px; overflow: hidden; position: relative; aspect-ratio: 4 / 3; }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.thumb:hover img { transform: scale(1.04); }
.thumb span { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,.6); color: #fff; font-size: 12px; padding: 4px 8px; }
.thumb.wide { width: 100%; aspect-ratio: auto; }
.thumb.wide img { height: auto; object-fit: contain; max-height: 520px; margin: 0 auto; }
.loc-split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.loc-split .amen-list { grid-template-columns: 1fr; }
.loc-split .amen-list .ic { color: var(--red); }
.bb-head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.bb-head h2 { margin: 0; }
.bb-head .btn { margin-left: auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; padding: 12px 28px 12px 0; font-weight: 600; color: var(--ink); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 8px; font-size: 22px; color: var(--red); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq .prose { padding: 0 0 14px; }

/* projects listing */
.proj-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.proj-filter .search-input { flex: 1 1 240px; }
.proj-filter select { width: auto; flex: 0 1 auto; padding: 9px 12px; font-size: 14px; }
.status-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 6px; align-items: center; }
.status-pills a { padding: 6px 14px; border-radius: 99px; border: 1px solid var(--line); background: #fff; font-size: 13.5px; font-weight: 600; color: var(--char); }
.status-pills a.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.status-pills .sep { width: 1px; height: 22px; background: var(--line); margin: 0 4px; }
.builder-hero { display: flex; align-items: center; gap: 18px; margin-top: 10px; }
.builder-hero h1 { margin: 0; }

/* ---------- post property ---------- */
.post-wrap { padding: 26px 0 40px; }
.post-grid { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 26px; align-items: start; }
.post-aside { position: sticky; top: calc(var(--header-h) + 18px); }
.post-aside h1 { font-size: 26px; }
.steps { list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 4px; }
.steps li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--muted); font-weight: 600; }
.steps li span { width: 28px; height: 28px; border-radius: 50%; border: 2px solid #cfd3da; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; }
.steps li.on { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.steps li.on span { border-color: var(--red); color: var(--red); }
.steps li.done span { background: var(--ok); border-color: var(--ok); color: #fff; }
.post-help { font-size: 14px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.post-help a { color: var(--red); font-weight: 600; }
.post-form { padding: 0; overflow: hidden; }
.progress { height: 4px; background: var(--line); }
.progress span { display: block; height: 100%; background: var(--red); transition: width .3s; }
.step { border: 0; margin: 0; padding: 26px 28px 8px; min-width: 0; }
.step legend { font-size: 21px; font-weight: 800; color: var(--ink); padding: 0; margin-bottom: 16px; float: left; width: 100%; }
.step legend + * { clear: both; }
.step h4 { font-size: 15px; margin: 20px 0 10px; }
.step-nav { display: flex; justify-content: space-between; gap: 10px; padding: 18px 28px 26px; border-top: 1px solid var(--line); margin-top: 16px; }
.step-nav #stepNext, .step-nav #stepSubmit { margin-left: auto; }
.money-words { display: block; margin-top: 4px; font-weight: 500; }
.drop { border: 2px dashed #cfd3da; border-radius: var(--radius); padding: 28px; text-align: center; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 4px; transition: border-color .15s, background .15s; background: #fafbfc; }
.drop:hover, .drop.over { border-color: var(--red); background: var(--red-soft); }
.drop .ic { width: 34px; height: 34px; color: var(--red); }
.drop small { font-weight: 400; color: var(--muted); }
.drop input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.previews, .img-manage { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; margin: 12px 0; }
.previews img, .im img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }
.im { position: relative; font-size: 12px; }
.im label { display: flex; gap: 5px; align-items: center; font-weight: 500; margin: 4px 0 0; }
.when-bhk { margin-bottom: 18px; }

/* ---------- auth ---------- */
.auth-wrap { padding: 40px 16px; display: flex; justify-content: center; }
.auth-card { display: grid; grid-template-columns: 1fr 1.15fr; padding: 0; overflow: hidden; width: min(880px, 100%); }
.auth-side { background: linear-gradient(160deg, #1f2024, #3b3c40); color: #fff; padding: 36px; display: flex; flex-direction: column; gap: 16px; }
.auth-side .auth-logo { width: 200px; height: auto; }
.auth-side h2 { color: #fff; }
.auth-side .ticks { flex-direction: column; }
.auth-form { padding: 36px; }
.auth-form h1 { font-size: 24px; }

/* ---------- dashboard ---------- */
.dash { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 22px; padding-top: 24px; align-items: start; }
.dash-nav { position: sticky; top: calc(var(--header-h) + 16px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.dash-user { display: flex; gap: 10px; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.dash-user small { display: block; color: var(--muted); }
.dash-nav nav { display: grid; gap: 2px; margin-bottom: 14px; }
.dash-nav nav a { display: flex; gap: 10px; align-items: center; padding: 10px; border-radius: 8px; font-weight: 500; }
.dash-nav nav a.on { background: var(--red-soft); color: var(--red); font-weight: 700; }
.dash-main h1 { font-size: 24px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; display: block; }
a.kpi:hover { border-color: var(--red); color: inherit; }
.kpi small { color: var(--muted); font-weight: 600; font-size: 13px; }
.kpi strong { display: block; font-size: 30px; font-weight: 800; color: var(--ink); line-height: 1.2; margin: 4px 0; }
.kpi strong.red { color: var(--red); }
.kpi span { font-size: 12.5px; color: var(--muted); }
.lead-list { list-style: none; padding: 0; margin: 0; }
.lead-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.lead-list li:last-child { border-bottom: 0; }
.lead-list small { display: block; color: var(--muted); font-size: 12.5px; }
.lead-list a:not(.btn) { color: var(--ink); font-weight: 600; }
.my-list { display: grid; gap: 12px; }
.my-item { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: 16px; padding: 14px; margin: 0; align-items: center; }
.mi-img img { width: 150px; height: 110px; object-fit: cover; border-radius: 10px; }
.mi-title { display: block; font-weight: 700; color: var(--ink); margin: 4px 0 2px; }
.mi-price { font-weight: 800; color: var(--ink); }
.mi-stats { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.mi-stats .ic { width: 14px; height: 14px; }
.mi-actions { display: flex; flex-direction: column; gap: 6px; align-items: stretch; }
.mi-actions form { margin: 0; } .mi-actions .btn { width: 100%; }
.status-tag { display: inline-block; font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 99px; background: #eceef1; color: #4b5563; }
.st-active, .st-closed { background: var(--ok-soft); color: var(--ok); }
.st-pending, .st-new { background: #fff6e0; color: #a16207; }
.st-rejected { background: var(--red-soft); color: var(--red); }
.st-contacted { background: #eef4ff; color: #1d4ed8; }
.two-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.form h2 { margin-bottom: 14px; }

/* ---------- misc pages ---------- */
.error-page { text-align: center; padding: 80px 16px; }
.err-code { font-size: 96px; font-weight: 900; color: var(--red); line-height: 1; letter-spacing: -.04em; }
.err-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.emi { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.emi-table { grid-column: 1 / -1; }
.emi-inputs label { font-size: 15px; display: flex; flex-wrap: wrap; justify-content: space-between; margin-bottom: 26px; }
.emi-inputs output { font-weight: 800; color: var(--ink); }
.emi-inputs input { flex-basis: 100%; margin-top: 10px; }
.emi-result small { color: var(--muted); font-weight: 600; }
.emi-big { font-size: 40px; font-weight: 900; color: var(--red); margin-bottom: 14px; }
.emi-split { display: flex; gap: 22px; align-items: center; margin-bottom: 18px; }
.donut { width: 130px; height: 130px; transform: rotate(-90deg); flex: none; }
.donut circle { transition: stroke-dasharray .4s; }
.emi-split dl { margin: 0; flex: 1; }
.emi-split dl div { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--line); }
.emi-split dt { color: var(--muted); display: flex; gap: 6px; align-items: center; } .emi-split dd { margin: 0; font-weight: 700; color: var(--ink); }
.sw { width: 10px; height: 10px; border-radius: 3px; display: inline-block; } .sw-grey { background: var(--line); } .sw-red { background: var(--red); }
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; align-items: start; }
.contact-info p { display: flex; gap: 10px; align-items: center; }
.contact-info .ic { color: var(--red); }
.page-body { max-width: 860px; }

/* ---------- admin ---------- */
.admin-body { background: #f2f3f6; }
.admin { display: grid; grid-template-columns: 240px minmax(0, 1fr); min-height: 100vh; }
.admin-side { background: #17181b; color: #c9cbd1; padding: 18px 14px; position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 18px; overflow-y: auto; }
.admin-side nav { display: grid; gap: 2px; }
.admin-side nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; font-weight: 500; font-size: 14px; }
.admin-side nav a:hover { background: #24262b; color: #fff; }
.admin-side nav a.on { background: var(--red); color: #fff; }
.admin-side nav em { margin-left: auto; font-style: normal; background: #fff; color: var(--red); font-size: 11px; font-weight: 800; border-radius: 99px; padding: 1px 7px; }
.admin-side-foot { margin-top: auto; display: grid; gap: 2px; border-top: 1px solid #2c2e33; padding-top: 12px; }
.admin-side-foot a, .admin-side-foot button { display: flex; gap: 10px; align-items: center; padding: 8px 12px; font-size: 13.5px; background: none; border: 0; color: #c9cbd1; text-align: left; width: 100%; border-radius: 8px; }
.admin-side-foot a:hover, .admin-side-foot button:hover { background: #24262b; color: #fff; }
.admin-side-foot form { margin: 0; }
.admin-main { min-width: 0; }
.admin-top { display: flex; align-items: center; gap: 12px; padding: 12px 24px; background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.admin-search { flex: 1; max-width: 520px; position: relative; display: flex; align-items: center; }
.admin-search .ic { position: absolute; left: 12px; color: var(--muted); }
.admin-search input { padding-left: 38px; background: #f6f7f9; border-color: transparent; }
.admin-top .btn { margin-left: auto; }
.admin-content { padding: 24px; }
.admin-main > .flash { margin: 16px 24px 0; }
.admin-content h1 { font-size: 24px; }
.admin-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.admin-cols.wide-left { grid-template-columns: minmax(0, 1fr) 340px; }
.admin-cols.narrow-left { grid-template-columns: 260px minmax(0, 1fr); }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 180px; padding-top: 10px; }
.bar { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; position: relative; }
.bar span { width: 100%; max-width: 30px; background: var(--red); border-radius: 4px 4px 0 0; min-height: 2px; }
.bar em { font-style: normal; font-size: 11px; color: var(--char); font-weight: 600; order: -1; }
.bar small { font-size: 11px; color: var(--muted); margin-top: 4px; }
.inline-form { display: inline-flex; gap: 4px; margin: 0; }
.flag { background: none; border: 1px solid var(--line); border-radius: 6px; width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; color: #b6bac2; }
.flag .ic { width: 15px; height: 15px; }
.flag.on { color: #f59e0b; border-color: #f7d48a; background: #fffaf0; }
.flag.on .ic { fill: none; }
.thumb-sm { width: 64px; height: 48px; object-fit: cover; border-radius: 6px; }
.toolbar { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.toolbar input, .toolbar select { width: auto; min-width: 200px; padding: 8px 10px; }
.prev-img { max-height: 100px; border-radius: 6px; margin: 6px 0; }
.danger-zone { margin-top: 10px; }
.side-list { display: grid; gap: 2px; }
.side-list a { display: flex; justify-content: space-between; padding: 9px 10px; border-radius: 8px; font-weight: 500; }
.side-list a.on { background: var(--red-soft); color: var(--red); font-weight: 700; }
.side-list span { color: var(--muted); font-size: 12px; }
.inline-add { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.inline-add label { margin: 0; flex: 1; min-width: 150px; }
.inline-add label.check { flex: 0; white-space: nowrap; margin-bottom: 10px; }
.form.narrow { max-width: 760px; }

/* ---------- responsive ---------- */
@media (max-width: 1320px) {
  .main-nav .nl-xl { display: none; }
}
@media (max-width: 1180px) {
  .main-nav .nl-lg { display: none; }
  .builder-grid { grid-template-columns: repeat(5, 1fr); }
  .grid-3.lg-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  .main-nav, .city-pick, .hide-sm { display: none !important; }
  .menu-btn { display: inline-flex; }
  .btn-post { margin-left: auto; }
  .explore-grid { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rail-track { grid-auto-columns: calc((100% - 36px) / 3); }
  .results-layout { grid-template-columns: minmax(0, 1fr); }
  .filters { position: fixed; inset: 0 auto 0 0; width: min(360px, 90vw); max-height: none; height: 100%; z-index: 110; border-radius: 0; transform: translateX(-100%); transition: transform .25s; }
  .filters.open { transform: none; }
  .filters-backdrop.open { display: block; position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 105; }
  .js .apply-btn { display: flex; position: sticky; bottom: 0; }
  .only-sm { display: inline-flex !important; }
  .m-cta.only-sm { display: flex !important; }
  .detail-grid { grid-template-columns: minmax(0, 1fr); }
  .detail-side .sticky { position: static; }
  body:has(.m-cta) .wa-float { bottom: 80px; }
  .post-grid { grid-template-columns: minmax(0, 1fr); }
  .post-aside { position: static; }
  .steps { display: flex; overflow-x: auto; }
  .steps li { white-space: nowrap; }
  .dash { grid-template-columns: minmax(0, 1fr); }
  .dash-nav { position: static; }
  .dash-nav nav { grid-auto-flow: column; overflow-x: auto; }
  .dash-user, .dash-nav > .btn { display: none; }
  .dash-nav { padding: 8px; }
  .dash-nav nav { margin: 0; }
  .admin { grid-template-columns: 1fr; }
  .admin-side { position: fixed; left: 0; top: 0; width: 250px; z-index: 50; transform: translateX(-100%); transition: transform .25s; }
  .admin-side.open { transform: none; box-shadow: var(--shadow-lg); }
  .admin-cols, .admin-cols.wide-left, .admin-cols.narrow-left { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .tools-row { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  :root { --header-h: 62px; }
  body { font-size: 14.5px; }
  h1 { font-size: 23px; }
  .brand img { height: 38px; }
  .brand-text b { font-size: 15px; }
  .brand-text small { font-size: 8px; }
  .btn-post { padding: 7px 10px; font-size: 13px; }
  .btn-post .free { display: none; }
  .header-row { gap: 8px; }
  .hero { height: 475px; }
  .hero-copy { padding-bottom: 90px; }
  .search-dock { margin-top: -96px; }
  .search-tabs { padding: 0 6px; }
  .stab { padding: 15px 11px 13px; font-size: 15px; }
  .red-dot { top: 13px; right: 4px; }
  .stab-post, .stab-sep { display: none; }
  .search-row { flex-wrap: wrap; padding: 10px; gap: 8px; }
  .type-pick { border-right: 0; border-bottom: 1px solid var(--line); width: 100%; }
  .type-btn { padding: 6px 4px 10px; }
  .search-input { flex-basis: calc(100% - 108px); border: 1px solid var(--line); border-radius: 10px; }
  .search-input input { font-size: 15px; padding-left: 38px; }
  .round-btn { width: 42px; height: 42px; }
  .search-go { width: 100%; }
  .explore-grid, .grid-4, .grid-3, .grid-3.lg-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .explore { padding: 14px; }
  .rail-track, .inline-projects .rail-track { grid-auto-columns: 78%; gap: 12px; }
  .rail-btn { display: none; }
  .pcard-body, .jcard-body { padding: 10px 12px 12px; }
  .pcard-price { font-size: 16px; }
  .pcard-title, .jcard-title { font-size: 14px; }
  .jcard-price { font-size: 15px; }
  .builder-grid { grid-template-columns: repeat(3, 1fr); }
  .post-cta { flex-direction: column; align-items: flex-start; padding: 26px 22px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .prow { grid-template-columns: 1fr; }
  .prow-media { min-height: 0; aspect-ratio: 16 / 10; }
  .prow-facts > div { padding-right: 12px; margin-right: 12px; }
  .prow-cta { width: 100%; } .prow-cta .btn { flex: 1; }
  .mini-search .search-input { flex-basis: 100%; min-width: 0; border: 0; }
  .gallery { height: 280px; grid-template-columns: 1fr; }
  .g-side { display: none; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .amen-list, .amen-list.two-col { grid-template-columns: 1fr 1fr; }
  .loc-split { grid-template-columns: 1fr; }
  .proj-summary { margin-top: -30px; padding: 14px 16px; }
  .proj-summary > div { border-right: 0; flex: 1 1 45%; margin-right: 0; padding: 6px 0; }
  .ps-cta { flex-basis: 100% !important; margin-left: 0; }
  .ps-cta .btn { flex: 1; }
  .two, .three, .two-cards, .emi, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .step { padding: 20px 18px 6px; }
  .step-nav { padding: 16px 18px 20px; }
  .auth-card { grid-template-columns: 1fr; }
  .auth-side { display: none; }
  .auth-form { padding: 24px; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .my-item { grid-template-columns: 96px minmax(0, 1fr); }
  .mi-img img { width: 96px; height: 80px; }
  .mi-actions { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
  .mi-actions .btn { width: auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 22px; }
  .card { padding: 16px; }
  .admin-content { padding: 16px; }
  .proj-filter select { flex: 1 1 45%; }
  .detail-head .dh-actions { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
.site-header.is-overlay:not(.scrolled) .brand img { filter: drop-shadow(0 1px 3px rgba(0,0,0,.35)); }
#floorplans .thumb img { object-fit: contain; background: #fff; }

/* ---------- blog ---------- */
.bcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; min-width: 0; }
.bcard:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.bcard-media { position: relative; aspect-ratio: 16 / 9; background: #eef0f3; overflow: hidden; display: block; }
.bcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.bcard:hover .bcard-media img { transform: scale(1.04); }
.bcard-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.bcard-title { font-weight: 700; color: var(--ink); font-size: 16.5px; line-height: 1.35; }
.bcard-body p { color: var(--char); font-size: 14px; margin: 0; }
.bcard-meta { margin-top: auto; font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 5px; }
.bcard-meta .ic { width: 14px; height: 14px; }
.blog-top .results-head { align-items: center; }
.blog-search { min-width: 280px; }
.status-pills .count { font-size: 11px; opacity: .65; margin-left: 2px; }
.blog-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
.blog-lead { display: grid; grid-template-columns: 1.2fr 1fr; padding: 0; overflow: hidden; margin-bottom: 22px; }
.bl-media { display: block; min-height: 300px; background: #eef0f3; }
.bl-media img { width: 100%; height: 100%; object-fit: cover; }
.bl-body { padding: 26px; display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.bl-body h2 { font-size: 24px; margin: 0; }
.bl-body .btn { align-self: flex-start; }
.blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.blog-side .card h3, .post-side .card h3 { font-size: 16px; margin-bottom: 12px; }
.pop-list { margin: 0; padding-left: 20px; display: grid; gap: 12px; }
.pop-list li::marker { color: var(--red); font-weight: 800; }
.pop-list a { font-weight: 600; color: var(--ink); line-height: 1.35; }
.pop-list small { display: block; color: var(--muted); font-size: 12px; }
.side-cta .btn + .btn { margin-top: 8px; }
.post-head { max-width: 860px; padding-top: 20px; }
.post-head h1 { font-size: clamp(26px, 3.6vw, 40px); line-height: 1.15; margin: 8px 0 12px; }
.post-head .eyebrow { margin-top: 16px; }
.post-lede { font-size: 18px; color: var(--char); max-width: 760px; }
.post-meta { display: flex; align-items: center; gap: 10px; margin: 6px 0 22px; }
.post-meta strong, .post-meta small { display: block; }
.post-meta small { color: var(--muted); }
.post-cover { width: 100%; max-height: 480px; object-fit: cover; border-radius: 16px; margin-bottom: 26px; }
.post-layout { display: grid; grid-template-columns: 200px minmax(0, 720px) 300px; gap: 32px; align-items: start; justify-content: center; }
.post-aside { position: sticky; top: calc(var(--header-h) + 18px); display: grid; gap: 18px; }
.toc { display: grid; gap: 2px; border-left: 2px solid var(--line); padding-left: 12px; }
.toc strong { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 4px; }
.toc a { font-size: 13.5px; color: var(--char); padding: 4px 0; line-height: 1.35; }
.toc a:hover { color: var(--red); }
.share { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.share strong { width: 100%; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.share a, .share button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; color: var(--char); font-size: 15px; }
.share a:hover, .share button:hover { border-color: var(--red); color: var(--red); }
.post-body { font-size: 16.5px; line-height: 1.8; color: #2b2e35; }
.post-body h2 { font-size: 24px; margin: 1.6em 0 .5em; scroll-margin-top: calc(var(--header-h) + 20px); }
.post-body h3 { font-size: 19px; margin: 1.3em 0 .4em; }
.post-body a { color: var(--red); text-decoration: underline; text-underline-offset: 2px; }
.post-body blockquote { margin: 1.4em 0; padding: 14px 18px; border-left: 4px solid var(--red); background: var(--red-soft); border-radius: 0 10px 10px 0; color: #5b1013; }
.post-body img { border-radius: 10px; margin: 0 auto; }
.post-body figure { margin: 1.5em 0; }
.post-body figcaption { text-align: center; font-size: 13px; color: var(--muted); margin-top: 6px; }
.post-body table { display: block; overflow-x: auto; font-size: 14.5px; }
.post-body th { background: #fafbfc; }
.post-tags { margin-top: 26px; }
.post-tags a { background: #f3f4f6; border-radius: 6px; padding: 4px 10px; font-size: 13px; color: var(--char); text-decoration: none; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 30px; border-top: 1px solid var(--line); padding-top: 18px; }
.post-nav a { display: block; color: var(--ink); font-weight: 600; line-height: 1.35; text-decoration: none; font-size: 15px; }
.post-nav small { display: block; color: var(--muted); font-weight: 500; margin-bottom: 4px; }
.post-nav .nx { text-align: right; }
.post-side { position: sticky; top: calc(var(--header-h) + 18px); }
.mini-projects { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.mini-projects a { display: flex; gap: 10px; align-items: center; }
.mini-projects img { width: 64px; height: 52px; object-fit: cover; border-radius: 8px; flex: none; }
.mini-projects strong { display: block; font-size: 14px; color: var(--ink); line-height: 1.25; }
.mini-projects small { display: block; color: var(--muted); font-size: 12px; }
.mini-projects em { font-style: normal; font-size: 12.5px; font-weight: 700; color: var(--red); }

/* ---------- packages & orders ---------- */
.pricing-top { text-align: center; padding-bottom: 26px; }
.pricing-top h1 { font-size: clamp(26px, 3.4vw, 36px); }
.narrow-notice { max-width: 680px; margin: 14px auto 0; }
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; align-items: stretch; margin-top: 8px; }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 26px 22px; display: flex; flex-direction: column; gap: 16px; }
.plan.popular { border: 2px solid var(--red); box-shadow: 0 14px 40px rgba(215, 25, 32, .14); }
.plan-ribbon { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--red); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 99px; white-space: nowrap; }
.plan-head h2 { margin: 0 0 4px; font-size: 21px; }
.plan-head p { margin: 0; font-size: 13.5px; }
.plan-price strong { font-size: 34px; font-weight: 900; color: var(--ink); letter-spacing: -.02em; }
.plan-price span { display: block; color: var(--muted); font-size: 13px; }
.ticks.dark { flex-direction: column; gap: 9px; flex: 1; }
.ticks.dark li { font-size: 14px; align-items: flex-start; }
.ticks.dark .ic { color: var(--ok); margin-top: 2px; }
.btn.is-current { cursor: default; opacity: .7; }
.quota-card { display: flex; gap: 26px; align-items: center; flex-wrap: wrap; margin-top: 22px; }
.quota-card small { display: block; color: var(--muted); font-size: 12.5px; }
.quota-card strong { font-size: 22px; }
.quota-card .btn { margin-left: auto; }
.pricing-faq { margin-top: 22px; max-width: 860px; }
.quota-bar { display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center; padding: 14px 18px; font-size: 14px; }
.quota-bar a { margin-left: auto; color: var(--red); font-weight: 700; }
.meter { display: block; height: 6px; background: var(--line); border-radius: 99px; margin-top: 8px; overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--red); border-radius: 99px; }
.order-wrap { max-width: 820px; }
.order-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 8px; }
.order-head h1 { font-size: 24px; margin: 0; }
.pay-online, .pay-offline { margin-top: 18px; }
.pay-online h2, .pay-offline h2 { font-size: 18px; }
.or-sep { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; margin: 22px 0 4px; }
.or-sep::before, .or-sep::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.steps-list { padding-left: 20px; color: var(--char); display: grid; gap: 6px; }
.pay-methods { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin: 16px 0; }
.pay-box { background: var(--bg); border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.pay-box small { color: var(--muted); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.pay-box strong { font-size: 17px; word-break: break-all; }
.pay-box .btn { align-self: flex-start; }
.utr-form { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
.utr-form label { flex: 1; min-width: 220px; margin: 0; }

/* ---------- pre-leased ---------- */
.badge-lease { background: #0f5132; color: #fff; }
.chips .chip-lease { background: #e6f4ec; color: #0f5132; font-weight: 700; }
.lease-strip { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13.5px; color: var(--char); background: #f0f8f3; border-radius: 8px; padding: 8px 12px; }
.lease-strip span { display: inline-flex; align-items: center; gap: 5px; }
.lease-strip .ic { width: 15px; height: 15px; color: #0f5132; }
.lease-strip .yield { margin-left: auto; font-weight: 800; color: #0f5132; }
.lease-card { border-color: #b9dfc8; }
.lease-card h2 { display: flex; align-items: center; gap: 8px; }
.lease-card h2 .ic { color: #0f5132; }
.yield-pill { background: #0f5132; color: #fff; font-weight: 800; border-radius: 99px; padding: 5px 12px; font-size: 14px; }
.lease-switch { align-items: flex-start; background: #f0f8f3; border: 1px solid #cfe9da; border-radius: 12px; padding: 12px 14px; margin: 16px 0 4px; }
.lease-switch > span:first-of-type { margin-top: 2px; }
.ls-text strong, .ls-text small { display: block; }
.ls-text small { color: var(--muted); font-weight: 400; font-size: 12.5px; margin-top: 2px; }
.lease-box { background: #f7fbf9; border: 1px solid #d9eee2; border-radius: 12px; padding: 4px 16px 10px; margin: 6px 0 16px; }
.lease-box h4 { display: flex; align-items: center; gap: 6px; color: #0f5132; }
.yield-live { display: flex; gap: 22px; flex-wrap: wrap; background: #0f5132; color: #fff; border-radius: 10px; padding: 10px 14px; font-size: 14px; }
.yield-live strong { font-size: 16px; margin-left: 4px; }

/* ---------- admin: editor & packages ---------- */
.title-input { font-size: 20px; font-weight: 700; padding: 12px 14px; }
.editor { border: 1px solid #d3d7de; border-radius: var(--radius-sm); overflow: hidden; background: #fff; }
.editor-bar { display: flex; flex-wrap: wrap; gap: 2px; padding: 6px; background: #f6f7f9; border-bottom: 1px solid var(--line); }
.editor-bar button { border: 0; background: none; padding: 6px 10px; border-radius: 6px; font-size: 13px; font-weight: 600; color: var(--char); }
.editor-bar button:hover, .editor-bar button.on { background: #fff; color: var(--red); box-shadow: var(--shadow); }
.editor-bar .ic { width: 16px; height: 16px; }
.editor-bar .sp { flex: 1; }
.editor-src { border: 0; border-radius: 0; font-family: ui-monospace, Consolas, monospace; font-size: 14px; line-height: 1.65; min-height: 440px; resize: vertical; box-shadow: none !important; margin: 0; }
.editor-preview { padding: 20px 24px; min-height: 440px; }
.prev-img.wide { width: 100%; max-height: 180px; object-fit: cover; }
.pkg-admin { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.pkg-form .card-head { margin-bottom: 8px; }
.pkg-switches { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-bottom: 8px; }

@media (max-width: 1180px) {
  .post-layout { grid-template-columns: minmax(0, 1fr) 280px; }
  .post-aside { position: static; grid-column: 1 / -1; grid-row: 1; display: flex; flex-wrap: wrap; gap: 14px 30px; }
  .toc { display: none; }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  .blog-layout, .post-layout { grid-template-columns: minmax(0, 1fr); }
  .post-side { position: static; }
  .blog-lead { grid-template-columns: minmax(0, 1fr); }
  .bl-media { min-height: 0; aspect-ratio: 16 / 9; }
}
@media (max-width: 760px) {
  .blog-search { min-width: 0; width: 100%; }
  .blog-grid { grid-template-columns: minmax(0, 1fr); }
  .bl-body { padding: 18px; }
  .bl-body h2 { font-size: 20px; }
  .post-lede { font-size: 16px; }
  .post-body { font-size: 16px; }
  .post-cover { border-radius: 10px; margin-bottom: 16px; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav .nx { text-align: left; }
  .plans { grid-template-columns: minmax(0, 1fr); }
  .plan.popular { order: -1; margin-top: 10px; }
  .quota-card .btn, .quota-bar a { margin-left: 0; }
  .lease-strip .yield { margin-left: 0; }
  .order-head { flex-direction: column; }
  .utr-form .btn { width: 100%; }
}
@media (max-width: 420px) {
  .header-row { gap: 4px; }
  .brand { gap: 6px; }
  .brand img { height: 32px; }
  .brand-text b { font-size: 13.5px; }
  .brand-text small { font-size: 7px; letter-spacing: .36em; }
  .btn-post { padding: 6px 9px; font-size: 12.5px; }
  .icon-btn { padding: 4px; }
  .user-menu .icon-btn .ic.sm { display: none; }
  .builder-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .results-tools { width: 100%; flex-wrap: wrap; }
  .sort { flex: 1 1 160px; min-width: 0; }
  .sort select { flex: 1; min-width: 0; width: 100%; }
  .emi-split { flex-direction: column; align-items: stretch; }
  .donut { margin: 0 auto; }
  .emi-big { font-size: 32px; }
}

/* ---------- chat assistant ---------- */
.chatw { position: fixed; right: 18px; bottom: 18px; z-index: 95; font-size: 14.5px; }
.chat-launch { width: 58px; height: 58px; border-radius: 50%; border: 0; background: var(--red); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 26px rgba(215, 25, 32, .42); transition: transform .15s, background .15s; position: relative; }
.chat-launch:hover { transform: scale(1.05); background: var(--red-d); }
.chat-launch .ic { width: 28px; height: 28px; }
.chat-launch .cl-close { display: none; font-size: 30px; line-height: 1; }
.chatw.open .chat-launch .ic { display: none; }
.chatw.open .chat-launch .cl-close { display: block; }
.chat-launch::after { content: ""; position: absolute; top: 4px; right: 4px; width: 12px; height: 12px; border-radius: 50%; background: #22c55e; border: 2px solid #fff; }
.chatw.open .chat-launch::after { display: none; }
.chat-teaser { position: absolute; right: 0; bottom: 70px; width: 250px; background: #fff; color: var(--text); border-radius: 14px 14px 4px 14px; padding: 12px 30px 12px 14px; box-shadow: var(--shadow-lg); font-size: 14px; cursor: pointer; animation: slideIn .3s ease; }
.chat-teaser strong { color: var(--red); }
.chat-teaser .ct-x { position: absolute; top: 4px; right: 6px; border: 0; background: none; font-size: 18px; color: var(--muted); line-height: 1; }
.chat-panel { position: absolute; right: 0; bottom: 72px; width: 380px; height: min(620px, calc(100vh - 110px)); background: #fff; border-radius: 18px; box-shadow: 0 18px 60px rgba(16, 24, 40, .28); display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); }
.chat-panel[hidden] { display: none !important; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 12px 12px 12px 14px; background: linear-gradient(120deg, var(--red), #9e0f15); color: #fff; }
.chatw.is-ai .chat-head { background: linear-gradient(120deg, #1f2024, #3b3c40); }
.chat-head img { width: 38px; height: 38px; background: #fff; border-radius: 50%; padding: 7px 6px; object-fit: contain; flex: none; }
.ch-title { flex: 1; min-width: 0; line-height: 1.25; }
.ch-title strong { display: block; font-size: 15px; }
.ch-title small { display: flex; align-items: center; gap: 5px; font-size: 12px; opacity: .9; }
.ch-title small::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #4ade80; }
.ch-actions { display: flex; gap: 2px; }
.ch-actions a, .ch-actions button { width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: rgba(255,255,255,.12); border: 0; }
.ch-actions a:hover, .ch-actions button:hover { background: rgba(255,255,255,.25); color: #fff; }
.ch-actions .ic { width: 17px; height: 17px; }
.chat-log { flex: 1; overflow-y: auto; padding: 14px 12px 6px; background: #f6f7f9; display: flex; flex-direction: column; gap: 8px; overscroll-behavior: contain; }
.cm { display: flex; flex-direction: column; max-width: 100%; }
.cm .cb { max-width: 86%; padding: 9px 12px; border-radius: 14px; line-height: 1.45; word-wrap: break-word; }
.cm.bot .cb { background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; align-self: flex-start; color: var(--text); }
.cm.me .cb { background: var(--red); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.chatw.is-ai .cm.me .cb { background: var(--char); }
.cm.bot .cb a { color: var(--red); text-decoration: underline; }
.typing .cb { display: inline-flex; gap: 4px; padding: 12px 14px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #b7bcc5; animation: chatDot 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes chatDot { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
.ccards { display: grid; grid-auto-flow: column; grid-auto-columns: 220px; gap: 8px; overflow-x: auto; padding: 4px 2px 6px; scrollbar-width: thin; }
.cc { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; color: var(--text); }
.cc:hover { border-color: var(--red); color: var(--text); }
.cc-img { position: relative; display: block; aspect-ratio: 16 / 9; background: #eef0f3; }
.cc-img img { width: 100%; height: 100%; object-fit: cover; }
.cc-img em { position: absolute; top: 6px; left: 6px; font-style: normal; font-size: 10.5px; font-weight: 700; background: #fff; color: var(--ink); padding: 2px 6px; border-radius: 5px; }
.cc-body { padding: 8px 10px 10px; display: flex; flex-direction: column; gap: 1px; }
.cc-body strong { font-size: 13.5px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cc-body small { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cc-meta { font-size: 12px; color: var(--char); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cc-body b { font-size: 14px; color: var(--ink); margin-top: 2px; }
.chat-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 12px; background: #f6f7f9; border-top: 1px solid var(--line); max-height: 132px; overflow-y: auto; }
.chat-chips[hidden] { display: none; }
.chip { border: 1px solid var(--red); color: var(--red); background: #fff; border-radius: 99px; padding: 6px 12px; font-size: 13px; font-weight: 600; }
.chip:hover { background: var(--red-soft); }
.chip.agent { background: var(--ink); border-color: var(--ink); color: #fff; }
.chat-form { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); background: #fff; }
.chat-form input { flex: 1; border-radius: 99px; padding: 10px 14px; font-size: 14.5px; }
.chat-form button { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--red); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.chatw.is-ai .chat-form button { background: var(--ink); }
.chat-foot { display: flex; justify-content: center; gap: 8px; padding: 0 12px 10px; background: #fff; font-size: 12.5px; color: var(--muted); }
.chat-foot button { border: 0; background: none; color: var(--char); font-weight: 600; padding: 0; }
.chat-foot button:hover { color: var(--red); }
@media (max-width: 1024px) { body:has(.m-cta) .chatw { bottom: 84px; } }
.chat-transcript { max-height: 75vh; overflow-y: auto; background: #f6f7f9; display: flex; flex-direction: column; gap: 8px; }
.ct-msg { display: flex; flex-direction: column; }
.ct-msg .ct-bubble { max-width: 80%; padding: 8px 12px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-size: 14px; }
.ct-msg.me .ct-bubble { align-self: flex-end; background: var(--red); color: #fff; border-color: var(--red); }
.ct-cards { margin: 4px 0 0 14px; padding: 0; font-size: 13px; }
@media (max-width: 760px) {
  .chatw { right: 14px; bottom: 14px; }
  .chat-launch { width: 54px; height: 54px; }
  .chat-panel { position: fixed; inset: 0; width: auto; height: auto; border-radius: 0; border: 0; }
  .chatw.open .chat-launch { display: none; }
  html.chat-open, html.chat-open body { overflow: hidden; }
  .chat-teaser { width: min(250px, calc(100vw - 90px)); }
  .chat-form { padding-bottom: calc(10px + env(safe-area-inset-bottom)); }
}

/* ---------- developer mini-sites (colour from --brand) ---------- */
.dev-site { background: #f5f6f8; }
.dev-site .btn-primary, .dev-btn { background: var(--brand); color: #fff; border-color: transparent; }
.dev-site .btn-primary:hover, .dev-btn:hover { background: var(--brand); color: #fff; filter: brightness(.9); }
.dev-site .btn-outline { border-color: var(--brand); color: var(--brand); }
.dev-site .btn-outline:hover { background: color-mix(in srgb, var(--brand) 10%, #fff); color: var(--brand); }
.dev-site a:hover, .dev-link, .dev-site .see-all, .dev-site .read-more, .dev-site .card-head a:not(.btn) { color: var(--brand); }
.dev-site .eyebrow, .dev-eyebrow { color: var(--brand); }
.dev-site .eyebrow.light { color: rgba(255,255,255,.85); }
.dev-site .proj-tabs a.on, .dev-site .proj-tabs a:hover { border-bottom-color: var(--brand); }
.dev-site .seg button.is-active { background: var(--brand); }
.dev-site .faq summary::after, .dev-site .amen-list .ic { color: var(--brand); }
.dev-site .prose a { color: var(--brand); }
.dev-site input:focus, .dev-site select:focus, .dev-site textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent); }
.dev-site .jcard:hover { box-shadow: 0 12px 40px color-mix(in srgb, var(--brand) 20%, transparent); }
.dev-site .chat-launch { background: var(--brand); box-shadow: 0 8px 26px color-mix(in srgb, var(--brand) 40%, transparent); }
.dev-site .chat-head { background: linear-gradient(120deg, var(--brand), color-mix(in srgb, var(--brand) 70%, #000)); }
.dev-site .cm.me .cb, .dev-site .chat-form button { background: var(--brand); }
.dev-site .chip { border-color: var(--brand); color: var(--brand); }

.dev-strip { background: #16171a; color: #b9bcc3; font-size: 12.5px; }
.dev-strip .wrap { display: flex; align-items: center; gap: 14px; min-height: 34px; }
.dev-strip a { color: #e6e7ea; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.dev-strip a:hover { color: #fff; }
.ds-note { flex: 1; text-align: center; opacity: .8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dev-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 3px solid var(--brand); transition: box-shadow .2s; }
.dev-header.scrolled { box-shadow: var(--shadow-lg); }
.dh-row { display: flex; align-items: center; gap: 18px; height: 70px; }
.dev-brand { display: flex; align-items: center; gap: 12px; min-width: 0; color: var(--ink); }
.dev-brand:hover { color: var(--ink); }
.dev-logo { width: 52px; height: 52px; border-radius: 12px; border: 1px solid var(--line); background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; flex: none; font-weight: 800; color: var(--brand); }
.dev-logo img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.dev-name { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.dev-name strong { font-size: 18px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dev-name small { font-size: 12.5px; color: var(--muted); }
.dev-brand.light, .dev-brand.light .dev-name strong { color: #fff; }
.dev-nav { display: flex; gap: 4px; margin-left: auto; }
.dev-nav a { padding: 8px 12px; font-weight: 600; font-size: 14.5px; color: var(--char); border-radius: 8px; }
.dev-nav a:hover { color: var(--brand); background: color-mix(in srgb, var(--brand) 8%, #fff); }
.dev-call { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.dev-call .ic { color: var(--brand); }
.dev-menu { display: none; }
.dev-mnav { display: grid; border-top: 1px solid var(--line); background: #fff; }
.dev-mnav[hidden] { display: none; }
.dev-mnav a { padding: 13px 16px; border-bottom: 1px solid var(--line); font-weight: 600; }

.dev-hero { position: relative; min-height: 480px; background: #222 var(--hero-bg) center / cover no-repeat; display: flex; align-items: center; }
.dev-hero .hero-shade { background: linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.35) 60%, rgba(0,0,0,.15) 100%); }
.dev-hero-in { position: relative; color: #fff; padding-top: 50px; padding-bottom: 80px; max-width: var(--wrap); }
.dev-hero-logo { width: 96px; height: 96px; border-radius: 18px; background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; margin-bottom: 18px; box-shadow: 0 8px 30px rgba(0,0,0,.3); font-size: 30px; font-weight: 900; color: var(--brand); }
.dev-hero-logo img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.dev-hero h1 { color: #fff; font-size: clamp(32px, 5vw, 58px); font-weight: 900; margin: 0 0 10px; text-shadow: 0 2px 20px rgba(0,0,0,.35); }
.dev-hero p { font-size: 18px; max-width: 620px; opacity: .95; margin: 0 0 24px; }
.dev-hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.dev-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--brand); }
.dev-stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: -48px; position: relative; z-index: 3; box-shadow: var(--shadow-lg); padding: 20px 10px; text-align: center; }
.dev-stats > div { border-right: 1px solid var(--line); padding: 4px 8px; }
.dev-stats > div:last-child { border-right: 0; }
.dev-stats strong { display: block; font-size: 30px; font-weight: 900; color: var(--brand); line-height: 1.1; }
.dev-stats span { font-size: 13px; color: var(--muted); font-weight: 600; }
.dev-featured { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; height: 520px; }
.dev-feat { position: relative; border-radius: 16px; overflow: hidden; display: block; background: #222; }
.dev-feat.big { grid-row: 1 / 3; }
.dev-feat > img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.dev-feat:hover > img { transform: scale(1.05); }
.dev-feat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 35%, rgba(0,0,0,.82)); }
.df-info { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; color: #fff; display: flex; flex-direction: column; gap: 3px; }
.df-info .badge { position: static; align-self: flex-start; margin-bottom: 4px; }
.df-info strong { font-size: 20px; color: #fff; }
.dev-feat.big .df-info strong { font-size: 26px; }
.df-info small { opacity: .9; font-size: 13.5px; }
.df-info b { font-size: 17px; }
.df-logo { width: 64px; height: 44px; background: rgba(255,255,255,.95); border-radius: 8px; padding: 4px; margin-bottom: 6px; }
.df-logo img { width: 100%; height: 100%; object-fit: contain; }
.dev-tabs { flex-wrap: wrap; border-radius: 12px; }
.dev-tabs button { border-radius: 9px; }
.dev-card-wrap[hidden] { display: none; }
.dev-card-wrap > .jcard { height: 100%; }
.jcard-logo { position: absolute; left: 10px; bottom: 10px; width: 62px; height: 40px; background: rgba(255,255,255,.95); border-radius: 7px; padding: 3px; box-shadow: var(--shadow); }
.jcard-logo img { width: 100%; height: 100%; object-fit: contain; }
.dev-about { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
.dev-about .card { margin: 0; }
.dev-facts h3 { font-size: 15px; margin-top: 4px; }
.dev-facts dl { margin: 0 0 16px; }
.dev-facts dl div { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.dev-facts dt { color: var(--muted); } .dev-facts dd { margin: 0; font-weight: 700; text-align: right; }
.dev-places { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.dev-places li { display: flex; align-items: center; gap: 6px; font-size: 14px; }
.dev-places .ic { color: var(--brand); width: 15px; height: 15px; }
.dev-places span { margin-left: auto; font-size: 12px; background: var(--bg); border-radius: 99px; padding: 1px 8px; color: var(--muted); }
.dev-contact { margin-top: 50px; background: linear-gradient(120deg, var(--brand), color-mix(in srgb, var(--brand) 55%, #000)); color: #fff; padding: 56px 0; }
.dev-contact-in { display: grid; grid-template-columns: 1fr 420px; gap: 40px; align-items: center; }
.dev-contact h2 { color: #fff; font-size: 30px; }
.dev-contact p { opacity: .92; font-size: 16px; }
.dev-contact .ticks { flex-direction: column; }
.dev-form { margin: 0; color: var(--text); }
.dev-footer { background: #121316; color: #c3c6cc; padding-top: 44px; font-size: 14px; }
.df-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 30px; }
.df-grid h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px; }
.df-grid > div > a { display: flex; align-items: center; gap: 6px; padding: 4px 0; color: #c3c6cc; }
.df-grid > div > a:hover { color: #fff; }
.df-grid .ic { width: 15px; height: 15px; }
.df-grid p { margin-top: 12px; }
.df-disclaimer { font-size: 12px; color: #8b8f97; border-top: 1px solid #2a2c31; margin-top: 30px; padding-top: 16px; padding-bottom: 28px; }
.dev-phero { position: relative; min-height: 560px; background: #222 var(--hero-bg) center / cover no-repeat; display: flex; align-items: flex-end; }
.dev-phero .hero-shade { background: linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.78)); }
.dev-phero-in { position: relative; color: #fff; padding-top: 40px; padding-bottom: 44px; }
.dev-plogo { display: inline-flex; width: 150px; height: 84px; background: rgba(255,255,255,.95); border-radius: 12px; padding: 8px; margin: 14px 0 6px; }
.dev-plogo img { width: 100%; height: 100%; object-fit: contain; }
.dev-phero h1 { color: #fff; font-size: clamp(30px, 4.6vw, 52px); font-weight: 900; margin: 8px 0 6px; }
.dev-phero-facts { display: flex; flex-wrap: wrap; gap: 0; margin: 18px 0 22px; background: rgba(255,255,255,.12); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.2); border-radius: 14px; width: fit-content; max-width: 100%; }
.dev-phero-facts > div { padding: 12px 22px; border-right: 1px solid rgba(255,255,255,.2); }
.dev-phero-facts > div:last-child { border-right: 0; }
.dev-phero-facts small { display: block; font-size: 12px; opacity: .8; }
.dev-phero-facts strong { font-size: 18px; }
.dev-ptabs { top: 73px; }
.dev-side { border-top: 4px solid var(--brand); }
.color-row { display: flex; gap: 8px; margin-top: 5px; }
.color-row input[type=color] { width: 52px; height: 42px; padding: 3px; flex: none; }

@media (max-width: 1024px) {
  .dev-nav, .dev-call span { display: none; }
  .dev-menu { display: inline-flex; }
  .dev-call { margin-left: auto; }
  .dev-stats { grid-template-columns: repeat(3, 1fr); row-gap: 14px; }
  .dev-stats > div:nth-child(3) { border-right: 0; }
  .dev-featured { grid-template-columns: 1fr 1fr; grid-template-rows: 300px 220px; height: auto; }
  .dev-feat.big { grid-column: 1 / 3; grid-row: auto; }
  .dev-about, .dev-contact-in { grid-template-columns: minmax(0, 1fr); }
  .dev-ptabs { top: 73px; }
}
@media (max-width: 760px) {
  .ds-note { display: none; }
  .dev-strip .wrap { justify-content: space-between; }
  .dh-row { height: 62px; gap: 10px; }
  .dev-logo { width: 42px; height: 42px; }
  .dev-name strong { font-size: 16px; }
  .dev-header .dev-btn { padding: 8px 12px; font-size: 13px; }
  .dev-hero { min-height: 420px; }
  .dev-hero-logo { width: 72px; height: 72px; }
  .dev-hero p { font-size: 15.5px; }
  .dev-stats { grid-template-columns: repeat(2, 1fr); margin-top: -36px; }
  .dev-stats > div { border-right: 0; }
  .dev-stats strong { font-size: 24px; }
  .dev-featured { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .dev-feat, .dev-feat.big { grid-column: auto; height: 260px; }
  .dev-contact { padding: 40px 0; }
  .dev-contact h2 { font-size: 24px; }
  .df-grid { grid-template-columns: minmax(0, 1fr); }
  .dev-phero { min-height: 520px; }
  .dev-plogo { width: 120px; height: 66px; }
  .dev-phero-facts > div { padding: 10px 14px; flex: 1 1 45%; border-right: 0; }
  .dev-ptabs { top: 65px; }
  .dev-tabs { width: 100%; }
}
@media (max-width: 420px) {
  .dev-header .dev-btn { display: none; }
}
.dev-site .btn-white { color: var(--brand); }
@media (max-width: 760px) { .bb-head { flex-wrap: wrap; } .bb-head .btn { margin-left: 0; } }
.city-btn .city-pin { width: 18px; height: 18px; color: var(--red); }
.site-header.is-overlay:not(.scrolled) .city-btn .city-pin { color: #fff; }

/* footer social icons */
.f-social { display: flex; gap: 10px; margin-top: 16px; }
.f-social a { width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,.1); color: #fff; transition: background .2s, transform .2s; }
.f-social a:hover { background: var(--red); transform: translateY(-2px); }
.f-social .ic { width: 18px; height: 18px; }
.contact-social { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 14px; }
.contact-social a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.contact-social .ic { width: 18px; height: 18px; color: var(--red); }
