

/* Start:/local/templates/econburo/styles.css?179500483810616*/
/* ============================================================
   Главная страница — прототип «второе приближение».
   Текст — дословно с исходной главной (index.html, Joomla 1.5).
   Один файл, без внешних зависимостей; логотип — из копии сайта.
   Палитра взята из логотипа: тёмно-синий #003060 + жёлтый #f0c050.
   ============================================================ */

:root {
  --paper:      #F8FCF5;
  --plate:      #fffdf8;
  --ink:        #161d27;
  --ink-soft:   #38424f;
  --muted:      #5d6875;
  --line:       #dbd5c6;
  --line-soft:  #e9e3d6;
  --navy:       #0a3763;
  --navy-deep:  #082a4c;
  --gold:       #b0842c;

  /* глубина: верх градиента панелей, подсветка фона, тени */
  --plate-hi:   #fffefb;
  --bg-top:     #fbf8f2;
  --glow:       rgba(255, 255, 255, .8);
  --shadow:     rgba(9, 32, 58, .30);
  --shadow-soft: rgba(9, 32, 58, .12);

  --serif: Georgia, "PT Serif", "Times New Roman", serif;
  --sans:  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --w: 1180px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper:      #0e141b;
    --plate:      #141c25;
    --ink:        #ebe8de;
    --ink-soft:   #c6cbd2;
    --muted:      #939daa;
    --line:       #263140;
    --line-soft:  #1d2731;
    --navy:       #8fb4db;
    --navy-deep:  #a8c6e6;
    --gold:       #d4a952;

    --plate-hi:   #1a2430;
    --bg-top:     #101821;
    --glow:       rgba(120, 160, 210, .10);
    --shadow:     rgba(0, 0, 0, .55);
    --shadow-soft: rgba(0, 0, 0, .35);
  }

  /* логотип — растровый, тёмно-синий на прозрачном:
     в тёмной теме шапка остаётся светлой, как фирменный бланк */
  .masthead, .nav {
    background: #f5f2ea;
    border-color: #d8d2c3;
  }
  .nav a { color: #38424f; }
  .nav a:hover { color: #0a3763; border-bottom-color: #dbd5c6; }
  .nav a[aria-current] { color: #0a3763; border-bottom-color: #b0842c; }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background-color: var(--paper);
  background-image: linear-gradient(180deg, var(--bg-top) 0, var(--paper) 340px);
  background-repeat: no-repeat;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17.5px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--navy); color: var(--paper); }

a { color: inherit; }

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

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.012em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.wrap {
  width: min(var(--w), 100% - 48px);
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: #0a3763;
  color: #fff;
  padding: 12px 18px;
  z-index: 100;
}
.skip:focus { left: 12px; top: 12px; }

/* ---------- шапка: логотип ---------- */

.masthead {
  background: linear-gradient(180deg, var(--plate-hi), var(--plate));
  border-bottom: 1px solid var(--line);
}

.masthead__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 26px 0;
}

.logo {
  display: block;
  line-height: 0;
  text-decoration: none;
}

.logo img {
  display: block;
  width: 450px;
  height: auto;
  max-width: 100%;
}

/* ---------- главное меню ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--plate) 86%, transparent);
  -webkit-backdrop-filter: saturate(1.15) blur(10px);
  backdrop-filter: saturate(1.15) blur(10px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 26px -22px var(--shadow);
}

/* без backdrop-filter фон должен быть непрозрачным, иначе текст «просвечивает» */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .nav { background: var(--plate); }
}

.nav__in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 34px;
  min-height: 54px;
}

/* В режиме правки Битрикс оборачивает вывод компонента в div: flex-отступы
   переносим на обёртку, иначе пункты меню слипаются */
.nav__in > [id^="bx_incl_area_"] {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 34px;
}

.nav a {
  display: inline-block;
  padding: 17px 0 15px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-soft);
  border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.nav a:hover { color: var(--navy); border-bottom-color: var(--line); }
.nav a[aria-current] { color: var(--navy); border-bottom-color: var(--gold); }

/* ---------- содержимое ---------- */

.page { padding: 64px 0 92px; }

.page__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 305px;
  gap: 65px;
  align-items: start;
}

/* min-width: 0 — иначе широкая таблица (прайс-лист) раздвигает колонку и на узком
   экране появляется горизонтальная прокрутка всей страницы вместо прокрутки таблицы */
.page__grid > * { min-width: 0; }

/* страница без правого меню (в файле страницы: define("EB_NO_RAIL", true)) */
.page__grid--single { grid-template-columns: minmax(0, 1fr); }

.page__title {
  position: relative;
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  line-height: 1.12;
  color: var(--ink);
  margin-bottom: 34px;
  padding-bottom: 24px;
}
.page__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold) 0 78px, var(--line) 78px 100%);
  border-radius: 2px;
}

.text p { color: var(--ink-soft); }

.text .lead {
  font-size: 21px;
  line-height: 1.58;
  color: var(--ink);
  margin-bottom: 28px;
}

.advantages-title {
  margin-top: 36px !important;
  margin-bottom: 0 !important;
  color: var(--ink);
}

.advantages {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
}
.advantages li {
  position: relative;
  padding: 11px 0 11px 26px;
  border-top: 1px solid var(--line-soft);
  font-size: 17px;
  color: var(--ink-soft);
}
.advantages li:last-child { border-bottom: 1px solid var(--line-soft); }
.advantages li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .92em;
  width: 11px;
  height: 1px;
  background: var(--gold);
}

.signature {
  position: relative;
  margin-top: 44px;
  padding-top: 22px;
  text-align: right;
  color: var(--ink);
}
.signature::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line) 45%, var(--gold));
}
.signature .thanks { margin-bottom: 2px; }
.signature .who {
  font-family: var(--serif);
  font-size: 19px;
  margin-bottom: 0;
}

/* ---------- боковая колонка с меню раздела ---------- */

/* Колонка «липнет» к верху: sticky живёт на ячейке сетки, а не на самом меню.
   Так работает и в гостевом виде, и в режиме правки, где Битрикс вставляет
   между ними свой <div id="bx_incl_area_N">. */
.rail-slot {
  position: sticky;
  top: 78px;
  align-self: start;
}

.rail {
  background: linear-gradient(180deg, var(--plate-hi), var(--plate));
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 20px 14px;
  box-shadow: 0 1px 2px var(--shadow-soft), 0 16px 36px -30px var(--shadow);
}

.rail h2 {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.rail h2 a { text-decoration: none; }
.rail h2 a:hover { color: var(--navy); }

.rail h2 { border-bottom: 1px solid var(--line-soft); padding-bottom: 13px; margin-bottom: 2px; }

.rail ul { list-style: none; margin: 0; padding: 0; }
.rail li { border-top: 1px solid var(--line-soft); }
.rail li:last-child { border-bottom: 1px solid var(--line-soft); }
.rail a {
  display: block;
  padding: 11px 0 11px 2px;
  font-size: 15.5px;
  line-height: 1.4;
  text-decoration: none;
  color: var(--ink-soft);
  transition: color .15s ease, padding-left .15s ease;
}
.rail a:hover { color: var(--navy); padding-left: 6px; }
.rail a[aria-current] { color: var(--navy); font-weight: 600; }

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

.colophon {
  background: linear-gradient(165deg, #0d3f6f 0%, var(--navy-deep) 60%, #061e37 100%);
  border-top: 2px solid var(--gold);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07);
  color: #e4eaf1;
  padding: 30px 0 34px;
  font-size: 15px;
}
@media (prefers-color-scheme: dark) {
  .colophon { background: #0a1017; color: #b9c2cc; border-top-color: #6d5a2c; }
}

.colophon__in {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 34px;
  align-items: baseline;
  justify-content: space-between;
}
.colophon a {
  color: #e4eaf1;
  text-decoration: none;
  border-bottom: 1px solid rgba(228, 234, 241, .35);
  padding-bottom: 1px;
  white-space: nowrap;
}
.colophon a:hover { border-bottom-color: currentColor; }
@media (prefers-color-scheme: dark) {
  .colophon a { color: #cfd6de; }
}

/* ---------- адаптив ---------- */

@media (max-width: 1040px) {
  .page__grid { grid-template-columns: 1fr; gap: 48px; }
  .rail-slot { position: static; }
}

@media (max-width: 760px) {
  .masthead__in { padding: 18px 0; }
  .nav__in { gap: 0 22px; min-height: 46px; }
  .nav__in > [id^="bx_incl_area_"] { gap: 0 22px; }
  .nav a { font-size: 12px; letter-spacing: .1em; padding: 14px 0 12px; }
  .page { padding: 40px 0 64px; }
  .text .lead { font-size: 19px; }
  body { font-size: 17px; }
  .signature { text-align: left; }
}

@media (max-width: 520px) {
  .wrap { width: calc(100% - 32px); }
  .page__title { font-size: 1.9rem; }
}

@media print {
  .nav, .rail, .skip { display: none; }
  .colophon { background: none; color: #000; border-top: 1px solid #000; }
}
/* End */


/* Start:/local/templates/econburo/components.css?179500483826120*/
/* ============================================================
   Дополнения шаблона: типовые блоки контента Битрикса.
   Базовый слой — styles.css (утверждённый дизайн).
   ============================================================ */

/* ---------- хлебные крошки ---------- */

.breadcrumbs {
  padding: 18px 0 0;
  font-size: 14px;
  color: var(--muted);
}
.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0 8px;
  margin: 0;
  padding: 0;
}
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line); }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: var(--navy); text-decoration: underline; }

/* ---------- таблицы в тексте ---------- */

/*
 * Таблицы пришли из Word/Joomla с атрибутом border="1": он рисует и вертикальные
 * границы — они выходят толще и грязнее тонких горизонтальных линий. Обнуляем
 * border у таблицы и ячеек (CSS перебивает такой атрибут), оставляем только
 * горизонтальные линии, а содержимому даём воздух по бокам.
 */
.text table,
.text table.table {
  width: calc(100% + 28px);
  border: 0;
  border-collapse: collapse;
  margin: 26px -14px 30px;
  font-size: 16px;
  line-height: 1.5;
}
.text table th,
.text table td {
  border: 0;
  border-bottom: 1px solid var(--line-soft);
  padding: 11px 14px;
  text-align: left;
  vertical-align: top;
  color: var(--ink-soft);
}
.text table th {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom-color: var(--line);
}
.text table tbody tr:first-child td,
.text table tr:first-child th { border-top: 1px solid var(--line); }
.text table td > :first-child,
.text table th > :first-child { margin-top: 0; }
.text table td > :last-child,
.text table th > :last-child { margin-bottom: 0; }
.text table td p { margin-bottom: .7em; }

@media (max-width: 700px) {
  .text table,
  .text table.table { width: 100%; margin: 22px 0 26px; }
  .text table th,
  .text table td { padding: 9px 10px; }
}

/* ---------- новости и списки элементов ---------- */

.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.cards--wide { grid-template-columns: 1fr; }

.card {
  padding: 24px 0 22px;
  border-top: 1px solid var(--line-soft);
}
.card:last-child { border-bottom: 1px solid var(--line-soft); }
.card__title {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.28;
  margin: 0 0 6px;
}
.card__title a { text-decoration: none; }
.card__title a:hover { color: var(--navy); }
.card__meta {
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--muted);
  margin-bottom: 8px;
}
.card__text { color: var(--ink-soft); margin: 0; }
.card__text p { margin: 0; }

/* ---------- постраничная навигация ---------- */

.pager { display: flex; flex-wrap: wrap; gap: 6px; margin: 34px 0 0; }
.pager a, .pager span {
  display: inline-block;
  min-width: 38px;
  padding: 7px 11px;
  text-align: center;
  text-decoration: none;
  border: 1px solid var(--line-soft);
  color: var(--ink-soft);
  font-size: 15px;
}
.pager a:hover { border-color: var(--line); color: var(--navy); }
.pager span.pager__current { border-color: var(--navy); color: var(--navy); }

/* ---------- документы и сертификаты ---------- */

.docs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 26px 22px;
  margin: 26px 0 10px;
}
.doc { margin: 0; }
.doc a { display: block; text-decoration: none; }
.doc img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 260px;
  object-fit: contain;
  background: var(--plate);
  border: 1px solid var(--line-soft);
  padding: 8px;
}
.doc a:hover img { border-color: var(--line); }
.doc figcaption {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--muted);
}

/* ---------- прайс ---------- */

.price-note { font-size: 14px; color: var(--muted); }
.price-table td:last-child, .price-table th:last-child { text-align: right; white-space: nowrap; }

/* ---------- ссылки-файлы ---------- */

.file-link { display: inline-flex; align-items: center; gap: 8px; }
.file-link::before {
  content: "";
  width: 9px; height: 12px;
  border: 1px solid var(--gold);
  border-top-right-radius: 3px;
}

/* ---------- типографика внутри текста ----------
   Все правила ниже — с нулевой специфичностью (:where), чтобы не
   перебивать собственные правила дизайна (.advantages, .lead и т. п.). */

:where(.text) :is(ul, ol) { margin: 0 0 1.4em; padding-left: 22px; color: var(--ink-soft); }
:where(.text) :is(ul, ol):not([class]) > li { margin-bottom: .5em; }
:where(.text) img { max-width: 100%; height: auto; }
:where(.text) a { color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--line); }
:where(.text) a:hover { border-bottom-color: var(--gold); }
:where(.text) strong { color: var(--ink); }
:where(.text) h2 { font-size: 26px; line-height: 1.3; margin: 40px 0 14px; }
:where(.text) h3 { font-size: 21px; line-height: 1.35; margin: 32px 0 10px; }
:where(.text) > :first-child { margin-top: 0; }

/* список разделов (подразделы) */
.subsections { display: grid; gap: 0; margin: 26px 0 8px; }
.subsections a {
  display: block;
  padding: 15px 0;
  border-top: 1px solid var(--line-soft);
  text-decoration: none;
  color: var(--ink);
  font-size: 18px;
}
.subsections a:last-child { border-bottom: 1px solid var(--line-soft); }
.subsections a:hover { color: var(--navy); }
.subsections small { display: block; color: var(--muted); font-size: 14px; margin-top: 3px; }

/* ---------- разделители и активные пункты ---------- */
:where(.text) hr {
  border: 0;
  border-top: 1px solid var(--line-soft);
  margin: 30px 0;
}
.rail a[aria-current] { color: var(--navy); }
.rail a[aria-current]::after {
  content: "";
  display: block;
  width: 26px;
  height: 2px;
  margin-top: 7px;
  background: var(--gold);
}

/* ---------- реквизиты (страница «Контакты») ---------- */

.facts { margin: 6px 0 0; border-top: 1px solid var(--line); }
.fact {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 8px 26px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
  margin: 0;
}
.fact dt {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 3px;
}
.fact dd { margin: 0; font-size: 18px; color: var(--ink); }
.fact dd a { text-decoration: none; border-bottom: 1px solid var(--line); }
.fact dd a:hover { border-bottom-color: var(--gold); }

.note { display: block; font-size: 14px; color: var(--muted); margin-top: 4px; }
.file-line { margin-top: 6px; }

/* ---------- списки разделов и детальные страницы ---------- */

.group__title {
  font-size: 22px;
  margin: 48px 0 4px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.group__title:first-of-type { margin-top: 34px; }

.back { margin-top: 40px; font-size: 15px; }
.back a { color: var(--muted); text-decoration: none; border-bottom: 1px solid var(--line); }
.back a:hover { color: var(--navy); }

.scan { margin: 0 0 26px; }
.scan img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 1px solid var(--line-soft);
  background: var(--plate);
  padding: 10px;
}
.scan figcaption {
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--muted);
}

/* ---------- список файлов в описании раздела ---------- */

.files { list-style: none; margin: 0 0 1.2em; padding: 0; display: grid; gap: 10px; }
.files li { margin: 0; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.files .file-link { font-weight: 500; color: var(--navy); text-decoration: none; }
.files .file-link:hover { border-bottom: 1px solid var(--gold); }
.files__size { font-size: 13px; color: var(--muted); }
.doc__empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  padding: 14px;
  font-size: 14px;
  color: var(--muted);
  background: var(--plate);
  border: 1px solid var(--line-soft);
}

@media (max-width: 860px) {
  .cards { grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 620px) {
  .fact { grid-template-columns: 1fr; gap: 3px; }
}

/* Модальное окно со сканом (js/lightbox.js) */
.lb {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: 96vw;
  max-height: 96vh;
  overflow: visible;
}

.lb::backdrop {
  background: rgba(12, 18, 28, .84);
}

.lb img {
  display: block;
  margin: 0 auto;
  max-width: 92vw;
  max-height: 84vh;
  width: auto;
  height: auto;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .45);
}

.lb__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 2px 10px;
  color: #e9e3d5;
  font-size: 13.5px;
  letter-spacing: .02em;
}

.lb__cap {
  flex: 1 1 auto;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lb__btn {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  padding: 0;
  font-size: 16px;
  line-height: 1;
  color: inherit;
  background: none;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 999px;
  cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease;
}

.lb__btn:hover {
  border-color: rgba(255, 255, 255, .8);
  background: rgba(255, 255, 255, .12);
}

.doc__link {
  display: block;
  cursor: zoom-in;
}

/* ============================================================
   Глубина и акценты: карточки, сканы, цитаты, кнопки-ссылки.
   Принцип: фон «бумага», тонкая линия, мягкая тень и золотой акцент;
   наведение поднимает блок на 2–3 px, без резких движений.
   ============================================================ */

/* карточки в две колонки (хаб раздела, годовое раскрытие) */
.cards:not(.cards--wide) { gap: 20px; }

.cards:not(.cards--wide) .card {
  padding: 22px 24px 20px;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: linear-gradient(180deg, var(--plate-hi), var(--plate));
  box-shadow: 0 1px 2px var(--shadow-soft), 0 16px 30px -28px var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.cards:not(.cards--wide) .card:last-child { border-bottom: 1px solid var(--line-soft); }
.cards:not(.cards--wide) .card:hover {
  transform: translateY(-2px);
  border-color: var(--line);
  box-shadow: 0 2px 3px var(--shadow-soft), 0 24px 40px -26px var(--shadow);
}
.cards:not(.cards--wide) .card__title { margin-bottom: 8px; }
.cards:not(.cards--wide) .card__title a {
  background-image: linear-gradient(90deg, var(--gold), var(--gold));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0 1px;
  transition: background-size .2s ease, color .15s ease;
}
.cards:not(.cards--wide) .card:hover .card__title a { background-size: 100% 1px; }

/* сканы: «лист бумаги» с тенью */
.doc img {
  border-radius: 8px;
  box-shadow: 0 12px 24px -20px var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.doc a:hover img {
  transform: translateY(-3px);
  border-color: var(--line);
  box-shadow: 0 22px 34px -22px var(--shadow);
}

/* заголовок группы: золотая засечка */
.group__title::before {
  content: "";
  display: block;
  width: 38px;
  height: 2px;
  margin-bottom: 12px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

/* «назад» — компактная кнопка-таблетка */
.back a {
  display: inline-block;
  padding: 7px 16px;
  color: var(--ink-soft);
  background: var(--plate);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: color .15s ease, border-color .15s ease, background-color .15s ease;
}
.back a:hover {
  color: var(--navy);
  border-color: var(--gold);
  background: color-mix(in srgb, var(--gold) 9%, var(--plate));
}

/* цитаты в тексте */
:where(.text) blockquote {
  margin: 28px 0;
  padding: 18px 22px;
  border-left: 3px solid var(--gold);
  border-radius: 0 10px 10px 0;
  background: linear-gradient(90deg, color-mix(in srgb, var(--gold) 8%, transparent), transparent 65%);
  color: var(--ink-soft);
}
:where(.text) blockquote > :last-child { margin-bottom: 0; }

/* таблицы: мягкая «зебра» */
.text table tbody tr:nth-child(even) td {
  background: color-mix(in srgb, var(--line-soft) 45%, transparent);
}

/* лид — чуть заметнее на фоне текста */
.text .lead {
  padding-left: 20px;
  border-left: 2px solid var(--gold);
}

@media (max-width: 860px) {
  .cards:not(.cards--wide) .card { padding: 20px 20px 18px; }
}

@media (prefers-color-scheme: dark) {
  .colophon { background: linear-gradient(165deg, #0d1a26 0%, #070d13 100%); }
  .cards:not(.cards--wide) .card,
  .rail { background: linear-gradient(180deg, var(--plate-hi), var(--plate)); }
}

/* ---------- описание раздела над галереей ---------- */

.group__desc {
  margin: 18px 0 6px;
  color: var(--ink-soft);
  font-size: 16.5px;
  line-height: 1.62;
}
.group__desc > :first-child { margin-top: 0; }
.group__desc > :last-child { margin-bottom: 0; }
.group__desc p { margin-bottom: .8em; }

.group__desc table {
  width: 100%;
  margin: 6px 0 4px;
  border-collapse: collapse;
}
.group__desc td {
  padding: 12px 20px 12px 0;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}
.group__desc tr:first-child td { border-top: 1px solid var(--line); }
.group__desc td.certs__label {
  width: 42%;
  color: var(--ink);
  font-size: 15.5px;
  line-height: 1.5;
}
.group__desc td.certs__value { color: var(--ink-soft); }
.certs__num {
  display: inline-block;
  margin-right: 10px;
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.15;
  color: var(--navy);
}
.group__desc ul {
  margin: 8px 0 0;
  padding-left: 18px;
  font-size: 15px;
  line-height: 1.55;
}
.group__desc li { margin-bottom: 3px; }

@media (max-width: 760px) {
  .group__desc td { display: block; padding-right: 0; }
  .group__desc td.certs__label { width: auto; }
  .group__desc td.certs__label + td.certs__value { padding-top: 2px; padding-bottom: 14px; }
}

/* ---------- проекты: полная информация списком ---------- */

.projects { margin: 30px 0 0; }
.proj { padding: 24px 0; border-bottom: 1px solid var(--line-soft); }
.proj:first-child { padding-top: 0; }
.proj__name {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--navy);
}
.proj__text > .proj-facts { margin: 0; }
.proj-facts {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: 6px 24px;
  margin: 0;
}
.proj-facts dt {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 3px;
}
.proj-facts dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.proj-facts .proj-facts__wide { grid-column: 1 / -1; }
.proj-more {
  margin: 32px 0 0;
  font-size: 16px;
}
.proj-more a { color: var(--navy); }

@media (max-width: 700px) {
  .proj { padding: 20px 0; }
  .proj__name { font-size: 18px; }
  .proj-facts { grid-template-columns: 1fr; gap: 2px; }
  .proj-facts dt { margin-top: 10px; padding-top: 0; }
  .proj-facts dt:first-child { margin-top: 0; }
  .proj-facts dd { font-size: 14.5px; }
}
/* ---------- прайс-лист ---------- */

/* хаб прайсов: три строки «название — описание — действия» */
.price-hub { margin: 28px 0 6px; }
.price-hub__item { padding: 24px 0; border-top: 1px solid var(--line-soft); }
.price-hub__item:first-child { border-top: 1px solid var(--line); }
.price-hub__title {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.25;
  font-weight: 600;
  color: var(--navy);
}
.price-hub__text {
  margin: 0 0 16px;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.price-hub__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin: 0; }

.btn {
  display: inline-block;
  padding: 9px 20px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
  color: #fff;
  background: var(--navy);
  border: 1px solid var(--navy);
  border-radius: 999px;
  text-decoration: none;
  transition: background-color .15s ease, border-color .15s ease;
}
.btn:hover { background: var(--navy-deep); border-color: var(--navy-deep); }
.btn--ghost {
  color: var(--navy);
  background: var(--plate);
  border-color: var(--line);
}
.btn--ghost:hover {
  color: var(--navy);
  background: color-mix(in srgb, var(--gold) 9%, var(--plate));
  border-color: var(--gold);
}
.price-hub__file {
  font-size: 14.5px;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.price-hub__file:hover { color: var(--navy); border-bottom-color: var(--gold); }
.price-hub__file small { font-size: 13px; color: var(--muted); }

/* строка поиска над большой таблицей */
.price-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin: 22px 0 0;
  padding: 13px 16px;
  background: var(--plate);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.price-tools__label {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.price-tools__input {
  flex: 1 1 240px;
  min-width: 0;
  padding: 9px 15px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.price-tools__input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 16%, transparent);
}
.price-tools__count { font-size: 13.5px; color: var(--muted); }

/* сама таблица цен: тонкие линии, зебра, разделы, «липкая» шапка */
.text .price-wrap { margin: 24px 0 30px; }

.text table.price,
.text table.price.table {
  width: 100%;
  margin: 0;
  border: 0;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.45;
}
/* шапка таблицы: при прокрутке она «прилипает» под меню, поэтому ей нужна
   своя рамка и тень — иначе строки таблицы сливаются с заголовком */
.text .price thead th {
  position: sticky;
  top: 78px;
  z-index: 3;
  padding: 11px 14px;
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: left;
  color: var(--navy);
  background: color-mix(in srgb, var(--navy) 11%, var(--plate));
  border-bottom: 1px solid var(--line);
  box-shadow: inset 0 1px 0 var(--line), inset 0 -2px 0 var(--gold),
              0 8px 18px -12px rgba(10, 55, 99, .6);
}
.text .price tbody td {
  padding: 8px 14px;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
  color: var(--ink-soft);
}
.text .price tbody tr:nth-child(even) td {
  background: color-mix(in srgb, var(--line-soft) 40%, transparent);
}
.text .price tbody tr.price__group th {
  padding: 20px 14px 8px;
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-align: left;
  color: var(--navy);
  background: transparent;
  border-bottom: 1px solid var(--line);
}
.text .price tbody tr.price__group--part th {
  padding-top: 26px;
  font-size: 14px;
  letter-spacing: .04em;
  color: var(--ink);
}
.text .price tbody tr.price__group:first-child th { padding-top: 4px; }

/* прайсы с кодом и ценой: код и сумма не переносятся, сумма по правому краю */
.text .price--codes td:first-child {
  font-size: 13.5px;
  color: var(--muted);
  white-space: nowrap;
}
.text .price--codes td:last-child {
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.text .price td:nth-child(3) { white-space: nowrap; }

.price-note { margin: 18px 0 0; font-size: 14.5px; color: var(--muted); }

@media (max-width: 860px) {
  .price-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .text .price { min-width: 560px; }
  .text .price thead th { position: static; }
  .price-tools { padding: 12px 14px; }
  .price-tools__input { flex-basis: 100%; }
}
/* запасной вариант: раздел прайса, сделанный в редакторе как строка с объединённой
   ячейкой (без нашего класса price__group), тоже должен выглядеть заголовком */
.text .price tbody tr > td[colspan]:only-child {
  padding: 20px 14px 8px;
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--navy);
  background: transparent;
  border-bottom: 1px solid var(--line);
}


/* заголовок карточки прайса — ссылка на страницу цен */
.price-hub__title a { color: inherit; text-decoration: none; }
.price-hub__title a:hover { color: var(--gold); }


/* Публикации: карточка списка (картинка + текст) и строка метаданных статьи */
.pubs { margin: 28px 0 0; }
.pub {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: 22px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-soft);
}
.pub:first-child { padding-top: 0; }
.pub--nopic { grid-template-columns: 1fr; }
.pub__pic {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: start;
  aspect-ratio: 4 / 3;
  padding: 6px;
  border: 1px solid var(--line-soft);
  background: var(--plate);
  overflow: hidden;
}
/* картинки в публикациях — схемы и скриншоты: вписываем целиком, не обрезаем */
.pub__pic img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.pub__body { min-width: 0; }
.pub__title {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.32;
}
.pub__title a { color: var(--ink); text-decoration: none; }
.pub__title a:hover { color: var(--gold); }
.pub__meta {
  margin: 0 0 8px;
  font-size: 13px;
  letter-spacing: .01em;
  color: var(--muted);
}
.pub__text {
  margin: 0;
  color: var(--ink-soft);
  /* в карточке — три строки, целиком текст виден на странице публикации */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pub-head {
  margin: 0 0 26px;
  padding: 0 0 14px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14px;
  color: var(--muted);
}
.pubs__note {
  margin: 20px 0 0;
  padding: 12px 16px;
  border-left: 3px solid var(--gold);
  background: color-mix(in srgb, var(--gold) 8%, var(--plate));
  font-size: 15px;
  color: var(--ink-soft);
}
.pubs__note a { color: var(--navy); }
.pubs__empty { margin: 24px 0; color: var(--muted); }
@media (max-width: 640px) {
  .pub { grid-template-columns: 1fr; gap: 14px; }
  .pub__pic { max-width: 260px; }
}

/* ---- Контакты ---- */
.contacts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px 22px;
  margin: 26px 0 0;
}
.contacts__card {
  padding: 20px 22px 22px;
  border: 1px solid var(--line-soft);
  background: var(--plate);
}
.contacts__label {
  margin: 0 0 10px;
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--muted);
}
.contacts__value {
  margin: 0;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
}
.contacts__value a {
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.contacts__value a:hover { border-bottom-color: var(--gold); }
.contacts__note { margin: 12px 0 0; font-size: 14px; }
.contacts__note a { color: var(--gold); }
.contacts__file {
  margin: 24px 0 0;
  font-size: 15px;
  color: var(--ink-soft);
}
.contacts__file small { color: var(--muted); }
/* ---- Карта (Яндекс.Карты, js/map.js) ---- */
.map {
  margin: 30px 0 0;
  border: 1px solid var(--line-soft);
  background: var(--plate);
  overflow: hidden;
}
.map__canvas { width: 100%; height: 420px; }
.map__fallback {
  display: none;
  margin: 0;
  padding: 20px 22px;
  font-size: 15px;
  color: var(--ink-soft);
}
.map--offline .map__canvas { display: none; }
.map--offline .map__fallback { display: block; }
/* логотип в балуне не должно обрезать рамкой окна */
.map .ymaps-2-1-79-balloon__content img { max-width: 100%; }

@media (max-width: 1040px) {
  .contacts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .contacts { grid-template-columns: 1fr; }
  .contacts__card { padding: 18px 18px 20px; }
  .map__canvas { height: 320px; }
}

/* End */
/* /local/templates/econburo/styles.css?179500483810616 */
/* /local/templates/econburo/components.css?179500483826120 */
