/* ============================================================
   Александр Игралов — риелтор | игралов.рф
   Дизайн-система: светлый премиум, графит + изумруд
   ============================================================ */

:root {
  --bg: #f6f5f1;
  --surface: #ffffff;
  --ink: #20242a;
  --muted: #5f6872;
  --accent: #0e6e52;
  --accent-dark: #0a5741;
  --accent-soft: #e8f2ee;
  --line: #e6e3dc;
  --dark: #171b20;
  --dark-2: #20252c;
  --star: #e8a13c;
  --danger: #b3382c;
  --danger-soft: #f9ecea;
  --amber: #9a6b1f;
  --amber-soft: #f7f0e0;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(23,27,32,.05), 0 8px 24px rgba(23,27,32,.08);
  --shadow-lg: 0 12px 40px rgba(23,27,32,.16);
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(30px, 4.6vw, 52px); }
h2 { font-size: clamp(24px, 3vw, 36px); }
h3 { font-size: 20px; }
p { margin: 0 0 1em; }

.page { display: flex; flex-direction: column; min-height: 100vh; }
.main { flex: 1 0 auto; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: var(--radius-sm);
  background: var(--accent); color: #fff;
  font-weight: 700; font-size: 15px; line-height: 1.2;
  border: 2px solid var(--accent); cursor: pointer;
  transition: background .15s, border-color .15s, transform .1s, box-shadow .15s;
  text-decoration: none; white-space: nowrap;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn--lg { padding: 16px 30px; font-size: 16px; }
.btn--sm { padding: 9px 16px; font-size: 14px; }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--outline:hover { background: #fff; border-color: var(--muted); color: var(--ink); }
.btn--dark { background: var(--dark); border-color: var(--dark); }
.btn--dark:hover { background: #000; border-color: #000; }
.btn--light { background: #fff; border-color: #fff; color: var(--dark); }
.btn--light:hover { background: var(--accent-soft); border-color: var(--accent-soft); color: var(--accent-dark); }
.btn--ghost { background: transparent; border-color: rgba(255,255,255,.35); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.6); color: #fff; }
.btn--block { width: 100%; }

/* ---------- шапка ---------- */
.header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header__top { background: var(--dark); color: #c8cdd3; font-size: 13px; }
.header__top-in { display: flex; justify-content: space-between; align-items: center; min-height: 34px; gap: 12px; }
.header__geo { display: flex; gap: 8px; }
.geo-chip { background: rgba(255,255,255,.08); color: #e8eaed; padding: 2px 10px; border-radius: 999px; }
.header__top-right { display: flex; gap: 16px; align-items: center; }
.header__hours { color: #9aa1a9; }
.header__tg { color: #c8cdd3; }
.header__tg:hover { color: #fff; }
.header__main-in { display: flex; align-items: center; gap: 22px; min-height: 74px; }
.logo { display: flex; align-items: center; gap: 11px; color: var(--ink); flex-shrink: 0; }
.logo:hover { color: var(--ink); }
.logo__mark {
  width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.logo__text { display: flex; flex-direction: column; line-height: 1.15; }
.logo__name { font-weight: 800; font-size: 17px; }
.logo__sub { font-size: 12px; color: var(--muted); }
.logo--light { color: #fff; }
.logo--light .logo__sub { color: #9aa1a9; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; flex-wrap: wrap; }
.nav__link {
  color: var(--ink); font-size: 15px; font-weight: 600; padding: 8px 11px; border-radius: 8px;
}
.nav__link:hover { color: var(--accent); background: var(--accent-soft); }
.nav__link.is-active { color: var(--accent); }
.nav__cta { margin-left: 6px; }
.header__phone { margin-left: auto; font-weight: 800; font-size: 16px; color: var(--ink); white-space: nowrap; }
.header__phone:hover { color: var(--accent); }
.burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; margin-left: auto; }
.burger span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: .2s; }

/* ---------- хлебные крошки ---------- */
.breadcrumbs { background: var(--surface); border-bottom: 1px solid var(--line); font-size: 13.5px; padding: 10px 0; color: var(--muted); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs__sep { margin: 0 8px; color: #b9b5ac; }
.breadcrumbs__cur { color: var(--ink); }

/* ---------- флеш-сообщения ---------- */
.flash { padding: 13px 18px; border-radius: var(--radius-sm); margin: 18px 0 -4px; font-weight: 600; }
.flash--ok { background: var(--accent-soft); color: var(--accent-dark); border: 1px solid #cde5db; }
.flash--err { background: var(--danger-soft); color: var(--danger); border: 1px solid #f0cfc9; }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--dark); color: #fff; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; background: linear-gradient(105deg, rgba(15,18,22,.92) 0%, rgba(15,18,22,.72) 45%, rgba(15,18,22,.38) 100%); }
.hero__bg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.hero__in { position: relative; padding: 84px 0 76px; max-width: 1200px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: #9fd4c2; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 18px; }
.hero__eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); border-radius: 2px; }
.hero h1 { max-width: 760px; margin-bottom: 18px; }
.hero__sub { max-width: 620px; font-size: 18px; color: #c9ced5; margin-bottom: 30px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 38px; }
.hero__facts { display: flex; gap: 26px; flex-wrap: wrap; color: #aeb4bc; font-size: 14.5px; }
.hero__facts b { display: block; color: #fff; font-size: 22px; font-weight: 800; }
.searchbar { background: var(--surface); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow-lg); display: flex; gap: 10px; align-items: stretch; flex-wrap: wrap; }
.searchbar .field { margin: 0; min-width: 170px; flex: 1; }
.searchbar .btn { flex-shrink: 0; }
.searchbar__label { font-size: 12.5px; color: var(--muted); font-weight: 600; margin-bottom: 4px; display: block; }

/* ---------- секции ---------- */
.section { padding: 64px 0; }
.section--surface { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--dark { background: var(--dark); color: #fff; }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 34px; flex-wrap: wrap; }
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; display: block; }
.section__head h2 { margin-bottom: 0; }
.section__lead { color: var(--muted); max-width: 640px; font-size: 17px; }
.section--dark .section__lead { color: #aeb4bc; }
.section__link { font-weight: 700; font-size: 15px; }

/* ---------- сетки ---------- */
.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- карточка объекта ---------- */
.ocard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .18s, transform .18s; }
.ocard:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.ocard__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #e8e6e0; }
.ocard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.ocard:hover .ocard__media img { transform: scale(1.05); }
.ocard__badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.badge { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.badge--new { background: var(--accent-soft); color: var(--accent-dark); }
.badge--secondary { background: rgba(255,255,255,.92); color: var(--ink); }
.badge--sold { background: #4a4f56; color: #fff; }
.badge--reserved { background: var(--amber-soft); color: var(--amber); }
.ocard__body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.ocard__price { font-size: 20px; font-weight: 800; }
.ocard__price-m2 { color: var(--muted); font-size: 13.5px; margin-left: 8px; font-weight: 500; }
.ocard__title { margin: 6px 0 4px; font-size: 16.5px; }
.ocard__title a { color: var(--ink); }
.ocard__title a:hover { color: var(--accent); }
.ocard__addr { color: var(--muted); font-size: 13.5px; margin-bottom: 12px; }
.ocard__params { display: flex; gap: 14px; color: var(--muted); font-size: 13.5px; margin-bottom: 14px; flex-wrap: wrap; }
.ocard__params span { display: inline-flex; align-items: center; gap: 5px; }
.ocard__params svg { opacity: .65; flex-shrink: 0; }
.ocard__foot { margin-top: auto; display: flex; gap: 10px; }

/* ---------- направления ---------- */
.dir-card { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 320px; display: flex; align-items: flex-end; color: #fff; }
.dir-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dir-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,18,22,0) 30%, rgba(15,18,22,.88) 100%); }
.dir-card__in { position: relative; z-index: 1; padding: 28px; }
.dir-card h3 { font-size: 24px; margin-bottom: 8px; }
.dir-card p { color: #d5dae0; font-size: 15px; max-width: 420px; margin-bottom: 16px; }
.dir-card__tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.dir-card .tag { background: rgba(255,255,255,.14); color: #fff; font-size: 12.5px; padding: 4px 11px; border-radius: 999px; font-weight: 600; }

/* ---------- шаги ---------- */
.steps { counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; position: relative; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-size: 40px; font-weight: 800; color: var(--accent-soft); position: absolute; top: 18px; right: 20px; }
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* ---------- отзывы ---------- */
.review { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; }
.review__stars { color: var(--star); letter-spacing: 2px; margin-bottom: 10px; font-size: 15px; }
.review__text { font-size: 15px; margin-bottom: 14px; flex: 1; }
.review__author { font-weight: 700; font-size: 14.5px; }
.review__date { color: var(--muted); font-size: 12.5px; }

/* ---------- блог ---------- */
.bcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .18s, transform .18s; }
.bcard:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.bcard__media { aspect-ratio: 16 / 9; background: #e8e6e0; }
.bcard__media img { width: 100%; height: 100%; object-fit: cover; }
.bcard__body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.bcard__title { font-size: 17px; margin-bottom: 8px; }
.bcard__title a { color: var(--ink); }
.bcard__title a:hover { color: var(--accent); }
.bcard__excerpt { color: var(--muted); font-size: 14px; flex: 1; margin-bottom: 12px; }
.bcard__more { font-weight: 700; font-size: 14px; }

/* ---------- калькулятор-тизер ---------- */
.calc-teaser { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.calc-teaser__result { background: var(--dark-2); border-radius: var(--radius); padding: 26px; }
.calc-teaser__result .field { margin-bottom: 12px; }
.calc-teaser__result label { color: #9aa1a9; }
.calc-teaser__payment { font-size: 15px; color: #aeb4bc; margin-top: 14px; }
.calc-teaser__payment b { font-size: 30px; color: #fff; display: block; }

/* ---------- CTA / форма ---------- */
.cta { background: linear-gradient(120deg, var(--accent-dark), var(--accent)); color: #fff; border-radius: 18px; padding: 44px 40px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 36px; align-items: center; }
.cta h2 { margin-bottom: 10px; }
.cta p { color: #cfe7dd; margin-bottom: 0; }
.cta__side { background: var(--surface); border-radius: var(--radius); padding: 22px; color: var(--ink); }
.cta__side .form-title { font-weight: 800; font-size: 18px; margin-bottom: 14px; }

.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 5px; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 13px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font: inherit; font-size: 15px; color: var(--ink); background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(14,110,82,.13); }
.field textarea { min-height: 90px; resize: vertical; }
.field--hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-note { font-size: 12.5px; color: var(--muted); margin-top: 10px; }
.form-note a { color: var(--muted); text-decoration: underline; }

/* ---------- футер ---------- */
.footer { background: var(--dark); color: #aeb4bc; padding: 56px 0 0; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 34px; padding-bottom: 40px; }
.footer__about { font-size: 14px; margin: 14px 0 16px; max-width: 300px; }
.footer__title { color: #fff; font-weight: 700; font-size: 15px; margin-bottom: 14px; }
.footer__list { list-style: none; margin: 0; padding: 0; }
.footer__list li { margin-bottom: 9px; font-size: 14.5px; }
.footer__list a { color: #aeb4bc; }
.footer__list a:hover { color: #fff; }
.footer__social { display: flex; gap: 8px; }
.chip--light { background: rgba(255,255,255,.08); color: #dde1e6; padding: 6px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600; }
.chip--light:hover { background: rgba(255,255,255,.16); color: #fff; }
.footer__phone { font-size: 18px; font-weight: 800; color: #fff !important; }
.footer__cta { margin-top: 10px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.09); padding: 18px 0 22px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 13px; color: #7d848d; }
.footer__legal a { color: #7d848d; text-decoration: underline; }
.footer__legal a:hover { color: #fff; }

/* ---------- пагинация ---------- */
.pagination { display: flex; gap: 8px; justify-content: center; margin: 38px 0 8px; flex-wrap: wrap; }
.pagination__page { min-width: 40px; height: 40px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); font-weight: 700; font-size: 14.5px; color: var(--ink); }
.pagination__page:hover { border-color: var(--accent); color: var(--accent); }
.pagination__page.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }
.pagination__dots { align-self: center; color: var(--muted); }

/* ---------- страницы ---------- */
.page-head { background: var(--surface); border-bottom: 1px solid var(--line); padding: 40px 0 30px; }
.page-head h1 { margin-bottom: 10px; }
.page-head__lead { color: var(--muted); font-size: 17px; max-width: 720px; margin: 0; }
.page-body { padding: 44px 0 60px; }
.prose { max-width: 800px; }
.prose h2 { font-size: 24px; margin-top: 34px; }
.prose h3 { font-size: 19px; margin-top: 26px; }
.prose p { font-size: 16.5px; color: #33383f; }
.prose ul, .prose ol { padding-left: 22px; color: #33383f; }
.prose li { margin-bottom: 8px; }
.prose img { border-radius: var(--radius); margin: 18px 0; }

/* ---------- каталог ---------- */
.catalog { display: grid; grid-template-columns: 290px 1fr; gap: 26px; align-items: start; }
.filters { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; position: sticky; top: 130px; }
.filters__title { font-weight: 800; font-size: 17px; margin-bottom: 16px; display: flex; justify-content: space-between; align-items: center; }
.filters__reset { font-size: 13px; font-weight: 600; color: var(--muted); }
.filters__reset:hover { color: var(--accent); }
.filters__group { margin-bottom: 18px; }
.filters__group-title { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 10px; }
.radio-row { display: flex; align-items: center; gap: 9px; padding: 6px 0; font-size: 14.5px; cursor: pointer; }
.radio-row input { width: 17px; height: 17px; accent-color: var(--accent); cursor: pointer; }
.catalog__top { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 20px; flex-wrap: wrap; }
.catalog__count { color: var(--muted); font-size: 15px; }
.catalog__sort { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.catalog__sort select { padding: 8px 10px; border: 1.5px solid var(--line); border-radius: 8px; font: inherit; background: #fff; }
.catalog__empty { background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); padding: 60px 30px; text-align: center; color: var(--muted); }
.catalog__seo { margin-top: 44px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 30px; color: var(--muted); font-size: 14.5px; }

/* ---------- карточка объекта ---------- */
.object { display: grid; grid-template-columns: 1fr 380px; gap: 28px; align-items: start; }
.gallery { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.gallery__main { aspect-ratio: 16 / 10; background: #e8e6e0; }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs { display: flex; gap: 8px; padding: 10px; flex-wrap: wrap; }
.gallery__thumb { width: 86px; height: 64px; border-radius: 8px; overflow: hidden; cursor: pointer; opacity: .65; border: 2px solid transparent; transition: .15s; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb.is-active, .gallery__thumb:hover { opacity: 1; border-color: var(--accent); }
.object__title { font-size: 26px; margin-bottom: 6px; }
.object__addr { color: var(--muted); margin-bottom: 16px; font-size: 15.5px; }
.object__price { font-size: 30px; font-weight: 800; margin-bottom: 4px; }
.object__price-m2 { color: var(--muted); margin-bottom: 20px; }
.specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 22px 0 26px; }
.spec { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 13px 12px; text-align: center; }
.spec__val { font-weight: 800; font-size: 16.5px; }
.spec__name { color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.sidecard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: sticky; top: 130px; }
.sidecard__title { font-weight: 800; font-size: 18px; margin-bottom: 6px; }
.sidecard__sub { color: var(--muted); font-size: 13.5px; margin-bottom: 16px; }
.sidecard .btn { margin-bottom: 10px; }
.sidecard__phone { text-align: center; font-weight: 800; font-size: 18px; display: block; margin-top: 8px; }
.pros { margin: 26px 0; display: flex; flex-direction: column; gap: 10px; }
.pros li { display: flex; gap: 10px; font-size: 15px; }
.pros li::before { content: "✓"; color: var(--accent); font-weight: 800; }
.meta-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.meta-table td { padding: 9px 10px; border-bottom: 1px solid var(--line); }
.meta-table td:first-child { color: var(--muted); width: 45%; }
.meta-table tr:last-child td { border-bottom: 0; }
.object__section { margin-top: 30px; }
.object__section h2 { font-size: 22px; margin-bottom: 14px; }

/* ---------- отзывы-страница ---------- */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review-form-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; margin-top: 40px; max-width: 640px; }
.rating-input { display: flex; gap: 6px; font-size: 26px; margin-bottom: 12px; }
.rating-input button { background: none; border: 0; cursor: pointer; color: #d8d4ca; font-size: 26px; padding: 0 2px; }
.rating-input button.on { color: var(--star); }

/* ---------- калькулятор ---------- */
.calc-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }
.calc-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.calc-out { background: var(--dark); color: #fff; border-radius: var(--radius); padding: 28px; }
.calc-out__row { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.09); font-size: 15px; }
.calc-out__row:last-child { border-bottom: 0; }
.calc-out__row b { color: #fff; }
.calc-out__payment { font-size: 15px; color: #aeb4bc; margin-bottom: 4px; }
.calc-out__payment b { font-size: 34px; display: block; color: #fff; line-height: 1.15; }
.calc-out__note { color: #7d848d; font-size: 12.5px; margin-top: 14px; }
.calc-table { margin-top: 34px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; overflow-x: auto; }
.calc-table table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 620px; }
.calc-table th { text-align: left; padding: 8px 10px; color: var(--muted); font-weight: 700; border-bottom: 2px solid var(--line); }
.calc-table td { padding: 8px 10px; border-bottom: 1px solid var(--line); }

/* ---------- range slider ---------- */
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 999px; background: var(--line); outline: none; padding: 0; border: 0; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: var(--accent); cursor: pointer; border: 3px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.25); }
input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--accent); cursor: pointer; border: 3px solid #fff; }
.range-row { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--muted); margin-bottom: 4px; }
.range-val { font-weight: 800; color: var(--ink); }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: 90px 20px; }
.notfound__code { font-size: 90px; font-weight: 800; color: var(--accent-soft); line-height: 1; }
.notfound h1 { font-size: 30px; }
.notfound p { color: var(--muted); margin-bottom: 24px; }

/* ---------- куки-баннер ---------- */
.cookie-banner { position: fixed; left: 20px; right: 20px; bottom: 20px; max-width: 760px; margin: 0 auto; background: var(--dark); color: #c9ced5; border-radius: var(--radius); padding: 16px 18px; display: flex; gap: 16px; align-items: center; box-shadow: var(--shadow-lg); z-index: 90; font-size: 14px; }
.cookie-banner a { color: #fff; text-decoration: underline; }
.cookie-banner .btn { flex-shrink: 0; }

/* ---------- адаптив ---------- */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3, .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .catalog { grid-template-columns: 1fr; }
  .filters { position: static; }
  .object { grid-template-columns: 1fr; }
  .sidecard { position: static; }
  .calc-wrap, .calc-teaser, .cta { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--surface); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 12px 20px 20px; gap: 2px; box-shadow: var(--shadow); }
  .nav.is-open { display: flex; }
  .nav__link { padding: 12px 10px; font-size: 16px; }
  .nav__cta { margin: 10px 0 0; justify-content: center; }
  .burger { display: block; }
  .header__phone { display: none; }
  .specs { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid--3, .grid--2, .grid--4, .reviews-grid { grid-template-columns: 1fr; }
  .hero__in { padding: 52px 0 48px; }
  .hero__facts { gap: 16px; }
  .section { padding: 44px 0; }
  .footer__grid { grid-template-columns: 1fr; gap: 26px; }
  .cookie-banner { flex-direction: column; align-items: stretch; text-align: center; }
  .object__price { font-size: 25px; }
  .header__top-right .header__hours { display: none; }
}
