/* =========================================================
   Феникс СБ - стили сайта. Mobile first:
   база - телефон, 768px - планшет, 1200px - десктоп.
   ========================================================= */

@font-face {
  font-family: "Golos Text";
  src: url("../fonts/golos-text-cyr-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Golos Text";
  src: url("../fonts/golos-text-lat-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, 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: "Golos Text";
  src: url("../fonts/golos-text-cyr-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Golos Text";
  src: url("../fonts/golos-text-lat-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --navy: #0d3a5d;
  --navy-68: rgba(13, 58, 93, .68);
  --navy-40: rgba(13, 58, 93, .4);
  --navy-8: rgba(13, 58, 93, .08);
  --white: #fdfdfd;
  --w60: rgba(253, 253, 253, .6);
  --w15: rgba(253, 253, 253, .15);
  --gray: #f3f4f5;
  --line: #cdd6dd;
  --field: #68849a;
  --pad: 20px;
  --sec: clamp(56px, 7.5vw, 104px);
  --bar: 72px;
  --font: "Golos Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Сброс ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--bar) + 16px); }
body { margin: 0; font-family: var(--font); font-size: 14px; line-height: 20px; color: var(--navy); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #4d8ad0; outline-offset: 2px; }
.ico { width: 16px; height: 16px; flex: none; }
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 200; padding: 10px 16px; background: var(--white); color: var(--navy); }
.skip-link:focus { top: 8px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------- Типографика ---------- */
.h1 { font-size: 32px; line-height: 36px; font-weight: 400; letter-spacing: -.01em; }
.h2 { font-size: 24px; line-height: 30px; font-weight: 400; }
.h3 { font-size: 20px; line-height: 26px; font-weight: 400; }
.lead-text { font-size: 16px; line-height: 24px; }
.lead-text p + p { margin-top: 12px; }
.eyebrow { font-size: 10px; line-height: 14px; font-weight: 400; letter-spacing: .02em; text-transform: uppercase; color: var(--navy-68); margin-bottom: 12px; }
.eyebrow--line { padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
[data-theme="dark"] .eyebrow { color: var(--w60); }

@media (min-width: 768px) {
  .h1 { font-size: 48px; line-height: 52px; }
  .h2 { font-size: 28px; line-height: 36px; }
  .h3 { font-size: 22px; line-height: 30px; }
  .lead-text { font-size: 18px; line-height: 26px; }
  body { font-size: 16px; line-height: 24px; }
}
@media (min-width: 1200px) {
  .h1 { font-size: 64px; line-height: 64px; }
  .h2 { font-size: 32px; line-height: 40px; }
  .h3 { font-size: 24px; line-height: 32px; }
  .lead-text { font-size: 20px; line-height: 28px; }
}

/* ---------- Контейнеры ---------- */
.container { width: 100%; max-width: calc(1020px + var(--pad) * 2); margin-inline: auto; padding-inline: var(--pad); }
.container--wide { max-width: calc(1228px + var(--pad) * 2); }
.container--narrow, .container--mid { max-width: calc(812px + var(--pad) * 2); }
@media (min-width: 768px) { :root { --pad: 32px; } }
@media (min-width: 1200px) { :root { --pad: 40px; } }

/* ---------- Кнопки и ссылки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 24px; font-size: 14px; line-height: 20px; text-decoration: none; text-align: center; border: 1px solid transparent; transition: background-color .2s, color .2s, border-color .2s; }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: #164d78; }
.btn--white { background: var(--white); color: var(--navy); }
.btn--white:hover { background: #dfe6ec; }
.btn--outline { border-color: var(--line); color: var(--navy); background: transparent; }
.btn--outline:hover { border-color: var(--navy); }
.btn--block { width: 100%; }
.alink { display: inline; color: var(--navy); text-decoration: underline; text-decoration-color: currentColor; }
.alink .ico { display: inline-block; vertical-align: -1px; margin-left: 8px; }
.nowrap { white-space: nowrap; }
.alink:hover { text-decoration-color: transparent; }
.sq-btn { display: inline-grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line); color: var(--navy); background: var(--white); transition: background-color .2s; }
.sq-btn:hover { background: var(--gray); }
.sq-btn--light { border-color: transparent; }

/* Ромбики в списках */
.dlist li { position: relative; padding-left: 28px; }
.dlist li + li { margin-top: 8px; }
.dlist li::before { content: ""; position: absolute; left: 4px; top: .6em; width: 6px; height: 6px; background: currentColor; transform: rotate(45deg); }

/* Список с галочками */
.checklist { margin-top: 24px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; }
.checklist li + li { margin-top: 8px; }
.checklist__ico { width: 22px; height: 22px; flex: none; margin-top: -2px; }

/* Значок «%» с градиентом */
.percent { display: block; font-weight: 400; line-height: .8; letter-spacing: -.04em; color: transparent; background: linear-gradient(180deg, rgba(253, 253, 253, 0) 0%, rgba(253, 253, 253, .95) 85%); -webkit-background-clip: text; background-clip: text; user-select: none; pointer-events: none; }

/* Тонирование фото в фирменный синий: ч/б фото поверх синего фона */
.tint { position: relative; background: var(--navy); overflow: hidden; }
.tint img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); opacity: .62; }

/* Параллелограмм для картинок карточек */
.para { clip-path: polygon(25% 0, 100% 0, 75% 100%, 0 100%); }

/* =========================================================
   ШАПКА
   ========================================================= */
.logo-badge { display: block; background: var(--gray); clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%); }
.logo-badge img { width: 100%; height: auto; }

/* Полная шапка - только на десктопе */
.hdr { display: none; }

/* Плавающая панель - на мобильных это и есть шапка */
.sbar { position: fixed; z-index: 60; inset: 0 0 auto; height: var(--bar); display: flex; align-items: center; justify-content: space-between; padding: 0 12px 0 0; background: var(--navy); transition: background-color .25s, box-shadow .25s, transform .3s var(--ease); }
.sbar__logo { flex: none; width: 150px; height: 60px; padding: 8px 18px 8px 22px; display: flex; align-items: center; margin-left: 4px; }
.sbar__logo img { width: 100%; min-width: 0; }
.sbar__right { display: flex; align-items: center; gap: 8px; }
.sbar .sbar__phones, .sbar .sbar__cta { display: none; }
.sbar__icon { display: grid; place-items: center; width: 44px; height: 44px; background: var(--w15); color: var(--white); transition: background-color .2s, color .2s; }
.sbar__icon .ico { width: 18px; height: 18px; }
.sbar__burger .ico-close { display: none; }
.sbar__burger[aria-expanded="true"] .ico-close { display: block; }
.sbar__burger[aria-expanded="true"] .ico-burger { display: none; }
.sbar.is-light { background: var(--white); box-shadow: 0 1px 0 var(--line); }
.sbar.is-light .sbar__icon { background: var(--gray); color: var(--navy); }
.menu-open .sbar { background: var(--white); box-shadow: 0 1px 0 var(--line); }
.menu-open .sbar .sbar__icon { background: var(--gray); color: var(--navy); }
.menu-open .sbar .sbar__burger { background: var(--navy); color: var(--white); }
body { padding-top: var(--bar); }
body.first-hero_photo, body.first-hero_stats, body.first-hero_plain, body.first-contacts { padding-top: 0; }

/* Телефоны с выпадающим списком */
.phones { position: relative; display: flex; flex-direction: column; align-items: flex-end; }
.phones__main { font-size: 20px; line-height: 24px; text-decoration: none; white-space: nowrap; }
.phones__toggle { display: inline-flex; align-items: center; gap: 2px; font-size: 10px; line-height: 14px; text-transform: uppercase; color: var(--navy-68); }
.phones__toggle .ico { width: 10px; height: 10px; transition: transform .2s; }
.phones__toggle[aria-expanded="true"] .ico { transform: rotate(180deg); }
.phones__drop { position: absolute; z-index: 70; top: calc(100% + 12px); right: -24px; width: 312px; padding: 40px 60px; background: var(--gray); border: 1px solid var(--line); color: var(--navy); text-align: left; }
.phones__label { font-size: 10px; line-height: 16px; text-transform: uppercase; color: var(--navy-68); }
.phones__num { display: block; font-size: 20px; line-height: 26px; text-decoration: none; margin-bottom: 24px; white-space: nowrap; }
.phones__num:hover { text-decoration: underline; }
.phones__hours { margin-top: 16px; font-size: 14px; line-height: 20px; color: var(--navy-68); }

@media (min-width: 768px) {
  :root { --bar: 80px; }
  .sbar { padding-right: 24px; }
  .sbar__logo { width: 190px; height: 72px; padding: 10px 22px 10px 28px; margin-left: 16px; }
  .sbar .sbar__phones { display: flex; color: var(--white); }
  .sbar__phones .phones__toggle { color: var(--w60); }
  .sbar .sbar__cta { display: inline-flex; background: var(--white); color: var(--navy); margin-left: 16px; }
  .sbar__call { display: none; }
  .sbar.is-light .sbar__phones { color: var(--navy); }
  .sbar.is-light .sbar__phones .phones__toggle { color: var(--navy-68); }
  .sbar.is-light .sbar__cta { background: var(--navy); color: var(--white); }
  .menu-open .sbar .sbar__phones { color: var(--navy); }
  .menu-open .sbar .sbar__phones .phones__toggle { color: var(--navy-68); }
  .menu-open .sbar .sbar__cta { background: var(--navy); color: var(--white); }
}

@media (min-width: 1200px) {
  :root { --bar: 0px; }
  body { padding-top: 0; }
  html { scroll-padding-top: 120px; }
  .hdr { display: grid; position: relative; z-index: 50; grid-template-columns: 268px 1fr; grid-template-rows: 60px 60px; background: linear-gradient(var(--white) 0 60px, var(--navy) 60px); }
  .hdr__logo { grid-row: 1 / 3; grid-column: 1; width: 228px; margin-left: 40px; padding: 22px 28px 24px 28px; display: flex; align-items: center; z-index: 2; }
  .hdr__row--top { grid-column: 2; display: flex; align-items: center; justify-content: space-between; padding: 0 40px 0 20px; }
  .hdr__top ul { display: flex; gap: 13px; }
  .hdr__top a { font-size: 10px; line-height: 14px; text-transform: uppercase; text-decoration: none; }
  .hdr__top a:hover, .hdr__top a[aria-current] { text-decoration: underline; }
  /* Выпадающий список в верхнем меню («Клиентам») */
  .hdr__top > ul { align-items: center; }
  .hdr__top > ul > li > a { display: block; }
  .hdr__drop { position: relative; display: flex; align-items: center; gap: 2px; }
  .hdr__drop.is-active > a { text-decoration: underline; }
  .hdr__drop-btn { display: grid; place-items: center; width: 16px; height: 20px; color: var(--navy-68); }
  .hdr__drop-btn .ico { width: 9px; height: 9px; transition: transform .2s; }
  .hdr__drop:hover .hdr__drop-btn .ico, .hdr__drop.is-open .hdr__drop-btn .ico { transform: rotate(180deg); }
  .hdr__top .hdr__sub { position: absolute; z-index: 90; top: calc(100% + 12px); left: -18px; display: block; min-width: 280px; padding: 10px 0; background: var(--white); box-shadow: 0 24px 48px rgba(13, 58, 93, .18); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s var(--ease), visibility 0s .2s; }
  .hdr__sub::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 14px; }
  .hdr__drop:hover .hdr__sub, .hdr__drop:focus-within .hdr__sub, .hdr__drop.is-open .hdr__sub { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .hdr__top .hdr__sub a { display: block; padding: 9px 18px; white-space: nowrap; }
  .hdr__top .hdr__sub a:hover { background: var(--gray); text-decoration: none; }
  .hdr__contacts { display: flex; align-items: center; gap: 24px; }
  .hdr__nav { grid-column: 2; display: flex; justify-content: space-between; padding: 0 40px 0 6px; color: var(--white); }
  .nav { display: flex; }
  .nav__item { position: relative; display: flex; align-items: center; }
  .nav__link { display: flex; align-items: center; height: 60px; padding: 0 12px; font-size: 14px; line-height: 20px; text-decoration: none; transition: background-color .2s; }
  .nav__item.is-active > .nav__link, .nav__link:hover { background: var(--w15); }
  .nav__item.has-mega .nav__link { padding-right: 4px; }
  .nav__toggle { display: grid; place-items: center; width: 24px; height: 60px; margin-right: 8px; color: var(--white); }
  .nav__toggle .ico { width: 12px; height: 12px; transition: transform .2s; }
  .nav__toggle[aria-expanded="true"] .ico { transform: rotate(180deg); }
  .nav__item.has-mega.is-open { background: var(--white); }
  .nav__item.has-mega.is-open .nav__link, .nav__item.has-mega.is-open .nav__toggle { color: var(--navy); background: transparent; }

  .sbar { display: flex; height: 100px; padding: 0 40px 0 0; background: transparent; box-shadow: none; transform: translateY(-110%); pointer-events: none; align-items: flex-start; }
  .sbar.is-visible { transform: none; pointer-events: auto; }
  .sbar__logo { width: 228px; height: 100px; margin: 0 0 0 40px; padding: 15px 28px 15px 28px; }
  .sbar__right { padding-top: 14px; }
  .sbar__burger { display: none; }
  .sbar.is-light { background: transparent; box-shadow: none; }
}

/* ---------- Мега-меню (десктоп) ---------- */
.mega { position: absolute; z-index: 80; top: 100%; left: -6px; display: grid; grid-template-columns: 400px 460px; min-height: 576px; color: var(--navy); background: var(--white); box-shadow: 0 30px 60px rgba(13, 58, 93, .18); }
.mega__cats { padding: 24px 0; }
.mega__cat { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 24px 10px 36px; font-size: 20px; line-height: 28px; text-decoration: none; }
.mega__cat .ico { width: 14px; height: 14px; color: var(--navy-68); }
.mega__cat.is-active, .mega__cat:hover { background: var(--gray); }
.mega__side { position: relative; display: flex; flex-direction: column; justify-content: space-between; background: var(--gray); padding: 32px 24px 0 28px; }
.mega__subs li { display: flex; gap: 14px; align-items: baseline; font-size: 14px; line-height: 20px; }
.mega__subs li + li { margin-top: 16px; }
.mega__subs span { font-size: 10px; color: var(--navy-68); width: 12px; }
.mega__subs a:hover { text-decoration-color: transparent; }
.mega__promo { position: relative; margin: 40px 0 0; padding: 72px 28px 32px 132px; color: var(--white); background: var(--navy); clip-path: polygon(0 0, 100% 36px, 100% 100%, 0 100%); }
.mega__promo .percent { position: absolute; left: 22px; top: 52px; font-size: 96px; }
.mega__promo .dlist { font-size: 14px; line-height: 20px; }

/* ---------- Мобильное меню ---------- */
.mnav { position: fixed; z-index: 55; inset: var(--bar) 0 0; overflow: hidden; background: var(--white); border-top: 1px solid var(--line); }
.mnav__panes { position: relative; height: 100%; }
.mnav__pane { position: absolute; inset: 0; overflow-y: auto; padding: 24px var(--pad) 40px; background: var(--white); transition: transform .3s var(--ease); }
.mnav__pane--sub { transform: translateX(100%); }
.mnav.is-sub .mnav__pane--sub { transform: none; }
.mnav.is-sub .mnav__pane--main { transform: translateX(-30%); }
.mnav__link { display: flex; width: 100%; align-items: center; justify-content: space-between; padding: 12px 0; font-size: 14px; line-height: 20px; text-align: left; text-decoration: none; border-bottom: 1px solid var(--line); }
.mnav__list li:last-child .mnav__link { border-bottom: 0; }
/* Блок «Компания»: плитки-ссылки */
.mnav__tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 28px; }
.mnav__tile { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; height: 100%; min-height: 64px; padding: 12px 12px 14px 14px; font-size: 14px; line-height: 18px; text-decoration: none; color: var(--navy); background: var(--gray); border: 1px solid transparent; transition: background-color .2s, border-color .2s, color .2s; }
.mnav__tile .ico { width: 12px; height: 12px; margin-top: 3px; color: var(--navy-40); transition: transform .25s var(--ease), color .2s; }
.mnav__tile:hover, .mnav__tile:focus-visible { background: var(--white); border-color: var(--line); }
.mnav__tile:hover .ico { color: var(--navy); transform: translate(2px, -2px); }
.mnav__tile.is-active { background: var(--navy); color: var(--white); }
.mnav__tile.is-active .ico { color: var(--w60); }

/* Контакты внизу меню */
.mnav__contact { padding-top: 24px; border-top: 1px solid var(--line); }
.mnav__phone { display: inline-block; font-size: 22px; line-height: 28px; text-decoration: none; font-variant-numeric: tabular-nums; }
.mnav__hours { margin: 4px 0 16px; font-size: 12px; line-height: 16px; color: var(--navy-68); }
.mnav__list { margin-bottom: 32px; }
.mnav__back { display: inline-flex; align-items: center; gap: 4px; margin-bottom: 16px; font-size: 10px; text-transform: uppercase; color: var(--navy-68); }
.mnav__back .ico { width: 12px; height: 12px; }
.mnav__acc { border-bottom: 1px solid var(--line); }
.mnav__acc summary { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; font-size: 14px; list-style: none; cursor: pointer; }
.mnav__acc summary::-webkit-details-marker { display: none; }
.mnav__acc summary .ico { width: 12px; height: 12px; transition: transform .2s; }
.mnav__acc[open] summary { font-weight: 500; }
.mnav__acc[open] summary .ico { transform: rotate(180deg); }
.mnav__subs { padding: 16px 16px 20px; margin-bottom: 12px; background: var(--gray); }
.mnav__subs li { display: flex; gap: 12px; align-items: baseline; font-size: 12px; line-height: 18px; }
.mnav__subs li + li { margin-top: 12px; }
.mnav__subs span { font-size: 9px; color: var(--navy-68); }
.mnav__all a { color: var(--navy-68); }
.mnav__cat { display: block; padding: 12px 0; font-size: 14px; text-decoration: none; border-bottom: 1px solid var(--line); }
.menu-open { overflow: hidden; }

@media (min-width: 768px) {
  .mnav__pane--main { right: auto; width: 43%; background: var(--white); }
  .mnav.is-sub .mnav__pane--main { transform: none; background: #cbd5dd; }
  .mnav__pane--sub { left: 43%; transform: translateX(105%); box-shadow: -1px 0 0 var(--line); }
  .mnav__link, .mnav__cat, .mnav__acc summary { font-size: 16px; }
}
@media (min-width: 1200px) { .mnav { display: none !important; } }

/* =========================================================
   ХЛЕБНЫЕ КРОШКИ
   ========================================================= */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px 0; font-size: 10px; line-height: 14px; text-transform: uppercase; color: var(--w60); }
.crumbs li { display: inline-flex; align-items: center; }
.crumbs a { color: var(--white); }
.crumbs .ico { width: 10px; height: 10px; margin: 0 8px; }

/* =========================================================
   ПЕРВЫЕ ЭКРАНЫ
   ========================================================= */
.hero { position: relative; z-index: 2; color: var(--white); background: var(--navy); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; }
.hero__img { position: absolute; inset: 0; }
.hero__inner { position: relative; z-index: 3; padding-top: calc(var(--bar) + 24px); padding-bottom: 40px; }
.hero__title { margin-top: 32px; max-width: 14em; }
.hero--photo .hero__title { max-width: 9em; }
.hero__down { display: none; }

/* Якорные ссылки первого экрана */
.hero__anchors { margin: 40px calc(var(--pad) * -1) 0; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.hero__anchors::-webkit-scrollbar { display: none; }
.hero__anchors ul { display: grid; grid-auto-flow: column; grid-template-rows: auto auto; grid-auto-columns: 244px; gap: 0 12px; padding: 0 var(--pad); }
.hero__anchors a { position: relative; display: flex; align-items: center; min-height: 60px; padding: 10px 28px 10px 12px; font-size: 14px; line-height: 20px; text-decoration: none; border-top: 1px solid var(--w15); transition: background-color .2s; }
.hero__anchors a:hover, .hero__anchors a.is-active { background: var(--w15); }
.hero__corner { position: absolute; right: 12px; bottom: 14px; width: 6px; height: 6px; color: var(--w60); }

/* С цифрами */
.hero__bg.tint img { opacity: .4; }
.hero--stats .hero__bg.tint img { opacity: .3; }
.hero--stats .hero__inner, .hero--plain .hero__inner { padding-bottom: 96px; }
.hero--stats, .hero--plain { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 48px), 0 100%); }
.hero--stats + section, .hero--plain + section { margin-top: -48px; padding-top: calc(var(--sec) * .75 + 48px); }
.stats { margin-top: 40px; display: grid; grid-template-columns: auto auto; justify-content: space-between; column-gap: 16px; }
.stats__item { display: flex; flex-direction: column; gap: 6px; padding: 18px 0; border-bottom: 1px solid var(--w15); }
.stats__item--1 { padding-top: 0; }
.stats__item--2 { padding-top: 0; text-align: right; align-items: flex-end; }
.stats__item:nth-child(n+3) { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
.stats__item:last-child { border-bottom: 0; }
.stats__value { display: flex; align-items: center; gap: 8px; font-size: 32px; line-height: 36px; }
.stats__img { width: auto; height: 28px; }
.stats__item:nth-child(n+3) .stats__img { height: 32px; }
.stats__text { font-size: 12px; line-height: 16px; color: var(--white); }
.stats__item:nth-child(n+3) .stats__text { text-align: right; max-width: 55%; }

/* Без фото */
.hero__aside { margin-top: 20px; padding-left: 16px; border-left: 1px solid var(--w15); color: var(--w60); font-size: 14px; line-height: 20px; max-width: 280px; }
.hero__percent { position: absolute; right: 2%; bottom: 0; font-size: 220px; z-index: -1; opacity: .9; }
.hero--percent .hero__inner { padding-bottom: 120px; }

@media (min-width: 768px) {
  .hero__inner { padding-top: calc(var(--bar) + 32px); }
  .hero__title { margin-top: 56px; }
  .hero__anchors { margin-top: 72px; }
  .hero__anchors ul { grid-auto-columns: 256px; }
  .stats__value { font-size: 40px; line-height: 44px; }
  .stats__text { font-size: 14px; line-height: 20px; }
  .hero--stats, .hero--plain { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 100px), 0 100%); }
  .hero--stats + section, .hero--plain + section { margin-top: -100px; padding-top: calc(var(--sec) * .7 + 100px); }
  .hero--stats .hero__inner, .hero--plain .hero__inner { padding-bottom: 150px; }
  .hero__percent { font-size: 340px; }
}
@media (min-width: 1200px) {
  .hero--photo { min-height: 576px; }
  .hero__inner { padding-top: 26px; }
  .hero__title { margin-top: 64px; }
  .hero__anchors { margin: 112px 0 0; overflow: visible; }
  .hero__anchors ul { grid-auto-flow: row; grid-template-columns: repeat(3, 244px); grid-template-rows: none; padding: 0; }
  .hero__anchors a { font-size: 16px; padding-left: 12px; }
  .hero--photo .hero__inner { padding-bottom: 36px; }
  .hero__down { position: absolute; right: var(--pad); bottom: 36px; display: grid; place-items: center; width: 36px; height: 36px; background: var(--w15); color: var(--white); transition: background-color .2s; }
  .hero__down:hover { background: rgba(253, 253, 253, .3); }
  .hero--stats .hero__down, .hero--plain .hero__down { bottom: 136px; }
  .hero--stats .hero__inner { padding-bottom: 236px; }
  .hero--stats .hero__cols { display: grid; grid-template-columns: 1fr 500px; gap: 40px; align-items: center; margin-top: 64px; padding-right: 104px; }
  .hero--stats .hero__title { margin: 0; }
  .stats { margin: 0; }
  .stats__item { padding: 24px 0; }
  .hero--plain .hero__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; margin-top: 64px; }
  .hero--plain .hero__title { margin: 0; }
  .hero__aside { margin-top: 0; font-size: 16px; line-height: 24px; max-width: 260px; }
  .hero--plain .hero__inner { padding-bottom: 170px; }
  .hero__percent { right: 33%; bottom: -10px; font-size: 400px; }
}

/* =========================================================
   РАЗДЕЛЫ
   ========================================================= */
section { position: relative; }

/* Две колонки: заголовок слева, текст справа */
.split { display: grid; gap: 20px; }
@media (min-width: 1000px) { .split { grid-template-columns: 1fr 500px; gap: 40px; } }

/* Об услуге */
.intro { background: var(--gray); padding: var(--sec) 0; }
.intro__docs { margin-top: 48px; }
.intro__docs .eyebrow--line { margin-bottom: 20px; }
.docs-list { display: grid; gap: 16px; }

.doc { display: flex; gap: 24px; align-items: center; text-decoration: none; color: inherit; }
.doc__thumb { position: relative; flex: none; width: 80px; height: 100px; overflow: hidden; border: 1px solid var(--navy); background: var(--white); }
.doc__thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.doc__thumb::after { content: ""; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(rgba(243, 244, 245, 0), var(--gray)); }
.doc__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.doc__title { font-size: 14px; line-height: 20px; }
.doc__link { font-size: 14px; line-height: 20px; color: var(--navy-68); text-decoration: underline; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
a.doc:hover .doc__link { color: var(--navy); }
[data-theme="dark"] .doc__thumb { border-color: transparent; }
[data-theme="dark"] .doc__thumb::after { background: linear-gradient(rgba(13, 58, 93, 0), var(--navy)); }
[data-theme="dark"] .doc__link { color: var(--w60); }

/* Интернет-магазины */
.stores { margin-top: 48px; }
.stores__box { background: var(--white); }
.stores__banner img { width: 100%; }
.stores__list { padding: 8px 24px 24px; }
.store { display: grid; grid-template-columns: 88px 1fr; gap: 24px; padding: 32px 0; }
.store + .store { border-top: 1px solid var(--line); }
.store__logo { display: grid; place-items: center; width: 88px; height: 62px; border: 1px solid var(--line); padding: 6px; }
.store__title { font-size: 20px; line-height: 28px; text-decoration: underline; }
.store__title .ico { display: inline-block; margin-left: 8px; vertical-align: 0; }
.store__text { margin-top: 12px; font-size: 14px; line-height: 20px; }
@media (min-width: 1200px) { .store__title { font-size: 24px; line-height: 32px; } }

/* Слайдер услуг */
.slides { padding: var(--sec) 0; overflow: hidden; }
.slides__inner { position: relative; }
.slide { display: none; }
.slide.is-active { display: grid; gap: 32px; animation: fade .4s var(--ease); }
.no-js .slide { display: grid; gap: 32px; margin-bottom: 64px; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.slide__media { max-width: 520px; width: 100%; margin-inline: auto; }
.slide__text { margin-top: 12px; font-size: 16px; line-height: 24px; }
.slide__title { margin-top: 4px; }
.slides__eyebrow { margin-bottom: 16px; }
/* Вкладки: номер + название. На телефоне - лента с прокруткой, на десктопе - в ряд */
.slides__nav { display: flex; gap: 8px; margin: 0 calc(var(--pad) * -1) 32px; padding: 0 var(--pad); overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; }
.slides__nav::-webkit-scrollbar { display: none; }
.slides__tab { flex: 0 0 auto; display: flex; gap: 10px; align-items: baseline; max-width: 230px; padding: 12px 4px 4px 0; text-align: left; font-size: 14px; line-height: 20px; color: var(--navy-68); border-top: 2px solid var(--line); scroll-snap-align: start; transition: color .2s, border-color .2s; }
.slides__tab:hover { color: var(--navy); }
.slides__tab.is-active { color: var(--navy); border-top-color: var(--navy); }
.slides__num { flex: none; font-size: 11px; letter-spacing: .06em; }
.slide__more { margin-top: 24px; font-size: 16px; line-height: 24px; }

/* Композиция фото: синий параллелограмм + фото + дуга */
.shape { position: relative; aspect-ratio: 520 / 540; }
.shape__back { position: absolute; inset: 7% 0 0 0; background: var(--navy); clip-path: polygon(0 0, 80% 0, 100% 100%, 25% 100%); }
.shape__photo { position: absolute; inset: 7% 0 0 0; clip-path: polygon(0 0, 70% 0, 84% 100%, 25% 100%); }
.shape__arc { position: absolute; left: 0; bottom: 0; width: 40%; height: 40%; background: radial-gradient(circle at 0 100%, var(--navy) 0 30%, transparent 30.5%); opacity: .9; }
.shape::before { content: ""; position: absolute; left: 46%; top: 0; width: 34%; height: 40%; background: linear-gradient(135deg, #b7c4cf, #8fa3b4); clip-path: polygon(0 4%, 20% 0, 100% 2%, 100% 100%, 22% 100%); z-index: -1; }

@media (min-width: 1200px) {
  .slides { display: flex; align-items: center; }
  .slides > .container { width: 100%; }
  .slide.is-active { grid-template-columns: 520px 1fr; gap: 62px; align-items: center; }
  .slide__body { max-width: 560px; }
  .slides__eyebrow { margin-bottom: 20px; }
  .slides__nav { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 16px; margin: 0 0 56px; padding: 0; overflow: visible; }
  .slides__tab { max-width: none; padding: 16px 12px 0 0; font-size: 16px; line-height: 22px; }
}

/* Итог + предложение */
.summary { background: var(--navy); color: var(--white); padding-top: var(--sec); overflow: hidden; }
.summary__inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.summary__text { max-width: 520px; }
.summary .offer { margin-top: 64px; width: 100%; max-width: 604px; text-align: left; }

/* Карточка «Выгодное предложение» */
.offer { --l: 20px; --r: 56px; position: relative; color: var(--navy); background: var(--navy); }
.offer__percent { position: absolute; right: 9%; top: calc(var(--r) * -.9); font-size: 160px; z-index: 1; }
.offer__body { position: relative; z-index: 2; margin-top: var(--r); padding: 48px 24px 48px 32px; background: var(--white); }
.offer__body::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: var(--r); background: var(--white); clip-path: polygon(0 var(--l), 100% 100%, 0 100%); }
.offer__title { margin-bottom: 24px; max-width: 9em; }
.offer .dlist { font-size: 14px; line-height: 20px; }
.offer-sec { padding: var(--sec) 0 0; }
.offer-sec .offer { --r: 80px; border: 1px solid var(--line); }
.offer-sec .offer__percent { top: -60px; }
.offer-sec .offer { padding-top: 40px; }
@media (min-width: 768px) {
  .offer__body { padding: 40px 60px 64px 120px; }
  .offer .dlist { font-size: 16px; line-height: 24px; }
  .offer-sec .offer__body { padding-left: 78px; }
}

/* О нас */
.about-b { padding: var(--sec) 0; }
.about-b__grid { display: grid; gap: 32px; align-items: center; }
.about-b__media { max-width: 460px; }
.about-b__body .lead-text { margin-top: 12px; }
.about-b__body .dlist { margin-top: 16px; font-size: 14px; line-height: 20px; }
.about-b__body .btn { margin-top: 32px; }
@media (min-width: 1000px) {
  .about-b__grid { grid-template-columns: 1fr 500px; gap: 62px; }
  .about-b__media { margin-left: 30px; max-width: 528px; }
  .about-b__body .dlist { font-size: 16px; line-height: 24px; }
}
@media (min-width: 1200px) { .about-b__grid { padding-right: 133px; } }

/* Клиенты */
.clients { padding: var(--sec) 0; text-align: center; }
.clients__text { margin: 16px auto 0; max-width: 520px; font-size: 16px; line-height: 24px; }
.clients__rows { margin-top: 40px; border-top: 1px solid var(--line); }
.marquee { display: flex; overflow: hidden; border-bottom: 1px solid var(--line); }
.marquee__list { display: flex; flex: none; animation: marquee 40s linear infinite; }
.marquee--rev .marquee__list { animation-direction: reverse; animation-duration: 50s; }
.marquee:hover .marquee__list { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }
.clients__cell { display: grid; place-items: center; width: 200px; height: 112px; padding: 20px 28px; border-left: 1px solid var(--line); }
.marquee--rev .clients__cell { width: 170px; }
.clients__logo { max-height: 60px; max-width: 100%; width: auto; }
@media (min-width: 768px) { .clients__cell { width: 300px; height: 150px; } .marquee--rev .clients__cell { width: 240px; } .clients__text { font-size: 20px; line-height: 28px; } }
@media (min-width: 1200px) { .clients__cell { width: 380px; height: 170px; } .marquee--rev .clients__cell { width: 260px; } .clients__rows { margin-top: 44px; } }

/* Карточки направлений */
.cards-sec { padding: var(--sec) 0; }
.cards-sec--gray { background: var(--gray); }
.cards-sec__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.cards-sec__head .eyebrow { margin: 0; }
.carousel-btns { display: flex; gap: 8px; }
.cards { display: grid; gap: 20px; }
.card { display: flex; flex-direction: column; padding: 40px 24px; border: 1px solid var(--line); background: var(--white); }
.cards-sec--gray .card { background: var(--gray); }
.card__img { align-self: center; width: 180px; height: 140px; margin-bottom: 32px; }
.card__img img { width: 100%; height: 100%; object-fit: cover; }
.card__title { font-size: 20px; line-height: 28px; font-weight: 400; }
.card__text { margin-top: 20px; font-size: 14px; line-height: 20px; color: var(--navy-68); }
.card__links li + li { margin-top: 8px; }
.card__links .alink { font-size: 18px; line-height: 26px; }
.card .eyebrow { margin-bottom: 20px; }

/* Ряд из трёх - на телефоне карусель */
.cards--row { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--pad) * -1); padding: 0 var(--pad); scrollbar-width: none; }
.cards--row::-webkit-scrollbar { display: none; }
.cards--row .card { flex: 0 0 min(300px, 82%); scroll-snap-align: start; }
.cards-sec--grid .carousel-btns { display: none; }

@media (min-width: 768px) {
  .cards--grid { grid-template-columns: 1fr 1fr; }
  .card { padding: 48px 32px; }
  .card__title { font-size: 24px; line-height: 32px; }
  .card__links .alink { font-size: 20px; line-height: 28px; }
  .cards-sec__head { margin-bottom: 40px; }
}
@media (min-width: 1200px) {
  .cards--row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; overflow: visible; margin: 0; padding: 0; }
  .cards-sec--row .carousel-btns { display: none; }
  .card { padding: 60px 40px 60px 60px; }
  .cards--row .card { min-height: 410px; }
  .cards--grid .card { min-height: 410px; }
}

/* Акции */
.promos { padding: var(--sec) 0; }
.promos + .text-sec { padding-top: 0; }
.promo { scroll-margin-top: 140px; }
.promos__grid { display: grid; gap: 16px; }
.promo { padding: 40px 24px; border: 1px solid var(--line); }
.promo__title { margin-bottom: 24px; max-width: 11em; }
.promo .dlist { font-size: 14px; line-height: 20px; }
@media (min-width: 768px) {
  .promos__grid { grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
  .promo { padding: 52px 40px 60px 46px; min-height: 245px; }
}
@media (min-width: 1200px) {
  .promos__grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
  .promo { padding: 44px 32px 52px 36px; }
}

/* Цитата */
.quote { background: var(--gray); padding: var(--sec) 0; }
.quote__inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.quote__icon { width: 60px; margin-bottom: 24px; }
.quote__text { max-width: 780px; }
@media (min-width: 768px) { .quote__icon { width: 77px; } }

/* Состав группы */
.group { background: var(--gray); padding: var(--sec) 0; }
.group .split__title { font-size: 16px; line-height: 24px; }
.group__list li { padding: 20px 0; border-bottom: 1px solid var(--line); }
.group__list li:first-child { padding-top: 0; }
.group__name { margin-bottom: 10px; }
.group__list p { font-size: 14px; line-height: 20px; }
.group__btn { margin-top: 40px; }
.quote + .group { padding-top: calc(var(--sec) * .4); }
@media (min-width: 1000px) {
  .group .split__title { font-size: 20px; line-height: 28px; }
  .group__list p { font-size: 16px; line-height: 24px; }
  .group__btn { float: right; margin-top: 44px; }
  .group__list li { padding: 24px 0; }
}

/* Выставки */
.expo { background: var(--navy); color: var(--white); display: grid; }
.expo__panel { padding: var(--sec) 0 48px; }
.expo__panel-in { padding: 0 var(--pad); max-width: 560px; }
.expo__text { margin-top: 16px; color: var(--w60); font-size: 14px; line-height: 20px; }
.expo .doc { margin-top: 32px; }
.expo__media { position: relative; min-height: 320px; }
.expo__img { position: absolute; inset: 0; }
.expo__tabs { position: absolute; left: var(--pad); bottom: 24px; z-index: 3; display: flex; gap: 8px; flex-wrap: wrap; }
.expo__tab { min-height: 44px; padding: 10px 22px; font-size: 14px; border: 1px solid var(--w15); color: var(--white); transition: background-color .2s, color .2s; }
.expo__tab.is-active { background: var(--white); color: var(--navy); border-color: var(--white); }
.expo__next { position: absolute; right: var(--pad); top: 50%; z-index: 3; transform: translateY(-50%); }
@media (min-width: 768px) {
  .expo__text { font-size: 16px; line-height: 24px; }
  .expo__media { min-height: 460px; }
}
@media (min-width: 1200px) {
  .expo { grid-template-columns: 1fr; min-height: 672px; position: relative; }
  .expo__panel { position: relative; z-index: 2; width: 50%; padding: 108px 0 80px; background: var(--navy); clip-path: polygon(0 0, 84% 0, 100% 100%, 0 100%); width: 672px; }
  .expo__panel-in { padding: 0 0 0 173px; max-width: 560px; }
  .expo__media { position: absolute; inset: 0 0 0 572px; min-height: 0; }
  .expo__tabs { left: 121px; bottom: 36px; }
  .expo__next { right: 40px; }
}

/* Контакты (страница) */
.contacts { background: var(--navy); color: var(--white); padding: calc(var(--bar) + 24px) 0 var(--sec); }
.contacts__title { margin: 32px 0 24px; padding-bottom: 16px; border-bottom: 1px solid var(--w15); }
.contacts__sub { margin: 48px 0 20px; padding-bottom: 16px; border-bottom: 1px solid var(--w15); }
.docs-list--row { gap: 20px; }
@media (min-width: 768px) { .docs-list--row { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1200px) { .contacts { padding-top: 26px; } .contacts__title { margin-top: 64px; } }

/* Как нас найти: картинка карты + ссылка на Яндекс Карты (без виджета с рекламой) */
.mapbox { padding: var(--sec) 0; background: var(--gray); }
.mapbox__grid { display: grid; gap: 32px; }
.mapbox__addr { font-size: 22px; line-height: 30px; }
.mapbox__hours { margin-top: 12px; font-size: 14px; line-height: 20px; color: var(--navy-68); }
.mapbox__btn { margin-top: 28px; }
.mapbox__map { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; background: #e4e9ee; }
.mapbox__map img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
a.mapbox__map:hover img { transform: scale(1.03); }
.mapbox__map--plain {
  background-color: #e6ebf0;
  background-image:
    linear-gradient(32deg, transparent 47%, #fdfdfd 47%, #fdfdfd 53%, transparent 53%),
    linear-gradient(-58deg, transparent 48.5%, #fdfdfd 48.5%, #fdfdfd 51.5%, transparent 51.5%),
    repeating-linear-gradient(32deg, transparent 0 46px, rgba(253, 253, 253, .75) 46px 49px),
    repeating-linear-gradient(-58deg, transparent 0 62px, rgba(253, 253, 253, .75) 62px 65px);
}
.mapbox__pin { position: absolute; left: 50%; top: 50%; width: 36px; height: 48px; color: var(--navy); transform: translate(-50%, -100%); filter: drop-shadow(0 6px 8px rgba(13, 58, 93, .3)); transition: transform .3s var(--ease); }
.mapbox__pin .ico { width: 100%; height: 100%; }
a.mapbox__map:hover .mapbox__pin { transform: translate(-50%, -110%); }
@media (min-width: 768px) { .mapbox__grid { grid-template-columns: 1fr 1.25fr; align-items: center; gap: 48px; } }
@media (min-width: 1200px) { .mapbox__addr { font-size: 28px; line-height: 38px; } }

/* Документы сеткой */
.docs-sec { padding: var(--sec) 0; }
.docs-sec__title { margin-bottom: 24px; }
.docs-grid { display: grid; gap: 20px; }
@media (min-width: 768px) { .docs-grid { grid-template-columns: 1fr 1fr; gap: 32px 40px; } }
.docs-sec + .docs-sec, .docs-sec + .text-sec--line, .text-sec--line + .docs-sec, .text-sec--line + .text-sec--line { padding-top: 0; }
.docs-sec__text { margin-bottom: 28px; font-size: 16px; line-height: 24px; max-width: 640px; }
.text-sec--line .prose { max-width: 812px; }
.prose h3:first-child { margin-top: 0; }
.prose a[href^="tel:"] { white-space: nowrap; }

/* Текст */
.text-sec { padding: var(--sec) 0; }
.text-sec .h2 { margin-bottom: 24px; }
.prose { font-size: 16px; line-height: 24px; }
.prose > * + * { margin-top: 16px; }
.prose h2 { font-size: 24px; line-height: 32px; font-weight: 400; margin-top: 40px; }
.prose h3 { font-size: 20px; line-height: 28px; font-weight: 400; margin-top: 32px; }
.prose ul, .prose ol { padding-left: 24px; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: 8px; }
.prose a { color: var(--navy); }
.prose table { width: 100%; border-collapse: collapse; font-size: 14px; }
.prose td, .prose th { padding: 10px 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }

/* =========================================================
   ФОРМА ЗАЯВКИ
   ========================================================= */
.lead { background: var(--navy) url("../img/decor/form-eagle.webp") no-repeat left bottom / min(603px, 90%) auto; color: var(--white); padding: var(--sec) 0 calc(var(--sec) + 80px); overflow: hidden; }
.lead__grid { display: grid; gap: 32px; }
@media (min-width: 900px) {
  .lead { padding-bottom: var(--sec); }
  .lead__grid { grid-template-columns: 1fr 396px; gap: 40px; align-items: start; }
}

.lform { display: grid; gap: 20px; position: relative; }
.lform__row { display: grid; gap: 20px; }
@media (min-width: 480px) { .lform__row { grid-template-columns: 158px 1fr; } }
.lform__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field__label { display: flex; justify-content: space-between; font-size: 14px; line-height: 20px; }
.field__opt { color: var(--w60); }
.field__input { width: 100%; height: 44px; padding: 10px 12px; font-size: 14px; color: var(--white); background: transparent; border: 1px solid var(--field); border-radius: 0; transition: border-color .2s; -webkit-appearance: none; appearance: none; }
.field__input::placeholder { color: var(--w60); }
.field__input:focus { outline: none; border-color: var(--white); }
.field__input--area { height: 86px; resize: vertical; }
.field.is-error .field__input { border-color: #ff8a8a; }
.field__error { font-size: 12px; color: #ffb0b0; }
.lform .btn { margin-top: 16px; }
.lform__note { font-size: 10px; line-height: 16px; text-transform: uppercase; text-align: center; color: var(--w60); }
.lform__note a { color: var(--w60); }
.lform__status { padding: 12px 16px; font-size: 14px; background: var(--w15); }
.lform.is-sending .btn { opacity: .6; pointer-events: none; }

/* =========================================================
   ПОДВАЛ
   ========================================================= */
.ftr { background: var(--gray); }
.ftr__contacts { padding: 48px 0; }
.ccols { display: grid; gap: 40px; }
.ccols__title { font-size: 20px; line-height: 28px; font-weight: 400; margin-bottom: 20px; }
.ccols__list { display: grid; gap: 12px; font-size: 14px; line-height: 20px; }
.ccols__list li { display: flex; flex-direction: column; }
.ccols__list a, .ccols__sales a { color: var(--navy-68); }
.ccols__list a:hover, .ccols__sales a:hover { color: var(--navy); }
.ccols__sales { display: grid; gap: 8px; font-size: 14px; line-height: 20px; }
.ccols__hours { margin-top: 24px; font-size: 14px; line-height: 20px; }
.ccols--sheet .ccols__list { grid-template-columns: 1fr 1fr; gap: 16px 20px; font-size: 12px; line-height: 16px; }
.ccols--sheet .ccols__sales { font-size: 12px; line-height: 16px; }
.ccols--sheet .ccols__hours { font-size: 12px; line-height: 16px; }
.ccols--page .ccols__title { font-size: 20px; }
[data-theme="dark"] .ccols__list a, [data-theme="dark"] .ccols__sales a { color: var(--w60); }
[data-theme="dark"] .ccols__list a:hover, [data-theme="dark"] .ccols__sales a:hover { color: var(--white); }
@media (min-width: 768px) {
  .ccols { grid-template-columns: 1fr 1fr; gap: 40px 20px; }
  .ccols__hours { margin-top: 48px; }
  .ftr__contacts { padding: 72px 0 60px; }
}
.ftr__bottom { border-top: 1px solid var(--line); padding: 24px 0 32px; }
.ftr__grid { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.ftr__logo img { width: 150px; }
.ftr__legal { font-size: 10px; line-height: 16px; text-transform: uppercase; color: var(--navy-68); }
.ftr__legal p { margin-top: 4px; }
@media (min-width: 768px) {
  .ftr__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; text-align: left; justify-items: start; }
  .ftr__logo img { width: 172px; }
}

/* =========================================================
   МОДАЛЬНЫЕ ОКНА
   ========================================================= */
.modal { padding: 0; border: 0; max-width: none; max-height: none; background: transparent; color: var(--white); overflow: visible; }
.modal::backdrop { background: rgba(13, 58, 93, .72); }
.modal[open] { animation: fade .25s var(--ease); }
.modal__box { position: relative; }
.modal__close { position: absolute; display: grid; place-items: center; width: 40px; height: 40px; background: var(--navy); color: var(--white); border: 1px solid var(--w15); z-index: 2; }
.modal__title { margin-bottom: 24px; }
.modal--lead { width: min(510px, calc(100vw - 24px)); margin: auto; }
.modal--lead .modal__box { background: var(--navy); padding: 48px 24px 32px; }
.modal--lead .modal__close { right: 0; top: -44px; }
@media (min-width: 560px) { .modal--lead .modal__box { padding: 48px 60px 40px; } .modal--lead .modal__close { right: -44px; top: 0; } }
.modal--sheet { position: fixed; inset: 0; width: 100%; height: 100%; margin: 0; overflow-y: auto; }
.modal--sheet::backdrop { background: var(--navy); }
.modal--sheet .modal__box { min-height: 100%; background: var(--navy); }
.modal--sheet .modal__close { top: 14px; right: 12px; background: var(--navy); }
.modal__contacts { background: var(--gray); color: var(--navy); padding: 72px var(--pad) 40px; }
.modal__form { padding: 48px var(--pad) 48px; }
.modal-open { overflow: hidden; }

/* Ссылки внутри тёмных блоков */
[data-theme="dark"] a:not(.btn) { color: inherit; }

/* =========================================================
   ДОРАБОТКИ: типографика, шапка, карточки, анимации
   ========================================================= */

/* Типографика: ровные переносы заголовков и абзацев */
.h1, .h2, .h3, .card__title, .promo__title, .offer__title, .quote__text, .summary__text { text-wrap: balance; }
p, .lead-text, .card__text, .dlist li, .checklist li { text-wrap: pretty; }
.h1 { letter-spacing: -.02em; }
.h2 { letter-spacing: -.01em; }
.stats__value, .phones__main, .phones__num { font-variant-numeric: tabular-nums; }
::selection { background: var(--navy); color: var(--white); }

/* Ссылки: подчёркивание проявляется плавно */
a { transition: color .2s, text-decoration-color .25s; }
.alink { text-decoration-color: rgba(13, 58, 93, .35); }
.alink:hover { text-decoration-color: currentColor; }
.alink .ico, .store__title .ico { transition: transform .3s var(--ease); }
.alink:hover .ico, .store__title:hover .ico, .card:hover .card__title .ico { transform: translate(3px, -3px); }
.btn { transition: background-color .2s, color .2s, border-color .2s, transform .15s; }
.btn:active { transform: scale(.98); }
.btn--outline:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* ---------- Плавающая шапка: стекло с размытием ---------- */
.sbar__nav { display: none; }
.sbar { background: rgba(13, 58, 93, .92); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); }
.sbar.is-light { background: rgba(253, 253, 253, .9); box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(13, 58, 93, .35); }

@media (min-width: 1200px) {
  .sbar { height: 72px; padding: 0 40px 0 0; align-items: center; gap: 24px; background: rgba(13, 58, 93, .9); box-shadow: 0 1px 0 rgba(253, 253, 253, .08); transition: transform .45s var(--ease), background-color .3s, box-shadow .3s; }
  .sbar.is-light { background: rgba(253, 253, 253, .88); box-shadow: 0 1px 0 var(--line), 0 12px 32px -22px rgba(13, 58, 93, .45); }
  .sbar__logo { width: 168px; height: 72px; margin-left: 40px; padding: 12px 22px; }
  .sbar__right { padding-top: 0; margin-left: auto; }
  .sbar__nav { display: flex; gap: 4px; margin-left: 8px; color: var(--white); }
  .sbar__nav a { padding: 8px 12px; font-size: 14px; line-height: 20px; text-decoration: none; opacity: .85; transition: opacity .2s, background-color .2s; }
  .sbar__nav a:hover, .sbar__nav a.is-active { opacity: 1; background: var(--w15); }
  .sbar.is-light .sbar__nav { color: var(--navy); }
  .sbar.is-light .sbar__nav a:hover, .sbar.is-light .sbar__nav a.is-active { background: var(--navy-8); }
  .sbar .sbar__phones .phones__main { font-size: 18px; }
  .sbar .sbar__cta { margin-left: 20px; }
}
@media (min-width: 1200px) {
  .sbar__nav a, .sbar .sbar__cta, .sbar .phones__main { white-space: nowrap; }
  .sbar__nav { flex: 1; min-width: 0; }
}
/* На средних экранах прячем «О группе компаний», «Контакты» остаются всегда */
@media (min-width: 1200px) and (max-width: 1499px) {
  .sbar__nav a:nth-child(4) { display: none; }
}
@media (min-width: 1200px) and (max-width: 1319px) {
  .sbar .sbar__phones { display: none; }
  .sbar__nav a { padding: 8px 10px; }
}

/* Выпадающие окна появляются плавно */
.phones__drop:not([hidden]), .mega:not([hidden]) { animation: drop .28s var(--ease); }
.phones__drop { box-shadow: 0 24px 48px -24px rgba(13, 58, 93, .4); }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.mega__cat { transition: background-color .2s; }
.mega__cat .ico { transition: transform .25s var(--ease); }
.mega__cat.is-active .ico { transform: translateX(3px); }
.mnav:not([hidden]) { animation: fadeIn .25s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Первый экран: появление при загрузке ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes float { 50% { transform: translateY(-12px); } }
.hero__bg img { animation: settle 2.6s var(--ease) both; }
.hero .crumbs { animation: rise .7s var(--ease) both; }
.hero__title { animation: rise .9s var(--ease) .1s both; }
.hero__aside { animation: rise .9s var(--ease) .3s both; }
.stats__item, .hero__anchors li { animation: rise .8s var(--ease) both; }
.stats__item:nth-child(1), .hero__anchors li:nth-child(1) { animation-delay: .25s; }
.stats__item:nth-child(2), .hero__anchors li:nth-child(2) { animation-delay: .33s; }
.stats__item:nth-child(3), .hero__anchors li:nth-child(3) { animation-delay: .41s; }
.stats__item:nth-child(4), .hero__anchors li:nth-child(4) { animation-delay: .49s; }
.hero__anchors li:nth-child(5) { animation-delay: .57s; }
.hero__anchors li:nth-child(6) { animation-delay: .65s; }
.hero__down { animation: rise .8s var(--ease) .7s both; }
.hero__down .ico { animation: nudge 2.4s ease-in-out 1.5s infinite; }
@keyframes nudge { 0%, 60%, 100% { transform: none; } 30% { transform: translateY(3px); } }
.hero__percent { animation: rise 1s var(--ease) .2s both, float 7s ease-in-out 1.2s infinite; }
.contacts__title { animation: rise .9s var(--ease) .1s both; }
.hero__anchors a .hero__corner { transition: transform .25s var(--ease); }
.hero__anchors a:hover .hero__corner { transform: translate(2px, 2px); }

/* ---------- Появление блоков при прокрутке (класс ставит JS) ---------- */
.rv { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--rv-d, 0ms); }
.rv.is-in { opacity: 1; transform: none; }
.rv-img { clip-path: inset(0 0 100% 0); transition: clip-path 1.1s var(--ease); transition-delay: var(--rv-d, 0ms); }
.rv-img.is-in { clip-path: inset(0 0 0 0); }

/* ---------- Карточки ---------- */
.card { position: relative; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.card:hover { transform: translateY(-4px); border-color: transparent; box-shadow: 0 24px 48px -28px rgba(13, 58, 93, .45), 0 0 0 1px var(--line); }
.card__img img { transition: transform .7s var(--ease), opacity .4s; }
.card:hover .card__img img { transform: scale(1.07); opacity: .75; }
.card__title .alink::after { content: ""; position: absolute; inset: 0; }
.card--links .card__title .alink::after { display: none; }
.card__links a { position: relative; z-index: 1; }
.promo { transition: border-color .3s, box-shadow .3s; }
.promo:hover { border-color: var(--navy-40); box-shadow: 0 20px 40px -30px rgba(13, 58, 93, .5); }
.doc__thumb { transition: transform .3s var(--ease), box-shadow .3s; }
a.doc:hover .doc__thumb { transform: translateY(-3px); box-shadow: 0 12px 24px -14px rgba(13, 58, 93, .5); }
.store__logo { transition: border-color .2s; }
.store:hover .store__logo { border-color: var(--navy-40); }

/* ---------- Выгодное предложение на светлом фоне ---------- */
.offer-sec .offer { --band: 88px; padding: 0; background: var(--white); border: 1px solid var(--line); overflow: hidden; }
.offer-sec .offer::before { content: ""; position: absolute; inset: 0 0 auto; height: var(--band); background: var(--navy); clip-path: polygon(0 0, 100% 0, 100% 100%, 0 42%); }
.offer-sec .offer__percent { top: 10px; right: 28px; font-size: 96px; background-image: linear-gradient(180deg, rgba(253, 253, 253, .2), rgba(253, 253, 253, .95)); }
.offer-sec .offer__body { margin: 0; padding: calc(var(--band) + 4px) 24px 32px; background: transparent; }
.offer-sec .offer__body::before { display: none; }
.offer-sec .offer__title { margin-bottom: 16px; }
.offer-sec { padding-bottom: var(--sec); }
.cards-sec--white + .offer-sec, .promos + .offer-sec, .intro + .offer-sec { padding-top: 0; }
.intro + .offer-sec { padding-top: var(--sec); }
@media (min-width: 768px) {
  .offer-sec .offer { --band: 112px; }
  .offer-sec .offer__percent { right: 48px; top: 14px; font-size: 128px; }
  .offer-sec .offer__body { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px; align-items: start; padding: calc(var(--band) + 8px) 48px 48px; }
  .offer-sec .offer__title { margin: 0; }
  .offer-sec .offer .dlist { padding-top: 6px; }
}

/* Предложение на тёмном: знак «%» слегка покачивается */
.summary .offer__percent { animation: float 7s ease-in-out infinite; }

/* ---------- Мелочи ---------- */
.marquee { -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.clients__logo { transition: opacity .3s; opacity: .85; }
.clients__cell:hover .clients__logo { opacity: 1; }
.slide.is-active .shape { animation: shapeIn .8s var(--ease) both; }
.slide.is-active .slide__body > * { animation: rise .7s var(--ease) both; }
.slide.is-active .slide__body > :nth-child(2) { animation-delay: .06s; }
.slide.is-active .slide__body > :nth-child(3) { animation-delay: .12s; }
.slide.is-active .slide__body > :nth-child(4) { animation-delay: .18s; }
@keyframes shapeIn { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }
.expo__img:not([hidden]) img { animation: settle 1.4s var(--ease) both; }
.modal[open] .modal__box { animation: pop .35s var(--ease) both; }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.field__input { transition: border-color .2s, background-color .2s; }
.field__input:focus { background: rgba(253, 253, 253, .05); }
.lform__status:not([hidden]) { animation: rise .4s var(--ease) both; }
.ccols__list a, .ccols__sales a { text-decoration-color: rgba(13, 58, 93, .3); }

@media (prefers-reduced-motion: reduce) {
  .rv, .rv-img { opacity: 1; transform: none; clip-path: none; }
}

/* =========================================================
   ДОРАБОТКИ v2: акценты первого экрана, меню, мелкий текст
   ========================================================= */

/* Мелкий текст крупнее и читаемее */
.eyebrow { font-size: 11px; line-height: 16px; letter-spacing: .08em; }
.btn { min-height: 48px; padding: 12px 28px; font-size: 15px; }
.hdr .btn, .sbar .btn { min-height: 44px; padding: 10px 24px; font-size: 14px; }
.card__text { font-size: 15px; line-height: 22px; }
.ftr__legal { font-size: 11px; letter-spacing: .04em; }
.lform__note { font-size: 11px; letter-spacing: .04em; }
.phones__toggle { font-size: 11px; letter-spacing: .04em; }
.summary__text { max-width: 640px; }
@media (min-width: 1200px) {
  .h2 { font-size: 36px; line-height: 44px; }
  .hdr__top a { font-size: 11px; letter-spacing: .04em; }
  /* Заголовок раздела «прилипает», пока рядом листается длинный текст */
  .intro .split__title, .group .split__title { position: sticky; top: 104px; align-self: start; }
}

/* ---------- Главное меню: подсвечивается весь пункт вместе со стрелкой ---------- */
@media (min-width: 1200px) {
  .nav__item { transition: background-color .2s; }
  .nav__item.is-active > .nav__link, .nav__link:hover { background: transparent; }
  .nav__item:hover, .nav__item.is-active { background: var(--w15); }
  .nav__item.has-mega.is-open { background: var(--white); }
  .nav__toggle { margin-right: 4px; padding-right: 8px; width: 28px; }
}

/* ---------- «Выгодное предложение»: срез одним элементом, без шва ---------- */
.offer { background: transparent; padding-top: 64px; }
.offer__percent { top: 0; }
.offer__body { margin-top: 0; clip-path: polygon(0 0, 100% var(--r), 100% 100%, 0 100%); padding-top: calc(var(--r) + 40px); }
.offer__body::before { display: none; }
.offer-sec .offer { padding-top: 0; }
.offer-sec .offer__body { clip-path: none; }

/* ---------- Первый экран: крупнее и акцентнее ---------- */
.crumbs ol { font-size: 11px; letter-spacing: .06em; }
.crumbs .ico { width: 12px; height: 12px; margin: 0 10px; }
.hero__aside { color: rgba(253, 253, 253, .8); border-left: 2px solid rgba(253, 253, 253, .3); padding-left: 20px; font-size: 16px; line-height: 24px; max-width: 340px; }

/* Якорные ссылки: нумерация, подложка с размытием */
.hero__anchors ul { counter-reset: anc; }
.hero__anchors a { min-height: 68px; padding: 14px 36px 14px 16px; gap: 14px; font-size: 15px; line-height: 20px; background: rgba(13, 58, 93, .35); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-top: 2px solid rgba(253, 253, 253, .2); transition: background-color .25s, border-color .25s; }
.hero__anchors a::before { counter-increment: anc; content: counter(anc, decimal-leading-zero); flex: none; font-size: 11px; letter-spacing: .06em; color: var(--w60); transition: color .25s; }
.hero__anchors a:hover, .hero__anchors a.is-active { background: rgba(253, 253, 253, .14); border-top-color: var(--white); }
.hero__anchors a:hover::before { color: var(--white); }
.hero__corner { right: 14px; bottom: 14px; width: 8px; height: 8px; }

/* Цифры */
.stats__value { font-size: 40px; line-height: 44px; letter-spacing: -.02em; }
.stats__text { font-size: 14px; line-height: 20px; color: rgba(253, 253, 253, .78); }
.stats__img { height: 34px; }
.stats__item:nth-child(n+3) .stats__img { height: 40px; }

/* Кнопка «вниз» */
.hero__down { width: 52px; height: 52px; background: transparent; border: 1px solid rgba(253, 253, 253, .35); transition: background-color .25s, color .25s, border-color .25s; }
.hero__down:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.hero__down .ico { width: 20px; height: 20px; }

@media (min-width: 768px) {
  .hero__aside { font-size: 18px; line-height: 28px; }
  .hero__anchors ul { grid-auto-columns: 280px; gap: 8px 12px; }
  .hero__anchors a { font-size: 16px; }
  .stats__value { font-size: 52px; line-height: 56px; }
  .stats__text { font-size: 15px; line-height: 22px; }
}
@media (min-width: 1200px) {
  .crumbs ol { font-size: 12px; }
  .hero__anchors ul { grid-template-columns: repeat(3, 300px); gap: 12px 16px; }
  .hero__anchors a { min-height: 76px; font-size: 17px; line-height: 22px; padding: 16px 40px 16px 18px; }
  .hero--photo .hero__inner { padding-bottom: 44px; }
  .hero__down { bottom: 44px; }
  .hero--stats .hero__down, .hero--plain .hero__down { bottom: 140px; }
  .stats__value { font-size: 64px; line-height: 64px; }
  .stats__text { font-size: 16px; line-height: 24px; }
  .stats__item { padding: 28px 0; }
  .hero__aside { font-size: 20px; line-height: 30px; max-width: 380px; padding-left: 24px; }
}

/* ---------- Документы: цвет ссылки на тёмном фоне ---------- */
[data-theme="dark"] a.doc:hover .doc__link { color: var(--white); }
[data-theme="dark"] a.doc:hover .doc__title { color: var(--white); }
a.doc { cursor: zoom-in; }
a.doc[href$=".pdf"] { cursor: pointer; }

/* ---------- Просмотр документов во всплывающем окне ---------- */
.modal--img { margin: auto; width: fit-content; max-width: min(92vw, 1000px); }
.modal--img .modal__box { width: fit-content; }
.lb { max-width: calc(92vw - 24px); }
.lb__cap { max-width: 640px; }
.modal--img::backdrop { background: rgba(9, 32, 52, .88); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.modal--img .modal__box { background: var(--white); padding: 12px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
.modal--img .modal__close { right: 0; top: -48px; background: transparent; border-color: rgba(253, 253, 253, .35); }
.modal--img .modal__close:hover { background: var(--white); color: var(--navy); }
.lb__img { display: block; width: auto; height: auto; max-width: calc(92vw - 24px); max-height: calc(100vh - 160px); margin: 0 auto; background: var(--white); }
.lb__cap { padding: 12px 4px 2px; font-size: 14px; line-height: 20px; color: var(--navy); }
.lb__cap b { font-weight: 500; }
.lb__nav { position: absolute; top: 50%; transform: translateY(-50%); background: var(--white); border-color: transparent; box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .5); }
.lb__nav--prev { left: -18px; }
.lb__nav--next { right: -18px; }
.modal--img.is-single .lb__nav { display: none; }
.lb__img.is-loading { opacity: .3; }
.lb__img { transition: opacity .25s; }
@media (min-width: 768px) {
  .modal--img .modal__close { right: -52px; top: 0; }
  .lb__nav--prev { left: -64px; }
  .lb__nav--next { right: -64px; }
  .lb__nav { background: transparent; color: var(--white); border-color: rgba(253, 253, 253, .35); box-shadow: none; width: 44px; height: 44px; }
  .lb__nav:hover { background: var(--white); color: var(--navy); }
}
