

/* Start:/local/templates/souz/css/fonts.css?17930039586680*/
/* cyrillic-ext */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/local/templates/souz/css/../fonts/open-sans-400-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/local/templates/souz/css/../fonts/open-sans-400-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/local/templates/souz/css/../fonts/open-sans-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/local/templates/souz/css/../fonts/open-sans-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/local/templates/souz/css/../fonts/open-sans-500-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/local/templates/souz/css/../fonts/open-sans-500-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/local/templates/souz/css/../fonts/open-sans-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/local/templates/souz/css/../fonts/open-sans-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/local/templates/souz/css/../fonts/open-sans-600-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/local/templates/souz/css/../fonts/open-sans-600-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/local/templates/souz/css/../fonts/open-sans-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/local/templates/souz/css/../fonts/open-sans-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/local/templates/souz/css/../fonts/open-sans-700-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/local/templates/souz/css/../fonts/open-sans-700-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/local/templates/souz/css/../fonts/open-sans-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/local/templates/souz/css/../fonts/open-sans-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/local/templates/souz/css/../fonts/open-sans-800-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/local/templates/souz/css/../fonts/open-sans-800-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/local/templates/souz/css/../fonts/open-sans-800-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/local/templates/souz/css/../fonts/open-sans-800-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* End */


/* Start:/local/templates/souz/css/style.css?179309054093030*/
/* =========================================================
   Союз-Логистик — основные стили
   Брейкпоинты:
     < 640   — узкие телефоны
     < 768   — мобильная версия
     < 1024  — компактная (планшет)
     < 1040  — меню-бургер вместо навигации
     >= 1280 — телефон в шапке
   ========================================================= */

/* ---------- Токены ---------- */
:root {
  --blue: #2d4191;
  --blue-dark: #24357a;
  --red: #e31e24;
  --red-dark: #c8161c;
  --ink: #1b2340;
  --muted: #5d6580;
  --muted-2: #8a91a8;
  --muted-3: #b6bccd;
  --line: #e6e9f2;
  --line-2: #e1e5ef;
  --line-3: #eef0f6;
  --line-4: #dfe3ee;
  --soft: #f5f7fb;
  --hover: #f2f4fa;
  --tint: #e9ecf5;

  --gutter: clamp(16px, 4vw, 40px);
  --container: 1320px;
  --header-h: clamp(64px, 6vw, 84px);
  --section-py: clamp(48px, 4.6vw, 68px);
  --shadow-pop: 0 18px 40px rgba(20, 30, 70, .14);
  --shadow-card: 0 20px 50px rgba(20, 30, 70, .16);
}

/* ---------- База ---------- */
html, body { margin: 0; padding: 0; background: #fff; }
*, *::before, *::after { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
body {
  font-family: "Open Sans", Arial, sans-serif;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--red); }
input, button, select, textarea { font-family: inherit; }
input::placeholder, textarea::placeholder { color: var(--muted-2); }
img { max-width: 100%; }
[hidden] { display: none !important; }
h1, h2, h3, h4, p { margin: 0; }
svg { flex: none; }

.page { min-height: 100vh; display: flex; flex-direction: column; }
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.section { background: #fff; }
.section--soft { background: var(--soft); }
.section--blue { background: var(--blue); color: #fff; }
.section__inner {
  padding-top: var(--section-py);
  padding-bottom: var(--section-py);
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 2.2vw, 32px);
}
.section__inner--gap-lg { gap: clamp(24px, 2.8vw, 40px); }

/* ---------- Типографика ---------- */
.eyebrow {
  font-size: clamp(12px, 1vw, 14px);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--red);
}
.eyebrow--light { color: #fff; opacity: .85; }
.h1 {
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1.1;
  font-weight: 800;
  color: var(--ink);
}
.h2 {
  font-size: clamp(26px, 3.4vw, 44px);
  line-height: 1.15;
  font-weight: 800;
  color: var(--ink);
  text-wrap: balance;
}
.section--blue .h2 { color: #fff; }
.lead {
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.6;
  color: var(--muted);
  text-wrap: pretty;
}
.text-muted { color: var(--muted); }
.text-14 { font-size: 14px; }

.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px 24px;
}
.section-head__titles {
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1vw, 14px);
  max-width: 640px;
}
.section-head__text {
  max-width: 440px;
  font-size: clamp(15px, 1.1vw, 16px);
  line-height: 1.6;
  color: var(--muted);
}
.link-more {
  min-height: 44px;
  font-size: clamp(15px, 1.1vw, 16px);
  font-weight: 600;
  display: flex;
  gap: 8px;
  align-items: center;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  font-size: 14px;
  color: var(--muted);
}
.breadcrumbs a { min-height: 32px; display: flex; align-items: center; }
.breadcrumbs__current { font-weight: 600; color: var(--ink); }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 28px;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, opacity .2s;
}
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-dark); color: #fff; }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-dark); color: #fff; }
.btn--outline { background: #fff; color: var(--blue); border: 1px solid var(--blue); }
.btn--outline:hover { background: var(--hover); color: var(--blue); }
.btn--white { background: #fff; color: var(--blue); }
.btn--white:hover { background: var(--hover); color: var(--blue); }
.btn--lg { height: clamp(52px, 4vw, 56px); padding: 0 36px; }
.btn--block { width: 100%; }

.link-btn {
  min-height: 44px;
  padding: 0;
  border: none;
  background: none;
  color: var(--blue);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.icon-btn {
  position: relative;
  flex: none;
  width: clamp(44px, 3.4vw, 48px);
  height: clamp(44px, 3.4vw, 48px);
  padding: 0;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.icon-btn:hover { background: var(--hover); border-color: var(--blue); color: var(--blue); }
.icon-btn--ink { color: var(--ink); }
.icon-btn--ink:hover { background: #fff; border-color: var(--line); color: var(--ink); }
.icon-btn--44 { width: 44px; height: 44px; }
.icon-btn--dot::after {
  content: "";
  position: absolute;
  top: 8px;
  right: 8px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--red);
  border: 2px solid #fff;
}

.arrow-btn {
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity .2s;
}
.arrow-btn:hover { border-color: var(--blue); color: var(--blue); }
.arrow-btn[disabled] { opacity: .4; cursor: default; }
.arrows { display: flex; gap: 8px; }

/* ---------- Формы ---------- */
.input {
  min-width: 0;
  width: 100%;
  height: 52px;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  background: var(--soft);
  padding: 0 16px;
  font-size: 16px;
  color: var(--ink);
  outline: none;
}
.input:focus { border-color: var(--blue); background: #fff; }
.input--56 { height: 56px; }
textarea.input { height: auto; min-height: 120px; padding: 14px 16px; resize: vertical; line-height: 1.5; }
select.input {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%232d4191' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

/* Чекбокс согласия: настоящий input + нарисованный квадрат */
.agree {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  cursor: pointer;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}
.agree--center { align-items: center; }
.agree input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.agree__box {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border: 1.5px solid #c3c9da;
  background: #fff;
}
.agree__box svg { width: 14px; height: 14px; }
.agree input:checked + .agree__box { border-color: var(--blue); background: var(--blue); }
.agree input:focus-visible + .agree__box { outline: 2px solid var(--blue); outline-offset: 2px; }
.agree a { color: var(--blue); text-decoration: underline; }
/* Поле заполнено неверно (правила — SouzSite::fieldRules): красная рамка после того, как посетитель его изменил */
.input:user-invalid,
.a-input:user-invalid { border-color: var(--red); }
/* Кнопка отправки бледнеет, пока нет согласия */
form:has(.agree input:not(:checked)) [type="submit"] { opacity: .5; }

/* Состояние «заявка отправлена» */
[data-form]:not(.is-sent) .form-success { display: none; }
[data-form].is-sent .form-success { display: flex; }
[data-form].is-sent form { display: none; }
.success {
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}
.success__icon {
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.success__title { font-size: clamp(21px, 1.9vw, 26px); font-weight: 700; color: var(--ink); }
.success__text { color: var(--muted); line-height: 1.6; max-width: 420px; }

/* ---------- Шапка ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.header__logo { flex: none; display: flex; align-items: center; }
.header__logo img, .drawer__logo { height: clamp(40px, 3.6vw, 52px); width: auto; display: block; }
.header__actions { flex: none; display: flex; align-items: center; gap: clamp(6px, .6vw, 8px); }
.header__phone {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  padding: 0 10px;
}
.header__phone:hover { color: var(--blue); }

.nav {
  flex: 1;
  min-width: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(14px, 1.7vw, 30px);
}
.nav__item { position: relative; display: flex; align-items: center; height: var(--header-h); }
.nav__link {
  white-space: nowrap;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav__link:hover, .nav__item--dropdown:hover .nav__link, .nav__item--dropdown:focus-within .nav__link { color: var(--red); }
.nav__chevron { transition: transform .2s; }
.nav__item--dropdown:hover .nav__chevron, .nav__item--dropdown:focus-within .nav__chevron { transform: rotate(180deg); }
.nav__dropdown {
  position: absolute;
  top: 100%;
  left: -20px;
  z-index: 60;
  visibility: hidden;
  transition: visibility 0s linear .12s;
}
.nav__item--dropdown:hover .nav__dropdown,
.nav__item--dropdown:focus-within .nav__dropdown { visibility: visible; transition-delay: 0s; }
.nav__panel {
  min-width: 280px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-pop);
  padding: 8px;
  display: flex;
  flex-direction: column;
}
.nav__sublink {
  min-height: 48px;
  padding: 0 14px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}
.nav__sublink:hover { background: var(--hover); color: var(--blue); }

.burger {
  display: none;
  height: clamp(44px, 3.4vw, 48px);
  min-width: clamp(44px, 3.4vw, 48px);
  padding: 0 clamp(11px, 1.25vw, 18px) 0 clamp(11px, 1.1vw, 16px);
  border-radius: 12px;
  border: none;
  background: var(--blue);
  color: #fff;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
}
.burger:hover { background: var(--blue-dark); }

@media (max-width: 1279.98px) { .header__phone { display: none; } }
@media (max-width: 1039.98px) {
  .nav { display: none; }
  .burger { display: flex; }
}
@media (max-width: 639.98px) { .burger__label { display: none; } }

/* ---------- Мобильное меню ---------- */
.drawer { position: fixed; inset: 0; z-index: 100; display: none; justify-content: flex-end; }
.drawer.is-open { display: flex; }
@media (min-width: 1040px) { .drawer.is-open { display: none; } }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(18, 26, 60, .55); }
.drawer__panel {
  position: relative;
  width: min(440px, 100%);
  height: 100%;
  background: #fff;
  padding: 0 var(--gutter) 32px;
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2vw, 28px);
  overflow: auto;
  overscroll-behavior: contain;
}
.drawer__head {
  flex: none;
  height: var(--header-h);
  margin: 0 calc(-1 * var(--gutter));
  padding: 0 var(--gutter);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.drawer__nav { display: flex; flex-direction: column; }
.drawer__group { border-bottom: 1px solid var(--line-3); }
.drawer__toggle, .drawer__link {
  width: 100%;
  min-height: 56px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  font-size: clamp(18px, 1.4vw, 20px);
  font-weight: 600;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.drawer__link { border-bottom: 1px solid var(--line-3); }
.drawer__link:hover { color: var(--red); }
.drawer__toggle svg { color: var(--muted-3); transition: transform .2s; }
.drawer__group.is-open .drawer__toggle { color: var(--red); }
.drawer__group.is-open .drawer__toggle svg { transform: rotate(180deg); }
.drawer__sub {
  display: none;
  flex-direction: column;
  padding: 0 0 10px 14px;
  border-left: 2px solid var(--red);
  margin-bottom: 12px;
}
.drawer__group.is-open .drawer__sub { display: flex; }
.drawer__sub a {
  min-height: 48px;
  display: flex;
  align-items: center;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
}
.drawer__sub a:hover { color: var(--red); }
.drawer__foot { margin-top: auto; display: flex; flex-direction: column; gap: 14px; }
.drawer__contact { display: flex; flex-direction: column; gap: 6px; }
.drawer__phone { font-size: 22px; font-weight: 700; color: var(--blue); }
.drawer__call { display: none; }
@media (max-width: 767.98px) { .drawer__call { display: flex; } }

/* ---------- Связь: выбор канала и онлайн-чат ---------- */
.picker, .picker-sheet, .chat { display: none; }

.picker__backdrop { position: fixed; inset: 0; z-index: 59; }
.picker__panel {
  position: fixed;
  right: 24px;
  top: 96px;
  z-index: 60;
  width: min(320px, calc(100% - 32px));
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(20, 30, 70, .18);
  padding: 8px;
  display: flex;
  flex-direction: column;
}
.picker__title { padding: 10px 12px 8px; font-size: 13px; font-weight: 600; color: var(--muted-2); }
.picker__item {
  min-height: 56px;
  padding: 8px 12px;
  border: none;
  background: none;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  text-align: left;
}
.picker__item:hover { background: var(--hover); }
.picker__icon {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
}
.picker__icon--chat { background: var(--blue); color: #fff; }
.picker__icon--logo { overflow: hidden; }
.picker__icon--phone { background: var(--red); color: #fff; }
.picker__text { display: flex; flex-direction: column; gap: 2px; }
.picker__name { font-size: 15px; font-weight: 700; color: var(--ink); }
.picker__hint { font-size: 13px; color: var(--muted); }
.picker__phone {
  margin: 6px 4px 4px;
  padding: 12px;
  border-radius: 12px;
  background: var(--hover);
  display: flex;
  align-items: center;
  gap: 14px;
}
.picker__phone:hover { background: #e8ebf5; }
.picker__number { font-size: 17px; font-weight: 700; color: var(--blue); }

.picker-sheet {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: #fff;
  flex-direction: column;
  overflow-y: auto;
}
.picker-sheet__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 8px 12px 16px;
  border-bottom: 1px solid var(--line-3);
}
.picker-sheet__head strong { font-size: 18px; color: var(--ink); }
.picker-sheet__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 20px 16px;
}
.picker-sheet__tile {
  padding: 16px 6px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
.picker-sheet__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 800;
}
.picker-sheet__name { font-size: 14px; font-weight: 700; color: var(--ink); }
.picker-sheet__foot { padding: 0 16px 20px; }
.picker-sheet__phone {
  min-height: 72px;
  padding: 12px 16px;
  border-radius: 16px;
  background: var(--hover);
  display: flex;
  align-items: center;
  gap: 14px;
}
.picker-sheet__phone-icon {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.picker-sheet__number { font-size: 19px; font-weight: 700; color: var(--blue); }

/* Онлайн-чат: на десктопе — окно под шапкой, на мобильных — нижняя панель */
.chat__backdrop, .chat__handle { display: none; }
.chat {
  position: fixed;
  right: 24px;
  top: 96px;
  z-index: 60;
  width: min(340px, calc(100% - 32px));
}
.chat__panel {
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(20, 30, 70, .18);
  overflow: hidden;
}
.chat__head {
  background: var(--blue);
  color: #fff;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.chat__title { display: flex; flex-direction: column; }
.chat__title strong { font-size: 15px; }
.chat__title span { font-size: 13px; opacity: .85; }
.chat__close {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}
.chat__body { padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.chat__msg {
  background: var(--hover);
  border-radius: 12px 12px 12px 4px;
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.5;
}
.chat__form { display: flex; gap: 8px; }
.chat__input {
  flex: 1;
  min-width: 0;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  padding: 0 14px;
  font-size: 15px;
  outline: none;
}
.chat__send {
  height: 44px;
  padding: 0 16px;
  border: none;
  border-radius: 10px;
  background: var(--red);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

@media (min-width: 768px) {
  [data-chat-state="picker"] .picker { display: block; }
  [data-chat-state="live"] .chat { display: block; }
}
@media (max-width: 767.98px) {
  [data-chat-state="picker"] .picker-sheet { display: flex; }
  [data-chat-state="live"] .chat { display: flex; }
  .chat {
    inset: 0;
    width: auto;
    z-index: 90;
    flex-direction: column;
    justify-content: flex-end;
  }
  .chat__backdrop { display: block; position: absolute; inset: 0; background: rgba(18, 26, 60, .5); }
  .chat__panel { border-radius: 20px 20px 0 0; box-shadow: none; }
  .chat__handle { display: flex; justify-content: center; padding-top: 8px; background: var(--blue); }
  .chat__handle span { width: 40px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .4); }
  .chat__head { padding: 10px 16px 16px; }
  .chat__title strong { font-size: 16px; }
  .chat__close { width: 44px; height: 44px; font-size: 26px; padding: 0; }
  .chat__body { padding: 16px 16px 28px; gap: 14px; }
  .chat__msg { border-radius: 14px 14px 14px 4px; font-size: 15px; max-width: 290px; }
  .chat__input { height: 48px; border-radius: 12px; font-size: 16px; }
  .chat__send { width: 48px; height: 48px; padding: 0; border-radius: 12px; font-size: 18px; font-weight: 700; }
}

/* ---------- Подвал ---------- */
.footer { color: #fff; margin-top: auto; background: var(--blue); }
.footer__inner {
  padding-top: clamp(40px, 5vw, 72px);
  padding-bottom: clamp(28px, 2.2vw, 32px);
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 4vw, 56px);
}
.footer__top { display: flex; flex-wrap: wrap; gap: clamp(28px, 2vw, 32px) clamp(20px, 2vw, 32px); }
.footer__brand {
  flex: 1 1 0;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 1.7vw, 24px);
}
.footer__logo { height: clamp(44px, 3.9vw, 56px); width: auto; align-self: flex-start; }
.footer__contacts { display: flex; flex-direction: column; gap: 6px; }
.footer a { color: #fff; }
.footer a:hover { color: #fff; opacity: .8; }
.footer__phone { font-size: clamp(22px, 1.7vw, 24px); font-weight: 700; }
.footer__note { font-size: 14px; opacity: .8; }
.footer__email { font-size: 16px; margin-top: 6px; min-height: 32px; display: flex; align-items: center; }
.footer__socials { display: flex; gap: 10px; }
/* Соцсети — фирменные логотипы (img/social/*.svg) во всю плитку */
.footer .footer__social {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
}
.footer .footer__social:hover { opacity: 1; }
.footer__social img,
.social-tile img,
.picker__icon--logo img { display: block; width: 100%; height: 100%; }

.footer__cols {
  flex: 4 1 calc(3 * clamp(20px, 2vw, 32px));
  min-width: 640px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 2vw, 32px);
}
.footer__group, .footer__legal { display: flex; flex-direction: column; gap: 14px; }
.footer__title {
  padding: 0;
  border: none;
  background: none;
  color: #fff;
  text-align: left;
  cursor: default;
  pointer-events: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .75;
}
.footer__title svg { display: none; }
.footer__legal-title { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .75; }
.footer__links { display: flex; flex-direction: column; gap: 14px; }
.footer__links a { font-size: 15px; }
.footer__links a:hover { opacity: .7; }
.footer__legal-text { font-size: 15px; line-height: 1.7; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: space-between;
  align-items: center;
  padding-top: clamp(20px, 1.7vw, 24px);
  border-top: 1px solid rgba(255, 255, 255, .18);
  font-size: clamp(13px, 1vw, 14px);
}
.footer__copy { opacity: .8; }
.footer__docs { display: flex; flex-wrap: wrap; gap: 0 24px; }
.footer .footer__policy { text-decoration: underline; min-height: 32px; display: flex; align-items: center; }
.footer .footer__policy:hover { opacity: .7; }

@media (max-width: 1039.98px) {
  .footer__cols { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
}
@media (max-width: 767.98px) {
  .footer__cols {
    flex: 1 1 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, .18);
  }
  .footer__group { gap: 0; border-bottom: 1px solid rgba(255, 255, 255, .18); }
  .footer__title {
    width: 100%;
    min-height: 56px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: auto;
    cursor: pointer;
    opacity: 1;
    font-size: 16px;
    letter-spacing: 0;
    text-transform: none;
  }
  .footer__title svg { display: block; margin-right: 4px; transition: transform .2s; }
  .footer__group.is-open .footer__title svg { transform: rotate(45deg); }
  .footer__links { display: none; gap: 0; padding: 0 0 12px; }
  .footer__group.is-open .footer__links { display: flex; }
  .footer__links a { min-height: 40px; display: flex; align-items: center; }
  .footer__links a:hover { opacity: .8; }
  .footer__legal { gap: 8px; margin-top: 28px; }
  .footer__legal-title { font-size: 12px; }
  .footer__legal-text { font-size: 14px; line-height: 1.65; }
}

/* =========================================================
   Общие секции страниц
   ========================================================= */

/* ---------- Первый экран со слайдером (главная) ---------- */
.hero { position: relative; overflow: hidden; background: var(--blue); height: clamp(400px, 34vw, 500px); }
.hero__inner { position: relative; height: 100%; padding-bottom: 80px; display: flex; align-items: center; }
.hero__slider { width: 100%; }
.hero__media { position: absolute; top: 12px; bottom: 76px; left: 45%; right: 0; }
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  pointer-events: none;
  transition: opacity .6s ease;
}
.hero__img.is-active { opacity: 1; pointer-events: auto; }
.hero__texts { position: relative; width: 44%; display: grid; color: #fff; }
.hero__text { grid-area: 1 / 1; display: flex; flex-direction: column; gap: clamp(14px, 1.5vw, 20px); visibility: hidden; }
.hero__text.is-active { visibility: visible; }
.hero__title {
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.12;
  font-weight: 800;
  text-wrap: balance;
  height: calc(1.12em * 3);
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.hero__desc {
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.6;
  max-width: 520px;
  text-wrap: pretty;
  height: calc(1.6em * 5);
  overflow: hidden;
}
.hero__more {
  white-space: nowrap;
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.hero__more:hover { color: #fff; text-decoration-color: #fff; }
.hero__dots { display: flex; gap: 8px; }
.hero__dots--desktop { position: absolute; left: var(--gutter); bottom: 84px; }
.hero__dots--mobile { display: none; }
.hero__dot {
  width: 16px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  background: rgba(255, 255, 255, .45);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .15);
  transition: all .3s;
}
.hero__dot.is-active { width: 40px; background: #fff; }

.hero-order { position: relative; z-index: 2; background: #fff; display: flow-root; }
.hero-order > .container { margin-top: -64px; }
.hero-order__card {
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  padding: clamp(22px, 2.2vw, 30px) clamp(22px, 2.6vw, 36px);
}
.hero-order__title { font-size: clamp(20px, 1.7vw, 24px); font-weight: 700; color: var(--ink); }
.hero-order__success { min-height: 150px; align-items: center; gap: 20px; flex-wrap: wrap; }
.hero-order__success-text { flex: 1 1 300px; display: flex; flex-direction: column; gap: 6px; }
.hero-order__success .success__text { max-width: none; }

.hero-form { display: flex; flex-direction: column; gap: 16px; }
.hero-form__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero-form__sub { display: none; }
.steps { height: 24px; display: flex; align-items: center; gap: 12px; }
.steps__back {
  display: none;
  min-height: 44px;
  margin: -10px 0;
  padding: 0;
  border: none;
  background: none;
  color: var(--blue);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  align-items: center;
  gap: 6px;
}
.steps__label { font-size: 13px; font-weight: 600; color: var(--muted); }
.steps__bars { display: flex; gap: 4px; }
.steps__bars i { width: 28px; height: 4px; border-radius: 2px; background: var(--blue); }
.steps__bars i + i { background: var(--line-2); }
[data-step="2"] .steps__back { display: flex; }
[data-step="2"] .steps__bars i + i { background: var(--blue); }

.hero-form__steps { display: grid; }
.hero-form__step { grid-area: 1 / 1; display: grid; gap: 10px; align-items: center; }
[data-step="1"] [data-step-pane="2"], [data-step="2"] [data-step-pane="1"] { visibility: hidden; }
.hero-form__step--route { grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr) minmax(200px, auto); }
.hero-form__step--details { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) minmax(200px, auto); }
.hero-form .input, .hero-form .btn { height: 56px; }
.route { display: contents; }
.route__swap {
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--blue);
  font-size: 18px;
}
.route__swap:hover { color: var(--red); }
.route__swap-v { display: none; }
.hero-form .agree { align-items: center; }

@media (max-width: 767.98px) {
  .hero { height: auto; }
  .hero__inner { display: block; height: auto; padding: 0 16px; }
  .hero__slider { margin: 0 -16px; width: auto; background: #fff; display: flex; flex-direction: column; }
  .hero__media { position: relative; inset: auto; aspect-ratio: 2 / 1; overflow: hidden; }
  /* Прозрачные поля картинки обрезаются: изображение на 98% высоты рамки (значения — из result_modifier.php) */
  .hero__img { transform: translateY(var(--hero-shift, 0%)) scale(var(--hero-zoom, 1)); }
  .hero__texts { width: auto; padding: 20px 16px 22px; color: var(--ink); }
  .hero__text { gap: 10px; }
  .hero__title { font-size: 20px; text-transform: uppercase; height: calc(1.12em * 2); -webkit-line-clamp: 2; }
  .hero__desc { font-size: 15px; max-width: 540px; color: var(--muted); height: calc(1.6em * 4); }
  .hero__more { color: var(--blue); text-decoration: none; }
  .hero__more:hover { color: var(--blue); text-decoration: underline; text-decoration-color: var(--red); }
  .hero__dots--desktop { display: none; }
  .hero__dots--mobile { display: flex; position: absolute; left: 0; right: 0; bottom: 14px; justify-content: center; }
  .hero__dot { background: #fff; }
  .hero__dot.is-active { background: var(--blue); }

  .hero-order { background: var(--blue); padding: 24px 0 32px; overflow: hidden; }
  .hero-order > .container { margin-top: 0; padding: 0 16px; }
  .hero-order__card {
    max-width: 430px;
    border-radius: 16px;
    padding: 20px 18px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .25);
  }
  .hero-order__title { font-size: 21px; line-height: 1.25; }
  .hero-order__success { min-height: 0; flex-direction: column; align-items: flex-start; gap: 14px; padding: 8px 0; }
  .hero-order__success-text { flex: none; gap: 14px; }
  .hero-form { gap: 10px; }
  .hero-form__head { display: block; }
  .hero-form__heading { display: flex; flex-direction: column; gap: 12px; }
  .hero-form__sub { display: block; font-size: 14px; color: var(--muted); line-height: 1.5; }
  .steps { height: 20px; margin: 14px 0 2px; justify-content: space-between; }
  .steps__back { margin: -12px 0; }
  .steps__bars { display: none; }
  [data-step="2"] .steps__label { display: none; }
  .hero-form__step { align-self: start; display: flex; flex-direction: column; align-items: stretch; }
  .hero-form__step--details { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px 8px; }
  .hero-form__name, .hero-form__submit { grid-column: 1 / -1; }
  .hero-form .input, .hero-form .btn { height: 52px; }
  .route { display: flex; position: relative; flex-direction: column; gap: 8px; }
  .route .input { padding-right: 52px; }
  .route__swap { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); }
  .route__swap-h { display: none; }
  .route__swap-v {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--line-2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    font-size: 14px;
  }
  .route__swap:hover { color: var(--blue); }
  .route__swap:hover .route__swap-v { border-color: var(--blue); }
  .hero-form .agree { align-items: flex-start; padding: 6px 0; }
}

/* ---------- Услуги ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 48px 56px;
  padding: 20px 0;
}
.service {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  margin: -20px;
  border-radius: 16px;
  color: var(--ink);
  transition: background-color .2s, color .2s;
}
.service:hover { background: var(--soft); color: var(--red); }
/* Услуга без своей страницы — не ссылка: без подсветки при наведении */
@media (min-width: 768px) { .service--static:hover { background: none; color: var(--ink); } }
.service__icon { flex: none; color: var(--blue); display: flex; }
.service__icon svg { width: 56px; height: 56px; display: block; }
.service__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 12px; padding-top: 4px; }
.service__title { font-size: 20px; font-weight: 700; line-height: 1.3; text-wrap: balance; }
.service__text { font-size: 15px; line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.service__arrow { display: none; }
@media (max-width: 767.98px) {
  .services { display: flex; flex-direction: column; gap: 10px; padding: 0; }
  .service { gap: 14px; align-items: center; padding: 10px 12px 10px 10px; margin: 0; background: var(--soft); border-radius: 14px; }
  .service:hover { color: var(--ink); }
  .service__icon { width: 84px; height: 84px; border-radius: 10px; background: #fff; align-items: center; justify-content: center; }
  .service__icon svg { width: 60px; height: 60px; }
  .service__body { gap: 4px; padding-top: 0; }
  .service__title { font-size: 16px; text-wrap: wrap; }
  .service__text { font-size: 13px; line-height: 1.45; text-wrap: wrap; }
  .service__arrow { display: block; flex: none; color: var(--blue); font-size: 22px; line-height: 1; }
}

/* ---------- Формула 4=5 ---------- */
.formula {
  padding-top: var(--section-py);
  padding-bottom: var(--section-py);
  display: flex;
  flex-wrap: wrap;
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}
.formula__media {
  flex: 1.2 1 440px;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-left: calc(-1 * (max(0px, (100vw - 1320px) / 2) + var(--gutter)));
}
.formula__media img { display: block; width: 100%; height: auto; }
.formula__body { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: clamp(12px, 1.4vw, 20px); }
.formula__lead { max-width: 500px; }
.formula__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-2);
  border: 1px solid var(--line-2);
  border-radius: 14px;
  overflow: hidden;
  margin-top: clamp(4px, 1vw, 12px);
}
.formula__stat { background: #fff; padding: clamp(14px, 1.6vw, 22px); display: flex; flex-direction: column; gap: 4px; }
.formula__value { font-size: clamp(26px, 2.6vw, 36px); font-weight: 800; color: var(--blue); line-height: 1; }
.formula__label { font-size: 14px; color: var(--ink); }

/* ---------- Нумерованные этапы с линией ---------- */
.steps-line {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: clamp(10px, 1.4vw, 20px);
}
.steps-line__item {
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1vw, 14px);
  padding-top: clamp(16px, 1.6vw, 22px);
  border-top: 3px solid var(--blue);
}
.steps-line__num { font-size: 15px; font-weight: 800; color: var(--red); }
.steps-line__title { font-size: clamp(17px, 1.4vw, 20px); font-weight: 700; line-height: 1.3; color: var(--ink); }

/* ---------- Заявка на расчёт стоимости ---------- */
.order {
  padding-top: var(--section-py);
  padding-bottom: var(--section-py);
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 4vw, 56px);
  align-items: flex-start;
}
.order__intro { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: clamp(12px, 1.4vw, 20px); }
.order__lead { font-size: clamp(15px, 1.2vw, 17px); line-height: 1.6; max-width: 460px; }
.order__notes { display: flex; flex-direction: column; gap: clamp(10px, 1vw, 14px); margin-top: clamp(4px, 1vw, 16px); }
.order__note { display: flex; gap: clamp(12px, 1vw, 14px); align-items: center; font-size: clamp(15px, 1.1vw, 16px); }
.order__check {
  flex: none;
  width: clamp(24px, 2vw, 28px);
  height: clamp(24px, 2vw, 28px);
  border-radius: 50%;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
}
.order__card {
  flex: 1.4 1 520px;
  min-width: 0;
  background: #fff;
  color: var(--ink);
  border-radius: clamp(18px, 1.6vw, 22px);
  padding: clamp(20px, 3vw, 40px) clamp(18px, 3vw, 40px);
}
.order__success { padding: clamp(12px, 3vw, 40px) 0; }
.order__form { display: flex; flex-direction: column; gap: clamp(16px, 1.6vw, 20px); }
.order__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.order__title { font-size: clamp(20px, 1.7vw, 24px); font-weight: 700; }
.order__required { font-size: 13px; color: var(--muted); }
.order__row { display: grid; gap: 12px; }
.order__row--2 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.order__row--3 { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.order__foot { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; }
.order__agree { flex: 1 1 260px; }
@media (max-width: 767.98px) {
  .order__notes { display: none; }
  .order__submit { width: 100%; }
}

/* ---------- Цифры ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
  border-top: 1px solid var(--line-2);
  border-left: 1px solid var(--line-2);
}
.stats__item {
  padding: clamp(18px, 2.2vw, 32px) clamp(14px, 2vw, 28px);
  border-right: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.stats__value {
  font-size: clamp(30px, 4vw, 56px);
  font-weight: 800;
  line-height: 1;
  color: var(--blue);
  letter-spacing: -.02em;
  white-space: nowrap;
}
.stats__unit { font-size: max(14px, .45em); font-weight: 700; color: var(--red); margin-left: 5px; letter-spacing: 0; }
.stats__label { font-size: clamp(13px, 1.1vw, 16px); line-height: 1.5; color: var(--ink); }

.wide-img { display: block; width: 100%; max-width: 1000px; height: auto; margin: 0 auto; }

/* ---------- Карточки преимуществ с номером ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: clamp(10px, 1.4vw, 20px);
}
.feature {
  background: var(--soft);
  border-radius: clamp(14px, 1.1vw, 16px);
  padding: clamp(16px, 1.8vw, 26px);
  display: flex;
  gap: clamp(14px, 1.3vw, 18px);
  align-items: flex-start;
}
.feature__num {
  flex: none;
  width: clamp(36px, 3vw, 44px);
  height: clamp(36px, 3vw, 44px);
  border-radius: 12px;
  background: #fff;
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(13px, 1vw, 15px);
  font-weight: 800;
}
.feature__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.feature__title { font-size: clamp(16px, 1.2vw, 17px); font-weight: 700; line-height: 1.35; color: var(--ink); }
.feature__text { font-size: 14px; line-height: 1.55; color: var(--muted); }

/* ---------- Новости (лента на главной) ---------- */
.news-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 28px; }
.news-card { display: flex; flex-direction: column; gap: 18px; color: var(--ink); }
.news-card:hover { color: var(--blue); }
.news-card__img { position: relative; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; background: var(--tint); }
.news-card__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.news-card__body { display: flex; flex-direction: column; gap: 10px; }
.news-card__meta { display: flex; gap: 12px; align-items: center; font-size: 13px; font-weight: 600; }
.news-card__tag { color: var(--red); text-transform: uppercase; letter-spacing: .06em; }
.news-card__date { color: var(--muted-2); }
.news-card__title { font-size: 20px; font-weight: 700; line-height: 1.35; text-wrap: pretty; }
@media (max-width: 1023.98px) {
  .news-row {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin: 0 calc(-1 * var(--gutter));
    padding: 0 var(--gutter) 4px;
    scroll-padding: 0 var(--gutter);
    scrollbar-width: none;
  }
  .news-row::-webkit-scrollbar { display: none; }
  .news-row .news-card { flex: none; width: 280px; scroll-snap-align: start; gap: 14px; }
  .news-row .news-card__img { border-radius: 14px; }
  .news-row .news-card__body { gap: 8px; }
  .news-row .news-card__meta { font-size: 12px; gap: 10px; }
  .news-row .news-card__title { font-size: 17px; }
}

/* ---------- Клиенты (карусель) ---------- */
.clients {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.clients::-webkit-scrollbar { display: none; }
.client {
  flex: none;
  width: calc((100% - 48px) / 4);
  scroll-snap-align: start;
  aspect-ratio: 5 / 2;
  background: var(--soft);
  border-radius: clamp(10px, 1vw, 14px);
  overflow: hidden;
  position: relative;
}
.client img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  padding: 14% 18%;
  object-fit: contain;
  transform: scale(var(--scale, 1));
}
@media (max-width: 1039.98px) { .client { width: calc((100% - 32px) / 3); } }
@media (max-width: 767.98px) {
  .clients { gap: 10px; }
  .client { width: calc((100% - 10px) / 2); aspect-ratio: 3 / 2; }
  .client img { padding: 18% 14%; }
}

/* ---------- Вводный блок внутренних страниц (крошки + H1) ---------- */
.page-intro {
  padding-top: clamp(20px, 2.4vw, 28px);
  padding-bottom: var(--section-py);
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2.4vw, 32px);
}

/* ---------- Карточки контактов ---------- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: clamp(12px, 1.4vw, 20px);
}
.info-card {
  background: var(--soft);
  border-radius: clamp(14px, 1.2vw, 18px);
  padding: clamp(20px, 2.2vw, 30px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.info-card--blue { background: var(--blue); color: #fff; }
.info-card__label { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.info-card--blue .info-card__label { color: inherit; opacity: .85; }
.info-card__note { font-size: 14px; line-height: 1.45; color: var(--muted); }
.info-card--blue .info-card__note { color: inherit; }
.info-card__phone { font-size: clamp(26px, 2.4vw, 34px); font-weight: 800; line-height: 1.15; color: #fff; }
.info-card__phone:hover { color: #fff; opacity: .85; }
.info-card__email { font-size: clamp(20px, 1.7vw, 24px); font-weight: 700; line-height: 1.25; color: var(--ink); word-break: break-word; }
.info-card__email:hover { color: var(--blue); }
.info-card__address { font-size: clamp(17px, 1.4vw, 19px); font-weight: 700; line-height: 1.4; color: var(--ink); overflow-wrap: anywhere; text-wrap: pretty; }
.info-card__value { font-size: clamp(18px, 1.5vw, 21px); font-weight: 700; line-height: 1.35; color: var(--ink); }
.info-card__socials { display: flex; gap: 10px; margin-top: 4px; }
.info-card__links { display: flex; flex-direction: column; gap: 6px; }
.info-card__links a { min-height: 32px; display: flex; align-items: center; font-size: 17px; font-weight: 700; }
.social-tile {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
}

/* ---------- Реквизиты ---------- */
.requisites { gap: clamp(20px, 2.4vw, 32px); }
.requisites__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; }
.copy-btn {
  min-height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  border: 1px solid var(--blue);
  background: #fff;
  color: var(--blue);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
}
.copy-btn:hover { background: var(--blue); color: #fff; }
.req-table {
  margin: 0;
  background: #fff;
  border-radius: clamp(16px, 1.4vw, 20px);
  padding: clamp(8px, 1vw, 12px) clamp(20px, 2.6vw, 36px);
  display: flex;
  flex-direction: column;
}
.req-table__row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 4px 24px;
  padding: clamp(14px, 1.4vw, 18px) 0;
}
.req-table__row + .req-table__row { border-top: 1px solid var(--line-3); }
.req-table dt { font-size: 15px; color: var(--muted); }
.req-table dd { margin: 0; font-size: 16px; font-weight: 600; line-height: 1.5; color: var(--ink); }
/* ---------- Фильтры списка (поиск + период) ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; }
.filters__search { flex: 1 1 320px; min-width: 0; position: relative; }
.filters__search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); pointer-events: none; }
.filters__select { flex: 0 1 240px; min-width: 0; position: relative; }
.filters__select::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 14px;
  height: 14px;
  transform: translateY(-50%);
  pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%232d4191' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat center;
}
.filters__input {
  width: 100%;
  height: 52px;
  border-radius: 12px;
  border: 1px solid var(--line-4);
  background: #fff;
  font-size: 16px;
  color: var(--ink);
  outline: none;
  padding: 0 16px;
}
.filters__input:focus { border-color: var(--blue); }
.filters__search .filters__input { padding-left: 48px; }
select.filters__input { padding-right: 44px; cursor: pointer; appearance: none; -webkit-appearance: none; }

/* ---------- Сетка новостей ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: clamp(24px, 2.4vw, 32px) clamp(16px, 2vw, 28px);
}
.news-grid .news-card__img { background: var(--soft); }
.news-card.is-ghost { visibility: hidden; }
.news-card__title--clamp {
  min-height: 4.05em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.empty-state { padding: clamp(32px, 4vw, 56px) 0; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.empty-state[hidden] { display: none; }
.empty-state__title { font-size: clamp(18px, 1.5vw, 21px); font-weight: 700; color: var(--ink); }
.empty-state__text { font-size: 15px; color: var(--muted); }

/* ---------- Пагинация ---------- */
.pager { display: flex; justify-content: center; align-items: center; gap: 8px; padding-top: clamp(8px, 1.4vw, 16px); }
.pager[hidden] { display: none; }
.pager__pages { display: flex; gap: 8px; }
.pager__arrow, .pager__page {
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line-4);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}
.pager__arrow { width: 44px; padding: 0; display: flex; align-items: center; justify-content: center; }
.pager__arrow:hover { border-color: var(--blue); color: var(--blue); }
.pager__arrow[disabled] { opacity: .4; cursor: default; }
.pager__page { min-width: 44px; padding: 0 12px; font-size: 15px; font-weight: 700; }
.pager__page.is-active { border-color: var(--blue); background: var(--blue); color: #fff; }
/* ---------- Первый экран внутренних страниц (фото + затемнение) ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--blue); color: #fff; }
.page-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(27, 40, 100, .9) 0%, rgba(27, 40, 100, .7) 50%, rgba(27, 40, 100, .3) 100%);
}
.page-hero__inner {
  position: relative;
  min-height: clamp(400px, 34vw, 500px);
  padding-top: clamp(20px, 2.4vw, 24px);
  padding-bottom: clamp(32px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(20px, 2.6vw, 36px);
}
.page-hero__content { max-width: 680px; display: flex; flex-direction: column; gap: clamp(14px, 1.6vw, 22px); }
.page-hero__title {
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1.1;
  font-weight: 800;
  text-wrap: balance;
  text-shadow: 0 2px 16px rgba(10, 20, 60, .45);
}
.page-hero__text { font-size: clamp(16px, 1.3vw, 18px); line-height: 1.6; max-width: 600px; text-wrap: pretty; }
@media (max-width: 767.98px) { .page-hero__inner { min-height: 0; } }

.breadcrumbs--light { color: #fff; }
.breadcrumbs--light a { color: #fff; opacity: .85; }
.breadcrumbs--light a:hover { color: #fff; opacity: 1; text-decoration: underline; }
.breadcrumbs--light > span:not(.breadcrumbs__current) { opacity: .6; }
.breadcrumbs--light .breadcrumbs__current { color: #fff; }

.hero-stats { display: flex; flex-wrap: wrap; gap: clamp(10px, 1vw, 12px); }
.hero-stat {
  flex: 0 1 220px;
  min-width: 0;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: clamp(12px, 1vw, 14px);
  padding: clamp(12px, 1.2vw, 16px) clamp(14px, 1.4vw, 18px);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hero-stat__value { font-size: clamp(26px, 2.4vw, 34px); font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.hero-stat__label { font-size: 14px; line-height: 1.4; }

.section-head__titles--wide { max-width: 720px; }

/* ---------- История (годы с линией) ---------- */
.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: clamp(20px, 2.4vw, 32px) clamp(16px, 2vw, 28px);
}
.timeline__item { display: flex; flex-direction: column; gap: 12px; padding-top: clamp(16px, 1.6vw, 22px); border-top: 3px solid var(--blue); }
.timeline__year { font-size: clamp(26px, 2.6vw, 36px); font-weight: 800; line-height: 1; color: var(--red); }
.timeline__text { font-size: 15px; line-height: 1.6; color: var(--ink); text-wrap: pretty; }

/* ---------- Текст + сетка карточек ---------- */
.split { display: flex; flex-wrap: wrap; gap: clamp(24px, 4vw, 64px); align-items: flex-start; }
.split__text { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: clamp(12px, 1.4vw, 20px); }
.split__lead { max-width: 520px; }
.spec-grid {
  flex: 1.3 1 460px;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: clamp(10px, 1.2vw, 14px);
}
.spec-card {
  background: #fff;
  border-radius: clamp(14px, 1.2vw, 18px);
  padding: clamp(18px, 1.8vw, 24px);
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--ink);
}
a.spec-card:hover { color: var(--red); }
.spec-card__title { font-size: clamp(17px, 1.4vw, 19px); font-weight: 700; line-height: 1.3; }
.spec-card__text { font-size: 14px; line-height: 1.55; color: var(--muted); }

/* ---------- Широкое фото на всю ширину ---------- */
.photo-band { position: relative; width: 100%; height: clamp(240px, 36vw, 560px); overflow: hidden; background: var(--blue); }
.photo-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Гарантии (номер + заголовок + текст) ---------- */
.guarantees {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: clamp(24px, 2.4vw, 36px) clamp(16px, 2vw, 28px);
}
.guarantee { display: flex; flex-direction: column; gap: 10px; padding-top: clamp(16px, 1.6vw, 22px); border-top: 3px solid var(--blue); }
.guarantee__num { font-size: 15px; font-weight: 800; color: var(--red); }
.guarantee__title { font-size: clamp(17px, 1.4vw, 20px); font-weight: 700; line-height: 1.3; color: var(--ink); }
.guarantee__text { font-size: 15px; line-height: 1.55; color: var(--muted); text-wrap: pretty; }
/* ---------- Автопарк: слайдер с вкладками ---------- */
.arrow-btn--soft { border-color: var(--line-4); }
.park-nav { display: flex; align-items: center; gap: 12px; }
.park-nav__count { font-size: 15px; font-weight: 600; color: var(--muted); white-space: nowrap; }
/* На мобильных слайд переключается вкладками и свайпом — счётчик и стрелки не нужны */
@media (max-width: 767.98px) { .park-nav { display: none; } }
.tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 22px;
  border: 1.5px solid var(--line-4);
  background: #fff;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.tab.is-active { border-color: var(--blue); background: var(--blue); color: #fff; }
.park { display: grid; }
.park__slide {
  grid-area: 1 / 1;
  visibility: hidden;
  opacity: 0;
  transition: opacity .35s;
  background: #fff;
  border-radius: clamp(16px, 1.6vw, 22px);
  overflow: hidden;
  display: flex;
  flex-wrap: wrap-reverse;
  align-content: flex-end;
}
.park__slide.is-active { visibility: visible; opacity: 1; }
.park__body {
  flex: 1 1 340px;
  min-width: 0;
  padding: clamp(22px, 3vw, 44px);
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 1.8vw, 24px);
}
.park__title { font-size: clamp(26px, 3vw, 40px); line-height: 1.15; font-weight: 800; color: var(--ink); text-wrap: balance; }
.park__cargo { display: flex; flex-direction: column; gap: 6px; }
.park__cargo-label { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.park__cargo-text {
  font-size: clamp(15px, 1.1vw, 16px);
  line-height: 1.6;
  height: 3.2em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  color: var(--ink);
  text-wrap: pretty;
}
.park__btn { align-self: flex-start; margin-top: auto; }
.park__media { flex: 1.3 1 420px; min-width: 0; position: relative; aspect-ratio: 16 / 10; background: #fff; }
.park__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; }

/* Таблица характеристик «название — значение» */
.specs { display: flex; flex-direction: column; }
.specs__row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--line-3);
  font-size: clamp(15px, 1.1vw, 16px);
  line-height: 1.5;
  white-space: nowrap;
}
.specs__row > :first-child { color: var(--muted); }
.specs__row > :last-child { font-weight: 700; color: var(--ink); text-align: right; }
.specs__row.is-empty { visibility: hidden; }
/* ---------- Калькулятор ---------- */
.calc-form { gap: clamp(18px, 1.6vw, 22px); }
.calc-form__group { display: flex; flex-direction: column; gap: 10px; }
.calc-form__label { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-2); }
.calc-form__params { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
.calc-form__date .input { padding: 0 14px; }
@media (max-width: 767.98px) { .calc-form__date { grid-column: 1 / -1; } }

/* Переключатели-кнопки на основе radio */
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { flex: 1 1 auto; max-width: 220px; cursor: pointer; }
.choice input, .truck-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.choice span {
  height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  border: 1.5px solid var(--line-2);
  background: #fff;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
}
.choice input:checked + span { border-color: var(--blue); background: var(--blue); color: #fff; }
.choice input:focus-visible + span, .truck-choice:has(input:focus-visible) { outline: 2px solid var(--blue); outline-offset: 2px; }
.truck-choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px; }
.truck-choice {
  min-height: 64px;
  padding: 12px 14px;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  border: 1.5px solid var(--line-2);
  background: #fff;
}
.truck-choice:has(input:checked) { border-color: var(--blue); background: #eef1fa; }
.truck-choice__name { font-size: 15px; font-weight: 700; color: var(--ink); }
.truck-choice__spec { font-size: 13px; color: var(--muted); }
/* ---------- Первый экран с формой под ним ---------- */
.page-hero__overlay--soft {
  background: linear-gradient(90deg, rgba(27, 40, 100, .88) 0%, rgba(27, 40, 100, .65) 50%, rgba(27, 40, 100, .2) 100%);
}
.page-hero__inner--form { padding-top: 16px; padding-bottom: 72px; gap: 12px; }
.page-hero__content--narrow { max-width: 620px; }
.page-hero__content--narrow .page-hero__text { max-width: 560px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .14);
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
}
@media (max-width: 767.98px) {
  .page-hero__inner--form { padding: 20px 16px 32px; gap: 20px; }
  .page-hero .chips { margin-top: clamp(4px, 1vw, 12px); }
  .hero-order--flat-mobile { background: #fff; padding: 0; overflow: visible; }
  .hero-order--flat-mobile > .container { padding: 0 var(--gutter); }
  .hero-order--flat-mobile .hero-order__card { max-width: none; box-shadow: none; border-radius: 20px; padding: 24px 0; }
  .hero-order--flat-mobile .hero-order__title { font-size: 20px; line-height: normal; }
  .hero-order--flat-mobile .hero-order__success,
  .lead-section .hero-order__success { min-height: 150px; flex-direction: row; align-items: center; gap: 20px; padding: 0; }
  .hero-order--flat-mobile .hero-order__success-text,
  .lead-section .hero-order__success-text { flex: 1 1 280px; gap: 6px; }
}

/* ---------- Форма «Стать партнёром» / анкеты ---------- */
.lead-form { display: flex; flex-direction: column; gap: 16px; }
.lead-form__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 10px; }
.lead-form__group { display: flex; flex-direction: column; gap: 10px; }
.lead-form__label { font-size: 14px; font-weight: 600; color: var(--ink); }
.lead-form__agree { flex: 1 1 280px; }
.lead-form__submit { height: 56px; padding: 0 36px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { cursor: pointer; }
.pill input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.pill span {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 22px;
  border: 1.5px solid var(--line-2);
  background: #fff;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
}
.pill input:checked + span { border-color: var(--blue); background: var(--blue); color: #fff; }
.pill input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }

.lead-section { background: var(--soft); }
.lead-section__inner { padding-top: var(--section-py); padding-bottom: var(--section-py); }
.lead-section__card {
  background: #fff;
  border-radius: 20px;
  padding: clamp(22px, 2.2vw, 30px) clamp(22px, 2.6vw, 36px);
}
@media (max-width: 767.98px) {
  .lead-section { background: #fff; }
  .lead-section__inner { padding: 8px 16px 16px; }
  .lead-section__card { padding: 24px 0; }
  .lead-section .hero-order__title { font-size: 20px; line-height: normal; }
}

/* ---------- Простые карточки (заголовок + текст) ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: clamp(12px, 1.4vw, 20px);
}
.cards--outline { gap: clamp(12px, 1.4vw, 16px); }
.card {
  background: var(--soft);
  border-radius: clamp(14px, 1.2vw, 18px);
  padding: clamp(20px, 2vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.card__title { font-size: clamp(18px, 1.5vw, 21px); font-weight: 700; line-height: 1.3; color: var(--ink); }
.card__text { font-size: 15px; line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.card--outline { background: none; border: 1px solid rgba(255, 255, 255, .25); }
.card--outline .card__title, .card--outline .card__text { color: #fff; }
.cards__img { position: relative; min-height: 260px; grid-column: 1 / -1; }
.cards__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: left bottom; display: block; }
@media (max-width: 767.98px) {
  .cards__img { min-height: 0; grid-column: 1 / -1 !important; }
  .cards__img img { position: static; height: auto; }
}

/* ---------- Шаги «Как начать» ---------- */
.how-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 0 clamp(16px, 2.4vw, 40px);
}
.how-step { display: flex; gap: clamp(16px, 1.6vw, 20px); padding: clamp(18px, 2vw, 26px) 0; border-top: 1px solid var(--line-4); }
.how-step__num { flex: none; width: clamp(44px, 3.6vw, 52px); font-size: clamp(28px, 2.6vw, 36px); font-weight: 800; line-height: 1; color: var(--red); }
.how-step__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.how-step__title { font-size: clamp(18px, 1.5vw, 20px); font-weight: 700; color: var(--ink); }
.how-step__text { font-size: 15px; line-height: 1.55; color: var(--muted); text-wrap: pretty; }
/* ---------- Видимость по устройствам ---------- */
@media (max-width: 767.98px) { .only-desktop { display: none !important; } }
@media (min-width: 768px) { .only-mobile { display: none !important; } }

/* ---------- Водителям ---------- */
.page-hero__overlay--mid {
  background: linear-gradient(90deg, rgba(27, 40, 100, .85) 0%, rgba(27, 40, 100, .6) 50%, rgba(27, 40, 100, .25) 100%);
}
.page-hero__inner--form-lg { padding-bottom: 96px; }
.page-hero__row { display: flex; flex-wrap: wrap; gap: clamp(28px, 4vw, 64px); align-items: center; justify-content: space-between; }
.page-hero__content--grow { flex: 1 1 440px; min-width: 0; max-width: none; }
.chips--spaced { margin-top: clamp(4px, 1vw, 12px); }
@media (max-width: 767.98px) { .page-hero__inner--form-lg { padding-bottom: 32px; } }

.inline-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}
.inline-form__btn { height: 56px; }

/* Форма в боковой карточке */
.side-form {
  flex: 1 1 360px;
  min-width: 0;
  background: var(--soft);
  border-radius: clamp(16px, 1.4vw, 20px);
  padding: clamp(20px, 2.4vw, 32px) clamp(18px, 2.4vw, 32px);
}
.side-form--hero { flex: 0 1 420px; background: #fff; color: var(--ink); box-shadow: 0 24px 60px rgba(0, 0, 0, .25); }
.side-form__form { display: flex; flex-direction: column; gap: 12px; }
.side-form__title { font-size: clamp(21px, 1.7vw, 24px); font-weight: 700; line-height: 1.25; color: var(--ink); }
.side-form__title--form { margin-bottom: 4px; }
.side-form__agree { padding-top: 4px; }
.side-form__submit { height: 56px; margin-top: 4px; padding: 0 6px; white-space: normal; }
.side-form__success { padding: clamp(8px, 2vw, 24px) 0; }

/* Карточка с крупным значением */
.card__value { font-size: clamp(22px, 2vw, 28px); font-weight: 800; line-height: 1.15; color: var(--blue); }
@media (max-width: 767.98px) { .cards--trim-mobile > :nth-child(n+6) { display: none; } }

/* Калькулятор заработка */
.earn { display: flex; flex-wrap: wrap; gap: clamp(16px, 2vw, 24px); align-items: stretch; }
.earn__card {
  flex: 1.4 1 420px;
  min-width: 0;
  background: #fff;
  color: var(--ink);
  border-radius: clamp(16px, 1.4vw, 20px);
  padding: clamp(22px, 2.6vw, 36px);
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 1.6vw, 22px);
}
.earn__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.earn__title { font-size: clamp(17px, 1.4vw, 20px); font-weight: 700; }
.earn__km { font-size: clamp(20px, 1.7vw, 24px); font-weight: 800; color: var(--blue); }
.earn__range { width: 100%; accent-color: var(--red); height: 28px; cursor: pointer; }
.earn__scale { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted-2); }
.earn__foot {
  border-top: 1px solid var(--line-2);
  padding-top: clamp(16px, 1.6vw, 22px);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
}
.earn__result { display: flex; flex-direction: column; gap: 6px; }
.earn__note { font-size: 14px; color: var(--muted); }
.earn__sum { font-size: clamp(28px, 3.4vw, 48px); font-weight: 800; line-height: 1.1; color: var(--ink); letter-spacing: -.02em; }
.earn__btn { padding: 0 24px; }
.earn__stats {
  flex: 1 1 280px;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: clamp(12px, 1.4vw, 16px);
}
.stat-outline {
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: clamp(14px, 1.2vw, 18px);
  padding: clamp(18px, 2vw, 24px);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.stat-outline__value { font-size: clamp(28px, 3vw, 40px); font-weight: 800; line-height: 1; }
.stat-outline__label { font-size: 15px; line-height: 1.5; }
@media (max-width: 767.98px) { .earn__stats { display: none; } }

/* Этапы + форма отклика */
.join { display: flex; flex-wrap: wrap; gap: clamp(24px, 4vw, 56px); align-items: flex-start; }
.join__steps { flex: 1.2 1 440px; min-width: 0; display: flex; flex-direction: column; }
.how-step--lg { gap: clamp(16px, 2vw, 24px); border-top-color: var(--line-2); }
.how-step--lg .how-step__num { width: clamp(44px, 4vw, 56px); font-size: clamp(28px, 3vw, 40px); }
.how-step--lg .how-step__title { font-size: clamp(18px, 1.5vw, 21px); }

/* ---------- Вопрос-ответ ---------- */
.faq { display: flex; flex-direction: column; max-width: 920px; border-top: 1px solid var(--line-2); }
.faq__item { border-bottom: 1px solid var(--line-2); }
.faq__q {
  width: 100%;
  min-height: 64px;
  padding: 16px 0;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  text-align: left;
  font-size: clamp(16px, 1.3vw, 19px);
  font-weight: 700;
  color: var(--ink);
}
.faq__q:hover, .faq__item.is-open .faq__q { color: var(--red); }
.faq__icon {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--hover);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s;
}
.faq__item.is-open .faq__icon { transform: rotate(45deg); }
.faq__a { display: none; padding: 0 48px 20px 0; font-size: 15px; line-height: 1.65; color: var(--muted); text-wrap: pretty; }
.faq__item.is-open .faq__a { display: block; }
/* ---------- Страницы услуг ---------- */
.page-hero__overlay--light {
  background: linear-gradient(90deg, rgba(27, 40, 100, .7) 0%, rgba(27, 40, 100, .45) 45%, rgba(27, 40, 100, .05) 100%);
}
.chip--faint { background: rgba(255, 255, 255, .12); }
.chip--dark { background: rgba(27, 40, 100, .72); }

/* Карточка формы внутри первого экрана (мобильные) */
.hero-card {
  flex: 0 1 430px;
  min-width: 0;
  background: #fff;
  color: var(--ink);
  border-radius: clamp(16px, 1.4vw, 20px);
  padding: clamp(20px, 2.4vw, 32px) clamp(18px, 2.4vw, 32px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .25);
}
.hero-form--card .hero-order__title { margin-bottom: 2px; }
.steps--card { height: 24px; margin: 0 0 4px; justify-content: space-between; }
.steps__hint { font-size: 14px; color: var(--muted); }
.steps__right { display: flex; align-items: center; gap: 10px; }
.steps--card .steps__label { white-space: nowrap; }
.steps--card .steps__bars { display: flex; }
.steps--card .steps__bars i { width: 20px; }
.steps--card .steps__back { margin: -10px 0; }
[data-step="2"] .steps--card .steps__label { display: inline; }
[data-step="2"] .steps__hint { display: none; }
.hero-form__agree { padding-top: 6px !important; padding-bottom: 0 !important; }

/* Блок «Что мы предлагаем» */
.offer { gap: clamp(28px, 3vw, 44px); }
.offer__row { display: flex; flex-wrap: wrap; gap: clamp(24px, 4vw, 64px); align-items: center; }
.offer__text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: clamp(12px, 1.4vw, 20px); }
.offer__lead { max-width: 560px; }
.offer__media { flex: 1 1 420px; min-width: 0; }
.offer__media img { display: block; width: 100%; height: auto; }
.offer__media--contain img { max-height: 640px; object-fit: contain; }

/* Карточки типов транспорта */
.tr-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
  gap: clamp(12px, 1.4vw, 20px);
}
.tr-card { background: #fff; border-radius: clamp(14px, 1.2vw, 18px); overflow: hidden; display: flex; flex-direction: column; }
.tr-card__img { position: relative; aspect-ratio: 16 / 10; background: #fff; }
.tr-card__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; }
.tr-card__body { padding: clamp(18px, 1.8vw, 24px); display: flex; flex-direction: column; gap: 14px; flex: 1; }
.tr-card__head { display: flex; flex-direction: column; gap: 6px; }
.tr-card__title { font-size: clamp(18px, 1.4vw, 20px); font-weight: 700; line-height: 1.3; color: var(--ink); }
.tr-card__text {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  height: 4.65em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.tr-card .specs { margin-top: auto; }
.specs--sm .specs__row { padding: 9px 0; gap: 12px; font-size: 14px; }
/* Слайдер «Типы транспорта»: только на мобильных, как на «Автопарке» */
.tr-slider { display: flex; flex-direction: column; gap: 16px; }
.tr-slider__tabs { display: none; }
@media (max-width: 767.98px) {
  .tr-card__text { height: auto; display: block; }
  .tr-card .specs__row.is-empty { display: none; }
  .tr-slider__tabs { display: flex; }
  /* Карточки — в одной ячейке, видна активная; высота блока — по самой высокой карточке */
  .tr-slider .tr-grid { display: grid; grid-template-columns: minmax(0, 1fr); }
  .tr-slider .tr-card { grid-area: 1 / 1; visibility: hidden; opacity: 0; transition: opacity .35s; }
  .tr-slider .tr-card.is-active { visibility: visible; opacity: 1; }
}

/* Карточки «Почему нам доверяют» */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: clamp(12px, 1.4vw, 20px);
}
.trust-card { background: #fff; border-radius: clamp(14px, 1.2vw, 18px); padding: clamp(20px, 2vw, 28px); display: flex; flex-direction: column; gap: 10px; }
.trust-card__value { font-size: clamp(30px, 3.4vw, 46px); font-weight: 800; line-height: 1; color: var(--blue); letter-spacing: -.02em; }
.trust-card__label { font-size: 15px; line-height: 1.5; color: var(--ink); }
/* ---------- Социальные проекты ---------- */
.section-head__titles--760 { max-width: 760px; }
.section-head__titles--free { max-width: none; }
.project-intro { display: flex; flex-wrap: wrap; gap: clamp(24px, 4vw, 56px); align-items: center; }
.project-intro__text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: clamp(14px, 1.6vw, 20px); }
.project-intro__text--wide { flex-basis: 440px; gap: clamp(16px, 1.8vw, 24px); }
.project-intro__lead { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; color: var(--ink); font-weight: 600; text-wrap: pretty; }
.project-intro__p { font-size: clamp(15px, 1.2vw, 17px); line-height: 1.65; color: var(--muted); text-wrap: pretty; }
.project-intro__btn { align-self: flex-start; margin-top: 4px; }
.project-intro__media { flex: 1 1 440px; min-width: 0; }
.project-intro__media--narrow { flex-basis: 420px; }
.photo { border-radius: clamp(14px, 1.2vw, 18px); overflow: hidden; aspect-ratio: 3 / 2; background: var(--soft); min-width: 0; }
.photo--4x3 { aspect-ratio: 4 / 3; }
.photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: clamp(10px, 1vw, 14px);
}

.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: clamp(12px, 1.4vw, 20px); }
.check-card { background: #fff; border-radius: clamp(14px, 1.2vw, 18px); padding: clamp(22px, 2.4vw, 32px); display: flex; flex-direction: column; gap: 16px; }
.check-card__title { font-size: clamp(18px, 1.5vw, 21px); font-weight: 700; color: var(--ink); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; color: var(--ink); }
.check__icon {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.stages { display: flex; flex-wrap: wrap; gap: clamp(24px, 4vw, 56px); align-items: flex-start; }
.stages__list { flex: 1.4 1 460px; min-width: 0; display: flex; flex-direction: column; }
.stage { display: flex; gap: clamp(16px, 2vw, 24px); padding: clamp(14px, 1.6vw, 20px) 0; border-top: 1px solid rgba(255, 255, 255, .25); }
.stage__num { flex: none; width: clamp(40px, 3.6vw, 52px); font-size: clamp(24px, 2.4vw, 32px); font-weight: 800; line-height: 1; }
.stage__text { font-size: clamp(15px, 1.2vw, 17px); line-height: 1.55; text-wrap: pretty; }
.stages__aside {
  flex: 1 1 320px;
  min-width: 0;
  background: #fff;
  color: var(--ink);
  border-radius: clamp(16px, 1.4vw, 20px);
  padding: clamp(22px, 2.4vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.stages__note { margin-top: 6px; font-size: 14px; line-height: 1.55; color: var(--muted); }
.stages__btn { margin-top: 4px; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 20px;
  background: var(--hover);
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
}

.gains { display: flex; flex-direction: column; gap: clamp(16px, 1.8vw, 24px); }
.gains__title { font-size: clamp(20px, 1.7vw, 24px); font-weight: 700; color: var(--ink); }
.gains__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: clamp(20px, 2vw, 28px) clamp(16px, 2vw, 24px);
}
.gain { display: flex; flex-direction: column; gap: 8px; padding-top: clamp(14px, 1.4vw, 18px); border-top: 3px solid var(--blue); }
.gain__title { font-size: clamp(17px, 1.4vw, 19px); font-weight: 700; color: var(--ink); }
.gain__text { font-size: 15px; line-height: 1.55; color: var(--muted); text-wrap: pretty; }

/* Вакансии */
.vac-dept { display: flex; flex-direction: column; gap: clamp(14px, 1.4vw, 18px); }
.vac-dept__title { font-size: clamp(20px, 1.7vw, 24px); font-weight: 700; color: var(--blue); }
.vac-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: clamp(12px, 1.4vw, 16px); }
.vac { background: #fff; border-radius: clamp(14px, 1.2vw, 18px); padding: clamp(18px, 2vw, 24px); display: flex; flex-direction: column; gap: 14px; }
.vac__title { font-size: clamp(17px, 1.4vw, 19px); font-weight: 700; line-height: 1.3; color: var(--ink); text-wrap: balance; }
.vac__badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge {
  min-height: 32px;
  padding: 0 12px;
  border-radius: 16px;
  background: var(--blue);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
}
.badge--soft { background: var(--hover); color: var(--ink); font-weight: 600; }
.vac__duties { display: flex; flex-direction: column; gap: 6px; }
.vac__label { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.vac__duties ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 4px; font-size: 15px; line-height: 1.5; color: var(--ink); }
.vac__duties li { text-wrap: pretty; }
.vac__btn { margin-top: auto; align-self: flex-start; height: auto; min-height: 48px; padding: 0 24px; font-size: 15px; }

/* События */
.events { display: flex; flex-direction: column; max-width: 920px; }
.event { display: flex; flex-direction: column; gap: 6px; padding: clamp(16px, 1.8vw, 22px) 0; border-top: 1px solid var(--line-2); }
.event__title { font-size: clamp(17px, 1.4vw, 20px); font-weight: 700; line-height: 1.3; color: var(--ink); }
.event__text { font-size: 15px; line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.project-intro__logo { display: block; width: clamp(96px, 9vw, 128px); height: auto; }
.photo-stack { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(10px, 1vw, 14px); }
.card--white { background: #fff; }
.card__num { font-size: 15px; font-weight: 800; color: var(--red); }
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: clamp(12px, 1.4vw, 16px); }
.quote {
  margin: 0;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: clamp(14px, 1.2vw, 18px);
  padding: clamp(20px, 2.4vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.quote__text { margin: 0; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; font-weight: 500; text-wrap: pretty; }
.quote__who { font-size: 15px; font-weight: 700; opacity: .85; }
.events-split { display: flex; flex-wrap: wrap; gap: clamp(24px, 4vw, 56px); align-items: flex-start; }
.events--wide { flex: 1.3 1 460px; min-width: 0; max-width: none; }
.events-split__media { flex: 0 1 320px; min-width: 0; }
.photo--lg { border-radius: clamp(16px, 1.6vw, 22px); }
.photo--3x4 { aspect-ratio: 3 / 4; }
.photo-pair { flex-basis: 400px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(10px, 1vw, 14px); }
.num-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(calc(50% - 1px), 200px), 1fr));
  border-top: 1px solid var(--line-2);
  border-left: 1px solid var(--line-2);
}
.num-grid__item {
  padding: clamp(18px, 2vw, 28px);
  border-right: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.num-grid__value { font-size: clamp(32px, 3.6vw, 52px); font-weight: 800; line-height: 1; color: var(--blue); letter-spacing: -.02em; }
.num-grid__label { font-size: clamp(14px, 1.1vw, 16px); line-height: 1.45; color: var(--ink); }
.cards--280 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.card__text--160 { line-height: 1.6; }
.card--sm { padding: clamp(18px, 2vw, 24px); gap: 8px; }
.card--sm .card__title { font-size: clamp(17px, 1.4vw, 19px); line-height: normal; }
.results { display: flex; flex-wrap: wrap; gap: clamp(16px, 2vw, 24px); align-items: stretch; }
.results__list { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; }
.results__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: clamp(14px, 1.4vw, 18px) 0;
  border-top: 1px solid rgba(255, 255, 255, .25);
}
.results__year { font-size: clamp(16px, 1.3vw, 18px); }
.results__value { font-size: clamp(22px, 2vw, 28px); font-weight: 800; white-space: nowrap; }
.results__cards { flex: 1 1 320px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: clamp(12px, 1.4vw, 16px); }
.results__cards .card__text { text-wrap: wrap; }
.events--12 { flex: 1.2 1 440px; }
.events-split__media--wide { flex: 1 1 380px; }
.num-grid--200 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.project-intro__p--light { color: inherit; }
.photo--dark { background: rgba(255, 255, 255, .1); }
.photo--sm { border-radius: clamp(12px, 1vw, 16px); }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: clamp(10px, 1vw, 14px); }
.curator {
  padding-top: var(--section-py);
  padding-bottom: var(--section-py);
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
}
.curator__media { flex: 1 1 520px; min-width: 0; }
.curator__text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: clamp(14px, 1.6vw, 20px); }
.curator__quote { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.6; color: var(--ink); font-weight: 500; text-wrap: pretty; }
.cards--awards { gap: clamp(12px, 1.4vw, 16px); }
.card__date { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); }
.card__text--ink { color: var(--ink); }
.wins { flex: 1.3 1 460px; min-width: 0; display: flex; flex-direction: column; }
.win { display: flex; gap: clamp(14px, 1.6vw, 20px); padding: clamp(14px, 1.6vw, 20px) 0; border-top: 1px solid var(--line-2); }
.win__place { flex: none; min-width: clamp(64px, 6vw, 84px); font-size: clamp(17px, 1.4vw, 20px); font-weight: 800; color: var(--red); }
.win__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.win__title { font-size: clamp(16px, 1.3vw, 18px); font-weight: 700; line-height: 1.35; color: var(--ink); }
.win__text { font-size: 14px; line-height: 1.5; color: var(--muted); }
.wins__media { flex: 1 1 360px; min-width: 0; }
/* ---------- Анкета «Союзники» ---------- */
.page-intro--short { padding-bottom: clamp(28px, 3vw, 40px); }
.anketa-title { font-size: clamp(32px, 4vw, 54px); text-wrap: balance; max-width: 900px; }
.anketa { padding-top: clamp(32px, 4vw, 56px); padding-bottom: var(--section-py); display: flex; flex-direction: column; gap: clamp(16px, 1.6vw, 20px); }
.anketa__form { display: flex; flex-direction: column; gap: clamp(16px, 1.6vw, 20px); }
.anketa-card {
  background: #fff;
  border-radius: clamp(16px, 1.4vw, 20px);
  padding: clamp(20px, 2.6vw, 36px);
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 1.8vw, 24px);
}
.anketa-card--qa { gap: 0; }
.anketa-card__head-wrap { display: flex; flex-direction: column; gap: 6px; }
.anketa-card__head { display: flex; align-items: center; gap: 12px; }
.anketa-card__head--qa { padding-bottom: clamp(18px, 1.8vw, 24px); }
.anketa-card__num {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.anketa-card__title { font-size: clamp(20px, 1.7vw, 24px); font-weight: 700; color: var(--ink); }
.anketa-card__hint { font-size: 14px; line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.anketa-success { align-items: flex-start; }
.anketa-success__title { font-size: clamp(22px, 2vw, 28px); font-weight: 800; color: var(--ink); }
.anketa-success__text { font-size: 16px; line-height: 1.6; color: var(--muted); }
.anketa-success__text a { font-weight: 700; }
.btn-ghost {
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid var(--blue);
  border-radius: 12px;
  background: #fff;
  color: var(--blue);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}
.btn-ghost:hover { background: #eef1f9; }
.anketa__submit { align-self: flex-start; height: auto; min-height: 56px; padding: 0 40px; font-size: 17px; }
@media (max-width: 767.98px) { .anketa__submit { width: 100%; } }

.a-field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink); min-width: 0; }
.req { color: var(--red); }
.a-input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid var(--line-4);
  border-radius: 12px;
  background: #fff;
  font-size: 16px;
  color: var(--ink);
  outline: none;
}
.a-input:focus { border-color: var(--blue); }
select.a-input { cursor: pointer; }
.a-input--area { min-height: 96px; padding: 14px 16px; resize: vertical; font-family: inherit; line-height: 1.5; }
.a-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.a-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.a-radios { display: flex; flex-wrap: wrap; gap: 10px; }
.a-radio {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line-4);
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}
.a-radio input { width: 18px; height: 18px; margin: 0; accent-color: var(--blue); }
.a-question { display: flex; flex-direction: column; gap: 10px; padding: 16px 0; border-top: 1px solid var(--line); }
.a-question__text { font-size: 15px; font-weight: 600; line-height: 1.5; color: var(--ink); text-wrap: pretty; }

.agree--lg { gap: 12px; font-size: 14px; }
.agree--lg .agree__box { border-width: 2px; margin-top: 1px; }
.agree--lg .agree__box svg { width: 12px; height: 12px; }
.agree--lg a { text-decoration: none; }

/* Повторяемые блоки (учебные заведения, места работы, рекомендации) */
.repeater__items { display: contents; }
.repeater__item { display: flex; flex-direction: column; gap: 16px; padding-top: 18px; border-top: 1px solid var(--line); }
.repeater__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.repeater__label { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); }
.repeater__del {
  min-height: 40px;
  padding: 0 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--red);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}
.repeater__del:hover { background: #fdecec; }
.repeater__item:first-child .repeater__del { display: none; }
.repeater__add {
  align-self: flex-start;
  min-height: 44px;
  padding: 0 18px;
  border: 1px dashed var(--blue);
  border-radius: 12px;
  background: transparent;
  color: var(--blue);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}
.repeater__add span { font-size: 20px; line-height: 1; }
.repeater__add:hover { background: #eef1f9; }
/* =========================================================
   Битрикс: режим правки
   В режиме правки компоненты и включаемые области оборачиваются
   в <div id="bx_incl_area_…"> — не даём обёрткам ломать сетки.
   ========================================================= */
.header__inner > [id^="bx_incl_area_"] { flex: 1; min-width: 0; display: flex; justify-content: center; }
.footer__cols > [id^="bx_incl_area_"] { display: contents; }

/* Иконки услуг — SVG-файлы из инфоблока */
.service__icon img { width: 56px; height: 56px; display: block; }
@media (max-width: 767.98px) { .service__icon img { width: 60px; height: 60px; } }

/* Режим правки: обёртки включаемых областей внутри колонок не должны съедать отступы */
.section-head__titles > [id^="bx_incl_area_"],
.formula__body > [id^="bx_incl_area_"],
.split__text > [id^="bx_incl_area_"],
.page-intro > [id^="bx_incl_area_"],
.info-card__links > [id^="bx_incl_area_"],
.requisites > [id^="bx_incl_area_"] { display: flex; flex-direction: column; gap: inherit; }
/* Список карточек рядом с текстом: обёртка занимает место сетки, сетка — всю обёртку */
.split > [id^="bx_incl_area_"] { flex: 1.3 1 460px; min-width: 0; display: flex; }
.join > [id^="bx_incl_area_"] { flex: 1.2 1 440px; min-width: 0; display: flex; }
.earn > [id^="bx_incl_area_"] { flex: 1 1 280px; min-width: 0; display: flex; }
.split > [id^="bx_incl_area_"] > .spec-grid,
.join > [id^="bx_incl_area_"] > .join__steps,
.earn > [id^="bx_incl_area_"] > .earn__stats { flex: 1 1 auto; }
/* Отправка заявок: ошибка под формой и блокировка кнопки на время отправки */
.form-error { margin: 12px 0 0; font-size: 14px; line-height: 1.45; color: var(--red); font-weight: 600; }
.is-sending [type="submit"] { opacity: .6; pointer-events: none; }

/* Страницы проектов */
.project-intro__text > [id^="bx_incl_area_"],
.curator__text > [id^="bx_incl_area_"],
.check-card > [id^="bx_incl_area_"],
.stages__aside > [id^="bx_incl_area_"],
.gains > [id^="bx_incl_area_"],
.offer > [id^="bx_incl_area_"] { display: flex; flex-direction: column; gap: inherit; }
.photo-stack > [id^="bx_incl_area_"] { display: grid; grid-template-columns: minmax(0, 1fr); gap: inherit; }
.photo-pair > [id^="bx_incl_area_"] { grid-column: 1 / -1; display: grid; grid-template-columns: inherit; gap: inherit; }
.stages > [id^="bx_incl_area_"] { flex: 1.4 1 460px; min-width: 0; display: flex; }
.events-split > [id^="bx_incl_area_"] { flex: 1.3 1 460px; min-width: 0; display: flex; }
.results > [id^="bx_incl_area_"] { flex: 1 1 320px; min-width: 0; display: flex; }
.stages > [id^="bx_incl_area_"] > .stages__list,
.events-split > [id^="bx_incl_area_"] > .events,
.events-split > [id^="bx_incl_area_"] > .wins,
.results > [id^="bx_incl_area_"] > * { flex: 1 1 auto; }
/* ---------- Детальная страница новости ---------- */
.article { max-width: 860px; display: flex; flex-direction: column; gap: clamp(16px, 1.8vw, 24px); }
.article__meta { font-size: 14px; }
.article__title {
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.15;
  font-weight: 800;
  color: var(--ink);
  text-wrap: balance;
}
.article__img { border-radius: clamp(14px, 1.4vw, 20px); overflow: hidden; background: var(--soft); aspect-ratio: 16 / 10; }
.article__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.article__body { font-size: clamp(16px, 1.2vw, 17px); line-height: 1.7; color: var(--ink); max-width: 72ch; }
.article__body > * + *,
.article__body > [id^="bx_incl_area_"] > * + * { margin-top: 1em; }
.article__body h2, .article__body h3 { margin-top: 1.6em; font-weight: 800; line-height: 1.25; }
.article__body h2 { font-size: clamp(22px, 2vw, 28px); }
.article__body h3 { font-size: clamp(19px, 1.6vw, 22px); }
.article__body ul, .article__body ol { margin: 0; padding-left: 1.3em; display: flex; flex-direction: column; gap: .4em; }
.article__body img { max-width: 100%; height: auto; border-radius: 12px; }
.article__body blockquote { margin: 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--red); color: var(--muted); }
.article__body a { text-decoration: underline; }
.article__back { align-self: flex-start; }

/* Пагинация ссылками (Битрикс) */
a.pager__arrow, span.pager__arrow, a.pager__page, span.pager__page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
a.pager__page:hover { border-color: var(--blue); color: var(--blue); }
.pager__arrow.is-disabled { opacity: .4; cursor: default; }

/* Блок заявки: надпись, заголовок и текст из включаемой области */
.order__intro-text { display: flex; flex-direction: column; gap: inherit; }
.order__intro-text > [id^="bx_incl_area_"] { display: flex; flex-direction: column; gap: inherit; }

/* End */
/* /local/templates/souz/css/fonts.css?17930039586680 */
/* /local/templates/souz/css/style.css?179309054093030 */
