/* =====================================================================
 * ДЕЗ-ЭКО — читаемость и навигация (13.10.2026).
 *
 * Подключается ПОСЛЕ deseko-2027.css (ставит inc/layout.php, версия — DZ_VER
 * там же). Цвета бренда и картинки прежние; меняется то, из-за чего сайт
 * читался тяжело и по нему было трудно ходить:
 *
 *  — свой шрифт вместо системного (Onest, лежит у нас в /assets/fonts);
 *  — серый текст стал темнее: #647F89 на белом давал 4,2:1, а им набрана
 *    половина страницы — описания карточек, шаги, подписи;
 *  — отступы между блоками уменьшены на четверть, страница стала короче;
 *  — шапка, мобильное меню и подвал — новая разметка с классами .hd / .mm /
 *    .ft. Имена нарочно новые: у старых .site-header и .main-nav в
 *    components.css полсотни правил тёмной темы 2024 года, и спорить с ними
 *    через !important больше не нужно;
 *  — страница услуги: текст с оглавлением и нормальной таблицей цен.
 *
 * Там, где перекрывается правило из deseko-2027.css, стоит !important — тот
 * файл сам написан через !important, иначе его не перебить.
 * ===================================================================== */

@font-face {
  font-family: "Onest"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/assets/fonts/onest-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Onest"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/assets/fonts/onest-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --sans: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --ink:   #0A1B21;
  --ink-2: #213840;
  --muted: #4A626B;      /* 6,5:1 на белом, 6:1 на бледно-бирюзовом */

  --pad: clamp(44px, 5.4vw, 80px);
  --hd-h: 68px;
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hd-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

html, body { font-size: 17px; line-height: 1.6; }
body { font-feature-settings: "ss01" off; letter-spacing: 0; }

h1, h2, h3, h4 { letter-spacing: -.015em !important; text-wrap: balance; }
p, li { text-wrap: pretty; }

/* ------------------------------------------------------------- шапка -- */

.hd {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.hd-in {
  display: flex; align-items: center; gap: 18px;
  max-width: 1200px; min-height: var(--hd-h);
  margin: 0 auto; padding: 0 20px;
}

.hd-logo { display: flex; align-items: center; gap: 11px; flex: 0 1 auto; min-width: 0; color: var(--ink); text-decoration: none; }
.hd-logo img { flex: none; width: 40px; height: 40px; padding: 3px; border-radius: 11px; background: var(--brand-l); }
.hd-logo-t { display: grid; min-width: 0; line-height: 1.2; }
.hd-logo-t b { font-size: 17.5px; font-weight: 800; letter-spacing: .01em; }
.hd-logo-t i { overflow: hidden; color: var(--muted); font-size: 12.5px; font-style: normal; white-space: nowrap; text-overflow: ellipsis; }

.hd-nav { display: flex; align-items: center; flex: none; gap: 0; margin-left: 6px; }
.hd-item { position: relative; }
.hd-link {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 10px; border-radius: 10px;
  color: var(--ink-2); font-size: 15px; font-weight: 600; line-height: 1.2;
  text-decoration: none; white-space: nowrap;
  transition: background-color .15s ease, color .15s ease;
}
.hd-link:hover, .hd-item:hover > .hd-link, .hd-item:focus-within > .hd-link, .hd-item.is-open > .hd-link {
  background: var(--brand-l); color: var(--brand-d);
}
.hd-link.is-active { color: var(--brand); box-shadow: inset 0 -2px 0 var(--brand); border-radius: 10px 10px 0 0; }
.hd-chev { flex: none; opacity: .6; transition: transform .18s ease; }
.hd-item:hover .hd-chev, .hd-item:focus-within .hd-chev, .hd-item.is-open .hd-chev { transform: rotate(180deg); }

/* выпадающий список услуг раздела */
.hd-sub {
  position: absolute; top: 100%; left: -14px; z-index: 5;
  padding-top: 13px;                       /* мостик: курсор не теряет меню по дороге вниз */
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .16s ease, transform .16s ease, visibility 0s linear .16s;
}
.hd-item:hover > .hd-sub, .hd-item:focus-within > .hd-sub, .hd-item.is-open > .hd-sub {
  opacity: 1; visibility: visible; transform: none; transition-delay: 0s;
}
.hd-sub::before {                           /* общий фон панели: колонки + нижняя ссылка */
  content: ""; position: absolute; inset: 13px 0 0; z-index: -1;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--sh-2);
}
.hd-sub-in { display: grid; gap: 4px 22px; padding: 20px 22px 14px; }
.hd-sub-in--3 { grid-template-columns: repeat(3, minmax(168px, auto)); }
.hd-sub-in--2 { grid-template-columns: repeat(2, minmax(168px, auto)); }
.hd-sub-col { display: grid; align-content: start; gap: 1px; }
.hd-sub-h {
  margin: 0 0 6px !important; padding: 0 10px;
  color: var(--muted); font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.hd-sub-col a {
  padding: 7px 10px; border-radius: 8px;
  color: var(--ink-2); font-size: 15px; font-weight: 500; line-height: 1.3;
  text-decoration: none; white-space: nowrap;
}
.hd-sub-col a:hover { background: var(--brand-l); color: var(--brand-d); }
.hd-sub-col a[aria-current] { color: var(--brand); font-weight: 700; }
.hd-sub-all {
  display: block; margin: 0 1px 1px; padding: 13px 32px;
  border-top: 1px solid var(--line-soft); border-radius: 0 0 15px 15px;
  background: var(--bg-soft);
  color: var(--brand); font-size: 14.5px; font-weight: 700; text-decoration: none;
}
.hd-sub-all:hover { background: var(--brand-l); color: var(--brand-d); }

.hd-tools { display: flex; align-items: center; flex: none; gap: 12px; margin-left: auto; }
.hd-city .city-label { display: none; }
.hd-cta, .mm-cta, .toc-cta, .ft-cta {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 20px; border: 0; border-radius: 12px;
  background: var(--signal); color: #fff;
  font: 700 15px/1.2 var(--sans); white-space: nowrap; cursor: pointer;
  transition: background-color .15s ease, transform .15s ease;
}
.hd-cta:hover, .mm-cta:hover, .toc-cta:hover, .ft-cta:hover { background: var(--signal-d); }
.hd-cta:active, .mm-cta:active, .toc-cta:active, .ft-cta:active { transform: translateY(1px); }

.hd-burger {
  display: none; flex: none; width: 46px; height: 46px; margin: 0 -8px 0 auto; padding: 0;
  background: none; border: 0; border-radius: 12px; cursor: pointer;
}
.hd-burger span { display: block; width: 24px; height: 2px; margin: 5px auto; border-radius: 2px; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }
.hd-burger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hd-burger.is-active span:nth-child(2) { opacity: 0; }
.hd-burger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* рядом с меню подписи под логотипом тесно: она возвращается на телефоне, где меню спрятано */
@media (min-width: 1180px) { .hd-logo-t i { display: none; } }
@media (max-width: 1179px) {
  :root { --hd-h: 60px; }
  .hd-nav, .hd-tools { display: none; }
  .hd-burger { display: block; }
  .hd-logo-t i { display: block; font-size: 12px; }
}
@media (max-width: 359px) { .hd-logo-t i { display: none; } }

/* ---------------------------------------------------- мобильное меню -- */

.mm {
  display: none;
  position: fixed; inset: var(--hd-h) 0 0; z-index: 59;
  background: #fff; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
}
.mm.mobile-menu--open { display: block; }
body.mobile-menu-open { overflow: hidden; }
body.mobile-menu-open .cw-fab, body.mobile-menu-open .cw-teaser, body.mobile-menu-open .cookie-banner { visibility: hidden; }
.mm-in { max-width: 640px; margin: 0 auto; padding: 16px 20px calc(28px + env(safe-area-inset-bottom)); }
.mm-cta { width: 100%; min-height: 52px; font-size: 16.5px; }

.mm-nav { margin-top: 10px; }
.mm-group { border-bottom: 1px solid var(--line); }
.mm-group > summary, .mm-link {
  display: flex; align-items: center; gap: 10px; min-height: 60px; padding: 10px 2px;
  color: var(--ink); font-size: 18px; font-weight: 700; line-height: 1.2;
  text-decoration: none; cursor: pointer; list-style: none;
}
.mm-group > summary::-webkit-details-marker { display: none; }
.mm-group > summary { flex-wrap: wrap; position: relative; padding-right: 36px; }
.mm-lead { flex-basis: 100%; margin-top: -4px; color: var(--muted); font-size: 13.5px; font-weight: 500; }
.mm-group > summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 9px; height: 9px; margin-top: -7px;
  border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2);
  transform: rotate(45deg); transition: transform .2s ease;
}
.mm-group[open] > summary::after { transform: rotate(-135deg); margin-top: -2px; }
.mm-group[open] > summary { color: var(--brand); }
.mm-link { border-bottom: 1px solid var(--line); }

.mm-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 2px 0 18px; }
.mm-links a {
  display: flex; align-items: center; min-height: 46px; padding: 8px 13px;
  border-radius: 11px; background: var(--bg-soft);
  color: var(--ink-2); font-size: 15.5px; font-weight: 500; line-height: 1.25; text-decoration: none;
}
.mm-links a[aria-current] { background: var(--brand-l); color: var(--brand); font-weight: 700; }
.mm-links .mm-all { grid-column: 1 / -1; background: var(--brand-l); color: var(--brand-d); font-weight: 700; }
.mm-h {
  grid-column: 1 / -1; margin: 10px 0 0 !important;
  color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.mm-city { margin-top: 20px; }
.mm-city .city-label { display: block; margin-bottom: 6px; }
.mm-city .city-selector { display: block !important; width: 100%; }
.mm-city .city-selector__trigger {
  width: 100%; justify-content: space-between; min-height: 52px;
  padding: 10px 16px !important; border-radius: 13px !important; font-size: 16px !important;
}
@media (max-width: 960px) { body.city-sheet-open .mm { z-index: 10050; } }
@media (min-width: 1180px) { .mm { display: none !important; } }

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

.breadcrumbs { font-size: 13.5px !important; }
.breadcrumbs-list { flex-wrap: wrap; padding: 10px 0 !important; row-gap: 2px !important; }

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

.ft { background: var(--brand-dd); color: rgba(255, 255, 255, .72); font-size: 15px; }
.ft-in {
  display: grid; grid-template-columns: 1.35fr repeat(4, 1fr); gap: 36px 32px;
  max-width: 1200px; margin: 0 auto; padding: 56px 20px 40px;
}
.ft-logo { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.ft-logo img { width: 40px; height: 40px; padding: 3px; border-radius: 11px; background: rgba(255, 255, 255, .1); }
.ft-logo b { font-size: 18px; font-weight: 800; }
.ft-text { margin: 14px 0 18px !important; max-width: 34ch; color: rgba(255, 255, 255, .72); font-size: 15px; line-height: 1.55; }
.ft-mail { margin: 18px 0 0 !important; }
.ft-mail a { color: var(--brand-glow); font-size: 16px; font-weight: 600; text-decoration: none; }
.ft-mail a:hover { text-decoration: underline; }
.ft-addr { margin: 6px 0 0 !important; color: rgba(255, 255, 255, .6); font-size: 14px; }

.ft-h { margin: 0 0 14px !important; color: #fff; font-size: 15.5px; font-weight: 700; }
.ft-h a { color: inherit; text-decoration: none; }
.ft-h a:hover { color: var(--brand-glow); }
.ft-col ul { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.ft-col li { list-style: none; }
.ft-col a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.ft-col li a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.ft-col .ft-all { color: var(--brand-glow); font-weight: 600; }

.ft-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  max-width: 1200px; margin: 0 auto; padding: 18px 20px calc(22px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .6); font-size: 13.5px;
}
.ft-up { color: rgba(255, 255, 255, .78); text-decoration: none; }
.ft-up:hover { color: #fff; }

@media (max-width: 1099px) {
  .ft-in { grid-template-columns: repeat(2, 1fr); padding: 40px 20px 28px; }
  .ft-brand { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  /* на телефоне поверх подвала лежит плашка с кнопкой — оставляем под неё место */
  .ft-bottom { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}
@media (max-width: 420px) { .ft-in { gap: 30px 20px; } .ft-col a { font-size: 14.5px; } }

/* ---------------------------------- страница услуги: текст и оглавление -- */

.seo-layout {
  display: grid !important; grid-template-columns: 280px minmax(0, 1fr); gap: 36px; align-items: start;
}
.seo-layout > .seo-content { max-width: 820px; margin: 0 !important; }
.toc { position: sticky; top: calc(var(--hd-h) + 20px); display: grid; gap: 14px; }
.toc-box { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px 18px 14px; }
.toc-box > summary {
  margin-bottom: 10px; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  list-style: none; cursor: default;
}
.toc-box > summary::-webkit-details-marker { display: none; }
.toc-box ol { display: grid; gap: 1px; margin: 0 -8px; padding: 0; list-style: none; }
.toc-box li { list-style: none; }
.toc-box a {
  display: block; padding: 7px 8px 7px 12px; border-left: 2px solid transparent; border-radius: 0 8px 8px 0;
  color: var(--ink-2); font-size: 14.5px; line-height: 1.35; text-decoration: none;
}
.toc-box a:hover { background: var(--bg-soft); color: var(--brand-d); }
.toc-box a.is-current { border-left-color: var(--brand); background: var(--brand-l); color: var(--brand-d); font-weight: 600; }
.toc-box a.toc-price { font-weight: 700; color: var(--signal-d); }
.toc-cta { width: 100%; }

@media (max-width: 1099px) {
  .seo-layout { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .toc { position: static; }
  .toc-cta { display: none; }
  .toc-box { padding: 0; }
  .toc-box > summary {
    position: relative; margin: 0; padding: 16px 44px 16px 18px;
    color: var(--ink); font-size: 16px; letter-spacing: 0; text-transform: none; cursor: pointer;
  }
  .toc-box > summary::after {
    content: ""; position: absolute; right: 20px; top: 50%; width: 8px; height: 8px; margin-top: -7px;
    border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: rotate(45deg);
  }
  .toc-box[open] > summary::after { transform: rotate(-135deg); margin-top: -2px; }
  .toc-box ol { margin: 0; padding: 0 10px 12px; }
  .toc-box a { padding: 10px 10px; font-size: 15.5px; border-left: 0; border-radius: 9px; }
}

/* текст услуги и статьи */
.seo-content p, .seo-content li { color: var(--ink-2) !important; font-size: 16.5px !important; line-height: 1.68 !important; }
.seo-content .seo-subtitle { scroll-margin-top: calc(var(--hd-h) + 16px); }

/* таблицы: раньше это были голые таблицы без рамок и отступов.
   .tbl-price — прайс (последняя колонка «Цена»), .tbl — всё остальное;
   классы ставит inc/layout.php */
.seo-content table {
  width: 100%; margin: 14px 0 16px; border-collapse: separate; border-spacing: 0;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
  font-size: 15.5px; line-height: 1.45;
}
.seo-content th {
  padding: 12px 16px; background: var(--brand-l); color: var(--brand-d);
  font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; text-align: left; vertical-align: bottom;
}
.seo-content td { padding: 13px 16px; border-top: 1px solid var(--line-soft); color: var(--ink-2); vertical-align: top; }
.seo-content tbody tr:first-child td { border-top: 0; }
.seo-content td:first-child { color: var(--ink); font-weight: 600; }
.seo-content tbody tr:hover td { background: var(--bg-soft); }
.tbl-price td:last-child, .tbl-price th:last-child { text-align: right; white-space: nowrap; }
.tbl-price td:last-child { color: var(--signal-d); font-weight: 700; }
.tbl-wrap { margin: 14px 0 16px; overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--r); }
.tbl-wrap > table { margin: 0; }
@media (max-width: 640px) {
  /* прайс на телефоне: строка-карточка «объект — цена», пояснение под ними.
     Три колонки в 350 px превращались в столбики по два слова. */
  .tbl-price, .tbl-price tbody, .tbl-price tr, .tbl-price td { display: block; }
  .tbl-price thead { display: none; }
  .seo-content .tbl-price { border: 0; background: none; border-radius: 0; overflow: visible; }
  .tbl-price tr {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 14px;
    margin-bottom: 8px; padding: 13px 15px; background: #fff; border: 1px solid var(--line); border-radius: 13px;
  }
  .seo-content .tbl-price td { padding: 0; border: 0; background: none !important; }
  .tbl-price td:first-child { grid-column: 1; grid-row: 1; }
  .tbl-price td:last-child { grid-column: 2; grid-row: 1; }
  .tbl-price td:nth-child(2):not(:last-child) { grid-column: 1 / -1; grid-row: 2; color: var(--muted); font-size: 14.5px; }
  /* остальные таблицы прокручиваются вбок, не ломая страницу */
  .tbl-wrap > table { min-width: 520px; font-size: 14.5px; }
  .tbl-wrap th, .tbl-wrap td { padding: 10px 12px; }
}

/* ------------------------------------ страница услуги: другие услуги -- */

.dz-siblings { background: var(--bg-soft) !important; }
.sib-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sib-group { padding: 20px 20px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.sib-h { margin: 0 0 12px !important; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.sib-links { display: flex; flex-wrap: wrap; gap: 8px; }
.sib-links a {
  padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg-soft);
  color: var(--ink-2); font-size: 15px; font-weight: 500; line-height: 1.3; text-decoration: none;
  transition: border-color .15s ease, color .15s ease, background-color .15s ease;
}
.sib-links a:hover { border-color: var(--brand); background: var(--brand-l); color: var(--brand-d); }
.sib-more { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.sib-more a {
  display: grid; gap: 2px; padding: 16px 20px; border-radius: var(--r);
  background: var(--brand-dd); color: #fff; font-size: 16.5px; font-weight: 700; text-decoration: none;
  transition: background-color .15s ease;
}
.sib-more a:hover { background: var(--brand-d); }
.sib-more span { color: rgba(255, 255, 255, .72) !important; font-size: 13.5px; font-weight: 500; }
@media (max-width: 900px) { .sib-groups, .sib-more { grid-template-columns: 1fr; gap: 10px; } .sib-more { margin-top: 10px; } }

/* на тёмной подложке ссылки и логотип должны оставаться светлыми: общее правило
   секций красит ссылки и жирный текст в бирюзу и чернила */
.sib-more a, .sib-more a:hover { color: #fff !important; }
.ft-logo, .ft-logo b { color: #fff !important; }

/* ------------------------------------------------ первый экран, телефон -- */
@media (max-width: 768px) {
  /* Первый экран на телефоне занимал два с половиной экрана прокрутки: два абзаца
     описания, форма из четырёх полей и три счётчика столбиком. Оставлено то, без
     чего нельзя оставить заявку; остальное ужато, а не выброшено. */
  .hero-content > .hero-subtitle ~ .hero-subtitle { display: none; }
  .hero { padding: 22px 0 34px !important; }
  .hero-inner { gap: 0 !important; }
  .hero-content > .hero-badge { margin: 0 0 14px !important; font-size: 13px !important; }
  .hero-content > .hero-title { margin: 0 0 12px !important; font-size: clamp(30px, 8.6vw, 38px) !important; line-height: 1.08 !important; }
  .hero-content > .hero-subtitle { margin: 0 0 20px !important; font-size: 16px !important; line-height: 1.5 !important; }
  .hero-side { margin: 0 0 16px !important; }
  .hero-content > .hero-offer { margin: 0 0 14px !important; }
  .hero-content > .hero-benefits { margin: 0 0 16px !important; }
  .hero .lead-form-title, .hero .lead-form-card > h2 { font-size: 19px !important; }
  .hero form .form-row:has(input[name="area"]),
  .hero form .form-row:has(textarea),
  .hero form label:has(textarea) { display: none !important; }
  .hero .lead-form-trust { display: none !important; }
  .hero .lead-form-note { margin-bottom: 0 !important; }

  .hero-kpis { grid-template-columns: repeat(3, 1fr) !important; gap: 0 !important; padding: 14px 6px !important; }
  .hero-kpi { padding: 0 10px !important; border-top: 0 !important; border-left: 1px solid rgba(255, 255, 255, .14) !important; text-align: center; }
  .hero-kpi:first-child { border-left: 0 !important; }
  .hero-kpi-number { font-size: 21px !important; }
  .hero-kpi-label { font-size: 11.5px !important; line-height: 1.25 !important; }

  /* преимущества: значок слева, текст справа — пять карточек умещаются в один экран */
  .benefit-card-new {
    display: grid !important; grid-template-columns: 44px minmax(0, 1fr); gap: 2px 14px; align-items: start;
    padding: 16px !important;
  }
  .benefit-card-new > :first-child { grid-row: 1 / span 2; width: 44px !important; height: 44px !important; margin: 0 !important; }
  .benefit-card-new > :first-child img { width: 44px !important; height: 44px !important; }
  .benefit-card-new h3 { margin: 0 0 3px !important; font-size: 16.5px !important; }
  .benefit-card-new p { grid-column: 2; font-size: 14.5px !important; }
}

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

/* карточка проблемы нажимается целиком: ссылка в заголовке растянута на неё */
.problem-card .card-link { color: inherit !important; text-decoration: none !important; }
.problem-card .card-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.problem-card:has(.card-link) { cursor: pointer; }
.problem-card:has(.card-link:focus-visible) { outline: 2px solid var(--brand-t); outline-offset: 2px; }
.problem-card:hover h3 .card-link { color: var(--brand) !important; }

/* список ссылок в тексте: render.php возвращает маркеры всем <ul> текста —
   у списка-навигации они лишние (рядом со стрелкой стояла ещё и точка) */
.seo-content ul.seo-list { list-style: none !important; padding-left: 0 !important; margin: 4px 0 10px !important; }
.seo-content ul.seo-list li { display: block !important; font-size: 15px !important; color: var(--muted) !important; }

@media (max-width: 768px) {
  /* на главной форма стоит не в .hero-side, а прямо в сетке — без этого правила
     она оказывалась выше заголовка страницы */
  .hero-inner > .lead-form-card { order: 4; width: 100%; margin: 0 0 16px !important; }
  .hero .lead-form-card.clean-calc > p { display: none; }

  /* восемь проблем: две колонки с иконкой, названием и ценой вместо восьми
     карточек во весь экран (2 400 px прокрутки) */
  .problem-grid { grid-template-columns: 1fr 1fr !important; gap: 10px !important; }
  .problem-card { padding: 14px 14px 13px !important; }
  .problem-card .problem-icon { width: 46px !important; height: 46px !important; margin-bottom: 8px !important; }
  .problem-card h3 { margin: 0 0 8px !important; font-size: 16.5px !important; }
  .problem-card p { display: none; }
  .problem-card .problem-price { align-self: flex-start; font-size: 13.5px !important; }

  /* шаги: номер слева, текст справа */
  .timeline-clean { grid-template-columns: 1fr !important; gap: 16px !important; }
  .timeline-clean .timeline-item { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 0 16px; padding: 0 !important; }
  .timeline-clean .timeline-item::before { grid-row: 1 / span 2; margin: 2px 0 0 !important; }
  .timeline-clean .timeline-item h3 { margin: 0 0 2px !important; }
  .timeline-clean .timeline-item > * { grid-column: 2; }

  /* гарантии: та же компактная строка, что и у преимуществ */
  .trust-card { display: grid !important; grid-template-columns: 44px minmax(0, 1fr); gap: 2px 14px; align-items: start; padding: 16px !important; }
  .trust-card .trust-icon { grid-row: 1 / span 2; width: 44px !important; height: 44px !important; margin: 0 !important; }
  .trust-card p { grid-column: 2; }

  /* карточки направлений и услуг: фото, название, описание, цена и ссылка —
     списки с галочками и бейджи повторяют описание и растягивали карточку вдвое */
  .service-card .service-features, .service-card .service-tags, .service-card .service-meta { display: none !important; }
  .service-card .card-photo { aspect-ratio: 16 / 8 !important; }
}

/* ----------------------------------------------------- плашка cookie -- */
@media (max-width: 768px) {
  /* на телефоне плашка занимала шестую часть экрана и закрывала кнопку заявки */
  .cookie-banner-inner { display: flex !important; flex-direction: row !important; align-items: center; gap: 12px; padding: 10px 12px !important; }
  .cookie-banner-text { margin: 0 !important; font-size: 12.5px !important; line-height: 1.35 !important; }
  .cookie-banner .btn { flex: none; padding: 9px 14px !important; }
}

/* плашка с кнопкой на телефоне: длинный вопрос («Нужна дезинфекция после болезни?»)
   выталкивал кнопку за край экрана и у страницы появлялась прокрутка вбок */
.mobile-sticky-cta-inner { box-sizing: border-box; max-width: 100%; }
.mobile-sticky-cta-text { flex: 1 1 auto; min-width: 0; }
.mobile-sticky-cta-buttons { flex: none; }

/* цена на карточке: оранжевый по персиковому давал 4,3:1 — берём тёмный оранжевый */
.problem-price { color: var(--signal-d) !important; }

/* «Зона выезда» на контактах — на всю ширину сетки контактов */
.contacts-grid .dz-area { grid-column: 1 / -1; }
.dz-area__h { margin: 16px 0 8px !important; color: var(--muted) !important; font-size: 12.5px !important; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.dz-area__list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.dz-area__list li { padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg-soft); color: var(--ink-2); font-size: 14.5px; list-style: none; }
.dz-area__list li::before { content: none !important; }
.dz-area__list--near a { color: var(--brand); font-weight: 600; text-decoration: none; }
.dz-area__list--near span { color: var(--muted); font-size: 13px; }
