/* Зентум.Сервис — «Квитанция мастерской». Токены и размеры — из README пакета макета. */
:root {
  --ink: #14202E;
  --ink-2: #3A4757;
  --muted: #56657A;
  --navy: #1C3D6E;
  --orange: #F58220;
  --orange-hover: #E6761A;
  --stamp: #B0540A;          /* в макете #C45E10: контраст 4,2 — поднят до 5,1 */
  --promo: #B0540A;
  --rule: #DCE1E7;
  --rule-soft: #E6E9ED;
  --rule-strong: #14202E;
  --dots: #9AA5B3;
  --frame: #CBD2DA;
  --frame-bg: #EEF1F4;
  --band: #F4F6F8;
  --ok: #1F6B3A;
  --bg: #FFFFFF;
  --gutter: clamp(20px, 4.5vw, 64px);
  --sans: "Onest", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", "Consolas", "Menlo", monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
h1, h2, h3 { color: var(--navy); margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
[hidden] { display: none !important; }

.site-header, main, .site-footer { max-width: 1440px; margin-inline: auto; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.muted-2 { color: var(--ink-2); }
.strong-link { font-weight: 600; }
.more { display: inline-block; margin-top: 18px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 50; background: #fff; padding: 8px 12px; }

/* ---------- кнопки и поля ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 2px;
  font: 600 17px/1.2 var(--sans);
  padding: 14px 26px;
  border-radius: 3px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}
.btn-call { background: var(--orange); color: var(--ink); }
.btn-call:hover { background: var(--orange-hover); color: var(--ink); }
.btn-outline { background: #fff; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--band); color: var(--navy); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: #15305A; color: #fff; }
.btn-lg { font-size: 19px; padding: 18px 34px; }
input {
  font: inherit;
  color: var(--ink);
  border: 1px solid var(--dots);
  border-radius: 3px;
  background: #fff;
}
input:focus { outline: 2px solid var(--navy); outline-offset: -1px; }

/* ---------- шапка ---------- */
.site-header {
  position: relative;
  display: flex; align-items: center;
  gap: clamp(16px, 3vw, 44px);
  padding: clamp(12px, 1.6vw, 22px) var(--gutter);
  border-bottom: 1px solid var(--rule);
  background: #fff;
}
.logo {
  display: flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: clamp(20px, 1.8vw, 25px); letter-spacing: -0.02em;
  text-decoration: none; white-space: nowrap; color: var(--ink);
}
.logo img { width: 30px; height: 30px; }
.zen { color: var(--navy); }
.tum { color: var(--orange); }
.logo__svc { color: var(--ink); font-weight: 500; }
.nav-main { display: flex; gap: 28px; font-size: 16px; }
.nav-main a { color: var(--ink); text-decoration: none; white-space: nowrap; padding: 4px 0; border-bottom: 2px solid transparent; }
.nav-main a[aria-current="page"], .nav-main a:hover { border-bottom-color: var(--navy); }
.head-contact { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.head-phone { font-family: var(--mono); font-weight: 700; font-size: clamp(14px, 1.25vw, 18px); color: var(--ink); text-decoration: none; white-space: nowrap; }
.head-status { font-family: var(--mono); font-size: 13px; color: var(--muted); white-space: nowrap; }
.head-call { font-size: 16px; padding: 12px 22px; }
.menu { display: none; }
.menu summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  min-width: 64px; height: 44px; padding: 0 12px;
  border: 1px solid var(--dots); border-radius: 3px;
  font-size: 13px; font-weight: 600;
}
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { border-color: var(--navy); }
.menu__list {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 20;
  display: flex; flex-direction: column;
  padding: 4px var(--gutter) 12px;
  background: #fff; border-bottom: 1.5px solid var(--rule-strong);
}
.menu__list a { color: var(--ink); text-decoration: none; font-size: 18px; padding: 13px 0; border-bottom: 1px solid var(--rule-soft); }

@media (max-width: 1099px) {
  .nav-main { display: none; }
  .menu { display: block; }
}

/* ---------- строка прайса ---------- */
.prow {
  display: flex; align-items: flex-end; gap: 8px;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule-soft);
  font-size: 17px; line-height: 1.4;
  color: var(--ink); text-decoration: none;
}
a.prow:hover .prow__name { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.prow__name { flex: 0 1 auto; min-width: 0; overflow-wrap: anywhere; hyphens: auto; }
.prow__dots { flex: 1 1 28px; min-width: 18px; border-bottom: 2px dotted var(--dots); margin-bottom: 6px; }
.prow__price {
  display: flex; flex-direction: column; align-items: flex-end;
  font-family: var(--mono); font-variant-numeric: tabular-nums; font-weight: 500; white-space: nowrap;
}
.prow__price s { font-size: 13px; color: var(--muted); font-weight: 400; }
.promo { color: var(--promo); font-weight: 700; }
.prow--board { font-size: 16px; padding: 10px 0; line-height: 1.35; }
.prow--sm { font-size: 15px; padding: 8px 0; line-height: 1.35; }
.prow--md { font-size: 18px; padding: 14px 0; }
.prow--lg { font-size: clamp(19px, 1.5vw, 21px); padding: 14px 0; }
.prow--terms { font-size: 18px; padding: 14px 0; }
.prow--terms .prow__price { font-size: 16px; }
.table-rows { border-top: 1.5px solid var(--rule-strong); }

/* ---------- штамп ---------- */
.stamp {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  transform: rotate(-4deg);
  border: 3px solid var(--stamp);
  box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 4.5px var(--stamp);
  background: #fff;
  color: var(--stamp);
  padding: 12px 20px;
  text-align: center;
}
.stamp__top { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: 0.2em; }
.stamp__top img { width: 22px; height: 22px; }
.stamp__val { font-size: 40px; font-weight: 800; line-height: 1; letter-spacing: -0.02em; }
.stamp__note { font-family: var(--mono); font-size: 12px; border-top: 1.5px solid var(--stamp); margin-top: 6px; padding-top: 5px; }
.stamp--hero { position: absolute; top: -40px; left: -72px; z-index: 2; }
.stamp--inline { flex: none; margin-left: 12px; }

/* ---------- первый экран ---------- */
.hero {
  display: flex; flex-wrap: wrap;
  gap: clamp(56px, 6.6vw, 96px);
  padding: clamp(28px, 5.5vw, 80px) var(--gutter) clamp(48px, 6.6vw, 96px);
}
.hero__text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: clamp(16px, 2.2vw, 32px); padding-top: clamp(0px, 1.6vw, 24px); }
.hero__addr { font-size: 14px; }
.hero__h1 { font-size: clamp(44px, 6.7vw, 96px); line-height: 0.98; font-weight: 700; letter-spacing: -0.035em; }
.hero__lead { font-size: clamp(17px, 1.5vw, 21px); line-height: 1.5; max-width: 30ch; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.hero__phone { font-size: clamp(18px, 1.55vw, 22px); font-weight: 500; color: var(--ink); text-decoration: none; }
.status-mini { margin-top: clamp(8px, 2.8vw, 40px); padding-top: 24px; border-top: 1px solid var(--rule); display: flex; flex-direction: column; gap: 12px; max-width: 520px; }
.status-mini label { font-size: 16px; font-weight: 600; }
.field-row { display: flex; }
.field-row input { flex: 1; min-width: 0; height: 50px; padding: 0 16px; font-family: var(--mono); font-size: 16px; border-right: none; border-radius: 3px 0 0 3px; }
.field-row .btn { border-radius: 0 3px 3px 0; height: 50px; padding: 0 20px; font-size: 16px; }
.hero__board { flex: 0 1 580px; min-width: 0; position: relative; }
.board { border: 1.5px solid var(--rule-strong); padding: 76px 36px 28px; }
.board__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 14px; border-bottom: 1.5px solid var(--rule-strong); }
.board__head .mono { font-size: 13px; }
.board__title { font-size: 20px; font-weight: 700; color: var(--navy); }
.board__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 16px; padding-top: 16px; font-size: 14px; }
.board__foot a { white-space: nowrap; font-weight: 600; }

@media (max-width: 1179px) {
  .stamp--hero { top: -30px; left: auto; right: -6px; padding: 6px 12px; }
  .stamp--hero .stamp__top img { display: none; }
  .stamp--hero .stamp__val { font-size: 26px; }
}

/* ---------- секции ---------- */
.sec {
  display: flex; flex-wrap: wrap;
  gap: clamp(24px, 6.6vw, 96px);
  padding: clamp(48px, 6vw, 88px) var(--gutter);
  border-top: 1px solid var(--rule);
}
.sec__head { flex: 1 1 280px; max-width: 380px; display: flex; flex-direction: column; gap: 14px; }
.sec__head p { font-size: 18px; color: var(--ink-2); max-width: 28ch; }
.sec__body { flex: 999 1 560px; min-width: 0; }
.sec h2, .split h2 { font-size: clamp(32px, 3.3vw, 48px); line-height: 1.05; letter-spacing: -0.025em; }
.h-small { font-size: 22px; }

.search { display: flex; align-items: stretch; }
.search input { flex: 1; min-width: 0; height: 64px; padding: 0 20px; border: 1.5px solid var(--rule-strong); border-right: none; border-radius: 0; font-size: clamp(16px, 1.3vw, 19px); }
.search .btn { border-radius: 0; padding: 0 clamp(16px, 2.2vw, 32px); }
.search--page { max-width: 880px; margin-top: 10px; }
.search--page input { height: 60px; font-size: 18px; }
.hints { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: baseline; font-size: 15px; margin-top: 12px; }
.hint { color: var(--navy); text-decoration: none; border-bottom: 1px dashed var(--navy); padding: 2px 0; }
.live { margin-top: 24px; }
.live__head { display: flex; justify-content: space-between; padding-bottom: 10px; border-bottom: 1.5px solid var(--rule-strong); font-size: 13px; color: var(--muted); }
.dirs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); column-gap: 64px; row-gap: 44px; margin-top: 32px; }
.dir { display: flex; flex-direction: column; border-top: 1.5px solid var(--rule-strong); padding-top: 16px; }
.dir__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 6px; color: var(--ink); text-decoration: none; }
.dir__head .mono { font-size: 14px; white-space: nowrap; }
.dir__name { font-size: 21px; font-weight: 600; }
.dir__all { margin-top: 12px; font-size: 15px; font-weight: 600; }

.receipt { border-top: 1.5px solid var(--rule-strong); }
.rrow { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 24px; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.rrow__no { flex: 0 0 40px; font-size: 15px; color: var(--muted); }
.rrow__t { flex: 1 0 200px; font-size: 21px; font-weight: 600; }
.rrow__d { flex: 1000 1 300px; font-size: 17px; line-height: 1.5; color: var(--ink-2); }
.rrow__v { flex: 0 0 auto; min-width: 110px; text-align: right; font-size: 16px; font-weight: 500; }

.frame { background: var(--frame-bg); border: 1px solid var(--frame); display: flex; align-items: flex-end; padding: 18px; text-decoration: none; }
.frame span { font-size: 13px; line-height: 1.5; color: var(--muted); }
.master__photo { flex: 1 1 280px; max-width: 380px; aspect-ratio: 4 / 5; object-fit: cover; }
.master__text { flex: 999 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 22px; justify-content: center; }
.master__who { display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: baseline; }
.master__who .mono { font-size: 16px; }
.master__name { font-size: 26px; font-weight: 600; }
.master__quote { margin: 0; border-top: 1px solid var(--rule); padding-top: 22px; font-size: clamp(20px, 1.8vw, 26px); line-height: 1.45; max-width: 36ch; }

.rating { display: flex; align-items: baseline; gap: 14px; }
.rating__val { font-size: clamp(48px, 4.4vw, 64px); font-weight: 700; line-height: 1; }
.rating span:last-child { font-size: 16px; color: var(--ink-2); }
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); column-gap: 64px; row-gap: 40px; }
.review { margin: 0; display: flex; flex-direction: column; gap: 14px; border-top: 1px solid var(--rule); padding-top: 20px; }
.review blockquote { margin: 0; font-size: 18px; line-height: 1.55; max-width: 44ch; }
.review figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; font-size: 15px; }
.review__author { font-weight: 600; }

.sec--split { gap: clamp(48px, 6.6vw, 96px); }
.split { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.coupons { display: flex; flex-direction: column; gap: 16px; }
.coupon { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 18px; padding: 18px 20px; border: 1.5px dashed var(--dots); color: var(--ink); text-decoration: none; }
.coupon:hover { border-color: var(--navy); color: var(--ink); }
.coupon__name { flex: 1 1 220px; font-size: 19px; font-weight: 600; }
.coupon s { font-size: 15px; color: var(--muted); }
.coupon__price { font-size: 24px; font-weight: 700; color: var(--promo); }
.coupon__meta { flex: 1 0 100%; display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }

.prose { display: flex; flex-direction: column; gap: 16px; font-size: 19px; line-height: 1.55; max-width: 62ch; }
.band { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 32px; padding: 36px var(--gutter); border-top: 1px solid var(--rule); background: var(--band); }
.band__title { font-size: 21px; font-weight: 600; }
.band__text { flex: 1 1 360px; font-size: 18px; color: var(--ink-2); }

.faq { border-top: 1.5px solid var(--rule-strong); }
.faq__item { border-bottom: 1px solid var(--rule); }
.faq__item summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 20px 0; font-size: clamp(18px, 1.4vw, 20px); font-weight: 600;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; flex: none; font-family: var(--mono); font-size: 24px; font-weight: 400; color: var(--navy); }
.faq__item[open] summary::after { content: "−"; }
.faq__a { padding-bottom: 22px; font-size: 17px; line-height: 1.6; color: var(--ink-2); max-width: 62ch; }
.faq__a p { margin: 0; }

.where__addr { font-size: 21px; line-height: 1.45; font-weight: 600; }
.where p { font-size: 17px; max-width: 30ch; }
.where__hours { display: flex; flex-direction: column; font-size: 16px; line-height: 1.7; border-top: 1px solid var(--rule); padding-top: 14px; }
.where .btn { align-self: flex-start; margin-top: 6px; }
.where__media { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px; }
.frame--map, .frame--photo { min-height: 360px; }

.empty { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--rule-soft); }
.empty img { width: 64px; height: 64px; object-fit: contain; }
.empty--big img { width: 88px; height: 88px; }
.empty__text { flex: 1 1 260px; font-size: 18px; line-height: 1.5; }

/* ---------- прайс ---------- */
.page-head { padding: clamp(28px, 4.4vw, 64px) var(--gutter) 24px; display: flex; flex-direction: column; gap: 18px; }
.page-head--row { flex-direction: row; flex-wrap: wrap; align-items: flex-end; gap: 12px 48px; }
.page-head h1, .status-lead h1, .dir-hero h1, .svc-hero h1, .rate h1, .notfound h1 {
  font-size: clamp(40px, 4.8vw, 68px); line-height: 1; letter-spacing: -0.03em;
}
.lead { font-size: 18px; line-height: 1.55; color: var(--ink-2); max-width: 60ch; }
.price-layout { display: flex; flex-wrap: wrap; align-items: flex-start; gap: clamp(24px, 4.4vw, 64px); padding: 16px var(--gutter) clamp(56px, 6vw, 96px); }
.price-filter { flex: 1 1 260px; max-width: 300px; position: sticky; top: 24px; display: flex; flex-direction: column; gap: 18px; }
.chips { display: flex; flex-direction: column; gap: 6px; }
.chip {
  display: flex; justify-content: space-between; align-items: baseline; gap: 14px;
  padding: 10px 12px; border: 1px solid var(--rule); border-radius: 3px;
  color: var(--ink); text-decoration: none; font-size: 16px; font-weight: 600;
}
.chip .mono { font-size: 13px; font-weight: 400; }
.chip--on { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip--on:hover { color: #fff; }
.price-note { font-size: 14px; line-height: 1.5; color: var(--muted); border-top: 1px solid var(--rule); padding-top: 14px; }
.price-list { flex: 999 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 40px; }
.pgroup__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 10px; border-bottom: 1.5px solid var(--rule-strong); }
.pgroup__head a { font-size: 24px; font-weight: 700; color: var(--navy); text-decoration: none; }
.pgroup__head .mono { font-size: 13px; white-space: nowrap; }
.psec__title { font-size: 13px; color: var(--muted); padding: 18px 0 4px; }

/* ---------- направление и услуга ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; padding: 20px var(--gutter) 0; font-size: 13px; color: var(--muted); }
.dir-hero, .svc-hero { display: flex; flex-wrap: wrap; gap: clamp(40px, 6.6vw, 96px); padding: clamp(20px, 3vw, 40px) var(--gutter) clamp(48px, 6vw, 88px); }
.dir-hero__text, .svc-hero__text { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.dir-hero h1, .svc-hero h1 { font-size: clamp(36px, 4.4vw, 64px); line-height: 1.02; }
.dir-hero__top, .svc-hero__incl { flex: 0 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.svc-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 18px; padding: 20px 0; border-top: 1.5px solid var(--rule-strong); border-bottom: 1px solid var(--rule); }
.svc-price s { color: var(--muted); font-size: 18px; }
.svc-price__val { font-size: clamp(40px, 4vw, 56px); font-weight: 700; line-height: 1; letter-spacing: -0.02em; }
.svc-price__note { font-size: 15px; flex-basis: 100%; }
.cta-stamp { align-items: center; }
.cta-stamp__text { flex: 1 1 380px; display: flex; flex-direction: column; gap: 10px; max-width: 56ch; }
.cta-stamp__text p { font-size: 18px; }
.cta-stamp__text .btn { align-self: flex-start; margin-top: 8px; }
.psec + .psec { margin-top: 8px; }

/* ---------- статус ремонта ---------- */
.status-layout { display: flex; flex-wrap: wrap; align-items: flex-start; gap: clamp(32px, 6.6vw, 96px); padding: clamp(28px, 4.4vw, 64px) var(--gutter) clamp(56px, 6vw, 96px); }
.status-lead { flex: 1 1 320px; max-width: 420px; display: flex; flex-direction: column; gap: 18px; }
.status-call { font-size: 16px; border-top: 1px solid var(--rule); padding-top: 16px; }
.status-box { flex: 999 1 560px; min-width: 0; border: 1.5px solid var(--rule-strong); padding: clamp(20px, 2.5vw, 36px); display: flex; flex-direction: column; gap: 20px; }
.status-form { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; }
.field { flex: 1 1 220px; display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; }
.field input { height: 50px; padding: 0 14px; font-size: 17px; }
#st-q { font-family: var(--mono); }
.status-form .btn { height: 52px; }
.status-hint { font-size: 16px; color: var(--muted); padding-top: 20px; border-top: 1px solid var(--rule); }
.status-hint--warn { color: var(--ink-2); border-left: 3px solid var(--stamp); border-top: none; padding: 6px 0 6px 14px; }
.orders { width: 100%; border-collapse: collapse; border-top: 1.5px solid var(--rule-strong); }
.orders th { font: 400 12px var(--mono); color: var(--muted); text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--rule); }
.orders td { padding: 16px 12px 16px 0; border-bottom: 1px solid var(--rule); font-size: 17px; vertical-align: baseline; }
.orders .num { text-align: right; padding-right: 0; }
.orders__status { font-weight: 600; color: var(--navy); }
.ls-fallback iframe { width: 100%; display: block; border: 0; }

/* ---------- товары, статьи, простые страницы ---------- */
.goods { padding: 0 var(--gutter) clamp(56px, 6vw, 96px); }
.goods__head { display: grid; grid-template-columns: minmax(0, 1fr) 140px 130px 280px; gap: 24px; padding: 10px 0; border-bottom: 1.5px solid var(--rule-strong); font-size: 12px; color: var(--muted); }
.goods__head .num { text-align: right; }
.grow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.grow__name { flex: 1 1 320px; min-width: 0; font-size: 18px; line-height: 1.4; }
.grow__stock { flex: 0 0 140px; display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--muted); }
.grow__stock i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.grow__stock--ok { color: var(--ok); }
.grow__price { flex: 0 0 130px; font-size: 19px; font-weight: 500; text-align: right; }
.grow__actions { flex: 0 0 280px; display: flex; gap: 8px; }
.grow__actions .btn { flex: 1; font-size: 15px; padding: 11px 0; }
.articles { padding: 0 var(--gutter) clamp(56px, 6vw, 96px); border-top: 1.5px solid var(--rule-strong); margin-inline: var(--gutter); padding-inline: 0; }
.arow { display: grid; grid-template-columns: 150px minmax(0, 1fr) 80px; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--rule); color: var(--ink); text-decoration: none; }
.arow .mono { font-size: 13px; }
.arow__main { display: flex; flex-direction: column; gap: 6px; }
.arow__title { font-size: 21px; font-weight: 600; }
.arow:hover .arow__title { color: var(--navy); text-decoration: underline; }
.arow__excerpt { font-size: 16px; color: var(--ink-2); }
.article { max-width: 760px; padding: clamp(24px, 3vw, 40px) var(--gutter) clamp(56px, 6vw, 88px); display: flex; flex-direction: column; gap: 20px; }
.article h1 { font-size: clamp(34px, 3.9vw, 56px); line-height: 1.05; letter-spacing: -0.03em; }
.article__meta { display: flex; gap: 18px; font-size: 13px; }
.article__body { font-size: 19px; line-height: 1.65; max-width: 680px; }
.article__body h2 { font-size: 28px; margin-top: 12px; }
.article__body ul, .article__body ol { margin: 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: 8px; }
.article__cta { border-top: 1.5px solid var(--rule-strong); padding-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; font-size: 18px; }
.rate { max-width: 760px; padding: clamp(40px, 6.6vw, 96px) var(--gutter); display: flex; flex-direction: column; gap: 28px; }
.rate img { width: 56px; height: 56px; }
.rate .btn { align-self: flex-start; }
.rate__call { display: flex; flex-direction: column; gap: 8px; margin-top: 28px; padding-top: 24px; border-top: 1.5px solid var(--rule-strong); font-size: 17px; color: var(--ink-2); }
.rate__call-title { font-size: 20px; font-weight: 600; color: var(--ink); }
.rate__phone { font-size: clamp(22px, 2vw, 28px); font-weight: 700; color: var(--ink); text-decoration: none; margin-top: 10px; }
.notfound { display: flex; flex-wrap: wrap; align-items: center; gap: 40px; padding: clamp(40px, 6vw, 88px) var(--gutter); }
.notfound img { width: 240px; height: 240px; }
.notfound__text { flex: 1 1 360px; display: flex; flex-direction: column; gap: 18px; }
.notfound__links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }

/* ---------- подвал и нижняя панель ---------- */
.site-footer {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(24px, 3.3vw, 48px);
  padding: 56px var(--gutter) 40px;
  border-top: 1.5px solid var(--rule-strong);
  font-size: 15px; line-height: 1.7;
}
.foot-col { display: flex; flex-direction: column; gap: 2px; }
.foot-logo { font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.foot-phone { font-family: var(--mono); font-size: 17px; font-weight: 700; color: var(--ink); text-decoration: none; }
.foot-links { display: flex; flex-wrap: wrap; column-gap: 14px; }
.foot-title { font-weight: 600; margin-bottom: 6px; }
.foot-bottom { grid-column: 1 / -1; border-top: 1px solid var(--rule); padding-top: 18px; font-size: 13px; color: var(--muted); }
.foot-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.foot-login { color: var(--muted); text-decoration: none; }
.foot-login:hover { color: var(--navy); text-decoration: underline; }
.login {
  width: min(420px, calc(100% - 32px));
  padding: 28px;
  border: 1.5px solid var(--rule-strong);
  border-radius: 0;
  color: var(--ink);
}
.login::backdrop { background: rgba(20, 32, 46, 0.45); }
.login__form { display: flex; flex-direction: column; gap: 16px; }
.login h2 { font-size: 26px; letter-spacing: -0.02em; }
.login .field { flex: none; }  /* правило .field из формы статуса растягивало поля по высоте */
.login .field input { height: 48px; padding: 0 14px; font-size: 17px; }
.login__error { color: var(--stamp); font-size: 15px; }
.login__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.bottom-bar { display: none; }
.cookie {
  position: fixed; left: 16px; bottom: 16px; z-index: 40; max-width: 420px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px;
  padding: 14px 16px; background: #fff; border: 1.5px solid var(--rule-strong);
  font-size: 14px; line-height: 1.45;
}
.cookie p { flex: 1 1 240px; }
.cookie .btn { padding: 8px 16px; font-size: 14px; }

/* ---------- телефон ---------- */
@media (max-width: 759px) {
  body { font-size: 16px; }
  .head-call, .head-status { display: none; }
  .site-header { gap: 10px; padding-inline: 16px; }
  .logo__svc { display: none; }
  .menu summary { min-width: 52px; padding: 0 10px; }
  .hide-mobile { display: none !important; }
  .board { padding: 68px 16px 16px; }
  .bottom-bar {
    display: grid; grid-template-columns: 1.6fr 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: 10px 12px calc(12px + env(safe-area-inset-bottom, 0px));
    background: #fff; border-top: 1px solid var(--rule);
  }
  .bottom-bar .btn { height: 54px; padding: 0 12px; }
  .bottom-bar .btn-call { flex-direction: column; line-height: 1.1; }
  .bottom-bar small { font: 400 12px var(--mono); }
  .site-footer { padding-bottom: 120px; }
  body.has-cookie .site-footer { padding-bottom: 230px; }  /* пока видно уведомление о cookies, низ подвала не закрыт */
  .btn-lg { white-space: normal; text-align: center; }
  .cookie { left: 12px; right: 12px; bottom: 90px; max-width: none; padding: 10px 12px; gap: 8px 12px; font-size: 13px; }
  .cookie p { flex-basis: 200px; }
  .price-filter { position: static; max-width: none; }
  .chips { flex-direction: row; flex-wrap: wrap; }
  .search input { height: 56px; padding: 0 14px; }
  .orders thead { display: none; }
  .orders, .orders tbody, .orders tr, .orders td { display: block; width: 100%; }
  .orders tr { padding: 6px 0; border-bottom: 1px solid var(--rule); }
  .orders td { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border: 0; text-align: right; }
  .orders td::before { content: attr(data-label); font: 400 13px var(--mono); color: var(--muted); text-align: left; }
  .goods__head { display: none; }
  .grow__stock, .grow__price { flex: 0 0 auto; }
  .grow__actions { flex: 1 1 100%; }
  .arow { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .notfound img { width: 160px; height: 160px; }
}
@media (max-width: 379px) {
  .logo__word { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
}
