@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/manrope-cyr-400.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/manrope-lat-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/manrope-cyr-600.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/manrope-cyr-700.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/manrope-lat-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Unbounded;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/unbounded-cyr-500.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Unbounded;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/unbounded-lat-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Unbounded;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/unbounded-cyr-700.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Unbounded;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/unbounded-lat-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --navy: #0e2744;
  --navy-2: #16375f;
  --blue: #1d4e89;
  --blue-soft: #e7eef6;
  --red: #b4232c;
  --red-dark: #8d1b22;
  --silver: #c8d0dc;
  --silver-soft: #eef2f7;
  --gold: #c49a38;
  --gold-soft: #f9f3e3;
  --green: #16375f;
  --green-soft: #eaf0f7;
  --paper: #f4f6f9;
  --white: #ffffff;
  --ink: #172033;
  --muted: #556173;
  --line: #d8e0eb;
  --shadow: 0 16px 40px rgba(14, 39, 68, 0.08);
  --radius: 18px;
  --header: 118px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Manrope, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
}
img, svg { max-width: 100%; }
a { color: var(--blue); }
a:hover { color: var(--red); }
h1, h2, h3, .logo-name, .btn {
  font-family: Unbounded, Manrope, sans-serif;
  letter-spacing: -0.03em;
}
h1 { font-size: clamp(2rem, 4.4vw, 3.5rem); line-height: 1.12; font-weight: 500; margin: 0 0 16px; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.15rem); line-height: 1.2; font-weight: 500; margin: 0 0 14px; }
h3 { font-size: 1.05rem; line-height: 1.35; margin: 0 0 8px; }
p { margin: 0 0 12px; }
.wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.muted { color: var(--muted); }
.eyebrow {
  margin: 0 0 10px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.flag {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 0.6fr;
  height: 4px;
  background: var(--navy);
}
.flag span:nth-child(1) { background: #fff; }
.flag span:nth-child(2) { background: var(--blue); }
.flag span:nth-child(3) { background: var(--red); }
.flag span:nth-child(4) { background: var(--gold); }

.topbar {
  background: var(--navy);
  color: #d5deea;
  font-size: 0.78rem;
}
.topbar .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 16px;
  align-items: center;
  min-height: 34px;
  padding: 4px 0;
}
.topbar a { color: #fff; text-decoration: none; }
.age {
  display: inline-grid;
  place-items: center;
  min-width: 36px;
  height: 22px;
  padding: 0 6px;
  border-radius: 6px;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

/* Блок доверия в шапке */
.trust-strip {
  background: linear-gradient(90deg, #d9c286, #c4b37a 55%, #d9c286);
  color: #221d0c;
}
.trust-strip .wrap {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
}
.trust-strip p { margin: 0; font-size: 0.8rem; font-weight: 600; line-height: 1.35; }
.trust-strip b { color: #17130a; }
.trust-strip .tick {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 50%;
  background: #221d0c;
  color: #e6cf90;
  font-size: 12px;
  font-weight: 700;
}

/* Карточки направлений */
.dir-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: var(--ink);
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.dir-card:hover, .dir-card:focus-visible {
  color: var(--ink);
  border-color: #b9c4d4;
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(14, 39, 68, .14);
}
.dir-img { display: block; overflow: hidden; }
.dir-img img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: saturate(.95);
  transition: transform .35s ease;
}
.dir-card:hover .dir-img img { transform: scale(1.04); }
.dir-body { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 18px; }
.dir-tag {
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.dir-body strong {
  font-family: Unbounded, Manrope, sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy);
}
.dir-text { color: var(--muted); font-size: 0.93rem; line-height: 1.45; }
.dir-cta { margin-top: 4px; color: var(--red); font-size: 0.88rem; font-weight: 700; }

@media (max-width: 720px) {
  .trust-strip p { font-size: 0.74rem; }
}
.head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  min-height: 82px;
  padding-top: 8px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  text-decoration: none;
  min-width: 240px;
}
.logo img {
  width: 68px;
  height: 68px;
  object-fit: contain;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
  display: block;
  filter: drop-shadow(0 3px 8px rgba(14, 39, 68, 0.16));
}
.logo-name { display: block; font-size: 0.96rem; line-height: 1.15; }
.logo small { display: block; color: var(--muted); font-family: Manrope, sans-serif; font-weight: 600; letter-spacing: 0.02em; font-size: 0.76rem; margin-top: 2px; }

.nav {
  display: flex;
  flex: 1 0 100%;
  order: 3;
  flex-wrap: wrap;
  gap: 2px;
  align-items: center;
  margin-left: 0;
  justify-content: flex-start;
  padding-bottom: 4px;
}
.nav .socials { display: none; }
.nav a {
  color: var(--navy);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 7px 10px;
  border-radius: 10px;
  transition: color .25s ease, background-color .25s ease, transform .25s ease;
}
.head-actions { margin-left: auto; }
.nav a:hover, .nav a:focus-visible { color: var(--red); background: #f8e8ea; transform: translateY(-1px); }
.nav a[aria-current="page"] { color: var(--red); background: #f8e8ea; }
.nav a.nav-kontrakt {
  margin-left: 4px;
  background: #2a341e;
  color: #e8d5a3;
  border: 1px solid #8a7a3d;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: Unbounded, Manrope, sans-serif;
  font-size: 0.74rem;
  box-shadow: inset 0 -2px 0 #1a2118;
}
.nav a.nav-kontrakt:hover,
.nav a.nav-kontrakt:focus-visible,
.nav a.nav-kontrakt[aria-current="page"] {
  background: #5a3a1a;
  color: #f3e6b8;
  transform: none;
}
.head-actions { display: flex; align-items: center; gap: 10px; }
.phones { display: flex; flex-direction: column; align-items: flex-end; gap: 1px; }
.phone-link {
  color: var(--navy);
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.25;
  text-decoration: none;
  white-space: nowrap;
  transition: color .22s ease;
}
.phone-link:hover { color: var(--red); }
.burger {
  display: none;
  position: relative;
  z-index: 40;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.burger span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--navy);
  transition: transform .18s ease, opacity .18s ease;
}
.burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.socials { display: flex; flex-wrap: wrap; gap: 8px; }
.socials a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 12px 0 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 700;
}
.socials a { transition: transform .25s ease, border-color .25s ease, color .25s ease, box-shadow .25s ease; }
.socials a:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.socials img, .socials svg { width: 22px; height: 22px; display: block; }
.social-strip { padding: 0 0 14px; }

.btn, button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border: 0;
  border-radius: 10px;
  background: #e0552b;
  color: #fff;
  font-family: Manrope, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease, color .18s ease;
}
.btn:hover, button.btn:hover { background: #c2431d; color: #fff; transform: translateY(-1px); box-shadow: 0 8px 18px rgba(16, 36, 61, .14); }
.btn.green { background: var(--blue); }
.btn.green:hover { background: #164a85; }
.btn.ghost {
  background: #fff;
  color: var(--navy);
  box-shadow: inset 0 0 0 1px var(--line);
}
.btn.navy { background: var(--navy); }
.btn.line {
  background: #fff;
  color: var(--navy);
  box-shadow: inset 0 0 0 1px var(--line);
}
.btn.navy:hover { background: #0b1a2d; }
.btn.line:hover { background: var(--navy); color: #fff; }
.btn.ghost:hover { background: #eef2f8; color: var(--navy); box-shadow: inset 0 0 0 1px var(--line); }

.hero {
  background: #fff;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr;
  gap: 40px;
  align-items: center;
  padding: 44px 0 40px;
}
.hero h1 { font-size: clamp(1.5rem, 4.4vw, 2.5rem); line-height: 1.16; }
.hero p { color: var(--muted); font-size: 1.06rem; }
.hero p .eyebrow, .hero .eyebrow { color: var(--red); }
.hero .actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0; }
.hero-card {
  background: #f8fafd;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
}
.hero-card strong { display: block; margin-bottom: 4px; color: var(--navy); }
.hero-card div + div { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.hero-card span { color: var(--muted); font-size: 0.92rem; }

.section { padding: 64px 0; }
.section.white { background: #fff; }
.section.navy { background: var(--navy); color: #fff; }
.section.navy .muted, .section.navy p { color: #d5deea; }
.lead { font-size: 1.08rem; max-width: 46rem; }

.grid-4, .grid-3, .grid-2 { display: grid; gap: 16px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card, .value, .step, .person, .spec {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover, .value:hover, .step:hover, .spec:hover { transform: translateY(-3px); box-shadow: 0 18px 36px rgba(14, 39, 68, .12); }
.value { box-shadow: none; border-top: 4px solid var(--blue); }
.value:nth-child(2) { border-top-color: var(--navy); }
.value:nth-child(3) { border-top-color: var(--red); }
.value:nth-child(4) { border-top-color: var(--gold); }
.card .tag, .spec .tag {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.step em {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  font-style: normal;
  font-weight: 700;
}

.plain {
  background: var(--green-soft);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.plain strong { color: var(--green); }
.warn {
  background: #fff4f4;
  border-left: 4px solid var(--red);
  border-radius: 12px;
  padding: 14px 16px;
}

.cities { display: flex; flex-wrap: wrap; gap: 8px; }
a { transition: color .22s ease; }
.city {
  border: 1px solid var(--line);
  transition: background-color .22s ease, color .22s ease, transform .22s ease;
  background: #fff;
  color: var(--navy);
  border-radius: 999px;
  min-height: 40px;
  padding: 0 14px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.city[aria-pressed="true"], .city:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.district { margin: 22px 0 10px; color: var(--blue); font-weight: 800; }
.city-card { margin-top: 18px; }

.prose { max-width: 48rem; }
.prose h2 { margin-top: 28px; }
.prose ul, .list { padding-left: 18px; }
.prose li, .list li { margin: 6px 0; }
details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 16px;
  margin: 10px 0;
}
summary { cursor: pointer; font-weight: 700; color: var(--navy); }
.page-hero { padding: 36px 0 10px; }
.crumbs { color: var(--muted); font-size: 0.88rem; margin-bottom: 10px; }
.crumbs a { color: var(--muted); }

.form {
  display: grid;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 18px;
  box-shadow: var(--shadow);
}
label { display: grid; gap: 6px; font-weight: 700; font-size: 0.92rem; }
input, select, textarea {
  width: 100%;
  border: 1px solid #d5d0c7;
  border-radius: 12px;
  min-height: 48px;
  padding: 10px 12px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}
textarea { min-height: 110px; resize: vertical; }
.check { grid-template-columns: 22px 1fr; align-items: start; font-weight: 500; }
.check input { width: 20px; height: 20px; margin-top: 3px; }

/* Выбор направления чипами */
.chips { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; }
.chips legend { padding: 0; margin-bottom: 6px; font-weight: 700; font-size: 0.92rem; }
.chips .chip { position: relative; display: block; }
.chips .chip input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.chips .chip span {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease;
}
.chips .chip span::before {
  content: "";
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  border: 2px solid #b9c4d4;
  border-radius: 50%;
}
.chips .chip input:checked + span { border-color: var(--red); background: #fdf3f3; }
.chips .chip input:checked + span::before { border-color: var(--red); box-shadow: inset 0 0 0 4px var(--red); }
.chips .chip input:focus-visible + span { box-shadow: 0 0 0 3px rgba(180, 35, 44, .18); }
@media (min-width: 640px) {
  .chips { grid-template-columns: 1fr 1fr; }
  .chips legend { grid-column: 1 / -1; }
}

.btn.big { min-height: 56px; font-size: 0.92rem; }
.form-status { min-height: 1.4em; font-weight: 700; }
.form-status.ok { color: var(--green); }
.form-status.bad { color: var(--red); }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.citizenship-other[hidden] { display: none; }
.pay-banner { background: linear-gradient(135deg, #8e1c24, #c42732 55%, #1d4e89); color: #fff; padding: 42px 0; }
.pay-banner .eyebrow { color: #fff; }
.pay-banner h2 { font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.15; margin: 8px 0 12px; }
.pay-banner p { max-width: 760px; }
.pay-banner .btn.ghost { color: #fff; }
.tone-red { box-shadow: inset 4px 0 0 #c42732; }
.tone-blue { box-shadow: inset 4px 0 0 #1d4e89; }
.tone-gold { box-shadow: inset 4px 0 0 #c48a1a; }
.tone-green { box-shadow: inset 4px 0 0 #1f6b45; }
.role { display: grid; gap: 12px; }
.role img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; background: #e7eef6; display: block; }
.faq-block { margin-top: 28px; }
.faq-block h2 { margin-bottom: 10px; }
.chart { width: 100%; height: auto; display: block; }
.chart text { fill: #5c6b7a; font-family: Manrope, sans-serif; }
.chart-card { overflow-x: auto; }

.footer { background: var(--navy); color: #d5deea; padding: 36px 0 28px; }
.footer a { color: #fff; }
.footer .logo { margin-bottom: 10px; }
.footer .logo small { color: var(--silver); }
.footer .socials a { color: var(--navy); background: #fff; }
.footer .socials a span { color: var(--navy); }
.footer .socials a:hover { color: var(--navy); background: #f8e8ea; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 24px; }
.footer .logo-name, .footer h2 { color: #fff; }
.legal-note { margin-top: 22px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: 0.84rem; }

.tabbar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 30;
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 8px;
  gap: 8px;
}
.tabbar a { flex: 1; }

.cookie {
  position: fixed;
  left: auto;
  right: 16px;
  bottom: 16px;
  z-index: 40;
  display: none;
  width: min(460px, calc(100% - 32px));
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 16px;
}
.cookie.show { display: block; }
button.cookie-save { display: none; }
.cookie-settings.show + .row button.cookie-save { display: inline-flex; }
.cookie .row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.cookie-settings { display: none; margin-top: 12px; }
.cookie-settings.show { display: grid; gap: 8px; }

.panel-body { background: var(--paper); }
.login-box { width: min(420px, calc(100% - 32px)); margin: 10vh auto; }
.lead-list { display: grid; gap: 12px; }
.lead-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px; }
.lead-card header { display: flex; justify-content: space-between; gap: 8px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 16px; }
.filters input { max-width: 280px; }

@media (max-width: 980px) {
  .hero-grid, .grid-4, .grid-3, .footer-grid { grid-template-columns: 1fr 1fr; }
  .head { flex-wrap: nowrap; min-height: 66px; padding: 6px 0; }
  .logo { min-width: 0; gap: 10px; }
  .logo img { width: 52px; height: 52px; }
  .head-actions .btn { padding: 0 12px; }
  body.menu-open { overflow: hidden; }
  .header { z-index: 40; }
  .nav {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 30;
    flex: none;
    order: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 78px 18px 28px;
    background: #fff;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav.open { display: flex; }
  .nav a {
    width: 100%;
    padding: 14px 12px;
    font-size: 1.05rem;
    border-radius: 12px;
  }
  .nav .menu-phones {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0 0 10px;
    padding: 0 4px 12px;
    border-bottom: 1px solid var(--line);
  }
  .nav .menu-phones a { width: auto; padding: 4px 0; font-size: 1.1rem; }
  .burger { display: inline-flex; align-items: center; justify-content: center; }
  .head-actions { position: relative; z-index: 40; }
  .head-actions .phones { display: none; }
  .social-strip { display: none; }
  .nav.open .socials { display: flex; margin-top: 14px; }
}
@media (max-width: 720px) {
  .cookie { left: 8px; right: 8px; bottom: 74px; width: auto; padding: 12px; }
  .cookie .cookie-settings,
  .cookie p:nth-of-type(2),
  .cookie > p:last-of-type { display: none; }
  .cookie p { margin: 0; font-size: 0.84rem; }
  .cookie .row { margin-top: 8px; gap: 6px; }
  .cookie .row .btn { min-height: 42px; flex: 1 1 40%; font-size: 0.8rem; padding: 0 10px; }
  .hero-grid, .grid-4, .grid-3, .grid-2, .footer-grid { grid-template-columns: 1fr; }
  .head { min-height: 60px; }
  .logo { gap: 8px; }
  .logo img { width: 46px; height: 46px; }
  .logo-name { font-size: 0.84rem; }
  .logo small { font-size: 0.68rem; }
  .topbar .wrap { align-items: flex-start; padding: 6px 0; }
  .tabbar { display: flex; }
  body { padding-bottom: 74px; }
  .section { padding: 34px 0; }
}
.panel-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 18px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 12px 0 22px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px; }
.stat b { display: block; font-family: Unbounded, Manrope, sans-serif; font-size: 1.6rem; color: var(--navy); }
.bars, .funnel { display: grid; gap: 8px; }
.bar, .funnel-row { display: grid; grid-template-columns: 140px 1fr 36px; gap: 8px; align-items: center; }
.bar span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar i, .funnel-row i { display: block; height: 10px; border-radius: 99px; background: linear-gradient(90deg, var(--blue), var(--red)); }
.moves { display: grid; gap: 8px; }
.move { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
@media (max-width: 720px) {
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .bar, .funnel-row { grid-template-columns: 72px 1fr 28px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
@media print {
  .header, .topbar, .tabbar, .cookie, .btn, .form { display: none !important; }
  body { background: #fff; }
}
