/* Тема minuchet.ru. Макет — files/prompt-refs/ref-2-mockup.png.
   Цвета и шрифты старого сайта: оранжевый #FF5200, графит #242C33, Oswald + Roboto.
   Bootstrap грузится из ядра (на нём ядровые шаблоны внутренних страниц) — тема поверх него. */

@font-face { font-family: 'Oswald'; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url('../fonts/oswald-cyr.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Oswald'; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url('../fonts/oswald-lat.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; }
@font-face { font-family: 'Roboto'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('../fonts/roboto-cyr.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Roboto'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('../fonts/roboto-lat.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 {
  --mu-accent: #FF5200;
  --mu-accent-dark: #D94600;
  --mu-ink: #242C33;
  --mu-text: #4A535B;
  --mu-muted: #6B747C;
  --mu-bg: #FFFFFF;
  --mu-bg-soft: #F4F3F1;
  --mu-line: #E4E2DE;
  --mu-radius: 6px;
  --mu-shadow: 0 6px 24px rgba(36, 44, 51, .08);
  --mu-head: 'Oswald', 'Arial Narrow', sans-serif;
  --mu-body: 'Roboto', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --bs-body-font-family: var(--mu-body);
  --bs-body-color: var(--mu-text);
  --bs-link-color: var(--mu-accent-dark);
  --bs-link-color-rgb: 217, 70, 0;
  --bs-link-hover-color: var(--mu-accent);
  --bs-link-hover-color-rgb: 255, 82, 0;
}

html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { font-family: var(--mu-body); font-size: 16px; line-height: 1.6; color: var(--mu-text); background: var(--mu-bg); }
h1, h2, h3, h4, .sec-title { font-family: var(--mu-head); color: var(--mu-ink); font-weight: 500; line-height: 1.2; }
img { max-width: 100%; height: auto; }
a { color: var(--mu-accent-dark); }
a:hover { color: var(--mu-accent); }
:focus-visible { outline: 3px solid rgba(255, 82, 0, .45); outline-offset: 2px; }

/* ── Кнопки ── */
.btn-mu { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .7rem 1.6rem;
  border: 0; border-radius: var(--mu-radius); font-family: var(--mu-head); font-size: 1rem; font-weight: 500; letter-spacing: .03em;
  text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background-color .2s, transform .2s; }
.btn-mu--primary { background: var(--mu-accent); color: #fff; }
.btn-mu--primary:hover, .btn-mu--primary:focus-visible { background: var(--mu-accent-dark); color: #fff; }
.btn-mu--primary:active { transform: translateY(1px); }
.btn-mu--sm { min-height: 40px; padding: .45rem 1.1rem; font-size: .9rem; }
.btn-mu[disabled] { opacity: .6; cursor: progress; }

/* ── Шапка ── */
.topbar { background: var(--mu-ink); color: #C9CFD4; font-size: .85rem; }
.topbar-row { display: flex; justify-content: space-between; gap: 1rem; min-height: 38px; align-items: center; }
.topbar a, .topbar span { display: inline-flex; align-items: center; gap: .4rem; color: inherit; text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar-contacts, .topbar-geo { display: flex; gap: 1.5rem; }
.topbar svg { color: var(--mu-accent); flex: none; }

.site-header { position: sticky; top: -38px; z-index: 1030; } /* верхняя строка уезжает, строка с меню остаётся */
.header-main { background: #fff; border-bottom: 1px solid var(--mu-line); }
.header-row { display: flex; align-items: center; gap: 1.5rem; min-height: 76px; }
.logo { font-family: var(--mu-head); font-size: 1.75rem; font-weight: 600; color: var(--mu-ink); text-decoration: none; white-space: nowrap; letter-spacing: .01em; }
.logo span { color: var(--mu-accent); }
.logo:hover { color: var(--mu-ink); }
.logo--light { color: #fff; }
.logo--light:hover { color: #fff; }

.site-nav { margin-left: auto; }
.nav-main { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav-main > li { position: relative; }
.nav-main > li > a, .nav-toggle { display: inline-flex; align-items: center; gap: .3rem; padding: .5rem .7rem; background: none; border: 0;
  font-family: var(--mu-head); font-size: 1rem; font-weight: 400; color: var(--mu-ink); text-decoration: none; text-transform: uppercase; letter-spacing: .02em; cursor: pointer; }
.nav-main > li > a:hover, .nav-toggle:hover, .nav-toggle[aria-expanded="true"] { color: var(--mu-accent); }
.nav-toggle .chev { transition: transform .2s; }
.nav-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }
.nav-sub { position: absolute; top: 100%; left: 0; min-width: 280px; max-height: 70vh; overflow-y: auto; list-style: none; margin: 0; padding: .5rem 0;
  background: #fff; border: 1px solid var(--mu-line); border-radius: var(--mu-radius); box-shadow: var(--mu-shadow); display: none; }
.has-sub.is-open > .nav-sub { display: block; }
.nav-sub a { display: block; padding: .45rem 1rem; color: var(--mu-text); text-decoration: none; font-size: .95rem; line-height: 1.35; }
.nav-sub a:hover { background: var(--mu-bg-soft); color: var(--mu-accent-dark); }
.nav-sub-all a { font-weight: 500; color: var(--mu-ink); border-bottom: 1px solid var(--mu-line); margin-bottom: .25rem; }

/* Мегапанель «Услуги»: колонка на раздел, во всю ширину шапки (пункт — static, панель — от .header-row). */
.header-row { position: relative; }
.nav-main > li.has-mega { position: static; }
.nav-mega { position: absolute; top: 100%; left: 0; right: 0; display: none; grid-template-columns: 1.25fr 1fr 1fr 1fr 1fr; gap: 1.5rem;
  max-height: calc(100vh - 140px); overflow-y: auto; padding: 1.5rem 1.75rem 1.75rem; background: #fff;
  border: 1px solid var(--mu-line); border-top: 2px solid var(--mu-accent); border-radius: 0 0 var(--mu-radius) var(--mu-radius); box-shadow: var(--mu-shadow); }
.has-mega.is-open > .nav-mega { display: grid; }
.nav-mega-head { display: block; padding-bottom: .5rem; margin-bottom: .4rem; border-bottom: 1px solid var(--mu-line);
  font-family: var(--mu-head); font-size: 1.05rem; text-transform: uppercase; letter-spacing: .02em; color: var(--mu-ink); text-decoration: none; }
.nav-mega-head:hover { color: var(--mu-accent-dark); }
.nav-mega ul { list-style: none; margin: 0; padding: 0; }
.nav-mega li a { display: block; padding: .3rem 0; color: var(--mu-text); text-decoration: none; font-size: .9rem; line-height: 1.35; }
.nav-mega li a:hover { color: var(--mu-accent-dark); }

.header-phone { display: inline-flex; align-items: center; gap: .45rem; font-family: var(--mu-head); font-size: 1.1rem; color: var(--mu-ink); text-decoration: none; white-space: nowrap; }
.header-phone svg { color: var(--mu-accent); }
.burger { display: none; margin-left: auto; padding: .4rem; background: none; border: 0; color: var(--mu-ink); }

/* ── Секции ── */
.sec-title { font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem); text-transform: uppercase; margin-bottom: 1rem; }
.sec-title::after { content: ''; display: block; width: 56px; height: 3px; margin-top: .75rem; background: var(--mu-accent); }
.sec-lead { max-width: 760px; color: var(--mu-muted); margin-bottom: 2rem; }

/* Первый экран: фото во всю ширину, левая часть кадра пустая — текст поверх неё. */
.hero { position: relative; overflow: hidden; background: var(--mu-bg-soft); }
.hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(244, 243, 241, .97) 0%, rgba(244, 243, 241, .9) 38%, rgba(244, 243, 241, 0) 62%); }
.hero-inner { position: relative; z-index: 2; padding-block: clamp(3rem, 7vw, 6.5rem) clamp(3rem, 6vw, 5.5rem); }
.hero h1 { max-width: 620px; font-size: clamp(2rem, 1.2rem + 3vw, 3.4rem); font-weight: 600; margin-bottom: 1rem; }
.hero-lead { max-width: 520px; font-size: 1.15rem; color: var(--mu-text); margin-bottom: 2rem; }
.hero-actions, .split-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; }
.hero-phone { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--mu-head); font-size: 1.25rem; color: var(--mu-ink); text-decoration: none; }
.hero-phone svg { color: var(--mu-accent); }
.hero-phone:hover { color: var(--mu-accent-dark); }

/* Разделы услуг — карточки внахлёст на первый экран. */
.services { position: relative; z-index: 3; margin-top: -2.5rem; padding-bottom: 4rem; }
.svc-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.svc-card { display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; padding: 1.5rem 1.25rem; background: #fff;
  border-radius: var(--mu-radius); box-shadow: var(--mu-shadow); text-decoration: none; color: var(--mu-text); transition: transform .2s, box-shadow .2s; }
.svc-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(36, 44, 51, .13); color: var(--mu-text); }
.svc-card > svg { color: var(--mu-accent); margin-bottom: .25rem; }
.svc-card h2 { font-size: 1.15rem; margin: 0; text-transform: uppercase; }
.svc-card p { font-size: .9rem; line-height: 1.45; margin: 0; }
.svc-text { display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.link-more { display: inline-flex; align-items: center; gap: .3rem; margin-top: .5rem; font-size: .9rem; font-weight: 500; color: var(--mu-accent-dark); }

/* Блоки «текст + фото». */
.split { padding: 4.5rem 0; }
.split--alt { background: var(--mu-bg-soft); }
.split-row { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.split-row--rev .split-img { order: -1; }
.split-img img { display: block; width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--mu-radius); }
.fits-title { font-family: var(--mu-body); font-size: 1rem; font-weight: 700; color: var(--mu-ink); margin: 1.5rem 0 .75rem; text-transform: none; }
.check-list { list-style: none; padding: 0; margin: 0 0 2rem; }
.check-list li { position: relative; padding-left: 2rem; margin-bottom: .6rem; }
.check-list li::before { content: ''; position: absolute; left: 0; top: .2em; width: 1.2rem; height: 1.2rem; background: var(--mu-accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; }

/* Полоса фактов на фото. */
.trust { position: relative; overflow: hidden; color: #fff; }
.trust-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.trust::before { content: ''; position: absolute; inset: 0; z-index: 1; background: rgba(36, 44, 51, .82); }
.trust-grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; padding-block: 3.5rem; }
.trust-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .35rem; }
.trust-item svg { color: var(--mu-accent); margin-bottom: .4rem; }
.trust-item b { font-family: var(--mu-head); font-size: 1.5rem; font-weight: 500; text-transform: uppercase; letter-spacing: .02em; }
.trust-item span { color: #C9CFD4; }

/* Цены. */
.prices { padding: 4.5rem 0; }
.price-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.price-card { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 1.5rem 1rem; background: #fff;
  border: 1px solid var(--mu-line); border-radius: var(--mu-radius); transition: box-shadow .2s, border-color .2s; }
.price-card:hover { border-color: transparent; box-shadow: var(--mu-shadow); }
.price-head { flex: 1; display: flex; flex-direction: column; align-items: center; color: var(--mu-ink); text-decoration: none; }
.price-head img { width: 112px; height: 112px; margin-bottom: .75rem; object-fit: contain; }
.price-card h3 { flex: 1; font-family: var(--mu-body); font-size: .95rem; font-weight: 500; line-height: 1.35; text-transform: none; margin-bottom: .75rem; transition: color .2s; }
.price-head:hover h3, .price-head:focus-visible h3 { color: var(--mu-accent-dark); }
.price { font-family: var(--mu-head); font-size: 1.6rem; font-weight: 500; color: var(--mu-ink); line-height: 1.1; white-space: nowrap; }
.price small { font-size: .9rem; font-weight: 400; color: var(--mu-muted); }
.per { font-size: .85rem; color: var(--mu-muted); margin: .2rem 0 1rem; }
.price-note { margin: 1.5rem 0 0; color: var(--mu-muted); font-size: .95rem; }

/* Кейсы. */
.cases { padding: 4.5rem 0; background: var(--mu-bg-soft); }
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.case-card { position: relative; padding: 1.75rem 1.5rem 1.5rem; background: #fff; border-radius: var(--mu-radius); box-shadow: var(--mu-shadow); font-size: .95rem; }
.case-num { display: inline-flex; align-items: center; justify-content: center; width: 2.25rem; height: 2.25rem; margin-bottom: 1rem;
  border: 2px solid var(--mu-accent); border-radius: 50%; font-family: var(--mu-head); color: var(--mu-accent); font-size: 1.1rem; }
.case-card h3 { font-size: 1.2rem; margin-bottom: 1rem; }
.case-card p { margin-bottom: .6rem; }
.case-card b { color: var(--mu-ink); }

/* Новости — ядровый виджет внутри секции. */
.news-sec { padding: 4.5rem 0 1rem; }
.news-sec h2, .news-sec .widget-title { font-family: var(--mu-head); text-transform: uppercase; }

/* Контакты. */
.contacts { padding: 4.5rem 0; }
.contacts-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 1.5rem; align-items: stretch; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; gap: .85rem; margin-bottom: 1.1rem; align-items: flex-start; }
.contact-list svg { flex: none; color: var(--mu-accent); margin-top: .15rem; }
.contact-list b { display: block; color: var(--mu-ink); font-weight: 500; }
.contact-list small { display: block; color: var(--mu-muted); }
.contact-list a { color: var(--mu-ink); text-decoration: none; font-size: 1.1rem; }
.contact-list a:hover { color: var(--mu-accent-dark); }
.map-card { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .4rem; min-height: 260px; padding: 1.5rem;
  border-radius: var(--mu-radius); text-decoration: none; color: var(--mu-ink); text-align: center;
  background: linear-gradient(135deg, rgba(244, 243, 241, .92), rgba(244, 243, 241, .8)),
              repeating-linear-gradient(0deg, transparent 0 38px, var(--mu-line) 38px 39px),
              repeating-linear-gradient(90deg, transparent 0 38px, var(--mu-line) 38px 39px), #EDEBE7; }
.map-card .map-pin { color: var(--mu-accent); }
.map-card b { font-family: var(--mu-head); font-size: 1.3rem; font-weight: 500; }
.map-card span { display: inline-flex; align-items: center; gap: .3rem; color: var(--mu-accent-dark); font-weight: 500; }
.map-card:hover { color: var(--mu-ink); }
.map-card { position: relative; overflow: hidden; }
.map-card .map-show { margin-top: .5rem; }
.map-link { display: inline-flex; align-items: center; gap: .3rem; color: var(--mu-accent-dark); font-weight: 500; font-size: .9rem; text-decoration: none; }
.map-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ask-card { padding: 1.5rem; border: 1px solid var(--mu-line); border-radius: var(--mu-radius); }
.ask-card h3 { font-size: 1.3rem; text-transform: uppercase; margin-bottom: 1rem; }
.ask-form { display: grid; gap: .75rem; }

/* Поля форм. */
.mu-input { width: 100%; min-height: 48px; padding: .65rem .9rem; border: 1px solid #CFCBC5; border-radius: var(--mu-radius); background: #fff; color: var(--mu-ink); font: inherit; }
.mu-input:focus { outline: none; border-color: var(--mu-accent); box-shadow: 0 0 0 3px rgba(255, 82, 0, .18); }
textarea.mu-input { min-height: 96px; resize: vertical; }
.form-consent { display: flex; gap: .5rem; align-items: flex-start; font-size: .82rem; line-height: 1.4; color: var(--mu-muted); text-align: left; }
.form-consent .form-check-input { flex: none; margin-top: .1rem; }
.form-consent .form-check-input:checked { background-color: var(--mu-accent); border-color: var(--mu-accent); }
.form-consent a { color: inherit; text-decoration: underline; }

/* ── Подвал: полоса «Остались вопросы?» на фото + колонки ── */
.cta-band { position: relative; overflow: hidden; color: #fff; text-align: center; }
.cta-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-band::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(36, 44, 51, .9), rgba(36, 44, 51, .72)); }
.cta-inner { position: relative; z-index: 2; padding-block: 3.5rem; max-width: 760px; }
.cta-band h2 { color: #fff; font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.4rem); text-transform: uppercase; margin-bottom: .5rem; }
.cta-band p { color: #D5DADE; margin-bottom: 1.5rem; }
.cta-form { display: grid; grid-template-columns: 1fr auto; gap: .75rem; max-width: 560px; margin: 0 auto; }
.cta-form .form-consent { grid-column: 1 / -1; color: #C9CFD4; }
.cta-form .mu-input { border-color: transparent; }

.footer-main { background: var(--mu-ink); color: #AEB6BC; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 2rem; padding-block: 3.5rem 2.5rem; }
.footer-main h3 { font-family: var(--mu-head); font-size: 1rem; font-weight: 500; color: #fff; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 1rem; }
.footer-main ul { list-style: none; padding: 0; margin: 0; }
.footer-main li { margin-bottom: .5rem; }
.footer-main a { color: #D5DADE; text-decoration: none; }
.footer-main a:hover { color: var(--mu-accent); }
.footer-brand p { margin-top: .75rem; max-width: 320px; }
.footer-contacts li { display: flex; gap: .6rem; align-items: flex-start; }
.footer-contacts svg { flex: none; color: var(--mu-accent); margin-top: .25rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; padding-block: 1.25rem 1.5rem; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; }
.footer-bottom a { color: #AEB6BC; }

/* ── Cookie-баннер ядра (default/components/cookie-banner.html) ──
   Кнопки ядра — .btn .btn-primary / .btn-outline-secondary; перекрашиваем под тему.
   Скрытие: .is-hidden ставит шлюз rcConsent, [data-cookie-consent] на <html> — если выбор уже сделан. */
.cookie-banner { position: fixed; left: 24px; bottom: 24px; z-index: 1080; max-width: 400px; display: flex; flex-direction: column; gap: 14px;
  padding: 20px 22px; background: #fff; color: var(--mu-text); border: 1px solid var(--mu-line); border-radius: var(--mu-radius); box-shadow: 0 12px 40px rgba(36, 44, 51, .18); font-size: .9rem; line-height: 1.5; }
.cookie-banner p { margin: 0; }
.cookie-banner p a { color: var(--mu-ink); text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: 10px; }
.cookie-banner .btn { flex: 1; min-height: 42px; border-radius: var(--mu-radius); font-family: var(--mu-head); text-transform: uppercase; letter-spacing: .03em; }
.cookie-banner .btn-primary { background: var(--mu-accent); border-color: var(--mu-accent); }
.cookie-banner .btn-primary:hover { background: var(--mu-accent-dark); border-color: var(--mu-accent-dark); }
.cookie-banner.is-hidden, [data-cookie-consent] .cookie-banner { display: none; }
@media (max-width: 575.98px) { .cookie-banner { left: 12px; right: 12px; bottom: 12px; max-width: none; } }

/* ── Внутренние страницы ── */
.page-top { position: relative; background: var(--mu-ink) url('../img/page-header.webp') center / cover no-repeat; }
.page-top::before { content: ''; position: absolute; inset: 0; background: rgba(36, 44, 51, .78); }
.page-top #universal-breadcrumbs { position: relative; background: transparent !important; padding: 2.25rem 0 !important; }
.page-top .breadcrumb { --bs-breadcrumb-divider-color: #8D969D; --bs-breadcrumb-item-active-color: #fff; font-size: .9rem; }
.page-top .breadcrumb a { color: #D5DADE; text-decoration: none; }
.page-top .breadcrumb a:hover { color: var(--mu-accent); }
.page-top:not(:has(#universal-breadcrumbs)) { min-height: 72px; }
.page-wrap { padding-top: 2.5rem; padding-bottom: 3.5rem; }
.page-title { font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem); text-transform: uppercase; margin-bottom: 1.5rem; }
.page-title::after { content: ''; display: block; width: 56px; height: 3px; margin-top: .75rem; background: var(--mu-accent); }
.content-text { max-width: 900px; }
/* Секции лендинга (главная) — та же типографика, что у текста страницы: до 28.10
   главная была телом страницы внутри .content-text, и макет утверждён в этом виде. */
.content-text h2, .lb-sections h2 { font-size: 1.6rem; margin: 2rem 0 1rem; }
.content-text h3, .lb-sections h3 { font-size: 1.3rem; margin: 1.5rem 0 .75rem; }
.content-text ul, .lb-sections ul { padding-left: 1.25rem; }
.content-text li, .lb-sections li { margin-bottom: .35rem; }
.content-text table { width: 100%; margin: 1rem 0 1.5rem; border-collapse: collapse; }
.content-text td, .content-text th { padding: .6rem .75rem; border: 1px solid var(--mu-line); vertical-align: top; }
.homepage .content-text { max-width: none; }
/* Страница раздела: услуги строками «название — цена» */
.content-text .svc-list { list-style: none; padding: 0; margin: 1rem 0 1.25rem; border-top: 1px solid var(--mu-line); }
.content-text .svc-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin: 0;
  padding: .75rem 0; border-bottom: 1px solid var(--mu-line); }
.svc-list a, .svc-list li > span:first-child { color: var(--mu-ink); font-weight: 500; text-decoration: none; }
.svc-list a:hover { color: var(--mu-accent-dark); }
.svc-list .svc-price { flex: none; font-family: var(--mu-head); font-size: 1.1rem; color: var(--mu-ink); white-space: nowrap; }
.svc-list .svc-price small { font-family: var(--mu-body); font-size: .85rem; color: var(--mu-muted); }
.svc-list-note { color: var(--mu-muted); font-size: .95rem; }
@media (max-width: 575.98px) { .content-text .svc-list li { flex-direction: column; gap: .15rem; } }

/* ── Адаптив ── */
@media (max-width: 1199.98px) {
  .header-phone { display: none; }
  .svc-grid { grid-template-columns: repeat(3, 1fr); }
  .price-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 991.98px) {
  .burger { display: inline-flex; }
  .header-cta { display: none; }
  .site-nav { position: fixed; inset: 114px 0 0 0; z-index: 1040; margin: 0; padding: 1rem 1rem 2rem; background: #fff; overflow-y: auto;
    transform: translateX(100%); visibility: hidden; transition: transform .25s, visibility .25s; }
  .site-nav.is-open { transform: none; visibility: visible; }
  .nav-main { flex-direction: column; gap: 0; }
  .nav-main > li { border-bottom: 1px solid var(--mu-line); }
  .nav-main > li > a, .nav-toggle { width: 100%; justify-content: space-between; padding: .9rem .25rem; font-size: 1.1rem; }
  .nav-sub { position: static; display: none; min-width: 0; max-height: none; border: 0; box-shadow: none; padding: 0 0 .75rem .5rem; }
  .nav-mega { position: static; grid-template-columns: 1fr; gap: 1rem; max-height: none; overflow: visible; padding: 0 0 1rem .5rem;
    border: 0; border-radius: 0; box-shadow: none; }
  .nav-mega-head { font-size: 1rem; }
  .nav-mega li a { padding: .45rem 0; font-size: .95rem; }
  .split-row { grid-template-columns: 1fr; gap: 2rem; }
  .split-row--rev .split-img { order: 0; }
  .split-img { order: -1; }
  .case-grid { grid-template-columns: 1fr; }
  .contacts-grid { grid-template-columns: 1fr 1fr; }
  .contacts-info { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 767.98px) {
  .topbar-geo { display: none; }
  .topbar-contacts { gap: 1rem; font-size: .8rem; }
  .header-row { min-height: 64px; }
  .site-nav { top: 102px; }
  .logo { font-size: 1.5rem; }
  .hero::before { background: linear-gradient(180deg, rgba(244, 243, 241, .96) 0%, rgba(244, 243, 241, .9) 60%, rgba(244, 243, 241, .7) 100%); }
  .hero-bg img { object-position: 80% center; }
  .services { margin-top: 0; padding-top: 2rem; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .svc-card:last-child { grid-column: 1 / -1; }
  .split, .prices, .cases, .contacts { padding: 3rem 0; }
  .trust-grid { grid-template-columns: 1fr; gap: 1.75rem; padding-block: 2.75rem; }
  .price-grid { grid-template-columns: 1fr 1fr; gap: .75rem; }
  .contacts-grid { grid-template-columns: 1fr; }
  .map-card { min-height: 180px; }
  .cta-form { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
}
/* Телефон: разделы и цены — компактные строки, а не стопка высоких карточек. */
@media (max-width: 575.98px) {
  .svc-grid { grid-template-columns: 1fr; gap: .6rem; }
  .svc-card, .svc-card:last-child { grid-column: auto; flex-direction: row; align-items: center; gap: .9rem; padding: .9rem 1rem; }
  .svc-card > svg { width: 32px; height: 32px; margin: 0; flex: none; }
  .svc-text { flex: 1; }
  .svc-card h2 { font-size: 1.05rem; margin-bottom: .15rem; }
  .svc-card p { font-size: .85rem; }
  .svc-card .link-more { margin: 0; font-size: 0; }
  .svc-card .link-more svg { width: 18px; height: 18px; }
  .price-grid { grid-template-columns: 1fr; gap: .6rem; }
  .price-card { display: grid; grid-template-columns: 1fr auto; column-gap: 1rem; row-gap: .15rem; align-items: center; text-align: left; padding: .9rem 1rem; }
  .price-head { flex-direction: row; gap: .75rem; }
  .price-head img { width: 44px; height: 44px; margin: 0; flex: none; }
  .price-card h3 { min-height: 0; margin: 0; font-size: .95rem; }
  .price-card .price { grid-column: 2; grid-row: 1; font-size: 1.35rem; text-align: right; }
  .price-card .per { grid-column: 1; grid-row: 2; margin: 0; padding-left: calc(44px + .75rem); }
  .price-card .btn-mu { grid-column: 2; grid-row: 2; min-height: 34px; padding: .3rem .8rem; font-size: .8rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
