/* ==========================================================================
   АльянсЛидерГрупп — главная
   Брейкпоинты: ≤1180 (планшет: бургер), ≤767 (мобильный)
   ========================================================================== */

/* Шрифты на своём сервере (OFL, файлы в /fonts) */
@font-face { font-family: 'Manrope'; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url('../fonts/manrope-cyrillic-wght-normal.woff2') format('woff2-variations'), url('../fonts/manrope-cyrillic-wght-normal.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Manrope'; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url('../fonts/manrope-latin-wght-normal.woff2') format('woff2-variations'), url('../fonts/manrope-latin-wght-normal.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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-display: swap; font-weight: 400; src: url('../fonts/ibm-plex-mono-cyrillic-400-normal.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-display: swap; font-weight: 400; src: url('../fonts/ibm-plex-mono-latin-400-normal.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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-display: swap; font-weight: 500; src: url('../fonts/ibm-plex-mono-cyrillic-500-normal.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-display: swap; font-weight: 500; src: url('../fonts/ibm-plex-mono-latin-500-normal.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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-display: swap; font-weight: 600; src: url('../fonts/ibm-plex-mono-cyrillic-600-normal.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-display: swap; font-weight: 600; src: url('../fonts/ibm-plex-mono-latin-600-normal.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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ink: #111416;
  --black: #000000;
  --teal: #0EA69E;      /* фирменный, из логотипа */
  --brand-dark: #1C1B17; /* фирменный тёмный, RGB 28 27 23 */
  --teal-d: #00857A;
  --teal-dd: #006B62;
  --teal-bg: #E6F6F4;
  --t1: #3A4144;
  --t2: #4A5255;
  --t3: #5F676A;
  --t4: #7E878A;
  --on-dark: #AEB5B8;
  --on-dark-2: #C4CACC;
  --line: #E3E6E6;
  --line-2: #DADDDD;
  --grey: #F4F5F5;
  --err: #C0392B;
  --err-t: #A3261B;

  --gut: 64px;
  --sec: 120px;
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --header-h: 88px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: #fff; line-height: 1.4; -webkit-font-smoothing: antialiased; }
body.is-locked { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: var(--teal-d); text-decoration: none; }
a:hover { color: var(--teal-dd); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }

.mono { font-family: var(--mono); }
.accent { color: var(--teal); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 12px 16px; background: var(--ink); color: #fff; }
.skip:focus { top: 16px; color: #fff; }

.container { width: 100%; max-width: 1440px; margin: 0 auto; padding-inline: var(--gut); }
.ico { width: 18px; height: 18px; flex-shrink: 0; stroke-width: 1.8; }

/* Плейсхолдеры фото */
.ph { background-color: #1a1e20; background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.05) 0 1px, transparent 1px 16px); background-size: cover; background-position: center; }
.ph-l { background-color: #E8EBEB; background-image: repeating-linear-gradient(135deg, rgba(17,20,22,.06) 0 1px, transparent 1px 14px); background-size: cover; background-position: center; }
.ph > img, .ph-l > img, .ph > picture > img { width: 100%; height: 100%; object-fit: cover; }
.ph > picture { display: block; width: 100%; height: 100%; }
.hero__photo img { object-position: 62% 50%; }
/* Схема ИТП внутри «гор»: светло-серая подложка + multiply, чтобы силуэт читался на белом */
.hero__photo--scheme { background: #E9EDEE; }
.hero__photo--scheme picture { display: block; width: 100%; height: 100%; }
.hero__photo--scheme img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; mix-blend-mode: multiply; }
.grid-bg { background-image: linear-gradient(to right, rgba(17,20,22,.055) 1px, transparent 1px); background-size: 108px 100%; background-position: var(--gut) 0; }

.chip { display: inline-block; font-size: 11px; letter-spacing: .14em; font-weight: 600; color: var(--ink); background: var(--teal); padding: 5px 10px; }

/* ---------- Кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; border: 0; border-radius: 2px; font-weight: 800; cursor: pointer; white-space: nowrap; transition: background-color .15s, color .15s, border-color .15s; text-decoration: none; }
.btn--primary { background: var(--teal); color: var(--ink); }
.btn--primary:hover { background: #14B5AC; color: var(--ink); }
.btn--outline { background: #fff; color: var(--ink); border: 1.5px solid var(--ink); font-weight: 700; }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--sm { height: 44px; padding: 0 18px; font-size: 14px; gap: 8px; }
.btn--md { height: 52px; padding: 0 24px; font-size: 15px; gap: 10px; }
.btn--lg { height: 60px; padding: 0 28px; font-size: 16px; }
.btn--xl { height: 64px; padding: 0 28px; font-size: 17px; letter-spacing: .02em; }
.btn--block { width: 100%; }
.btn--lg .ico { width: 20px; height: 20px; }

.icon-btn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; background: transparent; border: 0; color: var(--ink); cursor: pointer; padding: 0; }
.icon-btn svg { width: 22px; height: 22px; }

.more { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 800; color: var(--ink); }
.more .ico { color: var(--teal); transition: transform .2s; }
a:hover .more .ico, a.more:hover .ico { transform: translateX(4px); }

/* ---------- Логотип ---------- */
.logo { display: inline-flex; align-items: center; color: var(--brand-dark); flex-shrink: 0; }
.logo:hover { color: var(--brand-dark); }
.logo__img { height: 32px; width: 268px; flex-shrink: 0; }
.logo__mark { width: 46px; height: 26px; flex-shrink: 0; }
.logo-a { fill: var(--logo-a, var(--teal)); }
.logo-b { fill: currentColor; }
.logo__text { font-weight: 800; font-size: 15px; letter-spacing: .08em; white-space: nowrap; }
.logo__text span { color: var(--teal); }
.logo--inv { color: #fff; }
.logo--inv:hover { color: #fff; }

/* ---------- Шапка ---------- */
.header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.header__in { max-width: 1440px; margin: 0 auto; height: var(--header-h); padding: 0 var(--gut); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav { display: flex; gap: 28px; font-size: 14px; font-weight: 600; }
.nav a { color: var(--ink); position: relative; padding: 8px 0; white-space: nowrap; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.nav a:hover::after { transform: scaleX(1); }
.header__actions { display: flex; align-items: center; gap: 20px; }
.header__phone { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.header__phone a { font-size: 15px; font-weight: 600; color: var(--ink); }
.header__phone span { font-size: 12px; color: var(--t3); white-space: nowrap; }
.header__lk { border-width: 1px; font-weight: 700; }
.header__lk .ico { width: 18px; height: 18px; }
.header__lk-ico, .burger { display: none; }

.burger { flex-direction: column; gap: 5px; }
.burger span { display: block; width: 22px; height: 1.8px; background: currentColor; transition: transform .2s, opacity .2s; }
.burger span:last-child { width: 14px; margin-left: 8px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { width: 22px; margin-left: 0; transform: translateY(-6.8px) rotate(-45deg); }

.mobile-menu { position: fixed; inset: var(--header-h) 0 0 0; background: #fff; overflow-y: auto; padding: 8px var(--gut) 32px; display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a { padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 20px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; color: var(--ink); }
.mobile-menu__foot { margin-top: 32px; display: flex; flex-direction: column; gap: 6px; }
.mobile-menu__tel { font-size: 22px; font-weight: 600; color: var(--ink); }
.mobile-menu__foot span { font-size: 13px; color: var(--t3); margin-bottom: 16px; }
.mobile-menu .btn { height: 56px; font-size: 16px; }

/* ---------- Общие секции ---------- */
.section { padding-block: var(--sec); }
.section--bt { border-top: 1px solid var(--line); }
.section--dark { background: var(--ink); color: #fff; }
.section--grey { background: var(--grey); }
.eyebrow { font-size: 13px; letter-spacing: .12em; font-weight: 500; color: var(--teal-d); }
.section--dark .eyebrow { color: var(--teal); }
.eyebrow--line { display: flex; align-items: center; gap: 12px; }
.eyebrow--line::before { content: ""; width: 32px; height: 2px; background: var(--teal); flex-shrink: 0; }
.h2 { font-size: 46px; line-height: 1.08; font-weight: 800; text-transform: uppercase; letter-spacing: .01em; text-wrap: balance; }
.h2--sm { font-size: 40px; line-height: 1.1; }

.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) 460px; gap: 64px; align-items: end; margin-bottom: 56px; }
.sec-head__l { display: flex; flex-direction: column; gap: 20px; }
.sec-head__lead { font-size: 17px; line-height: 1.6; color: var(--t2); }
.section--dark .sec-head__lead { color: var(--on-dark); }
.sec-head--row { display: flex; justify-content: space-between; }

/* ---------- Первый экран ---------- */
.hero { border-bottom: 0; }
.hero__body { max-width: 1440px; margin: 0 auto; min-height: 700px; display: grid; grid-template-columns: minmax(0, 1fr) 620px; gap: 40px; padding: 64px var(--gut) 0; }
.hero__text { display: flex; flex-direction: column; gap: 28px; padding-top: 8px; padding-bottom: 40px; }
.hero__title { font-size: 68px; line-height: 1.02; font-weight: 800; letter-spacing: .01em; text-transform: uppercase; text-wrap: balance; }
.hero__title-sub { display: block; margin-top: 20px; font-size: 22px; line-height: 1.3; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--t1); }
.hero__lead { max-width: 600px; font-size: 19px; line-height: 1.55; color: var(--t1); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 24px; margin-top: auto; } /* прижаты к низу: на одной линии с карточкой */
.hero__badges { display: flex; flex-wrap: wrap; gap: 12px 32px; padding-top: 12px; font-size: 13px; color: var(--t3); font-weight: 600; }
.hero__badges li { display: flex; align-items: center; gap: 8px; }
.hero__badges .ico { color: var(--teal-d); stroke-width: 1.8; }
.hero__visual { position: relative; min-height: 420px; }
.hero__photo { position: absolute; inset: 0; clip-path: polygon(0% 100%, 44% 2%, 64% 34%, 79% 10%, 100% 52%, 100% 100%); }
.ph__label { position: absolute; right: 24px; bottom: 256px; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; font-size: 12px; letter-spacing: .08em; color: rgba(255,255,255,.6); text-align: right; max-width: 55%; }
.ph__label span:last-child { color: #fff; }
.hero__card { position: absolute; left: -24px; bottom: 40px; width: 300px; padding: 22px 24px; background: #fff; border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(17,20,22,.12); display: flex; flex-direction: column; gap: 10px; }
.hero__card-k { font-size: 11px; letter-spacing: .14em; color: var(--teal-d); font-weight: 600; }
.hero__card-t { font-size: 20px; font-weight: 800; line-height: 1.2; }
.hero__card-d { font-size: 14px; line-height: 1.5; color: var(--t2); }

.hero__stages { max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.hero__stages li { min-height: 112px; display: flex; align-items: center; gap: 14px; padding: 0 24px; border-right: 1px solid var(--line); }
.hero__stages li:first-child { padding-left: var(--gut); }
.hero__stages li:last-child { padding-right: var(--gut); border-right: 0; }
.hero__stages li > .mono { font-size: 13px; color: var(--t3); }
.hero__stages div { display: flex; flex-direction: column; gap: 4px; }
.hero__stages b { font-size: 17px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.hero__stages div span { font-size: 13px; color: var(--t3); }
.hero__stages .is-dark { background: var(--ink); }
.hero__stages .is-dark > .mono, .hero__stages .is-dark b { color: var(--teal); }
.hero__stages .is-dark div span { color: #B9C0C2; }

/* ---------- Направления ---------- */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.svc { min-height: 340px; padding: 36px; display: flex; flex-direction: column; gap: 18px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.svc:hover { color: var(--ink); border-color: var(--ink); box-shadow: 0 18px 40px rgba(17,20,22,.08); }
.svc__top { display: flex; justify-content: space-between; align-items: flex-start; }
.svc__ico { width: 40px; height: 40px; color: var(--teal); stroke-width: 1.4; }
.svc__n { font-size: 13px; color: var(--t4); }
.svc h3 { font-size: 24px; font-weight: 800; }
.svc p { font-size: 15px; line-height: 1.6; color: var(--t2); }
.svc .more { margin-top: auto; }
.svc--grey { background: var(--grey); }
.services.services--single { grid-template-columns: 1fr; } /* сильнее медиа-правил .services */
.services--single .svc--feature { grid-column: auto; grid-template-columns: minmax(0, 1fr) 360px; gap: 64px; padding: 56px; }
.services--single .svc--feature h3 { font-size: 40px; }
.services--single .svc--feature p { font-size: 17px; }

.svc--feature { grid-column: span 2; padding: 40px; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; background: var(--ink); color: #fff; border-color: var(--ink); position: relative; overflow: hidden; }
.svc--feature:hover { color: #fff; box-shadow: 0 18px 40px rgba(17,20,22,.25); }
.svc__main { display: flex; flex-direction: column; gap: 18px; position: relative; z-index: 1; }
.svc__tag { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.svc__tag .chip { font-size: 12px; }
.svc--feature h3 { font-size: 32px; text-transform: uppercase; letter-spacing: .01em; }
.svc--feature p { font-size: 16px; color: var(--on-dark-2); max-width: 520px; }
.svc--feature .more { color: var(--teal); }
.svc--feature .more .ico { color: currentColor; }
.svc__facts { margin: 0; display: flex; flex-direction: column; justify-content: center; border-left: 1px solid rgba(255,255,255,.14); padding-left: 32px; position: relative; z-index: 1; }
.svc__facts div { display: flex; flex-direction: column; gap: 4px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.svc__facts div:last-child { border-bottom: 0; }
.svc__facts dt { font-size: 28px; font-weight: 600; }
.svc__facts dd { margin: 0; font-size: 13px; color: var(--on-dark); }
.svc__wm { position: absolute; right: -60px; bottom: -70px; width: 360px; height: 220px; opacity: .06; color: #fff; --logo-a: #fff; }


/* ---------- Полный цикл ---------- */
.cycle { display: grid; grid-template-columns: 1fr 1fr 1fr 1.35fr; margin-bottom: 64px; margin-top: 64px; }
.section--dark .sec-head { margin-bottom: 0; }
.cycle__step { display: flex; flex-direction: column; gap: 20px; padding-right: 32px; }
.cycle__head { display: flex; align-items: center; }
.cycle__n { width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; border: 1.5px solid #fff; font-size: 16px; font-weight: 600; flex-shrink: 0; }
.cycle__line { flex-grow: 1; height: 1.5px; background: rgba(255,255,255,.35); }
.cycle__line--accent { background: var(--teal); }
.cycle__step h3 { font-size: 22px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; }
.cycle__step p { font-size: 15px; line-height: 1.6; color: var(--on-dark); }
.cycle__out { font-size: 12px; color: var(--t4); letter-spacing: .04em; }
.cycle__step--final { padding: 32px; margin-top: -32px; background: var(--teal); color: var(--ink); }
.cycle__step--final .cycle__head { justify-content: space-between; gap: 12px; }
.cycle__step--final .cycle__n { border: 0; background: var(--ink); color: var(--teal); }
.cycle__k { font-size: 12px; letter-spacing: .14em; font-weight: 600; text-align: right; }
.cycle__step--final p { color: #0E2A27; }
.cycle__step--final .more, .cycle__step--final .more:hover { color: var(--ink); }
.cycle__step--final .more .ico { color: currentColor; }

.perks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; border-top: 1px solid rgba(255,255,255,.14); padding-top: 40px; }
.perks li { display: flex; gap: 14px; font-size: 15px; line-height: 1.5; color: #D5DADB; }
.perks .ico { width: 22px; height: 22px; color: var(--teal); }

/* ---------- Дистрибуция ---------- */
.brands { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.brand { background: #fff; display: flex; flex-direction: column; }
.brand__img { height: 200px; display: flex; align-items: flex-end; padding: 16px; }
/* Фото товара на белом фоне: серая подложка + multiply, белый фон снимка уходит в подложку */
.brand__img--product { background: #EEF1F1; padding: 16px; justify-content: center; align-items: stretch; }
.brand__img--product picture { display: block; width: 100%; height: 100%; }
.brand__img--product img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.brand__img span { font-size: 11px; color: var(--t3); letter-spacing: .08em; }
.brand__body { padding: 32px; display: flex; flex-direction: column; gap: 16px; flex-grow: 1; }
.brand__top { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand__logo { height: 48px; width: 150px; border: 1px dashed #B7BDBF; display: flex; align-items: center; justify-content: center; font-size: 12px; color: var(--t3); font-weight: 700; letter-spacing: .1em; }
.brand__img-logo { height: 32px; width: auto; display: block; }
.brand__img-logo--teplosila { height: 34px; }
.brand__img-logo--rosklapan { height: 40px; }
.brand__k { font-size: 11px; color: var(--teal-d); font-weight: 600; letter-spacing: .1em; }
.brand p { font-size: 15px; line-height: 1.6; color: var(--t2); }
.brand .more { margin-top: auto; }

/* ---------- Цифры ---------- */
.stats { padding-block: 96px; }
.stats__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 480px)); }
.stat { display: flex; flex-direction: column; gap: 10px; padding: 0 32px; border-left: 1px solid var(--line-2); }
.stat:first-child { padding-left: 0; border-left: 0; }
.stat__v { font-size: 64px; font-weight: 600; line-height: 1; }
.stat__l { font-size: 16px; color: var(--t2); line-height: 1.5; }

/* ---------- Кейсы ---------- */
.objects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; }
.obj { margin: 0; }
.obj picture { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: #E8EBEB; }
.obj img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.obj:hover img { transform: scale(1.03); }
/* Цветная версия фото поверх ч/б — проявляется при наведении. Файлы грузятся только при (hover: hover): <source media> в index.html */
.obj__ph { position: relative; }
.obj .obj__color { position: absolute; inset: 0; background: none; opacity: 0; transition: opacity .5s ease; }
.obj:hover .obj__color { opacity: 1; }
@media (hover: none) { .obj .obj__color { display: none; } }
.obj__cap { margin-top: 14px; font-size: 17px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; color: var(--ink); }
@media (max-width: 767px) { .obj__cap { margin-top: 8px; font-size: 13px; } }

/* ---------- Клиенты ---------- */
.clients { padding-bottom: var(--sec); }
.clients__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.clients__t { font-size: 22px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.clients__head a { font-size: 14px; font-weight: 700; }
.clients__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-2); border-left: 1px solid var(--line-2); }
.clients__grid li { height: 140px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 8px; border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); font-size: 12px; font-weight: 700; letter-spacing: .12em; color: #8C9496; }
.clients__grid img { max-height: 60px; max-width: 76%; width: auto; height: auto; filter: grayscale(1); opacity: .7; transition: filter .2s, opacity .2s; }
.clients__grid li:hover img { filter: none; opacity: 1; }
.clients__grid .cl--agidel { max-height: 80px; }
.clients__grid .cl--zhiloy-kvartal { max-height: 68px; }


/* ---------- Форма ---------- */
.lead { position: relative; overflow: hidden; }
.lead__grid { display: grid; grid-template-columns: 480px minmax(0, 1fr); gap: 96px; position: relative; z-index: 1; }
.lead__text { display: flex; flex-direction: column; gap: 24px; }
.lead__text > p { font-size: 17px; line-height: 1.6; color: var(--on-dark); }
.lead__person { margin-top: 24px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14); display: flex; gap: 16px; align-items: center; }
.lead__ava { width: 64px; height: 64px; border-radius: 50%; flex-shrink: 0; border: 1px solid rgba(255,255,255,.2); overflow: hidden; }
.lead__person > div:last-child { display: flex; flex-direction: column; gap: 4px; }
.lead__person b { font-size: 16px; font-weight: 800; }
.lead__person span { font-size: 14px; color: var(--on-dark); }
.lead__person a { font-size: 14px; color: var(--teal); }
.lead__wm { position: absolute; left: -120px; bottom: -120px; width: 620px; height: 330px; opacity: .05; color: #fff; --logo-a: #fff; pointer-events: none; }


.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; align-content: start; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 13px; font-weight: 700; }
.field--wide { grid-column: 1 / -1; }
.field input, .field select, .field textarea { width: 100%; border-radius: 2px; font-size: 16px; font-weight: 400; border: 1px solid #B7BDBF; background: #fff; color: var(--ink); outline: none; transition: border-color .15s, box-shadow .15s; }
.field input, .field select { height: 56px; padding: 0 16px; }
.field textarea { padding: 16px; resize: vertical; min-height: 96px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230EA69E' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; cursor: pointer; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(14,166,158,.2); }
.field.is-invalid input { border: 1.5px solid var(--err); }
.field__err { font-size: 12px; font-weight: 600; color: var(--err-t); min-height: 0; }
.field__err:empty { display: none; }

.form--dark .field { color: var(--on-dark-2); }
.form--dark .field input, .form--dark .field select, .form--dark .field textarea { background-color: #1C2124; border-color: #3A4144; color: #fff; }
.form--dark .field input::placeholder, .form--dark .field textarea::placeholder { color: #7E878A; }
.form--dark .field.is-invalid input { border-color: #E5604F; }
.form--dark .field__err { color: #FF8A7A; }
.form--dark .field select option { background: #1C2124; color: #fff; }

.form__row { display: flex; justify-content: space-between; align-items: center; gap: 16px 24px; flex-wrap: wrap; }
.attach { min-height: 48px; padding: 0 18px; display: inline-flex; align-items: center; gap: 10px; border: 1px dashed #5F676A; color: #D5DADB; font-size: 14px; font-weight: 700; border-radius: 2px; cursor: pointer; transition: border-color .15s; max-width: 100%; }
.attach:hover, .attach:focus-within { border-color: var(--teal); }
.attach .ico { color: var(--teal); }
.attach__t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.5; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--teal); margin: 1px 0 0; flex-shrink: 0; cursor: pointer; }
.form--dark .check { color: var(--on-dark); max-width: 340px; }
.check.is-invalid { color: var(--err-t); }
.form--dark .check.is-invalid { color: #FF8A7A; }
.form__err { padding: 16px 18px; background: rgba(192,57,43,.1); border-left: 3px solid var(--err); font-size: 15px; font-weight: 600; }
.form__err a { color: inherit; text-decoration: underline; }
.form--dark .form__err { background: rgba(229,96,79,.15); color: #FFB3A8; }
.check a { text-decoration: underline; text-underline-offset: 2px; }
.form--dark .check a { color: var(--teal); }
.form__ok { padding: 16px 18px; background: rgba(14,166,158,.12); border-left: 3px solid var(--teal); font-size: 15px; font-weight: 600; }
.form .btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- Подвал ---------- */
.footer { background: var(--black); color: #fff; padding: 80px 0 48px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.3fr; gap: 40px; margin-bottom: 56px; }
.footer__about { display: flex; flex-direction: column; gap: 24px; }
.footer .logo__img { height: 36px; width: 302px; }
.footer__about p { font-size: 14px; line-height: 1.6; color: #9AA2A5; max-width: 300px; }
.footer__col { display: flex; flex-direction: column; gap: 12px; font-size: 14px; align-items: flex-start; }
.footer__col a { color: #fff; }
.footer__col a:hover { color: var(--teal); }
.footer__col a.accent { color: var(--teal); }
.footer__k { font-size: 11px; letter-spacing: .14em; color: var(--t4); margin-bottom: 4px; }
.footer__tel { font-size: 18px; font-weight: 600; }
.footer__addr { color: #9AA2A5; line-height: 1.5; }
.footer__msg { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 4px; }
.footer__msg a { height: 44px; padding: 0 14px; display: flex; align-items: center; border: 1px solid #3A4144; font-size: 13px; font-weight: 700; }
.footer__msg a:hover { border-color: var(--teal); color: #fff; }
.footer__branch { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 28px; padding: 24px 0; border-top: 1px solid #262B2E; font-size: 14px; }
.footer__branch .footer__k { margin-bottom: 0; }
.footer__branch a { color: #fff; font-weight: 600; }
.footer__branch a:hover { color: var(--teal); }
.footer__bottom { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid #262B2E; font-size: 12px; color: var(--t4); line-height: 1.6; }
.footer__bottom a { color: var(--t4); text-decoration: underline; text-underline-offset: 2px; }
.footer__bottom a:hover { color: #fff; }

/* ---------- Плавающие кнопки ---------- */
.fab { display: none; position: fixed; right: 16px; bottom: 20px; z-index: 40; flex-direction: column; align-items: center; gap: 10px; transition: opacity .2s, transform .2s; }
.fab a { display: flex; align-items: center; justify-content: center; border-radius: 50%; color: var(--ink); }
.fab svg { width: 22px; height: 22px; }
.fab__tg { width: 48px; height: 48px; background: #fff; border: 1px solid var(--line-2); box-shadow: 0 8px 20px rgba(17,20,22,.15); }
.fab__call { width: 60px; height: 60px; background: var(--teal); box-shadow: 0 10px 24px rgba(14,166,158,.4); }
.fab__call svg { width: 24px; height: 24px; }
.fab.is-hidden { opacity: 0; transform: translateY(16px); pointer-events: none; }

/* ---------- Модальное окно ---------- */
.modal { position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center; padding: 24px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(17,20,22,.72); animation: fade .2s ease-out; }
.modal__box { position: relative; width: 880px; max-width: 100%; max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); overflow-y: auto; display: grid; grid-template-columns: 300px minmax(0, 1fr); background: #fff; box-shadow: 0 40px 80px rgba(0,0,0,.35); animation: rise .25s ease-out; }
.modal__side { background: var(--ink); color: #fff; padding: 40px 32px; display: flex; flex-direction: column; gap: 20px; }
.modal__logo { width: 48px; height: 27px; color: #fff; }
.modal__perks { display: flex; flex-direction: column; gap: 14px; font-size: 14px; line-height: 1.5; color: var(--on-dark-2); }
.modal__perks li { display: flex; gap: 10px; }
.modal__perks .ico { color: var(--teal); margin-top: 2px; }
.modal__call { margin-top: auto; display: flex; flex-direction: column; gap: 4px; }
.modal__call span { font-size: 12px; color: var(--on-dark); }
.modal__call a { font-size: 18px; font-weight: 600; color: #fff; }
.modal__form { padding: 40px; grid-template-columns: 1fr; gap: 18px; position: relative; }
.modal__x { position: absolute; top: 12px; right: 12px; }
.modal__title { font-size: 28px; font-weight: 800; text-transform: uppercase; padding-right: 40px; }
.modal__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.modal__form .field input { height: 52px; padding: 0 14px; }
.modal__form .field textarea { padding: 14px; min-height: 0; resize: none; }
.modal__form .check { font-size: 12px; color: var(--t2); }

.seg { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { min-height: 44px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 4px 8px; border: 1px solid #D3D7D8; font-size: 13px; font-weight: 700; transition: border-color .15s, background .15s; }
.seg label:hover span { border-color: var(--t4); }
.seg input:checked + span { border: 2px solid var(--teal); background: var(--teal-bg); font-weight: 800; padding: 3px 7px; }
.seg input:focus-visible + span { outline: 2px solid var(--teal); outline-offset: 2px; }

@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }

/* ==========================================================================
   ≤1360 — узкий десктоп
   ========================================================================== */
@media (max-width: 1520px) {
  .header__actions { gap: 14px; }
  .header__lk { width: 44px; padding: 0; }
  .header__lk-t { display: none; }
}
@media (max-width: 1360px) {
  :root { --gut: 48px; }
  .nav { gap: 22px; }
  .header__phone span { display: none; }
  .hero__body { grid-template-columns: minmax(0, 1fr) 520px; }
  .hero__title { font-size: 60px; }
  .lead__grid { grid-template-columns: 420px minmax(0, 1fr); gap: 64px; }
}

/* ==========================================================================
   ≤1180 — планшет
   ========================================================================== */
@media (max-width: 1180px) {
  :root { --gut: 32px; --sec: 88px; --header-h: 72px; }
  .nav, .header__lk, .header__phone { display: none; }
  .header__lk-ico, .burger { display: inline-flex; }
  .header__actions { gap: 4px; }
  .header__cta { margin-right: 12px; }

  .h2 { font-size: 38px; }
  .h2--sm { font-size: 34px; }
  .sec-head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 40px; }
  .sec-head--row { flex-wrap: wrap; align-items: flex-end; gap: 20px; }

  .hero__body { grid-template-columns: 1fr; gap: 0; min-height: 0; padding-top: 48px; }
  .hero__title { font-size: 52px; }
  .hero__text { padding-bottom: 40px; }
  .hero__visual { min-height: 400px; margin-inline: calc(var(--gut) * -1); }
  .hero__photo { clip-path: polygon(0% 100%, 34% 0%, 54% 32%, 72% 8%, 100% 50%, 100% 100%); }
  .hero__card { left: var(--gut); bottom: 32px; }
  .ph__label { bottom: 32px; right: var(--gut); }
  .hero__stages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__stages li { min-height: 88px; padding: 0 var(--gut) !important; border-bottom: 1px solid var(--line); }
  .hero__stages li:nth-child(2), .hero__stages li:nth-child(4) { border-right: 0; }
  .hero__stages li:nth-child(3), .hero__stages li:nth-child(4) { border-bottom: 0; }

  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc { min-height: 300px; padding: 32px; }
  .svc--feature { grid-template-columns: minmax(0, 1fr) 240px; padding: 36px; }
  .svc--feature { order: 1; }
  .services--single .svc--feature { grid-template-columns: minmax(0, 1fr) 240px; gap: 40px; padding: 40px; }
  .services--single .svc--feature h3 { font-size: 32px; }
  .svc:nth-child(3), .svc--grey { order: 2; }

  .cycle { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 0; margin-block: 48px; }
  .cycle__step--final { margin-top: 0; }
  .perks { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .brands { grid-template-columns: 1fr; gap: 16px; }
  .brand { display: grid; grid-template-columns: 220px minmax(0, 1fr); }
  .brand__img { height: auto; min-height: 200px; }

  .stats { padding-block: 72px; }
  .stats__grid { gap: 0; }
  .stat__l br { display: none; }
  .stat__v { font-size: 52px; }

  .objects { gap: 32px 16px; }

  .clients__grid li { height: 112px; }


  .lead__grid { grid-template-columns: 1fr; gap: 48px; }
  .lead__person { margin-top: 0; }

  .footer { padding-top: 64px; }
  .footer__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 24px; }
  .footer__about { grid-column: 1 / -1; }
  .footer__about p { max-width: 520px; }
}

/* ==========================================================================
   ≤767 — мобильный
   ========================================================================== */
@media (max-width: 767px) {
  :root { --gut: 16px; --sec: 64px; --header-h: 64px; }
  .header__in { padding: 0 8px 0 16px; gap: 8px; }
  .header__cta { display: none; }
  .logo { gap: 8px; }
  .header .logo__img { height: 24px; width: 201px; }
  .mobile-menu nav a { font-size: 18px; padding: 16px 0; }

  .eyebrow { font-size: 11px; }
  .eyebrow--line::before { display: none; }
  .h2 { font-size: 28px; line-height: 1.1; }
  .h2 br { display: none; }
  .h2--sm { font-size: 24px; line-height: 1.15; }
  .sec-head { gap: 16px; margin-bottom: 28px; }
  .sec-head__lead { font-size: 15px; }

  .hero__body { padding-top: 32px; }
  .hero__text { gap: 20px; padding-bottom: 32px; padding-top: 0; }
  .hero__title { font-size: 36px; line-height: 1.05; }
  .hero__lead { font-size: 16px; }
  .hero__title-sub { margin-top: 12px; font-size: 17px; }
  .hero__cta { flex-direction: column; gap: 10px; padding-top: 0; }
  .hero__cta .btn { width: 100%; height: 56px; }
  .hero__badges { flex-direction: column; gap: 10px; padding-top: 0; }
  .hero__visual { min-height: 0; height: 280px; }
  .hero__photo { clip-path: polygon(0% 100%, 38% 0%, 58% 34%, 74% 12%, 100% 56%, 100% 100%); }
  .hero__card { display: none; }
  .ph__label { bottom: 16px; right: 16px; font-size: 10px; }
  .ph__label span:first-child { display: none; }
  .hero__stages { grid-template-columns: 1fr; border-top: 0; }
  .hero__stages li { min-height: 0; padding: 16px !important; border-right: 0 !important; border-bottom: 1px solid var(--line) !important; gap: 14px; }
  .hero__stages li:last-child { border-bottom: 0 !important; }
  .hero__stages li > .mono { font-size: 12px; }
  .hero__stages b { font-size: 15px; }
  .hero__stages div span { display: none; }

  .services { grid-template-columns: 1fr; gap: 16px; }
  .svc, .svc--feature, .svc--grey { grid-column: auto; order: 0; min-height: 0; padding: 24px; gap: 12px; }
  .svc--feature { display: flex; flex-direction: column; }
  .svc__main { gap: 12px; }
  .svc__ico { width: 32px; height: 32px; stroke-width: 1.5; }
  .svc__tag .chip { font-size: 10px; letter-spacing: .12em; }
  .svc h3 { font-size: 20px; }
  .svc--feature h3 { font-size: 22px; }
  .svc p, .svc--feature p { font-size: 14px; line-height: 1.55; }
  .svc__facts { display: none; }
  .services--single .svc--feature { padding: 24px; }
  .services--single .svc--feature h3 { font-size: 22px; }
  .services--single .svc--feature p { font-size: 14px; }
  .svc .more { margin-top: 4px; }

  .cycle { grid-template-columns: 1fr; gap: 0; margin-block: 28px 40px; }
  .cycle__step { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; row-gap: 8px; padding: 0 0 28px; }
  .cycle__head { grid-row: 1 / span 3; flex-direction: column; align-self: stretch; margin-bottom: -28px; }
  .cycle__n { width: 44px; height: 44px; font-size: 14px; }
  .cycle__line { width: 1.5px; height: auto; flex-grow: 1; }
  .cycle__step h3 { font-size: 18px; padding-top: 10px; }
  .cycle__step p { font-size: 14px; line-height: 1.55; }
  .cycle__step--final { display: flex; flex-direction: column; gap: 10px; padding: 20px; margin-top: 8px; }
  .cycle__step--final .cycle__head { flex-direction: row; margin-bottom: 0; }
  .cycle__step--final h3 { padding-top: 4px; }
  .cycle__k { font-size: 10px; }
  .perks { grid-template-columns: 1fr; gap: 14px; padding-top: 28px; }
  .perks li { font-size: 14px; }

  .brand { grid-template-columns: 96px minmax(0, 1fr); }
  .brand__img { min-height: 0; padding: 0; }
  .brand__img--product { padding: 10px 6px; }
  .brand__img span { display: none; }
  .brand__body { padding: 18px; gap: 8px; }
  .brand__top { min-height: 0; flex-direction: column; align-items: flex-start; gap: 2px; }
  .brand__img-logo { height: 20px; }
  .brand__img-logo--teplosila { height: 22px; }
  .brand__img-logo--rosklapan { height: 26px; }
  .brand__logo { height: auto; width: auto; border: 0; font-size: 13px; font-weight: 800; color: var(--ink); justify-content: flex-start; }
  .brand__k { font-size: 10px; }
  .brand p { font-size: 13px; line-height: 1.45; }
  .brand .more { font-size: 13px; }

  .stats { padding-block: 48px; }
  .stats__grid { grid-template-columns: 1fr; gap: 20px; }
  .stat { padding: 0 !important; border-left: 0; flex-direction: row; align-items: center; gap: 16px; }
  .stat__v { width: 104px; flex-shrink: 0; }
  .stat__v { font-size: 40px; }
  .stat__l { font-size: 13px; }
  .stat__l br { display: none; }

  .objects { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 8px; }

  .clients__head { margin-bottom: 20px; }
  .clients__head a { display: none; }
  .clients__t { font-size: 18px; }
  .clients__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .clients__grid li { height: 96px; }
  .clients__grid img { max-height: 40px; max-width: 78%; }
  .clients__grid .cl--agidel { max-height: 56px; }
  .clients__grid .cl--zhiloy-kvartal { max-height: 46px; }


  .lead__grid { gap: 28px; }
  .lead__text { gap: 16px; }
  .lead__text > p { font-size: 15px; }
  .lead__person { display: none; }
  .form { grid-template-columns: 1fr; gap: 16px; }
  .field input, .field select { height: 52px; padding-left: 14px; }
  .form__row { flex-direction: column; align-items: flex-start; }
  .attach { width: 100%; }
  .btn--xl { height: 56px; font-size: 16px; }
  .lead__wm { display: none; }

  .footer { padding: 48px 0 120px; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; margin-bottom: 32px; }
  .footer__about p { display: none; }
  .footer__col:last-child { grid-column: 1 / -1; grid-row: 2; }
  .footer__tel { font-size: 20px; }
  .footer__bottom { flex-direction: column; font-size: 11px; }

  .fab { display: flex; }

  .modal { padding: 0; align-items: flex-end; }
  .modal__box { grid-template-columns: 1fr; max-height: 100vh; max-height: 100dvh; width: 100%; }
  .modal__side { display: none; }
  .modal__form { padding: 28px 16px 24px; gap: 16px; }
  .modal__title { font-size: 22px; }
  .modal__row { grid-template-columns: 1fr; }
  .seg span { font-size: 12px; padding: 4px; }
  .seg input:checked + span { padding: 3px; }
}

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

/* Сертификаты дилера */
.certs { margin-top: 56px; }
.certs__t { font-size: 22px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; margin: 0 0 24px; }
.certs__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.cert { display: flex; gap: 24px; align-items: center; height: 100%; padding: 20px; background: #fff; color: var(--ink); border: 1px solid transparent; transition: border-color .2s; }
.cert:hover { color: var(--ink); border-color: var(--ink); }
.cert:hover .more .ico { transform: translateX(4px); }
.cert__img { flex: none; width: 120px; height: 120px; display: flex; align-items: center; justify-content: center; }
.cert__img img { display: block; max-width: 120px; max-height: 120px; width: auto; height: auto; box-shadow: 0 2px 10px rgba(17,20,22,.14); }
.cert__body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.cert__t { font-size: 17px; font-weight: 800; line-height: 1.3; }
.cert__m { font-size: 12px; color: var(--t3); }
.cert .more { margin-top: 6px; }
@media (max-width: 1180px) { .certs { margin-top: 40px; } .certs__list { grid-template-columns: 1fr; gap: 12px; } }
@media (max-width: 767px) {
  .certs { margin-top: 32px; }
  .certs__t { font-size: 18px; margin-bottom: 16px; }
  .cert { gap: 16px; padding: 14px; }
  .cert__img { width: 84px; height: 84px; }
  .cert__img img { max-width: 84px; max-height: 84px; }
  .cert__t { font-size: 15px; }
}

/* О компании */
.about__grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 64px; align-items: start; }
.about__text { display: flex; flex-direction: column; gap: 20px; max-width: 820px; }
.about__text p { margin: 0; font-size: 17px; line-height: 1.65; color: var(--t2); }
.about__text .about__lead { font-size: 20px; line-height: 1.55; color: var(--ink); }
.about__facts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; border-top: 1px solid var(--line-2); }
.fact { display: flex; align-items: baseline; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line-2); }
.fact__v { font-size: 56px; font-weight: 600; line-height: 1; min-width: 88px; }
.fact__l { font-size: 16px; line-height: 1.4; color: var(--t2); }
.about__values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 56px; }
.value { padding: 32px; background: var(--grey); border-top: 3px solid var(--teal); display: flex; flex-direction: column; gap: 14px; }
.value__k { font-size: 12px; font-weight: 600; letter-spacing: .14em; color: var(--teal-d); }
.value p { margin: 0; font-size: 19px; line-height: 1.5; font-weight: 700; color: var(--ink); }
@media (max-width: 1180px) {
  .about__grid { grid-template-columns: 1fr; gap: 32px; }
  .about__facts { flex-direction: row; border-top: 0; gap: 24px; }
  .fact { flex: 1; flex-direction: column; gap: 8px; padding: 0 0 0 24px; border-bottom: 0; border-left: 1px solid var(--line-2); }
  .about__values { margin-top: 40px; }
}
@media (max-width: 767px) {
  .about__text .about__lead { font-size: 17px; }
  .about__text p { font-size: 15px; }
  .about__facts { gap: 16px; }
  .fact { padding-left: 16px; }
  .fact__v { font-size: 40px; min-width: 0; }
  .fact__l { font-size: 13px; }
  .about__values { grid-template-columns: 1fr; gap: 12px; margin-top: 32px; }
  .value { padding: 20px; gap: 10px; }
  .value p { font-size: 16px; }
}

/* ---------- Меню: подменю «Услуги» ---------- */
.nav { align-items: center; }
.nav__dd { position: relative; display: flex; }
.nav__dd > a { display: inline-flex; align-items: center; gap: 4px; }
.nav__chev { width: 12px; height: 12px; transition: transform .2s; }
.nav__dd:hover .nav__chev, .nav__dd:focus-within .nav__chev { transform: rotate(180deg); }
.nav__menu { position: absolute; top: 100%; left: -20px; padding-top: 14px; z-index: 60; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; }
.nav__dd:hover .nav__menu, .nav__dd:focus-within .nav__menu { opacity: 1; visibility: visible; transform: none; }
.nav__menu-in { min-width: 280px; background: #fff; border: 1px solid var(--line); box-shadow: 0 16px 40px rgba(17,20,22,.12); padding: 8px 0; display: flex; flex-direction: column; }
.nav__menu a { padding: 12px 20px; }
.nav__menu a::after { display: none; }
.nav__menu a:hover, .nav__menu a[aria-current] { background: var(--grey); color: var(--teal-d); }
.nav a[aria-current="page"]::after, .nav__dd.is-current > a::after { transform: scaleX(1); }
.mobile-menu nav .mobile-menu__sub { display: flex; flex-direction: column; padding: 4px 0 12px 16px; border-bottom: 1px solid var(--line); }
.mobile-menu nav .mobile-menu__sub a { padding: 10px 0; border: 0; font-size: 16px; font-weight: 600; text-transform: none; letter-spacing: 0; color: var(--t2); }
.more--btn { background: none; border: 0; padding: 0; cursor: pointer; font-family: inherit; text-align: left; }

/* ---------- Страницы услуг ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--t3); margin-bottom: 32px; }
.crumbs a { color: var(--t3); }
.crumbs a:hover { color: var(--teal-d); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line-2); }
.crumbs ol, ol.crumbs { list-style: none; padding: 0; }
.p-hero { padding: 48px 0 88px; border-bottom: 1px solid var(--line); }
.p-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 64px; align-items: end; }
.p-hero__title { font-size: 56px; line-height: 1.05; font-weight: 800; text-transform: uppercase; letter-spacing: .01em; margin: 20px 0 24px; text-wrap: balance; }
.p-hero__lead { font-size: 19px; line-height: 1.6; color: var(--t2); max-width: 720px; margin: 0; }
.p-hero__cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }
.p-facts { background: var(--ink); color: #fff; padding: 32px; display: flex; flex-direction: column; gap: 24px; }
.p-facts div { display: flex; flex-direction: column; gap: 4px; padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,.14); }
.p-facts div:last-child { padding-bottom: 0; border-bottom: 0; }
.p-facts dt { font-family: var(--mono); font-size: 32px; font-weight: 600; line-height: 1.1; }
.p-facts dd { margin: 0; font-size: 14px; line-height: 1.45; color: #C5CBCC; }
.p-facts dt.accent { color: var(--teal); }
.incl { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.incl li { padding: 32px; border: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 12px; }
.incl .ico { width: 28px; height: 28px; color: var(--teal); }
.incl h3 { font-size: 19px; font-weight: 800; line-height: 1.3; margin: 0; }
.incl p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--t2); }
.steps { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); counter-reset: st; }
.steps li { counter-increment: st; padding: 0 24px 0 0; display: flex; flex-direction: column; gap: 12px; }
.steps li::before { content: counter(st, decimal-leading-zero); font-family: var(--mono); font-size: 14px; color: var(--teal); padding-bottom: 16px; border-bottom: 2px solid rgba(255,255,255,.18); }
.steps li:last-child::before { border-bottom-color: var(--teal); }
.steps h3 { font-size: 18px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; margin: 8px 0 0; }
.steps p { margin: 0; font-size: 15px; line-height: 1.55; color: #C5CBCC; }
.result { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.result__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.result__list li { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-2); font-size: 17px; line-height: 1.5; }
.result__list li:first-child { border-top: 1px solid var(--line-2); }
.result__list .ico { width: 22px; height: 22px; color: var(--teal); flex: none; margin-top: 2px; }
.result__note { padding: 32px; background: var(--grey); border-top: 3px solid var(--teal); display: flex; flex-direction: column; gap: 14px; }
.result__note p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--t2); }
.result__note b { color: var(--ink); }
.other { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.other a { display: flex; flex-direction: column; gap: 12px; height: 100%; padding: 28px; background: #fff; color: var(--ink); border: 1px solid transparent; transition: border-color .2s; }
.other a:hover { border-color: var(--ink); color: var(--ink); }
.other a:hover .more .ico { transform: translateX(4px); }
.other b { font-size: 19px; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; }
.other span.other__d { font-size: 15px; line-height: 1.55; color: var(--t2); }
.other .more { margin-top: auto; }
@media (max-width: 1180px) {
  .p-hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .p-hero__title { font-size: 44px; }
  .p-facts { flex-direction: row; flex-wrap: wrap; }
  .p-facts div { flex: 1 1 160px; padding-bottom: 0; border-bottom: 0; }
  .incl { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 0; }
  .result { grid-template-columns: 1fr; gap: 32px; }
  .other { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 767px) {
  .crumbs { margin-bottom: 20px; font-size: 12px; }
  .p-hero { padding: 28px 0 56px; }
  .p-hero__title { font-size: 30px; margin: 14px 0 16px; }
  .p-hero__lead { font-size: 16px; }
  .p-hero__cta { margin-top: 28px; }
  .p-hero__cta .btn { width: 100%; }
  .p-facts { padding: 20px; gap: 16px; }
  .p-facts dt { font-size: 24px; }
  .incl { grid-template-columns: 1fr; gap: 12px; }
  .incl li { padding: 20px; }
  .steps { grid-template-columns: 1fr; gap: 24px; margin-top: 32px; }
  .result__list li { font-size: 15px; }
  .result__note { padding: 20px; }
  .result__note p { font-size: 15px; }
  .other a { padding: 20px; }
}

/* Ссылки «Подробнее» в тёмном блоке «Полный цикл» */
.cycle__step:not(.cycle__step--final) .more { color: #fff; margin-top: auto; }
.cycle__step:not(.cycle__step--final) .more:hover { color: var(--teal); }
@media (max-width: 767px) {
  .cycle__step:not(.cycle__step--final) .more { grid-column: 2; margin-top: 4px; font-size: 13px; }
  .cycle__step:not(.cycle__step--final) .cycle__head { grid-row: 1 / span 4; }
}

/* Ссылки в карточке производителя: подбор + скачать каталог */
.brand__links { margin-top: auto; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.brand .brand__links .more { margin-top: 0; }
.more__meta { font-size: 11px; font-weight: 500; color: var(--t3); letter-spacing: .02em; }
a.more--dl:hover .ico { transform: translateY(2px); }
@media (max-width: 767px) { .brand__links { gap: 10px; } .more__meta { display: none; } }

/* Цифры в «О компании»: три пункта */
.fact__v { min-width: 104px; }
@media (min-width: 1181px) { .about__grid { grid-template-columns: minmax(0, 1fr) 400px; } }
.fact { gap: 16px; }
@media (max-width: 1180px) { .fact__v { min-width: 0; } }
@media (max-width: 767px) {
  .about__facts { flex-direction: column; gap: 0; border-top: 1px solid var(--line-2); }
  .fact { flex-direction: row; align-items: center; gap: 16px; padding: 14px 0; border-left: 0; border-bottom: 1px solid var(--line-2); }
  .fact__v { min-width: 84px; font-size: 36px; }
  .fact__l { font-size: 14px; }
}

/* Фото менеджера в блоке заявки */
.lead__ava { width: 72px; height: 72px; background: #1a1e20; }
.lead__ava picture, .lead__ava img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 767px) { .footer__branch { flex-direction: column; align-items: flex-start; gap: 8px; } .footer__branch a { font-size: 18px; } }
