/* NV Reality — public site. Mobile-first, iOS-inspired. */
:root {
  --bg-primary: #F5F6F8;
  --bg-secondary: #FFFFFF;
  --bg-soft: #F0F2F5;
  --text-primary: #151A23;
  --text-secondary: #697386;
  --text-muted: #98A1B1;
  --accent: #1D4ED8;
  --accent-hover: #1E40AF;
  --accent-soft: rgba(29, 78, 216, .08);
  --success: #16845B;
  --success-soft: #E7F5EF;
  --warning: #C58A27;
  --warning-soft: #FBF3E4;
  --danger: #D14343;
  --border: #E7EAF0;
  --dark: #111827;
  --wa: #1FAF5A;

  --r-sm: 10px; --r: 14px; --r-lg: 20px; --r-xl: 28px;
  --sh-1: 0 1px 2px rgba(16,24,40,.04), 0 1px 3px rgba(16,24,40,.04);
  --sh-2: 0 2px 6px rgba(16,24,40,.04), 0 12px 32px rgba(16,24,40,.08);
  --sh-3: 0 20px 60px rgba(16,24,40,.18);
  --ease: cubic-bezier(.22,.8,.24,1);
  --spring: cubic-bezier(.34,1.4,.64,1);
  --hdr: 60px;
  --tab: 64px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 12px); }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.5; color: var(--text-primary);
  background: var(--bg-primary); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv11", "ss01"; overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -.022em; line-height: 1.15; font-weight: 700; }
p { margin: 0; }
.ic { flex-shrink: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .container { padding: 0 24px; } }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 20px;
  border-radius: var(--r); border: 0; font-weight: 600; font-size: 15px; white-space: nowrap; letter-spacing: -.01em;
  transition: transform .15s var(--ease), background .2s, box-shadow .2s, color .2s; user-select: none;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 16px rgba(29,78,216,.22); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-soft { background: var(--bg-soft); color: var(--text-primary); }
.btn-soft:hover { background: #E7EAF0; }
.btn-white { background: #fff; color: var(--text-primary); box-shadow: var(--sh-1); }
.btn-outline { background: transparent; color: var(--text-primary); box-shadow: inset 0 0 0 1.5px var(--border); }
.btn-outline:hover { box-shadow: inset 0 0 0 1.5px var(--text-muted); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #18984D; }
.btn-sm { height: 38px; padding: 0 14px; font-size: 14px; border-radius: 12px; }
.btn-lg { height: 56px; padding: 0 26px; font-size: 16px; border-radius: 16px; }
.btn-block { width: 100%; }
.btn-icon { width: 44px; height: 44px; padding: 0; border-radius: 50%; }
.btn[disabled], .btn.is-loading { opacity: .6; pointer-events: none; }
.btn.is-loading::after { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.link { color: var(--accent); font-weight: 600; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; flex-shrink: 0; font-size: 15px; }

/* ---------------------------------------------------------------- header */
.hdr {
  position: sticky; top: 0; z-index: 50; height: var(--hdr);
  background: rgba(245,246,248,.72); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  transition: background .3s, box-shadow .3s;
}
.hdr.is-scrolled { background: rgba(255,255,255,.86); box-shadow: 0 1px 0 rgba(16,24,40,.06), 0 6px 20px rgba(16,24,40,.04); }
.hdr-in { height: 100%; display: flex; align-items: center; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; letter-spacing: -.02em; margin-right: auto; }
.brand-mark { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(140deg, var(--accent) 0%, #0F172A 100%); color: #fff; display: grid; place-items: center; font-size: 12.5px; font-weight: 800; letter-spacing: .02em; box-shadow: 0 4px 10px rgba(29,78,216,.25); }
.brand img { height: 34px; width: auto; }
.nav { display: none; }
.nav a { padding: 8px 12px; border-radius: 10px; font-size: 14.5px; font-weight: 500; color: var(--text-secondary); transition: color .2s, background .2s; }
.nav a:hover { color: var(--text-primary); background: rgba(16,24,40,.04); }
.nav a.active { color: var(--text-primary); font-weight: 600; }
.hdr-actions { display: flex; align-items: center; gap: 8px; }
.hdr-actions .btn-sell { display: none; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 0; background: rgba(16,24,40,.05); color: var(--text-primary); transition: background .2s, transform .15s; }
.icon-btn:active { transform: scale(.92); }
.icon-btn.wa { background: var(--wa); color: #fff; }
@media (min-width: 960px) {
  .nav { display: flex; gap: 2px; }
  .hdr-actions .btn-sell { display: inline-flex; }
  .menu-btn { display: none !important; }
  .brand { margin-right: 24px; }
  .nav { margin-right: auto; }
}

/* full screen mobile menu */
.menu {
  position: fixed; inset: 0; z-index: 90; background: rgba(255,255,255,.96); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  padding: calc(var(--hdr) + 8px) 20px calc(24px + var(--safe-b)); display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s var(--ease), transform .3s var(--ease), visibility .25s;
}
.menu.open { opacity: 1; visibility: visible; transform: none; }
.menu-close { position: absolute; top: 10px; right: 16px; }
.menu nav a { display: flex; align-items: center; justify-content: space-between; padding: 16px 4px; font-size: 22px; font-weight: 600; letter-spacing: -.02em; border-bottom: 1px solid var(--border); }
.menu nav a .ic { color: var(--text-muted); }
.menu-foot { margin-top: auto; display: grid; gap: 10px; }

/* ---------------------------------------------------------------- bottom tab bar (phones) */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; height: calc(var(--tab) + var(--safe-b)); padding-bottom: var(--safe-b);
  background: rgba(255,255,255,.88); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-top: 1px solid rgba(16,24,40,.06); display: grid; grid-template-columns: repeat(5, 1fr);
}
.tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 10.5px; font-weight: 500; color: var(--text-muted); transition: color .2s; position: relative; }
.tabbar a .ic { width: 24px; height: 24px; }
.tabbar a.active { color: var(--accent); }
.tabbar a:active .ic { transform: scale(.88); }
.tabbar .tab-sell span.pill { width: 46px; height: 32px; border-radius: 12px; background: var(--accent); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 14px rgba(29,78,216,.3); }
.tabbar .count { position: absolute; top: 8px; left: 50%; margin-left: 6px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--danger); color: #fff; font-size: 10px; font-weight: 700; display: none; place-items: center; }
.tabbar .count.on { display: grid; }
body.has-tabbar { padding-bottom: calc(var(--tab) + var(--safe-b)); }
@media (min-width: 960px) { .tabbar { display: none; } body.has-tabbar { padding-bottom: 0; } }

/* ---------------------------------------------------------------- sections */
.section { padding: 36px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.section-head h2 { font-size: 24px; }
.section-head p { color: var(--text-secondary); margin-top: 6px; font-size: 15px; }
.eyebrow { font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
@media (min-width: 768px) { .section { padding: 56px 0; } .section-head h2 { font-size: 32px; } .section-head { margin-bottom: 26px; } }

/* ---------------------------------------------------------------- hero */
.hero { padding: 12px 0 8px; }
.hero-media { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 3.4; background: linear-gradient(160deg, #dfe8f5, #c7d4e6 60%, #9fb3cc); box-shadow: var(--sh-2); }
.hero-media > img, .hero-media > picture, .hero-media > picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,15,30,0) 35%, rgba(10,15,30,.62) 100%); }
.hero-copy { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 22px 20px; color: #fff; }
.hero-copy h1 { font-size: 30px; line-height: 1.08; letter-spacing: -.03em; text-wrap: balance; }
.hero-copy p { margin-top: 10px; color: rgba(255,255,255,.86); font-size: 15px; max-width: 540px; text-wrap: pretty; }
.hero-trust { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.hero-trust span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 99px; font-size: 12.5px; font-weight: 500; background: rgba(255,255,255,.16); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.search-card { position: relative; z-index: 3; margin: -26px 10px 0; background: #fff; border-radius: var(--r-lg); box-shadow: var(--sh-2); padding: 14px; }
.search-row { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 14px; border-radius: var(--r); background: var(--bg-soft); position: relative; }
.search-row .ic { color: var(--text-muted); }
.search-row input { flex: 1; border: 0; background: transparent; outline: none; font-size: 16px; height: 100%; min-width: 0; }
.search-row:focus-within { background: #fff; box-shadow: 0 0 0 2px var(--accent); }
.search-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.select-wrap { position: relative; }
.select-wrap select, .select { width: 100%; height: 48px; border-radius: var(--r); border: 0; background: var(--bg-soft); padding: 0 34px 0 14px; font-size: 15px; appearance: none; -webkit-appearance: none; outline: none; color: var(--text-primary); }
.select-wrap::after { content: ""; position: absolute; right: 14px; top: 50%; width: 7px; height: 7px; border-right: 1.75px solid var(--text-secondary); border-bottom: 1.75px solid var(--text-secondary); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.select-wrap select:focus { box-shadow: 0 0 0 2px var(--accent); background: #fff; }
.select-wrap.full { grid-column: 1 / -1; }
.search-cats { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 10px -14px 0; padding: 0 14px; }
.search-cats::-webkit-scrollbar { display: none; }
.search-card .btn { margin-top: 10px; }
.ac-list { position: absolute; left: 0; right: 0; top: calc(100% + 6px); background: #fff; border-radius: var(--r); box-shadow: var(--sh-3); z-index: 20; overflow: hidden; display: none; }
.ac-list.open { display: block; animation: pop .18s var(--ease); }
.ac-list a { display: flex; align-items: center; gap: 10px; padding: 12px 14px; font-size: 15px; }
.ac-list a:hover, .ac-list a.hi { background: var(--bg-soft); }
.ac-list small { margin-left: auto; color: var(--text-muted); font-size: 12.5px; }
@keyframes pop { from { opacity: 0; transform: translateY(-4px) scale(.98); } }

@media (min-width: 768px) {
  .hero { padding: 20px 0 10px; }
  .hero-media { aspect-ratio: 16 / 7.2; }
  .hero-copy { padding: 44px 48px 92px; }
  .hero-copy h1 { font-size: 52px; max-width: 760px; }
  .hero-copy p { font-size: 17.5px; }
  .search-card { margin: -64px auto 0; max-width: 1040px; padding: 12px; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr auto; gap: 8px; align-items: center; border-radius: 22px; }
  .search-card .search-grid { display: contents; }
  .search-card .select-wrap.full { grid-column: auto; }
  .search-card .btn { margin: 0; height: 52px; }
  .search-card .search-cats { grid-column: 1 / -1; margin: 2px 0 0; padding: 0 2px; }
}

/* ---------------------------------------------------------------- chips & segmented controls */
.chip {
  display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 99px; flex-shrink: 0;
  background: var(--bg-soft); color: var(--text-primary); font-size: 14px; font-weight: 500; border: 0; transition: background .2s, color .2s, transform .15s;
  white-space: nowrap;
}
.chip:active { transform: scale(.95); }
.chip.active, .chip[aria-pressed="true"] { background: var(--text-primary); color: #fff; }
.chip-x { background: var(--accent-soft); color: var(--accent); }
.chip-x .ic { width: 14px; height: 14px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chips-scroll { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 2px 16px; }
.chips-scroll::-webkit-scrollbar { display: none; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: var(--bg-soft); border-radius: 12px; padding: 3px; gap: 2px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: grid; place-items: center; height: 38px; border-radius: 10px; font-size: 14px; font-weight: 500; color: var(--text-secondary); transition: background .2s, color .2s, box-shadow .2s; cursor: pointer; }
.seg input:checked + span { background: #fff; color: var(--text-primary); font-weight: 600; box-shadow: 0 1px 3px rgba(16,24,40,.12); }
.seg input:focus-visible + span { outline: 2px solid var(--accent); }
.tog { display: flex; flex-wrap: wrap; gap: 8px; }
.tog label { position: relative; }
.tog input { position: absolute; opacity: 0; pointer-events: none; }
.tog span { display: inline-flex; align-items: center; height: 38px; padding: 0 14px; border-radius: 99px; background: var(--bg-soft); font-size: 14px; font-weight: 500; cursor: pointer; transition: .2s; }
.tog input:checked + span { background: var(--text-primary); color: #fff; }
.tog input:focus-visible + span { outline: 2px solid var(--accent); }

/* ---------------------------------------------------------------- property cards */
.cards { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 1024px) { .cards.c3 { grid-template-columns: repeat(3, 1fr); } }
.scroller { display: grid; grid-auto-flow: column; grid-auto-columns: 84%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 4px 16px 18px; scrollbar-width: none; overscroll-behavior-x: contain; }
.scroller::-webkit-scrollbar { display: none; }
.scroller > * { scroll-snap-align: start; scroll-margin-left: 16px; }
@media (min-width: 640px) { .scroller { grid-auto-columns: calc(50% - 10px); margin: 0 -24px; padding: 4px 24px 18px; } }
@media (min-width: 1024px) { .scroller { grid-auto-columns: calc(25% - 11px); } }

.pcard { position: relative; background: #fff; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-1); transition: transform .35s var(--ease), box-shadow .35s var(--ease); display: flex; flex-direction: column; isolation: isolate; }
@media (hover: hover) { .pcard:hover { transform: translateY(-4px); box-shadow: var(--sh-2); } .pcard:hover .pcard-media img { transform: scale(1.04); } }
.pcard-media { position: relative; aspect-ratio: 4 / 3; background: var(--bg-soft); overflow: hidden; }
.pcard-media img, .pcard-media picture { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.pcard-media picture img { height: 100%; }
.pcard-tags { position: absolute; top: 12px; left: 12px; right: 56px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 2; }
.tag { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 9px; border-radius: 8px; font-size: 12px; font-weight: 600; background: rgba(255,255,255,.92); color: var(--text-primary); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.tag .ic { width: 14px; height: 14px; }
.tag-verified { color: var(--success); }
.tag-premium { background: rgba(17,24,39,.82); color: #fff; }
.tag-sold { background: var(--danger); color: #fff; }
.tag-demo { background: var(--warning-soft); color: #8A5A0B; }
.save-btn { position: absolute; top: 10px; right: 10px; z-index: 3; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); display: grid; place-items: center; color: var(--text-primary); backdrop-filter: blur(10px); transition: transform .2s var(--spring); }
.save-btn:active { transform: scale(.85); }
.save-btn.on { color: var(--danger); }
.save-btn.on .ic path { fill: currentColor; }
.img-count { position: absolute; bottom: 10px; right: 10px; z-index: 2; display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 8px; border-radius: 7px; background: rgba(17,24,39,.6); color: #fff; font-size: 12px; font-weight: 500; }
.img-count .ic { width: 13px; height: 13px; }
.pcard-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pcard-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.pcard-price strong { font-size: 21px; letter-spacing: -.025em; font-weight: 700; }
.pcard-price small { color: var(--text-muted); font-size: 13px; }
.pcard-title { font-size: 15.5px; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; letter-spacing: -.01em; }
.pcard-loc { display: flex; align-items: center; gap: 4px; color: var(--text-secondary); font-size: 14px; }
.pcard-loc .ic { width: 15px; height: 15px; }
.pcard-specs { display: flex; flex-wrap: wrap; gap: 6px 14px; padding-top: 10px; margin-top: auto; border-top: 1px solid var(--border); color: var(--text-secondary); font-size: 13.5px; }
.pcard-specs span { display: inline-flex; align-items: center; gap: 5px; }
.pcard-specs .ic { width: 16px; height: 16px; color: var(--text-muted); }
.pcard-desc { color: var(--text-secondary); font-size: 13.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard-cta { display: inline-flex; align-self: flex-start; margin-top: 10px; position: relative; z-index: 2; }
.scroller .pcard-cta { display: none; }
/* filters: bottom sheet on phones, sticky sidebar on desktop */
@media (min-width: 1024px) {
  .fsheet { position: sticky !important; top: calc(var(--hdr) + 76px) !important; left: auto !important; right: auto !important; bottom: auto !important; width: auto !important;
    transform: none !important; opacity: 1 !important; visibility: visible !important; z-index: 1 !important; border-radius: var(--r-lg) !important; box-shadow: var(--sh-1) !important;
    max-height: calc(100vh - var(--hdr) - 96px) !important; }
  .fsheet .sheet-head .icon-btn { display: none; }
  .fsheet + .sheet-backdrop { display: none; }
}
.pcard a.stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.pcard.is-sold .pcard-media { filter: grayscale(.4); }
/* list view */
.cards.list-view { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .cards.list-view .pcard { flex-direction: row; }
  .cards.list-view .pcard-media { width: 42%; aspect-ratio: auto; min-height: 230px; flex-shrink: 0; }
  .cards.list-view .pcard-body { padding: 20px 22px; }
  }
.img-ph { width: 100%; height: 100%; background: linear-gradient(135deg, #E9EDF3, #DCE3EC); }

/* ---------------------------------------------------------------- category tiles & localities */
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 768px) { .cat-grid { grid-template-columns: repeat(5, 1fr); gap: 14px; } }
.cat-tile { background: #fff; border-radius: var(--r-lg); padding: 16px; display: flex; flex-direction: column; gap: 22px; box-shadow: var(--sh-1); transition: transform .3s var(--ease), box-shadow .3s; min-height: 132px; }
.cat-tile:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.cat-tile .ico { width: 44px; height: 44px; border-radius: 13px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.cat-tile strong { font-size: 15.5px; letter-spacing: -.01em; display: block; }
.cat-tile small { color: var(--text-secondary); font-size: 13px; }
.loc-grid { display: grid; grid-auto-flow: column; grid-auto-columns: 62%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 4px 16px 10px; scrollbar-width: none; }
.loc-grid::-webkit-scrollbar { display: none; }
.loc-grid > * { scroll-snap-align: start; scroll-margin-left: 16px; }
@media (min-width: 768px) { .loc-grid { grid-auto-flow: row; grid-template-columns: repeat(5, 1fr); overflow: visible; margin: 0; padding: 0; } }
.loc-card { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 4.6; display: flex; align-items: flex-end; padding: 14px; color: #fff; background: linear-gradient(160deg, #3b5b8c, #172238); box-shadow: var(--sh-1); transition: transform .3s var(--ease); }
.loc-card:hover { transform: translateY(-3px); }
.loc-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.loc-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.6)); }
.loc-card > div { position: relative; z-index: 2; }
.loc-card strong { font-size: 17px; display: block; letter-spacing: -.015em; }
.loc-card small { opacity: .85; font-size: 13px; }
.loc-card .pattern { position: absolute; inset: 0; opacity: .25; }

/* ---------------------------------------------------------------- feature blocks */
.why-grid { display: grid; gap: 12px; }
@media (min-width: 768px) { .why-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.why { background: #fff; border-radius: var(--r-lg); padding: 22px; box-shadow: var(--sh-1); }
.why .ico { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--bg-soft); margin-bottom: 14px; }
.why h3 { font-size: 17px; margin-bottom: 6px; }
.why p { color: var(--text-secondary); font-size: 14.5px; }
.steps-list { display: grid; gap: 0; background: #fff; border-radius: var(--r-lg); box-shadow: var(--sh-1); overflow: hidden; counter-reset: s; }
.steps-list li { list-style: none; display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 18px 20px; border-bottom: 1px solid var(--border); }
.steps-list li:last-child { border-bottom: 0; }
.steps-list li::before { counter-increment: s; content: counter(s); width: 34px; height: 34px; border-radius: 50%; background: var(--text-primary); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.steps-list h3 { font-size: 16px; margin-bottom: 3px; }
.steps-list p { color: var(--text-secondary); font-size: 14.5px; }
.steps-list ul { padding: 0; margin: 0; }
@media (min-width: 900px) {
  .steps-list ul { display: grid; grid-template-columns: repeat(4, 1fr); }
  .steps-list li { grid-template-columns: 1fr; border-bottom: 0; border-right: 1px solid var(--border); padding: 24px; }
  .steps-list li:last-child { border-right: 0; }
}
.sell-band { position: relative; border-radius: var(--r-xl); overflow: hidden; background: radial-gradient(120% 120% at 0% 0%, #2a4fb8 0%, #13204a 55%, #0b1224 100%); color: #fff; padding: 32px 22px; }
.sell-band h2 { font-size: 28px; max-width: 560px; }
.sell-band p { color: rgba(255,255,255,.8); margin-top: 10px; max-width: 520px; }
.sell-band .btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.sell-band .glow { position: absolute; right: -80px; bottom: -120px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(96,165,250,.35), transparent 65%); }
@media (min-width: 768px) { .sell-band { padding: 56px; } .sell-band h2 { font-size: 40px; } }
.testi { background: #fff; border-radius: var(--r-lg); padding: 22px; box-shadow: var(--sh-1); display: flex; flex-direction: column; gap: 14px; }
.testi blockquote { margin: 0; font-size: 15.5px; line-height: 1.6; }
.testi .who { display: flex; align-items: center; gap: 10px; margin-top: auto; }
.testi .av { width: 38px; height: 38px; border-radius: 50%; background: var(--bg-soft); display: grid; place-items: center; font-weight: 700; color: var(--text-secondary); }
.testi small { color: var(--text-secondary); display: block; font-size: 13px; }
.stars { display: flex; gap: 2px; color: #E0A526; }
.stars .ic { width: 16px; height: 16px; fill: currentColor; }

/* FAQ (iOS disclosure list) */
.faq { background: #fff; border-radius: var(--r-lg); box-shadow: var(--sh-1); overflow: hidden; }
.faq details { border-bottom: 1px solid var(--border); }
.faq details:last-child { border-bottom: 0; }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; font-weight: 600; font-size: 15.5px; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { transition: transform .3s var(--ease); color: var(--text-muted); }
.faq details[open] summary .ic { transform: rotate(180deg); }
.faq .ans { padding: 0 20px 18px; color: var(--text-secondary); font-size: 15px; }

/* ---------------------------------------------------------------- footer */
.ftr { background: #fff; margin-top: 48px; padding: 40px 0 28px; border-top: 1px solid var(--border); }
.ftr-grid { display: grid; gap: 28px; }
@media (min-width: 768px) { .ftr-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.ftr h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); margin-bottom: 12px; font-weight: 600; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ftr a { color: var(--text-secondary); font-size: 14.5px; }
.ftr a:hover { color: var(--text-primary); }
.ftr p { color: var(--text-secondary); font-size: 14.5px; }
.ftr-bottom { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--border); color: var(--text-muted); font-size: 13px; }
.socials { display: flex; gap: 8px; margin-top: 14px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; background: var(--bg-soft); display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--text-secondary); }

/* ---------------------------------------------------------------- search page */
.sbar { position: sticky; top: var(--hdr); z-index: 40; background: rgba(245,246,248,.9); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); padding: 10px 0; }
.sbar-row { display: flex; gap: 8px; }
.sbar-row .search-row { flex: 1; height: 46px; background: #fff; box-shadow: var(--sh-1); }
.sbar-row .icon-btn { width: 46px; height: 46px; border-radius: 14px; background: #fff; box-shadow: var(--sh-1); position: relative; }
.sbar-row .icon-btn .dot { position: absolute; top: 9px; right: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.sbar .chips-scroll { margin-top: 10px; }
.results-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 14px 0; }
.results-head h1 { font-size: 20px; }
.results-head p { color: var(--text-secondary); font-size: 14px; margin-top: 2px; }
.view-toggle { display: none; }
@media (min-width: 640px) { .view-toggle { display: flex; background: #fff; border-radius: 12px; padding: 3px; box-shadow: var(--sh-1); } .view-toggle button { width: 36px; height: 34px; border-radius: 9px; border: 0; background: transparent; display: grid; place-items: center; color: var(--text-muted); } .view-toggle button.on { background: var(--bg-soft); color: var(--text-primary); } }
.search-layout { display: grid; gap: 24px; }
.filters-side { display: none; }
@media (min-width: 1024px) {
  .search-layout { grid-template-columns: 300px 1fr; align-items: start; }
  .filters-side { display: block; position: sticky; top: calc(var(--hdr) + 16px); background: #fff; border-radius: var(--r-lg); box-shadow: var(--sh-1); padding: 6px 20px 20px; max-height: calc(100vh - var(--hdr) - 32px); overflow: auto; }
  .sbar .filter-open { display: none; }
}
.fgroup { padding: 16px 0; border-bottom: 1px solid var(--border); }
.fgroup:last-of-type { border-bottom: 0; }
.fgroup > label, .fgroup > .fl { display: block; font-size: 13px; font-weight: 600; color: var(--text-secondary); margin-bottom: 10px; text-transform: uppercase; letter-spacing: .04em; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.switch-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: 15px; }
.switch { position: relative; width: 51px; height: 31px; flex-shrink: 0; }
.switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.switch span { position: absolute; inset: 0; border-radius: 99px; background: #E3E6EC; transition: background .25s; cursor: pointer; }
.switch span::after { content: ""; position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.18); transition: transform .3s var(--spring); }
.switch input:checked + span { background: #34C759; }
.switch input:checked + span::after { transform: translateX(20px); }
.switch input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.empty { text-align: center; padding: 56px 20px; background: #fff; border-radius: var(--r-lg); box-shadow: var(--sh-1); }
.empty .ico { width: 64px; height: 64px; border-radius: 20px; background: var(--bg-soft); display: grid; place-items: center; margin: 0 auto 16px; color: var(--text-muted); }
.empty h3 { font-size: 19px; margin-bottom: 6px; }
.empty p { color: var(--text-secondary); max-width: 380px; margin: 0 auto 18px; }
.load-more { display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 26px 0 8px; color: var(--text-muted); font-size: 13.5px; }
.pager { display: flex; gap: 6px; justify-content: center; margin-top: 24px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 40px; height: 40px; padding: 0 10px; border-radius: 12px; display: grid; place-items: center; background: #fff; box-shadow: var(--sh-1); font-weight: 500; font-size: 14px; }
.pager .on { background: var(--text-primary); color: #fff; }

/* ---------------------------------------------------------------- bottom sheet / modal */
.sheet-backdrop { position: fixed; inset: 0; z-index: 100; background: rgba(15,20,30,.4); opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s; }
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 101; background: #fff; border-radius: 22px 22px 0 0; max-height: 92vh; max-height: 92dvh;
  display: flex; flex-direction: column; transform: translateY(105%); transition: transform .42s var(--ease); box-shadow: var(--sh-3); visibility: hidden;
}
.sheet.open { transform: translateY(0); visibility: visible; }
.sheet.open + .sheet-backdrop, .sheet-backdrop.open { opacity: 1; visibility: visible; }
.sheet-grab { width: 38px; height: 5px; border-radius: 3px; background: #D5D9E0; margin: 8px auto 0; flex-shrink: 0; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 10px 18px 12px; border-bottom: 1px solid var(--border); flex-shrink: 0; }
.sheet-head h3 { font-size: 17px; }
.sheet-body { padding: 4px 18px 18px; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; flex: 1; }
.sheet-foot { display: flex; gap: 10px; padding: 12px 18px calc(12px + var(--safe-b)); border-top: 1px solid var(--border); flex-shrink: 0; background: #fff; }
.sheet-foot .btn { flex: 1; }
@media (min-width: 768px) {
  .sheet { left: 50%; right: auto; bottom: auto; top: 50%; width: 520px; border-radius: 24px; transform: translate(-50%, -46%) scale(.97); opacity: 0; transition: transform .35s var(--ease), opacity .25s; max-height: 86vh; }
  .sheet.open { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  .sheet-grab { display: none; }
  .sheet.side-on-desktop { top: 0; right: 0; left: auto; bottom: 0; height: 100%; max-height: none; transform: translateX(100%); border-radius: 0; opacity: 1; }
  .sheet.side-on-desktop.open { transform: none; }
}
body.lock { overflow: hidden; }

/* ---------------------------------------------------------------- forms */
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--text-secondary); margin-bottom: 6px; }
.input, .textarea {
  width: 100%; height: 50px; border-radius: var(--r); border: 1px solid transparent; background: var(--bg-soft); padding: 0 14px; font-size: 16px;
  outline: none; transition: background .2s, box-shadow .2s, border-color .2s; color: var(--text-primary); -webkit-appearance: none;
}
.textarea { height: auto; min-height: 104px; padding: 13px 14px; resize: vertical; line-height: 1.5; }
.input:focus, .textarea:focus { background: #fff; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(29,78,216,.1); }
.input.is-invalid, .textarea.is-invalid { border-color: var(--danger); background: #FFF6F6; }
.field .err { color: var(--danger); font-size: 13px; margin-top: 5px; }
.field .hint { color: var(--text-muted); font-size: 13px; margin-top: 5px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--text-secondary); line-height: 1.45; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 0; flex-shrink: 0; accent-color: var(--accent); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.alert { padding: 13px 16px; border-radius: var(--r); font-size: 14.5px; margin-bottom: 14px; display: flex; gap: 10px; align-items: flex-start; }
.alert-success { background: var(--success-soft); color: #0F5F41; }
.alert-error { background: #FDECEC; color: #9B2C2C; }
.alert-info { background: var(--accent-soft); color: var(--accent-hover); }

/* ---------------------------------------------------------------- property detail */
.pd-gallery { position: relative; background: #0d1117; margin: 0 0 0; }
.pd-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; aspect-ratio: 4 / 3.1; overscroll-behavior-x: contain; }
.pd-track::-webkit-scrollbar { display: none; }
.pd-slide { flex: 0 0 100%; scroll-snap-align: center; position: relative; cursor: zoom-in; }
.pd-slide img, .pd-slide picture { width: 100%; height: 100%; object-fit: cover; }
.pd-slide picture img { height: 100%; }
.pd-counter { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 99px; background: rgba(17,24,39,.62); color: #fff; font-size: 13px; font-weight: 600; backdrop-filter: blur(10px); z-index: 2; border: 0; }
.pd-topbar { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; justify-content: space-between; z-index: 3; pointer-events: none; }
.pd-topbar > * { pointer-events: auto; }
.pd-topbar .icon-btn { background: rgba(255,255,255,.92); backdrop-filter: blur(10px); box-shadow: var(--sh-1); }
.pd-topbar .grp { display: flex; gap: 8px; }
.pd-dots { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); display: flex; gap: 5px; z-index: 2; }
.pd-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.5); transition: .3s; }
.pd-dots i.on { background: #fff; width: 16px; border-radius: 3px; }
.pd-nav { display: none; }
.pd-thumbs { display: none; }
@media (min-width: 900px) {
  .pd-gallery-wrap { padding-top: 20px; }
  .pd-gallery { border-radius: var(--r-xl); overflow: hidden; display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 6px; height: 520px; background: transparent; }
  .pd-track { display: contents; }
  .pd-slide { display: none; }
  .pd-slide:nth-child(1) { display: block; grid-row: 1 / 3; }
  .pd-slide:nth-child(2), .pd-slide:nth-child(3) { display: block; }
  .pd-slide:only-child { grid-column: 1 / -1; }
  .pd-dots { display: none; }
  .pd-topbar { left: auto; }
  .pd-topbar .back { display: none; }
}
@media (min-width: 900px) { [data-pd] { padding: 0 24px !important; } }
.pd-wrap { display: grid; gap: 16px; margin-top: -18px; position: relative; z-index: 4; }
@media (min-width: 900px) { .pd-wrap { grid-template-columns: 1fr 380px; gap: 28px; margin-top: 24px; align-items: start; } }
.pd-main { display: grid; gap: 14px; }
.pd-head { background: #fff; border-radius: 22px; padding: 20px 18px; box-shadow: var(--sh-1); }
@media (min-width: 900px) { .pd-head { padding: 26px 28px; } }
.pd-badges { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.pd-badges .tag { background: var(--bg-soft); }
.pd-badges .tag-verified { background: var(--success-soft); }
.pd-badges .tag-premium { background: var(--dark); }
.pd-badges .tag-sold { background: var(--danger); }
.pd-badges .tag-demo { background: var(--warning-soft); }
.pd-head h1 { font-size: 23px; line-height: 1.22; text-wrap: balance; }
@media (min-width: 900px) { .pd-head h1 { font-size: 30px; } }
.pd-loc { display: flex; align-items: center; gap: 5px; color: var(--text-secondary); margin-top: 8px; font-size: 15px; }
.pd-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.pd-price strong { font-size: 30px; letter-spacing: -.03em; }
.pd-price small { color: var(--text-secondary); font-size: 14px; }
.pd-ref { color: var(--text-muted); font-size: 13px; margin-top: 4px; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border); border-radius: var(--r); overflow: hidden; margin-top: 18px; }
@media (min-width: 640px) { .facts { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 639px) { .fact:last-child:nth-child(odd) { grid-column: 1 / -1; } }
.fact { background: var(--bg-soft); padding: 13px 14px; display: flex; flex-direction: column; gap: 2px; }
.fact .ic { color: var(--text-muted); width: 19px; height: 19px; margin-bottom: 4px; }
.fact small { color: var(--text-secondary); font-size: 12.5px; }
.fact strong { font-size: 15px; letter-spacing: -.01em; }
.card-sec { background: #fff; border-radius: 22px; padding: 20px 18px; box-shadow: var(--sh-1); }
@media (min-width: 900px) { .card-sec { padding: 24px 28px; } }
.card-sec > h2 { font-size: 19px; margin-bottom: 14px; }
.prose { color: #2F3747; font-size: 15.5px; line-height: 1.7; }
.prose p + p { margin-top: 12px; }
.prose.clamp { max-height: 168px; overflow: hidden; position: relative; }
.prose.clamp::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 60px; background: linear-gradient(transparent, #fff); }
.ios-list { border-radius: var(--r); overflow: hidden; background: var(--bg-soft); }
.ios-list .row { display: flex; justify-content: space-between; gap: 16px; padding: 13px 14px; font-size: 15px; border-bottom: 1px solid var(--border); }
.ios-list .row:last-child { border-bottom: 0; }
.ios-list .row span { color: var(--text-secondary); }
.ios-list .row strong { font-weight: 600; text-align: right; }
@media (min-width: 640px) { .ios-list.two { display: grid; grid-template-columns: 1fr 1fr; column-gap: 1px; background: var(--border); } .ios-list.two .row { background: var(--bg-soft); } }
.amen { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 16px; }
@media (min-width: 640px) { .amen { grid-template-columns: repeat(3, 1fr); } }
.amen span { display: flex; align-items: center; gap: 8px; font-size: 14.5px; }
.amen .ic { color: var(--success); width: 18px; height: 18px; }
.verify-box { border-radius: var(--r); background: var(--success-soft); padding: 16px; }
.verify-box h3 { font-size: 15.5px; color: #0F5F41; display: flex; align-items: center; gap: 8px; }
.verify-box ul { margin: 10px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.verify-box li { display: flex; gap: 8px; font-size: 14px; color: #1F4F3B; }
.verify-box li .ic { color: var(--success); width: 18px; height: 18px; }
.verify-box p { font-size: 12.5px; color: #4B6B5D; margin-top: 10px; }
.verify-box.pending { background: var(--bg-soft); }
.verify-box.pending h3 { color: var(--text-primary); }
.landmarks { display: grid; gap: 8px; }
.landmarks span { display: flex; gap: 8px; align-items: center; font-size: 14.5px; color: #2F3747; }
.landmarks .ic { color: var(--text-muted); width: 18px; height: 18px; }
.map { height: 260px; border-radius: var(--r); overflow: hidden; background: var(--bg-soft); z-index: 1; position: relative; }
.map-ph { height: 100%; display: grid; place-items: center; color: var(--text-secondary); font-size: 14px; text-align: center; padding: 20px; }
.video-card { position: relative; border-radius: var(--r); overflow: hidden; background: #000; aspect-ratio: 16 / 9; cursor: pointer; }
.video-card img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.video-card .play { position: absolute; inset: 0; display: grid; place-items: center; }
.video-card .play span { width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,.92); display: grid; place-items: center; color: var(--text-primary); box-shadow: var(--sh-2); transition: transform .2s var(--spring); }
.video-card:hover .play span { transform: scale(1.08); }
.video-card video, .video-card iframe { width: 100%; height: 100%; border: 0; }
.videos { display: grid; gap: 12px; }
@media (min-width: 640px) { .videos { grid-template-columns: 1fr 1fr; } }

.pd-aside { display: none; }
@media (min-width: 900px) {
  .pd-aside { display: block; position: sticky; top: calc(var(--hdr) + 16px); }
  .contact-card { background: #fff; border-radius: 22px; padding: 22px; box-shadow: var(--sh-2); }
  .contact-card h3 { font-size: 17px; margin-bottom: 4px; }
  .contact-card p.sub { color: var(--text-secondary); font-size: 14px; margin-bottom: 16px; }
  .contact-card .btn { width: 100%; margin-bottom: 10px; }
}
.actionbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; gap: 8px; padding: 10px 12px calc(10px + var(--safe-b));
  background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-top: 1px solid rgba(16,24,40,.06);
}
.actionbar .btn { flex: 1; height: 50px; padding: 0 10px; font-size: 15px; }
.actionbar .btn-icon { flex: 0 0 50px; width: 50px; height: 50px; border-radius: var(--r); }
body.has-actionbar { padding-bottom: calc(74px + var(--safe-b)); }
@media (min-width: 900px) { .actionbar { display: none; } body.has-actionbar { padding-bottom: 0; } }
.sold-banner { background: var(--dark); color: #fff; border-radius: var(--r); padding: 14px 16px; display: flex; gap: 10px; align-items: center; font-size: 14.5px; }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 200; background: #000; display: flex; flex-direction: column; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.lb.open { opacity: 1; visibility: visible; }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: calc(10px + env(safe-area-inset-top)) 14px 10px; color: #fff; font-size: 14px; font-weight: 600; }
.lb-top .icon-btn { background: rgba(255,255,255,.14); color: #fff; }
.lb-track { flex: 1; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.lb-track::-webkit-scrollbar { display: none; }
.lb-slide { flex: 0 0 100%; scroll-snap-align: center; display: grid; place-items: center; padding: 8px; }
.lb-slide img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 6px; }
.lb-thumbs { display: flex; gap: 6px; overflow-x: auto; padding: 10px 14px calc(14px + var(--safe-b)); scrollbar-width: none; }
.lb-thumbs::-webkit-scrollbar { display: none; }
.lb-thumbs button { flex: 0 0 64px; height: 48px; border-radius: 8px; overflow: hidden; border: 2px solid transparent; padding: 0; opacity: .5; background: #222; transition: .2s; }
.lb-thumbs button.on { border-color: #fff; opacity: 1; }
.lb-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.lb-arrow { position: absolute; top: 50%; transform: translateY(-50%); display: none; z-index: 3; }
@media (hover: hover) { .lb-arrow { display: grid; background: rgba(255,255,255,.14) !important; color: #fff; width: 52px; height: 52px; } .lb-prev { left: 16px; } .lb-next { right: 16px; } }

/* ---------------------------------------------------------------- sell flow */
.sell-hero { padding: 28px 0 8px; }
.sell-hero h1 { font-size: 30px; text-wrap: balance; }
.sell-hero p { color: var(--text-secondary); margin-top: 8px; font-size: 16px; max-width: 560px; }
@media (min-width: 768px) { .sell-hero h1 { font-size: 44px; } }
.stepper { display: flex; gap: 6px; margin: 18px 0; }
.stepper i { flex: 1; height: 4px; border-radius: 4px; background: var(--border); transition: background .4s var(--ease); }
.stepper i.on { background: var(--accent); }
.form-card { background: #fff; border-radius: 22px; padding: 20px 18px; box-shadow: var(--sh-1); }
@media (min-width: 768px) { .form-card { padding: 30px; } }
.fstep { display: none; animation: fadeUp .35s var(--ease); }
.fstep.on { display: block; }
.fstep h2 { font-size: 20px; margin-bottom: 4px; }
.fstep > p { color: var(--text-secondary); font-size: 14.5px; margin-bottom: 18px; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } }
.fnav { display: flex; gap: 10px; margin-top: 20px; }
.fnav .btn { flex: 1; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.drop { border: 1.5px dashed #CBD2DD; border-radius: var(--r-lg); padding: 24px 16px; text-align: center; background: var(--bg-soft); transition: .2s; cursor: pointer; display: block; }
.drop:hover, .drop.drag { border-color: var(--accent); background: var(--accent-soft); }
.drop .ic { margin: 0 auto 8px; color: var(--accent); width: 28px; height: 28px; }
.drop strong { display: block; font-size: 15px; }
.drop small { color: var(--text-muted); font-size: 13px; }
.previews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
@media (min-width: 640px) { .previews { grid-template-columns: repeat(5, 1fr); } }
.previews div { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--bg-soft); }
.previews img, .previews video { width: 100%; height: 100%; object-fit: cover; }
.previews button { position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(0,0,0,.6); color: #fff; display: grid; place-items: center; }
.previews button .ic { width: 14px; height: 14px; }
.success-card { text-align: center; padding: 40px 22px; }
.success-card .tick { width: 76px; height: 76px; border-radius: 50%; background: var(--success-soft); color: var(--success); display: grid; place-items: center; margin: 0 auto 18px; animation: popIn .6s var(--spring); }
.success-card .tick .ic { width: 36px; height: 36px; stroke-width: 2.4; }
@keyframes popIn { from { transform: scale(.4); opacity: 0; } }
.code-pill { display: inline-block; margin: 14px 0; padding: 10px 18px; border-radius: 12px; background: var(--bg-soft); font-weight: 700; letter-spacing: .06em; font-size: 18px; }

/* ---------------------------------------------------------------- generic page */
.page-hero { padding: 28px 0 10px; }
.page-hero h1 { font-size: 30px; text-wrap: balance; }
.page-hero p { color: var(--text-secondary); margin-top: 8px; font-size: 16px; max-width: 620px; }
@media (min-width: 768px) { .page-hero { padding: 48px 0 18px; } .page-hero h1 { font-size: 44px; } }
.page-body { background: #fff; border-radius: 22px; padding: 22px 20px; box-shadow: var(--sh-1); }
@media (min-width: 768px) { .page-body { padding: 36px 40px; } }
.page-body h2, .page-body h3 { margin: 22px 0 8px; }
.page-body ul { padding-left: 20px; }
.page-body li { margin: 4px 0; }
.page-body a { color: var(--accent); }
.crumbs { display: flex; gap: 6px; align-items: center; font-size: 13px; color: var(--text-muted); flex-wrap: wrap; margin: 14px 0 0; }
.crumbs a:hover { color: var(--text-primary); }
.contact-tiles { display: grid; gap: 10px; }
@media (min-width: 768px) { .contact-tiles { grid-template-columns: repeat(3, 1fr); } }
.ctile { display: flex; gap: 14px; align-items: center; background: #fff; border-radius: var(--r-lg); padding: 16px; box-shadow: var(--sh-1); transition: transform .2s; }
.ctile:active { transform: scale(.98); }
.ctile .ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--bg-soft); }
.ctile small { display: block; color: var(--text-secondary); font-size: 13px; }
.ctile strong { font-size: 15.5px; }

/* ---------------------------------------------------------------- toast, cookie, skeleton, reveal */
.toast-wrap { position: fixed; left: 50%; top: calc(var(--hdr) + 10px); transform: translateX(-50%); z-index: 300; display: grid; gap: 8px; width: min(92vw, 420px); pointer-events: none; }
.toast { background: rgba(17,24,39,.94); color: #fff; padding: 13px 16px; border-radius: 14px; font-size: 14.5px; box-shadow: var(--sh-3); display: flex; gap: 10px; align-items: center; animation: toastIn .4s var(--spring); pointer-events: auto; backdrop-filter: blur(10px); }
.toast.out { animation: toastOut .3s var(--ease) forwards; }
.toast .ic { color: #4ADE80; }
.toast.err .ic { color: #F87171; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-14px) scale(.96); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(-10px); } }
.cookie { position: fixed; left: 12px; right: 12px; bottom: calc(var(--tab) + var(--safe-b) + 10px); z-index: 80; background: #fff; border-radius: 18px; box-shadow: var(--sh-3); padding: 16px; display: none; gap: 12px; flex-direction: column; font-size: 14px; color: var(--text-secondary); }
.cookie.show { display: flex; animation: fadeUp .4s var(--ease); }
.cookie .row { display: flex; gap: 8px; }
.cookie .btn { flex: 1; }
body.has-actionbar .cookie { bottom: calc(84px + var(--safe-b)); }
@media (min-width: 960px) { .cookie { left: auto; right: 24px; bottom: 24px !important; width: 400px; } }
.skel { background: linear-gradient(90deg, #ECEFF3 0%, #F5F7FA 50%, #ECEFF3 100%); background-size: 200% 100%; animation: shimmer 1.3s infinite; border-radius: 10px; }
@keyframes shimmer { to { background-position: -200% 0; } }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.sample-note { font-size: 12px; color: #8A5A0B; background: var(--warning-soft); padding: 3px 8px; border-radius: 6px; display: inline-block; }
.banner { display: flex; gap: 14px; align-items: center; background: #fff; border-radius: var(--r-lg); padding: 16px; box-shadow: var(--sh-1); overflow: hidden; }
.banner img { width: 96px; height: 72px; object-fit: cover; border-radius: 12px; }
.banner strong { display: block; }
.banner small { color: var(--text-secondary); }
.newsletter { display: flex; gap: 8px; margin-top: 12px; }
.newsletter .input { height: 44px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =====================================================================================
   v1.1 DESIGN SYSTEM — typography, header, menu, footer, locations, skeletons, land
   (later rules intentionally refine the v1.0 rules above)
   ===================================================================================== */
:root {
  /* type scale: fluid between 360px and 1280px viewports */
  --fs-display: clamp(1.75rem, 1.27rem + 2.1vw, 3rem);      /* 28 → 48 */
  --fs-h1: clamp(1.5rem, 1.2rem + 1.35vw, 2.25rem);          /* 24 → 36 */
  --fs-h2: clamp(1.25rem, 1.06rem + .85vw, 1.75rem);         /* 20 → 28 */
  --fs-h3: clamp(1.0625rem, 1.01rem + .22vw, 1.1875rem);     /* 17 → 19 */
  --fs-price: clamp(1.25rem, 1.12rem + .55vw, 1.5rem);       /* 20 → 24 */
  --fs-price-xl: clamp(1.625rem, 1.4rem + 1vw, 2.125rem);    /* 26 → 34 */
  --fs-lead: clamp(1rem, .96rem + .2vw, 1.125rem);           /* 16 → 18 */
  --fs-body: 1rem;
  --fs-sm: .9375rem;   /* 15 */
  --fs-label: .8125rem;/* 13 */
  --fs-xs: .75rem;     /* 12 */
  --lh-tight: 1.15; --lh-snug: 1.3; --lh-body: 1.6;
  --tr-tight: -.025em; --tr-snug: -.012em;
  --space-section: clamp(2.5rem, 1.9rem + 2.6vw, 4.5rem);
  --hairline: 1px solid rgba(16,24,40,.06);
  --map-bg: #EEF2F7; --map-block: #E2E8F0; --map-road: #FFFFFF; --map-main: #C9D7EE;
  --hdr: 60px;
}
@media (min-width: 1024px) { :root { --hdr: 68px; } }
body { font-size: var(--fs-body); line-height: var(--lh-body); letter-spacing: -.003em; text-rendering: optimizeLegibility; }
h1, h2, h3, h4 { font-weight: 700; letter-spacing: var(--tr-tight); line-height: var(--lh-tight); }
p { text-wrap: pretty; }

/* headings across pages */
.hero-copy h1 { font-size: var(--fs-display); font-weight: 750; line-height: 1.08; letter-spacing: -.032em; }
.hero-copy p { font-size: var(--fs-lead); line-height: 1.55; }
.section { padding: calc(var(--space-section) * .55) 0; }
.section-head h2 { font-size: var(--fs-h2); }
.section-head p { font-size: var(--fs-sm); line-height: 1.5; }
.page-hero h1, .sell-hero h1 { font-size: var(--fs-h1); line-height: 1.15; }
.page-hero p, .sell-hero p { font-size: var(--fs-lead); }
.results-head h1 { font-size: clamp(1.125rem, 1.02rem + .5vw, 1.375rem); letter-spacing: var(--tr-snug); }
.pd-head h1 { font-size: clamp(1.375rem, 1.17rem + .95vw, 1.875rem); line-height: 1.2; }
.pd-price strong { font-size: var(--fs-price-xl); letter-spacing: -.03em; }
.card-sec > h2, .fstep h2 { font-size: var(--fs-h3); letter-spacing: var(--tr-snug); }
.why h3, .steps-list h3 { font-size: var(--fs-h3); letter-spacing: var(--tr-snug); }
.why p, .steps-list p, .faq .ans, .prose { font-size: var(--fs-sm); line-height: 1.65; }
.prose { font-size: var(--fs-body); }
.faq summary { font-size: var(--fs-sm); font-weight: 600; }
.eyebrow { font-size: var(--fs-xs); letter-spacing: .08em; }
.field label, .fgroup > .fl, .fgroup > label { font-size: var(--fs-label); }
.input, .textarea, .select-wrap select, .select { font-size: 16px; } /* 16px stops iOS zoom */
.btn { font-size: var(--fs-sm); letter-spacing: -.01em; font-weight: 600; border-radius: 12px; }
.btn-lg { font-size: var(--fs-body); border-radius: 14px; }
.btn-sm { font-size: var(--fs-label); border-radius: 10px; }
.chip, .tog span { font-size: var(--fs-label); font-weight: 500; }

/* ---------------------------------------------------------------- header */
.hdr { background: rgba(255,255,255,.72); border-bottom: 1px solid transparent; transition: background .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease); }
.hdr.is-scrolled { background: rgba(255,255,255,.88); border-bottom-color: rgba(16,24,40,.06); box-shadow: 0 8px 24px rgba(16,24,40,.05); }
.page-home .hdr:not(.is-scrolled) { background: rgba(245,246,248,.6); }
.hdr-in { gap: 8px; }
.brand { gap: 10px; font-size: 1.0625rem; font-weight: 700; letter-spacing: -.025em; }
.brand-mark { width: 34px; height: 34px; border-radius: 10px; font-size: 12px; letter-spacing: .02em; background: linear-gradient(145deg, #1E3A8A 0%, #0B1220 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 4px 12px rgba(15,23,42,.18); }
.brand-word { color: var(--text-primary); }
.nav a { font-size: var(--fs-sm); font-weight: 500; color: #4A5568; padding: 8px 14px; border-radius: 999px; transition: color .2s, background .2s; }
.nav a:hover { background: rgba(16,24,40,.045); color: var(--text-primary); }
.nav a.active { background: rgba(16,24,40,.06); color: var(--text-primary); font-weight: 600; }
.hdr-actions { gap: 8px; }
.hdr-sell { display: none; height: 40px; padding: 0 16px; align-items: center; border-radius: 999px; font-size: var(--fs-sm); font-weight: 600; color: var(--text-primary); box-shadow: inset 0 0 0 1px rgba(16,24,40,.12); transition: box-shadow .2s, background .2s; }
.hdr-sell:hover { background: #fff; box-shadow: inset 0 0 0 1px rgba(16,24,40,.22); }
.wa-btn { height: 40px; width: 40px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; background: #E9F8EF; color: #128C4A; font-weight: 600; font-size: var(--fs-sm); transition: background .2s, transform .15s, box-shadow .2s; }
.wa-btn span { display: none; }
.wa-btn:hover { background: #DDF4E6; }
.wa-btn:active { transform: scale(.95); }
.burger { width: 40px; height: 40px; border-radius: 999px; border: 0; background: rgba(16,24,40,.05); position: relative; display: grid; place-items: center; transition: background .2s; }
.burger:hover { background: rgba(16,24,40,.08); }
.burger span { position: absolute; left: 12px; right: 12px; height: 1.75px; border-radius: 2px; background: var(--text-primary); transition: transform .35s var(--ease), top .35s var(--ease); }
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22.5px; }
.menu-open .burger span:nth-child(1) { top: 19.25px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 19.25px; transform: rotate(-45deg); }
@media (min-width: 1024px) {
  .hdr-sell { display: inline-flex; }
  .wa-btn { width: auto; padding: 0 16px 0 13px; background: #1FAF5A; color: #fff; box-shadow: 0 6px 16px rgba(31,175,90,.22); }
  .wa-btn:hover { background: #18984D; }
  .wa-btn span { display: inline; }
  .burger { display: none; }
  .nav { display: flex; margin: 0 auto; gap: 2px; }
  .brand { margin-right: 0; min-width: 190px; }
  .hdr-actions { min-width: 190px; justify-content: flex-end; }
}

/* mobile menu: panel that drops from under the header */
.menu { position: fixed; top: var(--hdr); left: 0; right: 0; bottom: auto; z-index: 49; padding: 8px 16px calc(20px + var(--safe-b)); background: rgba(255,255,255,.97); backdrop-filter: saturate(180%) blur(24px); -webkit-backdrop-filter: saturate(180%) blur(24px);
  border-radius: 0 0 24px 24px; box-shadow: 0 24px 48px rgba(16,24,40,.14); max-height: calc(100dvh - var(--hdr)); overflow-y: auto; display: block;
  opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .28s var(--ease), transform .38s var(--ease), visibility .28s; }
.menu.open { opacity: 1; visibility: visible; transform: none; }
.menu-scrim { position: fixed; inset: var(--hdr) 0 0 0; z-index: 48; background: rgba(15,20,30,.28); opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s; }
.menu-open .menu-scrim { opacity: 1; visibility: visible; }
.menu-nav { display: grid; }
.menu .menu-nav a { display: flex; align-items: center; justify-content: space-between; padding: 15px 6px; font-size: 1.1875rem; font-weight: 600; letter-spacing: -.02em; border-bottom: var(--hairline); opacity: 0; transform: translateY(6px); transition: opacity .35s var(--ease), transform .35s var(--ease), color .2s; }
.menu .menu-nav a .ic { color: var(--text-muted); }
.menu .menu-nav a.active { color: var(--accent); }
.menu.open .menu-nav a { opacity: 1; transform: none; }
.menu.open .menu-nav a:nth-child(2) { transition-delay: .03s; } .menu.open .menu-nav a:nth-child(3) { transition-delay: .06s; }
.menu.open .menu-nav a:nth-child(4) { transition-delay: .09s; } .menu.open .menu-nav a:nth-child(5) { transition-delay: .12s; } .menu.open .menu-nav a:nth-child(6) { transition-delay: .15s; }
.menu-foot { margin-top: 16px; display: grid; gap: 10px; }
.menu-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.menu-contact a { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 16px; background: var(--bg-soft); transition: background .2s; }
.menu-contact a:active { background: #E7EAF0; }
.menu-contact small { display: block; font-size: var(--fs-xs); color: var(--text-secondary); }
.menu-contact strong { font-size: var(--fs-label); }
.mc-ico { width: 36px; height: 36px; border-radius: 11px; background: #fff; display: grid; place-items: center; color: var(--accent); box-shadow: var(--sh-1); flex-shrink: 0; }
.mc-ico.wa { color: #128C4A; }
.menu-hours { font-size: var(--fs-label); color: var(--text-muted); text-align: center; }
@media (min-width: 1024px) { .menu, .menu-scrim { display: none; } }

/* ---------------------------------------------------------------- cards & surfaces */
.pcard, .cat-tile, .why, .faq, .card-sec, .pd-head, .form-card, .page-body, .testi, .empty, .ctile, .banner { box-shadow: none; border: var(--hairline); }
@media (hover: hover) { .pcard:hover { box-shadow: 0 14px 34px rgba(16,24,40,.09); } }
.pcard-price strong { font-size: var(--fs-price); }
.pcard-title { font-size: var(--fs-sm); font-weight: 600; letter-spacing: var(--tr-snug); line-height: 1.4; }
.pcard-loc, .pcard-specs { font-size: var(--fs-label); }
.pcard-desc { font-size: var(--fs-label); line-height: 1.5; }
.pcard-body { gap: 5px; padding: 14px 16px 16px; }
.tag { font-size: 11.5px; letter-spacing: 0; }

/* land / plot card */
.pcard-kicker { display: inline-flex; align-items: center; gap: 5px; font-size: var(--fs-xs); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--accent); }
.pcard-area { font-size: var(--fs-sm); font-weight: 600; color: var(--text-primary); display: flex; align-items: center; gap: 6px; }
.pcard-area::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--success); }
.pcard-title-sm { font-weight: 500; color: var(--text-secondary); -webkit-line-clamp: 1; }

/* ---------------------------------------------------------------- skeletons */
.pcard-media, .pd-slide, .loc-map { background: linear-gradient(100deg, #ECEFF3 20%, #F6F8FA 40%, #ECEFF3 60%); background-size: 220% 100%; animation: shimmer 1.4s linear infinite; }
.pcard-media.is-loaded, .pd-slide.is-loaded { animation: none; background: var(--bg-soft); }
.js .pcard-media img, .js .pd-slide img { opacity: 0; transition: opacity .45s var(--ease), transform .8s var(--ease); }
.js .is-loaded img { opacity: 1; }
.is-error img { display: none; }
.is-error::after { content: ""; position: absolute; inset: 0; background: center / 40px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2398A1B1' stroke-width='1.5'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Ccircle cx='8.5' cy='9.5' r='1.5'/%3E%3Cpath d='m21 16-5-5-9 9'/%3E%3C/svg%3E"); }
.pcard-skel { pointer-events: none; }
.pcard-skel .pcard-media { aspect-ratio: 4 / 3; }
.pcard-skel .pcard-body { gap: 10px; }
.skel { background: linear-gradient(100deg, #ECEFF3 20%, #F6F8FA 40%, #ECEFF3 60%); background-size: 220% 100%; animation: shimmer 1.4s linear infinite; border-radius: 8px; }
@keyframes shimmer { from { background-position: 120% 0; } to { background-position: -120% 0; } }
.fade-in { animation: fadeUp .45s var(--ease) both; }
.pd-slide { position: relative; }

/* ---------------------------------------------------------------- locations */
.loc-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 768px) { .loc-tiles { grid-template-columns: repeat(4, 1fr); gap: 14px; } }
.loc-tile { display: flex; flex-direction: column; background: #fff; border: var(--hairline); border-radius: 18px; overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.loc-tile:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(16,24,40,.08); }
.loc-tile:active { transform: scale(.985); }
.loc-map { position: relative; height: 92px; overflow: hidden; display: block; animation: none; background: var(--map-bg); }
@media (min-width: 768px) { .loc-map { height: 112px; } }
.loc-map svg, .loc-map img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.loc-pin { position: absolute; left: 50%; top: 50%; width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 6px rgba(29,78,216,.14), 0 6px 14px rgba(29,78,216,.3); transition: transform .35s var(--spring); }
.loc-tile:hover .loc-pin { transform: translateY(-3px); }
.loc-body { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 14px 14px; }
.loc-body strong { display: block; font-size: var(--fs-sm); font-weight: 600; letter-spacing: var(--tr-snug); line-height: 1.3; }
.loc-body small { display: block; font-size: var(--fs-label); color: var(--text-secondary); margin-top: 1px; }
.loc-body .ic { color: var(--text-muted); flex-shrink: 0; }

/* ---------------------------------------------------------------- footer */
.ftr { background: #0B1220; color: #C3CAD6; margin-top: var(--space-section); padding: clamp(40px, 6vw, 64px) 0 calc(24px + var(--safe-b)); border-top: 0; }
.ftr .brand-light .brand-word { color: #fff; }
.ftr .brand-mark { background: linear-gradient(145deg, #2B4FB8, #1E3A8A); box-shadow: none; }
.ftr-grid { display: grid; gap: 0; }
.ftr-brand { padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,.08); }
.ftr-brand p { margin-top: 14px; max-width: 360px; font-size: var(--fs-sm); line-height: 1.6; color: #9AA4B5; }
.socials { display: flex; gap: 8px; margin-top: 18px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.06); color: #D5DBE5; transition: background .2s, color .2s, transform .2s; }
.socials a:hover { background: rgba(255,255,255,.14); color: #fff; transform: translateY(-1px); }
.ftr-contact { display: grid; gap: 8px; margin-top: 18px; }
.ftr-contact a { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-sm); color: #D5DBE5; width: fit-content; }
.ftr-contact a:hover { color: #fff; }
.ftr-col { border-bottom: 1px solid rgba(255,255,255,.08); }
.ftr-col summary { list-style: none; display: flex; align-items: center; justify-content: space-between; padding: 16px 0; font-size: var(--fs-label); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: #fff; cursor: pointer; }
.ftr-col summary::-webkit-details-marker { display: none; }
.ftr-col summary .ic { color: #6B7588; transition: transform .3s var(--ease); }
.ftr-col[open] summary .ic { transform: rotate(180deg); }
.ftr-col ul { list-style: none; margin: 0; padding: 0 0 16px; display: grid; gap: 11px; }
.ftr a { color: #AEB7C6; font-size: var(--fs-sm); transition: color .2s; }
.ftr a:hover { color: #fff; }
.ftr h4 { display: none; }
.ftr-news { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 28px; padding: 18px; border-radius: 16px; background: rgba(255,255,255,.05); font-size: var(--fs-sm); color: #fff; }
.ftr-news div { display: flex; gap: 8px; flex: 1 1 280px; max-width: 420px; }
.ftr-news .input { height: 42px; background: rgba(255,255,255,.08); color: #fff; border-color: transparent; }
.ftr-news .input::placeholder { color: #8A94A6; }
.ftr-bottom { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; align-items: center; margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.08); color: #7E889A; font-size: var(--fs-label); }
.ftr-bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }
.ftr-bottom a { font-size: var(--fs-label); color: #9AA4B5; }
@media (min-width: 768px) {
  .ftr-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
  .ftr-brand, .ftr-col { border-bottom: 0; padding-bottom: 0; }
  .ftr-col summary { pointer-events: none; padding: 4px 0 14px; }
  .ftr-col summary .ic { display: none; }
  .ftr-col ul { padding: 0; }
  .ftr-bottom { margin-top: 48px; }
}
body.has-tabbar .ftr { padding-bottom: calc(24px + var(--tab) + var(--safe-b)); }
@media (min-width: 960px) { body.has-tabbar .ftr { padding-bottom: 28px; } }

/* ---------------------------------------------------------------- inputs, empty & misc polish */
.search-row { border-radius: 14px; }
.search-row input::placeholder { color: var(--text-muted); transition: opacity .2s; }
.input::placeholder, .textarea::placeholder { color: var(--text-muted); }
.select-wrap select, .select { border-radius: 12px; }
.empty h3 { font-size: var(--fs-h3); }
.empty p { font-size: var(--fs-sm); }
.alert { font-size: var(--fs-sm); border-radius: 14px; }
.tabbar a { font-size: 10.5px; letter-spacing: 0; }
.search-card { box-shadow: 0 1px 2px rgba(16,24,40,.04), 0 18px 40px rgba(16,24,40,.10); }
.sell-band { background: radial-gradient(120% 120% at 0% 0%, #23409A 0%, #111C3D 55%, #0B1220 100%); }
@media (prefers-reduced-motion: reduce) {
  .pcard-media, .pd-slide, .skel, .loc-map { animation: none; }
  .js .pcard-media img, .js .pd-slide img { opacity: 1; }
  .menu-nav a { opacity: 1; transform: none; }
}

/* =====================================================================================
   v1.2 — logo, hero slideshow, location tiles
   ===================================================================================== */
.brand-logo { height: 36px; width: auto; max-width: 190px; object-fit: contain; display: block; }
.ftr .brand-logo { height: 40px; max-width: 220px; }
.hero-media { isolation: isolate; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s var(--ease); z-index: 0; }
.hero-slide.is-active { opacity: 1; z-index: 1; }
.hero-slide img, .hero-slide picture { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-slide.is-active img { animation: heroZoom 9s var(--ease) both; }
@keyframes heroZoom { from { transform: scale(1.06); } to { transform: scale(1); } }
.hero-media::after { z-index: 2; }
.hero-copy { z-index: 3; }
.hero-dots { position: absolute; z-index: 4; top: 14px; right: 14px; display: flex; gap: 6px; padding: 6px 8px; border-radius: 99px; background: rgba(10,15,30,.28); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.hero-dots button { width: 18px; height: 18px; border: 0; padding: 0; background: none; display: grid; place-items: center; }
.hero-dots i { width: 6px; height: 6px; border-radius: 3px; background: rgba(255,255,255,.55); transition: width .35s var(--ease), background .3s; }
.hero-dots .on i, .hero-dots [aria-selected="true"] i { width: 16px; background: #fff; }
@media (max-width: 767px) { .hero-media { aspect-ratio: 9 / 10; } .hero-copy h1 { font-size: clamp(1.625rem, 1.2rem + 2.2vw, 2.125rem); } }
@media (min-width: 768px) { .hero-dots { top: auto; right: 24px; bottom: 96px; } }

/* location tiles v2 */
:root { --map-park: #DCEFE3; }
.loc-pin { width: 44px; height: 44px; margin: -22px 0 0 -22px; background: linear-gradient(150deg, var(--accent) 0%, #0B1220 120%); box-shadow: 0 8px 18px rgba(15,23,42,.28), inset 0 1px 0 rgba(255,255,255,.25); border: 2.5px solid #fff; }
.loc-pin .ic { position: relative; z-index: 1; }
.loc-pulse { position: absolute; inset: -9px; border-radius: 50%; background: var(--accent); opacity: .18; animation: locPulse 2.6s ease-out infinite; }
@keyframes locPulse { 0% { transform: scale(.6); opacity: .28; } 100% { transform: scale(1.35); opacity: 0; } }
.loc-tile.has-img .loc-map { animation: none; }
.loc-tile.has-img .loc-map::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.35)); }
.loc-tile.has-img img { transition: transform .8s var(--ease); }
.loc-tile.has-img:hover img { transform: scale(1.05); }
.loc-chip { position: absolute; z-index: 2; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 9px; border-radius: 99px; background: rgba(255,255,255,.92); color: var(--text-primary); font-size: 12px; font-weight: 600; backdrop-filter: blur(8px); }
.loc-chip .ic { color: var(--accent); }
.loc-go { width: 30px; height: 30px; border-radius: 50%; background: var(--bg-soft); display: grid; place-items: center; color: var(--text-secondary); transition: background .2s, color .2s, transform .25s var(--ease); flex-shrink: 0; }
.loc-tile:hover .loc-go { background: var(--accent); color: #fff; transform: translateX(2px); }
.loc-map { height: 104px; }
@media (min-width: 768px) { .loc-map { height: 128px; } }
@media (prefers-reduced-motion: reduce) { .loc-pulse, .hero-slide.is-active img { animation: none; } .hero-slide { transition: none; } }
.opt { font-weight: 400; color: var(--text-muted); }