/* Self-hosted fonts (SIL Open Font License) — no third-party request, no render-blocking CSS. */
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/assets/fonts/jakarta-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/assets/fonts/jakarta-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Cinzel'; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/cinzel-700-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F; }
/* Metric-matched fallback so text doesn't jump when the web font arrives. */
@font-face { font-family: 'Jakarta Fallback'; src: local('Arial'); size-adjust: 104%; ascent-override: 98%; descent-override: 21%; line-gap-override: 0%; }

/* =========================================================================
   Radha Properties — Design System
   Trust (deep navy) · Growth (emerald) · Premium (gold, used sparingly)
   ========================================================================= */
:root {
  --navy-950: #071726;
  --navy-900: #0B2239;
  --navy-800: #0A3D62;
  --navy-700: #13507E;
  --navy-50: #EEF4FA;
  --green-600: #07704F;
  --green-500: #10A37F;
  --green-50: #E8F7F2;
  --gold-800: #6E5317;
  --gold-700: #8A6A1E;
  --gold-600: #B08A35;
  --gold-500: #C9A24A;
  --gold-400: #DDBE73;
  --gold-300: #E9D3A0;
  --gold-50: #FBF5E6;
  --cream: #FDFAF3;
  --red-500: #D64545;
  --red-50: #FDEEEE;
  --amber-500: #D98A0B;
  --amber-50: #FDF4E3;

  --text: #0F1B2A;
  --text-2: #3D4B5C;
  --muted: #5C6A7B;
  --line: #E7E2D8;
  --line-2: #F0ECE4;
  --surface: #F8F6F1;
  --bg: #FFFFFF;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --shadow-xs: 0 1px 2px rgba(11, 34, 57, .06);
  --shadow-sm: 0 2px 8px rgba(11, 34, 57, .06), 0 1px 2px rgba(11, 34, 57, .04);
  --shadow: 0 10px 30px -8px rgba(11, 34, 57, .16), 0 2px 6px rgba(11, 34, 57, .05);
  --shadow-lg: 0 24px 60px -18px rgba(11, 34, 57, .28);
  --ring: 0 0 0 4px rgba(201, 162, 74, .22);

  --font: 'Plus Jakarta Sans', 'Jakarta Fallback', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --container: 1240px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.6; color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; letter-spacing: -0.02em; color: var(--navy-900); }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 2px; border-radius: 6px; }
.i { width: 20px; height: 20px; flex: none; }
.i.sm { width: 16px; height: 16px; }
.i.lg { width: 24px; height: 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding-block: 96px; }
.section.tight { padding-block: 64px; }
.section.alt { background: var(--surface); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--gold-700);
}
.eyebrow::before { content: ''; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; margin-top: 10px; }
.section-head p { color: var(--muted); margin-top: 10px; max-width: 560px; font-size: 16px; }
.center { text-align: center; }
.section-head.center { flex-direction: column; align-items: center; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 22px;
  border-radius: 10px; font-weight: 700; font-size: 14.5px; white-space: nowrap; transition: all .18s ease;
  border: 1px solid transparent; letter-spacing: -0.005em;
}
.btn .i { width: 18px; height: 18px; }
.btn-primary { background: linear-gradient(135deg, #DDBE73, #C9A24A 55%, #B08A35); color: var(--navy-950); box-shadow: 0 6px 18px -6px rgba(176, 138, 53, .55), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn-primary:hover { filter: brightness(1.05); transform: translateY(-1px); box-shadow: 0 10px 24px -8px rgba(176, 138, 53, .6), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn-dark { background: var(--navy-900); color: #fff; }
.btn-dark:hover { background: var(--navy-800); transform: translateY(-1px); }
.btn-outline { border-color: var(--line); background: #fff; color: var(--navy-900); }
.btn-outline:hover { border-color: var(--navy-900); }
.btn-ghost { color: var(--navy-900); }
.btn-ghost:hover { background: var(--surface); }
.btn-white { background: #fff; color: var(--navy-900); }
.btn-white:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-wa { background: #13803F; color: #fff; }
.btn-wa:hover { background: #0F6B34; }
.btn-sm { height: 38px; padding: 0 14px; font-size: 13.5px; border-radius: 9px; }
.btn-lg { height: 54px; padding: 0 28px; font-size: 15.5px; border-radius: 12px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; pointer-events: none; }
.link { color: var(--gold-700); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.link:hover { gap: 10px; }
.link .i { width: 16px; height: 16px; transition: transform .2s; }

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h); background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 20px -12px rgba(11, 34, 57, .15); }
.site-header .container { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.logo-mark { height: 46px; width: auto; flex: none; }
.brand-text { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.brand-text b { font-family: 'Cinzel', Georgia, serif; font-size: 23px; font-weight: 700; letter-spacing: .07em; color: var(--navy-900); text-transform: uppercase; }
.brand-text small { display: flex; align-items: center; gap: 5px; font-size: 8.5px; font-weight: 700; letter-spacing: .34em; color: var(--gold-700); margin-top: 5px; padding-left: .34em; }
.brand-text small::before, .brand-text small::after { content: ''; width: 8px; height: 1px; background: currentColor; opacity: .7; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { padding: 8px 14px; border-radius: 8px; font-weight: 600; font-size: 14.5px; color: var(--text-2); transition: .15s; }
.nav a:hover, .nav a.active { color: var(--navy-900); background: var(--surface); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.icon-btn {
  position: relative; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 10px;
  color: var(--navy-900); border: 1px solid var(--line); background: #fff; transition: .15s;
}
.icon-btn:hover { border-color: var(--navy-900); }
.badge-count {
  position: absolute; top: -6px; right: -6px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px;
  background: var(--gold-500); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; border: 2px solid #fff;
}
.badge-count:empty, .badge-count[data-n="0"] { display: none; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: var(--navy-900); padding: 0 8px; }
.header-phone .i { color: var(--gold-500); width: 18px; height: 18px; }
.menu-btn { display: none; }

.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0 0; background: #fff; z-index: 49; padding: 24px; display: none;
  flex-direction: column; gap: 6px; overflow-y: auto;
}
.mobile-nav.open { display: flex; animation: fadeIn .2s ease; }
.mobile-nav a.m-link { padding: 14px 4px; font-size: 18px; font-weight: 700; border-bottom: 1px solid var(--line-2); color: var(--navy-900); display: flex; justify-content: space-between; }
.mobile-nav .btn { margin-top: 12px; }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; padding: 56px 0 88px; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(201, 162, 74, .10), transparent 60%),
    radial-gradient(700px 400px at -10% 20%, rgba(10, 61, 98, .08), transparent 60%),
    linear-gradient(#fff, #F7FAFC);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; background: #fff;
  border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--text-2); box-shadow: var(--shadow-xs);
}
.pill b { background: var(--gold-50); color: var(--gold-700); padding: 3px 10px; border-radius: 999px; font-size: 12px; }
.hero h1 { font-size: clamp(36px, 5.2vw, 60px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.06; margin: 22px 0 18px; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #9C7728, #C9A24A 60%, #A8842F); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { font-size: 18px; color: var(--text-2); max-width: 520px; }

.search-card { margin-top: 32px; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--line-2); max-width: 640px; }
.search-tabs { display: flex; gap: 4px; padding: 8px 8px 0; border-bottom: 1px solid var(--line-2); }
.search-tabs button { padding: 12px 18px; font-weight: 700; font-size: 14px; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.search-tabs button.active { color: var(--navy-900); border-color: var(--gold-500); }
.search-fields { display: grid; grid-template-columns: 1.35fr 1.1fr 1.1fr auto; gap: 0; padding: 10px; align-items: stretch; }
.sf { display: flex; flex-direction: column; justify-content: center; padding: 6px 12px; border-right: 1px solid var(--line-2); min-width: 0; }
.sf:nth-last-child(2) { border-right: 0; }
.sf label { white-space: nowrap; font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.sf input, .sf select { border: 0; outline: 0; padding: 4px 0 2px; font-weight: 600; font-size: 14.5px; text-overflow: ellipsis; background: transparent; width: 100%; min-width: 0; color: var(--navy-900); }
.sf select { appearance: none; -webkit-appearance: none; cursor: pointer; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236A7889' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right center; padding-right: 18px; }
.search-fields .btn { height: auto; min-height: 54px; padding: 0 22px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--text-2); }
.hero-trust .i { color: var(--gold-500); width: 18px; height: 18px; }

.hero-visual { position: relative; height: 560px; }
.hero-visual .main-img { position: absolute; inset: 0 0 0 40px; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); }
.hero-visual .main-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual .main-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(7, 23, 38, .45)); }
.float-card {
  position: absolute; background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); border-radius: 16px; box-shadow: var(--shadow-lg);
  padding: 14px 16px; display: flex; align-items: center; gap: 12px; border: 1px solid rgba(255, 255, 255, .6);
}
.float-card .fc-icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--gold-50); color: var(--gold-700); }
.float-card b { display: block; font-size: 15px; color: var(--navy-900); line-height: 1.2; }
.float-card small { color: var(--muted); font-size: 12.5px; font-weight: 600; }
.fc-1 { left: 0; top: 56px; animation: float 6s ease-in-out infinite; }
.fc-2 { right: -12px; bottom: 120px; animation: float 7s ease-in-out infinite .8s; }
.fc-3 { left: 76px; bottom: 28px; right: 28px; padding: 16px 18px; justify-content: space-between; }
.fc-3 .price { font-size: 20px; font-weight: 800; color: var(--navy-900); }
@keyframes float { 50% { transform: translateY(-8px); } }

/* ---------------------------------------------------------------- stats strip */
.stats-strip { border-block: 1px solid var(--line); background: #fff; }
.stats-strip .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 30px 24px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-size: 32px; font-weight: 800; color: var(--navy-900); letter-spacing: -0.03em; line-height: 1.1; }
.stat span { color: var(--muted); font-weight: 600; font-size: 14px; }

/* ---------------------------------------------------------------- property card */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card-media img { transform: scale(1.05); }
.card-tags { position: absolute; top: 14px; left: 14px; display: flex; gap: 6px; flex-wrap: wrap; }
.tag {
  display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border-radius: 7px; font-size: 12px; font-weight: 700;
  background: rgba(255, 255, 255, .95); color: var(--navy-900); backdrop-filter: blur(6px);
}
.tag .i { width: 14px; height: 14px; }
.tag.verified { color: var(--green-600); }
.tag.featured { background: var(--navy-900); color: #fff; }
.tag.sold { background: var(--red-500); color: #fff; }
.fav-btn {
  position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .95);
  display: grid; place-items: center; color: var(--navy-900); transition: .2s; box-shadow: var(--shadow-sm); z-index: 2;
}
.fav-btn:hover { transform: scale(1.08); }
.fav-btn .i { width: 18px; height: 18px; }
.fav-btn.on { color: #E23D5B; }
.fav-btn.on .i { fill: currentColor; }
.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.card-price { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.card-price b { font-size: 21px; font-weight: 800; color: var(--navy-900); letter-spacing: -0.02em; }
.card-price small { color: var(--muted); font-size: 12.5px; font-weight: 600; }
.card h3 { font-size: 16px; font-weight: 700; margin-top: 6px; color: var(--text); }
.card h3 a::after { content: ''; position: absolute; inset: 0; }
.card { position: relative; }
.card-loc { display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: 13.5px; margin-top: 4px; }
.card-loc .i { width: 15px; height: 15px; }
.card-facts { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line-2); margin-top: 16px; }
.card-facts span { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--text-2); }
.card-facts .i { width: 16px; height: 16px; color: var(--muted); }

.skeleton { background: linear-gradient(90deg, var(--line-2), #F7F9FB, var(--line-2)); background-size: 200% 100%; animation: shimmer 1.2s infinite; border-radius: var(--radius-lg); }
.skeleton.card-sk { height: 380px; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------------------------------------------------------------- category tiles */
.cat-tile {
  display: flex; flex-direction: column; gap: 18px; padding: 24px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line);
  transition: .2s; position: relative;
}
.cat-tile:hover { border-color: var(--navy-900); transform: translateY(-3px); box-shadow: var(--shadow); }
.cat-tile .ct-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--navy-50); color: var(--navy-800); }
.cat-tile .ct-icon .i { width: 26px; height: 26px; }
.cat-tile b { font-size: 17px; color: var(--navy-900); }
.cat-tile small { color: var(--muted); font-weight: 600; }
.cat-tile .arrow { position: absolute; top: 24px; right: 24px; color: var(--muted); transition: .2s; }
.cat-tile:hover .arrow { color: var(--gold-500); transform: translate(2px, -2px); }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }

/* ---------------------------------------------------------------- city / localities */
.city-split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.city-card { position: relative; border-radius: var(--radius-xl); overflow: hidden; min-height: 400px; display: flex; align-items: flex-end; color: #fff; }
.city-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.city-card:hover > img { transform: scale(1.04); }
.city-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 23, 38, .05) 20%, rgba(7, 23, 38, .88)); }
.city-card .cc-body { position: relative; z-index: 1; padding: 32px; width: 100%; }
.city-card h3 { color: #fff; font-size: 30px; font-weight: 800; }
.city-card p { color: rgba(255, 255, 255, .8); margin-top: 4px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 999px; font-size: 13px; font-weight: 600;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .22); color: #fff; backdrop-filter: blur(6px); transition: .15s;
}
.chip:hover { background: #fff; color: var(--navy-900); }
.chip em { font-style: normal; opacity: .7; font-weight: 500; }

/* ---------------------------------------------------------------- features */
.feature { padding: 28px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.feature .f-icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--gold-50); color: var(--gold-700); margin-bottom: 20px; }
.feature:nth-child(2) .f-icon { background: var(--navy-50); color: var(--navy-800); }
.feature:nth-child(3) .f-icon { background: var(--green-50); color: var(--green-600); }
.feature:nth-child(4) .f-icon { background: #F1EEFB; color: #5B47B8; }
.feature h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 14.5px; }

/* ---------------------------------------------------------------- sell band */
.sell-band { background: var(--navy-900); border-radius: 28px; overflow: hidden; display: grid; grid-template-columns: 1.1fr .9fr; color: #fff; position: relative; }
.sell-band::before { content: ''; position: absolute; width: 520px; height: 520px; right: -120px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(201, 162, 74, .35), transparent 65%); }
.sell-band .sb-body { padding: 64px; position: relative; }
.sell-band h2 { color: #fff; font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; margin: 12px 0 14px; }
.sell-band p.lead { color: rgba(255, 255, 255, .72); font-size: 17px; max-width: 460px; }
.sell-band .eyebrow { color: #E2C47E; }
.steps { display: grid; gap: 18px; margin: 36px 0; }
.step { display: flex; gap: 16px; align-items: flex-start; }
.step .n { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); flex: none; }
.step b { display: block; font-size: 16px; }
.step span { color: rgba(255, 255, 255, .62); font-size: 14px; }
.sell-band .sb-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.sell-band .sb-visual { position: relative; min-height: 420px; }
.sell-band .sb-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sell-band .sb-visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy-900), transparent 40%); }

/* ---------------------------------------------------------------- EMI calculator */
.emi { display: grid; grid-template-columns: 1.2fr .8fr; gap: 0; border: 1px solid var(--line); border-radius: var(--radius-xl); overflow: hidden; background: #fff; }
.emi-inputs { padding: 40px; display: grid; gap: 28px; }
.range-row label { display: flex; justify-content: space-between; align-items: center; font-weight: 600; color: var(--text-2); font-size: 14.5px; margin-bottom: 12px; }
.range-row label output { font-weight: 800; color: var(--navy-900); font-size: 16px; background: var(--surface); padding: 4px 12px; border-radius: 8px; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; background: linear-gradient(to right, var(--gold-500) var(--p, 50%), var(--line) var(--p, 50%)); outline: none; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 5px solid var(--gold-500); box-shadow: var(--shadow-sm); cursor: pointer; }
input[type=range]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 5px solid var(--gold-500); cursor: pointer; }
.emi-result { background: var(--navy-900); color: #fff; padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.emi-result small { color: rgba(255, 255, 255, .6); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.emi-result .emi-amt { font-size: 44px; font-weight: 800; letter-spacing: -0.03em; margin: 6px 0 24px; }
.emi-break { display: grid; gap: 10px; padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, .12); margin-bottom: 24px; }
.emi-break div { display: flex; justify-content: space-between; font-size: 14.5px; color: rgba(255, 255, 255, .75); }
.emi-break b { color: #fff; }
.emi-bar { height: 8px; border-radius: 8px; overflow: hidden; display: flex; background: rgba(255, 255, 255, .1); margin-top: 6px; }
.emi-bar i { display: block; background: var(--gold-400); }
.emi-bar i + i { background: rgba(255, 255, 255, .35); }

/* ---------------------------------------------------------------- FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: .2s; }
.faq details[open] { box-shadow: var(--shadow-sm); border-color: transparent; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 700; font-size: 16px; color: var(--navy-900); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { transition: transform .2s; color: var(--muted); }
.faq details[open] summary .i { transform: rotate(180deg); }
.faq details p { padding: 0 24px 22px; color: var(--text-2); }

/* ---------------------------------------------------------------- CTA band */
.cta-band { background: linear-gradient(120deg, var(--navy-950), var(--navy-900) 45%, var(--navy-800)); border-radius: 28px; padding: 56px 64px; color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 32px; position: relative; overflow: hidden; }
.cta-band::after { content: ''; position: absolute; right: -60px; bottom: -120px; width: 360px; height: 360px; border-radius: 50%; border: 60px solid rgba(201, 162, 74, .14); }
.cta-band h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); font-weight: 800; }
.cta-band p { color: rgba(255, 255, 255, .72); margin-top: 8px; font-size: 16px; }
.cta-band .cta-actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-band .btn-outline-w { border: 1px solid rgba(255, 255, 255, .5); color: #fff; }
.cta-band .btn-outline-w:hover { background: rgba(255, 255, 255, .12); }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, .66); padding: 72px 0 28px; margin-top: 96px; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer .brand-text b { color: #fff; }
.site-footer .brand-text small { color: var(--gold-400); }
.site-footer .logo-mark { height: 58px; padding: 7px 8px; background: var(--cream); border-radius: 14px; box-shadow: 0 0 0 1px rgba(201, 162, 74, .35); }
.site-footer .f-title { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 18px; letter-spacing: .02em; }
.site-footer ul { display: grid; gap: 11px; }
.site-footer a:hover { color: #fff; }
.footer-about { margin-top: 18px; max-width: 280px; line-height: 1.7; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .i { width: 18px; height: 18px; color: var(--gold-500); margin-top: 2px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 56px; padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; }
.footer-bottom nav { display: flex; gap: 20px; }

/* ---------------------------------------------------------------- page header & breadcrumbs */
.page-head { padding: 36px 0 28px; background: linear-gradient(#F7FAFC, #fff); border-bottom: 1px solid var(--line-2); }
.crumbs { display: flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--muted); font-weight: 500; flex-wrap: wrap; }
.crumbs a:hover { color: var(--navy-900); }
.crumbs .i { width: 14px; height: 14px; }
.page-head h1 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; margin-top: 12px; }
.page-head p { color: var(--muted); margin-top: 6px; }

/* ---------------------------------------------------------------- listings */
.listing-layout { display: grid; grid-template-columns: 290px 1fr; gap: 36px; padding: 32px 0 40px; align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 20px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); max-height: calc(100vh - var(--header-h) - 40px); display: flex; flex-direction: column; }
.filters-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line-2); }
.filters-head b { font-size: 16px; color: var(--navy-900); }
.filters-head button { font-size: 13px; font-weight: 700; color: var(--gold-700); }
.filters-body { overflow-y: auto; padding: 4px 20px 20px; }
.f-group { padding: 18px 0; border-bottom: 1px solid var(--line-2); }
.f-group:last-child { border-bottom: 0; }
.f-group > label, .f-group > .f-label { display: block; font-size: 13px; font-weight: 700; color: var(--navy-900); margin-bottom: 12px; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg button, .seg label {
  height: 36px; padding: 0 14px; border-radius: 9px; border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; color: var(--text-2);
  display: inline-flex; align-items: center; cursor: pointer; transition: .15s; background: #fff; user-select: none;
}
.seg button:hover, .seg label:hover { border-color: var(--navy-900); }
.seg button.on, .seg label:has(input:checked) { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.input, .select, .textarea {
  width: 100%; height: 46px; border: 1px solid var(--line); border-radius: 10px; padding: 0 14px; background: #fff; font-size: 14.5px; font-weight: 500;
  transition: border-color .15s, box-shadow .15s; outline: none; color: var(--text);
}
.textarea { height: auto; padding: 12px 14px; resize: vertical; min-height: 110px; line-height: 1.55; }
.select { appearance: none; -webkit-appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236A7889' stroke-width='2.2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center; padding-right: 38px; cursor: pointer; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--gold-500); box-shadow: var(--ring); }
.input::placeholder, .textarea::placeholder { color: #9AA6B4; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.check { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--text-2); cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--gold-500); }

.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.toolbar .count { font-weight: 600; color: var(--text-2); }
.toolbar .count b { color: var(--navy-900); }
.toolbar .select { width: auto; height: 42px; font-weight: 600; }
.active-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.active-chips:empty { display: none; }
.fchip { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 8px 0 12px; border-radius: 8px; background: var(--navy-50); color: var(--navy-800); font-size: 13px; font-weight: 600; }
.fchip button { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 5px; }
.fchip button:hover { background: rgba(10, 61, 98, .12); }
.fchip .i { width: 14px; height: 14px; }
.results { grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 1240px) { .results { grid-template-columns: repeat(2, 1fr); } }
.filter-toggle { display: none; }
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 40px; }
.pagination .pg { min-width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line); font-weight: 700; color: var(--text-2); display: grid; place-items: center; padding: 0 10px; }
.pagination a.pg:hover { border-color: var(--navy-900); }
.pagination .pg.on { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.pagination .pg.disabled { opacity: .4; }

.empty { text-align: center; padding: 64px 24px; border: 1px dashed var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.empty .e-icon { width: 64px; height: 64px; border-radius: 18px; background: #fff; display: grid; place-items: center; margin: 0 auto 18px; color: var(--navy-800); box-shadow: var(--shadow-sm); }
.empty .e-icon .i { width: 28px; height: 28px; }
.empty h3 { font-size: 20px; }
.empty p { color: var(--muted); margin: 8px auto 22px; max-width: 420px; }
.empty .btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ---------------------------------------------------------------- property detail */
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 220px 220px; gap: 10px; border-radius: var(--radius-xl); overflow: hidden; margin-top: 24px; position: relative; }
.gallery button { position: relative; overflow: hidden; background: var(--surface); }
.gallery button:first-child { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, filter .3s; }
.gallery button:hover img { transform: scale(1.03); filter: brightness(.94); }
.gallery.n1 { grid-template-columns: 1fr; grid-template-rows: 460px; }
.gallery.n2, .gallery.n3, .gallery.n4 { grid-template-columns: 2fr 1fr; }
.gallery.n2 button:first-child { grid-row: span 2; }
.gallery.n4 button:nth-child(n+4) { display: none; }
.gallery .all-photos { position: absolute; right: 16px; bottom: 16px; z-index: 2; }
.gallery .all-photos .btn { background: #fff; box-shadow: var(--shadow); }

.detail-layout { display: grid; grid-template-columns: 1fr 380px; gap: 48px; padding: 36px 0 24px; align-items: start; }
.d-title-row { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; }
.d-title h1 { font-size: clamp(24px, 2.8vw, 32px); font-weight: 800; }
.d-loc { display: flex; align-items: center; gap: 6px; color: var(--muted); margin-top: 8px; font-weight: 500; }
.d-loc .i { width: 17px; height: 17px; }
.d-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.badge { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px; border-radius: 7px; font-size: 12.5px; font-weight: 700; background: var(--surface); color: var(--text-2); }
.badge .i { width: 14px; height: 14px; }
.badge.green { background: var(--green-50); color: var(--green-600); }
.badge.navy { background: var(--navy-50); color: var(--navy-800); }
.badge.gold { background: var(--gold-50); color: #8C6A1C; }
.badge.red { background: var(--red-50); color: var(--red-500); }
.badge.amber { background: var(--amber-50); color: var(--amber-500); }
.d-actions { display: flex; gap: 8px; flex: none; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius-lg); margin: 28px 0; overflow: hidden; }
.fact { padding: 18px 20px; border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); display: flex; gap: 12px; align-items: center; }
.fact:nth-child(4n) { border-right: 0; }
.fact .i { color: var(--navy-700); width: 22px; height: 22px; }
.fact small { display: block; font-size: 12px; color: var(--muted); font-weight: 600; }
.fact b { font-size: 15px; color: var(--navy-900); }
.d-section { padding: 28px 0; border-top: 1px solid var(--line-2); }
.d-section h2 { font-size: 20px; font-weight: 800; margin-bottom: 16px; }
.d-desc { color: var(--text-2); white-space: pre-line; }
.amen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.amen span { display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--text-2); font-size: 14.5px; }
.amen .i { color: var(--gold-500); width: 18px; height: 18px; }
.map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); height: 340px; background: var(--surface); }
.map iframe { width: 100%; height: 100%; border: 0; }

.contact-card { position: sticky; top: calc(var(--header-h) + 20px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl); box-shadow: var(--shadow); padding: 26px; }
.contact-card .cc-price { font-size: 32px; font-weight: 800; color: var(--navy-900); letter-spacing: -0.03em; }
.contact-card .cc-sub { color: var(--muted); font-weight: 600; font-size: 13.5px; }
.contact-card form { display: grid; gap: 12px; margin-top: 20px; }
.contact-card .divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 12.5px; font-weight: 600; margin: 16px 0; }
.contact-card .divider::before, .contact-card .divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.contact-card .cc-quick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.contact-card .assure { display: flex; gap: 10px; align-items: center; margin-top: 18px; padding: 12px 14px; border-radius: 10px; background: var(--green-50); color: var(--green-600); font-size: 13px; font-weight: 600; }
.contact-card .assure .i { width: 18px; height: 18px; }
.mobile-cta { display: none; }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(7, 23, 38, .96); display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; animation: fadeIn .2s; }
.lightbox img { max-width: 92vw; max-height: 84vh; border-radius: 12px; object-fit: contain; }
.lightbox .lb-btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center; }
.lightbox .lb-btn:hover { background: rgba(255, 255, 255, .22); }
.lightbox .lb-close { top: 20px; right: 20px; }
.lightbox .lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-count { position: absolute; bottom: 24px; color: rgba(255, 255, 255, .7); font-weight: 600; }

/* ---------------------------------------------------------------- modal */
.modal { position: fixed; inset: 0; z-index: 90; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(7, 23, 38, .55); backdrop-filter: blur(4px); }
.modal.open { display: flex; animation: fadeIn .2s; }
.modal-box { background: #fff; border-radius: var(--radius-xl); width: 100%; max-width: 460px; box-shadow: var(--shadow-lg); position: relative; animation: pop .25s ease; max-height: calc(100vh - 40px); overflow-y: auto; }
.modal-box.wide { max-width: 640px; }
.modal-head { padding: 26px 28px 0; }
.modal-head h3 { font-size: 22px; font-weight: 800; }
.modal-head p { color: var(--muted); margin-top: 6px; font-size: 14.5px; }
.modal-close { position: absolute; top: 18px; right: 18px; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: var(--muted); }
.modal-close:hover { background: var(--surface); color: var(--navy-900); }
.modal form { padding: 22px 28px 28px; display: grid; gap: 14px; }
.field { display: grid; gap: 7px; }
.field > label { font-size: 13px; font-weight: 700; color: var(--navy-900); }
.field > label em { color: var(--red-500); font-style: normal; }
.field .hint { font-size: 12.5px; color: var(--muted); }
.phone-input { display: flex; align-items: stretch; }
.phone-input span { display: grid; place-items: center; padding: 0 12px; border: 1px solid var(--line); border-right: 0; border-radius: 10px 0 0 10px; background: var(--surface); font-weight: 700; color: var(--text-2); font-size: 14px; }
.phone-input .input { border-radius: 0 10px 10px 0; }
.form-note { font-size: 12.5px; color: var(--muted); text-align: center; }
.form-error { background: var(--red-50); color: var(--red-500); padding: 10px 14px; border-radius: 10px; font-size: 13.5px; font-weight: 600; display: none; }
.form-error.show { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.success { text-align: center; padding: 40px 28px 32px; }
.success .s-icon { width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--green-50); color: var(--green-500); animation: pop .35s ease; }
.success .s-icon .i { width: 34px; height: 34px; stroke-width: 2.4; }
.success h3 { font-size: 22px; font-weight: 800; }
.success p { color: var(--muted); margin: 8px auto 22px; max-width: 360px; }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(.96) translateY(6px); } }

.toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 20px); background: var(--navy-900); color: #fff; padding: 12px 20px; border-radius: 12px; font-weight: 600; font-size: 14px; box-shadow: var(--shadow-lg); opacity: 0; transition: .25s; z-index: 200; pointer-events: none; display: flex; align-items: center; gap: 10px; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast .i { color: #E2C47E; width: 18px; height: 18px; }

.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -6px rgba(37, 211, 102, .6); transition: transform .2s; }
.wa-float:hover { transform: scale(1.07); }
.wa-float .i { width: 28px; height: 28px; }

/* ---------------------------------------------------------------- sell page */
.sell-layout { display: grid; grid-template-columns: 1fr 360px; gap: 40px; padding: 40px 0; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl); box-shadow: var(--shadow-sm); overflow: hidden; }
.stepper { display: flex; border-bottom: 1px solid var(--line-2); background: var(--surface); }
.stepper div { flex: 1; display: flex; align-items: center; gap: 10px; padding: 18px 22px; font-weight: 700; font-size: 14px; color: var(--muted); position: relative; }
.stepper div i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 13px; background: #fff; border: 1px solid var(--line); }
.stepper div.on { color: var(--navy-900); }
.stepper div.on i { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.stepper div.done i { background: var(--gold-500); color: #fff; border-color: var(--gold-500); }
.stepper div.on::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--navy-900); }
.form-step { padding: 32px; display: none; gap: 22px; }
.form-step.on { display: grid; animation: fadeIn .25s; }
.form-step h2 { font-size: 22px; font-weight: 800; }
.form-step .sub { color: var(--muted); margin-top: -14px; }
.grid-2f { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.grid-3f { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.type-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.type-pick label { border: 1.5px solid var(--line); border-radius: 14px; padding: 18px 12px; text-align: center; cursor: pointer; transition: .15s; display: grid; gap: 8px; justify-items: center; font-weight: 700; font-size: 14px; color: var(--text-2); position: relative; }
.type-pick label:hover { border-color: var(--navy-700); }
.type-pick label .i { width: 26px; height: 26px; color: var(--navy-700); }
.type-pick input { position: absolute; opacity: 0; }
.type-pick label:has(input:checked) { border-color: var(--gold-500); background: var(--gold-50); color: var(--navy-900); box-shadow: var(--ring); }
.amen-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.dropzone { border: 2px dashed var(--line); border-radius: 16px; padding: 36px; text-align: center; cursor: pointer; transition: .2s; background: var(--surface); }
.dropzone:hover, .dropzone.drag { border-color: var(--gold-500); background: var(--gold-50); }
.dropzone .i { display: block; width: 36px; height: 36px; color: var(--navy-700); margin: 0 auto 10px; }
.dropzone b { color: var(--navy-900); }
.dropzone p { color: var(--muted); font-size: 13.5px; margin-top: 4px; }
.thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.thumbs div { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button { position: absolute; top: 6px; right: 6px; width: 24px; height: 24px; border-radius: 50%; background: rgba(7, 23, 38, .7); color: #fff; display: grid; place-items: center; }
.thumbs button .i { width: 14px; height: 14px; }
.thumbs div:first-child::after { content: 'Cover'; position: absolute; left: 6px; bottom: 6px; background: var(--navy-900); color: #fff; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 5px; }
.form-foot { display: flex; justify-content: space-between; gap: 12px; padding: 20px 32px; border-top: 1px solid var(--line-2); background: var(--surface); }
.side-card { background: var(--navy-900); color: #fff; border-radius: var(--radius-xl); padding: 30px; position: sticky; top: calc(var(--header-h) + 20px); overflow: hidden; }
.side-card h3 { color: #fff; font-size: 20px; font-weight: 800; margin-bottom: 20px; }
.side-card ul { display: grid; gap: 18px; }
.side-card li { display: flex; gap: 14px; }
.side-card li .i { color: #E2C47E; width: 22px; height: 22px; margin-top: 2px; }
.side-card li b { display: block; font-size: 15px; }
.side-card li span { color: rgba(255, 255, 255, .62); font-size: 13.5px; }
.side-card .help { margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); }
.side-card .help p { color: rgba(255, 255, 255, .7); font-size: 14px; margin-bottom: 12px; }

/* ---------------------------------------------------------------- legal / 404 */
.prose { max-width: 760px; margin: 0 auto; padding: 48px 0; color: var(--text-2); }
.prose h2 { font-size: 20px; margin: 32px 0 10px; }
.prose p { margin-bottom: 12px; }
.prose a { color: var(--gold-700); font-weight: 600; }
.nf { text-align: center; padding: 120px 0 40px; }
.nf .code { font-size: 120px; font-weight: 800; letter-spacing: -0.06em; line-height: 1; background: linear-gradient(135deg, var(--navy-800), var(--gold-600)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nf h1 { font-size: 28px; margin: 12px 0 8px; }
.nf p { color: var(--muted); margin-bottom: 28px; }

/* ---------------------------------------------------------------- reveal */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1180px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-grid > :last-child { grid-column: span 3; }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .header-phone { display: none; }
}
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { height: 420px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .sell-band { grid-template-columns: 1fr; }
  .sell-band .sb-visual { min-height: 260px; }
  .sell-band .sb-visual::after { background: linear-gradient(180deg, var(--navy-900), transparent 50%); }
  .emi { grid-template-columns: 1fr; }
  .listing-layout { grid-template-columns: 1fr; }
  .filters { position: fixed; inset: 0; z-index: 95; border-radius: 0; max-height: none; display: none; }
  .filters.open { display: flex; animation: fadeIn .2s; }
  .filters .f-apply { display: flex !important; }
  .filter-toggle { display: inline-flex; }
  .detail-layout { grid-template-columns: 1fr; }
  .contact-card { position: static; }
  .sell-layout { grid-template-columns: 1fr; }
  .side-card { position: static; }
}
@media (max-width: 860px) {
  .nav, .header-actions .btn-list { display: none; }
  .menu-btn { display: grid; }
  .city-split { grid-template-columns: 1fr; }
  .stats-strip .container { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 40px 32px; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(2n) { border-right: 0; }
  .amen { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 260px 130px; }
  .gallery button:first-child { grid-column: span 2; grid-row: auto; }
  .gallery button:nth-child(n+4) { display: none; }
  .gallery.n1 { grid-template-rows: 300px; }
  .gallery.n1 button:first-child { grid-column: auto; }
  .mobile-cta {
    display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -12px rgba(11, 34, 57, .2);
  }
  .mobile-cta .btn { height: 46px; padding: 0 10px; }
  body.has-mobile-cta .wa-float { display: none; }
  body.has-mobile-cta .site-footer { padding-bottom: 96px; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .section { padding-block: 64px; }
  .section-head { flex-direction: column; align-items: flex-start; margin-bottom: 28px; }
  .hero { padding: 32px 0 56px; }
  .hero-lead { font-size: 16px; }
  .search-fields { grid-template-columns: 1fr 1fr; gap: 0; padding: 6px; }
  .sf { padding: 10px 12px; border-right: 0; border-bottom: 1px solid var(--line-2); }
  .sf:first-child { grid-column: span 2; }
  .sf:nth-child(2) { border-right: 1px solid var(--line-2); }
  .search-fields .btn { grid-column: span 2; margin-top: 8px; min-height: 50px; }
  .hero-visual { height: 340px; }
  .hero-visual .main-img { left: 0; }
  .fc-1 { left: 12px; top: 16px; }
  .fc-2 { display: none; }
  .fc-3 { left: 12px; right: 12px; bottom: 12px; }
  .grid-3, .grid-4, .results { grid-template-columns: 1fr; }
  .grid-5 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cat-tile { padding: 18px; }
  .stat { padding: 22px 16px; }
  .stat b { font-size: 26px; }
  .sell-band .sb-body { padding: 40px 24px; }
  .emi-inputs, .emi-result { padding: 28px 22px; }
  .emi-result .emi-amt { font-size: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-grid > :first-child, .footer-grid > :last-child { grid-column: span 2; }
  .cta-band { padding: 36px 24px; border-radius: 22px; }
  .cta-band .cta-actions, .cta-band .cta-actions .btn { width: 100%; }
  .d-title-row { flex-direction: column; }
  .contact-card { padding: 20px; }
  .grid-2f, .grid-3f { grid-template-columns: 1fr; }
  .type-pick, .amen-pick { grid-template-columns: repeat(2, 1fr); }
  .thumbs { grid-template-columns: repeat(3, 1fr); }
  .form-step { padding: 22px; }
  .form-foot { padding: 16px 22px; }
  .stepper div { padding: 14px 10px; font-size: 12.5px; flex-direction: column; gap: 6px; text-align: center; }
  .city-card { min-height: 360px; }
  .city-card .cc-body { padding: 24px; }
  .modal { padding: 0; align-items: flex-end; }
  .modal-box { border-radius: 22px 22px 0 0; max-height: 92vh; }
  .modal-head { padding: 24px 22px 0; }
  .modal form { padding: 18px 22px 24px; }
}
.gallery.n2 button:nth-child(2) { grid-row: span 2; }
[hidden] { display: none !important; }

/* ---------------------------------------------------------------- admin */
.admin-body { background: var(--surface); min-height: 100vh; }
.admin-top { background: #fff; border-bottom: 1px solid var(--line); height: 64px; position: sticky; top: 0; z-index: 30; }
.admin-top .container { height: 100%; display: flex; align-items: center; gap: 24px; max-width: 1440px; }
.admin-tabs { display: flex; gap: 4px; }
.admin-tabs button { padding: 8px 14px; border-radius: 8px; font-weight: 700; font-size: 14px; color: var(--muted); display: inline-flex; gap: 8px; align-items: center; }
.admin-tabs button .i { width: 17px; height: 17px; }
.admin-tabs button.on { background: var(--navy-50); color: var(--navy-900); }
.admin-tabs .n { background: var(--gold-500); color: #fff; font-size: 11px; padding: 1px 7px; border-radius: 10px; }
.admin-wrap { max-width: 1440px; padding-top: 28px; padding-bottom: 60px; }
.login-wrap { min-height: 100vh; display: grid; place-items: center; padding: 20px; background: radial-gradient(800px 400px at 80% 0%, rgba(201, 162, 74, .12), transparent), var(--surface); }
.login-card { background: #fff; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); padding: 40px; width: 100%; max-width: 400px; display: grid; gap: 16px; }
.login-card h1 { font-size: 24px; margin-top: 12px; }
.kpis { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-bottom: 24px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; }
.kpi small { color: var(--muted); font-weight: 600; font-size: 13px; display: flex; align-items: center; gap: 8px; }
.kpi small .i { width: 16px; height: 16px; }
.kpi b { display: block; font-size: 30px; font-weight: 800; color: var(--navy-900); margin-top: 6px; letter-spacing: -0.02em; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line-2); flex-wrap: wrap; }
.panel-head h2 { font-size: 17px; }
.table-wrap { overflow-x: auto; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.tbl th { text-align: left; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: 12px 16px; background: var(--surface); white-space: nowrap; }
.tbl td { padding: 14px 16px; border-top: 1px solid var(--line-2); vertical-align: middle; }
.tbl tr:hover td { background: #FAFBFC; }
.tbl .prop { display: flex; gap: 12px; align-items: center; min-width: 260px; }
.tbl .prop img { width: 64px; height: 48px; border-radius: 8px; object-fit: cover; background: var(--surface); }
.tbl .prop b { display: block; color: var(--navy-900); font-size: 14px; }
.tbl .prop small, .tbl small { color: var(--muted); }
.tbl .acts { display: flex; gap: 6px; align-items: center; }
.tbl .acts .icon-btn { width: 34px; height: 34px; border-radius: 8px; }
.tbl .acts .icon-btn .i { width: 16px; height: 16px; }
.tbl select.select { height: 34px; font-size: 13px; padding: 0 30px 0 10px; width: auto; background-position: right 10px center; }
.toggle { position: relative; width: 38px; height: 22px; display: inline-block; flex: none; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle span { position: absolute; inset: 0; border-radius: 22px; background: var(--line); transition: .2s; cursor: pointer; }
.toggle span::after { content: ''; position: absolute; width: 16px; height: 16px; left: 3px; top: 3px; border-radius: 50%; background: #fff; transition: .2s; box-shadow: var(--shadow-xs); }
.toggle input:checked + span { background: var(--gold-500); }
.toggle input:checked + span::after { transform: translateX(16px); }
.demo-banner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 20px; border-radius: var(--radius); background: var(--amber-50); color: #7A4E05; border: 1px solid #F3DDB0; margin-bottom: 24px; font-weight: 600; flex-wrap: wrap; }
.status-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.status-tabs button { height: 34px; padding: 0 12px; border-radius: 8px; font-weight: 700; font-size: 13px; color: var(--muted); border: 1px solid var(--line); }
.status-tabs button.on { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.msg-cell { max-width: 280px; color: var(--text-2); white-space: normal; }
@media (max-width: 1100px) { .kpis { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .kpis { grid-template-columns: repeat(2, 1fr); } .admin-top .brand-text { display: none; }
  .logo-mark { height: 40px; }
  .brand-text b { font-size: 20px; } .admin-tabs button span.lbl { display: none; } }

/* ---------------------------------------------------------------- account link */
.account-btn { width: auto; padding: 0 12px 0 10px; gap: 8px; display: inline-flex; align-items: center; font-weight: 700; font-size: 13.5px; }
.account-btn .i { width: 18px; height: 18px; color: var(--gold-700); }
.account-link .i { width: 17px; height: 17px; }
@media (max-width: 860px) { .account-link, .account-name { display: none; } .account-btn { padding: 0; width: 42px; justify-content: center; } }

/* ---------------------------------------------------------------- seller auth */
.auth-page { background: radial-gradient(900px 500px at 100% 0%, rgba(201, 162, 74, .12), transparent 60%), linear-gradient(#fff, var(--surface)); }
.auth-grid { display: grid; grid-template-columns: 1fr 460px; gap: 64px; align-items: center; padding: 64px 24px 80px; }
.auth-pitch h1 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; letter-spacing: -0.03em; margin: 14px 0 14px; }
.auth-pitch h1 em { font-style: normal; color: var(--gold-700); }
.auth-pitch .lead { font-size: 17px; color: var(--text-2); max-width: 520px; }
.auth-points { display: grid; gap: 20px; margin-top: 32px; }
.auth-points li { display: flex; gap: 14px; }
.auth-points .i { width: 40px; height: 40px; padding: 10px; border-radius: 12px; background: var(--gold-50); color: var(--gold-700); }
.auth-points b { display: block; color: var(--navy-900); }
.auth-points span { color: var(--muted); font-size: 14px; }
.auth-card { background: #fff; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); border: 1px solid var(--line-2); padding: 8px 28px 28px; }
.auth-card form { display: grid; gap: 16px; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line-2); margin: 0 -28px 24px; }
.auth-tabs button { padding: 18px 0 16px; font-weight: 700; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.auth-tabs button.on { color: var(--navy-900); border-color: var(--gold-500); }
.pw-wrap { position: relative; }
.pw-wrap .input { padding-right: 46px; }
.pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; display: grid; place-items: center; color: var(--muted); border-radius: 8px; }
.pw-toggle:hover { background: var(--surface); }
@media (max-width: 960px) { .auth-grid { grid-template-columns: 1fr; gap: 32px; padding: 32px 16px 56px; } .auth-pitch .auth-points { display: none; } }
@media (max-width: 640px) { .auth-card { padding: 4px 18px 22px; } .auth-tabs { margin: 0 -18px 20px; } }

/* ---------------------------------------------------------------- seller dashboard */
.dash-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.dash-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.dash-grid { display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: start; padding-bottom: 20px; }
.dash-side { display: grid; gap: 20px; position: sticky; top: calc(var(--header-h) + 20px); }
.dash-side .panel { padding: 22px; }
.dash-side h3 { font-size: 17px; margin-bottom: 8px; }
.help-panel p { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.company-lines { display: grid; gap: 10px; }
.company-lines a, .company-lines span { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; color: var(--navy-900); }
.company-lines .i { width: 18px; height: 18px; color: var(--gold-700); }
.company-lines a:hover { color: var(--gold-700); }
.profile-panel { display: grid; gap: 14px; }
.profile-panel summary { cursor: pointer; font-weight: 700; font-size: 14px; color: var(--navy-800); }
.my-list { display: grid; }
.my-item { display: grid; grid-template-columns: 150px 1fr auto; gap: 18px; padding: 18px 20px; border-top: 1px solid var(--line-2); align-items: start; }
.my-item:first-child { border-top: 0; }
.my-item > img { width: 150px; height: 112px; border-radius: 12px; object-fit: cover; background: var(--surface); }
.my-item h3 { font-size: 16.5px; margin: 8px 0 4px; }
.mi-top { display: flex; gap: 6px; flex-wrap: wrap; }
.mi-stats { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 10px; font-size: 13px; color: var(--text-2); font-weight: 600; }
.mi-stats span { display: inline-flex; align-items: center; gap: 6px; }
.mi-stats .i { color: var(--muted); }
.mi-hint { font-size: 13px; color: var(--amber-500); margin-top: 8px; font-weight: 600; }
.mi-actions { display: flex; flex-direction: column; gap: 8px; min-width: 150px; }
.mi-actions .btn { justify-content: flex-start; }
.btn.danger { color: var(--red-500); }
.btn.danger:hover { background: var(--red-50); }
.note-box { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 10px; background: var(--navy-50); color: var(--navy-800); font-size: 13.5px; font-weight: 500; }
.note-box .i { width: 18px; height: 18px; flex: none; margin-top: 1px; }
.note-box.warn { background: var(--red-50); color: var(--red-500); margin-top: 10px; }

/* seller dashboard — buyer enquiries */
.enq-list { display: grid; gap: 12px; }
.enq-item { border: 2px solid var(--gold-300); border-radius: 12px; padding: 14px 16px; background: linear-gradient(180deg, #fffbf0 0%, #fff 100%); transition: box-shadow .15s, border-color .15s; }
.enq-item:hover { box-shadow: 0 6px 18px -4px var(--gold-400); border-color: var(--gold-500); }
.enq-top { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; font-size: 12.5px; }
.enq-top .badge { font-weight: 600; }
.enq-body { font-size: 14px; color: var(--text-2); line-height: 1.55; }
.enq-body > div { margin-bottom: 6px; }
.enq-message { margin-top: 8px; padding: 10px 12px; background: var(--navy-50); border-radius: 8px; white-space: pre-wrap; }
.visit-date { color: var(--navy-700); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; }
.visit-date .i { color: var(--gold-700); }
.enq-actions { margin-top: 10px; }
.status-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.status-badge.new { background: var(--navy-50); color: var(--navy-700); }
.status-badge.contacted { background: var(--amber-50); color: var(--amber-700); }
.status-badge.visit_scheduled { background: var(--emerald-50); color: var(--emerald-700); }
.status-badge.closed { background: var(--navy-100); color: var(--navy-700); }

@media (max-width: 1024px) { .dash-grid { grid-template-columns: 1fr; } .dash-side { position: static; } }
@media (max-width: 720px) {
  .my-item { grid-template-columns: 96px 1fr; }
  .my-item > img { width: 96px; height: 80px; }
  .mi-actions { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; min-width: 0; }
}

/* ---------------------------------------------------------------- company contact card */
.company-card { margin-top: 18px; padding: 18px; border-radius: 14px; background: var(--cream); border: 1px solid var(--gold-300); }
.company-card .co-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.company-card .co-head img { height: 40px; width: auto; }
.company-card .co-head b { display: block; font-family: 'Cinzel', Georgia, serif; font-size: 16px; letter-spacing: .05em; color: var(--navy-900); }
.company-card .co-head small { color: var(--muted); font-size: 12.5px; font-weight: 600; }
.company-card .company-lines a, .company-card .company-lines span { font-size: 13.5px; }
.company-card .company-lines span { color: var(--text-2); font-weight: 500; }
.success .company-card { text-align: left; margin: 0 0 18px; }

/* admin extras */
.pf-modal .modal-box { max-width: 920px; }
.pf-modal .form-card { border: 0; box-shadow: none; }
.lead-actions { display: flex; flex-direction: column; gap: 6px; }
.lead-actions .btn { height: 32px; font-size: 12.5px; padding: 0 10px; justify-content: flex-start; }
.notify-off { font-size: 13px; color: var(--muted); }
.nav a, .header-phone, .account-link { white-space: nowrap; }
@media (max-width: 1360px) { .header-phone { display: none; } }
@media (max-width: 1100px) { .nav a[href="/about"] { display: none; } }
.edit-pending { margin-top: 8px; padding: 10px 12px; border-radius: 10px; background: var(--amber-50); }
.edit-pending ul { margin: 6px 0 8px 18px; list-style: disc; font-size: 12.5px; color: var(--text-2); }
.edit-pending .acts { gap: 6px; }

/* ---------------------------------------------------------------- robustness for seller-written content */
.no-wa-float .wa-float { display: none; }
.card h3 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.4em; }
.card-loc { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.card-loc .i { display: inline-block; vertical-align: -2px; margin-right: 4px; }
.card-body { overflow-wrap: anywhere; }
.d-title h1, .d-desc, .amen span, .fact b { overflow-wrap: anywhere; }
.crumbs span[aria-current] { display: inline-block; max-width: min(60ch, 100%); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }
.d-desc.clamped { max-height: 15.5em; overflow: hidden; position: relative; }
.d-desc.clamped::after { content: ''; position: absolute; inset: auto 0 0 0; height: 4em; background: linear-gradient(transparent, #fff); }
.read-more { margin-top: 10px; }
@media (max-width: 640px) { .crumbs span[aria-current] { max-width: 100%; } }

/* ---------------------------------------------------------------- content pages (areas, guides, about, contact) */
.prose-content { color: var(--text-2); font-size: 16px; line-height: 1.75; }
.prose-content h2 { font-size: 22px; font-weight: 800; margin: 32px 0 12px; color: var(--navy-900); }
.prose-content h2:first-child { margin-top: 0; }
.prose-content h3 { font-size: 18px; margin: 24px 0 8px; }
.prose-content p { margin-bottom: 14px; }
.prose-content ul, .prose-content ol { margin: 0 0 16px 22px; list-style: revert; display: grid; gap: 6px; }
.prose-content a { color: var(--gold-700); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.prose-content blockquote { margin: 18px 0; padding: 14px 18px; border-left: 3px solid var(--gold-500); background: var(--cream); border-radius: 0 10px 10px 0; color: var(--navy-800); }
.prose-content strong { color: var(--navy-900); }

.area-stats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.area-stat { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; }
.area-stat b { display: block; font-size: 18px; color: var(--navy-900); }
.area-stat small { color: var(--muted); font-weight: 600; font-size: 12.5px; }
.area-layout { display: grid; grid-template-columns: 1fr 320px; gap: 40px; padding-top: 36px; padding-bottom: 20px; align-items: start; }
.area-main > section { margin-bottom: 40px; }
.area-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
.area-side { display: grid; gap: 18px; position: sticky; top: calc(var(--header-h) + 20px); }
.area-side .panel { padding: 22px; }
.area-side h3 { font-size: 17px; margin-bottom: 8px; }
.side-cta { display: grid; gap: 10px; background: var(--cream) !important; border-color: var(--gold-300) !important; }
.side-cta p { color: var(--text-2); font-size: 14px; }
.link-list { display: grid; gap: 2px; }
.link-list a { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line-2); font-weight: 600; font-size: 14px; color: var(--navy-900); }
.link-list a:last-child { border-bottom: 0; }
.link-list a:hover { color: var(--gold-700); }
.link-list small { color: var(--muted); font-weight: 600; white-space: nowrap; }
.type-links { display: flex; flex-wrap: wrap; gap: 10px; }
.type-links a { display: inline-flex; gap: 8px; align-items: center; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; font-weight: 600; font-size: 14px; color: var(--navy-900); background: #fff; }
.type-links a:hover { border-color: var(--navy-900); }
.type-links small { color: var(--muted); }
.loc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.loc-card { display: block; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: .2s; }
.loc-card:hover { border-color: var(--navy-900); transform: translateY(-2px); }
.loc-card b { display: block; color: var(--navy-900); font-size: 16px; }
.loc-card small { color: var(--muted); font-weight: 600; }

.guide-card .card-media { aspect-ratio: 16 / 9; }
.guide-card p { color: var(--muted); font-size: 14px; margin-top: 8px; }
.guide-card .eyebrow { font-size: 11px; }
.article { max-width: 820px; padding-top: 24px; padding-bottom: 20px; }
.article-head { margin: 24px 0 24px; }
.article-head h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; margin: 10px 0 12px; letter-spacing: -0.025em; }
.article-lead { font-size: 18px; color: var(--text-2); }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 14px; font-size: 13.5px; color: var(--muted); font-weight: 600; }
.article-cover { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-xl); margin-bottom: 32px; background: var(--surface); }
.article-note { display: flex; gap: 8px; align-items: flex-start; margin-top: 28px; padding: 14px 16px; border-radius: 12px; background: var(--surface); color: var(--muted); font-size: 13.5px; }
.article-note .i { margin-top: 3px; }

.about-grid, .contact-grid { display: grid; grid-template-columns: 1fr 360px; gap: 48px; align-items: start; }
.about-side { display: grid; gap: 18px; position: sticky; top: calc(var(--header-h) + 20px); }
.about-side .panel { padding: 22px; }
.about-side .company-card { margin-top: 0; }
.company-facts { display: grid; gap: 12px; }
.company-facts li { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; border-bottom: 1px solid var(--line-2); padding-bottom: 10px; }
.company-facts li:last-child { border-bottom: 0; padding-bottom: 0; }
.company-facts span { color: var(--muted); font-weight: 600; }
.company-facts b { color: var(--navy-900); text-align: right; }
.process { counter-reset: none; }
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 8px; }
.team-card { display: flex; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.team-card .avatar { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-50); color: var(--gold-800); font-weight: 800; font-size: 20px; flex: none; overflow: hidden; }
.team-card .avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-card b { color: var(--navy-900); display: block; }
.team-card small { color: var(--gold-700); font-weight: 700; }
.team-card p { font-size: 14px; margin: 6px 0 0; }
.contact-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 20px; }
.contact-tile { display: grid; gap: 6px; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: .2s; }
.contact-tile:hover { border-color: var(--gold-500); box-shadow: var(--shadow-sm); }
.contact-tile .i { color: var(--gold-700); }
.contact-tile b { color: var(--navy-900); }
.contact-tile span { color: var(--muted); font-size: 13.5px; font-weight: 600; overflow-wrap: anywhere; }
.office-panel, .contact-form-panel { padding: 24px; }
.office-panel h2, .contact-form-panel h2 { font-size: 20px; margin-bottom: 12px; }
.contact-form-panel > p { color: var(--muted); margin-bottom: 16px; }
.contact-form-panel form { display: grid; gap: 14px; }
.office-addr { display: flex; gap: 10px; align-items: flex-start; color: var(--text-2); margin-bottom: 8px; }
.office-addr .i { color: var(--gold-700); margin-top: 3px; }
@media (max-width: 1024px) {
  .area-layout, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .area-side, .about-side { position: static; }
}
@media (max-width: 640px) {
  .area-grid, .loc-grid, .team-grid, .contact-tiles { grid-template-columns: 1fr; }
  .loc-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------------------------------------------------------------- admin: SEO, company, content */
.seo-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px; margin-bottom: 18px; }
.seo-head p { color: var(--muted); margin-top: 4px; }
.seo-overall { width: 96px; height: 96px; border-radius: 50%; display: grid; place-content: center; text-align: center; border: 8px solid var(--c); flex: none; }
.seo-overall b { font-size: 30px; color: var(--navy-900); line-height: 1; }
.seo-overall small { color: var(--muted); font-weight: 600; font-size: 11px; }
.seo-areas { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; margin-bottom: 18px; }
.seo-area { padding: 18px; }
.seo-area-head { display: flex; justify-content: space-between; align-items: baseline; }
.seo-area-head h3 { font-size: 16px; }
.seo-area-head b { font-size: 26px; }
.seo-bar { height: 6px; background: var(--line-2); border-radius: 6px; overflow: hidden; margin: 8px 0 14px; }
.seo-bar i { display: block; height: 100%; }
.seo-area ul { display: grid; gap: 10px; }
.seo-area li { display: flex; gap: 8px; font-size: 13.5px; align-items: flex-start; }
.seo-area li.ok { color: var(--text-2); }
.seo-area li.ok .i { color: var(--green-600); }
.seo-area li.no .i { color: var(--red-500); }
.seo-area li small { display: block; color: var(--muted); font-size: 12px; }
.seo-cit { padding: 20px; }
.nap { display: flex; gap: 14px; align-items: flex-start; flex-wrap: wrap; margin-bottom: 16px; }
.nap code { display: block; padding: 12px 14px; background: var(--surface); border-radius: 10px; font-size: 13px; line-height: 1.6; }
.company-form { padding: 24px; display: grid; gap: 14px; max-width: 980px; }
.company-form h3 { font-size: 15px; margin-top: 10px; display: flex; align-items: center; gap: 10px; }
.cf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cf-grid .wide, .company-form > .field.wide { grid-column: 1 / -1; }
.member-row { display: grid; grid-template-columns: 44px 1fr 1fr 2fr auto auto; gap: 8px; align-items: center; margin-bottom: 8px; }
.m-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; overflow: hidden; color: var(--muted); }
.m-avatar img { width: 100%; height: 100%; object-fit: cover; }
.area-edit, .post-edit { padding: 22px; display: grid; gap: 14px; margin-top: 16px; }
@media (max-width: 860px) { .cf-grid { grid-template-columns: 1fr; } .member-row { grid-template-columns: 44px 1fr; } }
.seo-area li.part .i { color: var(--amber-500); }
.seo-area li em { font-style: normal; font-weight: 700; color: var(--amber-500); }

/* photo upload states */
.thumbs .ph-state { position: absolute; inset: 0; display: grid; place-content: center; gap: 6px; text-align: center; background: rgba(7, 23, 38, .55); color: #fff; font-size: 12px; }
.thumbs .ph-state i { position: absolute; left: 0; bottom: 0; height: 4px; background: var(--gold-400); transition: width .2s; }
.thumbs .ph-state.failed { background: rgba(214, 69, 69, .75); }
.thumbs .ph.uploading::after, .thumbs .ph.failed::after { display: none; }

/* very small phones (320–400px, e.g. iPhone SE): keep the header on one line without side-scrolling */
@media (max-width: 400px) {
  .site-header .container { gap: 10px; }
  .header-actions { gap: 6px; }
  .header-actions .icon-btn { width: 38px; height: 38px; }
  .logo-mark { height: 36px; }
  .brand { gap: 8px; }
  .brand-text b { font-size: 17px; letter-spacing: .05em; }
  .brand-text small { font-size: 7px; letter-spacing: .26em; }
  .brand-text small::before, .brand-text small::after { width: 5px; }
}
/* Grid items default to min-width:auto, so one wide child can push a page wider than the phone. */
.detail-layout > *, .area-layout > *, .sell-layout > *, .listing-layout > *, .about-grid > *, .contact-grid > *, .dash-grid > *, .hero-grid > * { min-width: 0; }
@media (max-width: 400px) {
  [data-emi] .emi-inputs { padding: 18px !important; }
  [data-emi] .row-2 { grid-template-columns: 1fr; gap: 18px !important; }
  .contact-card .cc-quick { grid-template-columns: 1fr; }
  .contact-card { padding: 16px; }
}
