/* ЖК «Перспектива», Коммунар */
:root {
  --ink: #16201d; --ink-2: #3a463f; --ink-3: #4a554e;
  --muted: #6b766f; --muted-2: #8a938e; --muted-3: #9aa39d;
  --accent: #1f6f5c; --accent-hover: #164f42; --accent-light: #8ecfb8; --accent-bg: #f6faf8;
  --warn: #b07d24; --danger: #b72d2d; --error: #b3261e;
  --surface: #fff; --surface-2: #f3f2ec; --surface-3: #fcfcf8;
  --dark: #16201d; --dark-2: #212b26;
  --border: #e6e3db; --border-2: #dcd8cd; --border-3: #c9c4b8;
  --head: "Geologica", "Golos Text", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html.locked { overflow: hidden; }
body { margin: 0; background: #fff; color: var(--ink); font-family: "Golos Text", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
h1, h2, h3 { font-family: var(--head); font-weight: 500; margin: 0; text-wrap: pretty; }
p { margin: 0; }
button, input { font-family: inherit; }
img { display: block; }
section[id] { scroll-margin-top: 72px; }
@keyframes kfade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.eyebrow { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.h2 { font-size: 44px; line-height: 1.08; letter-spacing: -.02em; }
.lead-p { color: var(--ink-3); font-size: 18px; line-height: 1.6; }
.head { font-family: var(--head); }

/* buttons */
.btn { display: inline-block; border: 0; border-radius: 2px; cursor: pointer; font-family: var(--head); font-size: 16px; padding: 18px 28px; text-align: center; transition: background-color .15s, border-color .15s, color .15s; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-hover); color: #fff; }
.btn-ghost-light { background: none; color: #fff; border: 1px solid rgba(255,255,255,.55); }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-line { background: none; color: var(--ink-2); border: 1px solid var(--border-2); }
.btn-line:hover { border-color: var(--accent); color: var(--accent); }
.btn-block { width: 100%; }
.link-btn { border: 0; background: none; padding: 0; color: var(--accent); font-size: 14px; text-decoration: underline; cursor: pointer; }
.chip { border: 1px solid var(--border-2); background: #fff; color: var(--ink); font-family: var(--head); font-size: 14px; padding: 10px 15px; border-radius: 2px; cursor: pointer; }
.chip:hover { border-color: var(--accent); }
.chip.on { background: var(--accent); border-color: var(--accent); color: #fff; }

/* header */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.hrow { max-width: 1240px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; gap: 24px; }
.logo { display: flex; flex-direction: column; gap: 2px; color: var(--ink); flex: 0 0 auto; }
.logo:hover { color: var(--ink); }
.logo-name { font-family: var(--head); font-size: 19px; font-weight: 500; letter-spacing: -.01em; }
.logo-city { font-size: 12px; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.main-nav { display: flex; gap: 24px; margin-left: auto; }
.main-nav a { color: var(--ink-2); font-size: 15px; }
.main-nav a:hover { color: var(--accent); }
.hright { display: flex; align-items: center; gap: 16px; flex: 0 0 auto; }
.hphone { font-family: var(--head); font-size: 17px; color: var(--ink); white-space: nowrap; }
.hcta { font-size: 14px; padding: 12px 18px; white-space: nowrap; }
.burger { display: none; align-items: center; justify-content: center; flex-direction: column; gap: 5px; width: 40px; height: 40px; border: 1px solid var(--border-2); background: none; border-radius: 2px; cursor: pointer; }
.burger span { display: block; width: 20px; height: 2px; background: var(--ink); }

/* mobile menu */
.mmenu { position: fixed; inset: 0; z-index: 80; background: #fff; display: flex; flex-direction: column; align-items: center; padding: 56px 24px 40px; overflow-y: auto; animation: kfade .2s ease; }
.mmenu[hidden] { display: none; }
.mmenu-close { position: absolute; top: 14px; right: 16px; border: 0; background: none; font-size: 30px; line-height: 1; color: var(--ink); cursor: pointer; }
.mmenu-name { font-family: var(--head); font-size: 22px; letter-spacing: .02em; text-align: center; }
.mmenu-city { font-size: 13px; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; margin-top: 8px; }
.mmenu-sep { width: 100%; max-width: 320px; height: 1px; background: var(--border); margin: 28px 0; }
.mmenu nav { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.mmenu nav a { color: var(--ink); font-size: 19px; }
.mmenu-phone { font-family: var(--head); font-size: 24px; color: var(--ink); }
.mmenu-cta { width: 100%; max-width: 320px; margin-top: 18px; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; padding: 17px; }
.mmenu-hours { color: var(--muted); font-size: 14px; margin-top: 14px; }

/* hero */
.hero { position: relative; min-height: 560px; display: flex; align-items: flex-end; background: #232a26; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,20,17,.5) 0%, rgba(14,20,17,.18) 38%, rgba(14,20,17,.88) 100%); }
.hero-in { position: relative; max-width: 1240px; margin: 0 auto; padding: 120px 24px 64px; width: 100%; }
.hero-badge { display: inline-block; color: #fff; background: rgba(31,111,92,.94); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; padding: 8px 14px; margin-bottom: 24px; }
.hero h1 { color: #fff; font-size: 64px; line-height: 1.02; letter-spacing: -.02em; max-width: 860px; }
.hero-sub { color: rgba(255,255,255,.86); font-size: 20px; line-height: 1.5; max-width: 640px; margin-top: 22px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; }

/* facts */
.facts { border-bottom: 1px solid var(--border); }
.facts-in { max-width: 1240px; margin: 0 auto; padding: 56px 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 36px; }
.fact-num { font-family: var(--head); font-size: 32px; color: var(--accent); line-height: 1; }
.fact-txt { color: var(--ink-3); font-size: 15px; line-height: 1.5; margin-top: 10px; }

/* about */
.sec { padding: 96px 0; }
.sec-soft { background: var(--surface-2); }
.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 64px; align-items: start; }
.about-grid .lead-p { margin-top: 18px; }
.about-grid .h2 + .lead-p { margin-top: 24px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 28px; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--border); }
.stat-n { font-family: var(--head); font-size: 36px; line-height: 1; }
.stat-t { color: var(--muted); font-size: 14px; line-height: 1.4; margin-top: 8px; }
.collage { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.collage img { width: 100%; height: 210px; object-fit: cover; background: var(--border); }
.collage img:first-child { grid-column: 1 / -1; height: 320px; }
.dots { display: none; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; }
.dots span { display: block; width: 6px; height: 6px; border-radius: 3px; background: var(--border-3); transition: all .2s; }
.dots span.on { width: 20px; background: var(--accent); }

/* location */
.tabs { display: flex; gap: 28px; margin: 40px 0 36px; border-bottom: 1px solid var(--border-2); }
.tab { position: relative; border: 0; background: none; padding: 0 0 14px; font-family: var(--head); font-size: 17px; color: var(--ink); cursor: pointer; }
.tab.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--accent); }
.tab-pane { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 48px; align-items: start; animation: kfade .3s ease; }
.tab-pane[hidden] { display: none; }
.tab-pane h3 { font-size: 26px; line-height: 1.2; }
.tab-pane .lead-p { margin-top: 18px; }
.tab-pane img { width: 100%; height: 420px; object-fit: cover; background: var(--border); }
.rows { display: flex; flex-direction: column; margin-top: 28px; }
.rows div { display: flex; gap: 18px; padding: 14px 0; border-top: 1px solid var(--border-2); }
.rows b { flex: 0 0 116px; color: var(--accent); font-family: var(--head); font-size: 15px; font-weight: 400; }
.rows span { color: var(--ink-2); font-size: 16px; }
.map { margin-top: 64px; }
.map h3 { font-size: 26px; }
.map .lead-p { margin-top: 10px; }
.map iframe { display: block; width: 100%; height: 440px; border: 0; margin-top: 24px; background: var(--border); }

/* flats */
.flats-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.modes { display: flex; gap: 10px; flex-wrap: wrap; }
.mode { border: 1px solid var(--border-2); background: #fff; color: var(--ink); font-family: var(--head); font-size: 15px; padding: 14px 22px; border-radius: 2px; cursor: pointer; }
.mode.on { border-color: var(--accent); background: var(--accent); color: #fff; }
.pane { margin-top: 48px; padding-top: 44px; border-top: 1px solid var(--border); }
.pane[hidden] { display: none; }

.cat-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.cat-head h3 { font-size: 28px; }
.cat-head .sub { color: var(--muted); font-size: 16px; line-height: 1.55; margin-top: 10px; }
.found { font-family: var(--head); font-size: 16px; color: var(--ink-2); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 28px; }
.flabel { font-size: 14px; color: var(--muted); margin-right: 4px; }
.fsep { width: 1px; height: 26px; background: var(--border); margin: 0 6px; }
.secline { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 14px; font-size: 14px; color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 20px; margin-top: 28px; }
.card { display: flex; flex-direction: column; border: 1px solid var(--border); color: var(--ink); background: #fff; padding: 0; text-align: left; cursor: pointer; font-family: "Golos Text", sans-serif; transition: border-color .15s; }
.card:hover { border-color: var(--accent); }
.card-img { background: var(--surface-2); padding: 16px; display: flex; align-items: center; justify-content: center; min-height: 190px; }
.card-img img { max-width: 100%; max-height: 170px; }
.card-body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; width: 100%; }
.card-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.card-title { font-family: var(--head); font-size: 19px; }
.card-meta { color: var(--muted); font-size: 14px; }
.card-price { font-family: var(--head); font-size: 22px; color: var(--accent); margin-top: 6px; }
.card-perm { color: var(--muted-2); font-size: 13px; }
.st { font-size: 13px; white-space: nowrap; }
.st-free { color: var(--accent); } .st-hold { color: var(--warn); } .st-sold { color: var(--muted-3); }
.empty { color: var(--muted); font-size: 17px; padding: 32px 0; }
.more { display: flex; justify-content: center; margin-top: 32px; }
.more button { border: 1px solid var(--ink); background: none; color: var(--ink); font-family: var(--head); font-size: 15px; padding: 15px 30px; border-radius: 2px; cursor: pointer; }
.more button:hover { background: var(--ink); color: #fff; }

/* visual: house */
.house { position: relative; background: var(--surface-2); padding: 14px; margin-top: 32px; }
.house svg { width: 100%; height: auto; display: block; }
.house .secs polygon { fill: rgba(31,111,92,.34); stroke: #fff; stroke-width: 3; stroke-linejoin: round; cursor: pointer; opacity: 0; transition: opacity .18s; }
.house .secs polygon:hover, .house .secs polygon.on { opacity: 1; }
.house .secs polygon.sel { opacity: 1; fill: rgba(31,111,92,.5); stroke: var(--accent-light); stroke-width: 4; }
.house-tag { position: absolute; left: 14px; bottom: 14px; background: rgba(22,32,29,.86); color: #fff; font-family: var(--head); font-size: 14px; padding: 10px 14px; pointer-events: none; }

/* visual: floor */
.floor-top { display: flex; justify-content: flex-end; }
.floor-top[hidden], .house[hidden], .floor-view[hidden], .more[hidden] { display: none; }
.floor-view { margin-top: 28px; animation: kfade .3s ease; }
.floor-bar { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.floor-bar-l { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.floor-bar-l .t { font-family: var(--head); font-size: 20px; }
.fl { border: 1px solid var(--border-2); background: #fff; color: var(--ink); font-family: var(--head); font-size: 15px; padding: 9px 15px; border-radius: 2px; cursor: pointer; }
.fl.on { border-color: var(--accent); background: var(--accent); color: #fff; }
.fl:disabled { border-color: #ebe8e0; background: #f7f6f1; color: #c2beb4; cursor: not-allowed; }
.legend { display: flex; gap: 18px; flex-wrap: wrap; font-size: 14px; color: var(--ink-3); }
.legend span { display: flex; align-items: center; gap: 7px; }
.legend i { width: 14px; height: 14px; display: block; }
.plan { --ph: 520px; background: var(--surface-2); padding: 20px; height: 560px; display: flex; align-items: center; justify-content: center; margin-top: 24px; }
.plan-box { position: relative; max-width: 100%; background-size: 100% 100%; background-repeat: no-repeat; }
.plan-box svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.plan-box polygon { stroke-width: 4; stroke-linejoin: round; cursor: pointer; transition: fill .15s; }
.p-free { fill: rgba(31,111,92,.34); stroke: #1f6f5c; }
.p-free.on { fill: rgba(31,111,92,.6); stroke: #164f42; }
.p-hold { fill: rgba(176,125,36,.34); stroke: #b07d24; }
.p-hold.on { fill: rgba(176,125,36,.6); stroke: #8a5f14; }
.p-sold { fill: rgba(183,45,45,.32); stroke: #b72d2d; pointer-events: none; }
.plan-labels { position: absolute; inset: 0; pointer-events: none; }
.plan-labels span { position: absolute; transform: translate(-50%, -50%); font-family: var(--head); font-size: 15px; font-weight: 600; color: var(--ink); background: rgba(255,255,255,.9); padding: 2px 7px; border-radius: 2px; white-space: nowrap; }
.floor-note { font-size: 15px; color: var(--muted); margin-top: 24px; }
.fcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; margin-top: 16px; }
.fcard { text-align: left; border: 1px solid var(--border); background: #fff; padding: 16px; border-radius: 2px; cursor: pointer; transition: border-color .15s; }
.fcard.on { border-color: var(--accent); background: var(--accent-bg); }
.fcard-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.fcard-t { font-family: var(--head); font-size: 17px; color: var(--ink); }
.fcard-s { display: block; color: var(--muted); font-size: 13px; margin-top: 6px; }
.fcard-p { display: block; font-family: var(--head); font-size: 19px; color: var(--accent); margin-top: 10px; }

/* pay */
.pay { padding: 88px 0; background: var(--dark); }
.pay .eyebrow { color: var(--accent-light); }
.pay h2 { font-size: 40px; line-height: 1.1; letter-spacing: -.02em; color: #fff; max-width: 760px; }
.pay-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 44px; }
.pay-card { background: var(--dark-2); padding: 30px; }
.pay-card:first-child { background: var(--accent); }
.pay-card h3 { font-size: 22px; color: #fff; }
.pay-card p { color: rgba(255,255,255,.72); font-size: 16px; line-height: 1.55; margin-top: 12px; }
.pay-card:first-child p { color: rgba(255,255,255,.9); }
.tags { display: flex; gap: 8px; margin-top: 20px; flex-wrap: wrap; }
.tags span { border: 1px solid rgba(255,255,255,.5); color: #fff; font-size: 13px; padding: 7px 11px; white-space: nowrap; }
.pay-cta { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 32px; padding: 28px 30px; border: 1px solid rgba(255,255,255,.18); }
.pay-cta p { color: #fff; font-family: var(--head); font-size: 20px; line-height: 1.3; }
.btn-white { background: #fff; color: var(--ink); font-size: 15px; padding: 14px 22px; }
.btn-white:hover { background: var(--border); color: var(--ink); }

/* contacts + forms */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 56px; align-items: start; }
.contact-grid .lead-p { margin-top: 22px; }
.contact-info { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--border-2); display: flex; flex-direction: column; gap: 10px; }
.contact-info p { color: var(--muted); font-size: 17px; }
.contact-info a { font-family: var(--head); font-size: 28px; color: var(--ink); }
.contact-info a:hover { color: var(--accent); }
.form-card { background: #fff; padding: 36px; border: 1px solid var(--border); position: relative; }
.form-title { font-family: var(--head); font-size: 22px; }
.form-sub { color: var(--muted); font-size: 15px; line-height: 1.5; margin-top: 8px; }
.form-subject { margin-top: 14px; padding: 12px 14px; background: var(--surface-2); color: var(--ink-2); font-size: 14px; line-height: 1.45; }
.lf label { display: block; font-size: 14px; color: var(--ink-3); margin: 18px 0 8px; }
.lf label:first-of-type { margin-top: 24px; }
.lf input[name="name"], .lf input[name="phone"] { width: 100%; border: 1px solid var(--border-2); background: var(--surface-3); padding: 15px 16px; font-size: 16px; border-radius: 2px; color: var(--ink); }
.lf input:focus { outline: none; border-color: var(--accent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.interest { color: var(--muted); font-size: 14px; margin-top: 14px; }
.interest span { color: var(--ink-2); }
.lf button[type="submit"] { margin-top: 24px; font-size: 16px; padding: 17px; }
.lf button[disabled] { opacity: .6; cursor: default; }
.form-err { color: var(--error); font-size: 14px; margin-top: 12px; }
.form-err[hidden] { display: none; }
.consent { color: var(--muted-2); font-size: 13px; line-height: 1.5; margin-top: 14px; }
.done-t { font-family: var(--head); font-size: 22px; }
.done-p { color: var(--ink-3); font-size: 16px; line-height: 1.55; margin-top: 12px; }

/* footer */
.site-footer { background: var(--dark); padding: 64px 0 32px; }
.fgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; }
.f-name { font-family: var(--head); font-size: 20px; color: #fff; }
.f-txt { color: rgba(255,255,255,.6); font-size: 15px; line-height: 1.6; margin-top: 12px; }
.fnav { display: flex; flex-direction: column; gap: 12px; }
.fnav a { color: rgba(255,255,255,.78); font-size: 15px; }
.fnav a:hover { color: #fff; }
.f-phone { font-family: var(--head); font-size: 22px; color: #fff; }
.f-phone:hover { color: #fff; }
.f-legal { color: rgba(255,255,255,.42); font-size: 13px; line-height: 1.6; border-top: 1px solid rgba(255,255,255,.14); padding-top: 24px; margin-top: 32px; }
.f-legal a { color: rgba(255,255,255,.7); }

/* modals */
.overlay { position: fixed; inset: 0; background: rgba(14,20,17,.62); display: flex; align-items: center; justify-content: center; padding: 24px; }
.overlay[hidden] { display: none; }
.ov-flat { z-index: 55; }
.ov-lead { z-index: 60; }
.ov-zoom { z-index: 70; background: rgba(10,14,12,.88); cursor: zoom-out; }
.modal { position: relative; background: #fff; width: 100%; animation: kfade .25s ease; }
.modal-flat { max-width: 980px; max-height: 88vh; overflow-y: auto; padding: 32px; }
.modal-lead { max-width: 440px; padding: 36px; max-height: 94vh; overflow-y: auto; }
.x { position: absolute; top: 14px; right: 16px; border: 0; background: none; font-size: 28px; line-height: 1; color: var(--muted); cursor: pointer; }
.ov-zoom .x { top: 18px; right: 22px; font-size: 34px; color: #fff; }
.mf-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; align-items: center; }
.mf-no { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.mf-h { font-family: var(--head); font-size: 30px; line-height: 1.12; margin-top: 10px; }
.mf-meta { color: var(--muted); font-size: 16px; margin-top: 10px; }
.mf-price { font-family: var(--head); font-size: 32px; color: var(--accent); margin-top: 18px; }
.mf-perm { color: var(--muted-2); font-size: 14px; }
.mf-specs { margin-top: 22px; }
.mf-specs .eyebrow { font-size: 12px; letter-spacing: .1em; margin-bottom: 6px; }
.spec { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--border); font-size: 15px; }
.spec:first-of-type { border-top: 0; }
.spec span:first-child { color: var(--muted); }
.spec span:last-child { color: var(--ink); text-align: right; }
.mf-btn1 { margin-top: 26px; font-size: 15px; padding: 15px; }
.mf-btn2 { margin-top: 10px; font-size: 15px; padding: 14px; }
.mf-plan { background: var(--surface-2); padding: 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 320px; cursor: zoom-in; border: 0; width: 100%; }
.mf-plan-img { width: 100%; height: 56vh; background: center / contain no-repeat; }
.mf-plan small { font-size: 13px; color: var(--muted); }
.zoom-img { width: 100%; height: 92vh; background: center / contain no-repeat; }

/* policy */
.crumbs { background: var(--surface-2); padding: 48px 0; }
.crumbs p { font-size: 14px; color: var(--muted); }
.crumbs h1 { font-size: 40px; line-height: 1.1; letter-spacing: -.02em; margin-top: 14px; }
.narrow { max-width: 1000px; }
.policy { padding: 56px 0 80px; }
.policy article { display: flex; flex-direction: column; gap: 14px; color: var(--ink-2); font-size: 16px; line-height: 1.7; overflow-wrap: anywhere; }
.policy h2 { font-size: 24px; margin-top: 22px; color: var(--ink); }
.policy h2:first-child { margin-top: 10px; }
.policy ul { display: flex; flex-direction: column; gap: 8px; margin: 0; padding-left: 22px; }
.ptable { display: flex; flex-direction: column; border: 1px solid var(--border); }
.ptable > div { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 8px; padding: 16px 18px; }
.ptable > div + div { border-top: 1px solid var(--border); }
.ptable > div > div:first-child { color: var(--muted); }

/* ≤1000px */
@media (max-width: 1000px) {
  .h2, .pay h2 { font-size: 26px; }
  .hero h1 { font-size: 34px; line-height: 1.08; }
  .tab-pane h3, .map h3, .cat-head h3, .crumbs h1 { font-size: 20px; }
  .crumbs h1 { font-size: 28px; }
  .lead-p { font-size: 15px; line-height: 1.55; }
  .eyebrow { font-size: 11px; }
  .main-nav, .hcta { display: none; }
  .burger { display: inline-flex; }
  .hrow { padding: 10px 24px; gap: 10px; }
  .hright { gap: 10px; margin-left: auto; }
  .logo-city { display: none; }
  .logo-name { font-size: 17px; }
  .hphone { font-size: 14px; }
  .hero { min-height: 460px; }
  .hero-in { padding: 96px 24px 40px; }
  .hero-sub { font-size: 16px; }
  .hero-btns .btn { font-size: 15px; padding: 15px 20px; }
  .sec { padding: 48px 0; }
  .pay { padding: 44px 0; }
  .facts-in { padding: 28px 24px; gap: 24px; }
  .fact-num { font-size: 26px; }
  .about-grid { gap: 32px; }
  .contact-grid { gap: 28px; }
  .about-grid, .contact-grid, .tab-pane, .mf-grid { grid-template-columns: minmax(0, 1fr); }
  .collage { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .collage::-webkit-scrollbar { display: none; }
  .collage img, .collage img:first-child { flex: 0 0 88%; height: 230px; scroll-snap-align: start; }
  .dots { display: flex; }
  .tabs { gap: 18px; margin: 24px 0 22px; overflow-x: auto; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { font-size: 15px; white-space: nowrap; }
  .tab-pane { gap: 24px; }
  .tab-pane img { height: 240px; }
  .rows b { flex-basis: 96px; font-size: 14px; }
  .rows span { font-size: 15px; }
  .map { margin-top: 40px; }
  .map iframe { height: 320px; }
  .stats { display: flex; flex-direction: column; gap: 0; margin-top: 28px; padding-top: 20px; }
  .stats > div { display: flex; align-items: baseline; gap: 12px; padding: 12px 0; border-top: 1px solid var(--border); }
  .stats > div:first-child { border-top: 0; padding-top: 0; }
  .stat-n { font-size: 24px; flex: 0 0 auto; min-width: 34px; }
  .stat-t { margin-top: 0; }
  .modes, .only-desk { display: none !important; }
  .pane { margin-top: 28px; padding-top: 28px; }
  .fsep { display: none; }
  .filters .flabel:not(:first-child) { flex-basis: 100%; margin-top: 4px; }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .plan { --ph: 300px; height: 320px; padding: 10px; }
  .pay-cta { padding: 22px; }
  .form-card { padding: 24px 18px; }
  .modal-flat, .modal-lead { padding: 22px 18px; }
  .overlay { padding: 12px; }
  .mf-h { font-size: 24px; }
  .mf-price { font-size: 26px; }
  .mf-plan { min-height: 240px; }
  .mf-plan-img { height: 42vh; }
  .contact-info a { font-size: 24px; }
  .policy { padding: 32px 0 48px; }
  .policy h2 { font-size: 20px; }
}
@media (max-width: 420px) {
  .hrow { padding: 10px 16px; }
  .wrap, .hero-in { padding-left: 16px; padding-right: 16px; }
  .facts-in { padding: 28px 16px; }
  .logo-name { font-size: 15px; }
  .hphone { font-size: 13px; }
}
