:root {
  --ink: #1c2430;
  --muted: #6f7886;
  --line: #e6e9ee;
  --soft: #f7f8fa;
  --blue: #405574;
  --blue-dark: #32445f;
  --accent: #9c7a55;
  --paper: #ffffff;
  --font-headline: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-text: Arial, Helvetica, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: #fff; font-family: var(--font-text); font-size: 16px; }
h1, h2, h3 { font-family: var(--font-headline); letter-spacing: 0; }
a { color: inherit; text-decoration: none; }
.topbar { position: sticky; top: 0; z-index: 20; height: 74px; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(20px, 5vw, 76px); background: rgba(255,255,255,.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.brand { display: inline-flex; align-items: center; }
.brand img { width: 150px; height: auto; display: block; }
.topbar nav { display: flex; gap: 28px; color: var(--muted); font-size: 14px; font-weight: 600; }
main { overflow: hidden; }
.eyebrow { color: var(--accent); font-family: var(--font-text); font-size: 12px; text-transform: uppercase; letter-spacing: .16em; font-weight: 800; }
.index-hero { min-height: 430px; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 40px; padding: 72px clamp(20px, 7vw, 120px); background: #111 url('https://static.tildacdn.com/stor3735-6561-4461-b239-623961643466/89f69551f385e2fd111bbd9aac2b83be.png') center/cover; color: #fff; position: relative; }
.index-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,26,37,.78), rgba(18,26,37,.38)); }
.index-hero > * { position: relative; }
.index-hero h1 { max-width: 760px; margin: 16px 0 0; font-size: clamp(42px, 5.6vw, 76px); line-height: 1.04; font-weight: 700; }
.index-hero p { max-width: 620px; color: rgba(255,255,255,.76); font-size: 18px; line-height: 1.5; }
.hero-badge { display: inline-flex; margin-top: 24px; min-height: 42px; align-items: center; padding: 0 18px; border: 1px solid rgba(255,255,255,.32); background: rgba(255,255,255,.08); color: rgba(255,255,255,.86); font-size: 14px; font-weight: 700; letter-spacing: .04em; backdrop-filter: blur(10px); }
.lead-strip { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px clamp(20px, 7vw, 120px); border-bottom: 1px solid var(--line); background: #fff; }
.lead-strip h2 { max-width: 820px; margin: 6px 0 0; font-size: 28px; line-height: 1.18; }
.lead-strip-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.lead-strip button, .lead-submit { min-height: 44px; border: 1px solid var(--blue); border-radius: 3px; background: var(--blue); color: #fff; padding: 0 16px; font: inherit; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; cursor: pointer; }
.lead-strip button:nth-child(2), .lead-strip button:nth-child(3) { background: #fff; color: var(--blue); }
.lead-modal { position: fixed; inset: 0; z-index: 120; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(14,18,25,.68); }
.lead-modal.open { display: flex; }
.lead-dialog { position: relative; width: min(560px, 100%); max-height: calc(100vh - 40px); overflow: auto; background: #fff; padding: 30px; box-shadow: 0 24px 90px rgba(0,0,0,.28); }
.lead-close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #f0f2f5; color: var(--ink); font-size: 24px; line-height: 1; cursor: pointer; }
.lead-dialog h2 { margin: 8px 0 22px; font-size: 32px; line-height: 1.1; }
.lead-dialog form { display: grid; gap: 14px; }
.lead-dialog label { display: grid; gap: 6px; color: var(--muted); font-size: 13px; font-weight: 700; }
.lead-dialog input, .lead-dialog select, .lead-dialog textarea { width: 100%; border: 1px solid var(--line); border-radius: 3px; padding: 12px 13px; color: var(--ink); background: #fff; font: inherit; }
.lead-dialog textarea { resize: vertical; }
.lead-hp { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }
.lead-dialog .consent-field { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; color: var(--muted); font-size: 12px; line-height: 1.45; font-weight: 600; }
.consent-field input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--blue); }
.consent-field a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.lead-submit { width: 100%; margin-top: 4px; }
.lead-toast { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 140; max-width: min(520px, calc(100vw - 32px)); padding: 14px 18px; border: 1px solid var(--line); background: #fff; color: var(--ink); box-shadow: 0 12px 38px rgba(0,0,0,.16); font-weight: 700; }
.toolbar { display: grid; grid-template-columns: minmax(240px, 1.5fr) repeat(6, minmax(132px, 1fr)) auto; gap: 10px; padding: 22px clamp(20px, 7vw, 120px) 14px; background: var(--soft); }
.toolbar input, .toolbar select { height: 44px; border: 1px solid var(--line); border-radius: 3px; background: #fff; padding: 0 14px; font: inherit; color: var(--ink); }
.reset-filters { height: 44px; border: 1px solid var(--line); border-radius: 3px; background: #fff; padding: 0 16px; color: var(--muted); font: inherit; font-weight: 700; cursor: pointer; }
.reset-filters:hover { color: var(--ink); border-color: #cbd2dc; }
.filter-summary { min-height: 24px; display: flex; flex-wrap: wrap; gap: 8px; padding: 0 clamp(20px, 7vw, 120px) 18px; border-bottom: 1px solid var(--line); background: var(--soft); }
.filter-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 28px; padding: 0 10px; border: 1px solid #d8dee8; border-radius: 999px; background: #fff; color: var(--muted); font-size: 12px; font-weight: 700; }
.filter-chip button { border: 0; background: none; padding: 0; color: var(--muted); font-size: 16px; line-height: 1; cursor: pointer; }
.result-line { padding: 18px clamp(20px, 7vw, 120px) 0; color: var(--muted); font-weight: 700; font-size: 14px; }
.grid { padding: 28px clamp(20px, 7vw, 120px) 80px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { min-height: 100%; border: 1px solid var(--line); background: #fff; transition: transform .2s ease, box-shadow .2s ease; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-2px); box-shadow: 0 18px 46px rgba(22,32,47,.08); }
.card-media { position: relative; }
.card img, .no-photo { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--soft); display: block; }
.card img.low-res-fallback, .hero-photo.low-res-fallback, .gallery-main.low-res-fallback { object-fit: contain; background: #f3f5f8; }
.badges { display: flex; flex-wrap: wrap; gap: 7px; }
.badges span { min-height: 26px; display: inline-flex; align-items: center; padding: 0 9px; background: rgba(255,255,255,.9); color: var(--blue-dark); border: 1px solid rgba(255,255,255,.7); border-radius: 999px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.card-badges { position: absolute; left: 12px; bottom: 12px; right: 12px; }
.card-body { min-height: 255px; padding: 18px; display: flex; flex-direction: column; flex: 1; }
.card-meta { color: var(--accent); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; }
.card h2 { margin: 9px 0; min-height: 82px; max-height: 82px; font-size: 24px; line-height: 1.14; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.title-limited { overflow-wrap: anywhere; }
.card p { min-height: 64px; max-height: 64px; overflow: hidden; color: var(--muted); line-height: 1.5; font-size: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.card-facts { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; padding-top: 18px; font-size: 14px; }
.card-facts span { border-top: 1px solid var(--line); padding-top: 10px; min-width: 110px; font-family: var(--font-headline); font-weight: 700; line-height: 1.18; overflow-wrap: normal; word-break: normal; }
.card-facts .price-fact { flex: 1 1 190px; min-width: 190px; }
.card-facts .price-fact small { display: block; margin-top: 4px; color: var(--muted); font-family: var(--font-text); font-size: 12px; line-height: 1.25; font-weight: 700; }
.breadcrumbs { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 18px clamp(20px, 7vw, 120px); color: var(--muted); border-bottom: 1px solid var(--line); font-size: 13px; }
.breadcrumbs a { color: var(--blue); font-weight: 700; }
.breadcrumbs span::before { content: "/"; margin-right: 10px; color: #b9c0ca; }
.hero { position: relative; min-height: 480px; display: grid; align-items: end; padding: 70px clamp(20px, 7vw, 120px); color: #fff; background: #111; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,26,37,.76), rgba(18,26,37,.2)); }
.hero-copy { position: relative; z-index: 1; max-width: 880px; }
.hero h1 { margin: 14px 0; font-size: clamp(34px, 4.6vw, 64px); line-height: 1.08; font-weight: 700; }
.hero p { max-width: 720px; color: rgba(255,255,255,.78); font-size: 18px; line-height: 1.45; }
.hero-badges { margin-top: 18px; }
.hero-badges span { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.24); backdrop-filter: blur(8px); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); margin: 0; }
.stats .fact { background: #fff; min-height: 178px; min-width: 0; padding: 32px clamp(18px, 4vw, 58px); text-align: center; display: grid; grid-template-rows: 24px 24px 1fr; justify-items: center; align-items: start; }
.fact dt { color: var(--muted); font-size: 14px; }
.fact .unit { display: block; min-height: 20px; margin-top: 8px; color: var(--muted); font-size: 15px; font-weight: 700; }
.fact dd { margin: 6px 0 0; font-family: var(--font-headline); font-size: clamp(27px, 3.1vw, 42px); font-weight: 700; }
.stats .fact dt { min-height: 24px; display: flex; align-items: center; justify-content: center; line-height: 1.2; }
.stats .fact .unit { min-height: 24px; margin-top: 0; display: flex; align-items: center; justify-content: center; line-height: 1.2; }
.stats .fact dd { align-self: start; margin: 8px 0 0; line-height: 1; font-variant-numeric: tabular-nums; overflow-wrap: normal; word-break: normal; }
.stats .fact.long-value dd { font-size: clamp(24px, 2.15vw, 34px); line-height: 1.06; white-space: nowrap; }
.two-col { display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(320px, .78fr); gap: 44px; padding: 68px clamp(20px, 7vw, 120px); }
.gallery-main-button { display: block; width: 100%; border: 0; padding: 0; background: none; cursor: zoom-in; }
.gallery-main { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; background: var(--soft); }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(58px, 1fr)); gap: 6px; margin-top: 10px; max-height: 190px; overflow: auto; padding-right: 2px; }
.thumb { border: 0; padding: 0; background: none; opacity: .68; cursor: pointer; }
.thumb.active { opacity: 1; outline: 2px solid var(--accent); }
.thumb img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.lightbox { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; background: rgba(14,18,25,.92); padding: 22px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: min(94vw, 1440px); max-height: 88vh; object-fit: contain; box-shadow: 0 24px 80px rgba(0,0,0,.35); cursor: zoom-in; transition: transform .2s ease; }
.lightbox img.zoomed { transform: scale(1.55); cursor: zoom-out; }
.lightbox button { position: absolute; border: 1px solid rgba(255,255,255,.34); background: rgba(255,255,255,.08); color: #fff; width: 46px; height: 46px; border-radius: 50%; font-size: 28px; line-height: 1; cursor: pointer; backdrop-filter: blur(8px); }
.lightbox-close { top: 22px; right: 22px; }
.lightbox-prev { left: 22px; }
.lightbox-next { right: 22px; }
.lightbox-counter { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); color: rgba(255,255,255,.78); font-size: 13px; letter-spacing: .08em; }
.panel { background: var(--blue); color: #fff; padding: 36px; align-self: start; }
.panel h2 { margin: 0 0 20px; font-size: 32px; line-height: 1.08; }
.panel dl { display: grid; gap: 14px; }
.panel .fact { display: grid; grid-template-columns: 138px 1fr; gap: 16px; border-bottom: 1px solid rgba(255,255,255,.18); padding-bottom: 14px; }
.panel .fact dt { color: rgba(255,255,255,.65); }
.panel .fact dd { margin: 0; font-family: var(--font-text); font-size: 16px; font-weight: 700; }
.button { display: inline-flex; margin-top: 26px; min-height: 48px; align-items: center; justify-content: center; padding: 0 24px; border: 1px solid rgba(255,255,255,.7); color: #fff; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; font-size: 13px; }
.panel-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.panel-actions .button { margin-top: 0; }
.button-soft { background: rgba(255,255,255,.12); cursor: pointer; }
.description { padding: 68px clamp(20px, 7vw, 120px); background: var(--soft); }
.description h2 { max-width: 960px; margin: 0 auto 24px; font-size: 38px; }
.text { max-width: 960px; margin: 0 auto; font-size: 18px; line-height: 1.7; color: #293241; }
.text p { margin: 0 0 18px; }
.location { display: grid; grid-template-columns: 1fr 1fr; min-height: 460px; }
.location iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1); }
.location-copy { padding: 68px clamp(20px, 7vw, 92px); background: var(--blue); color: #fff; }
.location-copy h2 { font-size: 38px; margin: 0 0 22px; }
.location-copy p { font-size: 18px; line-height: 1.55; color: rgba(255,255,255,.82); }
.broker { padding: 68px clamp(20px, 7vw, 120px); text-align: center; }
.broker h2 { font-size: 32px; }
.broker-card { margin: 28px auto 0; max-width: 540px; display: flex; align-items: center; gap: 22px; text-align: left; border: 1px solid var(--line); padding: 24px; }
.broker-avatar, .broker-photo { width: 92px; height: 92px; border-radius: 50%; background: #1d1d1d; color: #fff; display: grid; place-items: center; font-family: Georgia, serif; font-size: 28px; flex: 0 0 auto; }
.broker-photo { object-fit: cover; display: block; }
.broker h3 { margin: 0; font-size: 24px; }
.broker p { color: var(--muted); }
.broker-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.broker-actions a { border-bottom: 1px solid var(--ink); padding-bottom: 4px; }
.similar { padding: 0 clamp(20px, 7vw, 120px) 76px; }
.similar h2 { margin: 0 0 22px; font-size: 34px; }
.similar-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.mini-card { display: grid; grid-template-columns: 130px 1fr; gap: 16px; align-items: stretch; border: 1px solid var(--line); padding: 12px; background: #fff; transition: box-shadow .2s ease, transform .2s ease; }
.mini-card:hover { transform: translateY(-1px); box-shadow: 0 14px 34px rgba(22,32,47,.08); }
.mini-card img, .mini-card .no-photo { width: 130px; aspect-ratio: 4 / 3; object-fit: cover; background: var(--soft); }
.mini-card > div { min-width: 0; }
.mini-card h3 { margin: 4px 0 8px; font-size: 18px; line-height: 1.16; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.mini-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mobile-contact { display: none; }
.footer { display: flex; justify-content: space-between; gap: 20px; padding: 32px clamp(20px, 7vw, 120px); border-top: 1px solid var(--line); color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 14px 22px; }
.footer a:hover { color: var(--ink); }
.policy-page { min-height: calc(100vh - 138px); padding: clamp(42px, 6vw, 78px) clamp(20px, 7vw, 120px) clamp(64px, 8vw, 104px); background: linear-gradient(180deg, #f7f8fa 0, #fff 260px); }
.policy-shell { max-width: 920px; margin: 0 auto; border: 1px solid var(--line); background: #fff; padding: clamp(28px, 5vw, 58px); box-shadow: 0 24px 70px rgba(22,32,47,.07); }
.policy-shell h1 { margin: 12px 0 24px; font-size: clamp(38px, 5vw, 64px); line-height: 1.04; font-weight: 700; }
.policy-lead { margin: 0 0 34px; padding-bottom: 28px; border-bottom: 1px solid var(--line); color: #293241; font-size: clamp(17px, 1.7vw, 20px); line-height: 1.65; }
.policy-shell h2 { margin: 34px 0 12px; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.16; }
.policy-shell p { margin: 0 0 14px; color: var(--muted); font-size: 16px; line-height: 1.72; }
.policy-shell a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.policy-date { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 700; }
@media (max-width: 980px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .two-col, .location { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .location iframe { min-height: 420px; }
  .toolbar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .toolbar input { grid-column: 1 / -1; }
  .similar-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .topbar { height: 64px; padding: 0 16px; align-items: center; gap: 16px; }
  .brand img { width: 126px; }
  .topbar nav { gap: 12px; font-size: 12px; white-space: nowrap; }
  .index-hero { grid-template-columns: 1fr; min-height: 390px; padding-top: 54px; padding-bottom: 46px; }
  .index-hero h1 { font-size: 38px; line-height: 1.08; }
  .hero-badge { min-height: 38px; padding: 0 14px; font-size: 13px; }
  .toolbar { grid-template-columns: 1fr; }
  .toolbar input { grid-column: auto; }
  .lead-strip { align-items: flex-start; flex-direction: column; }
  .lead-strip h2 { font-size: 24px; }
  .lead-strip-actions { width: 100%; }
  .lead-strip button { width: 100%; }
  .grid { grid-template-columns: 1fr; }
  .card-body { min-height: 238px; }
  .card h2 { font-size: 19px; min-height: 66px; max-height: 66px; line-height: 1.15; }
  .card-facts .price-fact { min-width: 180px; }
  .card p { min-height: 58px; max-height: 58px; }
  .hero { min-height: 430px; padding-top: 54px; padding-bottom: 50px; }
  .hero h1 { font-size: 32px; line-height: 1.12; }
  .hero p { font-size: 16px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats .fact { min-height: 132px; padding: 22px 12px; grid-template-rows: 22px 22px 1fr; }
  .fact dt { font-size: 13px; }
  .fact .unit { font-size: 13px; }
  .fact dd { font-size: 28px; }
  .stats .fact.long-value dd { white-space: normal; overflow-wrap: anywhere; font-size: 24px; }
  .two-col, .description, .broker { padding-top: 48px; padding-bottom: 48px; }
  .two-col { gap: 28px; }
  .panel { padding: 30px 22px; }
  .panel h2, .broker h2 { font-size: 28px; }
  .panel .fact { grid-template-columns: 1fr; gap: 4px; }
  .panel-actions { flex-direction: column; }
  .panel-actions .button { width: 100%; }
  .description h2, .location-copy h2 { font-size: 30px; }
  .text, .location-copy p { font-size: 16px; line-height: 1.62; }
  .thumbs { grid-template-columns: repeat(auto-fill, minmax(44px, 1fr)); max-height: 112px; }
  .lightbox { padding: 10px; }
  .lightbox img { max-width: 100vw; max-height: 82vh; }
  .lightbox button { width: 40px; height: 40px; font-size: 24px; }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
  .broker-card { align-items: flex-start; }
  .broker h3 { font-size: 22px; }
  .breadcrumbs { padding: 14px 16px; font-size: 12px; }
  .similar { padding: 8px 16px 52px; }
  .similar h2 { font-size: 28px; margin-bottom: 14px; }
  .similar-grid { gap: 12px; }
  .mini-card { grid-template-columns: 96px 1fr; gap: 12px; padding: 10px; align-items: center; overflow: visible; }
  .mini-card img, .mini-card .no-photo { width: 96px; aspect-ratio: 1 / 1; }
  .mini-card > div { padding: 0; }
  .mini-card .card-meta { font-size: 9px; letter-spacing: .08em; }
  .mini-card h3 { margin: 4px 0 6px; font-size: 16px; line-height: 1.14; -webkit-line-clamp: 3; }
  .mini-card p { font-size: 12px; line-height: 1.3; -webkit-line-clamp: 2; }
  .mobile-contact { position: sticky; bottom: 0; z-index: 30; display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 8px; padding: 10px 12px; background: rgba(255,255,255,.95); border-top: 1px solid var(--line); backdrop-filter: blur(12px); }
  .mobile-contact a, .mobile-contact button { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--blue); background: var(--blue); color: #fff; font-family: var(--font-text); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; cursor: pointer; }
  .lead-dialog { padding: 24px 18px; }
  .lead-dialog h2 { font-size: 28px; }
  .footer, .broker-card { flex-direction: column; }
  .footer-links { justify-content: flex-start; }
  .policy-page { padding: 28px 16px 56px; }
  .policy-shell { padding: 24px 18px; }
}

/* Approved 2026 visual system */
:root {
  --ink: #171b20;
  --muted: #68717c;
  --line: #dfe3e7;
  --soft: #f4f6f7;
  --blue: #405574;
  --blue-dark: #2f435f;
  --accent: #9c7650;
  --font-headline: "Helvetica Neue", Arial, sans-serif;
  --font-text: "Helvetica Neue", Arial, sans-serif;
}
html { scroll-behavior: smooth; }
h1, h2, h3 { font-weight: 520; }
.topbar { height: 72px; gap: 40px; padding: 0 max(28px, 6vw); }
.brand { margin-right: auto; }
.brand img { width: 116px; }
.topbar nav { gap: 28px; font-weight: 500; }
.topbar nav a { padding: 27px 0 24px; }
.header-action { min-height: 42px; border: 0; background: var(--ink); color: #fff; padding: 0 20px; font: inherit; font-size: 13px; font-weight: 650; cursor: pointer; }
.eyebrow { letter-spacing: .12em; }
.catalog-intro { display: flex; justify-content: space-between; align-items: end; gap: 48px; padding: 56px max(28px, 7vw) 44px; }
.catalog-intro h1 { margin: 10px 0 0; font-size: clamp(42px, 5.5vw, 72px); font-weight: 500; line-height: 1.02; }
.intro-count { display: flex; align-items: center; gap: 18px; min-width: 245px; padding-bottom: 6px; }
.intro-count strong { font-size: 52px; font-weight: 500; line-height: 1; }
.intro-count span { color: var(--muted); line-height: 1.45; }
.search-shell { margin: 0 max(28px, 7vw); border: 1px solid var(--line); display: grid; grid-template-columns: minmax(280px, 1fr) auto auto; align-items: end; gap: 12px; padding: 14px; }
.search-field { display: grid; gap: 6px; }
.search-field span, .filters-panel label > span { color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.search-field input { height: 44px; border: 0; border-bottom: 1px solid var(--ink); outline: 0; padding: 0 2px; font: inherit; font-size: 17px; }
.deal-switch { display: flex; background: var(--soft); padding: 4px; }
.deal-switch button { height: 40px; border: 0; background: transparent; padding: 0 18px; color: var(--muted); font: inherit; cursor: pointer; }
.deal-switch button.selected { background: #fff; color: var(--ink); box-shadow: 0 1px 8px rgba(30,40,50,.08); }
.filters-toggle { height: 48px; border: 1px solid var(--ink); background: #fff; padding: 0 18px; font: inherit; font-weight: 650; cursor: pointer; }
.filters-toggle span { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-left: 8px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 11px; }
.filters-panel { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(5, 1fr) auto; gap: 10px; align-items: end; padding-top: 14px; border-top: 1px solid var(--line); }
.filters-panel > #deal { display: none; }
.filters-panel label { display: grid; gap: 7px; }
.filters-panel select { width: 100%; height: 42px; border: 1px solid var(--line); background: #fff; padding: 0 10px; color: var(--ink); font: inherit; }
.reset-filters { height: 42px; }
.filter-summary { margin: 0 max(28px, 7vw); padding: 12px 0 0; border: 0; background: #fff; }
.result-line { display: flex; justify-content: space-between; align-items: center; padding: 34px max(28px, 7vw) 20px; }
.result-line button { border: 0; border-bottom: 1px solid var(--ink); background: none; padding: 4px 0; color: var(--ink); font: inherit; font-size: 13px; cursor: pointer; }
.grid { padding: 0 max(28px, 7vw) 84px; gap: 34px 20px; }
.card { border: 0; min-width: 0; }
.card:hover { transform: none; box-shadow: none; }
.card-media { overflow: hidden; aspect-ratio: 16 / 10; }
.card img, .no-photo { height: 100%; aspect-ratio: auto; transition: transform .45s ease; }
.card:hover .card-media img { transform: scale(1.025); }
.badges span { border: 0; border-radius: 0; background: rgba(255,255,255,.92); color: var(--ink); }
.card-body { min-height: 244px; padding: 18px 2px 0; }
.card h2 { min-height: 57px; max-height: 57px; margin: 8px 0 10px; font-size: 21px; line-height: 1.28; font-weight: 560; -webkit-line-clamp: 2; }
.card p { min-height: 42px; max-height: 42px; margin: 0; font-size: 14px; line-height: 1.5; -webkit-line-clamp: 2; }
.card-facts { gap: 22px; padding-top: 14px; border-top: 1px solid var(--line); }
.card-facts span { min-width: 0; border: 0; padding: 0; font-size: 14px; font-weight: 680; }
.card-facts .price-fact { min-width: 0; flex: 1; }
.service-band { display: grid; grid-template-columns: 1.4fr 2fr auto; align-items: center; gap: 32px; padding: 52px max(28px, 7vw); background: var(--blue-dark); color: #fff; }
.service-band h2 { margin: 0; font-size: 27px; font-weight: 500; line-height: 1.25; }
.service-band .lead-strip-actions { width: auto; flex-wrap: nowrap; }
.service-band button, .service-band button:nth-child(2) { min-height: 46px; border: 1px solid #fff; border-radius: 0; background: #fff; color: var(--ink); }
.service-band button:nth-child(2) { background: transparent; color: #fff; }

.breadcrumbs { padding: 18px max(28px, 7vw); border-bottom: 0; }
.object-heading { display: flex; justify-content: space-between; align-items: end; gap: 50px; padding: 36px max(28px, 7vw) 34px; }
.object-heading > div:first-child { max-width: 990px; }
.object-heading h1 { margin: 10px 0 0; font-size: clamp(38px, 4.6vw, 66px); font-weight: 500; line-height: 1.03; }
.object-heading p { margin: 20px 0 0; color: var(--muted); font-size: 17px; }
.heading-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 18px; min-width: 150px; font-size: 13px; }
.share-button { border: 1px solid var(--ink); background: #fff; padding: 11px 16px; font: inherit; cursor: pointer; }
.gallery-grid { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; margin: 0 max(28px, 7vw); height: min(600px, 48vw); }
.gallery-grid .gallery-main-button { grid-row: 1 / 3; height: 100%; position: relative; overflow: hidden; }
.gallery-grid .gallery-main { width: 100%; height: 100%; aspect-ratio: auto; }
.gallery-count { position: absolute; left: 18px; bottom: 18px; background: #fff; color: var(--ink); padding: 10px 13px; font-size: 12px; font-weight: 680; }
.gallery-side { display: contents; }
.gallery-side .thumb { display: none; height: 100%; opacity: 1; overflow: hidden; }
.gallery-side .thumb:nth-child(2), .gallery-side .thumb:nth-child(3) { display: block; }
.gallery-side .thumb.active { outline: 0; }
.gallery-side .thumb img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
.object-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 72px; padding: 64px max(28px, 7vw); }
.object-content { min-width: 0; }
.stat-row { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 22px; margin: 0; padding: 0 0 30px; border-bottom: 1px solid var(--line); }
.stat-row .fact { display: block; min-height: 0; padding: 0; text-align: left; background: transparent; }
.stat-row .fact dt { display: block; min-height: 0; color: var(--muted); font-size: 11px; }
.stat-row .fact .unit { min-height: 0; margin-top: 5px; justify-content: flex-start; color: var(--muted); font-size: 11px; }
.stat-row .fact dd, .stat-row .fact.long-value dd { margin: 7px 0 0; font-size: 20px; font-weight: 520; line-height: 1.15; white-space: normal; }
.object-content .description { padding: 52px 0; background: #fff; }
.object-content .description h2, .details h2, .location-copy h2 { max-width: 780px; margin: 10px 0 22px; font-size: 34px; line-height: 1.17; font-weight: 520; }
.object-content .description .text { max-width: 780px; margin: 0; color: #404853; font-size: 18px; line-height: 1.72; }
.details { padding-top: 10px; }
.details dl { border-top: 1px solid var(--ink); }
.details dl .fact { display: grid; grid-template-columns: 1fr 1.5fr; gap: 20px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.details .fact dd { margin: 0; font-family: var(--font-text); font-size: 16px; font-weight: 500; }
.contact-card { position: sticky; top: 104px; align-self: start; padding: 28px; background: var(--soft); border-top: 3px solid var(--blue); }
.contact-price-label { color: var(--muted); font-size: 12px; }
.contact-card > strong { display: block; margin: 8px 0 3px; font-size: 34px; font-weight: 520; }
.contact-card > span { color: var(--muted); font-size: 13px; }
.contact-card hr { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }
.broker-line { display: flex; align-items: center; gap: 13px; margin-bottom: 22px; }
.broker-line .broker-avatar, .broker-line .broker-photo { width: 48px; height: 48px; font-size: 16px; }
.broker-line p { margin: 0 0 4px; color: var(--muted); font-size: 12px; }
.contact-primary, .contact-secondary { width: 100%; min-height: 46px; display: inline-flex; align-items: center; justify-content: center; margin-top: 8px; border: 1px solid var(--ink); background: var(--ink); color: #fff; font: inherit; font-weight: 680; cursor: pointer; }
.contact-secondary { background: #fff; color: var(--ink); }
.contact-links { display: flex; justify-content: center; gap: 18px; margin-top: 20px; font-size: 13px; }
.contact-links a { text-decoration: underline; text-underline-offset: 4px; }
.location { min-height: 390px; grid-template-columns: 1fr 1.4fr; background: var(--soft); }
.location-copy { padding: 64px max(28px, 7vw); background: var(--soft); color: var(--ink); }
.location-copy p { color: var(--muted); }
.location iframe { filter: grayscale(1) contrast(.9); }
.location-map { position: relative; display: block; min-height: 390px; overflow: hidden; background: #e5e8ea; }
.location-map img { width: 100%; height: 100%; min-height: 390px; object-fit: cover; filter: grayscale(.35) contrast(.95); }
.location-map span { position: absolute; left: 24px; bottom: 24px; padding: 12px 15px; background: #fff; color: var(--ink); box-shadow: 0 8px 24px rgba(0,0,0,.12); font-size: 13px; font-weight: 680; }
.similar { padding-top: 68px; }
.similar h2 { font-size: 34px; font-weight: 520; }

@media (max-width: 980px) {
  .filters-panel { grid-template-columns: repeat(2, 1fr); }
  .service-band { grid-template-columns: 1fr; }
  .object-layout { grid-template-columns: 1fr; }
  .contact-card { position: static; }
  .gallery-grid { height: 56vw; }
}
@media (max-width: 640px) {
  .topbar { height: 64px; padding: 0 16px; gap: 14px; }
  .brand img { width: 96px; }
  .topbar nav a:last-child { display: none; }
  .header-action { display: none; }
  .catalog-intro { align-items: start; padding: 35px 18px 27px; }
  .catalog-intro h1 { font-size: 38px; }
  .intro-count { display: none; }
  .search-shell { margin: 0 16px; padding: 12px; grid-template-columns: 1fr; }
  .deal-switch { display: grid; grid-template-columns: repeat(3, 1fr); }
  .filters-toggle { width: 100%; }
  .filters-panel { display: none; grid-template-columns: 1fr; }
  .filters-panel.open { display: grid; }
  .filter-summary { margin: 0 16px; }
  .result-line { padding: 30px 16px 18px; }
  .grid { padding: 0 16px 58px; gap: 34px; }
  .card-media { aspect-ratio: 4 / 3; }
  .card-body { min-height: 218px; }
  .card h2 { min-height: auto; max-height: none; font-size: 20px; }
  .card-facts { justify-content: space-between; }
  .service-band { padding: 42px 18px; }
  .service-band h2 { font-size: 24px; }
  .service-band .lead-strip-actions { width: 100%; flex-direction: column; }
  .object-heading { align-items: start; padding: 28px 18px 25px; }
  .object-heading h1 { font-size: 35px; line-height: 1.06; }
  .object-heading p { font-size: 15px; }
  .heading-actions { display: none; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; height: auto; margin: 0 16px; }
  .gallery-grid .gallery-main-button { grid-column: 1 / 3; grid-row: auto; aspect-ratio: 4 / 3; }
  .gallery-side .thumb:nth-child(2), .gallery-side .thumb:nth-child(3) { display: block; aspect-ratio: 1; }
  .object-layout { padding: 38px 18px 64px; gap: 40px; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .object-content .description { padding: 42px 0; }
  .object-content .description h2, .details h2, .location-copy h2 { font-size: 28px; }
  .object-content .description .text { font-size: 16px; }
  .details dl .fact { grid-template-columns: 1fr; gap: 6px; }
  .contact-card { padding: 24px; }
  .location { grid-template-columns: 1fr; }
  .location-copy { padding: 46px 18px; }
  .location iframe { min-height: 280px; }
  .location-map, .location-map img { min-height: 280px; }
  .similar { padding-top: 48px; }
  .mobile-contact { grid-template-columns: 1fr 1fr; }
  .mobile-contact a:nth-child(2), .mobile-contact a:last-child { display: none; }
}
