:root{--bg:#170b04;--surface:#2c2119;--surface2:#3a2f27;--fg:#eae3de;--muted:#9e958f;--faint:#6e655f;--accent:#a2683b;--accent-hover:#824b1c;--accent-50:#381e09;--font-head:'Playfair Display', Georgia, 'Times New Roman', serif;--font-body:'Golos Text', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;--head-weight:700;--radius:2px;--container:1140px;--header-h:64px;--text-size:17.5px;--line-h:1.58;--gap:1.5rem;--sec-pad:3.25rem;--radius-sm:12px;--btn-radius:12px;--shadow:0 1px 2px rgba(15,23,42,.06)}

*,
*::before,
*::after { box-sizing: border-box; }

[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  font-variant-numeric: lining-nums;
}

img { max-width: 100%; height: auto; }

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.ped69c {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 10;
  padding: 10px 16px;
  background: var(--surface);
  color: var(--fg);
}
.ped69c:focus { top: 12px; }

.p9c359 {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- шапка: название номера и рубрики ---------- */

.p879c9 { border-bottom: 1px solid var(--surface2); }

.p59149 {
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding-top: 26px;
  padding-bottom: 18px;
}

.p9d32a {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 34px;
  line-height: 1.1;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.p3f096 {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.p27821 {
  margin-left: auto;
  display: flex;
  gap: 8px;
  align-self: center;
}

.pf253e {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--surface2);
  border-radius: var(--radius);
  background: transparent;
  color: var(--fg);
  font: inherit;
  font-size: 16px;
  cursor: pointer;
}
.pf253e:hover { border-color: var(--accent); }

.p84b7c { display: none; }

.pf209b { border-top: 1px solid var(--surface2); }

.pbca84 {
  display: flex;
  flex-wrap: wrap;
  gap: 0 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.p5df6f {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  font-size: 16px;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.p5df6f:hover { border-bottom-color: var(--surface2); }
.p5df6f[aria-current="page"] { border-bottom-color: var(--accent); }

/* ---------- крошки ---------- */

.p47fb1 { margin: 16px 0 0; }

.p2cdf2 {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 15px;
}
.p2cdf2 li + li::before {
  content: "/";
  padding: 0 10px;
  color: var(--surface2);
}
.p2cdf2 li { display: inline-flex; align-items: center; min-height: 44px; }
.p2cdf2 a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}
.p2cdf2 a:hover { color: var(--fg); text-decoration: underline; text-decoration-color: var(--accent); }

/* ---------- материал ---------- */

.pe2ced { padding-bottom: 24px; }

.p7e2e3,
.pf3005 {
  font-family: var(--font-head);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.012em;
  margin: 20px 0 36px;
  max-width: 20ch;
  text-wrap: balance;
}
.p7e2e3 { font-size: clamp(36px, 5.2vw, 62px); }
.pf3005 { font-size: clamp(40px, 6.2vw, 78px); margin-top: 48px; max-width: 16ch; }

.pb3bed {
  margin: -16px 0 32px;
  color: var(--muted);
  font-size: 15px;
}

.p1974a {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  align-items: start;
}
.pd4e23 { grid-column: 1 / span 7; min-width: 0; }
.p8e555 { grid-column: 9 / span 4; min-width: 0; }

/* ---------- текст ---------- */

.p1ed47 { max-width: 68ch; }

.p1ed47 > p:first-of-type:not(:has(> strong:only-child)) {
  font-size: 1.3em;
  line-height: 1.45;
}

/* «<p><strong>Стоимость работ</strong></p>» в архиве — это подзаголовок */
.p1ed47 > p:has(> strong:only-child) {
  margin: 1.6em 0 0.6em;
  font-size: 20px;
  line-height: 1.35;
}

.p1ed47 p { margin: 0 0 1em; }

.p1ed47 h2 {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 30px;
  line-height: 1.2;
  margin: 1.8em 0 0.6em;
}

.p1ed47 h3,
.p1ed47 h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.35;
  margin: 1.6em 0 0.5em;
}

.p1ed47 a {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.p1ed47 a:hover { text-decoration-color: var(--fg); }

.p1ed47 ul,
.p1ed47 ol { padding-left: 1.2em; margin: 0 0 1em; }
.p1ed47 li { margin-bottom: 0.35em; }
.p1ed47 li::marker { color: var(--accent); }

.p1ed47 hr {
  border: 0;
  border-top: 1px solid var(--surface2);
  margin: 2em 0;
}
.p1ed47 > hr:first-child,
.p1ed47 hr + hr,
.p1ed47 br + br { display: none; }

.p1ed47 address { font-style: normal; }

.p1ed47 img {
  display: block;
  max-width: 100%;
  width: auto;
  height: auto;
  margin: 1.5em 0;
}

.p1ed47 strong { font-weight: 700; }

.p1ed47 sup,
.p1ed47 sub { vertical-align: baseline; font-size: 0.8em; color: var(--muted); }

/* таблицы: прайс как справка внутри материала */

.pbb1f2 {
  margin: 1.8em 0;
  overflow-x: auto;
  border-top: 2px solid var(--accent);
}

.p1ed47 table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  line-height: 1.4;
  font-variant-numeric: tabular-nums;
}

.p1ed47 th,
.p1ed47 td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--surface2);
  text-align: left;
  vertical-align: top;
}
.p1ed47 td p,
.p1ed47 th p { margin: 0; font-size: inherit; line-height: inherit; }

/* широкий прайс выходит на поля, если поля напротив пустые (класс ставит script.js) */
.pbb1f2.p2c556 { width: calc((100% + var(--gap)) * 12 / 7 - var(--gap)); max-width: none; }

/* широкий прайс (модели по столбцам) — плотнее, чтобы влез в колонку текста */
.p1ed47 .p354f5 { font-size: 14.5px; }
.p1ed47 .p354f5 th,
.p1ed47 .p354f5 td { padding: 9px 6px; }
.p1ed47 .p354f5 td:first-child { padding-left: 10px; }

.p1ed47 th,
.p1ed47 .p5eb8c > * {
  background: var(--surface);
  font-weight: 700;
}

/* ---------- поля: врезка, оглавление, соседи ---------- */

.pc828a {
  margin: 0 0 40px;
  padding: 4px 0 4px 22px;
  border-left: 2px solid var(--accent);
}

.p9cb04 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 27px;
  line-height: 1.3;
}
.p9cb04::before { content: "«"; color: var(--accent); }
.p9cb04::after { content: "»"; color: var(--accent); }

.p1ed47 .pc828a { max-width: none; margin: 1.6em 0 1.8em; }

.pdb3d2 {
  padding-top: 14px;
  margin-bottom: 36px;
  border-top: 1px solid var(--surface2);
}

.p28c23 {
  margin: 0 0 10px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}

.pec302 {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 16px;
}
.pec302 li { border-bottom: 1px solid var(--surface); }
.pec302 a {
  display: block;
  padding: 9px 0;
  color: var(--muted);
  text-decoration: none;
}
.pec302 a:hover { color: var(--fg); }

/* ---------- раздел: материалы с лидом ---------- */

.p9962e { margin-top: 56px; }

.p7c4f3 {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 30px;
  margin: 0 0 8px;
}

.pbdc59 { margin: 0; padding: 0; list-style: none; }

.pef2d6 {
  padding: 22px 0;
  border-top: 1px solid var(--surface2);
}

.p4ea20 {
  font-family: var(--font-head);
  font-size: 25px;
  line-height: 1.25;
  text-decoration: none;
}
.p4ea20:hover { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }

.p29154 { margin: 8px 0 0; color: var(--muted); font-size: 16px; max-width: 62ch; }
.p8292e { margin: 6px 0 0; color: var(--muted); font-size: 14px; }

/* ---------- главная ---------- */

.p3ca35 { padding-bottom: 16px; }

.pe77b9 {
  padding-top: 18px;
  margin-bottom: 44px;
  border-top: 2px solid var(--accent);
}

.p16325 {
  margin: 0 0 12px;
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 27px;
  line-height: 1.22;
}
.p16325 a {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}
.p16325 a:hover { text-decoration-color: var(--fg); }

.p821d7 { margin: 0 0 10px; color: var(--muted); font-size: 16px; }
.pb76b5 { margin: 0; color: var(--muted); font-size: 14px; }

/* ---------- разделы сайта: оглавление номера по объёму ---------- */

.p155bb {
  margin-top: 64px;
  padding: 44px 0 56px;
  background: var(--surface);
}

.p3fd5a {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 30px;
  margin: 0 0 28px;
}

.pf14a1 {
  columns: 3;
  column-gap: calc(var(--gap) * 2);
  margin: 0;
  padding: 0;
  list-style: none;
}

.p21504 {
  break-inside: avoid;
  margin-bottom: 28px;
  padding-top: 12px;
  border-top: 1px solid var(--surface2);
}

.p4eccf {
  font-family: var(--font-head);
  font-size: 21px;
  line-height: 1.25;
  text-decoration: none;
}
.p1a4c7 .p4eccf { font-size: 27px; }
.p4eccf:hover { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }



.pb6b89 {
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
}
.pb6b89 a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  text-decoration: none;
}
.pb6b89 a:hover { color: var(--fg); }

/* ---------- служебные ---------- */

.p59643 { margin-bottom: 24px; }
.p59643 > p:last-child > a:only-child,
.p59643 p > a:only-child {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

/* ---------- подвал ---------- */

.pe10c6 {
  border-top: 1px solid var(--surface2);
  padding: 40px 0 48px;
  color: var(--muted);
  font-size: 15px;
}

.p850fc {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px var(--gap);
}
.pef4d1 { grid-column: span 4; }
.pb323b { grid-column: span 5; }
.p406e0 { grid-column: span 3; margin: 0; }

.p364d6 {
  margin: 0 0 6px;
  font-family: var(--font-head);
  font-size: 24px;
  color: var(--fg);
}
.p8b1c9 { margin: 0; }

.pb323b {
  margin: 0;
  padding: 0;
  list-style: none;
  columns: 2;
  column-gap: var(--gap);
}
.pb323b a,
.p406e0 a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}
.pb323b a:hover,
.p406e0 a:hover { color: var(--fg); text-decoration: underline; text-decoration-color: var(--accent); }

/* ---------- поиск ---------- */

.p37291 {
  width: min(640px, calc(100% - 32px));
  max-height: min(80vh, 640px);
  padding: 24px;
  border: 1px solid var(--surface2);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--fg);
}
.p37291::backdrop { background: rgba(0, 0, 0, 0.6); }

.p7416b { display: block; margin-bottom: 10px; font-weight: 700; font-size: 16px; }

.p68f68 { display: flex; gap: 8px; }

.pbc7c4 {
  flex: 1;
  min-width: 0;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--surface2);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--fg);
  font: inherit;
  font-size: 17px;
}

.peaf35 { margin: 16px 0 0; padding: 0; list-style: none; }
.peaf35 li { border-top: 1px solid var(--surface2); }
.peaf35 a {
  display: block;
  padding: 10px 0;
  text-decoration: none;
}
.peaf35 a:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.peaf35 p { margin: 0 0 10px; color: var(--muted); font-size: 14px; }

/* ---------- планшет и мобильный ---------- */

@media (max-width: 1023px) {
  .pd4e23,
  .p8e555 { grid-column: 1 / -1; }
  .p8e555 { margin-top: 40px; }
  .p711de { margin-top: 16px; }

  .p3f096 { display: none; }
  .pdfeca .p84b7c { display: inline-flex; align-items: center; }
  .pdfeca .pf209b { display: none; }
  .pdfeca .pf209b.p23fd9 { display: block; animation: rubrics-in 180ms ease-out; }
  .pbca84 { flex-direction: column; padding: 4px 0 12px; }
  .p5df6f { display: flex; min-height: 48px; border-bottom: 1px solid var(--surface); }
  .p5df6f[aria-current="page"] { border-bottom-color: var(--accent); }

  .pf14a1 { columns: 2; }

  .pef4d1,
  .pb323b,
  .p406e0 { grid-column: 1 / -1; }
}

@keyframes rubrics-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 640px) {
  .p9c359 { padding: 0 16px; }
  body { font-size: 17px; }
  .p59149 { padding-top: 16px; padding-bottom: 12px; gap: 12px; align-items: center; }
  .p9d32a { font-size: 28px; }
  .pf253e { padding: 0 12px; }
  .p7e2e3,
  .pf3005 { margin-bottom: 24px; }
  .pb3bed { margin-top: -8px; }
  .p1ed47 > p:first-of-type { font-size: 1.18em; }
  .p1ed47 h2 { font-size: 26px; }
  .p9cb04 { font-size: 23px; }

  .pf14a1 { columns: 1; }
  .p1a4c7 .p4eccf { font-size: 25px; }
  .p2cdf2 li,
  .p2cdf2 a { min-height: 40px; }
  .pb323b { columns: 1; }

  .p1ed47 table { font-size: 15px; }
  .p1ed47 th,
  .p1ed47 td { padding: 8px 6px; overflow-wrap: break-word; }

  /* широкие прайсы — построчно, подпись столбца слева */
  .pbb1f2:has(.p354f5) { overflow: visible; }
  .p1ed47 .p354f5 { font-size: 15px; }
  .p1ed47 .p354f5,
  .p1ed47 .p354f5 tbody,
  .p1ed47 .p354f5 tr,
  .p1ed47 .p354f5 td,
  .p1ed47 .p354f5 th { display: block; width: 100%; }
  .p1ed47 .p354f5 .p5eb8c { display: none; }
  .p1ed47 .p354f5 tr { padding: 8px 0; border-bottom: 1px solid var(--surface2); }
  .p1ed47 .p354f5 td,
  .p1ed47 .p354f5 th {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 12px;
    padding: 6px 0;
    border: 0;
  }
  .p1ed47 .p354f5 td::before {
    content: attr(data-label);
    color: var(--muted);
    font-size: 15px;
  }
  .p1ed47 .p354f5 td:first-child { font-weight: 700; }
  .p1ed47 .p354f5 td:first-child::before { display: none; }
  .p1ed47 .p354f5 td:first-child { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
