/* =================================================================
   Анастасия Филиппова — бухгалтер на аутсорсе
   Дизайн-система. Navy + технологичный «порядок в цифрах».
   ================================================================= */

/* ---------- Токены ---------- */
:root {
  /* Цвет */
  --ink:        #0C1B33;   /* основной текст, near-navy */
  --navy:       #123A6B;   /* тёмно-синий */
  --navy-900:   #0A1B36;   /* глубокий фон hero */
  --navy-800:   #0E2547;
  --accent:     #2E6BFF;   /* электрический синий — акцент/CTA */
  --accent-600: #1E54D6;   /* нажатие */
  --accent-soft:#E9F0FF;   /* заливка-подложка */
  --cyan:       #37C6E8;   /* сигнатурный блик, очень дозированно */
  --paper:      #FFFFFF;
  --mist:       #F4F7FB;   /* фон секций */
  --mist-2:     #EDF2F9;
  --line:       #E2E8F2;   /* границы */
  --line-strong:#D3DCEA;
  --muted:      #55647E;   /* вторичный текст */
  --muted-soft: #7C89A0;
  --ok:         #17A67B;   /* «сдано» / галочки */

  /* Радиусы */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 999px;

  /* Тени */
  --shadow-sm: 0 1px 2px rgba(12,27,51,.06), 0 1px 3px rgba(12,27,51,.05);
  --shadow-md: 0 8px 24px rgba(12,27,51,.08);
  --shadow-lg: 0 24px 60px rgba(10,27,54,.16);
  --shadow-accent: 0 12px 28px rgba(46,107,255,.28);

  /* Пространство */
  --gutter: clamp(1rem, 4.2vw, 2.25rem);
  --section-py: clamp(3.5rem, 8vw, 7.5rem);
  --stack: clamp(1rem, 2.4vw, 1.75rem);

  /* Типографика */
  --font-display: "Unbounded", "Manrope", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --maxw: 1200px;
}

/* ---------- Сброс ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  overflow-x: hidden;
}
body {
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.55vw + 0.9rem, 1.0625rem);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
::selection { background: var(--accent); color: #fff; }

/* ---------- Раскладка ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-py); }
.section--mist { background: var(--mist); }
.section--ink  { background: var(--navy-900); color: #E7EDF7; }

/* Заголовок секции */
.eyebrow {
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--accent);
  display: inline-block;
}
.section--ink .eyebrow { color: var(--cyan); }
.section--ink .eyebrow::before { background: var(--cyan); }

.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head .eyebrow { margin-bottom: 1rem; }
h2.section-title {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: clamp(1.6rem, 1.4vw + 1.2rem, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.section-head p.lead {
  margin-top: 1rem;
  color: var(--muted);
  font-size: clamp(1rem, 0.5vw + 0.9rem, 1.15rem);
}
.section--ink .section-head p.lead { color: #A9B7CE; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .85rem 1.4rem;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: .975rem;
  border: 1.5px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  line-height: 1;
  min-height: 48px;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-accent); }
.btn--primary:hover { background: var(--accent-600); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--navy-900); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn--wa { background: #25D366; color: #06331B; }
.btn--wa:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(37,211,102,.32); }
.btn--block { width: 100%; }

/* ---------- Шапка ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
  padding-top: env(safe-area-inset-top);
}
.header.is-stuck { border-color: var(--line); box-shadow: var(--shadow-sm); }
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}
.brand { display: inline-flex; align-items: center; gap: .7rem; }
.brand__mark { width: 40px; height: 40px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-weight: 800; letter-spacing: -0.01em; font-size: 1.02rem; }
.brand__role {
  font-family: var(--font-mono);
  font-size: .66rem;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--muted-soft);
}
.nav { display: flex; align-items: center; gap: clamp(.75rem, 2vw, 2rem); }
.nav__links { display: flex; align-items: center; gap: clamp(.75rem, 1.8vw, 1.9rem); }
.nav__links a {
  font-weight: 600;
  font-size: .95rem;
  color: var(--muted);
  padding: .4rem 0;
  position: relative;
  transition: color .18s ease;
}
.nav__links a:hover { color: var(--ink); }
.nav__links a::after {
  content:""; position:absolute; left:0; bottom:-2px; height:2px; width:0;
  background: var(--accent); transition: width .22s ease;
}
.nav__links a:hover::after { width:100%; }
.nav__cta { display: inline-flex; }

/* Бургер */
.burger {
  display: none;
  width: 46px; height: 46px;
  border: 1.5px solid var(--line-strong);
  border-radius: 12px;
  background: #fff;
  align-items: center; justify-content: center;
  flex: none;
}
.burger span, .burger span::before, .burger span::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--ink);
  border-radius: 2px; transition: transform .25s ease, opacity .2s ease;
}
.burger span::before { transform: translateY(-6px); }
.burger span::after  { transform: translateY(6px); }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after  { transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(120% 90% at 100% 0%, #10305C 0%, var(--navy-900) 52%, #081428 100%);
  color: #EAF0FA;
  overflow: hidden;
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
}
.hero__grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(120,160,230,.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120,160,230,.09) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(120% 100% at 30% 0%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(120% 100% at 30% 0%, #000 30%, transparent 78%);
  pointer-events: none;
}
.hero__glow {
  position: absolute; width: 42rem; height: 42rem; border-radius: 50%;
  background: radial-gradient(circle, rgba(46,107,255,.34), transparent 62%);
  top: -14rem; right: -10rem; pointer-events: none; filter: blur(6px);
}
.hero .container { position: relative; z-index: 1; }
.hero__layout {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero__eyebrow {
  font-family: var(--font-mono);
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #9FC4FF;
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .5rem .9rem;
  border: 1px solid rgba(159,196,255,.28);
  border-radius: var(--r-pill);
  background: rgba(46,107,255,.08);
  margin-bottom: 1.5rem;
}
.hero__eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(55,198,232,.2); }
.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.1rem, 3.2vw + 1.1rem, 4rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
}
.hero h1 .hl { color: #fff; position: relative; white-space: nowrap; }
.hero h1 .accent { color: #7FB0FF; }
.hero__sub {
  margin-top: 1.4rem;
  font-size: clamp(1.02rem, 0.6vw + 0.9rem, 1.22rem);
  color: #B9C7DE;
  max-width: 34rem;
  line-height: 1.6;
}
.hero__cta { margin-top: clamp(1.6rem, 3vw, 2.3rem); display: flex; flex-wrap: wrap; gap: .9rem; }
.hero__chips {
  margin-top: clamp(1.8rem, 3vw, 2.6rem);
  display: flex; flex-wrap: wrap; gap: .6rem 1.4rem;
  list-style: none; padding: 0;
}
.hero__chips li {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .92rem; color: #C9D6EA; font-weight: 500;
}
.hero__chips svg { width: 18px; height: 18px; color: var(--cyan); flex: none; }

/* Hero — визуальная панель «финансовый порядок» */
.hero__visual { position: relative; }
.report-card {
  background: #fff;
  color: var(--ink);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: clamp(1.1rem, 1.6vw, 1.6rem);
  position: relative;
  z-index: 2;
}
.report-card__top {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 1rem; border-bottom: 1px solid var(--line);
}
.report-card__title { font-weight: 800; font-size: 1.02rem; letter-spacing: -0.01em; }
.report-card__title span { display: block; font-family: var(--font-mono); font-size: .68rem; color: var(--muted-soft); letter-spacing: .06em; text-transform: uppercase; margin-top: 2px; }
.badge-ok {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--font-mono); font-size: .74rem; font-weight: 600;
  color: var(--ok); background: rgba(23,166,123,.1);
  padding: .35rem .6rem; border-radius: var(--r-pill);
}
.badge-ok::before { content:""; width:7px; height:7px; border-radius:50%; background: var(--ok); }
.report-rows { list-style: none; padding: .9rem 0 0; margin: 0; display: grid; gap: .7rem; }
.report-rows li { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1rem; font-size: .9rem; }
.report-rows .lbl { color: var(--muted); }
.report-rows .val { font-family: var(--font-mono); font-weight: 600; font-variant-numeric: tabular-nums; }
.report-rows .val.done { color: var(--ok); }
.report-bar {
  margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--line);
  display: flex; align-items: flex-end; gap: .5rem; height: 84px;
}
.report-bar i {
  flex: 1; border-radius: 6px 6px 3px 3px;
  background: linear-gradient(180deg, var(--accent), #6EA0FF);
  opacity: .9;
  animation: barGrow .9s cubic-bezier(.2,.7,.3,1) backwards;
}
.report-bar i:nth-child(1){ height: 40%; animation-delay:.05s; background: linear-gradient(180deg,#9DBEFF,#C9DAFF);}
.report-bar i:nth-child(2){ height: 62%; animation-delay:.12s; background: linear-gradient(180deg,#9DBEFF,#C9DAFF);}
.report-bar i:nth-child(3){ height: 52%; animation-delay:.19s; background: linear-gradient(180deg,#9DBEFF,#C9DAFF);}
.report-bar i:nth-child(4){ height: 78%; animation-delay:.26s;}
.report-bar i:nth-child(5){ height: 92%; animation-delay:.33s;}
.report-bar i:nth-child(6){ height: 68%; animation-delay:.40s; background: linear-gradient(180deg,#9DBEFF,#C9DAFF);}
@keyframes barGrow { from { height: 0; opacity: 0; } }

.float-chip {
  position: absolute; z-index: 3;
  background: #fff; color: var(--ink);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  padding: .7rem .9rem;
  display: flex; align-items: center; gap: .6rem;
  font-size: .84rem; font-weight: 600;
  border: 1px solid var(--line);
}
.float-chip svg { width: 20px; height: 20px; flex: none; }
.float-chip--a { top: -1.1rem; left: -1.1rem; }
.float-chip--a svg { color: var(--accent); }
.float-chip--b { bottom: -1.1rem; right: -.6rem; }
.float-chip--b svg { color: var(--ok); }

/* ---------- Полоса доверия ---------- */
.trust {
  border-top: 1px solid rgba(159,196,255,.16);
  background: var(--navy-900);
  color: #C4D2E8;
}
.trust__inner {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: .75rem clamp(1.2rem, 4vw, 3rem);
  padding-block: clamp(1.1rem, 2.4vw, 1.6rem);
  font-family: var(--font-mono);
  font-size: .82rem; letter-spacing: .04em;
}
.trust__inner span { display: inline-flex; align-items: center; gap: .55rem; }
.trust__inner span b { color: #fff; font-weight: 600; }
.trust__dot { width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); opacity: .8; }

/* ---------- Карточки услуг (основные тарифы) ---------- */
.tariffs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: var(--stack);
}
.tariff {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.3rem, 2vw, 1.9rem);
  display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  position: relative;
  overflow: hidden;
}
.tariff::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--cyan));
  opacity: 0; transition: opacity .2s ease;
}
.tariff:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.tariff:hover::before { opacity: 1; }
.tariff__num {
  font-family: var(--font-mono); font-size: .78rem; color: var(--accent);
  letter-spacing: .1em; font-weight: 600;
}
.tariff__name {
  font-weight: 800; font-size: clamp(1.2rem, 1vw + 1rem, 1.42rem);
  letter-spacing: -0.01em; margin-top: .5rem; line-height: 1.2;
}
.tariff__desc { color: var(--muted); font-size: .95rem; margin-top: .7rem; }
.tariff__list { list-style: none; padding: 0; margin: 1.15rem 0 0; display: grid; gap: .55rem; }
.tariff__list li { display: grid; grid-template-columns: 1fr auto; gap: .8rem; align-items: baseline; font-size: .92rem; }
.tariff__list .k { color: var(--ink); }
.tariff__list .p { font-family: var(--font-mono); font-weight: 600; color: var(--navy); white-space: nowrap; font-variant-numeric: tabular-nums; }
.tariff__foot {
  margin-top: auto; padding-top: 1.25rem;
}
.tariff__price {
  display: flex; align-items: baseline; gap: .4rem; margin-bottom: 1rem;
  padding-top: 1.1rem; border-top: 1px dashed var(--line-strong);
}
.tariff__price .from { font-family: var(--font-mono); font-size: .78rem; color: var(--muted-soft); text-transform: uppercase; letter-spacing: .08em; }
.tariff__price .amount { font-family: var(--font-mono); font-weight: 700; font-size: 1.5rem; color: var(--navy); font-variant-numeric: tabular-nums; }
.tariff__price .per { font-size: .85rem; color: var(--muted); }

/* ---------- Доп. услуги (сетка) ---------- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: var(--stack);
  margin-top: clamp(2rem, 4vw, 3rem);
}
.svc {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 1.35rem; display: flex; flex-direction: column; gap: .55rem;
  transition: border-color .2s ease, transform .2s ease;
}
.svc:hover { border-color: var(--accent); transform: translateY(-3px); }
.svc__icon {
  width: 42px; height: 42px; border-radius: 12px; flex: none;
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; margin-bottom: .3rem;
}
.svc__icon svg { width: 22px; height: 22px; }
.svc h3 { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.01em; }
.svc p { color: var(--muted); font-size: .9rem; }
.svc .price {
  margin-top: auto; padding-top: .6rem;
  font-family: var(--font-mono); font-weight: 600; color: var(--navy); font-size: .92rem;
  font-variant-numeric: tabular-nums;
}
.svc .price.free { color: var(--ok); }

/* Блок «отраслевой учёт» */
.niche-head { margin-top: clamp(2.5rem, 5vw, 4rem); }
.niche-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: var(--stack); margin-top: clamp(1.4rem, 3vw, 2rem);
}
.niche {
  border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 1.4rem; background: linear-gradient(180deg, #fff, var(--mist));
  display: flex; flex-direction: column; gap: .5rem;
  transition: transform .2s ease, box-shadow .2s ease;
}
.niche:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.niche__tag {
  font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase;
  letter-spacing: .1em; color: var(--accent); font-weight: 600;
}
.niche h3 { font-size: 1.12rem; font-weight: 800; letter-spacing: -0.01em; }
.niche p { font-size: .9rem; color: var(--muted); }
.niche .price { margin-top: auto; padding-top: .5rem; font-family: var(--font-mono); font-weight: 600; color: var(--navy); font-size: .9rem; }

.note-inline {
  margin-top: clamp(1.6rem, 3vw, 2.2rem);
  font-size: .92rem; color: var(--muted);
  background: var(--accent-soft); border: 1px solid #D5E2FF;
  border-radius: var(--r-md); padding: 1rem 1.2rem;
  display: flex; gap: .7rem; align-items: flex-start;
}
.note-inline svg { width: 20px; height: 20px; color: var(--accent); flex: none; margin-top: 2px; }

/* ---------- Для кого (аудитория) ---------- */
.who {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}
.who__panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.4rem, 2.2vw, 2rem);
}
.who__panel h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 1.1rem; letter-spacing: -0.01em; }
.taglist { display: flex; flex-wrap: wrap; gap: .55rem; padding: 0; margin: 0; list-style: none; }
.taglist li {
  font-size: .88rem; font-weight: 600; color: var(--navy);
  background: var(--mist); border: 1px solid var(--line);
  padding: .5rem .85rem; border-radius: var(--r-pill);
}
.taglist.accent li { background: var(--accent-soft); border-color: #D5E2FF; color: var(--accent-600); }
.who__block + .who__block { margin-top: 1.6rem; }
.who__block h4 {
  font-family: var(--font-mono); font-size: .74rem; text-transform: uppercase;
  letter-spacing: .1em; color: var(--muted-soft); font-weight: 600; margin-bottom: .8rem;
}
.audience-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.audience-list li { display: flex; gap: .7rem; align-items: flex-start; font-size: .95rem; }
.audience-list svg { width: 20px; height: 20px; color: var(--accent); flex: none; margin-top: 2px; }
.who__exclude {
  margin-top: 1.5rem; font-size: .88rem; color: var(--muted);
  border-top: 1px dashed var(--line-strong); padding-top: 1rem;
}
.who__exclude b { color: var(--ink); font-weight: 700; }

/* ---------- Принципы ---------- */
.principles {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: var(--stack);
}
.principle {
  border-radius: var(--r-md); padding: 1.5rem;
  background: rgba(255,255,255,.04); border: 1px solid rgba(159,196,255,.16);
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.principle:hover { background: rgba(46,107,255,.1); border-color: rgba(127,176,255,.4); transform: translateY(-3px); }
.principle__n {
  font-family: var(--font-mono); font-size: .8rem; color: var(--cyan);
  letter-spacing: .1em; font-weight: 600;
}
.principle h3 { margin-top: .7rem; font-size: 1.14rem; font-weight: 800; color: #fff; letter-spacing: -0.01em; }
.principle p { margin-top: .5rem; font-size: .93rem; color: #A9B7CE; }

/* ---------- О специалисте ---------- */
.about {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
.about__card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.5rem, 2.4vw, 2.2rem); box-shadow: var(--shadow-sm);
  position: sticky; top: 92px;
}
.about__mark {
  width: 88px; height: 88px; border-radius: 22px; margin-bottom: 1.3rem;
}
.about__card h3 { font-size: 1.4rem; font-weight: 800; letter-spacing: -0.02em; }
.about__card .role { font-family: var(--font-mono); font-size: .78rem; color: var(--accent); letter-spacing: .06em; text-transform: uppercase; margin-top: .3rem; }
.about__card p { color: var(--muted); font-size: .95rem; margin-top: 1rem; }
.about__stats { display: flex; gap: 1.5rem; margin-top: 1.5rem; padding-top: 1.3rem; border-top: 1px solid var(--line); flex-wrap: wrap; }
.about__stat .num { font-family: var(--font-mono); font-weight: 700; font-size: 1.6rem; color: var(--navy); line-height: 1; }
.about__stat .cap { font-size: .8rem; color: var(--muted); margin-top: .35rem; }
.tools { margin-top: 1.5rem; }
.tools h4 { font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted-soft); margin-bottom: .7rem; }
.tools ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.tools li { font-size: .82rem; font-weight: 600; color: var(--navy); background: var(--mist); border: 1px solid var(--line); padding: .4rem .7rem; border-radius: 8px; }

.edu { }
.edu h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 1.5rem; letter-spacing: -0.01em; }
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px;
  background: linear-gradient(180deg, var(--accent), var(--line)); border-radius: 2px;
}
.timeline li { position: relative; padding: 0 0 1.5rem 2.4rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: 3px; top: 5px; width: 14px; height: 14px;
  border-radius: 50%; background: #fff; border: 3px solid var(--accent);
}
.timeline .year { font-family: var(--font-mono); font-size: .78rem; font-weight: 600; color: var(--accent); }
.timeline .ttl { display: block; font-weight: 700; margin-top: .2rem; font-size: .98rem; }
.timeline .org { display: block; color: var(--muted); font-size: .88rem; margin-top: .15rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 52rem; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; text-align: left; background: none; border: none;
  padding: 1.3rem 3rem 1.3rem 0; position: relative;
  font-weight: 700; font-size: clamp(1rem, .6vw + .9rem, 1.15rem);
  color: var(--ink); display: flex; letter-spacing: -0.01em;
}
.faq__q::after {
  content: ""; position: absolute; right: .3rem; top: 50%;
  width: 12px; height: 12px; margin-top: -6px;
  border-right: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent);
  transform: rotate(45deg); transition: transform .25s ease;
}
.faq__item.open .faq__q::after { transform: rotate(-135deg); }
.faq__a { overflow: hidden; max-height: 0; transition: max-height .3s ease; }
.faq__a p { padding: 0 2rem 1.4rem 0; color: var(--muted); font-size: .98rem; }

/* ---------- CTA / Заявка ---------- */
.contact {
  background:
    radial-gradient(100% 120% at 100% 0%, #123A6B 0%, var(--navy-900) 55%, #081428 100%);
  color: #EAF0FA;
}
.contact__layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}
.contact h2.section-title { color: #fff; font-family: var(--font-display); font-weight: 700; }
.contact .lead { color: #B9C7DE; }
.contact-methods { margin-top: 2rem; display: grid; gap: .8rem; }
.cmethod {
  display: flex; align-items: center; gap: .9rem;
  padding: 1rem 1.15rem; border-radius: var(--r-md);
  background: rgba(255,255,255,.05); border: 1px solid rgba(159,196,255,.18);
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.cmethod:hover { background: rgba(46,107,255,.14); border-color: rgba(127,176,255,.42); transform: translateX(3px); }
.cmethod__ico { width: 42px; height: 42px; border-radius: 12px; flex: none; display: grid; place-items: center; background: rgba(46,107,255,.16); color: #9FC4FF; }
.cmethod__ico svg { width: 22px; height: 22px; }
.cmethod__meta { display: flex; flex-direction: column; }
.cmethod__meta .lbl { font-family: var(--font-mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: #8FA4C4; }
.cmethod__meta .val { font-weight: 700; font-size: 1.02rem; color: #fff; }

/* Форма */
.form-card {
  background: #fff; color: var(--ink);
  border-radius: var(--r-lg); padding: clamp(1.5rem, 2.4vw, 2.2rem);
  box-shadow: var(--shadow-lg);
}
.form-card h3 { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.02em; }
.form-card p.hint { color: var(--muted); font-size: .92rem; margin-top: .5rem; }
.field { margin-top: 1.1rem; }
.field label { display: block; font-size: .84rem; font-weight: 700; margin-bottom: .45rem; color: var(--ink); }
.field label .opt { font-weight: 500; color: var(--muted-soft); }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; color: var(--ink);
  padding: .85rem 1rem; border: 1.5px solid var(--line-strong);
  border-radius: var(--r-sm); background: #fff;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(46,107,255,.14);
}
.field .err { display: none; color: #D1435B; font-size: .8rem; margin-top: .4rem; font-weight: 600; }
.field.invalid input, .field.invalid select { border-color: #E4718A; }
.field.invalid .err { display: block; }
.form-card__submit { margin-top: 1.4rem; }
.form-consent { margin-top: .9rem; font-size: .78rem; color: var(--muted-soft); line-height: 1.5; }
.form-consent a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.form-alt { margin-top: 1.1rem; text-align: center; font-size: .85rem; color: var(--muted); }
.form-alt a { color: var(--accent); font-weight: 700; }

/* ---------- Подвал ---------- */
.footer { background: #081428; color: #8FA0BC; padding-block: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 3vw, 2rem); }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.footer .brand__name { color: #fff; }
.footer .brand__role { color: #7183A2; }
.footer__about { margin-top: 1rem; font-size: .9rem; max-width: 24rem; line-height: 1.6; }
.footer__col h5 { font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: #6E82A3; margin-bottom: 1rem; }
.footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.footer__col a { font-size: .92rem; color: #A8B7D1; transition: color .18s ease; }
.footer__col a:hover { color: #fff; }
.footer__socials { display: flex; gap: .7rem; margin-top: 1.2rem; }
.footer__socials a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); color: #C4D2E8; transition: background .2s ease, transform .2s ease; }
.footer__socials a:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }
.footer__socials svg { width: 20px; height: 20px; }
.footer__bottom {
  margin-top: clamp(2rem, 4vw, 3rem); padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  font-size: .82rem; color: #6E82A3;
}
.footer__bottom a { color: #8FA0BC; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Модалка «спасибо» ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(1.5rem + env(safe-area-inset-bottom));
  transform: translateX(-50%) translateY(120%);
  background: var(--ink); color: #fff; padding: .9rem 1.3rem; border-radius: var(--r-pill);
  box-shadow: var(--shadow-lg); font-weight: 600; font-size: .92rem; z-index: 200;
  display: flex; align-items: center; gap: .6rem; transition: transform .35s cubic-bezier(.2,.8,.3,1);
  max-width: calc(100vw - 2rem);
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast svg { width: 20px; height: 20px; color: #4ADE80; flex: none; }

/* ---------- Reveal-анимация ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Адаптив ---------- */
@media (max-width: 980px) {
  .hero__layout { grid-template-columns: 1fr; gap: 3rem; }
  .hero__visual { max-width: 30rem; margin-inline: auto; width: 100%; }
  .who { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
  .about__card { position: static; }
  .contact__layout { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  :root { scroll-padding-top: 72px; }
  .nav__links, .nav__cta { display: none; }
  .burger { display: inline-flex; }

  /* мобильное меню */
  .nav {
    position: fixed; top: calc(72px + env(safe-area-inset-top)); right: 0; left: auto; bottom: auto;
    width: min(84vw, 340px);
    height: calc(100vh - 72px - env(safe-area-inset-top));
    height: calc(100dvh - 72px - env(safe-area-inset-top));
    background: #fff; flex-direction: column; align-items: stretch; justify-content: flex-start;
    padding: 1.5rem 1.6rem 2rem; gap: 0;
    transform: translateX(100%); transition: transform .32s cubic-bezier(.3,.8,.3,1);
    box-shadow: var(--shadow-lg); z-index: 90; overflow-y: auto;
  }
  .nav.open { transform: none; }
  .nav__links { display: flex; flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .nav__links a { padding: 1rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; color: var(--ink); }
  .nav__links a::after { display: none; }
  .nav__cta { display: inline-flex; margin-top: 1.4rem; width: 100%; }
  .nav__cta .btn { width: 100%; }
  .nav-backdrop {
    position: fixed; inset: 0; background: rgba(8,20,40,.5); z-index: 80;
    opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease;
    backdrop-filter: blur(2px);
  }
  .nav-backdrop.show { opacity: 1; visibility: visible; }

  .footer__top { grid-template-columns: 1fr; gap: 1.8rem; }
  .hero__cta .btn { flex: 1 1 auto; }
}

@media (max-width: 420px) {
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; }
  .float-chip { display: none; }        /* убираем плавающие чипы на очень узких экранах */
  .about__stats { gap: 1.2rem; }
  .report-bar { height: 68px; }
}

/* Очень большие экраны / ТВ */
@media (min-width: 1600px) {
  :root { --maxw: 1320px; }
  body { font-size: 1.08rem; }
}

/* Уважение к prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =================================================================
   ДОПОЛНЕНИЯ v2: фото, отзывы, модалка, CTA-баннеры, юр. страницы
   ================================================================= */

/* ---------- CTA-баннер после секций ---------- */
.section-cta {
  margin-top: clamp(2.2rem, 4vw, 3.2rem);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1.2rem;
  padding: clamp(1.4rem, 2.6vw, 2rem) clamp(1.4rem, 3vw, 2.4rem);
  border-radius: var(--r-lg);
  background: linear-gradient(120deg, #0E2C57, var(--navy-900));
  color: #EAF0FA;
  position: relative; overflow: hidden;
}
.section-cta::after {
  content:""; position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(120,160,230,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120,160,230,.08) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(80% 120% at 100% 0%, #000, transparent 70%);
  -webkit-mask-image: radial-gradient(80% 120% at 100% 0%, #000, transparent 70%);
  pointer-events: none;
}
.section-cta__text { position: relative; z-index: 1; }
.section-cta__text strong { display: block; font-size: clamp(1.1rem, 1.3vw + .8rem, 1.4rem); font-weight: 800; letter-spacing: -0.01em; }
.section-cta__text span { color: #A9B7CE; font-size: .95rem; }
.section-cta .btn { position: relative; z-index: 1; flex: none; }
.section--mist .section-cta { color: #EAF0FA; }

/* ---------- Фото специалиста ---------- */
.photo-frame {
  position: relative; width: 100%; aspect-ratio: 4 / 5;
  border-radius: var(--r-lg); overflow: hidden; margin-bottom: 1.4rem;
  background: linear-gradient(160deg, #17335F, var(--navy-900));
  display: grid; place-items: center;
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-frame__ph {
  position: absolute; inset: 0; display: none;
  flex-direction: column; align-items: center; justify-content: center; gap: .8rem;
  color: #7FB0FF; text-align: center; padding: 1rem;
}
.photo-frame.no-photo .photo-frame__ph { display: flex; }
.photo-frame.no-photo img { display: none; }
.photo-frame__ph svg { width: 54px; height: 54px; opacity: .8; }
.photo-frame__ph span { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .06em; color: #90A6C8; text-transform: uppercase; }

/* ---------- Отзывы ---------- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: var(--stack);
  align-items: start;
}
.review {
  border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden;
  background: #fff; cursor: pointer; position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
}
.review:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.review__img { position: relative; background: var(--mist-2); }
.review__img img { width: 100%; height: auto; display: block; }
/* пока реального фото нет — держим форму рамки под плейсхолдер */
.review.no-photo .review__img { aspect-ratio: 3 / 4; display: grid; place-items: center; }
.review__ph { position: absolute; inset: 0; display: none; flex-direction: column; align-items: center; justify-content: center; gap: .7rem; color: var(--muted-soft); padding: 1rem; text-align: center; }
.review.no-photo { cursor: default; }
.review.no-photo:hover { transform: none; box-shadow: none; }
.review.no-photo .review__ph { display: flex; }
.review.no-photo .review__img img { display: none; }
.review__ph svg { width: 40px; height: 40px; opacity: .6; }
.review__ph b { font-size: .9rem; color: var(--muted); }
.review__ph small { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; }
.review__zoom {
  position: absolute; right: .7rem; bottom: .7rem; width: 34px; height: 34px;
  border-radius: 9px; background: rgba(12,27,51,.7); color: #fff;
  display: grid; place-items: center; opacity: 0; transition: opacity .2s ease;
  backdrop-filter: blur(4px);
}
.review:hover .review__zoom { opacity: 1; }
.review.no-photo .review__zoom { display: none; }
.review__zoom svg { width: 16px; height: 16px; }

/* Лайтбокс */
.lightbox {
  position: fixed; inset: 0; z-index: 300; display: none;
  align-items: center; justify-content: center; padding: clamp(1rem, 4vw, 3rem);
  background: rgba(6,16,32,.9); backdrop-filter: blur(6px);
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 88vh; border-radius: var(--r-md); box-shadow: var(--shadow-lg); }
.lightbox__close {
  position: absolute; top: calc(1rem + env(safe-area-inset-top)); right: 1rem;
  width: 48px; height: 48px; border-radius: 50%; border: none;
  background: rgba(255,255,255,.12); color: #fff; font-size: 1.6rem; line-height: 1;
  display: grid; place-items: center;
}
.lightbox__close:hover { background: rgba(255,255,255,.22); }

/* ---------- Модальное окно записи ---------- */
.modal { position: fixed; inset: 0; z-index: 250; display: none; }
.modal.open { display: block; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(6,16,32,.62); backdrop-filter: blur(4px); animation: fadeIn .2s ease; }
.modal__dialog {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(100% - 2rem, 460px); max-height: calc(100vh - 2rem); overflow-y: auto;
  background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  padding: clamp(1.5rem, 3vw, 2.2rem); animation: modalIn .28s cubic-bezier(.2,.8,.3,1);
}
@keyframes fadeIn { from { opacity: 0; } }
@keyframes modalIn { from { opacity: 0; transform: translate(-50%, -46%) scale(.97); } }
.modal__close {
  position: absolute; top: .9rem; right: .9rem; width: 40px; height: 40px;
  border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--muted);
  font-size: 1.4rem; line-height: 1; display: grid; place-items: center;
}
.modal__close:hover { background: var(--mist); color: var(--ink); }
.modal__dialog h3 { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.02em; padding-right: 2rem; }
.modal__dialog .hint { color: var(--muted); font-size: .92rem; margin-top: .5rem; }

/* Состояния формы */
.form-success, .form-error { display: none; border-radius: var(--r-md); padding: 1rem 1.2rem; margin-top: 1.1rem; font-size: .95rem; align-items: flex-start; gap: .7rem; }
.form-success.show, .form-error.show { display: flex; }
.form-success { background: rgba(23,166,123,.1); border: 1px solid rgba(23,166,123,.3); color: #0E6B4E; }
.form-error { background: rgba(209,67,91,.08); border: 1px solid rgba(209,67,91,.3); color: #B13049; }
.form-success svg, .form-error svg { width: 20px; height: 20px; flex: none; margin-top: 2px; }
.btn.is-loading { opacity: .75; pointer-events: none; }
.btn.is-loading::after { content:""; width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Юридические страницы ---------- */
.legal-hero {
  background: linear-gradient(120deg, #10305C, var(--navy-900));
  color: #EAF0FA; padding-block: clamp(2.5rem, 6vw, 4rem);
}
.legal-hero a.back { display: inline-flex; align-items: center; gap: .5rem; color: #9FC4FF; font-weight: 600; font-size: .92rem; margin-bottom: 1.2rem; }
.legal-hero a.back:hover { color: #fff; }
.legal-hero h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.7rem, 2.4vw + 1rem, 2.8rem); letter-spacing: -0.02em; line-height: 1.1; }
.legal-hero p { color: #A9B7CE; margin-top: .8rem; font-family: var(--font-mono); font-size: .82rem; letter-spacing: .04em; }
.legal { max-width: 50rem; margin-inline: auto; padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.legal h2 { font-size: clamp(1.2rem, 1.2vw + .9rem, 1.5rem); font-weight: 800; letter-spacing: -0.01em; margin: 2.2rem 0 .9rem; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 1.05rem; font-weight: 700; margin: 1.4rem 0 .6rem; }
.legal p, .legal li { color: #34405A; font-size: 1rem; line-height: 1.7; }
.legal p { margin-bottom: .9rem; }
.legal ul, .legal ol { margin: 0 0 1rem 1.2rem; display: grid; gap: .5rem; }
.legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.legal .muted { color: var(--muted); font-size: .9rem; }
.legal .callout { background: var(--accent-soft); border: 1px solid #D5E2FF; border-radius: var(--r-md); padding: 1rem 1.2rem; margin: 1.2rem 0; }

/* ---------- Адаптив дополнений ---------- */
@media (max-width: 640px) {
  .section-cta { flex-direction: column; align-items: flex-start; }
  .section-cta .btn { width: 100%; }
}
