/* Bilgəh Əmlak. A classifieds layout in the spirit of bina.az, finished with a premium real estate UI8 kit:
   one sans family, white surfaces, soft rounded photos and their own red roof for the main actions. */
:root {
  --bg: #ffffff;
  --soft: #f5f5f2;
  --line: #e7e7e3;
  --line-2: #d9d9d4;
  --ink: #17191c;
  --ink-2: #3b4046;
  --mute: #6b7178;
  --roof: #c4302b;
  --roof-d: #a52621;
  --roof-soft: #fbeceb;
  --gold: #a9781f;
  --ok: #24744a;
  --wa: #1b9e55;
  --r: 16px;
  --r-sm: 12px;
  --pill: 999px;
  --shadow: 0 1px 2px rgb(23 25 28 / .05), 0 10px 30px -14px rgb(23 25 28 / .22);
  --shadow-lg: 0 24px 60px -24px rgb(23 25 28 / .35);
  --sans: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --gutter: clamp(16px, 4vw, 32px);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-width: thin; scrollbar-color: rgb(127 127 127 / .35) transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; background: transparent; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgb(127 127 127 / .35); border-radius: 999px; border: 3px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-thumb:hover { background-color: rgb(127 127 127 / .55); }
::-webkit-scrollbar-corner { background: transparent; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; -webkit-tap-highlight-color: transparent; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 8px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
.i { width: 20px; height: 20px; fill: currentColor; flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* type */
.h1 { font-size: clamp(26px, 3.2vw, 36px); line-height: 1.15; font-weight: 700; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
.h2 { font-size: clamp(21px, 2.2vw, 26px); line-height: 1.2; font-weight: 700; letter-spacing: -.015em; margin: 0; text-wrap: balance; }
.h3 { font-size: 19px; line-height: 1.3; font-weight: 600; margin: 0 0 14px; }
.lead { font-size: 18px; color: var(--ink-2); margin: 12px 0 0; text-wrap: pretty; max-width: 560px; }
p { text-wrap: pretty; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 20px; border-radius: var(--pill); font-weight: 600; font-size: 16px; white-space: nowrap; border: 1px solid transparent; transition: background .2s, border-color .2s, color .2s, transform .15s var(--ease); }
.btn:active { transform: scale(.98); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 15px; }
.btn-sm .i { width: 18px; height: 18px; }
.btn-block { width: 100%; }
.btn-roof { background: var(--roof); color: #fff; }
.btn-roof:hover { background: var(--roof-d); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #000; }
.btn-line { background: var(--bg); border-color: var(--line-2); color: var(--ink); }
.btn-line:hover { border-color: var(--ink); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #158a49; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.btn-row .btn { flex: 1 1 150px; }
@media (min-width: 981px) { .btn-row .btn { flex: 0 0 auto; } }
.icon-btn { position: relative; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); border: 1px solid var(--line); transition: border-color .2s; }
.icon-btn:hover { border-color: var(--ink); }
.icon-btn.done { border-color: var(--ok); color: var(--ok); }

/* header */
.top { position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / .92); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.is-scrolled { border-bottom-color: var(--line); }
.top-in { display: flex; align-items: center; gap: 28px; height: 76px; }
.logo { display: inline-flex; flex-direction: column; align-items: center; color: var(--ink); line-height: 1; flex: none; }
.logo-mark { width: 118px; height: 42px; margin-bottom: -3px; color: var(--roof); }
.logo-mark svg { width: 100%; height: 100%; }
.logo-word { font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 18px; letter-spacing: .01em; white-space: nowrap; }
.logo-light { color: #fff; }
.nav { display: flex; gap: 4px; }
.nav a { padding: 8px 12px; border-radius: var(--pill); font-size: 16px; font-weight: 500; color: var(--ink-2); transition: background .2s, color .2s; }
.nav a:hover { background: var(--soft); color: var(--ink); }
.nav a[aria-current] { color: var(--ink); background: var(--soft); }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.langs { display: flex; padding: 3px; border-radius: var(--pill); background: var(--soft); }
.langs a { min-width: 40px; height: 34px; display: grid; place-items: center; border-radius: var(--pill); font-size: 14px; font-weight: 600; color: var(--mute); }
.langs a[aria-current] { background: var(--bg); color: var(--ink); box-shadow: 0 1px 3px rgb(0 0 0 / .1); }
.fav-count { position: absolute; top: -2px; right: -2px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--roof); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.burger span { width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .25s var(--ease); }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.drawer { position: fixed; z-index: 49; inset: 76px 0 0; background: var(--bg); padding: 16px var(--gutter) 32px; overflow-y: auto; border-top: 1px solid var(--line); }
.drawer nav { display: flex; flex-direction: column; }
.drawer nav a { padding: 16px 0; font-size: 20px; font-weight: 600; border-bottom: 1px solid var(--line); }
.drawer-foot { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.drawer-phone { display: inline-flex; gap: 10px; align-items: center; font-size: 18px; font-weight: 600; }

/* hero and search */
.hero { padding: 40px 0 8px; }
.hero-h { font-size: clamp(28px, 4.2vw, 46px); line-height: 1.1; font-weight: 700; letter-spacing: -.025em; margin: 0; max-width: 760px; text-wrap: balance; }
.finder { margin-top: 24px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; align-items: center; background: var(--bg); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: 8px; }
.finder label { display: flex; flex-direction: column; gap: 2px; padding: 8px 16px; border-right: 1px solid var(--line); min-width: 0; }
.finder label:nth-child(4) { border-right: 0; }
.finder label span { font-size: 14px; color: var(--mute); font-weight: 500; }
.finder select, .finder input { border: 0; background: transparent; padding: 0; height: 28px; font-size: 16px; font-weight: 600; outline: none; width: 100%; min-width: 0; }
.finder select { appearance: none; cursor: pointer; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%236b7178' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") right center no-repeat; padding-right: 18px; }
.finder input::placeholder { color: var(--line-2); font-weight: 500; }
.finder label:focus-within span { color: var(--ink); }
.finder-go { height: 56px; padding: 0 28px; border-radius: 14px; }
.cats { display: flex; gap: 10px; margin-top: 20px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.cats::-webkit-scrollbar { display: none; }
.cat { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 16px; border: 1px solid var(--line); border-radius: var(--pill); font-size: 15px; font-weight: 500; transition: border-color .2s, background .2s; }
.cat:hover { border-color: var(--ink); }
.cat small { font-size: 14px; color: var(--mute); }
.cat:first-child { background: var(--ink); border-color: var(--ink); color: #fff; }
.cat:first-child small { color: rgb(255 255 255 / .65); }

/* sections */
.sec { padding: 44px 0; }
.sec-tight { padding: 24px 0 56px; }
.sec-soft { background: var(--soft); }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.more { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin: -10px 0; font-size: 15px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.more:hover { color: var(--roof); }
.more .i { width: 18px; height: 18px; }
.sec-cta { display: flex; justify-content: center; margin-top: 32px; }

/* listing cards */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 20px; }
.card { position: relative; }
.card-link { display: block; }
.card-media { position: relative; margin: 0; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; background: var(--soft); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card-link:hover .card-media img { transform: scale(1.04); }
.badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; flex-wrap: wrap; max-width: calc(100% - 60px); }
.badge { display: inline-flex; align-items: center; height: 28px; padding: 0 10px; border-radius: 8px; background: var(--bg); color: var(--ink); font-size: 14px; font-weight: 600; box-shadow: 0 1px 4px rgb(0 0 0 / .12); }
.badge-gold { background: var(--ink); color: #fff; }
.badge-sold { background: var(--roof); color: #fff; }
.badge-soft { background: rgb(255 255 255 / .92); color: var(--ok); }
.badge-rent { background: var(--ink); color: #fff; }
.has-video { position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border-radius: 8px; background: rgb(23 25 28 / .72); color: #fff; font-size: 14px; font-weight: 500; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.has-video .i { width: 18px; height: 18px; }
.heart { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgb(255 255 255 / .92); color: var(--ink); box-shadow: 0 1px 4px rgb(0 0 0 / .14); transition: transform .2s var(--ease), color .2s; }
.heart:hover { transform: scale(1.06); }
.heart[aria-pressed="true"] { color: var(--roof); }
.heart[aria-pressed="true"] .i { fill: var(--roof); }
.card-body { padding: 12px 2px 0; }
.card-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price { font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.price small { font-size: .7em; font-weight: 500; color: var(--mute); }
.price-note { font-size: 14px; color: var(--mute); }
.price-ask { font-size: 18px; overflow-wrap: anywhere; }
.card-title { margin: 4px 0 0; font-size: 16px; font-weight: 500; line-height: 1.35; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-specs { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 8px 0 0; font-size: 15px; color: var(--ink-2); }
.card-specs span { display: inline-flex; align-items: center; gap: 5px; }
.card-specs .i { width: 18px; height: 18px; color: var(--mute); }
.card-meta { display: flex; justify-content: space-between; gap: 10px; margin: 8px 0 0; font-size: 14px; color: var(--mute); }
.card-meta span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-meta span:last-child { flex: none; }
.is-sold .card-media img { filter: grayscale(.7); opacity: .8; }

/* areas */
.areas { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.area img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r); transition: transform .5s var(--ease); }
.area:hover img { transform: translateY(-3px); }
.area-txt { display: flex; flex-direction: column; margin-top: 10px; }
.area-txt strong { font-size: 16px; font-weight: 600; }
.area-txt small { font-size: 14px; color: var(--mute); }

/* video tours */
.vids { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.vid { position: relative; display: block; }
.vid img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: var(--r); background: var(--soft); }
.vid-play { position: absolute; top: 12px; left: 12px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgb(255 255 255 / .92); color: var(--ink); }
.vid-play .i { width: 16px; height: 16px; }
.vid-cap { display: flex; flex-direction: column; margin-top: 10px; font-size: 14px; color: var(--mute); line-height: 1.35; }
.vid-cap b { font-size: 16px; color: var(--ink); }

/* sell and lead forms */
.sell-in { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; align-items: center; }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.ticks li { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.ticks .i { color: var(--ok); }
.lead-form { display: grid; gap: 14px; background: var(--bg); border: 1px solid var(--line); border-radius: 20px; padding: 24px; box-shadow: var(--shadow); }
.lead-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; color: var(--mute); }
.lead-form input, .lead-form select, .lead-form textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--bg); font-size: 16px; color: var(--ink); outline: none; transition: border-color .2s; }
.lead-form textarea { resize: vertical; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { border-color: var(--ink); }
.row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.form-msg { margin: 0; font-size: 15px; min-height: 0; }
.form-msg.ok { color: var(--ok); }
.form-msg.err { color: var(--roof); }

/* contact */
.contact-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 48px; align-items: center; }
.contact-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 12px; align-items: center; font-size: 17px; }
.contact-list .i { color: var(--mute); }
.map { position: relative; aspect-ratio: 16 / 10; border-radius: 20px; overflow: hidden; background: var(--soft) url("/assets/map-bg.svg") center / cover; border: 1px solid var(--line); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-btn { position: absolute; left: 16px; right: 16px; top: 50%; transform: translateY(-50%); width: fit-content; margin: 0 auto; display: flex; gap: 8px; align-items: center; max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 16px; text-align: left; line-height: 1.35; background: var(--bg); box-shadow: var(--shadow); font-weight: 600; font-size: 15px; }

/* page heads, listings and filters */
.page-head { padding: 28px 0 8px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--mute); margin-bottom: 10px; }
.crumbs a:hover { color: var(--ink); }
.page-pad { height: 16px; }
.listings { padding-bottom: 64px; }
.filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px 16px; padding: 18px; margin: 12px 0 24px; border: 1px solid var(--line); border-radius: 20px; background: var(--bg); box-shadow: var(--shadow); }
.filters-head { display: none; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; }
.seg label, .chip { cursor: pointer; }
.seg input, .chip input { position: absolute; opacity: 0; pointer-events: none; }
.seg span, .chip span { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border: 1px solid var(--line); border-radius: var(--pill); font-size: 15px; font-weight: 500; transition: background .2s, border-color .2s, color .2s; }
.seg label:hover span, .chip:hover span { border-color: var(--ink); }
.seg input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip input:checked + span { background: var(--roof-soft); border-color: var(--roof); color: var(--roof-d); }
.seg input:focus-visible + span, .chip input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.f { display: grid; gap: 6px; font-size: 14px; font-weight: 500; color: var(--mute); }
.f select, .pair input { height: 44px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--bg); font-size: 16px; color: var(--ink); outline: none; }
.f select { min-width: 190px; }
.f select:focus, .pair input:focus { border-color: var(--ink); }
.pair { display: flex; gap: 6px; }
.pair input { width: 96px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.filters-foot { display: flex; gap: 8px; margin-left: auto; }
.filters-foot .btn { height: 44px; }
.results-bar { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.count { font-weight: 600; font-size: 17px; }
.filter-open { display: none; }
.sort { margin-left: auto; }
.sort select { height: 40px; padding: 0 34px 0 14px; border: 1px solid var(--line); border-radius: var(--pill); font-size: 15px; font-weight: 500; appearance: none; background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%2317191c' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") right 14px center no-repeat; cursor: pointer; }
.empty { text-align: center; padding: 48px 16px; color: var(--ink-2); display: grid; justify-items: center; gap: 16px; }
.empty p { max-width: 460px; margin: 0; }
.pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 40px; }
.pager a, .pager span { min-width: 44px; height: 44px; padding: 0 14px; display: grid; place-items: center; border-radius: var(--pill); border: 1px solid var(--line); font-weight: 600; font-size: 15px; }
.pager span { border: 0; }
.pager a[aria-current] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* listing detail */
.detail-top { padding-top: 20px; }
.detail-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.detail-actions { display: flex; gap: 8px; flex: none; }
.heart-lg { position: static; width: 44px; height: 44px; box-shadow: none; border: 1px solid var(--line); }
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; padding-top: 20px; padding-bottom: 56px; }
.gallery { display: grid; gap: 10px; }
.g-main { position: relative; display: block; width: 100%; aspect-ratio: 3 / 2; border-radius: var(--r); overflow: hidden; background: var(--soft); }
.g-main img { width: 100%; height: 100%; object-fit: cover; }
.g-count { position: absolute; right: 12px; bottom: 12px; display: inline-flex; gap: 6px; align-items: center; height: 32px; padding: 0 12px; border-radius: 8px; background: rgb(23 25 28 / .72); color: #fff; font-size: 14px; font-weight: 500; }
.g-count .i { width: 18px; height: 18px; }
.g-thumbs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.g-thumb { position: relative; aspect-ratio: 3 / 2; border-radius: 10px; overflow: hidden; background: var(--soft); }
.g-thumb img { width: 100%; height: 100%; object-fit: cover; transition: opacity .2s; }
.g-thumb:hover img { opacity: .85; }
.g-thumb span { position: absolute; inset: 0; display: grid; place-items: center; background: rgb(23 25 28 / .55); color: #fff; font-weight: 600; font-size: 16px; }
.detail-price-m { display: none; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 24px 0 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.facts div { padding: 14px 16px; box-shadow: 0 0 0 .5px var(--line); }
.facts dt { font-size: 14px; color: var(--mute); }
.facts dd { margin: 2px 0 0; font-size: 17px; font-weight: 600; }
.facts small { font-weight: 400; color: var(--mute); font-size: 14px; }
.block { margin-top: 32px; }
.detail-video { width: 100%; max-height: 640px; border-radius: var(--r); background: #000; }
.prose { color: var(--ink-2); }
.prose p { margin: 0 0 12px; }
.prose h2 { font-size: 22px; color: var(--ink); margin: 32px 0 12px; }
.prose h3 { font-size: 19px; color: var(--ink); margin: 24px 0 10px; }
.prose ul, .desc-list { padding-left: 20px; margin: 0 0 12px; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--roof); text-decoration: underline; text-underline-offset: 3px; }
.feats { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 16px; }
.feats li { display: flex; align-items: center; gap: 8px; font-size: 16px; }
.feats .i { color: var(--ok); }
.sot-panel { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; padding: 20px; background: var(--soft); border-radius: var(--r); }
.sot-panel p { margin: 0; font-weight: 600; white-space: nowrap; }
.sot .c1 { fill: var(--roof); }
.sot .c0 { fill: var(--line-2); }
.sot-big { width: auto; max-width: 220px; height: auto; }
.detail-code { margin: 32px 0 0; font-size: 14px; color: var(--mute); }
.detail-side { position: sticky; top: 96px; }
.buy-box { display: grid; gap: 12px; padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: var(--bg); box-shadow: var(--shadow); }
.buy-price .price { font-size: 28px; }
.buy-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
.buy-place { display: flex; gap: 8px; align-items: flex-start; margin: 0; color: var(--ink-2); font-size: 16px; }
.buy-place .i { color: var(--mute); margin-top: 2px; }
.map-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.buy-box .badge-sold { justify-self: start; margin: 0; }
.pill-ok { display: inline-flex; justify-self: start; align-items: center; gap: 6px; margin: 0; padding: 6px 12px; border-radius: 8px; background: #e9f4ee; color: var(--ok); font-size: 14px; font-weight: 600; }
.pill-ok .i { width: 18px; height: 18px; }
.agent { display: flex; align-items: center; gap: 12px; padding: 14px 0; margin: 4px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.agent-mark { width: 52px; height: 52px; flex: none; border-radius: 50%; background: var(--soft); color: var(--roof); display: grid; place-items: center; }
.agent-mark svg { width: 36px; height: auto; }
.agent strong { display: block; font-size: 16px; }
.agent small { font-size: 14px; color: var(--mute); }
.agent-info { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 8px; font-size: 15px; color: var(--ink-2); }
.agent-info li { display: flex; gap: 8px; align-items: flex-start; }
.agent-info .i { width: 18px; height: 18px; color: var(--mute); margin-top: 2px; }
.lead-mini { padding: 16px 0 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; box-shadow: none; margin-top: 4px; }
.lead-mini p { margin: 0; font-size: 16px; }
.fine { margin: 0; font-size: 14px; color: var(--mute); }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgb(10 11 12 / .94); display: grid; place-items: center; }
.lightbox img { max-width: min(92vw, 1400px); max-height: 86vh; border-radius: 10px; object-fit: contain; }
.lb-close { position: absolute; top: 16px; right: 16px; background: rgb(255 255 255 / .12); border-color: transparent; color: #fff; }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); width: 56px; height: 56px; border-radius: 50%; background: rgb(255 255 255 / .12); color: #fff; font-size: 32px; line-height: 1; }
.lb-prev { left: 16px; }
.lb-next { right: 16px; }
.lb-count { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: rgb(255 255 255 / .8); font-size: 15px; }

/* blog */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.post { display: block; }
.post img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r); background: var(--soft); }
.post-meta { display: block; margin-top: 12px; font-size: 14px; color: var(--mute); }
.post h3 { margin: 6px 0 0; font-size: 19px; line-height: 1.3; font-weight: 600; text-wrap: balance; }
.post p { margin: 6px 0 0; color: var(--ink-2); font-size: 16px; }
.post:hover h3 { color: var(--roof); }
.article-head { max-width: 800px; padding-top: 28px; }
.article-cover { max-width: 1000px; margin: 28px auto 0; }
.article-cover img { width: 100%; border-radius: 20px; }
.prose-article { max-width: 760px; padding-top: 32px; padding-bottom: 56px; font-size: 18px; }
.article-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 36px; padding: 20px; background: var(--soft); border-radius: var(--r); }
.article-cta p { margin: 0 auto 0 0; }

/* how we work (sell page) */
.how-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 24px; }
.how-item h3 { font-size: 18px; margin: 14px 0 6px; }
.how-item p { margin: 0; color: var(--ink-2); font-size: 16px; }
.how-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--soft); }
.sot-how { width: 26px; height: auto; }

/* 404 */
.nf { padding: 80px var(--gutter); text-align: center; display: grid; justify-items: center; gap: 12px; }
.nf .sot { width: 90px; height: auto; margin-bottom: 8px; }

/* footer */
.foot { background: var(--ink); color: rgb(255 255 255 / .72); padding: 56px 0 0; margin-top: 0; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot-brand p { margin: 16px 0 0; font-size: 15px; max-width: 300px; }
.foot h3 { color: #fff; font-size: 16px; margin: 0 0 14px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 15px; }
.foot a:hover { color: #fff; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgb(255 255 255 / .18); color: #fff; }
.socials a:hover { border-color: #fff; }
.foot-note { margin-top: 40px; font-size: 14px; color: rgb(255 255 255 / .5); }
.foot-base { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 20px; padding-bottom: 28px; margin-top: 16px; border-top: 1px solid rgb(255 255 255 / .12); font-size: 14px; color: rgb(255 255 255 / .55); }

/* phone dock */
.dock { display: none; }


/* responsive */
@media (max-width: 1180px) {
  .nav a { padding: 8px 10px; }
  .top-call { display: none; }
  .areas { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .vids { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .nav, .top-actions .langs, .top-sell { display: none; }
  .burger { display: inline-flex; }
  .finder { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 6px; }
  .finder label { border-right: 0; border-bottom: 1px solid var(--line); }
  .finder label:nth-child(odd) { border-right: 1px solid var(--line); }
  .finder label:nth-child(3), .finder label:nth-child(4) { border-bottom: 0; }
  .finder-go { grid-column: 1 / -1; margin-top: 6px; }
  .detail { grid-template-columns: minmax(0, 1fr); }
  .detail-side { position: static; }
  .detail-price-m { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin-top: 18px; }
  .detail-price-m .price { font-size: 26px; }
  .buy-price { display: none; }
  .finder select, .finder input { height: 40px; }
  .finder label { padding: 6px 14px 2px; gap: 0; }
  .sell-in, .contact-in { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .how-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filters { position: fixed; inset: 0; z-index: 80; margin: 0; border-radius: 0; flex-direction: column; flex-wrap: nowrap; align-items: stretch; overflow-y: auto; padding: 16px var(--gutter) 24px; transform: translateY(100%); transition: transform .3s var(--ease); visibility: hidden; }
  .filters.is-open { transform: none; visibility: visible; }
  .filters-head { display: flex; justify-content: space-between; align-items: center; font-size: 20px; }
  .f select, .pair input { width: 100%; }
  .filters-foot { margin: auto 0 0; padding-top: 16px; }
  .filters-foot .btn { flex: 1; }
  .filter-open { display: inline-flex; }
  .sort { margin-left: 0; }
  .results-bar { flex-wrap: wrap; }
  .results-bar .count { width: 100%; }
}
@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .top-in { height: 64px; gap: 10px; }
  .drawer { top: 64px; }
  .logo-mark { width: 96px; height: 34px; }
  .logo-word { font-size: 15px; }
  .top-actions { gap: 8px; }
  .icon-btn, .burger { width: 42px; height: 42px; }
  .hero { padding-top: 24px; }
  .finder { border-radius: 18px; margin-top: 18px; }
  .finder label { padding: 8px 12px; }
  .cats { margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); padding-left: var(--gutter); padding-right: var(--gutter); }
  .sec { padding: 32px 0; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
  .card-media { border-radius: 12px; }
  .badges { top: 8px; left: 8px; }
  .badge { height: 26px; padding: 0 8px; font-size: 14px; }
  .badge-soft { display: none; }
  .has-video { left: 8px; bottom: 8px; height: 28px; padding: 0 7px; }
  .has-video span { display: none; }
  .has-video .i { width: 16px; height: 16px; }
  .heart { top: 6px; right: 6px; width: 40px; height: 40px; }
  .detail-actions .heart-lg { width: 44px; height: 44px; }
  .heart .i { width: 18px; height: 18px; }
  .card-body { padding-top: 10px; }
  .price { font-size: 17px; }
  .price-ask { font-size: 15px; }
  .price-note { display: none; }
  .card-title { font-size: 15px; }
  .card-specs { font-size: 14px; gap: 2px 10px; }
  .card-specs .i { width: 16px; height: 16px; }
  .card-meta span:last-child { display: none; }
  .areas { display: flex; overflow-x: auto; scrollbar-width: none; gap: 12px; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); }
  .areas::-webkit-scrollbar, .vids::-webkit-scrollbar { display: none; }
  .area { flex: 0 0 42%; }
  .vids { display: flex; overflow-x: auto; scrollbar-width: none; gap: 12px; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); }
  .vid { flex: 0 0 40%; }
  .posts { grid-template-columns: minmax(0, 1fr); }
  .lead-form { padding: 18px; }
  .row2 { grid-template-columns: minmax(0, 1fr); }
  .foot-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .g-thumb:nth-child(n + 5) { display: none; }
  .g-main { border-radius: 14px; }
  .detail-title .h1 { font-size: 24px; }
  .how-grid { grid-template-columns: minmax(0, 1fr); }
  .article-cta { flex-direction: column; align-items: stretch; }
  .dock { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgb(255 255 255 / .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); }
  .dock a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 8px; border-radius: 14px; font-weight: 600; color: #fff; white-space: nowrap; overflow: hidden; }
  .dock-call { background: var(--roof); }
  .dock-wa { background: var(--wa); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}

/* VIP badge (featured listings) */
.badge-vip { gap: 4px; background: linear-gradient(135deg, #f4c752, #e3a21a); color: #3b2600; }
.badge-vip .i { width: 14px; height: 14px; }

/* Hero with a background photo, set in the admin (Sayt) */
.hero-photo { position: relative; isolation: isolate; padding: 72px 0 36px; color: #fff; overflow: hidden; }
.hero-photo .hero-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.hero-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(10 12 14 / .55), rgb(10 12 14 / .25) 45%, rgb(10 12 14 / .6)); }
.hero-photo .hero-h { color: #fff; text-shadow: 0 2px 18px rgb(0 0 0 / .35); }
.hero-photo .finder { box-shadow: 0 18px 50px rgb(0 0 0 / .28); }
.hero-photo .finder, .hero-photo .cat { color: var(--ink); }
.hero-photo .cat { background: rgb(255 255 255 / .94); border-color: transparent; }
@media (max-width: 640px) { .hero-photo { padding: 44px 0 24px; } }

/* Tribe credit per the site credit canvas */
.credit { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; text-decoration: none; color: rgb(255 255 255 / .65); }
.credit .mark { flex: none; animation: tribe-in 1.4s cubic-bezier(.2,.8,.2,1) .4s both; }
.credit .spin { transform-origin: 32px 32px; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.credit .mark path { fill: rgb(255 255 255 / .7); transition: fill .35s ease; }
.credit .name { font-weight: 600; transition: color .25s ease; }
.credit .arrow { opacity: 0; transform: translate(-4px, 4px); transition: opacity .25s ease, transform .25s ease; }
.credit:hover .spin, .credit:focus-visible .spin { transform: rotate(72deg); }
.credit:hover .p1, .credit:focus-visible .p1 { fill: #fbbf24; } .credit:hover .p2, .credit:focus-visible .p2 { fill: #fb7185; }
.credit:hover .p3, .credit:focus-visible .p3 { fill: #818cf8; } .credit:hover .p4, .credit:focus-visible .p4 { fill: #2dd4bf; }
.credit:hover .name, .credit:focus-visible .name { color: #fff; } .credit:hover .arrow, .credit:focus-visible .arrow { opacity: 1; transform: none; }
@keyframes tribe-in { from { transform: rotate(-216deg) scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .credit .mark { animation: none; } .credit .spin { transition: none; } .credit:hover .spin { transform: none; } }
