/* =========================================================
   ANTARES — Умный мерчандайзинг
   Основные стили сайта
   ========================================================= */

/* ---------- Шрифты (локально, без Google Fonts) ---------- */
@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url("../fonts/unbounded-cyrillic-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url("../fonts/unbounded-latin-wght-normal.woff2") format("woff2-variations");
  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;
}
@font-face {
  font-family: "Onest";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/onest-cyrillic-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Onest";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/onest-latin-wght-normal.woff2") format("woff2-variations");
  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 {
  --ink: #15120F;
  --ink-2: #221E1A;
  --ink-3: #3A342E;
  --paper: #F5F2EC;
  --paper-2: #ECE6DC;
  --white: #FFFFFF;
  --accent: #FF5B2E;          /* Антарес — красный сверхгигант */
  --accent-600: #EC4A1D;
  --accent-ink: #B8360F;      /* акцент для текста на светлом фоне */
  --peach: #FFE1D3;
  --sand: #E9DCC8;
  --teal: #2F6F68;
  --mustard: #F2B33D;
  --success: #23A55A;
  --muted: #6E665E;
  --muted-dark: #A9A098;
  --line: #E2DBD0;
  --line-dark: rgba(255, 255, 255, .12);

  --font-display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --font-body: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --radius-s: 12px;
  --radius: 20px;
  --radius-l: 32px;
  --shadow-s: 0 1px 2px rgba(21, 18, 15, .06), 0 2px 8px rgba(21, 18, 15, .05);
  --shadow: 0 2px 4px rgba(21, 18, 15, .04), 0 12px 32px rgba(21, 18, 15, .08);
  --shadow-l: 0 4px 8px rgba(21, 18, 15, .05), 0 30px 60px -12px rgba(21, 18, 15, .22);

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- База ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 500; line-height: 1.1; letter-spacing: -.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--accent); color: var(--ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 10px;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

.icon { width: 24px; height: 24px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon--s { width: 18px; height: 18px; }
.icon--l { width: 32px; height: 32px; }

/* ---------- Типографика ---------- */
.h-display {
  font-size: clamp(2.05rem, 6.2vw, 4.4rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -.035em;
}
.h2 { font-size: clamp(1.75rem, 3.6vw, 3rem); letter-spacing: -.03em; }
.h3 { font-size: clamp(1.15rem, 1.6vw, 1.4rem); letter-spacing: -.02em; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.55; color: var(--ink-3); }
.muted { color: var(--muted); }
.accent { color: var(--accent-ink); }
.section--dark .accent, .on-dark .accent { color: var(--accent); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent-ink);
}
.eyebrow::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 4px rgba(255, 91, 46, .18);
}
.section--dark .eyebrow { color: var(--accent); }

.section-head { display: grid; gap: 18px; max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head--split {
  max-width: none; grid-template-columns: 1fr minmax(0, 440px); align-items: end; gap: 24px 64px;
}
.section-head--split .eyebrow { grid-column: 1 / -1; }

/* ---------- Кнопки ---------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: var(--white);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px;
  border: 0; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 600; font-size: 16px; line-height: 1; white-space: nowrap;
  cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s, box-shadow .25s, color .25s;
}
.btn .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover .icon { transform: translateX(3px); }
.btn:active { transform: translateY(0); }
.btn--accent { --btn-bg: var(--accent); --btn-fg: var(--ink); box-shadow: 0 10px 24px -10px rgba(255, 91, 46, .7); }
.btn--accent:hover { --btn-bg: #FF6E45; }
.btn--dark:hover { --btn-bg: var(--ink-2); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--ghost:hover { --btn-bg: var(--ink); --btn-fg: var(--white); }
.btn--light { --btn-bg: var(--white); --btn-fg: var(--ink); }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: var(--white); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.4); }
.btn--ghost-light:hover { --btn-bg: var(--white); --btn-fg: var(--ink); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600;
  color: var(--ink); border-bottom: 1.5px solid transparent; transition: gap .25s var(--ease), color .2s;
}
.link-arrow .icon { width: 18px; height: 18px; }
.link-arrow:hover { gap: 12px; color: var(--accent-ink); }

/* ---------- Шапка ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(245, 242, 236, .78);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background-color .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(245, 242, 236, .92); }
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 32px; }

.logo { display: inline-flex; align-items: center; color: var(--ink); flex: none; }
.logo__svg { height: 38px; width: auto; }
.logo__mark { fill: var(--accent); }
.logo__svg path { stroke: currentColor; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav__link {
  position: relative; padding: 10px 14px; border-radius: 999px;
  font-size: 15px; font-weight: 500; color: var(--ink-3);
  transition: color .2s, background-color .2s;
}
.nav__link:hover { color: var(--ink); background: rgba(21, 18, 15, .05); }
.nav__link[aria-current="page"] { color: var(--ink); }
.nav__link[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: 3px; width: 5px; height: 5px; margin-left: -2.5px;
  border-radius: 50%; background: var(--accent);
}
.header-actions { display: flex; align-items: center; gap: 18px; }
.header-phone { font-weight: 600; font-size: 15px; white-space: nowrap; }
.header-phone:hover { color: var(--accent-ink); }

.burger {
  display: none; width: 48px; height: 48px; margin-left: auto;
  border: 0; border-radius: 50%; background: var(--ink); color: var(--white); cursor: pointer;
  align-items: center; justify-content: center;
}
.burger span, .burger span::before, .burger span::after {
  display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; position: relative;
  transition: transform .3s var(--ease), background-color .2s;
}
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
  background: var(--paper); padding: 24px var(--gutter) 32px;
  display: flex; flex-direction: column; gap: 6px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .3s, transform .3s var(--ease), visibility 0s .3s;
  overflow-y: auto;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .3s var(--ease); }
.mobile-menu__link {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 0; border-bottom: 1px solid var(--line);
  font-family: var(--font-display); font-size: 22px; font-weight: 500; letter-spacing: -.02em;
}
.mobile-menu__link[aria-current="page"] { color: var(--accent-ink); }
.mobile-menu__foot { margin-top: auto; padding-top: 24px; display: grid; gap: 14px; }
.mobile-menu__phone { font-size: 20px; font-weight: 600; }
body.menu-open { overflow: hidden; }

/* ---------- Секции ---------- */
.section { padding-block: clamp(72px, 10vw, 128px); position: relative; }
.section--tight { padding-block: clamp(56px, 7vw, 88px); }
.section--white { background: var(--white); }
.section--paper2 { background: var(--paper-2); }
.section--dark { background: var(--ink); color: var(--white); }
.section--dark .lead, .section--dark .muted { color: var(--muted-dark); }

/* звёздное небо для тёмных секций */
.starfield { position: relative; isolation: isolate; overflow: hidden; }
.starfield::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    radial-gradient(1.2px 1.2px at 12% 18%, rgba(255,255,255,.5) 50%, transparent 51%),
    radial-gradient(1px 1px at 72% 12%, rgba(255,255,255,.35) 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 88% 64%, rgba(255,255,255,.4) 50%, transparent 51%),
    radial-gradient(1px 1px at 34% 78%, rgba(255,255,255,.3) 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 52% 40%, rgba(255,255,255,.25) 50%, transparent 51%),
    radial-gradient(1px 1px at 6% 62%, rgba(255,255,255,.3) 50%, transparent 51%),
    radial-gradient(1px 1px at 94% 30%, rgba(255,255,255,.3) 50%, transparent 51%);
  background-size: 420px 420px;
}
.starfield::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: 900px; height: 900px; right: -300px; top: -380px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 91, 46, .32), rgba(255, 91, 46, .08) 55%, transparent 72%);
}

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(32px, 5vw, 64px); padding-bottom: clamp(56px, 7vw, 96px); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__content { display: grid; gap: 28px; justify-items: start; position: relative; z-index: 2; }
.hero__title { font-size: clamp(1.9rem, 4.4vw, 4rem); }
.hero__title-line { display: block; }
.hero__lead { max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__facts {
  display: grid; grid-template-columns: repeat(3, auto); gap: 14px 32px; margin-top: 12px; padding-top: 28px;
  border-top: 1px solid var(--line); width: 100%;
}
.fact__value { white-space: nowrap; font-family: var(--font-display); font-weight: 600; font-size: clamp(17px, 1.6vw, 22px); letter-spacing: -.02em; line-height: 1.15; }
.fact__label { font-size: 14px; color: var(--muted); line-height: 1.35; margin-top: 4px; }

.chip {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px;
  border-radius: 999px; background: var(--white); box-shadow: var(--shadow-s);
  font-size: 14px; font-weight: 500;
}
.chip__dot {
  width: 26px; height: 26px; border-radius: 50%; background: var(--ink); display: grid; place-items: center;
}
.chip__dot svg { width: 18px; height: 18px; }

/* Визуал hero */
.hero-visual { position: relative; }
.hero-visual__star {
  position: absolute; width: 680px; height: 680px; left: 50%; top: 50%;
  translate: -50% -50%; color: var(--accent); opacity: .11; z-index: 0;
  animation: spin 120s linear infinite;
}
@keyframes spin { to { rotate: 360deg; } }

.report-card {
  position: relative; z-index: 1; margin: 24px 0 56px auto; width: min(100%, 480px);
  background: var(--white); border-radius: var(--radius-l); padding: 16px; box-shadow: var(--shadow-l);
}
.report-card__head { display: flex; align-items: center; gap: 12px; padding: 6px 6px 14px; }
.report-card__avatar {
  width: 40px; height: 40px; border-radius: 50%; background: var(--peach); color: var(--accent-ink);
  display: grid; place-items: center; font-weight: 700; font-size: 14px;
}
.report-card__title { font-weight: 600; font-size: 15px; line-height: 1.3; }
.report-card__meta { font-size: 13px; color: var(--muted); }
.report-card__badge {
  margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600;
  color: var(--success); background: rgba(35, 165, 90, .1); padding: 6px 10px; border-radius: 999px;
}
.report-card__badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.report-card__photo { border-radius: 20px; overflow: hidden; background: #F3EEE6; }
.report-card__photo svg { width: 100%; height: auto; }
.report-card__foot { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding-top: 12px; }
.metric { background: var(--paper); border-radius: 14px; padding: 10px 12px; }
.metric__label { font-size: 12px; color: var(--muted); line-height: 1.3; }
.metric__value { font-family: var(--font-display); font-weight: 600; font-size: 18px; letter-spacing: -.02em; display: flex; align-items: center; gap: 6px; }
.metric__value .ok { color: var(--success); }

.float-card {
  position: absolute; z-index: 2; background: var(--white); border-radius: 20px; box-shadow: var(--shadow-l);
  padding: 16px 18px; animation: float 7s ease-in-out infinite;
}
.float-card--kpi { left: -28px; top: 210px; width: 184px; }
.float-card--chip { right: -20px; bottom: -14px; display: flex; align-items: center; gap: 12px; padding: 12px 16px; animation-delay: -3s; }
.float-card--dark { background: var(--ink); color: var(--white); }
.float-card__label { font-size: 13px; color: var(--muted); }
.float-card--dark .float-card__label { color: var(--muted-dark); }
.float-card__value { font-family: var(--font-display); font-size: 26px; font-weight: 600; letter-spacing: -.03em; line-height: 1.1; margin: 2px 0 10px; }
.float-card__value small { font-size: 14px; color: var(--success); font-family: var(--font-body); font-weight: 600; letter-spacing: 0; margin-left: 6px; }
.bars { display: flex; align-items: flex-end; gap: 5px; height: 36px; }
.bars span { flex: 1; border-radius: 4px 4px 2px 2px; background: var(--paper-2); }
.bars span.is-hi { background: var(--accent); }
.check-circle { width: 34px; height: 34px; border-radius: 50%; background: var(--success); color: var(--white); display: grid; place-items: center; flex: none; }
.check-circle svg { width: 18px; height: 18px; stroke-width: 2.4; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Бегущая строка ---------- */
.marquee { background: var(--ink); color: var(--white); padding: 20px 0; overflow: hidden; }
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee__group { display: flex; align-items: center; flex: none; }
.marquee__item {
  display: inline-flex; align-items: center; gap: 28px; padding-right: 28px;
  font-family: var(--font-display); font-size: clamp(18px, 2.2vw, 26px); font-weight: 500; letter-spacing: -.02em; white-space: nowrap;
}
.marquee__item svg { width: 22px; height: 22px; color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Направления ---------- */
.directions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.direction {
  position: relative; display: flex; flex-direction: column; gap: 18px;
  padding: 32px; border-radius: var(--radius-l); background: var(--white);
  border: 1px solid var(--line); min-height: 380px;
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.direction:hover { transform: translateY(-6px); box-shadow: var(--shadow-l); border-color: transparent; }
.direction__top { display: flex; justify-content: space-between; align-items: flex-start; }
.direction__num { font-family: var(--font-display); font-size: 14px; color: var(--muted); font-weight: 500; }
.icon-tile {
  width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center;
  background: var(--peach); color: var(--accent-ink);
}
.icon-tile .icon { width: 28px; height: 28px; }
.icon-tile--dark { background: var(--ink); color: var(--accent); }
.icon-tile--ghost { background: rgba(255,255,255,.08); color: var(--accent); }
.direction__title { font-size: clamp(1.35rem, 2vw, 1.7rem); }
.direction__tagline { font-weight: 600; color: var(--accent-ink); }
.direction__text { color: var(--muted); }
.direction .link-arrow { margin-top: auto; }
.direction--featured { background: var(--ink); color: var(--white); border-color: var(--ink); }
.direction--featured .direction__text, .direction--featured .direction__num { color: var(--muted-dark); }
.direction--featured .direction__tagline { color: var(--accent); }
.direction--featured .link-arrow { color: var(--white); }
.direction--featured .link-arrow:hover { color: var(--accent); }

/* ---------- О компании (блок) ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.about__statement { display: grid; gap: 24px; position: sticky; top: calc(var(--header-h) + 32px); }
.about__body { display: grid; gap: 22px; }
.about__body p { font-size: 18px; color: var(--ink-3); }
.solutions { display: grid; gap: 0; margin-top: 12px; border-top: 1px solid var(--line); }
.solution { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: start; }
.solution__num { font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--accent-ink); padding-top: 3px; }
.solution__text { font-size: 18px; font-weight: 500; line-height: 1.45; }

/* ---------- Бенто услуг ---------- */
.bento {
  display: grid; gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-areas: "big a b" "big c d";
}
.bento__item {
  position: relative; display: flex; flex-direction: column; gap: 14px; padding: 28px;
  background: var(--white); border-radius: var(--radius-l); border: 1px solid var(--line); overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s;
}
.bento__item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.bento__item:nth-child(1) { grid-area: big; background: var(--ink); color: var(--white); border-color: var(--ink); padding: 32px; }
.bento__item:nth-child(2) { grid-area: a; }
.bento__item:nth-child(3) { grid-area: b; }
.bento__item:nth-child(4) { grid-area: c; }
.bento__item:nth-child(5) { grid-area: d; }
.bento__title { font-size: 1.2rem; letter-spacing: -.02em; }
.bento__item:nth-child(1) .bento__title { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.bento__text { color: var(--muted); font-size: 16px; }
.bento__item:nth-child(1) .bento__text { color: var(--muted-dark); font-size: 17px; max-width: 420px; }
.bento__item .link-arrow { margin-top: auto; padding-top: 8px; }
.bento__item:nth-child(1) .link-arrow { color: var(--white); }
.bento__art { margin: 8px -32px -32px; }
.bento__art svg { width: 100%; height: auto; }
.bento__stretch::after { content: ""; position: absolute; inset: 0; }

/* ---------- Шаги ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: step; position: relative; }
.step { position: relative; display: grid; gap: 12px; align-content: start; padding-top: 72px; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; top: 0; left: 0; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; background: var(--white); border: 1.5px solid var(--ink);
  font-family: var(--font-display); font-size: 15px; font-weight: 600; z-index: 1;
}
.step::after {
  content: ""; position: absolute; top: 26px; left: 52px; right: -16px; height: 1.5px;
  background: repeating-linear-gradient(90deg, var(--ink) 0 6px, transparent 6px 12px); opacity: .35;
}
.step:last-child::after { display: none; }
.step:last-child::before { background: var(--accent); border-color: var(--accent); }
.step__title { font-size: 1.05rem; letter-spacing: -.01em; }
.step__text { font-size: 15px; color: var(--muted); }
.section--dark .step::before { background: var(--ink); border-color: rgba(255,255,255,.5); color: var(--white); }
.section--dark .step:last-child::before { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.section--dark .step::after { background: repeating-linear-gradient(90deg, #fff 0 6px, transparent 6px 12px); opacity: .25; }

/* ---------- Личный кабинет (дашборд) ---------- */
.cabinet { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 80px); align-items: center; }
.cabinet__content { display: grid; gap: 24px; justify-items: start; }
.features { display: grid; gap: 14px; }
.feature { display: flex; gap: 14px; align-items: flex-start; }
.feature__icon { width: 36px; height: 36px; border-radius: 10px; background: rgba(255, 91, 46, .14); color: var(--accent); display: grid; place-items: center; flex: none; }
.feature__icon .icon { width: 20px; height: 20px; }
.feature__title { font-weight: 600; }
.feature__text { color: var(--muted-dark); font-size: 15px; }
.section:not(.section--dark) .feature__text { color: var(--muted); }
.section:not(.section--dark) .feature__icon { background: var(--peach); color: var(--accent-ink); }

.dash {
  --d-bg: #1E1A17; --d-card: #27221E; --d-line: rgba(255,255,255,.08);
  display: grid; grid-template-columns: 64px 1fr; border-radius: 24px; overflow: hidden;
  background: var(--d-bg); border: 1px solid var(--d-line);
  box-shadow: 0 40px 80px -20px rgba(0,0,0,.6), 0 0 0 8px rgba(255,255,255,.03);
  font-size: 13px; color: #EDE7DF;
}
.dash__side { background: #181512; padding: 16px 0; display: flex; flex-direction: column; align-items: center; gap: 10px; border-right: 1px solid var(--d-line); }
.dash__side-logo { width: 32px; height: 32px; color: var(--accent); margin-bottom: 10px; }
.dash__nav { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: #8C847C; }
.dash__nav.is-active { background: rgba(255, 91, 46, .16); color: var(--accent); }
.dash__nav .icon { width: 18px; height: 18px; }
.dash__main { padding: 18px; display: grid; gap: 14px; min-width: 0; }
.dash__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dash__h { font-family: var(--font-display); font-size: 15px; font-weight: 500; letter-spacing: -.01em; }
.dash__pill { font-size: 12px; padding: 6px 10px; border-radius: 999px; background: var(--d-card); color: #BDB4AA; white-space: nowrap; }
.dash__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.dash__kpi { background: var(--d-card); border-radius: 14px; padding: 12px; }
.dash__kpi-label { color: #9D948A; font-size: 12px; }
.dash__kpi-value { font-family: var(--font-display); font-size: 20px; font-weight: 600; letter-spacing: -.02em; margin-top: 2px; }
.dash__kpi-delta { font-size: 11px; color: #4ED384; font-weight: 600; }
.dash__chart { background: var(--d-card); border-radius: 14px; padding: 14px; }
.dash__chart svg { width: 100%; height: auto; }
.dash__chart-head { display: flex; justify-content: space-between; color: #9D948A; font-size: 12px; margin-bottom: 8px; }
.dash__legend { display: flex; gap: 12px; }
.dash__legend i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: 0; }
.dash__table { background: var(--d-card); border-radius: 14px; padding: 6px 12px; }
.dash__row { display: grid; grid-template-columns: 1.6fr 1fr .8fr; gap: 8px; padding: 9px 0; border-bottom: 1px solid var(--d-line); align-items: center; }
.dash__row:last-child { border-bottom: 0; }
.dash__row span:last-child { justify-self: end; }
.dash__status { font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: rgba(78, 211, 132, .14); color: #4ED384; }
.dash__status--wait { background: rgba(242, 179, 61, .16); color: var(--mustard); }
.dash__muted { color: #9D948A; }

/* ---------- Преимущества ---------- */
.advantages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.advantage {
  display: grid; gap: 16px; align-content: start; padding: 28px; border-radius: var(--radius-l);
  background: var(--white); border: 1px solid var(--line);
}
.advantage__title { font-size: 1.1rem; letter-spacing: -.02em; }
.advantage__text { color: var(--muted); font-size: 15.5px; }

/* ---------- CTA + форма ---------- */
.cta {
  display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); border-radius: var(--radius-l); overflow: hidden;
  background: var(--white); box-shadow: var(--shadow);
}
.cta__side { padding: clamp(32px, 4vw, 56px); display: grid; gap: 22px; align-content: start; }
.cta__side.section--dark { border-radius: 0; }
.cta__form { padding: clamp(28px, 4vw, 56px); }
.contact-list { display: grid; gap: 16px; margin-top: 8px; }
.contact-item { display: flex; gap: 14px; align-items: center; }
.contact-item__icon { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.08); color: var(--accent); display: grid; place-items: center; flex: none; }
.contact-item__icon .icon { width: 20px; height: 20px; }
.contact-item__label { font-size: 13px; color: var(--muted-dark); }
.contact-item__value { font-weight: 600; }
a.contact-item:hover .contact-item__value { color: var(--accent); }

.form { display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; }
.field__label { font-size: 14px; font-weight: 600; }
.field__label .req { color: var(--accent-ink); }
.field__input {
  width: 100%; min-height: 54px; padding: 14px 18px; border-radius: 14px;
  border: 1.5px solid var(--line); background: var(--paper); font-size: 16px;
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.field__input::placeholder { color: #A39A90; }
.field__input:hover { border-color: #CFC6B9; }
.field__input:focus { outline: none; border-color: var(--ink); background: var(--white); box-shadow: 0 0 0 4px rgba(255, 91, 46, .18); }
textarea.field__input { min-height: 120px; resize: vertical; line-height: 1.5; }
.field.is-invalid .field__input { border-color: #D4361B; background: #FFF6F3; }
.field__error { font-size: 13px; color: #C02F14; display: none; }
.field.is-invalid .field__error { display: block; }
.field__counter { font-size: 12px; color: var(--muted); justify-self: end; margin-top: -4px; }

.checkbox { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); line-height: 1.45; cursor: pointer; }
.checkbox input { appearance: none; -webkit-appearance: none; flex: none; width: 22px; height: 22px; margin: 0; border-radius: 7px; border: 1.5px solid #CFC6B9; background: var(--white); display: grid; place-items: center; cursor: pointer; transition: background-color .2s, border-color .2s; }
.checkbox input::after { content: ""; width: 10px; height: 6px; border-left: 2px solid var(--white); border-bottom: 2px solid var(--white); transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.checkbox input:checked { background: var(--ink); border-color: var(--ink); }
.checkbox input:checked::after { opacity: 1; }
.checkbox a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(21,18,15,.3); }
.checkbox a:hover { color: var(--accent-ink); }
.checkbox.is-invalid input { border-color: #D4361B; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__note { font-size: 13px; color: var(--muted); }
.form__status { display: none; padding: 14px 16px; border-radius: 14px; font-size: 15px; }
.form__status.is-error { display: block; background: #FFF1EC; color: #9F2A12; }
.form-success { display: none; text-align: center; padding: 32px 8px; gap: 16px; justify-items: center; }
.form-success__icon { width: 72px; height: 72px; border-radius: 50%; background: var(--success); color: var(--white); display: grid; place-items: center; }
.form-success__icon svg { width: 34px; height: 34px; stroke-width: 2.4; }
.form-wrap.is-sent .form { display: none; }
.form-wrap.is-sent .form-success { display: grid; }
.btn.is-loading { pointer-events: none; opacity: .7; }

/* ---------- Подвал ---------- */
.site-footer { background: var(--ink); color: var(--white); padding-top: clamp(56px, 7vw, 88px); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.footer__brand { display: grid; gap: 18px; align-content: start; }
.footer__brand .logo { color: var(--white); }
.footer__tagline { color: var(--muted-dark); max-width: 300px; font-size: 15px; }
.footer__title { font-family: var(--font-display); font-size: 14px; font-weight: 500; color: var(--muted-dark); margin-bottom: 16px; letter-spacing: 0; }
.footer__links { display: grid; gap: 10px; }
.footer__links a { color: #E6DFD6; font-size: 15px; transition: color .2s; }
.footer__links a:hover { color: var(--accent); }
.footer__contacts { display: grid; gap: 10px; font-size: 15px; color: #E6DFD6; }
.footer__contacts a:hover { color: var(--accent); }
.footer__phone { font-family: var(--font-display); font-size: 20px; font-weight: 500; letter-spacing: -.02em; color: var(--white); }
.socials { display: flex; gap: 10px; margin-top: 8px; }
.social { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); color: var(--white); transition: background-color .2s, color .2s; }
.social:hover { background: var(--accent); color: var(--ink); }
.social svg { width: 20px; height: 20px; }
.footer__bottom { border-top: 1px solid var(--line-dark); padding-block: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: 14px; color: var(--muted-dark); }
.footer__bottom a:hover { color: var(--white); }
.footer__big { color: rgba(255, 255, 255, .07); padding-bottom: 8px; user-select: none; }
.footer__big svg { width: 100%; height: auto; }
.footer__big path { stroke-width: 1.1; }

/* ---------- Внутренние страницы ---------- */
.page-hero { padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(48px, 6vw, 80px); position: relative; overflow: hidden; }
.page-hero__inner { display: grid; gap: 22px; max-width: 880px; position: relative; z-index: 1; }
.page-hero > .container { position: relative; z-index: 1; }
.page-hero__star { z-index: 0; position: absolute; right: -160px; top: -120px; width: 560px; height: 560px; color: var(--accent); opacity: .14; animation: spin 140s linear infinite; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); }
.breadcrumbs a:hover { color: var(--ink); }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }

.anchor-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.anchor-nav a { padding: 10px 16px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: 14px; font-weight: 500; transition: background-color .2s, color .2s, border-color .2s; }
.anchor-nav a:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }

.service-row {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center;
  padding-block: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line);
}
.service-row:first-child { border-top: 0; padding-top: 0; }
.service-row:nth-child(even) .service-row__art { order: -1; }
.service-row__content { display: grid; gap: 20px; align-content: start; }
.service-row__num { font-family: var(--font-display); color: var(--accent-ink); font-weight: 600; font-size: 15px; }
.service-row__art { border-radius: var(--radius-l); overflow: hidden; background: var(--white); border: 1px solid var(--line); }
.service-row__art svg { width: 100%; height: auto; }
.checklist { display: grid; gap: 12px; }
.checklist li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; font-size: 16.5px; }
.checklist li::before {
  content: ""; width: 24px; height: 24px; border-radius: 50%; margin-top: 1px;
  background: var(--peach) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B8360F' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 12.5 3.2 3L17 9'/%3E%3C/svg%3E") center / 18px no-repeat;
}

.faq { display: grid; gap: 12px; max-width: 920px; margin-inline: auto; }
.faq__item { background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; }
.faq__q {
  list-style: none; cursor: pointer; padding: 22px 64px 22px 26px; position: relative;
  font-family: var(--font-display); font-weight: 500; font-size: clamp(1rem, 1.4vw, 1.15rem); letter-spacing: -.01em;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 32px; height: 32px; margin-top: -16px; border-radius: 50%;
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315120F' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform .3s var(--ease), background-color .2s;
}
.faq__item[open] .faq__q::after { transform: rotate(45deg); background-color: var(--peach); }
.faq__a { padding: 0 26px 24px; color: var(--ink-3); max-width: 760px; }

.value-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.value-card { padding: clamp(28px, 3vw, 40px); border-radius: var(--radius-l); background: var(--white); border: 1px solid var(--line); display: grid; gap: 16px; align-content: start; }
.value-card__num { font-family: var(--font-display); font-size: 48px; font-weight: 600; letter-spacing: -.04em; line-height: 1; color: var(--accent); }

.big-quote { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.5rem); font-weight: 500; letter-spacing: -.03em; line-height: 1.2; max-width: 1000px; }
.big-quote .accent { color: var(--accent); }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.split__body { display: grid; gap: 20px; }
.split__body p { font-size: 18px; color: var(--ink-3); }
.section--dark .split__body p { color: var(--muted-dark); }

.geo-card { border-radius: var(--radius-l); background: var(--ink); color: var(--white); overflow: hidden; position: relative; }
.geo-card svg { width: 100%; height: auto; }

/* Личный кабинет — вход */
.login-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: clamp(40px, 6vw, 96px); align-items: center; }
.login-card { background: var(--white); border-radius: var(--radius-l); padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow-l); display: grid; gap: 22px; position: relative; z-index: 1; }
.login-card__head { display: grid; gap: 8px; }
.login-card__icon { width: 56px; height: 56px; border-radius: 16px; background: var(--ink); color: var(--accent); display: grid; place-items: center; margin-bottom: 8px; }
.login-card__icon svg { width: 34px; height: 34px; }
.pass-field { position: relative; }
.pass-field .field__input { padding-right: 56px; }
.pass-toggle { position: absolute; right: 8px; top: 50%; translate: 0 -50%; width: 40px; height: 40px; border: 0; background: transparent; border-radius: 10px; cursor: pointer; color: var(--muted); display: grid; place-items: center; }
.pass-toggle:hover { color: var(--ink); background: var(--paper); }
.login-card__foot { font-size: 14px; color: var(--muted); text-align: center; padding-top: 4px; border-top: 1px solid var(--line); padding-top: 18px; }
.login-card__foot a { color: var(--ink); font-weight: 600; }
.login-card__foot a:hover { color: var(--accent-ink); }

/* Контакты */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.contact-card { padding: 24px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); display: grid; gap: 14px; align-content: start; transition: transform .3s var(--ease), box-shadow .3s; }
a.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.contact-card__label { font-size: 14px; color: var(--muted); }
.contact-card__value { font-family: var(--font-display); font-size: 1.05rem; font-weight: 500; letter-spacing: -.01em; word-break: break-word; }
.map-card { position: relative; border-radius: var(--radius-l); overflow: hidden; background: #EDE6DA; min-height: 420px; border: 1px solid var(--line); }
.map-card > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-card__info { position: absolute; left: 20px; bottom: 20px; right: 20px; max-width: 360px; background: var(--white); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow); display: grid; gap: 8px; }

/* Политика */
.prose { max-width: 820px; font-size: 17px; color: var(--ink-3); }
.prose h2 { font-size: clamp(1.25rem, 2vw, 1.6rem); color: var(--ink); margin: 48px 0 16px; }
.prose p, .prose ul { margin: 0 0 14px; }
.prose ul { padding-left: 22px; list-style: disc; }
.prose li { margin-bottom: 6px; }
.prose li::marker { color: var(--accent); }
.prose a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.placeholder { background: #FFF1B8; color: #5F4A00; padding: 1px 6px; border-radius: 6px; font-weight: 500; -webkit-box-decoration-break: clone; box-decoration-break: clone; overflow-wrap: anywhere; }
.prose-toc { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 4px; font-size: 14px; }
.prose-toc a { padding: 6px 12px; border-radius: 10px; color: var(--muted); }
.prose-toc a:hover { background: var(--white); color: var(--ink); }
.prose-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 64px; align-items: start; }

/* 404 */
.notfound { min-height: calc(100vh - var(--header-h)); display: grid; place-items: center; text-align: center; padding-block: 64px; position: relative; overflow: hidden; }
.notfound__code { font-family: var(--font-display); font-weight: 600; font-size: clamp(120px, 26vw, 300px); letter-spacing: -.06em; line-height: .9; color: var(--ink); }
.notfound__code span { color: var(--accent); }

/* ---------- Анимации появления ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Адаптив ---------- */
@media (max-width: 1180px) {
  .nav__link { padding: 10px 10px; }
  .header-phone { display: none; }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .step:nth-child(3)::after { display: none; }
  .advantages { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
  :root { --header-h: 68px; }
  .nav, .header-actions .btn { display: none; }
  .burger { display: inline-flex; }
  .header-actions { margin-left: auto; }
  .hero__grid, .cabinet, .about, .split, .login-wrap, .cta { grid-template-columns: 1fr; }
  .hero-visual { min-height: 0; max-width: 560px; width: 100%; margin-inline: auto; padding: 48px 0 40px; }
  .hero__title { font-size: clamp(1.9rem, 7.6vw, 4rem); }
  .report-card { margin: 0 auto 40px; }
  .float-card--kpi { left: -4px; top: 150px; }
  .float-card--chip { right: -4px; bottom: 0; }
  .about__statement { position: static; }
  .directions { grid-template-columns: 1fr; }
  .direction { min-height: 0; }
  .bento { grid-template-columns: 1fr 1fr; grid-template-areas: "big big" "a b" "c d"; }
  .section-head--split { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 1fr; }
  .service-row:nth-child(even) .service-row__art { order: 0; }
  .prose-layout { grid-template-columns: 1fr; gap: 24px; }
  .prose-toc { position: static; display: none; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .logo__svg { height: 32px; }
  .hero__facts { grid-template-columns: auto 1fr; gap: 14px 16px; align-items: baseline; }
  .hero__facts .fact { display: contents; }
  .fact__value { font-size: 17px; }
  .fact__label { margin-top: 0; }
  .hero__actions { width: 100%; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero-visual__star { width: 460px; height: 460px; }
  .float-card--kpi { width: 180px; padding: 12px 14px; }
  .float-card__value { font-size: 24px; }
  .float-card--chip { font-size: 13px; padding: 10px 12px; }
  .report-card { padding: 10px; border-radius: 24px; }
  .report-card__foot { gap: 6px; }
  .metric { padding: 8px; }
  .metric__value { font-size: 15px; }
  .bento { grid-template-columns: 1fr; grid-template-areas: "big" "a" "b" "c" "d"; }
  .steps { grid-template-columns: 1fr; row-gap: 0; }
  .step { padding: 0 0 32px 72px; min-height: 52px; }
  .step::after { left: 26px; top: 52px; bottom: 0; right: auto; width: 1.5px; height: auto; background: repeating-linear-gradient(180deg, var(--ink) 0 6px, transparent 6px 12px); }
  .section--dark .step::after { background: repeating-linear-gradient(180deg, #fff 0 6px, transparent 6px 12px); }
  .step:nth-child(3)::after { display: block; }
  .step:last-child { padding-bottom: 0; }
  .advantages, .value-grid, .contact-cards { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .dash { grid-template-columns: 1fr; }
  .dash__side { display: none; }
  .dash__kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .dash__kpi { padding: 10px 8px; }
  .dash__kpi-value { font-size: 16px; }
  .dash__row { grid-template-columns: 1.4fr 1fr; }
  .dash__row span:nth-child(2) { display: none; }
  .direction, .bento__item, .advantage { padding: 24px; }
  .bento__item:nth-child(1) { padding: 24px; }
  .bento__art { margin: 8px -24px -24px; }
  .faq__q { padding: 18px 56px 18px 20px; }
  .faq__q::after { right: 14px; }
  .faq__a { padding: 0 20px 20px; }
  .map-card { min-height: 360px; }
}

/* ---------- Hero: звезда в заголовке и «вращающиеся» слова ---------- */
.title-star { display: inline-block; width: .62em; height: .62em; color: var(--accent); vertical-align: .02em; margin-left: .08em; }
.title-star svg { width: 100%; height: 100%; animation: spin 24s linear infinite; }
.hero__rotator { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.1rem, 2vw, 1.6rem); letter-spacing: -.02em; display: flex; flex-wrap: wrap; gap: .35em; align-items: baseline; margin-top: -8px; }
.rotator { display: inline-grid; color: var(--accent-ink); }
.rotator > span { grid-area: 1 / 1; opacity: 0; animation: rotword 7.5s var(--ease) infinite; }
.rotator > span:nth-child(2) { animation-delay: 2.5s; }
.rotator > span:nth-child(3) { animation-delay: 5s; }
@keyframes rotword {
  0% { opacity: 0; transform: translateY(.5em); }
  5%, 30% { opacity: 1; transform: none; }
  36%, 100% { opacity: 0; transform: translateY(-.5em); }
}
.metric__hint { font-family: var(--font-body); font-size: 11px; font-weight: 600; color: var(--accent-ink); letter-spacing: 0; }
@media (prefers-reduced-motion: reduce) {
  .rotator > span { animation: none; }
  .rotator > span:first-child { opacity: 1; }
}

.h2--statement { font-size: clamp(1.6rem, 2.9vw, 2.5rem); line-height: 1.12; }

/* ---------- Дополнительные блоки внутренних страниц ---------- */
.value-grid--3 { grid-template-columns: repeat(3, 1fr); }
.value-card--dark { background: rgba(255, 255, 255, .04); border-color: var(--line-dark); }
.value-card--dark .h3 { line-height: 1.3; font-size: clamp(1.05rem, 1.5vw, 1.3rem); }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.fact-card { display: grid; gap: 14px; align-content: start; padding: 28px; border-radius: var(--radius-l); background: rgba(255, 255, 255, .04); border: 1px solid var(--line-dark); }
.fact-card .muted { font-size: 15px; }

.office { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 20px; }
.requisites { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-l); padding: clamp(24px, 3vw, 36px); display: grid; gap: 20px; align-content: start; justify-items: start; }
.requisites dl { margin: 0; display: grid; gap: 14px; width: 100%; }
.requisites dl > div { display: grid; gap: 2px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.requisites dt { font-size: 13px; color: var(--muted); }
.requisites dd { margin: 0; font-weight: 500; }

.notfound__code { display: flex; align-items: center; justify-content: center; }
.notfound__star { width: .78em; height: .78em; color: var(--accent); animation: spin 30s linear infinite; margin: 0 .04em; }

.login-hero .page-hero__inner { max-width: 600px; }

@media (max-width: 1180px) {
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .value-grid--3 { grid-template-columns: 1fr; }
  .office { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .facts-grid { grid-template-columns: 1fr; }
  .fact-card, .value-card { padding: 24px; }
}

@media (max-width: 480px) {
  .report-card__badge { display: none; }
  .float-card--kpi { top: 120px; left: -8px; width: 160px; }
  .title-star { display: none; }
}
.form-wrap.is-sent { display: grid; align-items: center; }
