/* ============================================================
   Batumi realtor — public site
   Palette: warm paper + deep sea ink + brass accent
   ============================================================ */
:root {
  --paper: #f6f1e9;
  --paper-2: #efe7da;
  --card: #fffdf9;
  --ink: #142128;
  --ink-2: #2b3a41;
  --muted: #6c7478;
  --line: #e2d8c8;
  --sea: #1d4a52;
  --sea-2: #2f6b73;
  --brass: #a87b45;
  --brass-soft: #ead9bf;
  --ok: #2f7a55;
  --warn: #a8661c;
  --closed: #7c7f82;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(20, 33, 40, .05), 0 12px 32px -14px rgba(20, 33, 40, .22);
  --shadow-lg: 0 30px 60px -30px rgba(20, 33, 40, .45);
  --display: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 99; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--sea-2); outline-offset: 3px; border-radius: 6px; }
.i { width: 18px; height: 18px; flex: none; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

/* ---------- type ---------- */
.display { font-family: var(--display); font-weight: 600; font-size: clamp(42px, 6.4vw, 84px); line-height: .98; letter-spacing: -.015em; }
.display-md { font-size: clamp(34px, 4.6vw, 58px); line-height: 1.04; }
.h2 { font-family: var(--display); font-size: clamp(30px, 3.6vw, 46px); line-height: 1.05; letter-spacing: -.01em; }
.h3 { font-family: var(--display); font-size: 28px; line-height: 1.1; margin: 40px 0 16px; }
.lead { font-size: clamp(17px, 1.5vw, 19px); color: var(--ink-2); max-width: 36em; line-height: 1.55; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--brass); margin: 0 0 14px; }
.eyebrow-light { color: var(--brass-soft); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(47, 122, 85, .16); }

/* ---------- buttons ---------- */
.btn {
  --h: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: var(--h); padding: 0 20px;
  border-radius: 999px; border: 1px solid transparent; font-weight: 600; font-size: 15px; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .i { width: 17px; height: 17px; }
.btn-sm { --h: 40px; padding: 0 16px; font-size: 14px; }
.btn-lg { --h: 54px; padding: 0 26px; font-size: 16px; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--sea); box-shadow: 0 10px 24px -12px rgba(29, 74, 82, .7); }
.btn-line { border-color: rgba(20, 33, 40, .22); background: transparent; }
.btn-line:hover { border-color: var(--ink); background: rgba(255, 255, 255, .6); }
.btn-light { background: #fff; color: var(--ink); }
.btn-quiet { background: transparent; color: var(--muted); padding: 0 8px; }
.btn-quiet:hover { color: var(--ink); }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: inherit; cursor: pointer; transition: background .2s; }
.icon-btn:hover { background: rgba(255, 255, 255, .24); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link-arrow .i { transition: transform .3s var(--ease); }
.link-arrow:hover .i { transform: translateX(4px); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(246, 241, 233, .82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-in { display: flex; align-items: center; gap: 28px; height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; letter-spacing: -.01em; }
.brand-mark { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--brass-soft); font-family: var(--display); font-size: 19px; font-weight: 600; letter-spacing: .02em; }
.brand-mark.is-logo { background: none; object-fit: contain; border-radius: 10px; }
.brand-name { font-size: 17px; }
.nav { display: flex; gap: 6px; margin-left: auto; }
.nav a { padding: 8px 14px; border-radius: 999px; font-weight: 500; font-size: 15px; color: var(--ink-2); transition: background .2s, color .2s; }
.nav a:hover, .nav a.is-active { background: rgba(20, 33, 40, .06); color: var(--ink); }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(20, 33, 40, .06); cursor: pointer; place-items: center; }
.mobile-nav { display: grid; gap: 4px; padding: 8px var(--gutter) 22px; border-bottom: 1px solid var(--line); }
.mobile-nav[hidden] { display: none; }
.mobile-nav a:not(.btn) { display: flex; justify-content: space-between; align-items: center; padding: 14px 4px; font-family: var(--display); font-size: 28px; border-bottom: 1px solid var(--line); }
.mobile-nav .btn { margin-top: 14px; }

/* ---------- hero ---------- */
.hero { padding: clamp(28px, 6vw, 72px) 0 clamp(48px, 7vw, 96px); position: relative; }
.hero::before { content: ''; position: absolute; inset: 0 0 auto auto; width: 55%; height: 100%; background: radial-gradient(60% 60% at 70% 30%, rgba(168, 123, 69, .14), transparent 70%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; position: relative; }
.hero-copy .lead { margin: 22px 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px 36px; margin: 44px 0 0; padding-top: 26px; border-top: 1px solid var(--line); }
.hero-stats div { margin: 0; }
.hero-stats dt { font-family: var(--display); font-size: 40px; line-height: 1; font-weight: 600; }
.hero-stats dd { margin: 6px 0 0; font-size: 13px; color: var(--muted); max-width: 12em; line-height: 1.35; }
.hero-mosaic { display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; height: clamp(420px, 46vw, 600px); }
.mosaic-tile { position: relative; overflow: hidden; border-radius: 22px; box-shadow: var(--shadow-lg); background: var(--paper-2); }
.mosaic-tile.t0 { grid-row: 1 / 3; }
.mosaic-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.mosaic-tile:hover img { transform: scale(1.05); }
.mosaic-chip { position: absolute; left: 14px; bottom: 14px; background: rgba(255, 253, 249, .92); backdrop-filter: blur(8px); padding: 8px 14px; border-radius: 999px; font-size: 13px; color: var(--ink-2); box-shadow: var(--shadow); }
.mosaic-chip b { color: var(--ink); }

/* ---------- sections ---------- */
.section { padding: clamp(56px, 8vw, 110px) 0; }
.section-sand { background: var(--paper-2); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(26px, 4vw, 44px); flex-wrap: wrap; }
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature { background: var(--card); border-radius: var(--radius); padding: 28px 24px 26px; border: 1px solid var(--line); }
.feature h3 { font-family: var(--display); font-size: 25px; line-height: 1.12; margin: 22px 0 10px; }
.feature p { color: var(--muted); font-size: 15px; margin: 0; }
.feature-ico { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--ink); color: var(--brass-soft); }
.feature-ico .i { width: 22px; height: 22px; }
.about-teaser { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; max-width: 980px; }
.about-teaser .h2 { margin-bottom: 12px; }
.about-teaser .lead { margin-bottom: 14px; }
.avatar { border-radius: 50%; object-fit: cover; background: var(--ink); }
.avatar-mono { display: inline-grid; place-items: center; color: var(--brass-soft); font-family: var(--display); font-weight: 600; }
.avatar-xl { width: clamp(140px, 18vw, 220px); height: clamp(140px, 18vw, 220px); font-size: clamp(48px, 6vw, 76px); }
.avatar-hero { width: 100%; aspect-ratio: 4/5; height: auto; border-radius: 26px; font-size: 120px; }

.cta { padding: 0 0 clamp(56px, 8vw, 100px); }
.cta-in { background: var(--ink); color: #fff; border-radius: 28px; padding: clamp(32px, 6vw, 64px); display: grid; grid-template-columns: 1.3fr auto; gap: 28px; align-items: end; position: relative; overflow: hidden; }
.cta-in::after { content: ''; position: absolute; right: -10%; top: -60%; width: 60%; height: 200%; background: radial-gradient(closest-side, rgba(168, 123, 69, .35), transparent); pointer-events: none; }
.cta .h2 { max-width: 15em; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; position: relative; z-index: 1; }
.cta .btn-ink { background: var(--brass-soft); color: var(--ink); }
.cta .btn-ink:hover { background: #fff; }
.cta .btn-line { border-color: rgba(255, 255, 255, .35); color: #fff; }
.cta .btn-line:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }

/* ---------- cards ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.2vw, 28px); }
.card { animation: rise .7s var(--ease) both; animation-delay: calc(var(--i, 0) * 50ms); }
.card-link { display: flex; flex-direction: column; height: 100%; background: var(--card); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s; }
.card-link:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.card-link:hover .card-media img { transform: scale(1.06); }
.card.is-closed .card-media img { filter: grayscale(.55) brightness(.92); }
.card-badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; }
.card-count { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; color: #fff; background: rgba(20, 33, 40, .55); backdrop-filter: blur(6px); padding: 4px 10px; border-radius: 999px; }
.card-count .i { width: 14px; height: 14px; }
.card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-price { font-family: var(--display); font-size: 30px; font-weight: 600; line-height: 1; letter-spacing: -.01em; }
.card-title { font-size: 16px; font-weight: 600; line-height: 1.35; }
.card-loc { display: flex; gap: 6px; align-items: flex-start; color: var(--muted); font-size: 14px; margin: 0; }
.card-loc .i { width: 16px; height: 16px; margin-top: 3px; }
.card-desc { font-size: 14px; color: var(--muted); margin: 4px 0 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.meta { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 10px 0 0; margin: 4px 0 0; border-top: 1px solid var(--line); font-size: 14px; font-weight: 500; color: var(--ink-2); }
.meta li { display: inline-flex; align-items: center; gap: 6px; }
.meta .i { width: 16px; height: 16px; color: var(--brass); }
.pill { display: inline-flex; align-items: center; height: 26px; padding: 0 11px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .02em; background: #fff; color: var(--ink); }
.pill-available { background: #e3f1e8; color: var(--ok); }
.pill-reserved { background: #f8ead5; color: var(--warn); }
.pill-rented, .pill-sold { background: #e8e9ea; color: var(--closed); }
.pill-glass { background: rgba(20, 33, 40, .55); color: #fff; backdrop-filter: blur(6px); }
.pill-line { background: transparent; border: 1px solid var(--line); color: var(--ink-2); }
.ph-empty { display: grid; place-items: center; align-content: center; gap: 8px; width: 100%; height: 100%; color: var(--muted); font-size: 13px; background: repeating-linear-gradient(135deg, var(--paper-2) 0 12px, #ebe2d3 12px 24px); }
.ph-empty .i { width: 28px; height: 28px; }
.ph-empty-lg { aspect-ratio: 16 / 7; border-radius: 22px; }

/* ---------- catalog ---------- */
.page-head { padding: clamp(30px, 5vw, 60px) 0 clamp(18px, 3vw, 30px); }
.page-head .lead { margin-top: 16px; }
.catalog { padding-bottom: 90px; }
.filters { position: sticky; top: 74px; z-index: 20; background: var(--paper); padding: 12px 0 16px; margin-bottom: 18px; }
.filters-top { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.search { flex: 1 1 280px; display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 16px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; transition: border-color .2s, box-shadow .2s; }
.search:focus-within { border-color: var(--sea-2); box-shadow: 0 0 0 4px rgba(47, 107, 115, .12); }
.search .i { color: var(--muted); }
.search input { border: 0; outline: 0; background: transparent; width: 100%; height: 100%; font-size: 15px; }
.seg { display: inline-flex; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 4px; height: 48px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; transition: background .25s, color .25s; }
.seg input:checked + span { background: var(--ink); color: #fff; }
.seg input:focus-visible + span { outline: 2px solid var(--sea-2); outline-offset: 2px; }
.filters-toggle { height: 48px; position: relative; }
.badge-dot { position: absolute; top: 9px; right: 12px; width: 8px; height: 8px; border-radius: 50%; background: var(--brass); }
.sort { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); margin-left: auto; }
.sort select, .field select, .field input { height: 44px; border: 1px solid var(--line); background: var(--card); border-radius: 12px; padding: 0 12px; font-size: 15px; color: var(--ink); }
.sort select { border-radius: 999px; padding: 0 34px 0 14px; }
select { -webkit-appearance: none; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%236c7478' stroke-width='1.6'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px !important; }
.filters-more { display: none; margin-top: 12px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.filters.is-open .filters-more { display: block; animation: fade .3s var(--ease); }
.filters-sheet-head { display: none; }
.fgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; align-items: end; }
.field { display: grid; gap: 6px; font-size: 13px; color: var(--muted); font-weight: 600; }
.field, .fgrid > * { min-width: 0; }
.field input, .field select { width: 100%; min-width: 0; }
.filters.is-open { z-index: 70; }
.field input:focus, .field select:focus, .sort select:focus { outline: 0; border-color: var(--sea-2); box-shadow: 0 0 0 4px rgba(47, 107, 115, .12); }
.check { display: inline-flex; gap: 10px; align-items: center; height: 44px; font-weight: 600; font-size: 14px; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--ink); }
.filters-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 16px; }
.results { transition: opacity .25s; }
.results.is-loading { opacity: .45; pointer-events: none; }
.results-bar { display: flex; justify-content: space-between; margin: 4px 0 18px; }
.results-count { margin: 0; color: var(--muted); font-size: 15px; }
.results-count b { color: var(--ink); }
.empty { text-align: center; padding: 70px 20px; background: var(--card); border: 1px dashed var(--line); border-radius: var(--radius); }
.empty h3 { font-family: var(--display); font-size: 30px; margin-bottom: 8px; }
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 40px; flex-wrap: wrap; }
.pager a { min-width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); font-weight: 600; }
.pager a.is-current { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- property ---------- */
.crumbs { padding-top: 22px; }
.crumbs a { display: inline-flex; gap: 6px; align-items: center; color: var(--muted); font-weight: 600; font-size: 14px; }
.crumbs a:hover { color: var(--ink); }
.prop-head { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; padding: 18px var(--gutter) 26px; }
.prop-pills { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.prop-loc { display: flex; gap: 8px; align-items: center; color: var(--muted); margin: 14px 0 0; font-size: 16px; }
.prop-price { text-align: right; }
.prop-price span { display: block; color: var(--muted); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; }
.prop-price b { font-family: var(--display); font-size: clamp(36px, 4vw, 52px); line-height: 1.1; white-space: nowrap; }
.gallery { position: relative; }
.gallery-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; height: clamp(320px, 52vw, 620px); border-radius: 24px; overflow: hidden; }
.g-tile { position: relative; padding: 0; border: 0; overflow: hidden; cursor: zoom-in; background: var(--paper-2); }
.g-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), filter .4s; }
.g-tile:hover img { transform: scale(1.04); }
.g0 { grid-row: 1 / 3; }
.gallery.is-single .gallery-grid { grid-template-columns: 1fr; }
.g-more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(20, 33, 40, .5); color: #fff; font-weight: 700; font-size: 18px; }
.gallery-all { position: absolute; right: calc(var(--gutter) + 16px); bottom: 16px; box-shadow: var(--shadow); }
.prop-body { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(28px, 5vw, 70px); padding-top: 40px; padding-bottom: 30px; }
.facts { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.facts li { padding: 18px 18px 16px; display: grid; gap: 2px; border-left: 1px solid var(--line); }
.facts li:first-child { border-left: 0; }
.facts .i { color: var(--brass); width: 22px; height: 22px; margin-bottom: 8px; }
.facts b { font-size: 18px; }
.facts span { font-size: 13px; color: var(--muted); }
.prose { font-size: 17px; line-height: 1.7; color: var(--ink-2); max-width: 44em; }
.amen { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 24px; }
.amen li { display: flex; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.amen .i { color: var(--ok); }
.tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 8px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 14px; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; margin: 0; }
.specs div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-weight: 600; text-align: right; }
.prop-aside { position: relative; }
.contact-card { position: sticky; top: 100px; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 26px; box-shadow: var(--shadow); display: grid; gap: 12px; }
.contact-card .eyebrow { margin: 0; }
.contact-price { font-family: var(--display); font-size: 38px; line-height: 1; }
.contact-btns { display: grid; gap: 10px; margin-top: 6px; }
.contact-btns .btn { width: 100%; }
.copy-link { font-size: 13px; height: 36px; }
.mobile-bar { display: none; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: #0b1114; color: #fff; display: grid; grid-template-columns: 70px 1fr 70px; grid-template-rows: 1fr auto; align-items: center; animation: fade .25s; touch-action: pan-y; }
.lightbox[hidden] { display: none; }
.lb-stage { grid-column: 2; margin: 0; height: 100%; display: grid; place-items: center; padding: 56px 0 10px; min-height: 0; position: relative; }
.lb-stage img { max-width: 100%; max-height: calc(100vh - 170px); object-fit: contain; border-radius: 8px; user-select: none; -webkit-user-drag: none; transition: opacity .2s; }
.lb-stage figcaption { position: absolute; top: 18px; left: 0; font-size: 14px; color: rgba(255, 255, 255, .7); }
.lb-close { position: absolute; top: 12px; right: 14px; z-index: 2; }
.lb-nav { justify-self: center; }
.lb-thumbs { grid-column: 1 / -1; display: flex; gap: 8px; overflow-x: auto; padding: 12px 16px 18px; scrollbar-width: thin; justify-content: safe center; }
.lb-thumbs button { flex: none; width: 76px; height: 56px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; opacity: .55; cursor: pointer; background: #222; transition: opacity .2s, border-color .2s; }
.lb-thumbs button.is-active { opacity: 1; border-color: #fff; }
.lb-thumbs img { width: 100%; height: 100%; object-fit: cover; }
body.lb-open { overflow: hidden; }

/* ---------- about / contacts ---------- */
.about { display: grid; grid-template-columns: minmax(220px, 380px) 1fr; gap: clamp(28px, 6vw, 80px); padding-bottom: 80px; align-items: start; }
.about-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 30px 0; }
.about-facts div { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px; }
.about-facts dt { font-size: 13px; color: var(--muted); }
.about-facts dd { margin: 4px 0 0; font-weight: 700; font-size: 18px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.contacts { padding-bottom: 90px; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.contact-tile { display: flex; align-items: center; gap: 16px; padding: 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .35s var(--ease), box-shadow .35s; }
.contact-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.contact-tile > .i:last-child { margin-left: auto; color: var(--muted); }
.contact-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--ink); color: var(--brass-soft); }
.contact-ico .i { width: 24px; height: 24px; }
.contact-tile small { display: block; color: var(--muted); font-size: 13px; }
.contact-tile b { font-size: 17px; word-break: break-all; }
.contacts-note { margin-top: 24px; }
.empty-page { padding: 12vh var(--gutter); text-align: center; display: grid; justify-items: center; gap: 12px; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .78); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.site-footer h3 { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-soft); margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a:hover { color: #fff; }
.site-footer li a { display: inline-flex; gap: 8px; align-items: center; }
.brand-light { color: #fff; margin-bottom: 16px; }
.brand-light .brand-mark { background: var(--brass-soft); color: var(--ink); }
.footer-brand p { max-width: 26em; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; color: rgba(255, 255, 255, .5); }

/* ---------- motion ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.hero-copy { animation: rise .9s var(--ease) both; }
.hero-mosaic { animation: rise 1.1s .15s var(--ease) both; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .fgrid { grid-template-columns: repeat(3, 1fr); }
  .prop-body { grid-template-columns: 1fr; }
  .contact-card { position: static; }
}
@media (max-width: 900px) {
  .nav, .header-cta { display: none; }
  .burger { display: inline-grid; }
  .header-in { height: 64px; }
  .filters { top: 64px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-mosaic { height: 380px; }
  .cta-in { grid-template-columns: 1fr; align-items: start; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts li:nth-child(3) { border-left: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .about { grid-template-columns: 1fr; }
  .about-photo { max-width: 320px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  body { font-size: 15px; }
  .grid { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 10px 14px; }
  .hero-stats dt { font-size: 30px; }
  .hero-stats dd { font-size: 12px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .hero-mosaic { height: 300px; gap: 10px; grid-template-columns: 1.3fr 1fr; }
  .mosaic-tile { border-radius: 16px; }
  .mosaic-chip { left: 8px; bottom: 8px; padding: 5px 10px; font-size: 12px; }
  .about-teaser { grid-template-columns: 1fr; }
  .filters { padding: 10px 0 12px; }
  .filters-top { gap: 8px; }
  .search { flex-basis: 100%; height: 46px; }
  .seg { flex: 1; height: 46px; }
  .seg label { flex: 1; }
  .seg span { width: 100%; justify-content: center; padding: 0 8px; height: 36px; }
  .filters-toggle { height: 46px; padding: 0 14px; }
  .sort { margin-left: 0; flex-basis: 100%; }
  .sort select { flex: 1; height: 42px; }
  /* bottom sheet */
  .filters-more { position: fixed; inset: auto 0 0 0; z-index: 60; margin: 0; border-radius: 22px 22px 0 0; max-height: 86vh; overflow: auto; padding: 0 18px calc(18px + env(safe-area-inset-bottom)); box-shadow: 0 -20px 60px rgba(20, 33, 40, .3); }
  .filters.is-open .filters-more { animation: sheet .35s var(--ease); }
  .filters.is-open::before { content: ''; position: fixed; inset: 0; background: rgba(20, 33, 40, .4); z-index: 55; }
  .filters-sheet-head { display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; background: var(--card); padding: 16px 0 12px; margin-bottom: 4px; border-bottom: 1px solid var(--line); font-size: 18px; z-index: 1; }
  .filters-sheet-head .icon-btn { background: var(--paper-2); width: 38px; height: 38px; }
  .fgrid { grid-template-columns: 1fr 1fr; padding-top: 10px; }
  .fgrid .field:nth-child(3), .fgrid .field:nth-child(4), .fgrid .field:nth-child(5), .fgrid .check { grid-column: 1 / -1; }
  .filters-actions { position: sticky; bottom: 0; background: var(--card); padding: 12px 0 0; }
  .filters-actions .btn { flex: 1; }
  .prop-head { grid-template-columns: 1fr; padding-bottom: 18px; }
  .prop-price { text-align: left; }
  .gallery { padding: 0; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 2fr 1fr; border-radius: 0; height: 74vw; min-height: 300px; }
  .g0 { grid-column: 1 / 3; grid-row: 1; }
  .g3, .g4 { display: none; }
  .gallery-all { right: 12px; bottom: 12px; --h: 40px; font-size: 13px; padding: 0 14px; }
  .facts b { font-size: 16px; }
  .amen, .specs { grid-template-columns: 1fr; }
  .about-facts { grid-template-columns: 1fr 1fr; }
  .mobile-bar { position: fixed; z-index: 30; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; gap: 12px; background: rgba(255, 253, 249, .96); backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 999px; padding: 8px 8px 8px 22px; box-shadow: var(--shadow-lg); }
  .mobile-bar small { display: block; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
  .mobile-bar b { font-family: var(--display); font-size: 24px; line-height: 1; }
  .is-property .site-footer { padding-bottom: 100px; }
  .lightbox { grid-template-columns: 1fr; }
  .lb-nav { display: none; }
  .lb-stage { grid-column: 1; padding: 56px 0 0; }
  .lb-stage figcaption { left: 16px; }
  .lb-stage img { max-height: calc(100vh - 160px); border-radius: 0; }
  .cta-actions .btn { flex: 1 1 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
@keyframes sheet { from { transform: translateY(100%); } to { transform: none; } }
