: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: grid; grid-template-columns: minmax(0, 1fr) minmax(420px, 680px); align-items: center; gap: clamp(28px, 5vw, 72px); padding: 30px 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: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; justify-self: end; width: min(100%, 680px); }
.lead-strip button, .lead-submit { width: 100%; min-height: 48px; border: 1px solid var(--blue); border-radius: 3px; background: #fff; color: var(--blue); padding: 0 18px; font: inherit; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; cursor: pointer; white-space: nowrap; }
.lead-strip .lead-primary, .lead-submit { background: var(--blue); color: #fff; }
.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 { display: grid; grid-template-columns: 1fr; align-items: flex-start; }
  .lead-strip h2 { font-size: 24px; }
  .lead-strip-actions { width: 100%; grid-template-columns: 1fr; }
  .lead-strip button { width: 100%; white-space: normal; }
  .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; }
}
