/* Транспортные-компании.рф — стиль по input/transport-design.md: светлый деловой портал.
   Все цвета, отступы и радиусы — переменные ниже; компоненты только используют их. */
:root {
  --bg: #F3F6FB;
  --surface: #FFFFFF;
  --surface-2: #F7F9FC;
  --text: #0F172A;
  --text-2: #334155;
  --muted: #64748B;
  --line: #DCE4EF;
  --line-2: #E9EEF5;
  --accent: #1250DF;
  --accent-hover: #0D41BB;
  --accent-soft: #EAF0FE;
  --ok: #0F7A43;
  --ok-soft: #E6F6EE;
  --warn: #9A5B00;
  --warn-soft: #FFF6E5;
  --err: #B42318;
  --err-soft: #FDECEC;
  --brand-red: #E5322D;

  --r-sm: 8px;
  --r: 10px;
  --r-lg: 14px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 4px 16px rgba(15, 23, 42, .04);
  --gap: 24px;
  --block: 40px;
  --wrap: 1240px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* --- основа ------------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { overflow-x: hidden; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.55 var(--font); }
img { max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); text-decoration: underline; text-underline-offset: 2px; }
h1, h2, h3, h4 { color: var(--text); line-height: 1.2; font-weight: 700; letter-spacing: -.01em; }
h2 { font-size: 24px; margin: 0 0 16px; }
h3 { font-size: 18px; margin: 0 0 10px; }
p { margin: 0 0 12px; }
ul, ol { margin: 8px 0 16px; padding-left: 22px; }
li { margin: 4px 0; }
table { border-collapse: collapse; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.contain { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.nowrap { white-space: nowrap; }
.upd { font-size: 13px; color: var(--muted); margin: 8px 0 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* --- шапка ------------------------------------------------------------------------------- */
.hdr { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.hdr__row { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 18px; letter-spacing: -.02em; white-space: nowrap; }
.logo:hover { color: var(--text); text-decoration: none; }
.logo svg { width: 34px; height: 24px; flex: none; }
.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav a { color: var(--text-2); font-weight: 500; font-size: 15px; padding: 8px 12px; border-radius: var(--r-sm); }
.nav a:hover, .nav a.on { color: var(--accent); background: var(--accent-soft); text-decoration: none; }
.hdr .btn-main { height: 40px; padding: 0 16px; font-size: 15px; }
.burger { display: none; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); cursor: pointer; margin-left: auto; padding: 0; }
.burger span, .burger span::before, .burger span::after { display: block; width: 18px; height: 2px; background: var(--text); margin: 0 auto; position: relative; content: ""; transition: .2s; }
.burger span::before { position: absolute; top: -6px; }
.burger span::after { position: absolute; top: 6px; }
.menu-open .burger span { background: transparent; }
.menu-open .burger span::before { top: 0; transform: rotate(45deg); }
.menu-open .burger span::after { top: 0; transform: rotate(-45deg); }

/* --- страница ------------------------------------------------------------------------------ */
.main { padding: 8px 0 var(--block); min-height: 50vh; }
.bread { display: flex; flex-wrap: wrap; gap: 4px 0; list-style: none; padding: 0; margin: 16px 0 0; font-size: 14px; color: var(--muted); }
.bread li { margin: 0; }
.bread li + li::before { content: "/"; margin: 0 8px; color: var(--line); }
.bread a { color: var(--muted); }
.page-h1 { margin: 16px 0 8px; font-size: 40px; line-height: 1.15; letter-spacing: -.02em; overflow-wrap: anywhere; }
.lead { font-size: 18px; color: var(--text-2); margin: 0 0 24px; max-width: 860px; overflow-wrap: anywhere; }
.page-head { margin-bottom: 24px; }
.page-head .lead { margin-bottom: 0; }
.page-head .lead-about { margin-bottom: 10px; }
.about-text { max-width: 860px; margin: 0; color: var(--text-2); }

.cblock { margin: 0 0 var(--block); }
.cblock > h2 { margin-bottom: 16px; }
.cblock p { line-height: 1.6; }
.cblock-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.cblock-head h2 { margin: 0; }

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; margin-bottom: var(--gap); }
.panel > h2:first-child, .panel > h3:first-child { margin-top: 0; }
.note { background: var(--warn-soft); border-radius: var(--r); padding: 12px 16px; font-size: 14px; color: var(--text-2); }

/* --- кнопки и поля ----------------------------------------------------------------------- */
.btn-main, .btn-o, .btn-ghost { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: var(--r);
  font-weight: 600; font-size: 16px; cursor: pointer; text-decoration: none; white-space: nowrap; transition: background .15s, border-color .15s, color .15s; }
.btn-main { background: var(--accent); color: #fff; border: 1px solid var(--accent); }
.btn-main:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #fff; text-decoration: none; }
.btn-o { background: var(--surface); color: var(--accent); border: 1px solid var(--line); }
.btn-o:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.btn-o i { display: none; }
.btn-ghost { background: transparent; color: var(--text-2); border: 1px solid transparent; height: 38px; padding: 0 12px; font-weight: 500; font-size: 15px; }
.btn-ghost:hover { background: var(--accent-soft); color: var(--accent); text-decoration: none; }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; border-radius: var(--r-sm); }
.btns { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

.form-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.form-row label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 500; color: var(--muted); flex: 1 1 150px; min-width: 0; }
.form-row label.chk { flex: 0 0 auto; flex-direction: row; align-items: center; gap: 8px; color: var(--text-2); font-size: 15px; white-space: nowrap; height: 46px; }
input[type=text], input[type=search], input[type=number], input[type=email], input:not([type]), select, textarea {
  width: 100%; height: 46px; border: 1px solid var(--line); border-radius: var(--r); padding: 0 14px; background: var(--surface); color: var(--text); font-size: 16px; }
textarea { height: auto; padding: 12px 14px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
input[type=checkbox], input[type=radio] { width: 18px; height: 18px; accent-color: var(--accent); margin: 0; }

/* --- таблицы ------------------------------------------------------------------------------- */
.tbl-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.tbl-wrap + * { margin-top: 16px; }
.tbl { width: 100%; font-size: 15px; }
.tbl th, .tbl td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl th { font-weight: 600; font-size: 13px; color: var(--muted); background: var(--surface-2); text-transform: none; }
.tbl td.num, .tbl th.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tbl.kv td:first-child { color: var(--muted); width: 220px; }
.tbl a[href^="tel"] { white-space: nowrap; }
.panel > .tbl.kv td { padding-left: 0; }

.tag { display: inline-block; font-size: 13px; line-height: 1.4; padding: 2px 10px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line-2); color: var(--text-2); margin: 0 4px 4px 0; white-space: nowrap; }
.tag.ok { background: var(--ok-soft); border-color: transparent; color: var(--ok); }
.tag.no { background: var(--err-soft); border-color: transparent; color: var(--err); }
.tag.acc { background: var(--accent-soft); border-color: transparent; color: var(--accent); }

/* --- сетки и плитки --------------------------------------------------------------------- */
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.tile { display: flex; flex-direction: column; gap: 4px; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; color: inherit; background: var(--surface); transition: border-color .15s, box-shadow .15s; }
.tile:hover { border-color: var(--accent); box-shadow: var(--shadow); text-decoration: none; color: inherit; }
.tile b { font-size: 17px; }
.tile img { height: 36px; width: auto; max-width: 140px; object-fit: contain; object-position: left; margin-bottom: 8px; }
.cols { columns: 4 200px; column-gap: 32px; }
.cols a { display: block; padding: 4px 0; break-inside: avoid; }
.cols h3 { break-after: avoid; font-size: 15px; margin: 16px 0 6px; }
/* адреса по районам (district_views) */
.dgroup { font-size: 16px; margin: 22px 0 8px; }
.dgroup:first-of-type { margin-top: 8px; }
.dlist { columns: 3 240px; column-gap: 32px; }
.dlist__item { break-inside: avoid; padding: 5px 0; }
.dlist__pts { list-style: none; margin: 4px 0 0; padding: 0 0 0 12px; font-size: 14px; }
.dlist__pts li { padding: 2px 0; }

.stats { display: flex; flex-wrap: wrap; gap: 12px; margin: 8px 0 24px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px 18px; min-width: 150px; color: var(--muted); font-size: 14px; }
.stat b { display: block; font-size: 26px; color: var(--text); letter-spacing: -.02em; line-height: 1.2; }

.map { height: 440px; border-radius: var(--r-lg); overflow: hidden; background: var(--surface-2); border: 1px solid var(--line); }
.map ~ .tbl-wrap { margin-top: 16px; }  /* таблица под картой не впритык */

.review { border-bottom: 1px solid var(--line-2); padding: 16px 0; }
.review .stars-row { color: #F5A623; letter-spacing: 2px; }
.pager { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0; }
.pager a, .pager span { min-width: 38px; height: 38px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--surface); }
.pager span { background: var(--accent); color: #fff; border-color: var(--accent); }

/* карточка компании: логотип + заголовок */
.comprow { display: flex; align-items: center; gap: 20px; margin: 16px 0 16px; }
.comprow__img-w { width: 88px; height: 88px; flex: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); display: flex; align-items: center; justify-content: center; padding: 10px; }
.comprow__img-w img { max-height: 100%; object-fit: contain; }

/* калькулятор */
.best { color: var(--ok); font-weight: 600; }
#calc-table tr.best td { background: #F0FAF4; }
#calc-table tr.best td:first-child b::after { content: " — дешевле всех"; color: var(--ok); font-weight: 500; font-size: 13px; }

/* главная: точки входа */
.hero-entries { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin-top: 24px; }
.hero-entries .panel { margin: 0; }
.hero-entries h2 { font-size: 20px; margin: 0 0 12px; }

/* --- реклама --------------------------------------------------------------------------- */
.adslot { margin: 0 0 var(--block); min-height: 0; }
.adslot:empty { display: none; }

/* --- подвал ---------------------------------------------------------------------------- */
.ftr { background: var(--surface); border-top: 1px solid var(--line); padding: 40px 0 24px; font-size: 15px; color: var(--text-2); }
.ftr__row { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 32px; }
.ftr__about { color: var(--muted); font-size: 14px; max-width: 360px; margin-top: 12px; }
.ftr h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 6px 0 12px; font-weight: 600; }
.ftr ul { list-style: none; padding: 0; margin: 0; }
.ftr li { margin: 0 0 8px; }
.ftr a { color: var(--text-2); }
.ftr a:hover { color: var(--accent); }
.ftr__bot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; border-top: 1px solid var(--line-2); margin-top: 32px; padding-top: 20px; font-size: 14px; color: var(--muted); }

/* --- телефоны ------------------------------------------------------------------------- */
@media (max-width: 1440px) {
  .nav a { padding: 8px 8px; font-size: 14px; }
}
@media (max-width: 1200px) {
  .hdr .btn-main { display: none; }
}
@media (max-width: 1060px) {
  .burger { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 68px; background: var(--surface); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 8px 16px 16px; gap: 0; box-shadow: var(--shadow); }
  .menu-open .nav { display: flex; }
  .nav a { padding: 12px 8px; font-size: 16px; border-bottom: 1px solid var(--line-2); border-radius: 0; }
}
@media (max-width: 900px) {
  .ftr__row { grid-template-columns: 1fr 1fr; }
  .ftr__brand { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  :root { --block: 32px; }
  .contain { padding: 0 16px; }
  .hdr__row { height: 60px; }
  .nav { top: 60px; }
  .logo { font-size: 16px; }
  .page-h1 { font-size: 28px; }
  .lead { font-size: 16px; }
  h2 { font-size: 21px; }
  .panel { padding: 16px; }
  .stat { min-width: 0; flex: 1 1 40%; padding: 12px 14px; }
  .stat b { font-size: 22px; }
  .map { height: 340px; }
  .hero-entries { grid-template-columns: 1fr; }
  .tbl { font-size: 14px; }
  .tbl th, .tbl td { padding: 10px 12px; }
  .tbl.cards thead { display: none; }
  .tbl.cards tr { display: block; border-bottom: 1px solid var(--line-2); padding: 10px 4px; }
  .tbl.cards tbody tr:last-child { border-bottom: 0; }
  .tbl.cards td { display: block; border: 0; padding: 2px 8px; }
  .tbl.cards td.num { text-align: left; }
  .tbl.kv td { display: block; width: auto !important; padding: 2px 0; border: 0; }
  .tbl.kv tr { display: block; border-bottom: 1px solid var(--line-2); padding: 8px 0; }
  .cols { columns: 2 140px; column-gap: 16px; }
  .btns > a, .btns > button { flex: 1 1 auto; }
}

/* --- страница города -------------------------------------------------------------------- */
.qcalc { display: flex; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.qcalc__title { display: flex; flex-direction: column; gap: 2px; flex: 0 0 auto; padding-bottom: 4px; }
.qcalc__title b { font-size: 18px; }
.qcalc .form-row { flex: 1 1 420px; }

.finder { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.finder__bar { display: flex; flex-wrap: wrap; gap: 10px; padding: 16px 16px 0; align-items: center; }
.finder__bar .finder__q { flex: 2 1 260px; }
.finder__bar .finder__company { flex: 1 1 200px; width: auto; }
.finder__bar .chk { display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--text-2); white-space: nowrap; padding: 0 4px; }
.finder__bar .btn-sm { height: 46px; }
.finder__kinds { display: flex; gap: 8px; padding: 12px 16px; overflow-x: auto; border-bottom: 1px solid var(--line-2); scrollbar-width: none; }
.chip { flex: none; height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text-2); font-size: 14px; font-weight: 500; cursor: pointer; }
.chip span { color: var(--muted); font-weight: 400; margin-left: 2px; }
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.chip.on span { color: rgba(255, 255, 255, .8); }
.finder__tabs { display: none; }
.finder__body { display: grid; grid-template-columns: minmax(320px, 420px) 1fr; height: 600px; }
.finder__side { overflow-y: auto; border-right: 1px solid var(--line-2); display: flex; flex-direction: column; }
.finder__count { padding: 12px 16px 4px; }
.finder__list { list-style: none; margin: 0; padding: 0; }
.finder__map { background: var(--surface-2); }
.finder__more { margin: 12px 16px 16px; }
.finder__empty { padding: 24px 16px; color: var(--muted); }
.fi { display: flex; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line-2); cursor: pointer; margin: 0; }
.fi:hover { background: var(--surface-2); }
.fi.on { background: var(--accent-soft); }
.fi__logo { width: 36px; height: 36px; flex: none; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; font-weight: 700; color: var(--muted); }
.fi__logo img { max-width: 30px; max-height: 30px; object-fit: contain; }
.fi__body { min-width: 0; flex: 1; }
.fi__top { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.fi__top b { font-size: 15px; }
.fi__addr { display: block; color: var(--text); font-size: 15px; line-height: 1.4; margin: 2px 0 4px; }
.fi__meta { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; }
.fi__meta .tag { margin: 0; font-size: 12px; }

.ccards { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.ccard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.ccard--pt { color: var(--text); gap: 2px; }
.ccard--pt:hover, .ccard:hover { border-color: #C3D0E6; text-decoration: none; }
.ccard__head { display: flex; gap: 12px; align-items: center; color: var(--text); }
.ccard__head:hover { text-decoration: none; color: var(--accent); }
.ccard__head > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.ccard__head b { font-size: 16px; }
.ccard__logo { width: 48px; height: 48px; flex: none; border: 1px solid var(--line-2); border-radius: var(--r); display: flex; align-items: center; justify-content: center; padding: 6px; font-weight: 700; font-size: 20px; color: var(--muted); background: #fff; }
.ccard__logo img { max-height: 100%; object-fit: contain; }
.ccard__links { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 14px; border-top: 1px solid var(--line-2); padding-top: 10px; margin-top: auto; }

.dir-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.dir { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); color: var(--text); font-size: 14px; }
.dir b:first-child { font-size: 16px; }
.dir span { color: var(--muted); }
.dir span b { color: var(--text); }
.dir:hover { border-color: var(--accent); text-decoration: none; color: var(--text); }

.faq { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.faq details { border-bottom: 1px solid var(--line-2); padding: 0 20px; }
.faq details:last-child { border-bottom: 0; }
.faq summary { cursor: pointer; padding: 16px 28px 16px 0; font-weight: 600; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 12px; font-size: 22px; font-weight: 400; color: var(--muted); }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--text-2); margin: 0 0 16px; max-width: 860px; }

@media (max-width: 768px) {
  .finder__bar { padding: 12px 12px 0; }
  .finder__bar .finder__q, .finder__bar .finder__company { flex: 1 1 100%; }
  .finder__kinds { padding: 10px 12px; }
  .finder__tabs { display: flex; gap: 0; padding: 0 12px 12px; }
  .finder__tabs button { flex: 1; height: 38px; border: 1px solid var(--line); background: var(--surface); font-weight: 500; cursor: pointer; }
  .finder__tabs button:first-child { border-radius: var(--r-sm) 0 0 var(--r-sm); }
  .finder__tabs button:last-child { border-radius: 0 var(--r-sm) var(--r-sm) 0; border-left: 0; }
  .finder__tabs button.on { background: var(--accent-soft); color: var(--accent); border-color: var(--accent); }
  .finder__body { display: block; height: auto; }
  .finder__side { border-right: 0; max-height: none; }
  .finder__map { display: none; height: 70vh; }
  .finder[data-view="map"] .finder__side { display: none; }
  .finder[data-view="map"] .finder__map { display: block; }
  .qcalc { gap: 12px; }
}
.ccards--compact { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px; }
.ccard--row { flex-direction: row; align-items: center; gap: 12px; padding: 10px 12px; color: var(--text); }
.ccard--row:hover { color: var(--accent); }
.ccard--row > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.ccard--row b { font-size: 15px; }
.ccard--row .ccard__logo { width: 40px; height: 40px; font-size: 16px; }
:not(.show-all) > .is-more { display: none !important; }
[hidden] { display: none !important; }
@media (max-width: 768px) { .qcalc .btn-main { flex: 1 1 100%; } }
.finder__bar .finder__company { min-width: 0; }

/* --- страница расстояния ------------------------------------------------------------------ */
.route-form .form-row { flex-wrap: nowrap; }
.route-form .swap { flex: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); cursor: pointer; font-size: 18px; color: var(--accent); }
.route-form .swap:hover { border-color: var(--accent); }
.route-opts { margin-top: 12px; }
.route-opts summary { cursor: pointer; color: var(--accent); font-size: 15px; }
.route-opts__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 12px; }
.route-opts fieldset { border: 1px solid var(--line-2); border-radius: var(--r); padding: 12px 14px; margin: 0; display: grid; gap: 8px; align-content: start; }
.route-opts legend { padding: 0 4px; font-weight: 600; font-size: 15px; }
.route-opts input[name=via] { height: 40px; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 0 10px; font: inherit; }
.route-opts label.chk { display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--text-2); }
.route-opts__speed { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 14px; color: var(--text-2); }
.route-opts__speed input { width: 76px; height: 36px; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 0 8px; font: inherit; text-align: right; }
.route-custom { margin: 12px 0 0; padding: 10px 14px; border-radius: var(--r); background: var(--accent-soft); color: var(--text-2); }
.notice { margin: 12px 0 0; padding: 10px 14px; border-radius: var(--r); background: var(--warn-soft); color: var(--warn); }
@media (max-width: 760px) { .route-opts__grid { grid-template-columns: 1fr; } }
.stats--4 .stat { flex: 1 1 180px; }
.route-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; align-items: stretch; }
.route-grid .map { height: auto; min-height: 420px; }
.route-grid .panel { margin: 0; }
.fuel h2 { font-size: 20px; margin-bottom: 16px; }
.fuel__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fuel__grid label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 500; color: var(--muted); }
.fuel__grid label.chk { flex-direction: row; align-items: center; gap: 8px; font-size: 15px; color: var(--text-2); padding-top: 22px; }
.fuel__out { display: flex; gap: 12px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line-2); flex-wrap: wrap; }
.fuel__out > div { flex: 1 1 100px; display: flex; flex-direction: column; font-size: 13px; color: var(--muted); }
.fuel__out b { font-size: 24px; color: var(--text); letter-spacing: -.02em; }
.fuel__out > div:nth-child(2) b { color: var(--accent); }

.ways { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.way { display: grid; grid-template-columns: 44px 1fr auto auto; gap: 16px; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line-2); }
.way:last-child { border-bottom: 0; }
.way__body { display: flex; flex-direction: column; }
.way__body b { font-size: 16px; }
.way__price { white-space: nowrap; color: var(--muted); font-size: 14px; }
.way__price b { color: var(--text); font-size: 18px; }
.way__act .btn-sm { min-width: 140px; }
.way__ico { width: 44px; height: 44px; border-radius: var(--r); background: var(--accent-soft) center / 24px no-repeat; }
.way__ico--plane { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231250DF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17.8 19.2 16 11l3.5-3.5C21 6 21.5 4 21 3c-1-.5-3 0-4.5 1.5L13 8 4.8 6.2c-.5-.1-.9.1-1.1.5l-.3.5c-.2.5-.1 1 .3 1.3L9 12l-2 3H4l-1 1 3 2 2 3 1-1v-3l3-2 3.5 5.3c.3.4.8.5 1.3.3l.5-.2c.4-.3.6-.7.5-1.2z'/%3E%3C/svg%3E"); }
.way__ico--train, .way__ico--suburban { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231250DF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='3' width='16' height='14' rx='3'/%3E%3Cpath d='M4 11h16M12 3v8M8 21l2-4M16 21l-2-4'/%3E%3Ccircle cx='8.5' cy='14' r='.5'/%3E%3Ccircle cx='15.5' cy='14' r='.5'/%3E%3C/svg%3E"); }
.way__ico--bus { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231250DF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='3' width='16' height='15' rx='2'/%3E%3Cpath d='M4 11h16M8 18v3M16 18v3'/%3E%3Ccircle cx='8' cy='15' r='.5'/%3E%3Ccircle cx='16' cy='15' r='.5'/%3E%3C/svg%3E"); }
.way__ico--car { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231250DF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 17H3v-5l2-5h14l2 5v5h-2M5 12h14'/%3E%3Ccircle cx='7.5' cy='17' r='2'/%3E%3Ccircle cx='16.5' cy='17' r='2'/%3E%3C/svg%3E"); }

.promo { display: flex; align-items: center; gap: 16px; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); color: var(--text); }
.promo:hover { border-color: var(--accent); text-decoration: none; color: var(--text); }
.promo__ico { width: 44px; height: 44px; flex: none; border-radius: var(--r); background: var(--accent-soft) center / 24px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231250DF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 20V6M3 13h18v7M21 13a4 4 0 0 0-4-4h-7v4'/%3E%3Ccircle cx='6.5' cy='10' r='1.5'/%3E%3C/svg%3E"); }
.promo__text { flex: 1; display: flex; flex-direction: column; }
.promo__text b { font-size: 17px; }
.promo__text span { color: var(--muted); font-size: 14px; }

.cargo { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.cargo__col { display: flex; flex-direction: column; gap: 2px; padding: 18px 20px; border-right: 1px solid var(--line-2); }
.cargo__price { font-size: 24px; letter-spacing: -.02em; }
.cargo__cta { display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 18px 20px; }

.links-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.links-2 h3 { font-size: 16px; margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-link { display: inline-flex; gap: 6px; align-items: center; height: 34px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--text-2); font-size: 14px; }
.chip-link span { color: var(--muted); }
.chip-link:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.chip-link--all { color: var(--accent); cursor: pointer; font-family: inherit; }
.svc-group + .svc-group { margin-top: 18px; }
.svc-group h3 { font-size: 15px; margin: 0 0 8px; color: var(--text-2); }

@media (max-width: 900px) {
  .route-grid { grid-template-columns: 1fr; }
  .route-grid .map { min-height: 320px; }
  .cargo { grid-template-columns: 1fr; }
  .cargo__col { border-right: 0; border-bottom: 1px solid var(--line-2); }
  .links-2 { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .route-form .form-row { flex-wrap: wrap; }
  .route-form .swap { order: 1; margin-left: auto; }
  .route-form .btn-main { order: 2; flex: 1 1 100%; }
  .way { grid-template-columns: 44px 1fr; gap: 8px 12px; padding: 12px 14px; }
  .way__price { grid-column: 2; }
  .way__act { grid-column: 1 / -1; }
  .way__act .btn-sm { width: 100%; }
  .promo { flex-wrap: wrap; }
  .promo .btn-main { flex: 1 1 100%; }
}
.ad-mark { display: inline-block; vertical-align: middle; font-size: 11px; font-weight: 500; letter-spacing: .02em; color: var(--muted); border: 1px solid var(--line); border-radius: 4px; padding: 0 5px; margin-left: 6px; line-height: 18px; }
@media (max-width: 768px) { .stats--4 .stat { flex: 1 1 40%; } }

/* --- разделы каталога -------------------------------------------------------------------- */
.tabs-nav { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin: 0 0 24px; overflow-x: auto; scrollbar-width: none; }
.tabs-nav a { padding: 10px 14px; color: var(--text-2); font-weight: 500; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs-nav a:hover { color: var(--accent); text-decoration: none; }
.tabs-nav a.on { color: var(--accent); border-bottom-color: var(--accent); }
.tabs-nav button { padding: 10px 14px; color: var(--text-2); font: inherit; font-weight: 500; background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; cursor: pointer; }
.tabs-nav button.on { color: var(--accent); border-bottom-color: var(--accent); }
.sections { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: var(--block); }
.sec-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.sec-card__head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.sec-card h2 { margin: 0; font-size: 22px; }
.sec-card h2 a { color: var(--text); }
.sec-card p { margin: 0; font-size: 15px; }
.sec-card__logos { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.sec-card__logos a { height: 44px; min-width: 64px; padding: 6px 10px; border: 1px solid var(--line-2); border-radius: var(--r); display: flex; align-items: center; justify-content: center; font-size: 13px; color: var(--text-2); }
.sec-card__logos img { max-height: 30px; max-width: 90px; object-fit: contain; }
.sec-card .btn-o { align-self: flex-start; }
.search-bar .form-row label { flex: 1 1 400px; }

.ncards { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; margin-bottom: var(--block); }
.ncard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.ncard__head { display: flex; gap: 12px; align-items: center; color: var(--text); }
.ncard__head:hover { color: var(--accent); text-decoration: none; }
.ncard__head > span:last-child { display: flex; flex-direction: column; }
.ncard__head b { font-size: 18px; }
.ncard__nums { display: flex; gap: 20px; }
.ncard__nums div { display: flex; flex-direction: column; font-size: 13px; color: var(--muted); }
.ncard__nums b { font-size: 20px; color: var(--text); letter-spacing: -.02em; }
.ncard__links { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 14px; border-top: 1px solid var(--line-2); padding-top: 12px; margin-top: auto; }

.clist { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); display: grid; grid-template-columns: 1fr 1fr; }
.crow { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line-2); color: var(--text); min-width: 0; }
.crow:nth-child(odd) { border-right: 1px solid var(--line-2); }
.crow:hover { background: var(--surface-2); text-decoration: none; color: var(--accent); }
.crow .ccard__logo { width: 40px; height: 40px; font-size: 16px; }
.crow__body { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.crow__body b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.crow__tags .tag { margin: 0; }
.pager .gap { border: 0; background: none; color: var(--muted); }

.smap { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px; margin-bottom: var(--block); }
.smap h2 { font-size: 18px; margin-bottom: 8px; }
.smap ul { list-style: none; padding: 0; margin: 0; }
.smap li { margin: 0 0 6px; }

@media (max-width: 900px) {
  .sections { grid-template-columns: 1fr; }
  .clist { grid-template-columns: 1fr; }
  .crow:nth-child(odd) { border-right: 0; }
}
.nav a { white-space: nowrap; }
.sec-card__head { flex-direction: column; align-items: flex-start; gap: 2px; }
.pager { margin-bottom: var(--block); }

/* --- главная ------------------------------------------------------------------------------ */
.hero { background: linear-gradient(180deg, #fff 0%, var(--bg) 100%); border-bottom: 1px solid var(--line-2); padding: 48px 0 40px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -120px; top: -80px; width: 640px; height: 640px; border-radius: 50%;
  background: radial-gradient(circle, rgba(18, 80, 223, .10) 0%, rgba(18, 80, 223, 0) 70%); pointer-events: none; }
.hero .contain { position: relative; z-index: 1; }
.hero__h1 { font-size: 48px; line-height: 1.1; letter-spacing: -.025em; margin: 0 0 12px; }
@media (min-width: 1000px) { .hero__h1 { white-space: nowrap; } }
.hero__lead { font-size: 19px; color: var(--text-2); max-width: 680px; margin: 0 0 28px; }
.hero__box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: 0 8px 32px rgba(15, 23, 42, .06); max-width: 980px; }
.hero__tabs { display: flex; gap: 4px; padding: 8px 8px 0; border-bottom: 1px solid var(--line-2); overflow-x: auto; scrollbar-width: none; }
.hero__tabs button { border: 0; background: none; padding: 10px 14px; font-weight: 600; font-size: 15px; color: var(--muted); border-bottom: 2px solid transparent; cursor: pointer; white-space: nowrap; }
.hero__tabs button.on { color: var(--accent); border-bottom-color: var(--accent); }
.hero__form { display: flex; gap: 12px; align-items: flex-end; padding: 20px; flex-wrap: wrap; }
.hero__form[hidden] { display: none; }
.hero__form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 500; color: var(--muted); flex: 1 1 200px; }
.hero__form .hero__w { flex: 0 1 120px; }
.hero__form .btn-main { height: 46px; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 8px; }

.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service { display: flex; flex-direction: column; gap: 4px; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); color: var(--text); }
.service:hover { border-color: var(--accent); text-decoration: none; color: var(--text); }
.service b { font-size: 17px; margin-top: 8px; }
.service > span:last-child { color: var(--muted); font-size: 14px; }
.service__ico { width: 44px; height: 44px; border-radius: var(--r); background: var(--accent-soft) center / 24px no-repeat; }
.service__ico--calc { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231250DF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='3' width='14' height='18' rx='2'/%3E%3Cpath d='M8 7h8M8 11h.01M12 11h.01M16 11h.01M8 15h.01M12 15h.01M16 15v3M8 18h4'/%3E%3C/svg%3E"); }
.service__ico--pin { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231250DF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11.5A7 7 0 0 1 19 9.5C19 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E"); }
.service__ico--track { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231250DF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 8 12 3 3 8v8l9 5 9-5z'/%3E%3Cpath d='M3 8l9 5 9-5M12 13v8'/%3E%3C/svg%3E"); }
.service__ico--route { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231250DF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='6' cy='19' r='2'/%3E%3Ccircle cx='18' cy='5' r='2'/%3E%3Cpath d='M8 19h8a3 3 0 0 0 0-6H8a3 3 0 0 1 0-6h8'/%3E%3C/svg%3E"); }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.reviews-grid .panel { margin: 0; }
.reviews-grid .review { border: 0; padding: 0; }
.reviews-grid .review p { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }

@media (max-width: 900px) {
  .services { grid-template-columns: 1fr 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .hero { padding: 28px 0 24px; }
  .hero__h1 { font-size: 30px; }
  .hero__lead { font-size: 16px; margin-bottom: 20px; }
  .hero__form { padding: 14px; }
  .hero__form .btn-main { flex: 1 1 100%; }
  .hero__form .hero__w { flex: 1 1 100%; }
  .services { gap: 10px; }
  .service { padding: 14px; }
  .service b { font-size: 15px; }
}
@media (max-width: 768px) { .hero__tabs { flex-wrap: wrap; } .hero__tabs button { flex: 1 1 45%; padding: 8px 6px; font-size: 14px; } }

/* --- карточка компании -------------------------------------------------------------------- */
.chead { display: flex; gap: 20px; align-items: center; margin: 16px 0 24px; flex-wrap: wrap; }
.chead__logo { width: 96px; height: 96px; flex: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); display: flex; align-items: center; justify-content: center; padding: 12px; font-size: 36px; font-weight: 700; color: var(--muted); }
.chead__logo img { max-height: 100%; object-fit: contain; }
.chead__main { flex: 1 1 360px; min-width: 0; }
.chead__main .page-h1 { margin: 6px 0 4px; }
.chead__meta { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; }
.chead__meta .tag { margin: 0; }
.chead__rating { color: var(--text); }
.chead__rating:hover { text-decoration: none; }
.stars-row { color: #F5A623; letter-spacing: 1px; }
.cgrid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.cgrid__side { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 16px; }
.side-card { margin: 0; padding: 20px; }
.side-card h3 { font-size: 17px; margin-bottom: 12px; }
.kv-list { display: grid; grid-template-columns: 76px 1fr; gap: 8px 12px; margin: 0; font-size: 14px; }
.kv-list dt { color: var(--muted); }
.kv-list dd { margin: 0; overflow-wrap: anywhere; }
.kv-check { margin: 16px 0 0; padding-top: 16px; border-top: 1px solid var(--line-2); }
.kv-check .btn-o { width: 100%; }
.side-form { display: flex; flex-direction: column; gap: 10px; }
.side-form label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 500; color: var(--muted); }
.side-list { list-style: none; padding: 0; margin: 0; font-size: 15px; }
.side-list li { padding: 6px 0; border-bottom: 1px solid var(--line-2); margin: 0; }
.side-list li:last-child { border-bottom: 0; }
.text { max-width: 820px; color: var(--text-2); line-height: 1.65; }
.rsum { display: flex; gap: 32px; align-items: center; flex-wrap: wrap; }
.rsum__total { display: flex; flex-direction: column; align-items: flex-start; }
.rsum__total b { font-size: 40px; line-height: 1; letter-spacing: -.02em; }
.rsum__crit { flex: 1 1 300px; display: grid; gap: 8px; font-size: 14px; }
.rsum__crit div { display: grid; grid-template-columns: 180px 1fr 32px; gap: 12px; align-items: center; }
.bar { height: 6px; background: var(--line-2); border-radius: 3px; overflow: hidden; }
.bar i { display: block; height: 100%; background: #F5A623; }
.reviews { margin-bottom: 16px; }
@media (max-width: 1000px) {
  .cgrid { grid-template-columns: 1fr; }
  .cgrid__side { position: static; }
}
@media (max-width: 768px) {
  .chead__logo { width: 64px; height: 64px; font-size: 24px; }
  .chead__act { flex: 1 1 100%; }
  .rsum__crit div { grid-template-columns: 1fr 80px 28px; }
}
/* --- карточка точки ----------------------------------------------------------------------- */
a.chead__logo:hover { border-color: var(--accent); }
.week { width: 100%; font-size: 14px; }
.week td { padding: 6px 0; border-bottom: 1px solid var(--line-2); }
.week td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.week tr:last-child td { border-bottom: 0; }
.week tr.today td { font-weight: 600; color: var(--accent); }
.side-map { padding: 0; overflow: hidden; }
.side-map .map { height: 300px; border: 0; border-radius: 0; }
.near { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.near__row { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line-2); color: var(--text); }
.near__row:last-child { border-bottom: 0; }
.near__row:hover { background: var(--surface-2); text-decoration: none; color: var(--accent); }
.near__body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.near__row .tag { margin: 0; }
@media (max-width: 1000px) { .cgrid--point .cgrid__side { order: -1; margin-bottom: 24px; } .cgrid--point { display: flex; flex-direction: column; } }

/* --- города и регионы --------------------------------------------------------------------- */
.city-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.city-tile { display: flex; flex-direction: column; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); color: var(--text); }
.city-tile b { font-size: 15px; }
.city-tile span { color: var(--muted); font-size: 13px; }
.city-tile:hover { border-color: var(--accent); text-decoration: none; color: var(--accent); }
.regions { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.region-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; }
.region-card__name { font-weight: 600; font-size: 16px; color: var(--text); }
.region-card__cities { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 14px; }
.region-card__all { font-size: 13px; margin-top: auto; }
.cols a.is-more { display: none; } .show-all > a.is-more { display: block !important; }
.show-all > a.is-more[hidden] { display: none !important; }
.way__classes { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; color: var(--muted); margin-top: 4px; }
.way__classes b { color: var(--text); font-weight: 600; }
.way__price { display: flex; flex-direction: column; align-items: flex-end; }
.way--cheap { background: #F6FBF8; }
.way--own { background: var(--surface-2); }
.way__body b .tag { font-size: 12px; margin: 0 0 0 6px; vertical-align: 1px; }
@media (max-width: 768px) { .way__price { align-items: flex-start; } }

/* --- личный кабинет, отслеживание, правовые страницы ------------------------------------ */
.hdr__lk { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; flex: none; margin-left: -12px; border: 1px solid var(--line); border-radius: 50%; color: var(--text-2); background: var(--surface); }
.hdr__lk:hover, .hdr__lk.is-in { color: var(--accent); border-color: var(--accent); text-decoration: none; }
.ftr__legal { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.msgs { margin: 0 0 20px; display: grid; gap: 8px; }
.note--err { background: var(--err-soft); color: var(--err); }
.note--ok { background: var(--ok-soft); color: var(--ok); }
.lk-narrow { max-width: 520px; }
.lk-narrow--wide { max-width: 760px; }
.lk-form { display: grid; gap: 16px; }
.lk-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 500; color: var(--muted); }
.lk-form .btn-main { justify-self: start; }
.lk-form label.lc-consent, .lc-consent { flex-direction: row; align-items: flex-start; gap: 10px; font-size: 14px; font-weight: 400; color: var(--text-2); line-height: 1.45; }
.lc-consent input { margin-top: 3px; flex: none; width: 16px; height: 16px; }
.lk-code { font-size: 24px; letter-spacing: .3em; max-width: 220px; font-variant-numeric: tabular-nums; }
.lk-marks { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.lk-user { display: flex; align-items: center; gap: 12px; }
.lk-list { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.lk-item { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; padding: 14px 18px; border-bottom: 1px solid var(--line-2); }
.lk-item:last-child { border-bottom: 0; }
.lk-item.is-done { opacity: .7; }
.lk-item__main { flex: 1 1 240px; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.lk-item__status { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.lk-item__act { display: flex; align-items: center; gap: 6px; }
.lk-item__act form { margin: 0; }
.trk__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 12px; }
.trk__head > div { display: flex; flex-direction: column; gap: 4px; }
.trk__status { font-size: 24px; letter-spacing: -.01em; }
.trk__bar { height: 8px; border-radius: 999px; background: var(--line-2); margin: 18px 0; overflow: hidden; }
.trk__bar i { display: block; height: 100%; background: var(--accent); border-radius: 999px; }
.trk__steps { list-style: none; margin: 0; padding: 0; }
.trk__steps li { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--line-2); }
.trk__steps li:last-child { border-bottom: 0; }
.trk__pickup { margin: 16px 0 0; font-size: 14px; color: var(--text-2); }
.legal h2 { font-size: 20px; margin: 28px 0 10px; }
.legal p, .legal li { font-size: 15px; }
.lc-cookie { position: fixed; z-index: 2147483000; left: 16px; bottom: 16px; max-width: 460px; display: flex; align-items: center; gap: 14px; padding: 12px 16px; background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); font-size: 13.5px; line-height: 1.45; }
.lc-cookie[hidden] { display: none; }
.lc-cookie p { margin: 0; flex: 1; min-width: 0; }
.lc-cookie a { color: inherit; text-decoration: underline; }
.lc-cookie__ok { flex: none; padding: 8px 14px; border: 0; border-radius: var(--r-sm); background: var(--accent); color: #fff; font: inherit; cursor: pointer; }
@media (max-width: 760px) { .lc-cookie { left: 8px; right: 8px; bottom: 8px; max-width: none; font-size: 12.5px; padding: 10px 12px; gap: 10px; } .lk-code { max-width: none; } }
@media print { .lc-cookie { display: none !important; } }
.nets__co { display: flex; align-items: center; gap: 12px; color: var(--text); }
.nets__co:hover { text-decoration: none; color: var(--accent); }
.nets__co > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.nets td { vertical-align: middle; }
.nets__act { white-space: nowrap; text-align: right; }
.nets__act a { margin-left: 16px; font-size: 14px; font-weight: 500; }
.nets__lbl { display: none; color: var(--muted); }
.crow.is-more { display: none; } .show-all > .crow.is-more { display: flex; }
.trk__kv { margin-top: 16px; border-top: 1px solid var(--line-2); }
@media (max-width: 1200px) { .hdr__lk { margin-left: auto; } .hdr .burger { margin-left: 0; } }
/* на телефонах и планшетах вход в кабинет — пунктом меню, в шапке только бутерброд */
.nav .nav__lk { display: none; }
@media (max-width: 1060px) { .hdr .hdr__lk { display: none; } .hdr .burger { margin-left: auto; } .nav .nav__lk { display: block; } }
@media (max-width: 760px) { .nets__lbl { display: inline; } .nets__act { text-align: left; padding-top: 8px !important; } .nets__act a { margin: 0 16px 0 0; } }

/* --- каталог компаний: фильтры слева, карточки ------------------------------------------ */
.cat { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 24px; align-items: start; margin-bottom: var(--block); }
.cat__side { display: grid; gap: 16px; }
.cat__side .panel { margin: 0; padding: 18px; }
.cat__filter { display: grid; gap: 12px; }
.cat__filter label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 500; color: var(--muted); }
.cat__nav details { border-bottom: 1px solid var(--line-2); }
.cat__nav details:last-child { border-bottom: 0; }
.cat__nav summary { cursor: pointer; padding: 10px 0; font-weight: 600; font-size: 15px; list-style: none; display: flex; justify-content: space-between; }
.cat__nav summary::after { content: "+"; color: var(--muted); font-weight: 400; }
.cat__nav details[open] summary::after { content: "–"; }
.cat__nav summary::-webkit-details-marker { display: none; }
.cat__nav ul { list-style: none; margin: 0 0 10px; padding: 0; }
.cat__nav li { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; font-size: 14px; }
.cat__nav li a { color: var(--text-2); } .cat__nav li a:hover, .cat__nav li a.on { color: var(--accent); }
.cat__nav li a.on { font-weight: 600; }
.cat__nav li span { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.cat__add { width: 100%; }
.cat__main .cblock-head { margin-bottom: 14px; }
.cocard { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; margin-bottom: 12px; }
.cocard:hover { border-color: var(--accent); }
.cocard__logo { width: 64px; height: 64px; border: 1px solid var(--line-2); border-radius: var(--r); display: flex; align-items: center; justify-content: center; overflow: hidden; background: #fff; color: var(--muted); font-weight: 700; font-size: 22px; }
.cocard__logo:hover { text-decoration: none; }
.cocard__logo img { max-width: 52px; max-height: 52px; object-fit: contain; }
.cocard__body { min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.cocard__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.cocard__name { font-size: 19px; font-weight: 700; color: var(--text); letter-spacing: -.01em; }
.cocard__rating { color: #b7791f; font-weight: 600; font-size: 14px; white-space: nowrap; } .cocard__rating span { color: var(--muted); font-weight: 400; }
.cocard__facts { display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 14px; color: var(--text-2); }
.cocard__facts span:not(:last-child)::after { content: "·"; margin: 0 8px; color: var(--muted); }
.cocard__facts .ok { color: var(--ok); }
.cocard__text { margin: 0; font-size: 14px; color: var(--text-2); line-height: 1.5; }
.cocard__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.cocard__tags a { font-size: 12.5px; padding: 3px 9px; border-radius: 999px; background: var(--surface-2); color: var(--text-2); border: 1px solid var(--line-2); }
.cocard__tags a.geo { background: var(--accent-soft); border-color: transparent; color: var(--accent); }
.cocard__tags a:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.cocard__side { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 12px; min-width: 190px; text-align: right; }
.cocard__price { display: flex; flex-direction: column; gap: 2px; } .cocard__price b { font-size: 22px; letter-spacing: -.01em; }
.cocard__act { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.geo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.geo-tile { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); color: var(--text); }
.geo-tile span { color: var(--muted); font-size: 13px; }
.geo-tile:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.lk-cats details { border-top: 1px solid var(--line-2); padding: 8px 0; } .lk-cats summary { cursor: pointer; font-weight: 600; font-size: 15px; color: var(--text); }
.lk-checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 6px 16px; padding: 10px 0 4px; }
.lk-form .lk-checks label { flex-direction: row; align-items: center; gap: 8px; font-size: 14px; font-weight: 400; color: var(--text-2); }
@media (max-width: 1000px) {
  .cat { grid-template-columns: 1fr; }
  .cat__nav details[open]:not(:focus-within) ul { max-height: 260px; overflow-y: auto; }
}
@media (max-width: 760px) {
  .cocard { grid-template-columns: 48px minmax(0, 1fr); gap: 12px; padding: 14px; }
  .cocard__logo { width: 48px; height: 48px; } .cocard__logo img { max-width: 40px; max-height: 40px; }
  .cocard__side { grid-column: 1 / -1; align-items: flex-start; text-align: left; min-width: 0; }
  .cocard__act { justify-content: flex-start; }
  .cocard__name { font-size: 17px; }
}

/* /points — вход в адреса */
.search-bar__alt { margin: 12px 0 0; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.net-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 12px; }
.net-tile { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); color: var(--text); }
.net-tile:hover { border-color: var(--accent); text-decoration: none; color: var(--text); }
.net-tile__logo { flex: 0 0 64px; height: 44px; display: flex; align-items: center; justify-content: center; }
.net-tile__logo img { max-width: 64px; max-height: 40px; object-fit: contain; }
.net-tile__txt { display: flex; flex-direction: column; min-width: 0; }
.net-tile__txt b { font-size: 16px; }
.net-tile__txt span { color: var(--muted); font-size: 13px; }

/* /delivery — расчёт стоимости */
.price-form__opts { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; margin-top: 14px; }
.price-form button.chip-link { cursor: pointer; font-family: inherit; }
.vol { margin-top: 14px; border-top: 1px solid var(--line-2); padding-top: 12px; }
.vol summary { cursor: pointer; color: var(--accent); font-size: 14px; font-weight: 500; }
.vol .form-row { margin-top: 12px; }
.vol__out { align-self: center; color: var(--ok); font-size: 14px; font-weight: 500; }
a.stat:hover { border-color: var(--accent); text-decoration: none; }
.price-h3 { font-size: 18px; margin: 24px 0 10px; scroll-margin-top: 80px; }
.price-h3 a { color: var(--text); }
.duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.duo .panel { margin: 0; }
.duo h3 { margin: 0 0 8px; font-size: 18px; }
.top3 { margin: 0 0 12px; padding-left: 22px; }
.top3 li { padding: 6px 0; }
.top3 li span { color: var(--muted); font-size: 14px; margin-left: 8px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.fact { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px 18px; }
.fact b { font-size: 16px; }
.fact p { margin: 6px 0 0; color: var(--text-2); font-size: 14px; line-height: 1.5; }
.show-m { display: none; }
@media (max-width: 768px) {
  .hide-m { display: none; }
  .show-m { display: inline; }
  .price-tbl th, .price-tbl td { padding: 10px 8px; }
  .price-tbl th { white-space: normal; }
}

/* отзывы /feedback */
.fb-head { display: flex; gap: 24px; align-items: flex-start; justify-content: space-between; }
.fb-head .btn-main { flex: none; margin-top: 6px; }
.fb-sum { display: grid; grid-template-columns: 190px minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px; align-items: center; }
.fb-sum__total { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.fb-sum__total b { font-size: 44px; line-height: 1; letter-spacing: -.02em; }
.fb-sum__total .stars-row { font-size: 20px; }
.fb-sum__total .tag { margin: 6px 0 0; }
.fb-sum__dist { display: grid; gap: 4px; }
.fb-bar { display: grid; grid-template-columns: 48px 1fr 32px; gap: 12px; align-items: center; font-size: 14px; color: var(--text-2); padding: 3px 6px; margin: 0 -6px; border-radius: var(--r-sm); }
.fb-bar b { text-align: right; font-variant-numeric: tabular-nums; }
.fb-bar:hover, .fb-bar.on { background: var(--accent-soft); color: var(--accent); text-decoration: none; }
.fb-sum__crit div { grid-template-columns: 170px 1fr 32px; }
.fb-active { margin-bottom: 14px; }
.fb-card { padding: 20px; margin-bottom: 12px; }
.fb-card__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.fb-card__co { display: inline-flex; align-items: center; gap: 10px; color: var(--text); min-width: 0; }
.fb-card__co img, .fb-card__co span { width: 36px; height: 36px; flex: none; border-radius: var(--r-sm); border: 1px solid var(--line-2); object-fit: contain; background: #fff; }
.fb-card__co span { display: inline-flex; align-items: center; justify-content: center; font-weight: 600; color: var(--muted); background: var(--surface-2); }
.fb-card__co b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fb-card__co:hover { text-decoration: none; } .fb-card__co:hover b { color: var(--accent); }
.fb-card__rate { flex: none; margin-left: auto; font-weight: 600; font-size: 14px; padding: 3px 10px; border-radius: 999px; background: var(--ok-soft); color: var(--ok); }
.fb-card__rate.fb-r3 { background: #FFF4DC; color: #A86B00; }
.fb-card__rate.fb-r1, .fb-card__rate.fb-r2 { background: var(--err-soft); color: var(--err); }
.fb-card__meta { margin-bottom: 6px; }
.fb-card__crit { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-bottom: 8px; }
.fb-card__text { line-height: 1.6; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.fb-card__text.open { display: block; -webkit-line-clamp: unset; }
.fb-card__more { margin-top: 6px; padding: 0; border: 0; background: none; color: var(--accent); font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; }
.fb-side li span { white-space: nowrap; }
.fb-cta { display: flex; gap: 20px; align-items: center; justify-content: space-between; margin-top: 16px; }
.fb-cta div { display: flex; flex-direction: column; gap: 4px; }
@media (max-width: 960px) { .fb-sum { grid-template-columns: 1fr 1fr; } .fb-sum__crit { grid-column: 1 / -1; } }
@media (max-width: 768px) {
  .fb-head, .fb-cta { flex-direction: column; align-items: stretch; }
  .fb-sum { grid-template-columns: 1fr; gap: 20px; }
  .fb-sum__crit div { grid-template-columns: 1fr 80px 28px; }
}

/* публикации */
.pub-meta { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; }
.pub-meta .tag { margin: 0; }
.pub-lead { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; color: inherit; margin-bottom: var(--gap); transition: border-color .15s, box-shadow .15s; }
.pub-lead:hover, .pub-card:hover { border-color: var(--accent); box-shadow: var(--shadow); text-decoration: none; color: inherit; }
.pub-lead__img, .pub-card__img { background: var(--surface-2); overflow: hidden; }
.pub-lead__img img, .pub-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.pub-lead:hover img, .pub-card:hover img { transform: scale(1.03); }
.pub-lead__img { aspect-ratio: 16 / 10; }
.pub-lead__body { padding: 32px; display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.pub-lead h2 { font-size: 28px; margin: 0; }
.pub-lead p { margin: 0; color: var(--text-2); line-height: 1.6; }
.pub-read { color: var(--accent); font-weight: 600; }
.pub-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); margin-bottom: var(--gap); }
.pub-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; color: inherit; transition: border-color .15s, box-shadow .15s; }
.pub-card__img { aspect-ratio: 16 / 9; }
.pub-card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; }
.pub-card h3 { font-size: 18px; margin: 0; line-height: 1.3; }
.pub-card p { margin: 0; color: var(--text-2); font-size: 15px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pub-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: var(--block); }
.pub-cta > div:first-child { display: flex; flex-direction: column; gap: 4px; }
.pub-cta b { font-size: 18px; }

.pub-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; margin: 20px 0 var(--block); }
.pub-article { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 40px 48px; }
.pub-article__head h1 { font-size: 36px; margin: 10px 0 24px; letter-spacing: -.02em; }
.pub-article__img { margin: 0 0 28px; border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 9; background: var(--surface-2); }
.pub-article__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pub-text { font-size: 18px; line-height: 1.75; color: var(--text-2); max-width: 720px; overflow-wrap: anywhere; }
.pub-text p { margin: 0 0 1.1em; }
.pub-text > p:first-child { font-size: 19px; color: var(--text); }
.pub-text img { max-width: 100% !important; height: auto !important; border-radius: var(--r); margin: 8px 0; float: none !important; }
.pub-text a { text-decoration: underline; text-underline-offset: 2px; }
.pub-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line-2); }
.pub-nav a { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: var(--r); color: var(--text); }
.pub-nav a:hover { border-color: var(--accent); text-decoration: none; }
.pub-nav b { font-size: 15px; line-height: 1.35; }
.pub-nav__next { text-align: right; grid-column: 2; }
.pub-side { display: grid; gap: 16px; }
.pub-side .panel { margin: 0; padding: 20px; }
.pub-side h3 { font-size: 17px; margin: 0 0 12px; }
.pub-fresh { display: flex; flex-direction: column; }
.pub-fresh > a:not(.small) { display: flex; flex-direction: column; gap: 2px; padding: 10px 0; border-bottom: 1px solid var(--line-2); color: var(--text); }
.pub-fresh > a:not(.small):hover b { color: var(--accent); }
.pub-fresh > a:hover { text-decoration: none; }
.pub-fresh b { font-size: 14px; font-weight: 600; line-height: 1.35; }
.pub-fresh > a.small { margin-top: 12px; }
@media (max-width: 1024px) {
  .pub-layout { grid-template-columns: 1fr; }
  .pub-side { position: static; }
  .pub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .pub-lead { grid-template-columns: 1fr; }
  .pub-lead__body { padding: 20px; }
  .pub-lead h2 { font-size: 22px; }
  .pub-grid { grid-template-columns: 1fr; gap: 16px; }
  .pub-cta { flex-direction: column; align-items: stretch; }
  .pub-article { padding: 20px 16px; border-radius: var(--r); }
  .pub-article__head h1 { font-size: 26px; }
  .pub-text { font-size: 17px; }
  .pub-text > p:first-child { font-size: 18px; }
  .pub-nav { grid-template-columns: 1fr; }
  .pub-nav__next { grid-column: auto; text-align: left; }
}
.pub-rate { display: flex; flex-direction: column; gap: 10px; color: var(--text); transition: border-color .15s, box-shadow .15s; }
.pub-rate:hover { border-color: var(--accent); box-shadow: var(--shadow); text-decoration: none; color: var(--text); }
.pub-rate__q { font-size: 17px; font-weight: 700; line-height: 1.3; }
.pub-rate ol { margin: 0; padding: 0; list-style: none; counter-reset: r; display: grid; gap: 8px; }
.pub-rate li { counter-increment: r; display: grid; grid-template-columns: 26px 1fr; column-gap: 8px; }
.pub-rate li::before { content: counter(r); grid-row: span 2; width: 26px; height: 26px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.pub-rate li:first-child::before { background: #F5A623; color: #fff; }
.pub-rate li b { font-size: 15px; line-height: 1.3; }
.pub-rate li span { font-size: 13px; color: var(--muted); }
.pub-dirs { display: flex; flex-direction: column; }
.pub-dirs > a:not(.small) { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line-2); font-size: 14px; color: var(--text-2); }
.pub-dirs > a:not(.small) b { color: var(--text); white-space: nowrap; }
.pub-dirs > a:not(.small):hover { color: var(--accent); text-decoration: none; }
.pub-dirs > a.small { margin-top: 12px; }

/* адреса больших сетей: поиск, регионы, алфавит */
.city-search { display: flex; gap: 10px; margin-bottom: 16px; max-width: 560px; }
.city-search input { flex: 1 1 auto; min-width: 0; }
.city-search .btn-sm { height: 46px; }
.city-search--big { max-width: none; padding: 16px; }
.reg-list { columns: 3 280px; column-gap: 32px; }
.reg-list a { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line-2); break-inside: avoid; color: var(--text-2); }
.reg-list a:hover { color: var(--accent); text-decoration: none; }
.reg-list a span:last-child { white-space: nowrap; font-variant-numeric: tabular-nums; }
.place-filter { max-width: 280px; height: 40px; }
.abc { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 16px; position: sticky; top: 64px; background: var(--bg); padding: 8px 0; z-index: 2; }
.abc a { min-width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); font-weight: 600; font-size: 14px; }
.abc a:hover { border-color: var(--accent); text-decoration: none; }
.abc-group { scroll-margin-top: 130px; }
.abc-group h3 { font-size: 20px; margin: 18px 0 6px; color: var(--accent); }
.abc-group[hidden], .abc-group a[hidden] { display: none !important; }
@media (max-width: 768px) { .city-search { flex-direction: column; } .place-filter { max-width: none; width: 100%; } }

/* пункты по пути на странице расстояния */
.stops__minor { display: none; }
.stops--all .stops__minor { display: table-row; }
.stops__region td { background: var(--surface-2); color: var(--muted); font-size: 13px; padding-top: 6px; padding-bottom: 6px; }
.stops__end td { font-weight: 600; }
.stops-toggle { margin: 8px 0 12px; font-size: 14px; }

/* варианты маршрута: с платными участками и без */
.ralts { display: grid; gap: 8px; margin: 16px 0; }
.ralt { display: grid; grid-template-columns: 28px 1fr auto; gap: 12px; align-items: center; padding: 12px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.ralt b { display: block; }
.ralt a.small { display: block; margin-top: 2px; }
.ralt__line { height: 4px; border-radius: 2px; background: #1250DF; }
.ralt--alt .ralt__line { background: repeating-linear-gradient(90deg, #8A94A6 0 6px, transparent 6px 10px); }
.ralt__num { text-align: right; white-space: nowrap; }
/* поездка по дням */
.days { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; }
.day { display: grid; grid-template-columns: 76px 1fr auto; gap: 12px; align-items: center; padding: 12px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.day__n { font-weight: 600; color: var(--accent); white-space: nowrap; }
.day__body b { display: block; }
.day__arr { text-align: right; white-space: nowrap; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.day__hotel { font-size: 13px; }
@media (max-width: 600px) { .day { grid-template-columns: 1fr auto; } .day__n { grid-column: 1 / -1; } }
.ralt__num span { font-size: 13px; color: var(--muted); }

/* --- цены на топливо (/fuel-prices) ---------------------------------------------------------- */
.fchart { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px 16px 8px; }
.fchart svg { display: block; overflow: visible; }
.fchart__legend { display: flex; flex-wrap: wrap; gap: 16px; font-size: 14px; color: var(--text-2); margin: 0 0 8px; }
.fchart__legend i, .fchart__tip i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: 0; }
.fchart__grid { stroke: var(--line-2); stroke-width: 1; }
.fchart__ax { font-size: 12px; fill: var(--muted); }
.fchart__end { font-size: 13px; font-weight: 600; fill: var(--text); }
.fchart__cross { stroke: var(--muted); stroke-width: 1; stroke-dasharray: 3 3; }
.fchart__tip { position: absolute; top: 40px; pointer-events: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 8px 12px; font-size: 13px; display: flex; flex-direction: column; gap: 2px; white-space: nowrap; }
.fprice { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); margin: 8px 0 24px; }
.fprice__it { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px 18px; font-size: 14px; color: var(--muted); display: flex; flex-direction: column; gap: 2px; }
.fprice__it b { font-size: 26px; color: var(--text); letter-spacing: -.02em; line-height: 1.2; }
.fprice__it a { color: inherit; }
.avail-tbl td.num { white-space: nowrap; }
.fprice--sm .fprice__it b { font-size: 20px; }
.tr-hl td { background: var(--ok-soft); }
.delta { font-variant-numeric: tabular-nums; white-space: nowrap; }
.delta--up { color: var(--err); }
.delta--down { color: var(--ok); }
.tbl tr.tbl__group td { background: var(--surface-2); font-weight: 600; color: var(--text-2); }
.tbl tr.is-me td { background: var(--accent-soft); }
.fsearch { max-width: 360px; margin: 0 0 12px; }
.fuel__wide { grid-column: 1 / -1; }
.fuel__note { margin: 12px 0 0; }
.fuel-route td.num b { color: var(--text); }
@media (max-width: 640px) { .tbl .hide-sm { display: none; } }

/* «Куда поехать из …» (/route/<город>) */
.way.dest { grid-template-columns: 1fr auto auto; }
.dest__modes { display: flex; flex-wrap: wrap; margin-top: 6px; }
.dest .way__price { display: flex; flex-direction: column; text-align: right; }
.dest .way__act { display: flex; gap: 8px; justify-content: flex-end; }
.dest .way__act .btn-sm { min-width: 0; }
#all summary { cursor: pointer; list-style: none; }
#all summary::-webkit-details-marker { display: none; }
#all summary h2::after { content: " +"; color: var(--muted); font-weight: 400; }
#all details[open] summary h2::after { content: " −"; }
@media (max-width: 768px) {
  .way.dest { grid-template-columns: minmax(0, 1fr); }
  .dest .way__price { grid-column: 1; flex-direction: row; align-items: baseline; gap: 8px; text-align: left; }
  .dest .way__act { grid-column: 1; justify-content: stretch; }
  .dest .way__act .btn-sm { flex: 1 1 0; width: auto; }
}

/* перелинковка направлений доставки */
.links-list { list-style: none; padding: 0; margin: 0; columns: 2 220px; column-gap: 24px; }
.links-list li { padding: 4px 0; break-inside: avoid; }
.sort-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: -12px 0 16px; color: var(--muted); }
.sort-row .chip-link.on { border-color: var(--accent); color: var(--accent); }
#route .route-map { height: 380px; }
/* прайс-лист направления /delivery/a/b: одна строка на компанию */
.qlist { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.qlist > .small { margin: 0; padding: 10px 16px; border-top: 1px solid var(--line-2); background: var(--surface-2); }
.qrow { display: grid; grid-template-columns: 40px minmax(150px, 1.1fr) minmax(0, 1.4fr) 120px 130px; gap: 14px; align-items: center;
  padding: 8px 16px; border-top: 1px solid var(--line-2); border-left: 3px solid transparent; }
.qrow:first-child { border-top: 0; }
.qrow.is-cheap { border-left-color: var(--ok); }
.qrow:hover { background: var(--surface-2); }
.qrow__logo { width: 40px; height: 40px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: #fff; display: flex; align-items: center;
  justify-content: center; overflow: hidden; color: var(--muted); font-weight: 700; }
.qrow__logo img { max-width: 32px; max-height: 32px; object-fit: contain; }
.qrow__co { display: flex; flex-direction: column; line-height: 1.3; }
.qrow__co a b { color: var(--text); } .qrow__co a:hover b { color: var(--accent); }
.qrow__rate { font-size: 13px; color: var(--muted); } .qrow__rate:hover { text-decoration: none; color: var(--accent); }
.qrow__tariff { color: var(--text-2); font-size: 14px; }
.qrow__days { font-size: 14px; color: var(--text-2); display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.qrow__price { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.qrow__price b { font-size: 18px; letter-spacing: -.01em; white-space: nowrap; }
.qrow .tag { margin: 0; font-size: 12px; padding: 0 8px; }
@media (max-width: 768px) {
  .qrow { grid-template-columns: 36px minmax(0, 1fr) auto; grid-template-areas: "logo co price" "logo tariff price" "logo days days"; gap: 2px 12px; padding: 10px 12px; }
  .qrow__logo { grid-area: logo; width: 36px; height: 36px; align-self: start; } .qrow__co { grid-area: co; } .qrow__tariff { grid-area: tariff; font-size: 13px; }
  .qrow__days { grid-area: days; flex-direction: row; gap: 6px; font-size: 13px; } .qrow__price { grid-area: price; }
}

/* «Где заправиться по пути»: площадки, фильтр топлива, режим «все» (research/25_ROADSIDE_UX.md) */
.rs-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 12px 0; }
.rs-all { font-size: 14px; color: var(--text-2); display: inline-flex; gap: 6px; align-items: center; }
.azs-now { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 4px; }
.azs-now .tag { margin: 0; }
.rs-now { padding: 10px 14px; border-radius: var(--r); background: var(--ok-soft); }
.rs-tbl td .tag { margin: 2px 0 2px 6px; }
.rs-tbl tbody tr:hover td { background: var(--surface-2); }
.show-sm { display: none; }
@media (max-width: 640px) { .tbl .show-sm { display: block; } }

/* Формы сообщений: /contacts, /report */
.fb-form { margin-top: 8px; }
.fb-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .fb-row { grid-template-columns: 1fr; } }
.fb-trap { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.smart-captcha { min-height: 102px; }
