:root {
  --blue: #1546b8;
  --blue-d: #0b2a6f;
  --blue-dd: #071b4a;
  --blue-l: #e8eefc;
  --yellow: #ffd23f;
  --yellow-d: #f2bf00;
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #f5f7fb;
  --card: #fff;
  --green: #0f8a5f;
  --r: 14px;
  --sh: 0 1px 2px rgba(15, 23, 42, .06), 0 4px 16px rgba(15, 23, 42, .06);
  --sh-h: 0 2px 4px rgba(15, 23, 42, .06), 0 12px 32px rgba(15, 23, 42, .12);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { overflow-x: clip; margin: 0; font: 16px/1.55 Onest, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink); background: var(--bg); }
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(28px, 4.2vw, 44px); font-weight: 800; }
h2 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 750; }
h3 { font-size: 18px; font-weight: 650; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }
.muted { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 8px; }
.i { width: 18px; height: 18px; flex: none; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 18px; border-radius: 10px; border: 1px solid transparent; font-weight: 600; cursor: pointer; text-align: center; max-width: 100%; text-decoration: none !important; transition: background .15s, transform .1s, box-shadow .15s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-d); }
.btn-accent { background: var(--yellow); color: var(--blue-dd); }
.btn-accent:hover { background: var(--yellow-d); }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: #cbd5e1; background: #f8fafc; }
.btn-block { width: 100%; }
.icon-btn { background: none; border: 0; padding: 6px; cursor: pointer; border-radius: 8px; display: inline-flex; }
.link { background: none; border: 0; padding: 0; color: var(--blue); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }

/* header */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.6) blur(12px); border-bottom: 1px solid var(--line); }
.hdr-in { display: flex; align-items: center; gap: 20px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none !important; }
.mark { width: 42px; height: 45px; flex: none; position: relative; top: -3px; }
.mark .lk { fill: #0049ab; } .mark .lr { fill: #5b7cf6; } .mark .lw { fill: #f5d547; }
.logo-inv .mark .lk { fill: #fff; } .logo-inv .mark .lr { fill: #8fa8ff; }
.logo span { display: flex; flex-direction: column; line-height: 1.1; }
.logo b { font-size: 21px; font-weight: 800; color: var(--blue); }
.logo small { font-size: 12.5px; color: var(--muted); }
.logo-inv b { color: #fff; } .logo-inv small { color: #a9b8dc; }
.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav a { padding: 8px 12px; border-radius: 8px; color: var(--ink-2); font-weight: 500; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.nav a:hover { background: var(--bg); }
.nav a[aria-current] { color: var(--blue); background: var(--blue-l); }
.nav-fav em { font-style: normal; background: var(--blue); color: #fff; font-size: 12px; min-width: 20px; height: 20px; border-radius: 10px; display: inline-grid; place-items: center; padding: 0 6px; }
.btn-call { background: var(--blue); color: #fff; padding: 9px 14px; }
.btn-call:hover { background: var(--blue-d); }
.burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.burger .i { width: 24px; height: 24px; }
@media (max-width: 960px) {
  .btn-call span { display: none; }
  .btn-call { padding: 10px; margin-left: auto; }
  .burger { display: inline-flex; }
  .nav { position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: #fff; padding: 8px 16px 16px; border-bottom: 1px solid var(--line); box-shadow: var(--sh); display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 12px; }
}

/* hero */
.hero { position: relative; color: #fff; background: var(--blue-dd); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(4, 1fr); opacity: .35; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(7, 27, 74, .97) 0%, rgba(11, 42, 111, .88) 50%, rgba(11, 42, 111, .55) 100%); }
.hero-in { position: relative; z-index: 1; padding-top: clamp(48px, 8vw, 96px); padding-bottom: clamp(40px, 6vw, 72px); }
.hero h1 { max-width: 820px; }
.hero .lead { max-width: 680px; color: #d4defa; font-size: clamp(16px, 1.6vw, 19px); }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--yellow); margin-bottom: 14px; }
.about .eyebrow { color: var(--blue); }
.hero-search { margin-top: 28px; display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 14px; padding: 6px 6px 6px 16px; max-width: 760px; box-shadow: 0 20px 50px rgba(0, 0, 0, .25); color: var(--ink); }
.hero-search > .i { color: var(--muted); }
.hero-search input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 10px 4px; font-size: 16px; background: none; }
.hero-search select { border: 0; outline: 0; appearance: none; -webkit-appearance: none; cursor: pointer; padding: 10px 34px 10px 14px; border-radius: 10px; font-weight: 500; color: var(--ink-2); background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 12px center; }
.hero-search select:hover { background-color: #eef2f8; }
.hero-search select:focus-visible { box-shadow: 0 0 0 3px rgba(21, 70, 184, .2); }
.hero-search .btn { padding: 12px 22px; }
.hero-search > * { min-width: 0; }
@media (max-width: 600px) {
  .hero-search { flex-wrap: wrap; padding: 8px; }
  .hero-search input { flex-basis: calc(100% - 40px); }
  .hero-search select { flex: 1; }
  .hero-search .btn { flex: 1; }
}
.stats { list-style: none; padding: 0; margin: 36px 0 0; display: flex; flex-wrap: wrap; gap: 14px 40px; }
.stats b { display: block; font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; color: #fff; }
.stats span { font-size: 14px; color: #a9b8dc; }
@media (max-width: 720px) { .stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; } }

/* sections */
.sec { padding-top: clamp(36px, 5vw, 64px); padding-bottom: 8px; }
.sec:last-of-type { padding-bottom: clamp(36px, 5vw, 64px); }
.sec-hd { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.sec-hd h2 { margin: 0; }
.sec-hd-page h1 { margin-bottom: 6px; }
.band { background: #fff; border-block: 1px solid var(--line); margin-top: clamp(36px, 5vw, 64px); padding-bottom: clamp(36px, 5vw, 56px); }

/* cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(290px, 100%), 1fr)); gap: 20px; }
.card { position: relative; background: var(--card); border-radius: var(--r); overflow: hidden; box-shadow: var(--sh); display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--sh-h); transform: translateY(-2px); }
.card[hidden] { display: none; }
.card-img { position: relative; display: block; aspect-ratio: 4/3; background: var(--blue-l); overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card-img img { transform: scale(1.04); }
.noimg { height: 100%; display: grid; place-items: center; color: #9db0e0; }
.noimg .i { width: 48px; height: 48px; }
.badge { position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; letter-spacing: .02em; background: var(--blue); color: #fff; }
.badge-rent, .badge-rent-invest { background: var(--green); }
.badge-sold { background: #6d3fd1; }
.badge-sale-rent { background: #6d3fd1; }
.chips .chip-price { background: #fff6d6; color: #6b4e00; }
.obj-tags .badge { position: static; }
.photos { position: absolute; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 6px; background: rgba(7, 27, 74, .72); color: #fff; font-size: 12.5px; font-weight: 600; }
.photos .i { width: 14px; height: 14px; }
.fav { position: absolute; top: 10px; right: 10px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .94); display: grid; place-items: center; cursor: pointer; color: var(--ink-2); box-shadow: 0 2px 8px rgba(0, 0, 0, .15); transition: transform .15s, color .15s; z-index: 2; }
.fav:hover { transform: scale(1.08); }
.fav[aria-pressed="true"] { color: #e11d48; }
.fav[aria-pressed="true"] svg { fill: currentColor; }
.fav-lg { position: static; box-shadow: none; border: 1px solid var(--line); width: 46px; height: 46px; flex: none; }
.card-body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 0; }
.card-meta { font-size: 13px; color: var(--muted); font-weight: 500; }
.card h3 { font-size: 16.5px; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card h3 a { color: var(--ink); }
.card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card-loc { display: flex; gap: 6px; font-size: 14px; color: var(--ink-2); margin: 0; }
.card-loc .i { width: 16px; height: 16px; margin-top: 3px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 8px; }
.chips span { display: inline-flex; align-items: center; gap: 5px; font-size: 13.5px; font-weight: 600; background: var(--bg); border-radius: 7px; padding: 4px 9px; color: var(--ink-2); }
.chips .i { width: 14px; height: 14px; color: var(--blue); }

/* region tiles */
.rtiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); gap: 14px; }
.rtile { position: relative; display: block; aspect-ratio: 16/10; border-radius: var(--r); overflow: hidden; background: var(--blue-d); color: #fff; text-decoration: none !important; }
.rtile img { width: 100%; height: 100%; object-fit: cover; opacity: .6; transition: transform .4s, opacity .3s; }
.rtile:hover img { transform: scale(1.05); opacity: .45; }
.rtile span { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 16px; background: linear-gradient(transparent, rgba(7, 27, 74, .9)); display: flex; flex-direction: column; }
.rtile b { font-size: 18px; }
.rtile small { color: var(--yellow); font-weight: 600; }
.tchips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tchip { padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink-2); font-weight: 500; }
.tchip:hover { border-color: var(--blue); color: var(--blue); text-decoration: none; }
.tchip em { font-style: normal; color: var(--muted); margin-left: 4px; }

/* steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 24px; counter-reset: s; }
.steps li { counter-increment: s; position: relative; }
.step-ic { width: 52px; height: 52px; border-radius: 14px; background: var(--blue-l); color: var(--blue); display: grid; place-items: center; margin-bottom: 14px; }
.step-ic .i { width: 26px; height: 26px; }
.steps b { font-size: 18px; display: block; margin-bottom: 6px; }
.steps b::before { content: counter(s) ". "; color: var(--blue); }
.steps p { color: var(--ink-2); margin: 0; }

/* news */
.ngrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.ncard { background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: var(--sh); display: flex; flex-direction: column; }
.ncard-img { display: block; aspect-ratio: 16/9; background: var(--blue-l); overflow: hidden; }
.ncard-img img { width: 100%; height: 100%; object-fit: cover; }
.ncard > div { padding: 16px 18px 20px; }
.ncard time, .art time { font-size: 13px; color: var(--muted); font-weight: 600; }
.ncard h3 { margin: 4px 0 8px; font-size: 17px; }
.ncard h3 a { color: var(--ink); }
.ncard p { color: var(--ink-2); font-size: 14.5px; margin: 0; }
.nlist { display: grid; gap: 16px; }
.nlist .ncard { flex-direction: row; }
.nlist .ncard-img { flex: 0 0 280px; aspect-ratio: 4/3; }
@media (max-width: 640px) { .nlist .ncard { flex-direction: column; } .nlist .ncard-img { flex: none; } }

/* cta + form */
.cta { background: linear-gradient(135deg, var(--blue-d), var(--blue)); color: #fff; border-radius: 20px; padding: clamp(24px, 4vw, 48px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.cta p { color: #d4defa; }
.cta-contacts { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.cta-contacts a { color: #fff; font-weight: 600; display: inline-flex; gap: 8px; align-items: center; }
.cta .inq { background: #fff; color: var(--ink); border-radius: 14px; padding: 20px; }
.cta-sm { grid-template-columns: minmax(0, 1fr); margin-top: 40px; }
@media (max-width: 860px) { .cta { grid-template-columns: minmax(0, 1fr); } }
.inq { display: grid; gap: 12px; }
.inq label > span { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 4px; }
.inq input:not([type=radio]):not([type=checkbox]), .inq textarea, .filters input:not([type=checkbox]):not([type=radio]), .filters select, .sort select { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; background: #fff; outline: 0; transition: border-color .15s, box-shadow .15s; }
.inq input:focus, .inq textarea:focus, .filters input:focus, .filters select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(21, 70, 184, .15); }
.inq textarea { resize: vertical; }
.row2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.intents { display: flex; flex-wrap: wrap; gap: 6px; }
.intent input, .seg input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.intent { position: relative; }
.intent span { display: inline-block; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: 13.5px; cursor: pointer; font-weight: 500; }
.intent input:checked + span { background: var(--blue-l); border-color: var(--blue); color: var(--blue); }
.intent input:focus-visible + span { outline: 3px solid var(--yellow); }
.form-note, .cta .inq .form-note { font-size: 13.5px; line-height: 1.45; color: var(--ink-2); margin: 0; }
.form-note a { font-weight: 600; white-space: nowrap; }

/* catalog */
.cat-hd { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 20px; }
.cat-hd h1 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 2px; }
.cat-hd p { margin: 0; }
.cat-tools { display: flex; gap: 8px; }
.sort select { width: auto; }
.show-filters { display: none; }
.cat-body { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 28px; align-items: start; }
.filters { position: sticky; top: 88px; background: #fff; border-radius: var(--r); box-shadow: var(--sh); padding: 18px; display: grid; gap: 18px; max-height: calc(100vh - 104px); overflow: auto; }
.filters fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.filters legend { font-weight: 700; font-size: 14px; margin-bottom: 8px; padding: 0; }
.f-hd { display: none; }
.f-search { position: relative; display: block; }
.f-search .i { pointer-events: none; position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.filters label.f-search input[name="q"] { padding-left: 40px; }
.seg { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; background: var(--bg); border-radius: 10px; padding: 3px; }
.seg span { display: block; text-align: center; padding: 7px 4px; border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer; color: var(--ink-2); }
.seg em { font-style: normal; font-weight: 500; color: var(--muted); font-size: 12px; }
.seg input:checked + span { background: #fff; color: var(--blue); box-shadow: 0 1px 3px rgba(0, 0, 0, .1); }
.seg input:focus-visible + span { outline: 3px solid var(--yellow); }
.chk { display: flex; align-items: center; gap: 10px; font-size: 14.5px; cursor: pointer; }
.chk input { width: 18px; height: 18px; accent-color: var(--blue); margin: 0; flex: none; }
.chk span { flex: 1; display: inline-flex; align-items: center; gap: 6px; }
.chk em { font-style: normal; color: var(--muted); font-size: 13px; }
.chk-fav .i { color: #e11d48; width: 16px; height: 16px; }
.f-ft { display: none; }
.grid-cat { grid-template-columns: repeat(auto-fill, minmax(min(270px, 100%), 1fr)); }
.fav-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; background: #fff1f3; border: 1px solid #fecdd6; border-radius: var(--r); padding: 12px 16px; margin-bottom: 16px; }
.fav-bar[hidden] { display: none; }
.fav-bar > span { display: inline-flex; gap: 8px; align-items: center; } .fav-bar > span .i { color: #e11d48; }
.empty { text-align: center; padding: 48px 16px; background: #fff; border-radius: var(--r); }
.empty[hidden] { display: none; }
@media (max-width: 900px) {
  .cat-body { grid-template-columns: minmax(0, 1fr); }
  .show-filters { display: inline-flex; }
  .filters { position: fixed; inset: 0; z-index: 80; border-radius: 0; max-height: none; transform: translateX(-100%); transition: transform .25s; align-content: start; padding-bottom: 96px; }
  .filters.open { transform: none; }
  .f-hd { display: flex; justify-content: space-between; align-items: center; font-size: 18px; }
  .f-ft { display: grid; grid-template-columns: 1fr 2fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; padding: 12px 16px; background: #fff; border-top: 1px solid var(--line); }
  .cat-hd { flex-wrap: wrap; }
}

/* object page */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-top: 20px; font-size: 14px; color: var(--muted); }
.crumbs a { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
.crumbs .i { width: 16px; height: 16px; }
.obj { padding-top: 14px; }
.obj-hd { margin-bottom: 20px; max-width: 960px; }
.obj-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.tag { font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink-2); }
.obj-hd h1, .art h1, .card h3, .ncard h3 { overflow-wrap: break-word; hyphens: auto; }
.obj-hd h1 { font-size: clamp(24px, 3.2vw, 36px); }
.obj-loc { overflow-wrap: anywhere; display: inline-flex; gap: 6px; align-items: flex-start; color: var(--ink-2); font-weight: 500; }
.obj-loc .i { margin-top: 3px; color: var(--blue); }
.obj-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; }
@media (max-width: 1000px) { .obj-grid { grid-template-columns: minmax(0, 1fr); } }
.gal { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.g-main { position: relative; padding: 0; border: 0; background: var(--blue-dd); border-radius: var(--r); overflow: hidden; cursor: zoom-in; display: block; width: 100%; }
.g-main img { width: 100%; max-height: 640px; aspect-ratio: 1/1; object-fit: contain; margin: 0 auto; }
.g-thumbs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 4px; }
.g-th { flex: 0 0 92px; height: 70px; padding: 0; border: 2px solid transparent; border-radius: 9px; overflow: hidden; cursor: pointer; background: var(--blue-l); opacity: .75; }
.g-th img { width: 100%; height: 100%; object-fit: cover; }
.g-th.on, .g-th:hover { border-color: var(--blue); opacity: 1; }
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-top: 20px; }
.fact { background: #fff; border-radius: 12px; padding: 14px; box-shadow: var(--sh); display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; }
.fact .i { grid-row: span 2; width: 26px; height: 26px; color: var(--blue); }
.fact span { font-size: 12.5px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.fact b { font-size: 18px; }
.obj-sec { background: #fff; border-radius: var(--r); box-shadow: var(--sh); padding: clamp(18px, 3vw, 28px); margin-top: 20px; }
.obj-sec h2 { font-size: 22px; }
.prose { overflow-wrap: anywhere; color: var(--ink-2); font-size: 16.5px; line-height: 1.7; max-width: 75ch; }
.prose p:last-child { margin-bottom: 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose strong, .prose b { color: var(--ink); }
.prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.feats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); gap: 10px; }
.feats li { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.feats .i { color: var(--green); background: #e6f6ef; border-radius: 50%; padding: 3px; width: 24px; height: 24px; }
.map { position: relative; border-radius: 12px; overflow: hidden; background: var(--blue-l) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M0 20h40M20 0v40' stroke='%23c9d6f5' stroke-width='1'/%3E%3C/svg%3E"); aspect-ratio: 16/8; display: grid; place-items: center; margin-bottom: 12px; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.obj-side { position: sticky; top: 88px; display: grid; gap: 16px; }
@media (max-width: 1000px) { .obj-side { position: static; } }
.side-card > *, .obj-side > *, .obj-main > *, .cat-body > *, .cta > * { min-width: 0; }
.side-card { background: #fff; border-radius: var(--r); box-shadow: var(--sh); padding: 20px; display: grid; gap: 12px; }
.side-hd { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.side-hd span { display: block; font-size: 13px; }
.side-hd b { font-size: 22px; }
.side-or { text-align: center; color: var(--muted); font-size: 13.5px; margin: 0; }
.side-ft { display: flex; gap: 20px; justify-content: center; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14.5px; }
.side-ft a { display: inline-flex; gap: 6px; align-items: center; font-weight: 500; }
.trust { list-style: none; padding: 0 4px; margin: 0; display: grid; gap: 10px; color: var(--ink-2); font-size: 14.5px; }
.trust li { display: flex; gap: 10px; align-items: center; }
.trust .i { color: var(--blue); }
.mbar { display: none; }
@media (max-width: 1000px) {
  .mbar { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: #fff; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(0, 0, 0, .08); }
  body:has(.mbar) .ftr { padding-bottom: 80px; }
}

/* article */
.art { max-width: 860px; padding-top: 14px; padding-bottom: 48px; }
.art h1 { font-size: clamp(26px, 3.4vw, 38px); margin-top: 6px; }
.art .gal { margin: 24px 0; }
.art .prose { font-size: 17px; max-width: none; }
.video { position: relative; aspect-ratio: 16/9; margin: 20px 0; border-radius: 12px; overflow: hidden; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* about */
.about-in { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
.about-in .lead { font-size: 19px; color: var(--ink); }
.about-in p { color: var(--ink-2); font-size: 16.5px; max-width: 70ch; }
.about-in h1 { font-size: clamp(28px, 3.6vw, 40px); }
@media (max-width: 860px) { .about-in { grid-template-columns: minmax(0, 1fr); } }
.empty-page { text-align: center; padding: 96px 16px; }

/* footer */
.ftr { background: var(--blue-dd); color: #c6d2f0; margin-top: 40px; }
.ftr-in { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px; padding-top: 48px; padding-bottom: 32px; }
.ftr p { font-size: 14.5px; margin-top: 14px; max-width: 46ch; }
.ftr h4 { color: #fff; font-size: 15px; margin-bottom: 12px; }
.ftr-in > div > a:not(.logo) { display: flex; align-items: center; gap: 8px; color: #c6d2f0; padding: 4px 0; }
.ftr a:hover { color: #fff; }
.ftr .muted { color: #8496c4; }
.ftr-bot { border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 18px; padding-bottom: 24px; font-size: 13px; color: #8496c4; }
@media (max-width: 760px) { .ftr-in { grid-template-columns: minmax(0, 1fr); } }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 200; background: rgba(4, 12, 32, .95); display: grid; grid-template-rows: auto 1fr; color: #fff; touch-action: pan-y; }
.lb-hd { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; }
.lb-hd button { color: #fff; }
.lb-hd .i { width: 26px; height: 26px; }
.lb-stage { position: relative; display: grid; place-items: center; overflow: hidden; padding: 0 56px 24px; }
.lb-stage img { max-width: 100%; max-height: calc(100vh - 90px); object-fit: contain; border-radius: 6px; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; display: grid; place-items: center; }
.lb-nav:hover { background: rgba(255, 255, 255, .25); }
.lb-prev { left: 8px; } .lb-prev .i { transform: rotate(180deg); }
.lb-next { right: 8px; }
@media (max-width: 600px) { .lb-stage { padding: 0 0 24px; } .lb-nav { display: none; } }
.toast { position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 300; font-size: 14.5px; }

.btn .lbl-long { display: inline; }
@media (max-width: 480px) { .btn .lbl-long { display: none; } }
.btn-call { white-space: nowrap; }
@media (max-width: 400px) { .hdr-in { gap: 10px; } .logo small { font-size: 11.5px; } .mark { width: 36px; height: 39px; } }

/* gallery arrows + swipe */
.g-stage { position: relative; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.g-main img { -webkit-user-drag: none; }
.g-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: 0 2px 10px rgba(0, 0, 0, .25); z-index: 2; transition: transform .15s, background .15s; }
.g-nav:hover { background: #fff; transform: translateY(-50%) scale(1.06); }
.g-nav .i { width: 22px; height: 22px; }
.g-prev { left: 12px; } .g-prev .i { transform: rotate(180deg); }
.g-next { right: 12px; }
@media (max-width: 600px) { .g-nav { width: 40px; height: 40px; } .g-prev { left: 8px; } .g-next { right: 8px; } }
.g-count { pointer-events: none; }
@keyframes g-in-r { from { opacity: .3; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes g-in-l { from { opacity: .3; transform: translateX(-28px); } to { opacity: 1; transform: none; } }
.g-in-r { animation: g-in-r .22s ease-out; } .g-in-l { animation: g-in-l .22s ease-out; }
@media (prefers-reduced-motion: reduce) { .g-in-r, .g-in-l { animation: none; } }

/* videos (click to load) */
.yts { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.obj-video { padding: clamp(12px, 2vw, 20px); }
.obj-video h2 { padding: 4px 6px 0; }
.yt-play { transform: scale(1.35); }
.yt { position: relative; padding: 0; border: 0; border-radius: 12px; overflow: hidden; cursor: pointer; aspect-ratio: 16/9; background: #000; display: block; width: 100%; }
.yt img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .2s; }
.yt:hover img { opacity: 1; }
.yt-play { position: absolute; left: 50%; top: 50%; width: 64px; height: 44px; margin: -22px 0 0 -32px; border-radius: 12px; background: rgba(220, 0, 0, .9); }
.yt-play::after { content: ""; position: absolute; left: 26px; top: 13px; border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent #fff; }
.yts .video { margin: 0; }

/* owners */
.inq select { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; background: #fff; }
.nav a[href$="vlasnykam/"] { color: var(--blue-dd); background: var(--yellow); font-weight: 650; }
.nav a[href$="vlasnykam/"]:hover { background: var(--yellow-d); }
.btn-lg { padding: 14px 22px; font-size: 16.5px; border-radius: 12px; }
.btn-inv { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-inv:hover { background: rgba(255, 255, 255, .2); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
@media (max-width: 520px) { .hero-cta .btn { flex: 1 1 100%; } }
.hero-sm { background: linear-gradient(120deg, var(--blue-dd), var(--blue-d) 60%, var(--blue)); }
.hero-sm::after { display: none; }
.sec-sub { margin: 4px 0 0; }
@media (min-width: 900px) {
  .grid-show { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid-show .card:first-child { grid-column: span 2; grid-row: span 2; }
  .grid-show .card:first-child .card-img { aspect-ratio: auto; flex: 1; min-height: 300px; }
  .grid-show .card:first-child h3 { font-size: 21px; }
}
.owners-band { background: linear-gradient(120deg, var(--blue-dd), var(--blue-d)); color: #fff; margin-top: clamp(36px, 5vw, 64px); padding-bottom: clamp(36px, 5vw, 64px); }
.owners-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.owners-in p { color: #d4defa; }
@media (max-width: 900px) { .owners-in { grid-template-columns: minmax(0, 1fr); } }
.who { display: flex; flex-wrap: wrap; gap: 8px; }
.who span { font-size: 13.5px; font-weight: 600; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: #fff; }
.osvc { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 14px; }
.osvc li { display: flex; gap: 14px; align-items: flex-start; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--r); padding: 16px; min-width: 0; }
.osvc .i { width: 26px; height: 26px; color: var(--yellow); flex: none; margin-top: 2px; }
.osvc li > div { min-width: 0; }
.osvc b { display: block; margin-bottom: 4px; }
.osvc p { margin: 0; font-size: 14.5px; }
.osvc-light li { background: #fff; border-color: var(--line); box-shadow: var(--sh); }
.osvc-light .i { color: var(--blue); }
.osvc-light p { color: var(--ink-2); }
.steps-5 { grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); }
.faq { padding-bottom: clamp(40px, 6vw, 72px); max-width: 860px; }
.faq details { background: #fff; border-radius: 12px; box-shadow: var(--sh); margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 650; padding: 18px 52px 18px 20px; list-style: none; position: relative; line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 22px; font-weight: 400; color: var(--blue); line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--ink-2); margin: 0; padding: 0 20px 18px; line-height: 1.55; }
.landing-lead { max-width: 760px; margin-top: 8px; }
.landing-sib { margin: -4px 0 18px; }
.landing-more { text-align: center; margin: 28px 0 8px; }
.landing { padding-bottom: clamp(32px, 5vw, 56px); }
.cta-alt { font-size: 14.5px; }
.cta-alt a { color: var(--yellow); text-decoration: underline; }
.owner-strip { display: flex; align-items: center; gap: 12px; background: #fffbea; border: 1px solid #f6e3a1; border-radius: var(--r); padding: 12px 16px; margin-bottom: 16px; color: var(--ink); text-decoration: none !important; }
.owner-strip:hover { background: #fff5cc; }
.owner-strip > .i { color: var(--blue); width: 22px; height: 22px; }
.owner-strip span { flex: 1; min-width: 0; }
.owner-card { display: grid; gap: 4px; background: linear-gradient(135deg, var(--blue-d), var(--blue)); color: #fff; border-radius: var(--r); padding: 18px 20px; text-decoration: none !important; }
.owner-card span { color: #d4defa; font-size: 14.5px; }
.owner-card em { font-style: normal; font-weight: 650; color: var(--yellow); display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; }

/* typography: even line breaks in headings, no orphans in body text */
h1, h2, h3, h4, .card h3, .card-title, .ncard h3, .sec-hd h2, .hero h1, .lead, .badge, .tchip, summary { text-wrap: balance; }
p, li, .prose p, .prose li, .form-note, .faq details p, figcaption, blockquote { text-wrap: pretty; }
