/* =========================================================
   Sergey Home Service — стили сайта
   Цвета и размеры меняются в одном месте: :root ниже.
   ========================================================= */
:root {
  --bg: #f6f4ef;
  --surface: #ffffff;
  --tint: #efebe3;
  --ink: #0f1d28;
  --ink-2: #26343f;
  --muted: #5d6a74;
  --line: #e3ded4;
  --line-2: #d6d0c4;
  --accent: #e8642c;
  --accent-2: #ff8a4c;
  --accent-soft: #fde9df;
  --sea: #0b6e79;
  --dark: #0e1a23;
  --dark-2: #15242f;
  --sun: #f7b733;
  --wa: #1fbd5a;
  --tg: #2a9fd8;
  --r-sm: 12px;
  --r: 20px;
  --r-lg: 28px;
  --sh-1: 0 1px 2px rgba(15, 29, 40, .05), 0 4px 16px rgba(15, 29, 40, .05);
  --sh-2: 0 2px 6px rgba(15, 29, 40, .06), 0 18px 48px rgba(15, 29, 40, .1);
  --wrap: 1240px;
  --pad: clamp(16px, 4vw, 40px);
  --hdr: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.6 "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; letter-spacing: -.025em; line-height: 1.1; font-weight: 800; text-wrap: balance; }
h1 { font-size: clamp(36px, 5.6vw, 68px); }
h2 { font-size: clamp(28px, 3.6vw, 46px); }
h3 { font-size: 20px; letter-spacing: -.015em; line-height: 1.25; font-weight: 700; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
.i { width: 20px; height: 20px; flex: none; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.narrow { max-width: 860px; }
.muted { color: var(--muted); }
.mt { margin-top: 28px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 12px; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: 16px; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--sm { height: 42px; padding: 0 16px; font-size: 15px; }
.btn--lg { height: 58px; padding: 0 28px; font-size: 17px; }
.btn--block { width: 100%; }
.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 8px 24px rgba(31, 189, 90, .28); }
.btn--wa:hover { background: #19a94f; box-shadow: 0 12px 30px rgba(31, 189, 90, .36); }
.btn--tg { background: var(--tg); color: #fff; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--sun { background: var(--sun); color: var(--dark); }
.btn--ghost { background: var(--surface); border-color: var(--line-2); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--ghost-light { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .22); color: #fff; }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .12); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.link-arrow .i { width: 18px; transition: transform .2s var(--ease); }
.link-arrow:hover .i { transform: translateX(4px); }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.eyebrow .i { width: 16px; height: 16px; }
.eyebrow--light { color: var(--accent-2); }
.eyebrow--sun { color: var(--sun); }
.tag { display: inline-flex; padding: 4px 10px; border-radius: 999px; background: var(--accent-soft); color: #b8461a; font-size: 12.5px; font-weight: 700; }
.hl { background: linear-gradient(transparent 62%, rgba(232, 100, 44, .28) 62%); padding: 0 .04em; }
.sample { position: absolute; top: 14px; right: 14px; padding: 3px 9px; border-radius: 999px; background: #fff3c4; color: #7a5a00; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }

/* ---------- Фото с ТЗ ---------- */
.ph { position: relative; margin: 0; overflow: hidden; background: linear-gradient(135deg, #e7e1d6, #d9d2c4); border-radius: inherit; }
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.ph__brief { display: none; }
.ph__label { position: absolute; left: 12px; top: 12px; z-index: 2; padding: 4px 10px; border-radius: 999px; background: rgba(14, 26, 35, .78); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .04em; }
.ph--missing .ph__label, .show-briefs .ph__label { display: none; }
.proj__price { font-weight: 800; color: var(--ink); }
[data-grid] .is-more { display: none; }
[data-grid].is-all .is-more, [data-grid].is-filtered .is-more:not(.is-hidden) { display: flex; }
.more-row { display: flex; justify-content: center; margin-top: 28px; }
/* Слайдер: слайды лежат друг на друге, активный проявляется */
.slider { position: relative; overflow: hidden; isolation: isolate; outline-offset: 4px; }
.slider .slider__slide { position: absolute; inset: 0; opacity: 0; transition: opacity .45s ease; }
.slider .slider__slide.is-on { opacity: 1; z-index: 1; }
.slider__nav { position: absolute; top: 50%; z-index: 3; width: 44px; height: 44px; margin-top: -22px; border: 0; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .88); color: var(--ink); box-shadow: var(--sh-1); cursor: pointer; opacity: 0; transition: opacity .25s, background .2s; }
.slider__nav .i { width: 20px; height: 20px; }
.slider__nav--prev { left: 14px; } .slider__nav--prev .i { transform: rotate(180deg); }
.slider__nav--next { right: 14px; }
.slider:hover .slider__nav, .slider:focus-within .slider__nav { opacity: 1; }
.slider__nav:hover { background: #fff; }
.slider__dots { position: absolute; left: 0; right: 0; bottom: 14px; z-index: 3; display: flex; justify-content: center; gap: 8px; pointer-events: none; }
.slider__dots button { pointer-events: auto; width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .6); box-shadow: 0 1px 3px rgba(0, 0, 0, .25); cursor: pointer; transition: width .3s var(--ease), background .3s; }
.slider__dots button[aria-current="true"] { width: 24px; background: #fff; }
@media (hover: none) { .slider__nav { display: none; } }
/* ТЗ на пустом слайде — сверху справа, чтобы не спорить с точками и плашками */
.slider .ph__brief { left: auto !important; bottom: auto !important; top: 14px; right: 14px !important; max-width: min(460px, 70%); }
@media (max-width: 680px) { .slider .ph__brief { max-width: none; left: 12px !important; right: 12px !important; top: 12px; } }
@media (prefers-reduced-motion: reduce) { .slider .slider__slide { transition: none; } }
.ph--missing img { visibility: hidden; }
.ph--missing .ph__brief, .show-briefs .ph__brief {
  display: flex; gap: 10px; align-items: flex-start; position: absolute; left: 12px; right: 12px; bottom: 12px;
  padding: 10px 12px; border-radius: 12px; background: rgba(14, 26, 35, .82); color: #fff; font-size: 13px; line-height: 1.4;
  backdrop-filter: blur(6px);
}
.ph__brief .i { width: 18px; height: 18px; color: var(--sun); margin-top: 1px; }
.ph--missing::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(45deg, transparent 0 14px, rgba(255, 255, 255, .18) 14px 28px); }

/* ---------- Шапка ---------- */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(246, 244, 239, .82); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s; }
.hdr.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(15, 29, 40, .05); }
.hdr__in { height: var(--hdr); display: flex; align-items: center; gap: 20px; }
.logo { display: flex; align-items: center; gap: 12px; flex: none; }
.logo__mark { width: 42px; height: 42px; flex: none; display: block; }
.logo__mark svg { width: 100%; height: 100%; display: block; border-radius: 13px; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .12); }
.logo__txt { display: flex; flex-direction: column; line-height: 1.15; }
.logo__txt b { font-size: 21px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.logo__txt b i { font-style: normal; color: var(--accent); }
.logo__txt small { margin-top: 3px; letter-spacing: .06em; text-transform: uppercase; font-size: 10.5px !important; }
.logo__txt small { font-size: 12px; color: var(--muted); font-weight: 600; }
.logo--light .logo__txt small { color: rgba(255, 255, 255, .55); }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 2px; }
.nav a { display: flex; align-items: center; gap: 6px; padding: 10px 11px; white-space: nowrap; border-radius: 10px; font-weight: 600; font-size: 15px; color: var(--ink-2); transition: background .2s, color .2s; }
.nav a:hover, .nav a[aria-current] { background: rgba(15, 29, 40, .06); color: var(--ink); }
.caret { width: 10px; height: 6px; transition: transform .2s; }
.nav__item--mega { position: relative; }
.nav__item--mega:hover .caret, .nav__item--mega:focus-within .caret { transform: rotate(180deg); }
.mega {
  position: absolute; top: calc(100% + 10px); left: 50%; width: min(720px, 90vw); transform: translate(-50%, 8px);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-2); padding: 14px;
  opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s var(--ease), visibility .2s;
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav__item--mega:hover .mega, .nav__item--mega:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
.nav .mega a, .mega__link b, .mega__link small { white-space: normal; min-width: 0; }
.nav .mega__link { align-items: flex-start; gap: 12px; padding: 12px; border-radius: 14px; }
.mega__link b { display: block; font-size: 15px; color: var(--ink); }
.mega__link small { display: block; color: var(--muted); font-size: 13px; font-weight: 500; line-height: 1.4; margin-top: 2px; }
.mega__ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); flex: none; }
.nav .mega__all { margin-top: 8px; justify-content: center; background: var(--bg); font-weight: 700; }
.mega__all .i { width: 16px; }
/* Услуги по группам: широкая панель по центру шапки, 4 колонки */
.hdr__in { position: relative; }
.nav__item--mega { position: static; }
.mega--groups { top: 100%; width: min(1040px, calc(100vw - 32px)); padding: 18px; }
.mega--groups::before { top: -26px; height: 26px; }
.mega__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px 14px; }
.mega__col { display: grid; align-content: start; gap: 2px; }
.mega__h { margin: 2px 10px 6px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.nav .mega--groups .mega__link { align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; }
.mega--groups .mega__link b { font-size: 14.5px; font-weight: 700; line-height: 1.25; }
.mega--groups .mega__ic { width: 32px; height: 32px; border-radius: 9px; }
.mega--groups .mega__ic .i { width: 17px; height: 17px; }
.hdr__cta { display: flex; align-items: center; gap: 12px; }
.hdr__phone { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; white-space: nowrap; }
.hdr__phone .i { width: 18px; color: var(--accent); }
.burger { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); place-items: center; }
.drawer { display: none; }

/* ---------- Hero ---------- */
.hero { padding: clamp(28px, 5vw, 64px) 0 0; }
.hero__head { padding-bottom: clamp(24px, 3.5vw, 40px); }
.hero__head h1 { margin-bottom: 0; font-size: clamp(36px, 4.2vw, 60px); }
@media (min-width: 961px) { .hero__line { white-space: nowrap; } }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; font-weight: 700; color: var(--ink-2); margin-bottom: 26px; box-shadow: var(--sh-1); }
.pill__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 0 rgba(31, 189, 90, .5); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(31, 189, 90, 0); } 100% { box-shadow: 0 0 0 0 rgba(31, 189, 90, 0); } }
.hero__lead { font-size: clamp(17px, 1.4vw, 19px); color: var(--muted); max-width: 640px; margin: 0; }
.hero__below { display: flex; align-items: center; justify-content: space-between; gap: 16px 40px; flex-wrap: wrap; padding-top: clamp(24px, 3vw, 36px); }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 0; color: var(--ink-2); font-weight: 600; font-size: 15px; }
.hero__trust li { display: flex; align-items: center; gap: 8px; }
.hero__trust .i { width: 18px; color: var(--accent); }
/* Широкая картинка в ширину контента (как шапка: от логотипа до WhatsApp) */
.hero__media { position: relative; }
.hero__img { width: 100%; aspect-ratio: 21 / 9; min-height: 340px; max-height: 70vh; border-radius: var(--r-lg); box-shadow: var(--sh-2); }
.hero__img img { object-position: 50% 35%; }
.hero__floats { z-index: 4; position: absolute; top: 0; bottom: 0; left: var(--pad); right: var(--pad); pointer-events: none; }
.hero__floats .float { pointer-events: auto; }
.hero__floats .float--a { left: 24px; bottom: 24px; }
.hero__floats .float--b { left: 24px; right: auto; top: 24px; }
.hero__stats { margin-top: clamp(20px, 2.5vw, 28px); }
.float { position: absolute; display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); border-radius: 18px; box-shadow: var(--sh-2); font-size: 14px; line-height: 1.3; animation: floaty 6s ease-in-out infinite; }
.float b { display: block; }
.float small { color: var(--muted); font-weight: 500; }
.float > .i { width: 38px; height: 38px; padding: 9px; border-radius: 12px; background: var(--wa); color: #fff; }
.float--a { left: -28px; bottom: 56px; }
.float--b { right: -18px; top: 40px; animation-delay: -3s; }
.float__num { width: 52px; height: 52px; border-radius: 14px; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 20px; line-height: 1; text-align: center; }
.float__num small { display: block; color: rgba(255, 255, 255, .85); font-size: 11px; font-weight: 700; }
@keyframes floaty { 50% { transform: translateY(-8px); } }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(40px, 6vw, 72px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-1); }
.stats li { padding: 24px 28px; display: flex; flex-direction: column; gap: 4px; }
.stats li + li { border-left: 1px solid var(--line); }
.stats b { font-size: clamp(28px, 3vw, 40px); font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.stats span { color: var(--muted); font-size: 15px; font-weight: 600; }
.stats--svc { grid-template-columns: repeat(3, 1fr); margin-top: 0; }
.stats--inline { grid-template-columns: repeat(2, 1fr); box-shadow: none; margin-top: 32px; }
.stats--inline li:nth-child(3) { border-left: 0; }
.stats--inline li:nth-child(n+3) { border-top: 1px solid var(--line); }

/* ---------- Секции ---------- */
.sec { padding: clamp(64px, 9vw, 120px) 0; }
.sec--top0 { padding-top: 0; }
.sec--tint { background: var(--tint); }
.sec--dark { background: var(--dark); color: #fff; }
.sec--dark .shead__txt, .sec--dark .step p { color: rgba(255, 255, 255, .66); }
.shead { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(32px, 4vw, 52px); }
.shead > div { max-width: 760px; }
.shead__txt { color: var(--muted); font-size: 18px; margin-top: 16px; }
.shead--c { justify-content: center; text-align: center; }
.shead--c > div { margin: 0 auto; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* ---------- Карточки услуг (bento) ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-flow: dense; gap: 16px; }
.svc { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; min-height: 250px; }
.svc:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: transparent; }
.svc:hover .ph img { transform: scale(1.04); }
.svc__body { display: flex; flex-direction: column; gap: 10px; padding: 24px; flex: 1; }
.svc__ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 8px; }
.svc__ic .i { width: 24px; height: 24px; }
.svc p { color: var(--muted); font-size: 15px; line-height: 1.5; }
.svc__foot { margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; }
.svc__price { font-weight: 800; font-size: 17px; }
.svc__price span { color: var(--muted); font-weight: 600; font-size: 14px; }
.svc__go { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); transition: background .25s, color .25s, transform .25s var(--ease); }
.svc:hover .svc__go { background: var(--accent); color: #fff; transform: rotate(45deg); }
.svc--big { grid-column: span 2; grid-row: span 2; color: #fff; border: 0; min-height: 420px; }
.svc--big .svc__img { position: absolute; inset: 0; border-radius: 0; }
.svc--big .svc__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 26, 35, .05) 20%, rgba(14, 26, 35, .88) 100%); }
.svc--big .svc__body { position: relative; justify-content: flex-end; padding: 32px; }
.svc--big .svc__foot { margin-top: 10px; }
.svc--wide { grid-row: span 1; min-height: 300px; }
.svc--big h3 { font-size: clamp(24px, 2.4vw, 32px); }
.svc--big p { color: rgba(255, 255, 255, .78); font-size: 16px; max-width: 460px; }
.svc--big .svc__ic { background: rgba(255, 255, 255, .14); color: #fff; backdrop-filter: blur(8px); }
.svc--big .svc__price span { color: rgba(255, 255, 255, .7); }
.svc--big .svc__go { background: rgba(255, 255, 255, .16); }
.svc--big .ph__brief { top: 12px; bottom: auto; z-index: 2; }

/* ---------- Сам / бригада ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.duo__card { position: relative; padding: clamp(28px, 4vw, 48px); background: var(--surface); border-radius: var(--r-lg); border: 1px solid var(--line); overflow: hidden; }
.duo__card h3 { font-size: clamp(24px, 2.4vw, 32px); margin: 18px 0 12px; }
.duo__card > p, .duo__inner > p { color: var(--muted); margin-bottom: 24px; }
.duo__ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.duo__ic .i { width: 26px; height: 26px; }
.duo__card--dark { background: var(--dark); color: #fff; border: 0; }
.duo__bg { position: absolute; inset: 0; opacity: .28; border-radius: 0; }
.show-briefs .duo__bg, .duo__bg.ph--missing { opacity: 1; }
.duo__bg .ph__brief { top: 12px; bottom: auto; }
.duo__card--dark .duo__bg ~ .duo__inner { z-index: 1; }
.duo__inner { position: relative; }
.duo__card--dark .duo__inner > p { color: rgba(255, 255, 255, .72); }
.duo__card--dark .duo__ic { background: rgba(255, 255, 255, .12); color: var(--accent-2); }
.checks { display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.checks .i { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--accent); color: #fff; margin-top: 1px; }

/* ---------- Обещания ---------- */
.promises { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.promise { padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.promise__ic { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; background: var(--ink); color: #fff; margin-bottom: 22px; }
.promise h3 { margin-bottom: 10px; }
.promise p { color: var(--muted); font-size: 15.5px; }

/* ---------- Шаги ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; counter-reset: s; }
.step { position: relative; padding: 28px; border-radius: var(--r); background: var(--dark-2); border: 1px solid rgba(255, 255, 255, .06); }
.step__n { display: block; font-size: 15px; font-weight: 800; color: var(--accent-2); margin-bottom: 40px; letter-spacing: .05em; }
.step h3 { margin-bottom: 10px; }
.step p { font-size: 15.5px; }
.steps--light .step { background: var(--surface); border-color: var(--line); }
.steps--light .step p { color: var(--muted); }
.steps--light .step__n { color: var(--accent); }

/* ---------- Проекты ---------- */
.proj { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s; }
.proj:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.proj:hover .ph img { transform: scale(1.04); }
.proj__img { border-radius: 0; }
.proj__body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.proj__meta, .proj__foot { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; color: var(--muted); font-size: 14px; font-weight: 600; }
.proj__meta .i, .proj__foot .i { width: 16px; height: 16px; vertical-align: -3px; }
.proj p { color: var(--muted); font-size: 15px; }
.proj__foot { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); justify-content: space-between; }
.proj.is-hidden { display: none; }

/* ---------- Солнечный блок ---------- */
.solar { position: relative; padding: clamp(64px, 9vw, 120px) 0; background: radial-gradient(1200px 500px at 85% 0%, rgba(247, 183, 51, .22), transparent 60%), linear-gradient(160deg, #0e1a23, #10283a); color: #fff; overflow: hidden; }
.solar__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.solar h2 { margin-bottom: 20px; }
.solar__txt > p:not(.eyebrow) { color: rgba(255, 255, 255, .72); font-size: 18px; max-width: 580px; }
.solar__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 32px 0; }
.solar__stats li { padding: 18px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.solar__stats b { display: block; font-size: 26px; font-weight: 800; color: var(--sun); letter-spacing: -.02em; }
.solar__stats span { font-size: 13.5px; color: rgba(255, 255, 255, .66); line-height: 1.4; display: block; margin-top: 4px; }
.solar__img { aspect-ratio: 1; border-radius: var(--r-lg); }

/* ---------- Отзывы ---------- */
.review { position: relative; margin: 0; padding: 30px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); display: flex; flex-direction: column; gap: 18px; }
.review__stars { display: flex; gap: 3px; color: var(--sun); }
.review__stars .i { width: 18px; height: 18px; }
.review blockquote { margin: 0; font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.review figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.review figcaption small { display: block; color: var(--muted); font-size: 14px; }
.review__av { width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 800; }
.review--wide { padding: clamp(28px, 4vw, 48px); }
.review--wide blockquote { font-size: clamp(19px, 2vw, 24px); font-weight: 600; letter-spacing: -.01em; }

/* ---------- Районы ---------- */
.areas { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.areas h2 { margin-bottom: 18px; }
.areas__txt > p:not(.eyebrow) { color: var(--muted); font-size: 18px; margin-bottom: 26px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chips li { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; font-size: 14.5px; }
.chips .i { width: 15px; height: 15px; color: var(--accent); }
.areas__img { aspect-ratio: 4 / 3.4; border-radius: var(--r-lg); }

/* ---------- Блог ---------- */
.post { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s; }
.post:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.post:hover .ph img { transform: scale(1.04); }
.post__img { border-radius: 0; }
.post__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; }
.post__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; color: var(--muted); font-size: 14px; font-weight: 600; }
.post p { color: var(--muted); font-size: 15px; }
.post--big { display: grid; grid-template-columns: 1.2fr 1fr; }
.post--big .post__img { aspect-ratio: auto !important; min-height: 380px; }
.post--big .post__body { padding: clamp(28px, 4vw, 48px); justify-content: center; gap: 16px; }
.post--big h3 { font-size: clamp(24px, 2.6vw, 34px); }
.post--big p { font-size: 17px; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq-wrap .shead { margin-bottom: 18px; }
.faq-wrap .muted { margin-bottom: 26px; }
.faq { display: grid; gap: 10px; }
.faq__item { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; transition: box-shadow .25s; }
.faq__item[open] { box-shadow: var(--sh-1); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 24px; font-weight: 700; font-size: 17px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__ic { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); flex: none; transition: transform .3s var(--ease), background .2s; }
.faq__ic .i { width: 18px; height: 18px; }
.faq__item[open] .faq__ic { transform: rotate(45deg); background: var(--accent); color: #fff; }
.faq__a { padding: 0 24px 22px; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { padding: 0 0 clamp(64px, 9vw, 110px); }
.sec--tint + .cta-band, .sec--dark + .cta-band { padding-top: clamp(64px, 9vw, 110px); }
.cta-band__in { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; padding: clamp(32px, 5vw, 64px); border-radius: var(--r-lg); background: radial-gradient(900px 400px at 0% 0%, rgba(232, 100, 44, .35), transparent 55%), var(--dark); color: #fff; box-shadow: var(--sh-2); max-width: calc(var(--wrap) - 2 * var(--pad)); }
.cta-band h2 { font-size: clamp(26px, 3.2vw, 42px); margin-bottom: 14px; }
.cta-band__txt p { color: rgba(255, 255, 255, .7); }
.cta-band__act { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cta-band__act .btn:last-of-type { grid-column: span 2; }
.cta-band__hours { grid-column: span 2; text-align: center; color: rgba(255, 255, 255, .55); font-size: 14px; }

/* ---------- Подвал ---------- */
.ftr { background: var(--dark); color: rgba(255, 255, 255, .72); padding: 72px 0 28px; font-size: 15px; }
.ftr__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.ftr__brand p { margin: 20px 0; max-width: 340px; }
.ftr__h { color: #fff; font-weight: 800; margin-bottom: 16px; }
.ftr ul { display: grid; gap: 10px; }
.ftr a:hover { color: #fff; }
.ftr__contacts li, .ftr__contacts a { display: flex; align-items: center; gap: 10px; }
.ftr__contacts .i { width: 17px; height: 17px; color: var(--accent-2); }
.ftr__soc { display: flex; gap: 8px; }
.ftr__soc a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .07); transition: background .2s; }
.ftr__soc a:hover { background: var(--accent); }
.ftr__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13.5px; color: rgba(255, 255, 255, .5); }

/* ---------- Мобильная панель и плавающая кнопка ---------- */
.mbar { display: none; }
.fab { position: fixed; right: 24px; bottom: 24px; z-index: 40; width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; background: var(--wa); color: #fff; box-shadow: 0 12px 32px rgba(31, 189, 90, .45); transition: transform .25s var(--ease); }
.fab .i { width: 30px; height: 30px; }
.fab:hover { transform: scale(1.07); }
.fab::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ring 2.4s infinite; }
@keyframes ring { from { transform: scale(1); opacity: .7; } to { transform: scale(1.5); opacity: 0; } }

/* ---------- Внутренние страницы ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); font-weight: 600; margin-bottom: 26px; }
.crumbs a:hover { color: var(--ink); }
.phero { padding: clamp(36px, 5vw, 72px) 0 clamp(36px, 5vw, 56px); }
.phero h1 { max-width: 900px; font-size: clamp(34px, 5vw, 60px); }
.phero__lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); max-width: 720px; margin-top: 18px; }
.phero--404 { padding: 120px 0; }
.phero--404 .btn-row { margin-top: 32px; }

.shero { padding: clamp(28px, 4vw, 56px) 0 clamp(40px, 5vw, 64px); }
.shero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.shero h1 { font-size: clamp(32px, 4.4vw, 56px); margin-bottom: 20px; }
.shero__lead { color: var(--muted); font-size: 18px; margin-bottom: 26px; }
.shero__price { display: inline-flex; align-items: baseline; gap: 12px; padding: 12px 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); margin-bottom: 26px; }
.shero__price span { color: var(--muted); font-weight: 600; font-size: 14px; }
.shero__price b { font-size: 22px; font-weight: 800; }
.shero__price b span { font-size: 15px; }
.shero__img { aspect-ratio: 4 / 4.2; border-radius: var(--r-lg); box-shadow: var(--sh-2); }

.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.benefit { padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.benefit__n { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; margin-bottom: 18px; }
.benefit__n .i { width: 18px; }
.benefit h3 { margin-bottom: 8px; }
.benefit p { color: var(--muted); font-size: 15.5px; }

.works--3 { grid-template-columns: repeat(3, 1fr) !important; }
@media (max-width: 960px) { .works--3 { grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)) !important; } }
.works { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.work { padding: 28px; background: var(--surface); transition: background .25s; }
.work:hover { background: #fffaf6; }
.work__n { display: block; color: var(--accent); font-weight: 800; font-size: 14px; margin-bottom: 22px; letter-spacing: .05em; }
.work h3 { margin-bottom: 8px; }
.work p { color: var(--muted); font-size: 15.5px; }

.prices { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.prices h2 { margin-bottom: 16px; }
.prices__txt > p:not(.eyebrow) { color: var(--muted); margin-bottom: 26px; }
.ptable { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.ptable__row { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 18px 24px; }
.ptable__row + .ptable__row { border-top: 1px dashed var(--line-2); }
.ptable__row b { white-space: nowrap; font-weight: 800; }
.ptable__row:hover { background: #fffaf6; }

.xcard { padding: 28px; border-radius: var(--r); background: var(--dark-2); border: 1px solid rgba(255, 255, 255, .07); }
.xcard h3 { margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.xcard p { color: rgba(255, 255, 255, .7); }
.xcard--light { background: var(--surface); border-color: var(--line); }
.xcard--light p { color: var(--muted); }
.xcard--light .i { color: var(--accent); }
.sources { margin-top: 28px; font-size: 13.5px; color: rgba(255, 255, 255, .5); }
.sources a { text-decoration: underline; text-underline-offset: 3px; }

.gallery { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-auto-rows: 240px; gap: 16px; }
.gallery__it { border-radius: var(--r); overflow: hidden; }
.gallery__it .ph { height: 100%; }
.gallery__it--big { grid-row: span 2; }
.gallery--n3 { grid-template-columns: 1.4fr 1fr; }
.gallery--n4 .gallery__it:last-child { grid-column: span 2; }
.gallery--n2 { grid-template-columns: 1fr 1fr; }
.gallery--n2 .gallery__it--big { grid-row: span 1; }

.svc-list { display: grid; gap: 12px; }
.svc-row { display: grid; grid-template-columns: 56px 160px 1fr auto 52px; align-items: center; gap: 24px; padding: 14px 24px 14px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); transition: transform .25s var(--ease), box-shadow .25s; }
.svc-row:hover { transform: translateX(6px); box-shadow: var(--sh-1); }
.svc-row__n { text-align: center; color: var(--accent); font-weight: 800; }
.svc-row__img { border-radius: 14px; }
.svc-row__body { display: flex; flex-direction: column; gap: 4px; }
.svc-row__body b { font-size: 22px; letter-spacing: -.015em; }
.svc-row__body > span:last-child { color: var(--muted); font-size: 15.5px; }
.svc-row__ic { display: none; }
.svc-row__price { font-weight: 800; white-space: nowrap; }
.svc-row__go { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); transition: background .25s, color .25s; }
.svc-row:hover .svc-row__go { background: var(--accent); color: #fff; }

.toc-chips, .filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.toc-chips a, .filters button, .chip-static { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 700; font-size: 14.5px; transition: background .2s, color .2s, border-color .2s; }
.toc-chips a .i { width: 16px; height: 16px; color: var(--accent); }
.toc-chips a:hover, .filters button:hover { border-color: var(--ink); }
.filters button.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.price-groups { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.pgroup header { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.pgroup header .svc__ic { margin: 0; width: 44px; height: 44px; }
.pgroup header h2 { font-size: 24px; }
.pgroup header .link-arrow { margin-left: auto; font-size: 14px; }

.about { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.about__img { border-radius: var(--r-lg); position: sticky; top: calc(var(--hdr) + 24px); }
.about h1 { font-size: clamp(30px, 3.8vw, 48px); }
.about__txt > p:not(.eyebrow):not(.phero__lead) { color: var(--ink-2); margin-top: 18px; }

.areas-page { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.area-list { display: grid; gap: 8px; }
.area-list li { display: grid; grid-template-columns: 40px 1fr auto; gap: 14px; align-items: center; padding: 16px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.area-list__n { color: var(--accent); font-weight: 800; font-size: 14px; }
.area-list li > span:last-child { color: var(--muted); font-size: 14px; text-align: right; }
.map { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); min-height: 520px; position: sticky; top: calc(var(--hdr) + 24px); }
.map iframe { width: 100%; height: 100%; min-height: 520px; border: 0; filter: saturate(.8); }

.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.channels { display: grid; gap: 10px; }
.ch { display: flex; align-items: center; gap: 16px; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; transition: transform .2s var(--ease), box-shadow .2s; }
.ch:hover { transform: translateY(-2px); box-shadow: var(--sh-1); }
.ch > .i { width: 48px; height: 48px; padding: 12px; border-radius: 14px; color: #fff; background: var(--ink); }
.ch--wa > .i { background: var(--wa); }
.ch--tg > .i { background: var(--tg); }
.ch--vb > .i { background: #7360f2; }
.ch--tel > .i { background: var(--accent); }
.ch b { display: block; font-size: 17px; }
.ch small { color: var(--muted); font-size: 14.5px; }
.contact__info { display: grid; gap: 16px; margin-top: 24px; padding: 24px; border-radius: 18px; background: var(--tint); }
.contact__info p { display: flex; gap: 14px; color: var(--ink-2); }
.contact__info .i { color: var(--accent); margin-top: 3px; }
.cform { padding: clamp(24px, 4vw, 40px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-1); display: grid; gap: 16px; }
.cform h2 { font-size: 30px; }
.cform label { display: grid; gap: 8px; font-weight: 700; font-size: 14.5px; }
.cform input, .cform select, .cform textarea { font: inherit; font-weight: 500; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--bg); color: var(--ink); transition: border-color .2s, background .2s; }
.cform input:focus, .cform select:focus, .cform textarea:focus { outline: none; border-color: var(--accent); background: #fff; }

/* ---------- Статья ---------- */
.art-hero { padding: clamp(28px, 4vw, 56px) 0 0; }
.art-hero h1 { font-size: clamp(30px, 4.2vw, 52px); margin: 18px 0; }
.art-hero__lead { font-size: 19px; color: var(--muted); }
.art-cover { margin-top: 40px; }
.art-cover .ph { border-radius: var(--r-lg); }
.art-grid { display: grid; grid-template-columns: 220px minmax(0, 720px) 300px; gap: 48px; justify-content: center; padding-top: 56px; padding-bottom: 40px; }
.art-toc, .art-side { position: sticky; top: calc(var(--hdr) + 24px); align-self: start; }
.art-toc__h { font-weight: 800; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.art-toc ol { display: grid; gap: 10px; counter-reset: t; }
.art-toc a { font-size: 14.5px; font-weight: 600; color: var(--ink-2); line-height: 1.4; display: block; }
.art-toc a:hover { color: var(--accent); }
.side-card { padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); display: grid; gap: 12px; }
.side-card .eyebrow { margin: 0; }
.side-card p { color: var(--muted); font-size: 15px; }
.side-card__price { font-weight: 800; color: var(--ink) !important; font-size: 18px !important; }
.prose { font-size: 18px; line-height: 1.75; color: var(--ink-2); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(24px, 2.4vw, 30px); margin-top: 1.8em; color: var(--ink); }
.prose h3 { font-size: 21px; margin-top: 1.5em; color: var(--ink); }
.prose ul, .prose ol { padding-left: 0; display: grid; gap: .5em; }
.prose ul li { position: relative; padding-left: 26px; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: .65em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.prose ol { counter-reset: o; }
.prose ol li { position: relative; padding-left: 38px; counter-increment: o; }
.prose ol li::before { content: counter(o); position: absolute; left: 0; top: .1em; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 13px; font-weight: 800; display: grid; place-items: center; }
.prose strong { color: var(--ink); }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Появление при прокрутке ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease) var(--d, 0ms), transform .7s var(--ease) var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Панель макета (только локально) ---------- */
.devbar { position: fixed; left: 16px; bottom: 16px; z-index: 60; display: flex; align-items: center; gap: 6px; padding: 6px 6px 6px 14px; border-radius: 999px; background: rgba(14, 26, 35, .92); color: #fff; font-size: 13px; box-shadow: var(--sh-2); backdrop-filter: blur(8px); }
.devbar__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--wa); }
.devbar b { margin-right: 6px; }
.devbar button, .devbar a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; border: 0; background: rgba(255, 255, 255, .1); color: #fff; font-size: 13px; font-weight: 600; }
.devbar .i { width: 15px; height: 15px; }
.devbar button.is-on { background: var(--sun); color: var(--dark); }

/* ---------- Адаптив ---------- */
@media (max-width: 1500px) {
  .hdr__phone span { display: none; }
  .hdr__phone .i { width: 20px; height: 20px; }
  .hdr__phone { width: 42px; height: 42px; justify-content: center; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface); }
}
@media (max-width: 980px) {
  .nav { display: none; }
  .hdr__cta { margin-left: auto; }
  .burger { display: grid; }
  .drawer { display: block; position: fixed; inset: var(--hdr) 0 0 0; background: var(--bg); transform: translateX(100%); transition: transform .35s var(--ease); overflow-y: auto; }
  .drawer.is-open { transform: none; }
  /* backdrop-filter у шапки делает её «контейнером» для position: fixed — без этого меню сжимается до 0 px внутри шапки */
  .hdr.is-menu { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }
  .drawer__in { padding: 24px var(--pad) 120px; display: grid; gap: 22px; max-width: 640px; }
  .drawer__lbl { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
  .drawer__svc { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .drawer__svc a { display: flex; align-items: center; gap: 10px; padding: 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); font-weight: 700; font-size: 15px; }
  .drawer__svc .i { color: var(--accent); }
  .drawer__nav { display: grid; }
  .drawer__nav a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 20px; font-weight: 700; }
  .drawer__more { display: flex; flex-wrap: wrap; gap: 8px; }
  .drawer__more a { display: block; padding: 10px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 700; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .promises { grid-template-columns: repeat(2, 1fr); }
  .art-grid { grid-template-columns: minmax(0, 1fr) 300px; }
  .art-toc { display: none; }
}
@media (max-width: 960px) {
  .shero__grid, .solar__grid, .areas, .prices, .faq-wrap, .about, .areas-page, .contact, .cta-band__in, .duo { grid-template-columns: 1fr; }
  .hero__img { aspect-ratio: 4 / 3; min-height: 0; }
  .hero__img img { object-position: 78% 30%; }
  .hero__floats { display: none; }
  .hero__img { border-radius: var(--r); }
  .float--a { left: 12px; }
  .float--b { right: 12px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats li:nth-child(3) { border-left: 0; }
  .stats li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .stats--svc { grid-template-columns: 1fr; }
  .stats--svc li + li { border-left: 0; border-top: 1px solid var(--line); }
  .grid-3, .benefits { grid-template-columns: repeat(2, 1fr); }
  .ftr__grid { grid-template-columns: 1fr 1fr; }
  .post--big { grid-template-columns: 1fr; }
  .post--big .post__img { min-height: 0; aspect-ratio: 16 / 9 !important; }
  .price-groups { grid-template-columns: 1fr; }
  .svc-row { grid-template-columns: 120px 1fr 44px; gap: 16px; }
  .svc-row__n, .svc-row__price { display: none; }
  .art-grid { grid-template-columns: 1fr; }
  .art-side { position: static; }
  .about__img, .map { position: static; }
  .shero__img { aspect-ratio: 16 / 11; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
  .gallery__it--big { grid-column: span 2; grid-row: span 1; }
}
@media (max-width: 680px) {
  body { font-size: 16px; padding-bottom: 72px; }
  :root { --hdr: 66px; }
  .hdr__phone, .hdr__cta .btn--wa { display: none; }
  .logo__txt b { font-size: 19px; }
  .logo__mark { width: 38px; height: 38px; }
  .bento, .grid-3, .grid-2, .benefits, .promises { grid-template-columns: 1fr; }
  .svc--big { grid-column: auto; grid-row: auto; min-height: 340px; }
  .float { display: none; }
  .solar__stats { grid-template-columns: 1fr; }
  .btn-row .btn { flex: 1 1 100%; }
  .cta-band__act { grid-template-columns: 1fr; }
  .cta-band__act .btn:last-of-type, .cta-band__hours { grid-column: auto; }
  .ftr__grid { grid-template-columns: 1fr; }
  .drawer__svc { grid-template-columns: 1fr; }
  .fab { display: none; }
  .mbar { display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
  .mbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px; border-radius: 12px; font-size: 12px; font-weight: 700; }
  .mbar .i { width: 22px; height: 22px; }
  .mbar__wa { background: var(--wa); color: #fff; }
  .devbar { bottom: 84px; }
  .ptable__row { flex-direction: column; gap: 4px; padding: 16px 18px; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .gallery__it--big { grid-column: auto; }
  .svc-row { grid-template-columns: 84px 1fr; padding: 12px; }
  .svc-row__go { display: none; }
  .svc-row__body b { font-size: 18px; }
  .area-list li { grid-template-columns: 32px 1fr; }
  .area-list li > span:last-child { grid-column: 2; text-align: left; }
  .map, .map iframe { min-height: 360px; }
  .faq__item summary { padding: 18px; font-size: 16px; }
  .faq__a { padding: 0 18px 18px; }
}

/* Фильтр работ на телефоне — одна прокручиваемая строка */
@media (max-width: 680px) { .filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--pad) * -1); padding: 2px var(--pad) 8px; scrollbar-width: none; } .filters::-webkit-scrollbar { display: none; } .filters button { flex: none; } }
