/* =====================================================================
   LIVAREA — styles
   ===================================================================== */
:root{
  --brand:#6E2438; --brand-dark:#3E1420; --brand-mid:#8A3049; --brand-tint:#F7ECEF; --brand-tint-2:#EFD9DE;
  --ink:#1D1517; --ink-2:#463D40; --muted:#7A7073; --bg:#F6F4F2; --card:#FFFFFF; --line:#E8E1DD; --line-2:#F0EBE8;
  --ok:#1E7A4C; --ok-tint:#E6F4EC; --warn:#9A5B00; --warn-tint:#FFF3DF;
  --radius:14px; --radius-sm:9px;
  --shadow-sm:0 1px 2px rgba(29,21,23,.06),0 1px 3px rgba(29,21,23,.05);
  --shadow:0 4px 18px rgba(29,21,23,.08);
  --shadow-lg:0 18px 48px rgba(29,21,23,.18);
  --hdr:64px;
  color-scheme:light;
}
*{ box-sizing:border-box; }
[hidden]{ display:none !important; }
html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
body{ margin:0; background:var(--bg); color:var(--ink); font:500 15px/1.55 'Public Sans',system-ui,-apple-system,Segoe UI,Roboto,sans-serif; -webkit-font-smoothing:antialiased; overflow-x:hidden; }
h1,h2,h3,h4{ margin:0 0 .4em; line-height:1.15; letter-spacing:-.01em; color:var(--ink); }
h1,h2,.serif{ font-family:'Fraunces',Georgia,serif; font-weight:600; }
h3,h4{ font-weight:700; }
p{ margin:0 0 1em; color:var(--ink-2); }
a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }
ul,ol{ margin:0; padding:0; }
button,input,select,textarea{ font:inherit; color:inherit; }
button{ cursor:pointer; }
:focus-visible{ outline:2px solid var(--brand); outline-offset:2px; border-radius:4px; }
.wrap{ max-width:1240px; margin:0 auto; padding:0 24px; }
@media (max-width:640px){ .wrap{ padding:0 16px; } }
.sr-only{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
.muted{ color:var(--muted); }
.inline-link{ color:var(--brand); font-weight:700; }
.inline-link:hover{ text-decoration:underline; }

/* ---------- Buttons ---------- */
.btn{ display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:11px 18px; border-radius:10px; font-weight:700; font-size:14px; border:1px solid transparent; white-space:nowrap; transition:background .15s, border-color .15s, color .15s, transform .1s; background:none; }
.btn:active{ transform:translateY(1px); }
.btn svg{ width:17px; height:17px; flex:none; }
.btn-primary{ background:var(--brand); color:#fff; }
.btn-primary:hover{ background:var(--brand-dark); }
.btn-ghost{ border-color:var(--line); background:var(--card); color:var(--ink); }
.btn-ghost:hover{ border-color:var(--brand); color:var(--brand); }
.btn-wa{ background:#1E7A4C; color:#fff; }
.btn-wa:hover{ background:#155c39; }
.btn-light{ background:#fff; color:var(--brand-dark); }
.btn-light:hover{ background:var(--brand-tint); }
.btn-sm{ padding:8px 13px; font-size:13px; border-radius:8px; }
.btn-block{ width:100%; }
.icon-btn{ width:38px; height:38px; display:inline-flex; align-items:center; justify-content:center; border-radius:50%; border:1px solid var(--line); background:var(--card); color:var(--ink); flex:none; }
.icon-btn:hover{ border-color:var(--brand); color:var(--brand); }
.icon-btn svg{ width:18px; height:18px; }
.icon-btn.on{ color:var(--brand); border-color:var(--brand); background:var(--brand-tint); }
.icon-btn.on svg{ fill:currentColor; }

/* ---------- Header ---------- */
.site-header{ position:sticky; top:0; z-index:100; background:rgba(255,255,255,.96); backdrop-filter:saturate(1.4) blur(10px); border-bottom:1px solid var(--line); }
.hdr-row{ display:flex; align-items:center; gap:18px; height:var(--hdr); }
.brand{ display:flex; align-items:center; gap:10px; flex:none; }
.brand img{ height:34px; width:auto; }
.brand b{ font-family:'Fraunces',serif; font-weight:600; font-size:21px; letter-spacing:.05em; color:var(--brand-dark); }
.city-pill{ display:inline-flex; align-items:center; gap:6px; font-size:13px; font-weight:700; color:var(--ink-2); padding:6px 11px; border:1px solid var(--line); border-radius:999px; background:var(--bg); flex:none; }
.city-pill svg{ width:14px; height:14px; color:var(--brand); }
.main-nav{ display:flex; gap:4px; margin-left:4px; }
.main-nav a, .nav-drop > button{ padding:8px 11px; border-radius:8px; font-size:14px; font-weight:600; color:var(--ink-2); border:0; background:none; display:inline-flex; align-items:center; gap:4px; }
.main-nav a:hover, .nav-drop > button:hover{ background:var(--bg); color:var(--ink); }
.main-nav a.active{ color:var(--brand); background:var(--brand-tint); }
.nav-drop{ position:relative; }
.nav-drop svg{ width:14px; height:14px; }
.nav-menu{ position:absolute; top:calc(100% + 6px); left:0; min-width:230px; background:var(--card); border:1px solid var(--line); border-radius:12px; box-shadow:var(--shadow-lg); padding:6px; display:none; }
.nav-drop.open .nav-menu{ display:block; }
.nav-menu a{ display:block; padding:9px 12px; border-radius:8px; font-size:14px; }
.nav-menu a small{ display:block; font-size:12px; color:var(--muted); font-weight:500; }
.nav-menu a:hover{ background:var(--bg); }
.hdr-actions{ margin-left:auto; display:flex; align-items:center; gap:10px; }
.hdr-actions .badge-wrap{ position:relative; }
.count-badge{ position:absolute; top:-4px; right:-4px; min-width:18px; height:18px; border-radius:9px; background:var(--brand); color:#fff; font-size:11px; font-weight:700; display:flex; align-items:center; justify-content:center; padding:0 5px; }
.count-badge:empty{ display:none; }
.post-btn .free{ background:#fff; color:var(--brand); font-size:10.5px; font-weight:800; border-radius:4px; padding:1px 5px; letter-spacing:.04em; }
.menu-toggle{ display:none; }
@media (max-width:1080px){ .main-nav{ display:none; } .menu-toggle{ display:inline-flex; } .city-pill{ display:none; } }
@media (max-width:560px){ .post-btn{ display:none; } .brand b{ font-size:18px; } .brand img{ height:30px; } .hdr-call{ display:none; } }

/* Mobile drawer */
.drawer-bg{ position:fixed; inset:0; background:rgba(29,21,23,.5); z-index:300; display:none; }
.drawer-bg.open{ display:block; }
.drawer{ position:fixed; top:0; bottom:0; right:0; width:min(340px,88vw); background:var(--card); z-index:310; transform:translateX(100%); transition:transform .25s ease; display:flex; flex-direction:column; }
.drawer.open{ transform:none; }
.drawer-head{ display:flex; align-items:center; justify-content:space-between; padding:14px 16px; border-bottom:1px solid var(--line); }
.drawer-body{ overflow-y:auto; padding:10px; flex:1; }
.drawer-body a{ display:flex; align-items:center; gap:12px; padding:12px; border-radius:10px; font-weight:600; }
.drawer-body a:hover{ background:var(--bg); }
.drawer-body a svg{ width:19px; height:19px; color:var(--brand); }
.drawer-body .grp{ font-size:11px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; color:var(--muted); padding:14px 12px 6px; }

/* ---------- Home hero ---------- */
.hero{ position:relative; background:linear-gradient(140deg,var(--brand-dark) 0%,var(--brand) 55%,var(--brand-mid) 100%); color:#fff; padding:56px 0 110px; }
.hero::after{ content:""; position:absolute; inset:auto 0 0 0; height:46%; background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 260' preserveAspectRatio='none'%3E%3Cg fill='%23ffffff' fill-opacity='.07'%3E%3Crect x='40' y='120' width='60' height='140'/%3E%3Crect x='110' y='60' width='48' height='200'/%3E%3Crect x='170' y='140' width='40' height='120'/%3E%3Crect x='225' y='30' width='64' height='230'/%3E%3Crect x='300' y='100' width='50' height='160'/%3E%3Crect x='365' y='70' width='56' height='190'/%3E%3Crect x='440' y='150' width='44' height='110'/%3E%3Crect x='500' y='10' width='70' height='250'/%3E%3Crect x='585' y='90' width='52' height='170'/%3E%3Crect x='650' y='130' width='40' height='130'/%3E%3Crect x='705' y='40' width='62' height='220'/%3E%3Crect x='780' y='110' width='48' height='150'/%3E%3Crect x='840' y='70' width='56' height='190'/%3E%3Crect x='910' y='140' width='44' height='120'/%3E%3Crect x='968' y='50' width='60' height='210'/%3E%3Crect x='1040' y='120' width='50' height='140'/%3E%3Crect x='1100' y='80' width='58' height='180'/%3E%3C/g%3E%3C/svg%3E") bottom/100% 100% no-repeat; pointer-events:none; }
.hero .wrap{ position:relative; z-index:5; }
.hero.clip{ overflow:hidden; }
.hero-eyebrow{ display:inline-flex; align-items:center; gap:8px; font-size:12.5px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:rgba(255,255,255,.85); background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.18); padding:6px 12px; border-radius:999px; margin-bottom:18px; }
.hero-eyebrow svg{ width:15px; height:15px; }
.hero h1{ color:#fff; font-size:clamp(32px,5vw,56px); max-width:16ch; margin-bottom:12px; }
.hero h1 em{ font-style:italic; font-weight:500; color:#F3D3DA; }
.hero-sub{ color:rgba(255,255,255,.82); font-size:17px; max-width:56ch; margin-bottom:30px; }

/* Search box */
.search-box{ background:var(--card); border-radius:18px; box-shadow:var(--shadow-lg); max-width:900px; color:var(--ink); position:relative; }
.search-tabs{ display:flex; gap:2px; padding:8px 8px 0; overflow-x:auto; scrollbar-width:none; }
.search-tabs::-webkit-scrollbar{ display:none; }
.search-tab{ border:0; background:none; padding:11px 16px 13px; font-size:14px; font-weight:700; color:var(--muted); border-bottom:3px solid transparent; white-space:nowrap; }
.search-tab.active{ color:var(--brand); border-bottom-color:var(--brand); }
.search-tab .new{ font-size:10px; background:var(--brand); color:#fff; padding:1px 5px; border-radius:4px; margin-left:4px; vertical-align:2px; }
.search-row{ display:flex; align-items:stretch; gap:10px; padding:12px; border-top:1px solid var(--line); }
.search-input{ flex:1; display:flex; align-items:center; gap:10px; padding:0 14px; border:1px solid var(--line); border-radius:12px; background:var(--bg); min-width:0; }
.search-input:focus-within{ border-color:var(--brand); background:#fff; }
.search-input svg{ width:19px; height:19px; color:var(--muted); flex:none; }
.search-input input{ border:0; background:none; outline:0; height:50px; flex:1; min-width:0; font-size:15.5px; }
.search-budget{ border:1px solid var(--line); border-radius:12px; background:var(--bg); padding:0 12px; font-weight:600; font-size:14px; min-width:150px; }
.search-row .btn{ padding:0 26px; font-size:15px; border-radius:12px; }
@media (max-width:720px){ .search-row{ flex-wrap:wrap; } .search-input{ flex-basis:100%; } .search-budget{ flex:1; height:48px; } .search-row .btn{ height:48px; } }
.suggest{ position:absolute; left:12px; right:12px; top:calc(100% - 8px); background:var(--card); border:1px solid var(--line); border-radius:12px; box-shadow:var(--shadow-lg); z-index:50; max-height:360px; overflow-y:auto; padding:6px; display:none; }
.suggest.open{ display:block; }
.suggest-item{ display:flex; align-items:center; gap:12px; padding:9px 10px; border-radius:9px; cursor:pointer; }
.suggest-item.hl, .suggest-item:hover{ background:var(--bg); }
.suggest-item .s-ico{ width:34px; height:34px; border-radius:9px; background:var(--brand-tint); color:var(--brand); display:flex; align-items:center; justify-content:center; flex:none; }
.suggest-item .s-ico svg{ width:17px; height:17px; }
.suggest-item b{ display:block; font-size:14px; }
.suggest-item small{ display:block; font-size:12px; color:var(--muted); }
.suggest-item .s-kind{ margin-left:auto; font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.06em; color:var(--muted); }
.suggest-empty{ padding:14px; font-size:13.5px; color:var(--muted); }
.pop-searches{ display:flex; flex-wrap:wrap; gap:8px; margin-top:18px; align-items:center; }
.pop-searches span{ font-size:13px; color:rgba(255,255,255,.7); font-weight:600; margin-right:2px; }
.pop-searches a{ font-size:13px; font-weight:600; padding:6px 12px; border-radius:999px; background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.2); color:#fff; }
.pop-searches a:hover{ background:rgba(255,255,255,.22); }

/* Trust strip */
.trust-strip{ margin-top:-56px; position:relative; z-index:2; }
.trust-grid{ display:grid; grid-template-columns:repeat(4,1fr); background:var(--card); border-radius:var(--radius); box-shadow:var(--shadow); overflow:hidden; }
.trust-grid > div{ padding:20px 22px; border-right:1px solid var(--line); display:flex; gap:14px; align-items:center; }
.trust-grid > div:last-child{ border-right:0; }
.trust-grid .t-ico{ width:42px; height:42px; border-radius:12px; background:var(--brand-tint); color:var(--brand); display:flex; align-items:center; justify-content:center; flex:none; }
.trust-grid .t-ico svg{ width:21px; height:21px; }
.trust-grid b{ display:block; font-size:18px; font-family:'Fraunces',serif; }
.trust-grid span{ font-size:12.5px; color:var(--muted); line-height:1.35; display:block; }
@media (max-width:900px){ .trust-grid{ grid-template-columns:1fr 1fr; } .trust-grid > div:nth-child(2){ border-right:0; } .trust-grid > div:nth-child(-n+2){ border-bottom:1px solid var(--line); } }
@media (max-width:480px){ .trust-grid > div{ padding:14px; gap:10px; } .trust-grid .t-ico{ width:36px; height:36px; } }

/* ---------- Sections ---------- */
.section{ padding:56px 0; }
.section.alt{ background:var(--card); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.sec-head{ display:flex; align-items:flex-end; justify-content:space-between; gap:16px; margin-bottom:24px; flex-wrap:wrap; }
.sec-head h2{ font-size:clamp(24px,3vw,32px); margin:0; }
.sec-head p{ margin:6px 0 0; color:var(--muted); max-width:60ch; }
.sec-head .see-all{ font-weight:700; color:var(--brand); font-size:14px; display:inline-flex; align-items:center; gap:4px; }
.sec-head .see-all svg{ width:16px; height:16px; }
.eyebrow{ font-size:12px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; color:var(--brand); margin:0 0 8px; }

/* Horizontal scroller */
.scroller{ display:grid; grid-auto-flow:column; grid-auto-columns:minmax(290px,1fr); gap:18px; overflow-x:auto; scroll-snap-type:x mandatory; padding-bottom:10px; scrollbar-width:thin; }
.scroller > *{ scroll-snap-align:start; }
@media (min-width:1100px){ .scroller.four{ grid-auto-columns:calc((100% - 54px)/4); } }

/* Category tiles */
.cat-grid{ display:grid; grid-template-columns:repeat(6,1fr); gap:14px; }
@media (max-width:980px){ .cat-grid{ grid-template-columns:repeat(3,1fr); } }
@media (max-width:520px){ .cat-grid{ grid-template-columns:repeat(2,1fr); } }
.cat-tile{ background:var(--card); border:1px solid var(--line); border-radius:var(--radius); padding:18px 16px; display:flex; flex-direction:column; gap:10px; transition:border-color .15s, box-shadow .15s, transform .15s; }
.cat-tile:hover{ border-color:var(--brand); box-shadow:var(--shadow); transform:translateY(-2px); }
.cat-tile .c-ico{ width:44px; height:44px; border-radius:12px; background:var(--brand-tint); color:var(--brand); display:flex; align-items:center; justify-content:center; }
.cat-tile .c-ico svg{ width:22px; height:22px; }
.cat-tile b{ font-size:15px; }
.cat-tile span{ font-size:12.5px; color:var(--muted); line-height:1.4; }

/* ---------- Property card ---------- */
.p-card{ background:var(--card); border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; display:flex; flex-direction:column; transition:box-shadow .2s, transform .2s, border-color .2s; position:relative; }
.p-card:hover{ box-shadow:var(--shadow); border-color:#dccfd2; }
.p-media{ position:relative; aspect-ratio:16/10; overflow:hidden; background:var(--brand-dark); display:block; }
.p-media svg.art, .p-media img{ width:100%; height:100%; display:block; object-fit:cover; transition:transform .5s ease; }
.p-card:hover .p-media svg.art, .p-card:hover .p-media img{ transform:scale(1.035); }
.p-tags{ position:absolute; top:10px; left:10px; display:flex; gap:6px; flex-wrap:wrap; right:56px; }
.tag{ display:inline-flex; align-items:center; gap:4px; font-size:11px; font-weight:800; letter-spacing:.03em; padding:4px 8px; border-radius:6px; background:rgba(255,255,255,.95); color:var(--brand-dark); text-transform:uppercase; }
.tag svg{ width:12px; height:12px; }
.tag.ok{ background:var(--ok-tint); color:var(--ok); }
.tag.dark{ background:rgba(29,21,23,.72); color:#fff; }
.p-heart{ position:absolute; top:10px; right:10px; }
.p-heart .icon-btn{ background:rgba(255,255,255,.95); border-color:transparent; }
.illus-note{ position:absolute; bottom:8px; right:10px; font-size:10px; font-weight:600; color:rgba(255,255,255,.7); letter-spacing:.04em; }
.p-body{ padding:14px 16px 16px; display:flex; flex-direction:column; gap:4px; flex:1; }
.p-price{ display:flex; align-items:baseline; gap:8px; flex-wrap:wrap; }
.p-price b{ font-size:19px; font-weight:800; color:var(--ink); }
.p-price small{ font-size:12.5px; color:var(--muted); font-weight:600; }
.p-title{ font-size:16px; font-weight:700; margin:2px 0 0; }
.p-title a:hover{ color:var(--brand); }
.p-sub{ font-size:13px; color:var(--muted); margin:0; display:flex; align-items:center; gap:5px; }
.p-sub svg{ width:13px; height:13px; flex:none; }
.p-facts{ display:flex; gap:0; margin:10px 0 4px; border:1px solid var(--line-2); border-radius:10px; overflow:hidden; }
.p-facts div{ flex:1; padding:8px 10px; border-right:1px solid var(--line-2); min-width:0; }
.p-facts div:last-child{ border-right:0; }
.p-facts span{ display:block; font-size:10.5px; color:var(--muted); font-weight:700; text-transform:uppercase; letter-spacing:.05em; }
.p-facts b{ display:block; font-size:13px; font-weight:700; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.p-actions{ display:flex; gap:8px; margin-top:auto; padding-top:10px; align-items:center; }
.p-actions .btn{ flex:1; }
.cmp-check{ display:inline-flex; align-items:center; gap:6px; font-size:12.5px; font-weight:600; color:var(--muted); cursor:pointer; user-select:none; margin-top:8px; }
.cmp-check input{ accent-color:var(--brand); width:15px; height:15px; }

/* List layout card */
.results-list .p-card{ flex-direction:row; }
.results-list .p-media{ width:340px; flex:none; aspect-ratio:auto; min-height:230px; }
.results-list .p-desc{ display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; font-size:13.5px; margin:6px 0 0; }
.p-desc{ display:none; }
@media (max-width:760px){ .results-list .p-card{ flex-direction:column; } .results-list .p-media{ width:auto; min-height:0; aspect-ratio:16/10; } }

/* ---------- Locality cards ---------- */
.loc-card{ background:var(--card); border:1px solid var(--line); border-radius:var(--radius); padding:18px; display:flex; flex-direction:column; gap:8px; transition:border-color .15s, box-shadow .15s; }
.loc-card:hover{ border-color:var(--brand); box-shadow:var(--shadow); }
.loc-card h3{ font-size:17px; margin:0; display:flex; justify-content:space-between; gap:8px; }
.loc-card .lc-tag{ font-size:12px; font-weight:700; color:var(--brand); text-transform:uppercase; letter-spacing:.04em; }
.loc-card p{ font-size:13.5px; margin:0; }
.loc-metrics{ display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-top:6px; }
.loc-metrics div{ background:var(--bg); border-radius:9px; padding:8px 10px; }
.loc-metrics span{ display:block; font-size:10.5px; font-weight:700; text-transform:uppercase; letter-spacing:.05em; color:var(--muted); }
.loc-metrics b{ font-size:13px; }
.loc-count{ font-size:12px; font-weight:700; padding:3px 8px; border-radius:6px; background:var(--brand-tint); color:var(--brand); white-space:nowrap; align-self:flex-start; }

/* Builder tiles */
.builder-grid{ display:grid; grid-template-columns:repeat(5,1fr); gap:14px; }
@media (max-width:980px){ .builder-grid{ grid-template-columns:repeat(3,1fr); } }
@media (max-width:560px){ .builder-grid{ grid-template-columns:repeat(2,1fr); } }
.builder-tile{ background:var(--card); border:1px solid var(--line); border-radius:var(--radius); padding:16px; display:flex; flex-direction:column; gap:10px; transition:border-color .15s, box-shadow .15s; }
.builder-tile:hover{ border-color:var(--brand); box-shadow:var(--shadow); }
.b-mono{ width:46px; height:46px; border-radius:12px; display:flex; align-items:center; justify-content:center; font-family:'Fraunces',serif; font-weight:600; font-size:18px; color:#fff; background:linear-gradient(140deg,var(--brand-mid),var(--brand-dark)); }
.builder-tile b{ font-size:14.5px; line-height:1.3; }
.builder-tile span{ font-size:12.5px; color:var(--muted); }

/* ---------- Search results page ---------- */
.results-top{ background:var(--card); border-bottom:1px solid var(--line); position:sticky; top:var(--hdr); z-index:60; }
.results-top .wrap{ display:flex; align-items:center; gap:10px; padding-top:10px; padding-bottom:10px; flex-wrap:wrap; }
.mode-seg{ display:inline-flex; background:var(--bg); border:1px solid var(--line); border-radius:10px; padding:3px; }
.mode-seg a{ padding:7px 14px; border-radius:8px; font-size:13.5px; font-weight:700; color:var(--muted); }
.mode-seg a.active{ background:var(--card); color:var(--brand); box-shadow:var(--shadow-sm); }
.rt-search{ flex:1; min-width:220px; position:relative; }
.rt-search .search-input{ background:var(--bg); }
.rt-search .search-input input{ height:42px; font-size:14.5px; }
.rt-search .suggest{ left:0; right:0; top:calc(100% + 6px); }
.filter-btn{ display:none; }
@media (max-width:980px){ .filter-btn{ display:inline-flex; } }
.results-layout{ display:grid; grid-template-columns:280px 1fr; gap:24px; padding-top:20px; padding-bottom:56px; align-items:start; }
@media (max-width:980px){ .results-layout{ grid-template-columns:1fr; } }
.filters{ background:var(--card); border:1px solid var(--line); border-radius:var(--radius); position:sticky; top:calc(var(--hdr) + 76px); max-height:calc(100vh - var(--hdr) - 96px); overflow-y:auto; }
.filters-head{ display:flex; justify-content:space-between; align-items:center; padding:14px 16px; border-bottom:1px solid var(--line); position:sticky; top:0; background:var(--card); z-index:1; }
.filters-head b{ font-size:15px; }
.filters-head button{ border:0; background:none; color:var(--brand); font-weight:700; font-size:13px; }
.f-group{ padding:14px 16px; border-bottom:1px solid var(--line-2); }
.f-group:last-child{ border-bottom:0; }
.f-group > h4{ font-size:12px; text-transform:uppercase; letter-spacing:.08em; color:var(--muted); margin:0 0 10px; font-weight:800; }
.chips{ display:flex; flex-wrap:wrap; gap:7px; }
.chip{ border:1px solid var(--line); background:var(--card); border-radius:999px; padding:6px 12px; font-size:13px; font-weight:600; color:var(--ink-2); display:inline-flex; align-items:center; gap:5px; }
.chip:hover{ border-color:var(--brand); }
.chip.on{ background:var(--brand-tint); border-color:var(--brand); color:var(--brand); }
.chip svg{ width:13px; height:13px; }
.range-row{ display:flex; gap:8px; align-items:center; }
.range-row select{ flex:1; border:1px solid var(--line); border-radius:9px; padding:8px 9px; background:var(--bg); font-size:13.5px; font-weight:600; min-width:0; }
.chk-list{ display:flex; flex-direction:column; gap:8px; max-height:220px; overflow-y:auto; }
.chk-list label, .toggle-row{ display:flex; align-items:center; gap:9px; font-size:13.5px; font-weight:600; cursor:pointer; color:var(--ink-2); }
.chk-list input, .toggle-row input{ accent-color:var(--brand); width:16px; height:16px; flex:none; }
.chk-list .cnt{ margin-left:auto; color:var(--muted); font-size:12px; font-weight:600; }
.filters-apply{ display:none; padding:12px 16px; border-top:1px solid var(--line); position:sticky; bottom:0; background:var(--card); }
@media (max-width:980px){
  .filters{ position:fixed; inset:0; z-index:320; max-height:none; border-radius:0; border:0; transform:translateY(100%); transition:transform .25s ease; display:flex; flex-direction:column; }
  .filters.open{ transform:none; }
  .filters .f-scroll{ overflow-y:auto; flex:1; }
  .filters-apply{ display:block; }
}
.res-bar{ display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:12px; flex-wrap:wrap; }
.res-bar h1{ font-family:'Public Sans',sans-serif; font-size:18px; font-weight:800; margin:0; letter-spacing:0; }
.res-bar h1 small{ display:block; font-size:13px; color:var(--muted); font-weight:600; margin-top:2px; }
.res-controls{ display:flex; gap:8px; align-items:center; }
.res-controls select{ border:1px solid var(--line); border-radius:9px; padding:8px 10px; background:var(--card); font-weight:600; font-size:13.5px; }
.view-seg{ display:inline-flex; border:1px solid var(--line); border-radius:9px; overflow:hidden; background:var(--card); }
.view-seg button{ border:0; background:none; padding:7px 10px; color:var(--muted); display:flex; align-items:center; gap:5px; font-size:13px; font-weight:700; }
.view-seg button svg{ width:16px; height:16px; }
.view-seg button.on{ background:var(--brand-tint); color:var(--brand); }
@media (max-width:560px){ .view-seg button span{ display:none; } }
.active-chips{ display:flex; gap:7px; flex-wrap:wrap; margin-bottom:14px; }
.active-chips .chip{ background:var(--brand-tint); border-color:var(--brand-tint-2); color:var(--brand-dark); padding:5px 8px 5px 12px; }
.active-chips .chip button{ border:0; background:none; padding:0; display:flex; color:inherit; }
.results-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:18px; }
.results-list{ display:flex; flex-direction:column; gap:16px; }
.map-wrap{ position:relative; border-radius:var(--radius); overflow:hidden; border:1px solid var(--line); background:var(--card); }
#resultsMap, .loc-map{ height:min(70vh,620px); width:100%; }
.loc-map{ height:360px; }
.map-note{ font-size:12px; color:var(--muted); padding:8px 12px; border-top:1px solid var(--line); background:var(--card); margin:0; }
.map-pop b{ display:block; font-size:14px; }
.map-pop span{ display:block; font-size:12px; color:#6b6266; }
.map-pop a{ display:inline-block; margin-top:6px; color:var(--brand); font-weight:700; font-size:12.5px; }
.price-pin{ background:var(--brand); color:#fff; font:800 11.5px/1 'Public Sans',sans-serif; padding:6px 8px; border-radius:7px; white-space:nowrap; box-shadow:0 3px 8px rgba(0,0,0,.25); border:2px solid #fff; transform:translate(-50%,-100%); position:absolute; }
.price-pin::after{ content:""; position:absolute; left:50%; bottom:-7px; transform:translateX(-50%); border:5px solid transparent; border-top-color:#fff; }
.empty-state{ background:var(--card); border:1px dashed #d8cdd0; border-radius:var(--radius); padding:40px 24px; text-align:center; }
.empty-state .e-ico{ width:56px; height:56px; border-radius:16px; background:var(--brand-tint); color:var(--brand); display:flex; align-items:center; justify-content:center; margin:0 auto 14px; }
.empty-state .e-ico svg{ width:26px; height:26px; }
.empty-state h3{ font-size:19px; }
.empty-state p{ max-width:52ch; margin:0 auto 16px; }

/* Compare tray */
.cmp-tray{ position:fixed; left:50%; bottom:18px; transform:translate(-50%,140%); z-index:150; background:var(--ink); color:#fff; border-radius:14px; box-shadow:var(--shadow-lg); padding:10px 10px 10px 16px; display:flex; align-items:center; gap:12px; transition:transform .25s ease; max-width:calc(100vw - 24px); }
.cmp-tray.show{ transform:translate(-50%,0); }
.cmp-tray .ct-items{ display:flex; gap:6px; overflow-x:auto; }
.cmp-tray .ct-item{ font-size:12.5px; font-weight:700; background:rgba(255,255,255,.12); padding:6px 8px 6px 10px; border-radius:8px; white-space:nowrap; display:flex; align-items:center; gap:6px; }
.cmp-tray .ct-item button{ border:0; background:none; color:#fff; opacity:.7; padding:0; font-size:15px; line-height:1; }
.cmp-tray .btn{ flex:none; }
@media (max-width:760px){ .cmp-tray{ bottom:76px; } }

/* ---------- Project detail ---------- */
.crumbs{ font-size:13px; color:var(--muted); padding:14px 0; display:flex; gap:6px; flex-wrap:wrap; }
.crumbs a:hover{ color:var(--brand); }
.pd-head{ display:flex; justify-content:space-between; gap:20px; align-items:flex-start; flex-wrap:wrap; margin-bottom:16px; }
.pd-head h1{ font-size:clamp(26px,3.6vw,38px); margin:0 0 4px; }
.pd-head .by{ font-size:14px; color:var(--ink-2); font-weight:600; margin:0; }
.pd-head .by a{ color:var(--brand); }
.pd-head .loc{ font-size:14px; color:var(--muted); display:flex; align-items:center; gap:5px; margin:4px 0 0; }
.pd-head .loc svg{ width:15px; height:15px; }
.pd-price{ text-align:right; }
.pd-price b{ display:block; font-size:clamp(22px,3vw,30px); font-weight:800; }
.pd-price span{ font-size:13px; color:var(--muted); font-weight:600; }
@media (max-width:640px){ .pd-price{ text-align:left; } }
.pd-tools{ display:flex; gap:8px; margin-top:10px; justify-content:flex-end; }
@media (max-width:640px){ .pd-tools{ justify-content:flex-start; } }
.gallery{ display:grid; grid-template-columns:2fr 1fr; grid-template-rows:1fr 1fr; gap:8px; border-radius:var(--radius); overflow:hidden; height:min(52vw,440px); margin-bottom:22px; }
.gallery > div{ position:relative; overflow:hidden; background:var(--brand-dark); }
.gallery > div:first-child{ grid-row:1/3; }
.gallery svg.art, .gallery img{ width:100%; height:100%; object-fit:cover; display:block; }
.gallery .g-label{ position:absolute; left:10px; bottom:10px; }
.gallery .g-ph{ position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; text-align:center; color:rgba(255,255,255,.85); font-size:13px; font-weight:600; padding:14px; background:linear-gradient(150deg,#4d1a29,#2a1218); }
.gallery .g-ph svg{ width:28px; height:28px; opacity:.8; }
@media (max-width:640px){ .gallery{ grid-template-columns:1fr 1fr; grid-template-rows:auto auto; height:auto; } .gallery > div:first-child{ grid-column:1/3; grid-row:auto; aspect-ratio:16/10; } .gallery > div:not(:first-child){ aspect-ratio:4/3; } }
.pd-layout{ display:grid; grid-template-columns:1fr 360px; gap:24px; align-items:start; padding-bottom:56px; }
@media (max-width:980px){ .pd-layout{ grid-template-columns:1fr; } }
.pd-tabs{ position:sticky; top:var(--hdr); z-index:40; background:var(--bg); display:flex; gap:4px; overflow-x:auto; border-bottom:1px solid var(--line); margin-bottom:18px; scrollbar-width:none; }
.pd-tabs::-webkit-scrollbar{ display:none; }
.pd-tabs a{ padding:12px 14px; font-weight:700; font-size:14px; color:var(--muted); border-bottom:3px solid transparent; white-space:nowrap; }
.pd-tabs a.on{ color:var(--brand); border-bottom-color:var(--brand); }
.panel{ background:var(--card); border:1px solid var(--line); border-radius:var(--radius); padding:22px; margin-bottom:18px; scroll-margin-top:calc(var(--hdr) + 60px); }
.panel > h2{ font-family:'Public Sans',sans-serif; font-size:18px; font-weight:800; letter-spacing:0; margin:0 0 14px; }
.panel > h2 small{ font-weight:600; color:var(--muted); font-size:13px; margin-left:6px; }
.kv-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:var(--line-2); border:1px solid var(--line-2); border-radius:12px; overflow:hidden; }
@media (max-width:640px){ .kv-grid{ grid-template-columns:1fr 1fr; } }
.kv-grid div{ background:var(--card); padding:12px 14px; }
.kv-grid span{ display:block; font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.06em; color:var(--muted); }
.kv-grid b{ font-size:15px; }
.stat-row{ display:grid; grid-template-columns:repeat(4,1fr); gap:10px; margin-top:16px; }
@media (max-width:640px){ .stat-row{ grid-template-columns:1fr 1fr; } }
.stat-row div{ background:var(--brand-tint); border-radius:12px; padding:14px; text-align:center; }
.stat-row b{ display:block; font-family:'Fraunces',serif; font-size:24px; color:var(--brand); }
.stat-row span{ font-size:12px; font-weight:700; color:var(--brand-dark); }
.hl-list{ list-style:none; display:grid; grid-template-columns:1fr 1fr; gap:10px 18px; margin-top:16px; }
@media (max-width:640px){ .hl-list{ grid-template-columns:1fr; } }
.hl-list li{ display:flex; gap:10px; font-size:14px; color:var(--ink-2); }
.hl-list li svg{ width:18px; height:18px; color:var(--ok); flex:none; margin-top:2px; }
.cfg-table{ width:100%; border-collapse:collapse; font-size:14px; }
.cfg-table th{ text-align:left; font-size:11.5px; text-transform:uppercase; letter-spacing:.06em; color:var(--muted); font-weight:800; padding:10px 12px; background:var(--bg); }
.cfg-table td{ padding:12px; border-bottom:1px solid var(--line-2); }
.cfg-table td:last-child{ text-align:right; }
.cfg-table tr:last-child td{ border-bottom:0; }
.fine{ font-size:12px; color:var(--muted); margin:12px 0 0; }
.compare-bar{ margin-top:6px; }
.cb-track{ position:relative; height:12px; border-radius:6px; background:linear-gradient(90deg,#E9F3EC,#F7ECEF 60%,#EFD9DE); margin:30px 0 8px; }
.cb-mark{ position:absolute; top:-26px; transform:translateX(-50%); font-size:11.5px; font-weight:800; color:#fff; background:var(--brand); padding:3px 7px; border-radius:6px; white-space:nowrap; }
.cb-mark::after{ content:""; position:absolute; left:50%; bottom:-5px; transform:translateX(-50%); border:5px solid transparent; border-top-color:var(--brand); border-bottom:0; }
.cb-dot{ position:absolute; top:-3px; width:18px; height:18px; border-radius:50%; background:var(--brand); border:3px solid #fff; box-shadow:0 1px 4px rgba(0,0,0,.25); transform:translateX(-50%); }
.cb-ends{ display:flex; justify-content:space-between; font-size:12px; color:var(--muted); font-weight:700; }
.side-card{ position:sticky; top:calc(var(--hdr) + 16px); background:var(--card); border:1px solid var(--line); border-radius:var(--radius); padding:20px; box-shadow:var(--shadow); }
.side-card h3{ font-size:17px; margin-bottom:2px; }
.side-card .sc-sub{ font-size:13px; color:var(--muted); margin-bottom:14px; }
.agent-row{ display:flex; gap:12px; align-items:center; padding:12px; background:var(--bg); border-radius:12px; margin-bottom:14px; }
.agent-row img{ width:42px; height:42px; border-radius:50%; background:#fff; padding:5px; object-fit:contain; border:1px solid var(--line); }
.agent-row b{ display:block; font-size:14px; }
.agent-row span{ font-size:12px; color:var(--muted); }
.verified{ display:inline-flex; align-items:center; gap:4px; color:var(--ok); font-weight:700; font-size:12px; }
.verified svg{ width:13px; height:13px; }

/* Forms */
.field{ margin-bottom:12px; }
.field label, .lbl{ display:block; font-size:12px; font-weight:700; color:var(--ink-2); margin-bottom:5px; }
.field input, .field select, .field textarea{ width:100%; border:1px solid var(--line); background:var(--bg); border-radius:10px; padding:11px 12px; font-size:14.5px; outline:0; transition:border-color .15s, background .15s; }
.field input:focus, .field select:focus, .field textarea:focus{ border-color:var(--brand); background:#fff; }
.field textarea{ min-height:84px; resize:vertical; }
.field .hint{ font-size:11.5px; color:var(--muted); margin:5px 0 0; }
.two{ display:grid; grid-template-columns:1fr 1fr; gap:10px; }
@media (max-width:480px){ .two{ grid-template-columns:1fr; } }
.form-note{ font-size:11.5px; color:var(--muted); text-align:center; margin:10px 0 0; }
.err{ color:#b3261e; font-size:12.5px; font-weight:600; margin:6px 0 0; }
.slot-chips{ display:flex; gap:6px; flex-wrap:wrap; }
.date-strip{ display:grid; grid-template-columns:repeat(5,1fr); gap:6px; }
.date-strip button{ border:1px solid var(--line); background:var(--card); border-radius:10px; padding:7px 2px; text-align:center; line-height:1.2; }
.date-strip button small{ display:block; font-size:10.5px; color:var(--muted); font-weight:700; text-transform:uppercase; }
.date-strip button b{ font-size:16px; }
.date-strip button.on{ border-color:var(--brand); background:var(--brand-tint); color:var(--brand); }
.seg{ display:flex; background:var(--bg); border-radius:10px; padding:3px; border:1px solid var(--line); margin-bottom:12px; }
.seg button{ flex:1; border:0; background:none; padding:8px; border-radius:8px; font-weight:700; font-size:13px; color:var(--muted); }
.seg button.on{ background:var(--card); color:var(--brand); box-shadow:var(--shadow-sm); }

/* Mobile sticky project CTA */
.pd-mobile-cta{ display:none; }
@media (max-width:980px){
  .side-card{ position:static; }
  .pd-mobile-cta{ display:flex; position:fixed; left:0; right:0; bottom:60px; z-index:140; gap:8px; padding:10px 12px; background:var(--card); border-top:1px solid var(--line); box-shadow:0 -6px 18px rgba(0,0,0,.08); }
  .pd-mobile-cta .btn{ flex:1; }
}

/* ---------- Compare page ---------- */
.cmp-scroll{ overflow-x:auto; background:var(--card); border:1px solid var(--line); border-radius:var(--radius); }
.cmp-table{ width:100%; border-collapse:collapse; min-width:640px; font-size:14px; }
.cmp-table th, .cmp-table td{ padding:12px 14px; border-bottom:1px solid var(--line-2); text-align:left; vertical-align:top; }
.cmp-table th{ width:170px; font-size:12px; text-transform:uppercase; letter-spacing:.06em; color:var(--muted); font-weight:800; background:var(--bg); position:sticky; left:0; }
.cmp-table thead td{ vertical-align:bottom; }
.cmp-table .cmp-art{ border-radius:10px; overflow:hidden; aspect-ratio:16/10; margin-bottom:8px; position:relative; }
.cmp-table .cmp-art svg{ width:100%; height:100%; display:block; }
.cmp-table .best{ color:var(--ok); font-weight:800; }
.cmp-table .best::after{ content:" ✓"; }

/* ---------- Tools ---------- */
.tool-tabs{ display:flex; gap:8px; overflow-x:auto; padding-bottom:4px; margin-bottom:18px; scrollbar-width:none; }
.tool-tabs::-webkit-scrollbar{ display:none; }
.tool-tabs a{ display:inline-flex; align-items:center; gap:8px; padding:10px 14px; border-radius:12px; border:1px solid var(--line); background:var(--card); font-weight:700; font-size:14px; white-space:nowrap; color:var(--ink-2); }
.tool-tabs a svg{ width:17px; height:17px; color:var(--brand); }
.tool-tabs a.on{ border-color:var(--brand); background:var(--brand-tint); color:var(--brand); }
.tool-layout{ display:grid; grid-template-columns:1fr 1fr; gap:20px; align-items:start; }
@media (max-width:900px){ .tool-layout{ grid-template-columns:1fr; } }
.slider-field{ margin-bottom:20px; }
.slider-field .sf-top{ display:flex; justify-content:space-between; align-items:center; margin-bottom:8px; gap:10px; }
.slider-field .sf-top label{ font-size:13.5px; font-weight:700; color:var(--ink-2); }
.slider-field .sf-top input{ width:140px; text-align:right; border:1px solid var(--line); border-radius:8px; padding:6px 9px; font-weight:700; background:var(--bg); font-size:14px; }
.slider-field input[type=range]{ width:100%; accent-color:var(--brand); height:22px; }
.slider-field .sf-words{ font-size:12px; color:var(--brand); font-weight:700; margin-top:2px; }
.result-big{ text-align:center; padding:8px 0 16px; }
.result-big span{ font-size:13px; font-weight:700; color:var(--muted); text-transform:uppercase; letter-spacing:.06em; }
.result-big b{ display:block; font-family:'Fraunces',serif; font-size:clamp(30px,4vw,40px); color:var(--brand); line-height:1.1; margin-top:4px; }
.result-rows{ display:flex; flex-direction:column; gap:1px; background:var(--line-2); border-radius:12px; overflow:hidden; border:1px solid var(--line-2); }
.result-rows div{ display:flex; justify-content:space-between; gap:10px; padding:11px 14px; background:var(--card); font-size:14px; }
.result-rows div b{ text-align:right; }
.result-rows div.total{ background:var(--brand-tint); font-weight:800; }
.donut-wrap{ display:flex; align-items:center; gap:20px; justify-content:center; margin:6px 0 18px; flex-wrap:wrap; }
.legend{ display:flex; flex-direction:column; gap:8px; font-size:13px; font-weight:600; }
.legend i{ display:inline-block; width:11px; height:11px; border-radius:3px; margin-right:7px; vertical-align:-1px; }
.bars{ display:flex; align-items:flex-end; gap:3px; height:150px; margin-top:6px; }
.bars div{ flex:1; background:var(--brand-tint-2); border-radius:3px 3px 0 0; position:relative; min-width:3px; }
.bars div i{ position:absolute; left:0; right:0; bottom:0; background:var(--brand); border-radius:3px 3px 0 0; }
.bars-axis{ display:flex; justify-content:space-between; font-size:11px; color:var(--muted); font-weight:700; margin-top:5px; }
.conv-grid{ display:grid; grid-template-columns:1fr 1fr; gap:10px; }
@media (max-width:480px){ .conv-grid{ grid-template-columns:1fr; } }
.conv-grid .field input{ font-weight:700; }

/* ---------- Content blocks ---------- */
.prose{ max-width:78ch; }
.prose p, .prose li{ color:var(--ink-2); }
.prose ul{ padding-left:20px; margin:0 0 1em; }
.prose li{ margin-bottom:6px; }
details.acc{ background:var(--card); border:1px solid var(--line); border-radius:12px; margin-bottom:10px; }
details.acc summary{ list-style:none; cursor:pointer; padding:16px 18px; font-weight:700; font-size:15.5px; display:flex; justify-content:space-between; gap:14px; align-items:center; }
details.acc summary::-webkit-details-marker{ display:none; }
details.acc summary::after{ content:"+"; font-size:22px; font-weight:400; color:var(--brand); line-height:1; flex:none; }
details.acc[open] summary::after{ content:"−"; }
details.acc .acc-body{ padding:0 18px 16px; font-size:14.5px; }
details.acc .acc-body ul{ padding-left:20px; }
details.acc .acc-body li{ margin-bottom:6px; color:var(--ink-2); }
.faq-cat{ font-size:13px; text-transform:uppercase; letter-spacing:.1em; color:var(--muted); margin:26px 0 10px; font-weight:800; }
.split{ display:grid; grid-template-columns:1fr 1fr; gap:40px; align-items:start; }
.split.wide-left{ grid-template-columns:1.4fr 1fr; }
.split > *, .pd-layout > *, .results-layout > *, .tool-layout > *{ min-width:0; }
@media (max-width:900px){ .split, .split.wide-left{ grid-template-columns:1fr; gap:24px; } }
.steps{ display:grid; grid-template-columns:repeat(4,1fr); gap:16px; counter-reset:s; }
@media (max-width:900px){ .steps{ grid-template-columns:1fr 1fr; } }
@media (max-width:520px){ .steps{ grid-template-columns:1fr; } }
.steps > div{ background:var(--card); border:1px solid var(--line); border-radius:var(--radius); padding:20px; counter-increment:s; }
.steps > div::before{ content:counter(s); display:flex; width:36px; height:36px; border-radius:10px; background:var(--brand); color:#fff; align-items:center; justify-content:center; font-weight:800; margin-bottom:12px; font-family:'Fraunces',serif; }
.steps h3{ font-size:16px; }
.steps p{ font-size:14px; margin:0; }
.callout{ background:var(--brand-tint); border-left:4px solid var(--brand); border-radius:0 12px 12px 0; padding:16px 18px; color:var(--brand-dark); font-size:14.5px; }
.cta-band{ background:linear-gradient(135deg,var(--brand-dark),var(--brand)); color:#fff; border-radius:20px; padding:34px; display:flex; justify-content:space-between; align-items:center; gap:24px; flex-wrap:wrap; }
.cta-band h2{ color:#fff; font-size:clamp(22px,3vw,30px); margin:0 0 6px; }
.cta-band p{ color:rgba(255,255,255,.8); margin:0; max-width:56ch; }
.cta-band .btns{ display:flex; gap:10px; flex-wrap:wrap; }
.point-list{ display:flex; flex-direction:column; gap:14px; margin-top:20px; }
.point-list > div{ display:flex; gap:12px; }
.point-list .pi{ width:36px; height:36px; border-radius:10px; background:var(--brand-tint); color:var(--brand); display:flex; align-items:center; justify-content:center; flex:none; }
.point-list .pi svg{ width:18px; height:18px; }
.point-list b{ display:block; font-size:14.5px; }
.point-list span{ font-size:13.5px; color:var(--muted); }
.form-card{ background:var(--card); border:1px solid var(--line); border-radius:var(--radius); padding:24px; box-shadow:var(--shadow); }
.form-card h3{ font-size:19px; margin-bottom:4px; }
.form-card .sub{ font-size:13.5px; color:var(--muted); margin-bottom:16px; }
.page-hero{ background:var(--card); border-bottom:1px solid var(--line); padding:36px 0 30px; }
.page-hero h1{ font-size:clamp(28px,4vw,42px); margin-bottom:8px; }
.page-hero p{ color:var(--muted); max-width:64ch; margin:0; font-size:16px; }
.rera-pill{ display:inline-flex; align-items:center; gap:7px; padding:7px 12px; border-radius:999px; background:var(--ok-tint); color:var(--ok); font-weight:700; font-size:12.5px; }
.rera-pill svg{ width:15px; height:15px; }
.disclaimer{ font-size:12px; color:var(--muted); max-width:90ch; margin-top:18px; }

/* ---------- Footer ---------- */
.site-footer{ background:var(--ink); color:rgba(255,255,255,.7); padding:48px 0 24px; margin-top:20px; }
.ft-grid{ display:grid; grid-template-columns:1.5fr 1fr 1fr 1fr; gap:32px; padding-bottom:28px; border-bottom:1px solid rgba(255,255,255,.12); }
@media (max-width:900px){ .ft-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:520px){ .ft-grid{ grid-template-columns:1fr; } }
.ft-brand{ display:flex; align-items:center; gap:10px; margin-bottom:12px; }
.ft-brand img{ height:40px; background:#fff; border-radius:10px; padding:5px; }
.ft-brand b{ font-family:'Fraunces',serif; color:#fff; font-size:20px; letter-spacing:.05em; }
.site-footer h4{ color:#fff; font-size:12.5px; text-transform:uppercase; letter-spacing:.08em; margin-bottom:12px; }
.site-footer li{ list-style:none; margin-bottom:8px; font-size:14px; }
.site-footer a:hover{ color:#fff; }
.site-footer p{ color:rgba(255,255,255,.65); font-size:14px; }
.ft-bottom{ padding-top:18px; display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; font-size:12px; color:rgba(255,255,255,.45); }
.ft-bottom p{ font-size:12px; color:rgba(255,255,255,.45); max-width:80ch; margin:0; }

/* ---------- Floating / mobile ---------- */
.fab{ position:fixed; right:22px; bottom:22px; z-index:160; width:56px; height:56px; border-radius:50%; background:#1E7A4C; color:#fff; border:0; display:flex; align-items:center; justify-content:center; box-shadow:0 10px 24px rgba(30,122,76,.4); transition:transform .15s; }
.fab:hover{ transform:scale(1.06); }
.fab svg{ width:27px; height:27px; }
.chat-panel{ position:fixed; right:22px; bottom:90px; z-index:170; width:340px; max-width:calc(100vw - 24px); background:var(--card); border-radius:16px; box-shadow:var(--shadow-lg); overflow:hidden; display:none; border:1px solid var(--line); }
.chat-panel.open{ display:block; }
.chat-head{ background:var(--brand-dark); color:#fff; padding:14px 16px; display:flex; gap:12px; align-items:center; }
.chat-head img{ width:36px; height:36px; border-radius:50%; background:#fff; padding:5px; object-fit:contain; }
.chat-head b{ display:block; font-size:14.5px; }
.chat-head span{ font-size:12px; color:rgba(255,255,255,.7); }
.chat-head button{ margin-left:auto; border:0; background:none; color:#fff; font-size:22px; line-height:1; opacity:.8; }
.chat-body{ padding:14px 16px 16px; max-height:min(64vh,520px); overflow-y:auto; }
.bubble{ background:var(--bg); border-radius:4px 14px 14px 14px; padding:10px 12px; font-size:13.5px; color:var(--ink-2); margin-bottom:12px; }
.bottom-nav{ display:none; }
@media (max-width:760px){
  .fab{ display:none; }
  .chat-panel{ right:12px; bottom:72px; }
  .bottom-nav{ display:flex; position:fixed; left:0; right:0; bottom:0; z-index:150; background:var(--card); border-top:1px solid var(--line); height:60px; padding-bottom:env(safe-area-inset-bottom); }
  .bottom-nav a, .bottom-nav button{ flex:1; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:2px; font-size:10.5px; font-weight:700; color:var(--muted); border:0; background:none; position:relative; }
  .bottom-nav svg{ width:21px; height:21px; }
  .bottom-nav .on{ color:var(--brand); }
  .bottom-nav .wa{ color:#1E7A4C; }
  .bottom-nav .count-badge{ top:6px; right:calc(50% - 20px); }
  body{ padding-bottom:60px; }
  body.has-pd-cta{ padding-bottom:124px; }
}
.toast{ position:fixed; left:50%; top:calc(var(--hdr) + 12px); transform:translate(-50%,-20px); background:var(--ink); color:#fff; padding:10px 16px; border-radius:10px; font-size:14px; font-weight:600; z-index:400; opacity:0; transition:opacity .2s, transform .2s; pointer-events:none; box-shadow:var(--shadow-lg); max-width:calc(100vw - 32px); }
.toast.show{ opacity:1; transform:translate(-50%,0); }
.modal-bg{ position:fixed; inset:0; background:rgba(29,21,23,.55); z-index:350; display:none; align-items:center; justify-content:center; padding:16px; }
.modal-bg.open{ display:flex; }
.modal{ background:var(--card); border-radius:18px; width:min(460px,100%); max-height:90vh; overflow-y:auto; padding:24px; position:relative; box-shadow:var(--shadow-lg); }
.modal .x{ position:absolute; top:12px; right:12px; }
.fade-in{ animation:fade .25s ease; }
@keyframes fade{ from{ opacity:0; transform:translateY(6px); } to{ opacity:1; transform:none; } }
@media (prefers-reduced-motion:reduce){ *{ animation:none !important; transition:none !important; scroll-behavior:auto !important; } }

/* ---------- Real photos ---------- */
.gallery.photos > button{ border:0; padding:0; margin:0; cursor:zoom-in; position:relative; overflow:hidden; background:var(--brand-dark); display:block; width:100%; height:100%; }
.gallery.photos > button:first-child{ grid-row:1/3; }
.gallery.photos img{ transition:transform .4s ease; }
.gallery.photos > button:hover img{ transform:scale(1.03); }
.gallery img.contain, .plan-tile img{ object-fit:contain !important; background:#fff; }
.g-more{ position:absolute; inset:0; background:rgba(29,21,23,.55); color:#fff; display:flex; align-items:center; justify-content:center; font-weight:800; font-size:20px; }
@media (max-width:640px){ .gallery.photos > button:first-child{ grid-column:1/3; grid-row:auto; aspect-ratio:16/10; } .gallery.photos > button:not(:first-child){ aspect-ratio:4/3; } }
.plan-grid{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
@media (max-width:640px){ .plan-grid{ grid-template-columns:1fr; } }
.plan-tile{ border:1px solid var(--line); border-radius:12px; overflow:hidden; padding:0; background:#fff; position:relative; aspect-ratio:4/3; cursor:zoom-in; }
.plan-tile img{ width:100%; height:100%; }
.plan-tile .tag{ position:absolute; left:10px; bottom:10px; background:var(--ink); color:#fff; }
.lightbox{ position:fixed; inset:0; z-index:500; background:#0e0a0b; display:none; flex-direction:column; color:#fff; }
.lightbox.open{ display:flex; }
.lb-top{ display:flex; align-items:center; gap:14px; padding:12px 16px; }
.lb-title{ font-weight:800; }
.lb-count{ color:rgba(255,255,255,.6); font-size:13px; font-weight:700; }
.lb-x{ margin-left:auto; width:40px; height:40px; border-radius:50%; border:0; background:rgba(255,255,255,.12); color:#fff; display:flex; align-items:center; justify-content:center; }
.lb-x svg{ width:20px; height:20px; }
.lb-stage{ flex:1; display:flex; align-items:center; justify-content:center; min-height:0; position:relative; padding:0 56px; }
.lb-stage figure{ margin:0; max-width:100%; max-height:100%; display:flex; flex-direction:column; align-items:center; gap:10px; min-height:0; }
.lb-stage img{ max-width:100%; max-height:calc(100vh - 190px); object-fit:contain; border-radius:6px; }
.lb-stage img.plan{ background:#fff; }
.lb-stage figcaption{ font-size:13.5px; color:rgba(255,255,255,.75); text-align:center; }
.lb-nav{ position:absolute; top:50%; transform:translateY(-50%); width:44px; height:44px; border-radius:50%; border:0; background:rgba(255,255,255,.14); color:#fff; font-size:28px; line-height:1; }
.lb-nav.prev{ left:8px; } .lb-nav.next{ right:8px; }
.lb-thumbs{ display:flex; gap:6px; overflow-x:auto; padding:10px 16px 16px; justify-content:safe center; }
.lb-thumbs button{ flex:none; width:72px; height:50px; padding:0; border:2px solid transparent; border-radius:6px; overflow:hidden; background:#222; opacity:.6; }
.lb-thumbs button.on{ border-color:#fff; opacity:1; }
.lb-thumbs img{ width:100%; height:100%; object-fit:cover; }
@media (max-width:640px){ .lb-stage{ padding:0 8px; } .lb-nav{ display:none; } }

/* ---------- GEO summary, gate, post wizard ---------- */
.tldr{ font-size:15.5px; line-height:1.6; color:var(--ink); background:var(--bg); border-left:3px solid var(--brand); border-radius:0 10px 10px 0; padding:12px 14px; margin:0 0 16px; }
.modal .sub{ font-size:13.5px; color:var(--muted); margin:0 0 14px; }
.gate-ok{ display:flex; gap:12px; align-items:center; background:var(--ok-tint); color:var(--ok); border-radius:12px; padding:14px; margin-bottom:12px; }
.gate-ok svg{ width:26px; height:26px; flex:none; }
.gate-ok b{ display:block; color:var(--ink); }
.gate-ok span{ font-size:13px; color:var(--ink-2); }
.err{ color:#b3261e; font-size:12.5px; font-weight:600; margin:5px 0 0; }
[aria-invalid="true"]{ border-color:#b3261e !important; background:#fff7f6 !important; }
.p-actions .icon-btn{ width:36px; height:36px; border-radius:8px; }

.wiz fieldset{ border:0; padding:0; margin:0; min-width:0; }
.wiz-top{ display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:10px; flex-wrap:wrap; }
.wiz-steps{ display:flex; align-items:center; gap:6px; }
.wiz-steps span{ width:28px; height:28px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:13px; font-weight:800; background:var(--bg); color:var(--muted); border:1px solid var(--line); }
.wiz-steps span.on{ background:var(--brand); color:#fff; border-color:var(--brand); }
.wiz-steps i{ width:22px; height:2px; background:var(--line); }
.wiz-label{ margin:0; font-size:13px; font-weight:700; color:var(--ink-2); }
.wiz-bar{ height:4px; background:var(--line-2); border-radius:4px; margin-bottom:18px; overflow:hidden; }
.wiz-bar i{ display:block; height:100%; background:var(--brand); transition:width .3s ease; }
.type-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin-bottom:14px; }
@media (max-width:480px){ .type-grid{ grid-template-columns:repeat(2,1fr); } }
.type-tile{ border:1px solid var(--line); background:var(--card); border-radius:12px; padding:12px 8px; display:flex; flex-direction:column; align-items:center; gap:6px; font-size:13px; font-weight:700; color:var(--ink-2); text-align:center; }
.type-tile svg{ width:22px; height:22px; color:var(--brand); }
.type-tile.on{ border-color:var(--brand); background:var(--brand-tint); color:var(--brand-dark); box-shadow:0 0 0 1px var(--brand) inset; }
.input-unit{ display:flex; gap:6px; align-items:center; }
.input-unit input{ flex:1; min-width:0; }
.input-unit select{ width:auto; flex:none; border:1px solid var(--line); background:var(--bg); border-radius:10px; padding:11px 8px; font-size:14px; }
.unit-of{ color:var(--muted); font-size:13px; font-weight:600; }
.wiz-nav{ display:flex; gap:10px; margin-top:6px; }
.wiz-nav .btn{ flex:1; padding:13px 18px; }
.wiz .callout{ display:flex; gap:8px; align-items:flex-start; font-size:13.5px; }
.wiz .callout svg{ width:18px; height:18px; flex:none; margin-top:1px; }
.pd-bro{ margin-top:12px; }
@media (max-width:640px){ .pd-bro{ width:100%; } }
