/* Agency palette: white, black and gold. Legacy green tokens are aliases. */
:root{color-scheme:light;--gold:#B08A4F;--accent:#795b2f;--accent-hover:#674b25;--gold-soft:#f5efe5;--bg:#fff;--surface:#fff;--soft:#f7f6f3;--ink:#16212A;--muted:#606b74;--line:#e3e4e3;--paper:var(--soft);--green:var(--accent);--green-dark:var(--accent-hover);--lime:#e7cf8c;--button-ink:#fff;--shadow:0 12px 35px #0000000c}
html[data-theme=dark]{color-scheme:dark;--gold:#B08A4F;--accent:#B08A4F;--accent-hover:#c19d64;--gold-soft:#30302b;--bg:#16212A;--surface:#1e2c36;--soft:#131d25;--ink:#FAF7F1;--muted:#b0bbc3;--line:#35434e;--button-ink:#16212A;--shadow:0 12px 35px #0004}
body{background:var(--bg);color:var(--ink)}
p,.card-address,.card-facts,.card-bottom,.breadcrumbs,.breadcrumbs a,.filter-main>label>span,.filter-secondary,.reset-filters,.sort-label,.per-meter,.detail-facts span,.property-description,.amenities>span,.agent-block div>span,.inquiry-panel form>label,.inquiry-note,.listing-number,.photo-credit,.footer-bottom,.footer-links,.hero-field svg,.deal-tabs button,.home-chips a,.topbar,.top-dot{color:var(--muted)}
.site-header,.hero-search,.hero-field select,.hero-field input,.listing-card,.map-mode .listing-card,.catalog-filter,.map-mode #catalog-filter,.filter-main select,.filter-main input,.sort-label select,.inquiry-panel input:not([type=checkbox]),.inquiry-panel textarea,.area-input input,.detail-panel,.inquiry-panel,.legal-document,.content-panel,.cookie-banner,.cookie-dialog,.cookie-actions .btn-outline,.map-header,.map-footnote,.map-mode .map-workspace-toolbar,.map-mode .map-header #fit-map,.map-mode .results-list,.map-results-header,.map-mode .map-results-header,.skip-link,.gallery-count{background:var(--surface);color:var(--ink);border-color:var(--line)}
.topbar,.agency-footer,.site-footer,.view-switch,.map-invitation,.catalog-shell.map-mode,.card-photo,.property-gallery button,.catalog-map-panel{background:var(--soft);border-color:var(--line)}
.brand{color:var(--ink)}
.brand-mark{background:#171717;color:var(--gold);border:1px solid var(--gold)}
.btn,.workspace-filter,.workspace-filter[aria-expanded=true],.pagination button[aria-current=page],.language-switcher a[aria-current=true]{background:var(--gold);border-color:var(--gold);color:#16212A}
.btn:hover,.workspace-filter:hover{background:#c19d64;border-color:#c19d64;color:#16212A}
.btn-outline,.hero-map-button{background:var(--gold-soft);border-color:var(--line);color:var(--accent)}
.hero-map-button:hover,.btn-outline:hover,.cookie-actions .btn-outline:hover{background:var(--accent);color:var(--button-ink)}
.hero-search-bottom .hero-map-button:hover{color:var(--button-ink)}
.hero-field select,.hero-field input{color:var(--ink)}
input::placeholder,textarea::placeholder{color:var(--muted);opacity:1}
.hero-search{box-shadow:0 15px 45px #0003}
.home-hero{background:#16212A}
.hero-backdrop{background:linear-gradient(90deg,#16212Ae8,#16212A99),url('hero.jpg') center/cover}
.home-hero h1{color:#fff}
.home-hero h1 em{color:var(--lime)}
.main-nav,.filter-secondary,.card-bottom,.agent-block,.legal-related,.legal-contact-block,.cookie-category,.cookie-dialog .cookie-actions,.brand-city{border-color:var(--line)}
.deal-tabs button.active,.text-link,.eyebrow,.favorites-count,.favorite.saved,.footer-columns a:hover,.footer-settings:hover,.workspace-tools button,.workspace-count strong,.always-on{color:var(--accent)}
.workspace-tools .workspace-filter{color:#16212A!important}
.workspace-filter>span{background:var(--gold-soft);color:var(--accent)}
.workspace-count,.workspace-location,.map-mode .results-toolbar strong,.map-popup small{color:var(--muted)}
.home-chips .active,.category-icon,.agent-avatar,.language-switcher a:hover,.amenities svg{background:var(--gold-soft);border-color:var(--line);color:var(--accent)}
.amenities svg{background:transparent}
.language-switcher a{color:var(--muted)}
.language-switcher a[aria-current=true]:hover{background:#c19d64;color:#16212A}
.listing-card:hover,.listing-card.highlighted,.map-mode .listing-card:hover,.map-mode .listing-card.highlighted{border-color:var(--gold);box-shadow:var(--shadow)}
.favorite{background:var(--surface);color:var(--muted);border:1px solid var(--line)}
.favorite.saved svg{fill:var(--gold-soft)}
.card-badges span,.card-badges .badge-sea,.card-badges .badge-new,.gallery-tag,.demo-label,.demo-notice,.legal-draft{background:var(--gold-soft);color:var(--accent)}
.photo-demo{background:#111a;color:#fff}
.card-facts i{background:var(--line)}
.view-switch button[aria-pressed=true]{background:var(--surface);color:var(--accent)}
.empty-state{border-color:var(--line);color:var(--muted)}
.footer-columns h3{color:var(--ink)}
.footer-columns>div>a:not(.brand),.footer-columns p,.footer-settings,.legal-date,.legal-document section p,.cookie-close{color:var(--muted)}
.social-links a{background:var(--surface);color:var(--accent);border-color:var(--line)}
.social-links a.social-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;padding:9px;border-radius:8px;background:var(--surface);border:1px solid var(--line);color:var(--accent)}
.social-links a.social-icon:hover{border-color:var(--gold);background:var(--gold-soft)}
.social-icon img{width:24px;height:24px;object-fit:contain;display:block;filter:none}
.cookie-banner strong,.map-consent strong{color:var(--ink)}
.cookie-dialog::backdrop{background:#0009}
.map-consent{background:color-mix(in srgb,var(--surface) 94%,transparent)}
.map-consent p{color:var(--muted)}
.map-mode .map-footnote{background:var(--surface);color:var(--muted)}
.photo-dialog{background:#16212A;color:#fff}.photo-dialog::backdrop{background:#000d}.gallery-position{color:#ddd}
.toast{background:var(--ink);color:var(--bg)}
.map-invitation-art{background:repeating-linear-gradient(35deg,transparent 0 64px,var(--surface) 66px 70px,transparent 72px 105px),repeating-linear-gradient(-48deg,var(--gold-soft) 0 65px,var(--soft) 66px 72px,var(--gold-soft) 73px 140px)}
.mini-sea{background:#16212A;color:#B08A4F}.mini-label{color:var(--muted)}.mini-pin{background:var(--accent);color:var(--button-ink)}
.district-card:before{background:linear-gradient(0deg,#080808e8,#08080818)}
.district-card p{color:#f3f1ec}
.price-marker>span{background:var(--surface);color:var(--accent);border-color:var(--gold);box-shadow:0 3px 12px #0003}
.price-marker>span:after{border-top-color:var(--surface)}
.price-marker:hover>span{background:var(--accent);color:var(--button-ink)}
.estate-cluster{background:color-mix(in srgb,var(--gold) 30%,transparent)}
.estate-cluster span{background:var(--accent);color:var(--button-ink);border-color:var(--surface);box-shadow:0 2px 8px #0003}
.leaflet-popup-content-wrapper,.leaflet-popup-tip,.leaflet-bar a,.leaflet-control-attribution{background:var(--surface);color:var(--ink)}
.leaflet-bar a:hover{background:var(--gold-soft);color:var(--accent)}
.leaflet-container a{color:var(--accent)}
.site-preferences{display:flex;align-items:center;gap:12px;flex-shrink:0}
.theme-toggle{display:grid;place-items:center;width:36px;height:36px;flex-shrink:0;border:1px solid var(--line);border-radius:50%;background:var(--surface);color:var(--accent)}
.theme-toggle:hover{border-color:var(--gold);background:var(--gold-soft)}
.theme-toggle svg{width:18px;height:18px;margin:0;color:inherit}
.theme-toggle .theme-sun,html[data-theme=dark] .theme-toggle .theme-moon{display:none}
.realtor-link{display:grid;place-items:center;width:36px;min-height:40px;color:var(--accent);border:1px solid var(--line);border-radius:6px}
.realtor-link:hover{background:var(--gold-soft);border-color:var(--gold)}
html[data-theme=dark] .theme-toggle .theme-sun{display:block}
.estate-map-view .main-nav{margin-right:195px}
@media(max-width:760px){
 .topbar .wrap>span{max-width:145px}.site-preferences{gap:6px}.theme-toggle{width:36px;height:36px}
 .estate-map-view .site-header,.estate-map-view .header-inner{height:88px}
 .estate-map-view .header-inner{align-items:flex-start;padding-top:10px}
 .estate-map-view .topbar{top:47px;left:14px;right:14px;background:var(--surface)}
 .estate-map-view .topbar .wrap{justify-content:flex-end}
 .estate-map-view .catalog-shell.map-mode{--workspace-top:88px}
 .estate-map-view .brand-name{font-size:18px;max-width:none}
 .workspace-tools:first-child{flex:1}
 .workspace-tools:last-child{flex-shrink:0;max-width:90px}
 .workspace-tools .workspace-back,.workspace-tools .workspace-panel-toggle{white-space:normal;text-align:left}
 html[lang=ka] .workspace-tools{gap:6px}
 html[lang=ka] .workspace-tools button{font-size:9px;gap:4px}
 html[lang=ka] .workspace-filter{padding-inline:7px}
}
@media(max-width:380px){.header-actions{gap:6px}.brand-name{font-size:16px}.brand-mark{width:25px;height:27px}}
/* Search and map are two submit actions in one unbroken search row. */
.brand{flex-shrink:0;letter-spacing:normal}
.brand .brand-logo{display:block;width:185px;height:68px;max-width:none;object-fit:contain}
.brand .brand-logo-dark{display:none}
html[data-theme=dark] .brand .brand-logo-light{display:none}
html[data-theme=dark] .brand .brand-logo-dark{display:block}
.footer-about .brand .brand-logo{width:200px;height:74px}
.estate-map-view .brand .brand-logo{width:142px;height:52px}
@media(max-width:760px){.brand .brand-logo{width:165px;height:61px}.estate-map-view .header-inner{padding-top:3px}.estate-map-view .brand .brand-logo{width:120px;height:44px}}
@media(max-width:380px){.brand .brand-logo{width:150px;height:56px}}
.hero-form{padding-block:17px;gap:12px}
.hero-form .hero-submit{flex:0 0 48px;width:48px;min-width:48px;height:48px;padding:0}
.hero-form .hero-map-button{flex:0 0 auto;width:auto;min-width:94px;height:48px;margin:0;padding:12px 18px;font-size:13px;white-space:nowrap}
.hero-form .hero-submit svg{width:20px;height:20px}
html[lang=ka] .hero-form .hero-submit{min-width:48px}
@media(max-width:760px){
 .hero-form{gap:6px;padding-block:14px}
 .hero-form .hero-field{flex:0 0 27%;min-width:0;gap:0}
 .hero-form .hero-field>svg{display:none}
 .hero-form .hero-keyword{flex:1 1 0;padding-inline:6px}
 .hero-form .hero-submit,html[lang=ka] .hero-form .hero-submit{flex:0 0 44px;width:44px;min-width:44px;height:44px}
 .hero-form .hero-map-button{min-width:60px;height:44px;min-height:44px;padding:8px;font-size:11px}
}

.property-gallery{margin-bottom:32px}.agent-avatar>img{width:44px;height:44px;object-fit:cover;border-radius:50%}

/* Agent contact stays within the identity block, with a plain text telephone link. */
.agent-block>div{min-width:0}.agent-block .agent-phone{display:block;margin-top:7px;color:var(--ink);font-size:17px;font-weight:600;line-height:1.5;white-space:nowrap;text-decoration:none;width:fit-content}.agent-phone:hover{text-decoration:underline;text-underline-offset:4px}.agent-phone:focus-visible{outline:2px solid var(--gold);outline-offset:4px;border-radius:2px}
html #inquiry-form>button[type=submit]{font-size:16px;font-weight:600;line-height:1.4;min-height:50px;white-space:normal}
.header-home-link{margin-left:auto;font-weight:600}.header-inner>.header-actions{margin-left:auto}
@media(min-width:761px){.estate-map-view .header-actions{margin-right:250px}}
.detail-facts>div{min-width:0}.detail-facts strong,.detail-facts span{overflow-wrap:anywhere}
