@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700;800&display=swap');

:root {
  --ink: #1c1c1c;
  --ink-soft: #3a3a3a;
  --muted: #6b6b6b;
  --line: #e4e0d8;
  --line-strong: #d2cdc3;
  --paper: #ffffff;
  --bg: #f4f1ea;
  --card: #ffffff;
  --yellow: #fdb913;
  --yellow-deep: #e3a400;
  --yellow-soft: #fff4cc;
  --pine: #006a44;
  --brick: #222222;
  --brick-deep: #111111;
  --navy: var(--ink);
  --cta: #1a1a1a;
  --cta-hover: #000;
  --mint: var(--pine);
  --search: var(--ink);
  --blue: #0b4f86;
  --mint-soft: #e7f3ec;
  --bg-soft: #f7f4ee;
  --display: 'Open Sans', 'Segoe UI', Arial, sans-serif;
  --sans: 'Open Sans', 'Segoe UI', Arial, sans-serif;
  --radius: 8px;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 8px 24px rgba(0, 0, 0, 0.04);
  --page-gutter: 32px;
  --page-max: 1180px;
  --page-width: min(var(--page-max), calc(100% - var(--page-gutter)));
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
  background: var(--bg);
  color: var(--ink);
}
main { flex: 1 0 auto; width: 100%; }
#site-footer { margin-top: auto; width: 100%; }
body.nav-open { overflow: hidden; }
#site-header { z-index: 80; position: sticky; top: 0; }
a { color: var(--blue); }
img { max-width: 100%; display: block; }
h1, h2, h3, .offer-title { font-family: var(--sans); font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }

.wrap, .site-header-inner, .cat-bar-inner {
  width: var(--page-width);
  margin: 0 auto;
}

.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
}
.site-header-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.site-brand-cluster { display: flex; align-items: center; gap: 10px; min-width: 0; }
.site-brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--ink); min-width: 0;
}
.site-brand-mark { width: 36px; height: 36px; flex-shrink: 0; }
.site-brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.site-brand-name {
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.04em;
  color: #1a1a1a;
}
.site-brand-sub {
  margin-top: 2px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--muted);
}
.ee-badge, .lt-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 8px;
  background: var(--bg-soft); color: var(--ink-soft);
  border-radius: 99px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.04em;
}
.ee-flag, .lt-flag { width: 16px; height: 11px; display: block; border-radius: 1px; }
.desk-nav { display: flex; align-items: center; gap: 2px; margin-left: 8px; }
.desk-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 14px; font-weight: 600;
  padding: 8px 10px;
  border-radius: 8px;
}
.desk-nav a:hover { background: var(--bg-soft); color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav-toggle {
  display: none; appearance: none; border: 1px solid var(--line-strong);
  background: #fff; color: var(--ink); border-radius: 8px;
  font: inherit; font-weight: 700; cursor: pointer;
  align-items: center; gap: 6px; padding: 6px 10px;
}
.nav-ico, .cat-ico { width: 18px; height: 18px; }

.cat-bar { background: #fff; border-bottom: 1px solid var(--line); }
.cat-bar-inner {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
}
.cat-bar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  min-height: 84px; padding: 10px 6px;
  text-decoration: none; color: #3a3a3a;
  font-size: 12px; font-weight: 700; line-height: 1.2; text-align: center;
  border-bottom: 3px solid transparent;
}
.cat-bar .cat-ico { width: 26px; height: 26px; }
.cat-bar a:hover { color: var(--ink); background: var(--bg-soft); }
.cat-bar a.is-on { color: var(--ink); border-bottom-color: var(--yellow); background: transparent; }
.cat-bar .cat-ico { color: #3a3428; }
.cat-bar-inner { scrollbar-width: none; }
.cat-bar-inner::-webkit-scrollbar { display: none; }

.finder {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 28px 0 18px;
}
.finder h1, .board-hero h1 {
  margin: 6px 0 8px;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.15;
  max-width: 22ch;
  font-weight: 800;
}
.finder h1 em, .board-hero h1 em { font-style: normal; color: var(--ink); }
.kicker, .tiny {
  margin: 0;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--muted);
}
.lede, .board-hero .lede, .finder .lede { max-width: 40rem; color: var(--ink-soft); margin: 0 0 16px; font-size: 15px; }

.kv-search-wrap {
  width: var(--page-width);
  margin: 16px auto 0;
}
.kv-search.wrap { width: 100%; }
.kv-search {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) 148px;
  gap: 8px 10px;
  align-items: end;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
}
.finder .kv-search { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07); }
.kv-search-top, .kv-search-bottom { display: contents; }
.kv-search-top > .kv-field:nth-child(1) { grid-column: 1; grid-row: 1; }
.kv-search-top > .kv-field:nth-child(2) { grid-column: 2; grid-row: 1; }
.kv-checks { grid-column: 1 / 3; grid-row: 3; min-height: 0; min-width: 0; }
.kv-search-extra { grid-column: 1 / -1; grid-row: 2; min-width: 0; }
.kv-advanced { grid-column: 3; grid-row: 3; justify-self: end; align-self: center; margin-left: 0; }
.kv-search .btn-otsi { grid-column: 3; grid-row: 1; align-self: end; width: 100%; height: 48px; }
.kv-field { display: grid; gap: 4px; position: relative; }
.kv-field > label { font-size: 11px; font-weight: 700; color: var(--muted); }
.kv-field input {
  width: 100%; height: 48px; border: 1px solid #d0d0d0;
  background: #fff; padding: 0 14px; font: inherit; font-weight: 600; border-radius: 8px; color: var(--ink);
}
.kv-field input:focus { outline: 2px solid var(--yellow); border-color: #e6b800; }
.kv-field.is-open input { outline: 2px solid var(--yellow); }
.kv-checks { display: flex; gap: 14px; align-items: center; min-height: 48px; font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.kv-checks label { display: flex; gap: 6px; align-items: center; }
.kv-search-bottom { display: contents; }
.kv-search-extra, .kv-search .search-popular {
  display: flex; flex-wrap: nowrap; gap: 8px; align-items: center; font-size: 13px;
  overflow-x: auto; scrollbar-width: none;
}
.kv-search-extra::-webkit-scrollbar, .kv-search .search-popular::-webkit-scrollbar { display: none; }
.kv-search-extra a, .kv-search .search-popular a {
  flex: 0 0 auto;
  text-decoration: none; background: var(--bg-soft); color: var(--ink-soft); padding: 5px 10px; font-weight: 600; border-radius: 99px;
}
.kv-search-extra a:hover, .kv-search .search-popular a:hover { background: var(--yellow-soft); color: var(--ink); }
.kv-search-extra .quick-sep { display: none; }
.kv-search-extra > span:first-child { font-size: 12px; font-weight: 700; color: var(--muted); margin-right: 2px; }
.kv-advanced { font-size: 13px; font-weight: 700; color: var(--blue); text-decoration: none; white-space: nowrap; }
.btn, .btn-otsi, .btn-primary, .btn-secondary, .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 18px;
  border: 0; border-radius: 8px;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
}
.btn-otsi, .btn-primary { background: var(--yellow); color: #1a1a1a; }
.btn-otsi:hover, .btn-primary:hover { background: var(--yellow-deep); color: #1a1a1a; }
.btn-secondary, .btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line-strong); }
.btn-secondary:hover, .btn-ghost:hover { background: var(--bg-soft); }

.search-suggest {
  position: absolute; z-index: 20; top: calc(100% + 6px); left: 0; right: 0;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  max-height: 280px; overflow: auto;
  box-shadow: 0 12px 32px rgba(0,0,0,.12);
}
.search-suggest[hidden] { display: none; }
.search-suggest-label, .search-suggest-empty { padding: 8px 12px; font-size: 12px; font-weight: 700; color: var(--muted); }
.search-suggest button, .search-suggest-more {
  display: block; width: 100%; text-align: left; background: #fff; border: 0;
  border-top: 1px solid var(--line); padding: 10px 12px; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; color: var(--ink);
}
.search-suggest button:hover, .search-suggest button.is-on { background: var(--yellow-soft); }
.search-suggest button small { display: block; color: var(--muted); font-weight: 600; }

.quick-strip { padding: 12px 0 0; color: var(--muted); font-size: 13px; font-weight: 600; }
.quick-strip a { text-decoration: none; color: var(--blue); }
.quick-strip a:hover { text-decoration: underline; }
.quick-line + .quick-line { margin-top: 4px; }
.quick-sep { margin: 0 8px; color: #ccc; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 18px auto 4px; }
.how-step, .step {
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 16px 16px 18px;
  box-shadow: 0 1px 2px rgba(0,0,0,.03);
}
.step b, .how-step b { display: block; font-size: 16px; margin-bottom: 4px; }
.step span, .how-step span { color: var(--muted); font-size: 14px; }

.home-board, .section { padding: 8px 0 22px; }
.home-main .offer-grid + .section-head { margin-top: 22px; }
.section-soft { background: transparent; }
.home-split { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; align-items: start; }
.section-head, .side-box-head {
  display: flex; justify-content: space-between; align-items: end; gap: 12px; margin-bottom: 12px;
}
.section-head h2, .side-box h3, .page-hero h1 { margin: 2px 0 0; font-size: 22px; line-height: 1.2; }
.page-hero h1 { font-size: 32px; }
.section-more { font-size: 13px; font-weight: 700; text-decoration: none; color: var(--blue); }
.section-more:hover { text-decoration: underline; }

.offer-grid, .offer-grid-4, .offer-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  background: transparent;
  border: 0;
}
.offer-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.offer-card {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none; color: inherit;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
  transition: box-shadow .15s ease, transform .15s ease;
}
.offer-card:hover { box-shadow: 0 10px 24px rgba(0,0,0,.08); transform: translateY(-2px); }
.offer-media { height: 132px; overflow: hidden; background: #eee; }
.offer-media img { width: 100%; height: 100%; object-fit: cover; }
.offer-body { padding: 10px 12px 12px; }
.offer-price { margin: 0 0 2px; font-weight: 800; color: #1a1a1a; font-size: 15px; font-variant-numeric: tabular-nums; }
.offer-price.is-code { font-size: 13px; font-weight: 700; color: var(--ink-soft); }
.offer-title { margin: 0; font-size: 15px; font-weight: 700; line-height: 1.3; overflow-wrap: break-word; }
.offer-phone {
  margin: 6px 0 0;
  font-size: 15px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
  white-space: nowrap;
  color: var(--ink);
}
.offer-loc, .muted { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.offer-flags { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; }
.stamp {
  display: inline-flex; align-items: center;
  padding: 2px 6px; border: 1px solid var(--line-strong);
  border-radius: 2px; font-size: 11px; font-weight: 700;
  letter-spacing: 0.03em; color: var(--ink-soft); background: var(--bg-soft);
}
.stamp-ok { color: var(--pine); border-color: #b7d7c6; background: #eef6f1; }
.offer-card.is-dir {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
}
.offer-card.is-dir .offer-media { height: 100%; min-height: 112px; }
.object-row h3 a { color: inherit; text-decoration: none; }
.object-media { display: block; }
.row-phone, .row-code { font-weight: 800; text-decoration: none; color: var(--ink); }
.row-code { color: var(--blue); font-weight: 700; }
.row-reach { display: none; gap: 10px; flex-wrap: wrap; margin: 4px 0; }
.object-stat .row-phone { color: var(--ink); }

.home-aside { display: grid; gap: 12px; }
.side-stats {
  display: grid; grid-template-columns: 1fr;
  background: #fff; color: var(--ink); padding: 6px 14px;
  border: 1px solid var(--line); border-radius: 12px;
  border-top: 3px solid var(--yellow);
}
.side-stats div { display: flex; justify-content: space-between; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.side-stats div:last-child { border-bottom: 0; }
.side-stats b { font-size: 20px; color: var(--ink); }
.side-stats span { font-size: 13px; color: var(--muted); align-self: center; }
.side-box { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.side-news-row, .news-row { display: grid; gap: 2px; padding: 8px 0; border-top: 1px solid var(--line); text-decoration: none; color: inherit; }
.news-kicker { font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--blue); }
.news-title { font-weight: 700; color: var(--ink); }
.side-prices { display: grid; gap: 0; }
.side-price { display: flex; justify-content: space-between; gap: 8px; text-decoration: none; padding: 8px 0; border-top: 1px solid var(--line); color: inherit; }
.side-price span { font-weight: 800; color: var(--ink); }
.side-price small { color: var(--muted); }
.side-actions { display: grid; gap: 8px; }
.side-actions .btn { width: 100%; }

.city-strip, .pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.city-chip, .pill {
  display: inline-flex; align-items: center; gap: 6px;
  text-decoration: none;
  background: #fff; border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--ink);
  font-weight: 600;
}
.city-chip { display: grid; border-radius: 12px; min-width: 160px; padding: 14px; }
.city-chip strong { font-size: 16px; }
.city-chip small { color: var(--muted); font-weight: 600; }
.city-chip:hover, .pill:hover, .guide-card:hover { border-color: #f0d56a; box-shadow: 0 6px 16px rgba(0,0,0,.06); }

.seo-band { background: #fff; color: var(--ink); padding: 28px 0 36px; border-top: 1px solid var(--line); }
.seo-band a { color: var(--blue); font-weight: 600; }
.seo-intro h2 { margin-top: 0; font-size: 22px; }
.seo-intro p { color: var(--ink-soft); max-width: 62rem; }
.seo-map, .seo-combos { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.seo-combos { margin-top: 8px; }
.seo-map h3, .seo-combos h3 { margin: 8px 0; font-size: 15px; }
.seo-map-list { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px 14px; }
.seo-map-list li { border: 0; }
.seo-map-list a { display: inline; padding: 0; text-decoration: none; }
.seo-map-list a:hover { text-decoration: underline; }
.listing-seo { margin-top: 8px; }
.listing-seo h2 { font-size: 20px; margin: 0 0 8px; }
.listing-seo p { color: var(--ink-soft); max-width: 62rem; }
.listing-seo ul { margin: 8px 0 0; padding-left: 1.2em; color: var(--ink-soft); }
.listing-seo a { font-weight: 600; }

.site-footer { background: #fff; color: #3a3a3a; padding: 28px 0 18px; border-top: 4px solid var(--yellow); }
.footer-inner, .footer-navs { display: grid; grid-template-columns: 1.2fr 2.2fr; gap: 24px; }
.footer-navs { grid-template-columns: repeat(4, 1fr); }
.footer-brand { display: flex; align-items: center; gap: 8px; text-decoration: none; font-size: 22px; font-weight: 800; color: #1a1a1a; }
.footer-lead, .footer-note, .footer-copy { color: var(--muted); font-size: 13px; }
.footer-col h4 { margin: 0 0 8px; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: #1a1a1a; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col a { text-decoration: none; display: inline-block; padding: 3px 0; color: #444; font-weight: 600; }
.footer-col a:hover { color: var(--blue); }
.footer-bottom { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 12px; }
.footer-join { font-weight: 700; color: var(--ink); }
.footer .lt-badge, .site-footer .lt-badge { background: var(--bg-soft); color: var(--ink); }

.page-hero { padding: 22px 0 28px; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.crumbs a { color: var(--blue); font-weight: 600; text-decoration: none; }
.listing-page {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  column-gap: 20px;
  row-gap: 14px;
  align-items: start;
  padding: 8px 0 40px;
}
.listing-page > .crumbs,
.listing-page > .results-bar,
.listing-page > .pill-row,
.listing-page > p,
.listing-page > .seo-band,
.listing-page > section { grid-column: 1 / -1; }
.listing-page > .listing-aside { grid-column: 1; grid-row: auto; }
.listing-page > .company-list { grid-column: 2; min-width: 0; }
.listing-shell, .profile-grid, .guide-layout, .price-split, .contact-grid {
  display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 20px; padding-bottom: 32px;
}
.profile-grid { grid-template-columns: minmax(0, 1fr) 280px; }
.contact-grid { grid-template-columns: 1fr 1fr; }
.listing-aside, .filter-strip, .company-side {
  align-self: start;
  position: sticky;
  top: 88px;
  max-height: calc(100vh - 104px);
  overflow: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.filter-block { padding: 12px 12px 8px; }
.filter-block + .filter-block { border-top: 1px solid var(--line); }
.filter-block .tiny { margin-bottom: 6px; }
.filter-link, .trade-row, .nav-sub-link {
  display: flex; justify-content: space-between; align-items: baseline; gap: 8px;
  text-decoration: none; padding: 7px 8px; margin: 0 -4px;
  font-weight: 600; font-size: 14px; color: var(--ink-soft); border-radius: 8px;
}
.filter-link span, .dir-sub span { color: var(--muted); font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.filter-link:hover, .trade-row:hover, .nav-sub-link:hover { background: var(--bg-soft); color: var(--ink); }
.filter-link.is-on, .filter-pill.is-on {
  color: var(--ink); background: var(--yellow-soft); font-weight: 700;
}
.dir-sub {
  display: flex; justify-content: space-between; gap: 8px;
  text-decoration: none; padding: 4px 8px 4px 16px; margin: 0 -4px;
  font-size: 13px; color: var(--muted); font-weight: 600; border-radius: 8px;
}
.dir-sub:hover { color: var(--ink); background: var(--bg-soft); }
.dir-sub.is-on { color: var(--ink); font-weight: 800; background: var(--yellow-soft); }
.results-bar, .listing-top { display: flex; justify-content: space-between; gap: 12px; align-items: end; margin-bottom: 4px; }
.results-bar h1, .listing-top h1 { margin: 0; font-size: 26px; }
.found, .listing-count { font-weight: 700; color: var(--muted); margin: 0; }
.company-list { display: grid; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.object-row, .company-row, .listing-card {
  display: grid; grid-template-columns: 108px minmax(0, 1.5fr) 120px 150px 110px;
  gap: 12px; align-items: center;
  background: #fff; border: 0; border-bottom: 1px solid var(--line);
  padding: 12px; text-decoration: none; color: inherit; cursor: pointer;
}
.company-list .object-row:last-child, .listing-card:last-child { border-bottom: 0; }
.object-row:hover, .company-row:hover, .listing-card:hover { background: #fffdf2; }
.object-media, .listing-avatar { height: 76px; overflow: hidden; background: #eee; border-radius: 8px; }
.object-media img { width: 100%; height: 100%; object-fit: cover; }
.profile-top { display: flex; gap: 18px; align-items: flex-start; }
#p-photo { width: 148px; height: 148px; flex: 0 0 148px; border-radius: 16px; overflow: hidden; background: #eee; }
#p-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.object-head {
  display: grid;
  grid-template-columns: 108px minmax(0, 1.5fr) 120px 150px 110px;
  gap: 12px;
  padding: 10px 12px;
  background: #fafafa;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  border-bottom: 1px solid var(--line);
}
.object-head span:first-child { grid-column: 2; }
.object-desc h3 { margin: 0; font-size: 16px; font-weight: 700; color: var(--ink); }
.object-row:hover .object-desc h3 { color: var(--blue); }
.object-about {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.object-about, .object-amenity, .listing-meta { color: var(--muted); font-size: 13px; margin: 2px 0; }
.object-price b, .object-stat { font-weight: 700; color: var(--ink); }
.object-stat .muted { font-weight: 600; }
.company-list.is-one-city .object-row,
.company-list.is-one-city .object-head {
  grid-template-columns: 108px minmax(0, 1.5fr) 168px 120px;
}
.object-price small { display: block; color: var(--muted); font-weight: 600; font-size: 12px; }
.trade-board { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.trade-row {
  display: grid; grid-template-columns: 36px minmax(0, 1fr) auto;
  align-items: center; gap: 12px;
  padding: 14px 16px; margin: 0;
  border-radius: 0; border-bottom: 1px solid var(--line);
}
.trade-row:last-child { border-bottom: 0; }
.trade-row h3 { margin: 0; font-size: 16px; }
.trade-row p { margin: 2px 0 0; color: var(--muted); font-size: 13px; font-weight: 600; }
.trade-count { color: var(--ink); font-weight: 800; background: var(--yellow-soft); border-radius: 99px; padding: 4px 10px; }

.profile-hero, .article-hero { display: grid; grid-template-columns: 200px 1fr; gap: 16px; margin-bottom: 16px; }
.profile-hero-media, .article-cover { background: #eee; min-height: 140px; overflow: hidden; border-radius: 12px; }
.profile-hero-media img, .article-cover img { width: 100%; height: 100%; object-fit: cover; }
.badge, .badge-ghost {
  display: inline-flex; align-items: center;
  border: 1px solid var(--line-strong); border-radius: 99px; padding: 2px 8px; font-size: 11px; font-weight: 700;
  background: var(--bg-soft); color: var(--ink-soft);
}
.facts-table, .price-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; }
.facts-table th, .facts-table td, .price-table th, .price-table td {
  text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top;
}
.facts-table th { color: var(--muted); font-weight: 600; width: 38%; }
.panel, .card, .price-card, .contact-card, .why-card, .grant-card, .guide-card, .faq-item, .article {
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px;
}
.card-grid, .guide-grid, .why-grid, .grant-grid, .feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.guide-card h3, .why-card h3, .grant-card h3 { margin: 6px 0; font-size: 18px; }
.guide-card { text-decoration: none; color: inherit; display: block; }
.guide-card:hover { border-color: #e3a400; background: #fffdf6; }
.why-card:hover { background: #fff; }
.guide-featured {
  display: grid; grid-template-columns: 220px 1fr; gap: 16px;
  background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--yellow); border-radius: 12px;
  overflow: hidden; text-decoration: none; color: inherit; margin-bottom: 14px;
}
.guide-featured:not(:has(img)) { grid-template-columns: 1fr; }
.guide-featured img { width: 100%; height: 100%; object-fit: cover; min-height: 140px; }
.guide-featured-body { padding: 18px 20px; }
.guide-featured:has(img) .guide-featured-body { padding: 16px 16px 16px 0; }
.guide-featured h2 { margin: 6px 0; font-size: 26px; }
.faq-item + .faq-item { margin-top: 8px; }
.faq-item button {
  width: 100%; display: flex; justify-content: space-between; gap: 12px; align-items: center;
  background: transparent; border: 0; padding: 0; font: inherit; font-weight: 700; font-size: 16px;
  text-align: left; cursor: pointer; color: var(--ink);
}
.faq-item button span { color: var(--muted); font-size: 20px; line-height: 1; transition: transform .15s ease; }
.faq-item.is-open button span { transform: rotate(45deg); color: var(--ink); }
.faq-item p { display: none; color: var(--ink-soft); margin: 10px 0 0; }
.faq-item.is-open p { display: block; }
.faq-item h3, .faq-item summary { font-family: var(--sans); }
.price-calc { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
#price-table { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: auto; }
.price-table { min-width: 640px; }
.price-table tbody tr { cursor: pointer; }
.price-table tr.is-on td { background: var(--yellow-soft); }
.price-table td:nth-child(3),
.price-table td:nth-child(4) { white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 700; }
.price-unit-line { display: flex; align-items: baseline; gap: 8px; margin: 10px 0 0; }
.price-unit-line .tiny { margin: 0; }
.price-result-num { font-size: 36px; font-weight: 800; color: #1a1a1a; margin: 6px 0; }
.price-range { position: relative; height: 8px; background: #eee; border-radius: 99px; margin: 10px 0; }
.price-range b { display: block; height: 100%; width: 70%; background: var(--yellow); border-radius: 99px; }
.price-range i { position: absolute; top: -3px; width: 14px; height: 14px; border-radius: 50%; background: #1a1a1a; }
.article-page { max-width: 760px; }
.article { max-width: 760px; }
.article p { font-size: 16px; color: var(--ink-soft); }
.article h1 { color: var(--ink); }
.article-toc, .guide-toc { font-size: 14px; }
.cta-band, .doc-cta {
  background: var(--yellow-soft); border: 1px solid #f0e0a0; border-radius: 12px; padding: 18px; margin: 18px 0;
}
.how-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }

.doc-page { padding: 8px 0 56px; }
.doc-hero { padding: 22px 0 6px; }
.doc-hero h1, .doc-article h1 { font-size: 34px; line-height: 1.15; margin: 4px 0 10px; }
.doc-hero .lede { max-width: 44rem; font-size: 17px; }
.doc-meta { margin: 0 0 8px; color: var(--muted); font-size: 13px; font-weight: 700; }
.doc-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 16px 0 8px; }
.doc-fact {
  background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--yellow);
  border-radius: 12px; padding: 12px 14px; text-decoration: none; color: inherit;
}
a.doc-fact:hover { border-color: #e3a400; background: #fffdf6; }
.doc-fact b { display: block; font-size: 16px; margin-bottom: 2px; }
.doc-fact span { color: var(--muted); font-size: 13px; font-weight: 600; }
.doc-layout {
  display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 22px;
  align-items: start; margin-top: 16px;
}
.doc-side { position: sticky; top: 88px; }
.doc-toc {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 12px; display: flex; flex-direction: column; gap: 2px;
}
.doc-toc a {
  text-decoration: none; color: var(--ink-soft); font-weight: 700; font-size: 13px;
  padding: 7px 8px; border-radius: 8px;
}
.doc-toc a:hover, .doc-toc a.is-on { background: var(--yellow-soft); color: var(--ink); }
.article.doc-article { max-width: none; padding: 8px 26px 28px; }
.doc-article h2 {
  font-size: 22px; margin: 28px 0 10px; padding-bottom: 6px;
  border-bottom: 1px solid var(--line); scroll-margin-top: 84px;
}
.doc-article h3 { font-size: 17px; margin: 18px 0 6px; }
.doc-article p, .doc-article li { font-size: 16px; color: var(--ink-soft); }
.doc-article ul, .doc-article ol { margin: 8px 0 16px; padding-left: 1.2em; }
.doc-article li { margin: 6px 0; }
.doc-article a:not(.btn) { font-weight: 700; }
.doc-note, .doc-cta { margin: 16px 0; }
.doc-note p, .doc-cta p { margin: 0 0 8px; color: var(--ink); }
.doc-note p:last-child, .doc-cta p:last-child { margin-bottom: 0; }
.doc-table-wrap { overflow-x: auto; margin: 8px 0 16px; }
.doc-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14px; }
.doc-table th, .doc-table td {
  text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top;
}
.doc-table th {
  font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--muted); background: var(--bg-soft); font-weight: 700;
}
.doc-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.doc-links a {
  text-decoration: none; font-weight: 700; font-size: 13px; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: 99px; padding: 6px 12px;
}
.doc-links a:hover { background: var(--yellow-soft); border-color: #f0e0a0; }
.doc-related { margin-top: 22px; }
.doc-related h2 { font-size: 20px; margin: 0 0 10px; }
.doc-status { font-weight: 700; color: var(--ink); }

.nav-overlay { position: fixed; inset: 0; z-index: 90; display: none; }
.nav-overlay.is-open { display: block; }
.nav-overlay-scrim { position: absolute; inset: 0; background: rgba(0,0,0,.4); }
.nav-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(380px, 92vw);
  background: #fff;
  display: flex; flex-direction: column;
  box-shadow: -8px 0 24px rgba(0,0,0,.08);
}
.nav-panel-bar { display: flex; justify-content: flex-end; padding: 10px; border-bottom: 1px solid var(--line); }
.nav-close, .nav-back {
  appearance: none; border: 0; background: transparent; font: inherit; font-weight: 700; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px; color: var(--ink);
}
.nav-panel-scroll { overflow: auto; padding: 8px 16px 24px; }
.nav-sheet { display: none; }
.nav-sheet.is-active { display: block; }
.nav-item {
  width: 100%; display: flex; align-items: center; gap: 10px;
  padding: 12px 0; border: 0; border-bottom: 1px solid var(--line);
  background: transparent; font: inherit; font-weight: 650; text-decoration: none; cursor: pointer; text-align: left; color: var(--ink);
}
.nav-item-label { flex: 1; }
.nav-sub-title { font-size: 22px; margin: 8px 0; }

.field { display: grid; gap: 4px; margin-bottom: 10px; }
.field input, .field textarea, .field select {
  border: 1px solid #d0d0d0; border-radius: 8px; padding: 10px 12px; font: inherit; background: #fff;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--yellow); }
.review-stars { display: flex; gap: 2px; }
.review-stars svg { width: 16px; height: 16px; fill: #e5e5e5; }
.review-stars .is-on svg { fill: #f0be00; }
.review-viewport { overflow: hidden; }
.review-track { display: flex; gap: 12px; transition: transform 0.25s ease; }
.review-card { flex: 0 0 calc(33.33% - 8px); }
.review-dots { display: flex; gap: 6px; }
.review-dot { width: 8px; height: 8px; border-radius: 99px; border: 0; background: #ddd; }
.review-dot.is-on { background: var(--yellow); }
.sort-label { font-size: 13px; font-weight: 700; }
.service-ico { width: 28px; height: 28px; display: inline-flex; color: #0072ba; }

.portal-search {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 22px 0 18px;
}
.portal-title {
  margin: 0 0 4px;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.portal-title em { font-style: normal; }
.portal-lead {
  margin: 0 0 14px;
  max-width: 46rem;
  color: var(--muted);
  font-size: 14px;
}
.is-portal .kv-field > label {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.portal-block { padding: 22px 0 4px; }
.portal-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.portal-tile {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 12px;
  align-items: center;
  min-height: 92px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  text-decoration: none;
  color: var(--ink);
}
.portal-tile:hover { border-color: #f0d56a; box-shadow: 0 8px 20px rgba(0,0,0,.06); }
.portal-mark {
  grid-row: 1 / span 2;
  width: 52px; height: 52px;
  border-radius: 6px;
  background: var(--yellow-soft);
  display: flex; align-items: center; justify-content: center;
  color: #1a1a1a;
}
.portal-tile .service-ico { color: inherit; width: 26px; height: 26px; }
.portal-tile strong { font-size: 15px; line-height: 1.25; }
.portal-tile small { color: var(--muted); font-size: 12px; font-weight: 600; line-height: 1.35; }
.city-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.city-link {
  display: grid; gap: 2px;
  padding: 16px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  text-decoration: none;
  color: var(--ink);
  text-align: center;
}
.city-link strong { font-size: 15px; }
.city-link small { color: var(--muted); font-weight: 600; font-size: 12px; }
.city-link:hover { border-color: #f0d56a; background: #fffdf2; }
.portal-lower { display: grid; grid-template-columns: 1.3fr 0.9fr; gap: 28px; align-items: start; }
.guide-row { display: grid; gap: 8px; }
.guide-link {
  display: grid; gap: 2px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
}
.guide-link span { font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--blue); }
.guide-link:hover { border-color: #f0d56a; }
.price-row { display: grid; gap: 8px; }
.price-pill {
  display: flex; justify-content: space-between; gap: 12px; align-items: baseline;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  text-decoration: none;
  color: var(--ink);
}
.price-pill b { font-size: 16px; }
.price-pill span { color: var(--muted); font-size: 13px; font-weight: 600; }
.how-line { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.how-line li { display: grid; gap: 2px; }
.how-line b { font-size: 14px; }
.how-line span { color: var(--muted); font-size: 13px; }

@media (max-width: 980px) {
  .desk-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .home-split, .footer-inner, .footer-navs, .listing-shell, .profile-grid, .guide-layout, .doc-layout, .price-split, .contact-grid, .steps, .how-steps, .card-grid, .guide-grid, .why-grid, .grant-grid, .seo-map, .profile-hero, .article-hero, .price-calc, .guide-featured, .offer-grid-4 {
    grid-template-columns: 1fr;
  }
  .kv-search { grid-template-columns: 1fr 1fr; }
  .kv-search .btn-otsi { grid-column: 1 / -1; grid-row: 2; width: 100%; }
  .kv-search-extra { grid-column: 1 / -1; grid-row: 3; }
  .kv-checks { grid-column: 1; grid-row: 4; min-height: 0; }
  .kv-advanced { grid-column: 2; grid-row: 4; justify-self: end; align-self: center; }
  .offer-grid, .offer-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .listing-page { grid-template-columns: 1fr; }
  .listing-page > .listing-aside,
  .listing-page > .company-list { grid-column: 1; position: static; max-height: none; }
  .object-row, .company-row, .listing-card,
  .company-list.is-one-city .object-row,
  .company-list.is-one-city .object-head { grid-template-columns: 84px 1fr; }
  .object-head { display: none; }
  .object-stat, .object-price { display: none; }
  .row-reach { display: flex; }
  .review-card { flex-basis: 100%; }
  .kv-checks { min-height: 0; }
  .guide-featured-body { padding: 12px 14px 16px; }
  .doc-facts { grid-template-columns: 1fr 1fr; }
  .doc-side { position: static; order: 2; }
  .doc-layout > div, .doc-layout > article { order: 1; }
  .cat-bar-inner { display: flex; overflow-x: auto; }
  .cat-bar a { flex: 0 0 92px; }
  .portal-grid, .portal-lower, .city-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .site-brand-sub, .ee-badge, .lt-badge { display: none; }
  .profile-top { flex-direction: column; }
  #p-photo { width: 100%; height: 160px; flex-basis: auto; }
  .finder h1, .board-hero h1 { font-size: 26px; }
  .header-actions .btn { display: none; }
  .offer-grid, .offer-grid-2, .offer-grid-4 { grid-template-columns: 1fr 1fr; }
  .kv-search { grid-template-columns: 1fr; }
  .kv-search-top > .kv-field:nth-child(1),
  .kv-search-top > .kv-field:nth-child(2),
  .kv-search .btn-otsi,
  .kv-search-extra,
  .kv-advanced,
  .kv-checks { grid-column: 1; grid-row: auto; justify-self: start; }
  .offer-phone { font-size: 13px; }
  .portal-grid, .city-row, .portal-lower { grid-template-columns: 1fr; }
  .doc-facts { grid-template-columns: 1fr; }
  .doc-hero h1, .doc-article h1 { font-size: 28px; }
}
