/* Inter 400 cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/inter-cyrillic-400-normal.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* Inter 400 cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/inter-cyrillic-ext-400-normal.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* Inter 400 latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/inter-latin-400-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Inter 500 cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/inter-cyrillic-500-normal.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* Inter 500 cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/inter-cyrillic-ext-500-normal.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* Inter 500 latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/inter-latin-500-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Inter 600 cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/inter-cyrillic-600-normal.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* Inter 600 cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/inter-cyrillic-ext-600-normal.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* Inter 600 latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/inter-latin-600-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Inter 700 cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/inter-cyrillic-700-normal.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* Inter 700 cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/inter-cyrillic-ext-700-normal.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* Inter 700 latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/inter-latin-700-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Manrope 500 cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/manrope-cyrillic-500-normal.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* Manrope 500 latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/manrope-latin-500-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Manrope 600 cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/manrope-cyrillic-600-normal.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* Manrope 600 latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/manrope-latin-600-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Manrope 700 cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/manrope-cyrillic-700-normal.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* Manrope 700 latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/manrope-latin-700-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Manrope 800 cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/assets/fonts/manrope-cyrillic-800-normal.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* Manrope 800 latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/assets/fonts/manrope-latin-800-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Палитра */
  --bg: #F6F4EE;
  --bg-soft: #EFEBE0;
  --surface: #FFFFFF;
  --ink: #1E2B27;
  --muted: #5A6B63;
  --primary: #14614F;
  --primary-strong: #0E4A3B;
  --primary-soft: #E2EFE8;
  --accent: #C69A3D;
  --accent-strong: #A87F27;
  --accent-soft: #F4EAD4;
  --dark: #12261F;
  --dark-2: #0C1C16;
  --line: #E3DFD2;
  --danger: #B3402E;
  --flag-w: #FFFFFF;
  --flag-b: #0039A6;
  --flag-r: #D52B1E;

  /* Форма */
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 16px 40px rgba(18, 38, 31, .10);
  --shadow-sm: 0 6px 18px rgba(18, 38, 31, .08);

  /* Типографика */
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-head: 'Manrope', 'Inter', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 .5em; }
.h1 { font-size: clamp(30px, 4.4vw, 44px); font-weight: 800; letter-spacing: -.02em; }
.h2 { font-size: clamp(23px, 2.6vw, 31px); font-weight: 700; letter-spacing: -.01em; margin-bottom: .6em; }
.h3 { font-size: clamp(19px, 2vw, 23px); font-weight: 700; }
p { margin: 0 0 1em; }

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-strong); text-decoration: underline; text-underline-offset: 3px; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--dark); color: #fff; padding: 10px 16px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* Триколор */
.flagline { display: flex; height: 4px; }
.flagline span { flex: 1; }
.flagline span:nth-child(1) { background: var(--flag-w); }
.flagline span:nth-child(2) { background: var(--flag-b); }
.flagline span:nth-child(3) { background: var(--flag-r); }

.tricolor { display: inline-flex; height: 6px; border-radius: 3px; overflow: hidden; vertical-align: middle; margin-right: 10px; }
.tricolor i { width: 16px; }
.tricolor i:nth-child(1) { background: var(--flag-w); border: 1px solid rgba(0,0,0,.08); border-right: 0; }
.tricolor i:nth-child(2) { background: var(--flag-b); }
.tricolor i:nth-child(3) { background: var(--flag-r); }

/* ─────────────────────────── Шапка ─────────────────────────── */

.hdr { position: relative; z-index: 60; }
.hdr__strip { background: var(--dark-2); color: #CBD8D0; font-size: 13.5px; }
.hdr__strip-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; flex-wrap: wrap; }
.hdr__usps { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.hdr__usp { position: relative; padding-left: 14px; }
.hdr__usp::before { content: ''; position: absolute; left: 0; top: 50%; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); transform: translateY(-50%); }
.hdr__mail { display: inline-flex; align-items: center; gap: 8px; color: #CBD8D0; }
.hdr__mail:hover { color: #fff; }

.hdr__bar {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.hdr__bar-in { display: flex; align-items: center; gap: 22px; min-height: 74px; }

.logo { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none !important; }
.logo__mark { display: inline-flex; }
.logo__text { display: flex; flex-direction: column; line-height: 1.05; }
.logo__name { font-family: var(--font-head); font-weight: 800; font-size: 22px; letter-spacing: -.01em; }
.logo__sub { font-size: 10.5px; font-weight: 700; letter-spacing: .34em; color: var(--primary); text-transform: uppercase; }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 12px; border-radius: 10px;
  font-size: 14.5px; font-weight: 600; color: var(--ink);
  background: none; border: 0; cursor: pointer; font-family: inherit;
}
.nav__link:hover { background: var(--primary-soft); color: var(--primary-strong); }
.nav__link--active { background: var(--primary-soft); color: var(--primary-strong); }
.nav__caret { transition: transform .2s ease; }
.nav__item--more:hover .nav__caret, .nav__item--more.open .nav__caret { transform: rotate(180deg); }
.nav__drop {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 95;
  min-width: 250px; padding: 10px; margin: 0; list-style: none;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: all .18s ease;
}
.nav__item--more:hover .nav__drop, .nav__item--more.open .nav__drop { opacity: 1; visibility: visible; transform: none; }
.nav__droplink { display: block; padding: 9px 12px; border-radius: 9px; font-size: 14.5px; color: var(--ink); }
.nav__droplink:hover { background: var(--primary-soft); color: var(--primary-strong); text-decoration: none; }

.hdr__actions { display: flex; align-items: center; gap: 14px; }
.hdr__cta { white-space: nowrap; }

/* Мессенджеры */
.msg-row { display: inline-flex; align-items: center; gap: 8px; }
.msg {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.msg:hover { transform: translateY(-2px); box-shadow: var(--shadow); text-decoration: none; }
.msg-row--hdr .msg { width: 38px; height: 38px; }
.msg-row--big .msg { width: 52px; height: 52px; }

/* Бургер и мобильное меню */
.burger { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px; padding: 11px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); cursor: pointer; }
.burger span { display: block; height: 2.4px; border-radius: 2px; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.4px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.4px) rotate(-45deg); }

.mnav { display: none; border-top: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }
.mnav__inner { max-height: calc(100vh - 120px); overflow-y: auto; padding: 18px 20px 28px; }
.mnav__list, .mnav__sub, .mnav__cities { list-style: none; margin: 0; padding: 0; }
.mnav__list > li { border-bottom: 1px solid var(--line); }
.mnav__link { display: block; padding: 13px 4px; font-weight: 600; color: var(--ink); }
.mnav__link--active { color: var(--primary-strong); }
.mnav__group-btn { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 13px 4px; background: none; border: 0; font: inherit; font-weight: 600; cursor: pointer; color: var(--ink); }
.mnav__sub { padding: 0 0 10px 14px; }
.mnav__sub a { display: block; padding: 8px 0; color: var(--muted); }
.mnav__details { border-bottom: 1px solid var(--line); padding: 6px 0; }
.mnav__details summary { cursor: pointer; font-weight: 600; padding: 8px 4px; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.mnav__details summary::-webkit-details-marker { display: none; }
.mnav__details[open] summary::after { content: '−'; font-weight: 700; }
.mnav__details:not([open]) summary::after { content: '+'; font-weight: 700; }
.mnav__cities { padding: 4px 0 10px; columns: 2; column-gap: 20px; }
.mnav__cities a { display: block; padding: 6px 0; color: var(--muted); font-size: 14.5px; }
.mnav__contacts { display: grid; gap: 12px; padding-top: 16px; justify-items: start; }
.mnav__mail { font-weight: 700; }

/* ─────────────────────────── Кнопки ─────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 12px; border: 1.5px solid transparent;
  font-family: var(--font-head); font-size: 15px; font-weight: 700;
  cursor: pointer; text-decoration: none !important;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--primary); color: #fff; box-shadow: 0 8px 20px rgba(20, 97, 79, .28); }
.btn--primary:hover { background: var(--primary-strong); color: #fff; }
.btn--gold { background: var(--accent); color: #221A05; box-shadow: 0 8px 20px rgba(198, 154, 61, .3); }
.btn--gold:hover { background: var(--accent-strong); color: #fff; }
.btn--ghost { border-color: var(--primary); color: var(--primary); }
.btn--ghost:hover { background: var(--primary-soft); }
.btn--ghost-light { border-color: rgba(255,255,255,.55); color: #fff; }
.btn--ghost-light:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn--big { padding: 15px 30px; font-size: 16.5px; }
.btn--block { width: 100%; }

/* ─────────────────────────── Общие блоки ─────────────────────────── */

.main { min-height: 50vh; padding-bottom: 30px; }

.section { padding: 34px 0; }
.section--tight { padding: 18px 0; }
.section--soft { background: var(--bg-soft); border-radius: var(--radius-lg); padding: 34px 28px; margin: 26px 0; }
.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.section__head .h2, .section__head .h3 { margin-bottom: 0; }
.section__count { color: var(--muted); font-size: 14px; }
.section__note { color: var(--muted); font-size: 15.5px; margin-top: 20px; max-width: 900px; }
.link-more { font-size: 14.5px; font-weight: 600; white-space: nowrap; }

.lead { font-size: 19px; color: var(--muted); max-width: 880px; }

.cols2 { display: grid; grid-template-columns: 1.25fr 1fr; gap: 34px; align-items: start; }
.cols2--form { align-items: stretch; }
.img-soft { border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); display: block; }

.article { font-size: 17px; max-width: 900px; }
.article h2 { margin-top: 1.4em; }
.article h3 { margin-top: 1.2em; }
.article ul { margin: 0 0 1em; padding-left: 22px; }
.article li { margin-bottom: .4em; }

.muted-note { color: var(--muted); font-size: 15px; }

.ulist { list-style: none; margin: 0 0 1em; padding: 0; display: grid; gap: 9px; }
.ulist li { position: relative; padding-left: 30px; }
.ulist li::before {
  content: ''; position: absolute; left: 2px; top: .45em;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--primary-soft);
  border: 3px solid var(--primary);
}

.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0 0 1em; padding: 0; }
.chips__item a, .chips__item {
  display: inline-block; padding: 9px 16px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  font-size: 14.5px; font-weight: 600; color: var(--ink);
}
.chips__item a:hover { border-color: var(--primary); color: var(--primary-strong); text-decoration: none; }
.chips--dense .chips__item { background: var(--primary-soft); border-color: transparent; color: var(--primary-strong); }

/* Хлебные крошки */
.crumbs { padding: 16px 0 4px; font-size: 13.5px; }
.crumbs__list { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; align-items: center; }
.crumbs__item { display: inline-flex; align-items: center; gap: 6px; }
.crumbs__item + .crumbs__item::before { content: '›'; color: var(--accent-strong); font-weight: 700; }
.crumbs__link { color: var(--muted); }
.crumbs__link--last { color: var(--ink); font-weight: 600; }

/* Сетка с сайдбаром */
.layout { display: grid; grid-template-columns: 288px minmax(0, 1fr); gap: 36px; align-items: start; padding-top: 8px; }
.layout__side { position: sticky; top: 92px; }

/* Сайдбар */
.side { display: grid; gap: 16px; }
.side__block { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.side__title { font-family: var(--font-head); font-weight: 800; font-size: 15px; text-transform: uppercase; letter-spacing: .06em; color: var(--primary-strong); margin: 0 0 12px; }
.side__groups { display: grid; gap: 6px; }
.side__group summary { cursor: pointer; font-weight: 600; font-size: 14.5px; padding: 7px 4px; border-radius: 8px; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.side__group summary::-webkit-details-marker { display: none; }
.side__group summary::after { content: '+'; color: var(--accent-strong); font-weight: 700; }
.side__group[open] summary::after { content: '−'; }
.side__group summary:hover { background: var(--primary-soft); }
.side__list { list-style: none; margin: 8px 0 4px; padding: 0 0 0 6px; display: grid; gap: 2px; }
.side__list a { display: block; padding: 6px 8px; border-radius: 8px; font-size: 14px; color: var(--muted); }
.side__list a:hover { background: var(--primary-soft); color: var(--primary-strong); text-decoration: none; }
.side__list--cities { max-height: 320px; overflow-y: auto; padding-right: 4px; }
.side__all { display: inline-block; margin-top: 10px; font-size: 13.5px; font-weight: 700; color: var(--accent-strong); }
.side__block--cta { background: var(--dark); color: #DDE7E1; border-color: var(--dark); }
.side__cta-title { font-family: var(--font-head); font-weight: 800; font-size: 17px; margin: 0 0 6px; color: #fff; }
.side__cta-text { font-size: 14px; color: #AFC2B8; margin-bottom: 14px; }

/* ─────────────────────────── Герой ─────────────────────────── */

.hero { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--dark-2) 0%, var(--dark) 55%, #17493A 100%); color: #E9F0EB; }
.hero__art { position: absolute; right: 2%; bottom: -14px; width: min(560px, 46vw); opacity: .5; color: #9FC3B4; pointer-events: none; }
.hero__in { position: relative; padding: 74px 20px 84px; max-width: 780px; }
.hero__chip { display: inline-flex; align-items: center; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.16); border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 600; color: #D7E4DD; }
.hero__title { font-size: clamp(34px, 5vw, 56px); font-weight: 800; color: #fff; margin: 18px 0 14px; letter-spacing: -.02em; }
.hero__lead { font-size: clamp(16px, 1.6vw, 19px); color: #B9CCC2; max-width: 640px; margin-bottom: 28px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* ─────────────────────────── Карточки документов ─────────────────────────── */

.dgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(265px, 1fr)); gap: 20px; }
.dcard {
  display: flex; flex-direction: column; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.dcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.dcard__imgwrap { display: block; background: #fff; }
.dcard__img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: contain; padding: 14px; }
.dcard__body { padding: 6px 18px 4px; flex: 1; }
.dcard__name { font-size: 16.5px; font-weight: 700; margin: 0 0 4px; }
.dcard__name a { color: var(--ink); }
.dcard__name a:hover { color: var(--primary-strong); }
.dcard__meta { font-size: 13px; color: var(--muted); margin: 0 0 10px; }
.dcard__price { font-family: var(--font-head); font-size: 21px; font-weight: 800; color: var(--primary-strong); margin: 0; }
.dcard__from { font-size: 14px; font-weight: 600; color: var(--muted); }
.dcard__btn { margin: 14px 18px 18px; justify-content: center; }

.pricebox {
  display: grid; grid-template-columns: minmax(280px, 460px) 1fr; gap: 30px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 26px; margin: 26px 0;
  box-shadow: var(--shadow-sm);
}
.pricebox__imgwrap { background: #fff; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; padding: 12px; border: 1px solid var(--line); }
.pricebox__img { border-radius: 10px; }
.pricebox__label { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--muted); margin-bottom: 6px; }
.pricebox__price { font-family: var(--font-head); font-size: 34px; font-weight: 800; color: var(--primary-strong); margin: 0 0 4px; }
.pricebox__old { margin: 0 0 10px; color: var(--muted); font-size: 16px; }
.pricebox__facts { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 7px; font-size: 14.5px; color: var(--muted); }
.pricebox__facts li { padding-left: 22px; position: relative; }
.pricebox__facts li::before { content: '✓'; position: absolute; left: 0; color: var(--primary); font-weight: 800; }

.years { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.years__link { display: inline-block; padding: 10px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; font-weight: 600; font-size: 14.5px; }
.years__link:hover { border-color: var(--primary); color: var(--primary-strong); text-decoration: none; }

/* ─────────────────────────── Преимущества, шаги, отзывы ─────────────────────────── */

.adv { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.adv__item { display: flex; gap: 13px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.adv__icon { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 13px; background: var(--primary-soft); color: var(--primary-strong); }
.adv__text { font-size: 15px; line-height: 1.45; font-weight: 500; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; counter-reset: step; }
.steps__item { counter-increment: step; display: flex; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.steps__num { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #221A05; font-family: var(--font-head); font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.steps__num::before { content: counter(step); }
.steps__name { font-weight: 700; margin: 2px 0 4px; font-family: var(--font-head); }
.steps__text { font-size: 14.5px; color: var(--muted); margin: 0; }

.revs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 360px); gap: 16px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: thin; }
.revs--grid { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); overflow: visible; }
.rev { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.rev__stars { color: var(--accent); letter-spacing: 2px; font-size: 15px; }
.rev__text { margin: 10px 0 12px; font-size: 15px; line-height: 1.6; }
.rev__who { font-size: 13.5px; color: var(--muted); font-weight: 600; }

.pay { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pay__item { padding: 9px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; color: var(--muted); }

.rel { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.rel--cols { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.rel__item { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 13px 16px; }
.rel__link { font-weight: 600; font-size: 15px; }
.rel__note { font-size: 13px; color: var(--muted); }

.faq { display: grid; gap: 10px; max-width: 900px; }
.faq__item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 20px; }
.faq__q { cursor: pointer; font-weight: 700; font-family: var(--font-head); font-size: 16.5px; padding: 12px 0; list-style: none; display: flex; justify-content: space-between; gap: 14px; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after { content: '+'; color: var(--accent-strong); font-size: 20px; font-weight: 700; flex: 0 0 auto; }
.faq__item[open] .faq__q::after { content: '−'; }
.faq__a { padding: 0 0 14px; color: var(--muted); font-size: 15.5px; }
.faq__a p { margin: 0; }

/* CTA-полосы */
.cta-band { background: linear-gradient(120deg, var(--primary-strong), var(--primary)); border-radius: var(--radius-lg); color: #fff; margin: 30px 0; }
.cta-band__in { display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap; padding: 34px 38px; }
.cta-band__title { font-family: var(--font-head); font-size: clamp(20px, 2.4vw, 27px); font-weight: 800; margin: 0 0 6px; }
.cta-band__text { margin: 0; color: #CFE4DA; max-width: 560px; }

.city-cta { background: var(--dark); border-radius: var(--radius-lg); margin: 30px 0; color: #fff; position: relative; overflow: hidden; }
.city-cta::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: linear-gradient(90deg, var(--flag-w) 0 33.3%, var(--flag-b) 33.3% 66.6%, var(--flag-r) 66.6% 100%); }
.city-cta__in { display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap; padding: 34px 38px; }
.city-cta__title { font-family: var(--font-head); font-size: clamp(20px, 2.4vw, 27px); font-weight: 800; margin: 0 0 6px; }
.city-cta__text { margin: 0; color: #AFC2B8; max-width: 560px; }

/* Города и специальности: карточки */
.cgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 14px; }
.ccard { display: flex; flex-direction: column; gap: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; color: var(--ink); transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease; }
.ccard:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: var(--primary); text-decoration: none; }
.ccard__name { font-family: var(--font-head); font-weight: 800; font-size: 17px; }
.ccard__region { font-size: 12.5px; color: var(--muted); }
.ccard__more { margin-top: 8px; font-size: 13px; font-weight: 700; color: var(--primary-strong); }

.sgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.scard { display: flex; flex-direction: column; gap: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; color: var(--ink); transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease; }
.scard:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: var(--primary); text-decoration: none; }
.scard__name { font-family: var(--font-head); font-weight: 800; font-size: 17px; }
.scard__sfera { font-size: 12.5px; color: var(--muted); }
.scard__more { margin-top: 8px; font-size: 13px; font-weight: 700; color: var(--primary-strong); }

.agrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.acard { display: flex; flex-direction: column; gap: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; color: var(--ink); transition: transform .16s ease, box-shadow .16s ease; }
.acard:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); text-decoration: none; }
.acard__name { font-family: var(--font-head); font-weight: 800; font-size: 18px; color: var(--primary-strong); }
.acard__lead { font-size: 14.5px; color: var(--muted); }
.acard__more { margin-top: 8px; font-size: 13.5px; font-weight: 700; color: var(--accent-strong); }

/* Вузы */
.vuz-list { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 34px; }
.vuz-list li { margin: 0 0 9px; padding-left: 24px; position: relative; break-inside: avoid; }
.vuz-list li::before { content: '🎓'; position: absolute; left: 0; top: 0; font-size: 14px; }
.vuzlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; max-width: 900px; }
.vuzlist__item { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 13px 17px; }
.vuzlist__name { font-weight: 700; }
.vuzlist__note { font-size: 13.5px; color: var(--muted); }

/* Таблица цен */
.ptable-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.ptable { width: 100%; border-collapse: collapse; min-width: 640px; }
.ptable th { text-align: left; font-family: var(--font-head); font-size: 13.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: 13px 16px; border-bottom: 2px solid var(--line); background: var(--bg-soft); }
.ptable td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.ptable tr:last-child td { border-bottom: 0; }
.ptable__name { font-weight: 700; display: block; }
.ptable__blank { display: block; font-size: 12.5px; color: var(--muted); }
.ptable__img { border-radius: 8px; display: block; }
.ptable__price { font-family: var(--font-head); font-weight: 800; color: var(--primary-strong); white-space: nowrap; }
.ptable__old { color: var(--muted); font-weight: 500; }

/* Контакты */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 24px 0; }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.contact-card__label { font-size: 12.5px; text-transform: uppercase; letter-spacing: .07em; font-weight: 700; color: var(--muted); margin: 0 0 8px; }
.contact-card__value { font-family: var(--font-head); font-size: 17px; font-weight: 700; margin: 0 0 6px; color: var(--primary-strong); }
.contact-card__note { font-size: 13.5px; color: var(--muted); margin: 0; }

.map-embed { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.map-embed iframe { display: block; width: 100%; height: 400px; border: 0; }

/* МГУ-арт */
.msu { display: block; }

/* Формы */
.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); }
.form__lead { font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.form__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.form__grid--quick { grid-template-columns: 1fr 1fr; }
.form__field--wide { grid-column: 1 / -1; }
.form__label { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 6px; }
.form__input {
  width: 100%; padding: 12px 14px; border-radius: 11px;
  border: 1.5px solid var(--line); background: var(--bg);
  font: inherit; font-size: 15px; color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form__input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); outline: none; background: #fff; }
.form__textarea { resize: vertical; min-height: 84px; }
.form__files { display: grid; gap: 8px; margin: 4px 0 14px; }
.form__file { font-size: 14px; }
.form__hp { display: block; font-size: 12px; color: var(--muted); margin: 8px 0 12px; }
.form__hp-input { display: block; width: 60%; margin-top: 4px; opacity: .55; }
.form__note { font-size: 12.5px; color: var(--muted); margin: 12px 0 0; }
.form--quick { padding: 18px; box-shadow: none; background: var(--bg); }
.form__ok { background: var(--primary-soft); color: var(--primary-strong); font-weight: 600; border-radius: 10px; padding: 10px 14px; margin: 0 0 14px; font-size: 14.5px; }
.form__err { background: #F9E5E0; color: var(--danger); font-weight: 600; border-radius: 10px; padding: 10px 14px; margin: 0 0 14px; font-size: 14.5px; }
.form--compact { max-width: 520px; }

/* 404 */
.e404 { text-align: center; padding: 60px 0 30px; }
.e404__code { font-family: var(--font-head); font-size: clamp(80px, 14vw, 150px); font-weight: 800; color: var(--primary-soft); -webkit-text-stroke: 2px var(--primary); margin: 0; line-height: 1; }
.e404 .hero__cta { justify-content: center; margin-top: 26px; }
.e404 .section { text-align: left; max-width: 760px; margin: 40px auto 0; }

/* Появление при скролле */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .dcard, .ccard, .scard, .acard { transition: none; }
}

/* ─────────────────────────── Футер ─────────────────────────── */

.ftr { background: var(--dark-2); color: #B9C9C1; margin-top: 40px; }
.ftr__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 36px; padding: 48px 20px 38px; }
.ftr__tagline { font-size: 14.5px; color: #8FA79C; margin: 14px 0 18px; max-width: 300px; }
.ftr__contacts { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 8px; font-size: 14.5px; }
.ftr__mail { color: #E3BE6E; font-weight: 700; }
.ftr__mail:hover { color: #fff; }
.ftr .logo__name { color: #fff; }
.ftr .logo__sub { color: #6FBFA3; }
.ftr__title { font-family: var(--font-head); font-weight: 800; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; color: #fff; margin: 0 0 14px; }
.ftr__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 14.5px; }
.ftr__list a { color: #B9C9C1; }
.ftr__list a:hover { color: #fff; }
.ftr__bottom { border-top: 1px solid rgba(255,255,255,.08); }
.ftr__bottom-in { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 18px 20px; font-size: 13.5px; }
.ftr__bottom a { color: #E3BE6E; }

/* ─────────────────────────── Адаптив ─────────────────────────── */

@media (max-width: 1120px) {
  .nav { display: none; }
  .burger { display: flex; }
  .mnav.open { display: block; }
  .hdr__cta { display: none; }
}

@media (max-width: 960px) {
  .layout { grid-template-columns: 1fr; }
  .layout__side { position: static; order: 2; }
  .cols2 { grid-template-columns: 1fr; }
  .pricebox { grid-template-columns: 1fr; }
  .hero__art { opacity: .25; width: 70vw; }
  .hdr__usps { display: none; }
  .hdr__strip-in { justify-content: center; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 24px 0; }
  .section--soft { padding: 24px 18px; }
  .hero__in { padding: 46px 20px 58px; }
  .form__grid, .form__grid--quick { grid-template-columns: 1fr; }
  .ftr__grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .vuz-list { columns: 1; }
  .cta-band__in, .city-cta__in { padding: 26px 22px; }
  .msg-row--hdr .msg { width: 34px; height: 34px; }
  .logo__name { font-size: 19px; }
  .pricebox { padding: 18px; }
  .pricebox__price { font-size: 28px; }
}

@media (max-width: 420px) {
  .ftr__grid { grid-template-columns: 1fr; }
  .dgrid { grid-template-columns: 1fr; }
  .cgrid { grid-template-columns: 1fr 1fr; }
}
