/* ==========================================================================
   WAYA Finance — стили. Токены перенесены из дизайна (wayafinance.pen).
   ========================================================================== */

/* ---------- Шрифты (self-hosted, variable) ----------
   Plus Jakarta Sans не содержит кириллицы, поэтому для кириллических символов
   заголовочное семейство берёт глифы Manrope (близкий геометрический гротеск). */
@font-face { font-family: "WAYA Heading"; font-weight: 200 800; font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin-wght-normal.7660bd9909fb.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: "WAYA Heading"; font-weight: 200 800; font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin-ext-wght-normal.341687eeeb6a.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "WAYA Heading"; font-weight: 200 800; font-display: swap;
  src: url("../fonts/manrope-cyrillic-wght-normal.e58febde317b.woff2") format("woff2-variations");
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "WAYA Heading"; font-weight: 200 800; font-display: swap;
  src: url("../fonts/manrope-cyrillic-ext-wght-normal.4cdf0bed0838.woff2") format("woff2-variations");
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F; }

@font-face { font-family: "Inter"; font-weight: 100 900; font-display: swap;
  src: url("../fonts/inter-latin-wght-normal.260c81a4759b.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: "Inter"; font-weight: 100 900; font-display: swap;
  src: url("../fonts/inter-latin-ext-wght-normal.1ad231aac0a8.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Inter"; font-weight: 100 900; font-display: swap;
  src: url("../fonts/inter-cyrillic-wght-normal.de93fdc85e3d.woff2") format("woff2-variations");
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Inter"; font-weight: 100 900; font-display: swap;
  src: url("../fonts/inter-cyrillic-ext-wght-normal.251d36f2b5a6.woff2") format("woff2-variations");
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F; }

/* ---------- Токены ---------- */
:root {
  --bg: #FFFFFF;
  --surface: #F4F9F5;
  --surface-2: #E8F3EB;
  --ink: #0C1F16;
  --ink-2: #57685F;
  --ink-3: #8D9C94;
  --border: #E4EBE6;
  --accent: #80F89A;
  --accent-hover: #6BEF88;
  --accent-dark: #0C7A3F;
  --accent-soft: #E4FDEC;
  --accent-mint: #7BE3A8;
  --gold: #B98A2E;
  --gold-soft: #FBF4E6;
  --blue: #2F6FD0; --blue-soft: #EAF1FD;
  --violet: #6E4FB8; --violet-soft: #F2EDFB;
  --danger: #B42318; --danger-soft: #FDECEA;
  --dark: #07261A;
  --dark-2: #0D3524;
  --on-dark: #F2F7F5;
  --on-dark-2: #A9C9B6;
  --font-h: "WAYA Heading", "Manrope", "Inter", system-ui, sans-serif;
  --font-b: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r-sm: 12px; --r-md: 18px; --r-lg: 26px; --r-pill: 999px;
  --gutter: 48px;
  --container: 1440px;
  --shadow-card: 0 8px 24px -4px rgba(11, 43, 34, .16);
  --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: 90px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-b); font-size: 15px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-h); margin: 0; color: var(--ink); }
p { margin: 0; }
ul { margin: 0; padding: 0; }
.icon { flex: none; display: inline-block; vertical-align: middle; }
:focus-visible { outline: 2px solid var(--accent-dark); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-pill); }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.container--narrow { max-width: 920px; }
.muted { color: var(--ink-2); }
.small { font-size: 13.5px; }

/* ---------- Кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: var(--r-pill);
  font-family: var(--font-b); font-weight: 600; font-size: 14px; line-height: 1.2; padding: 11px 20px; white-space: nowrap;
  transition: background .2s var(--ease), color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: var(--ink); }
.btn--primary:hover { background: var(--accent-hover); box-shadow: 0 6px 18px -6px rgba(12,122,63,.45); }
.btn--outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--border); }
.btn--outline:hover { box-shadow: inset 0 0 0 1.5px var(--ink-3); }
.btn--muted { color: var(--ink-2); }
.btn--dark { background: var(--dark); color: #fff; font-weight: 700; }
.btn--dark:hover { background: var(--dark-2); }
.btn--white { background: #fff; color: var(--dark); font-weight: 700; }
.btn--white:hover { background: var(--accent-soft); }
.btn--ghost-dark { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.24); }
.btn--ghost-dark:hover { box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.6); }
.btn--danger { background: transparent; color: var(--danger); box-shadow: inset 0 0 0 1.5px #F3C5C0; }
.btn--lg { font-size: 16px; padding: 17px 30px; gap: 9px; font-weight: 700; }
.btn--lg.btn--outline { font-weight: 600; padding: 17px 26px; }
.btn--md { font-size: 15px; padding: 15px 28px; }
.btn--sm { font-size: 13px; padding: 8px 14px; }
.btn--block { width: 100%; }
.btn.is-active { background: var(--accent-soft); color: var(--accent-dark); box-shadow: inset 0 0 0 1.5px #BDEFCD; }
.icon-btn { width: 38px; height: 38px; border-radius: 50%; display: inline-grid; place-items: center; border: 0; background: transparent;
  color: var(--ink-3); box-shadow: inset 0 0 0 1.5px var(--border); transition: color .2s, box-shadow .2s, background .2s; }
.icon-btn:hover { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink-3); }
.icon-btn.is-active { color: var(--accent-dark); background: var(--accent-soft); box-shadow: inset 0 0 0 1.5px #BDEFCD; }
.link { color: var(--accent-dark); font-weight: 600; display: inline-flex; align-items: center; gap: 7px; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Объявление ---------- */
.announce { background: var(--dark); color: #fff; font-size: 13.5px; }
.announce__inner { display: flex; gap: 8px; justify-content: center; align-items: center; padding-top: 10px; padding-bottom: 10px; text-align: center; flex-wrap: wrap; }
.announce a { color: var(--accent-mint); font-weight: 700; }
.announce a:hover { text-decoration: underline; }

/* ---------- Шапка ---------- */
.header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--border); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 16px; padding-bottom: 16px; }
.logo { font-family: var(--font-h); font-weight: 800; font-size: 25px; letter-spacing: -.6px; color: var(--ink); line-height: 1; }
.logo--light { color: #fff; }
.hsearch { width: 300px; display: flex; align-items: center; gap: 9px; background: var(--surface); border-radius: var(--r-pill); padding: 0 16px;
  transition: box-shadow .2s; }
.hsearch:focus-within { box-shadow: inset 0 0 0 1.5px var(--accent-dark); background: #fff; }
.hsearch .icon { color: var(--ink-3); }
.hsearch input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 13.5px; padding: 10px 0; color: var(--ink); outline: none; }
.hsearch input::placeholder { color: var(--ink-3); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font-size: 14.5px; font-weight: 500; color: var(--ink-2); transition: color .2s; position: relative; }
.nav a:hover, .nav a.is-active { color: var(--ink); }
.nav a.is-active { font-weight: 600; }
.header__actions { display: flex; align-items: center; gap: 14px; }
.header__login { font-size: 14px; font-weight: 600; }
.header__login:hover { color: var(--accent-dark); }
.compare-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-2); padding: 7px 11px;
  border-radius: var(--r-sm); box-shadow: inset 0 0 0 1px var(--border); }
.compare-pill b { background: var(--accent); color: var(--ink); border-radius: 99px; min-width: 18px; height: 18px; display: inline-grid; place-items: center; font-size: 11px; padding: 0 5px; }
.compare-pill[hidden] { display: none; }

.lang { position: relative; }
.lang__btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: var(--r-sm); border: 0; background: transparent;
  box-shadow: inset 0 0 0 1px var(--border); color: var(--ink-2); font-weight: 600; font-size: 13px; }
.lang__btn:hover { color: var(--ink); }
.lang__menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 180px; background: #fff; border-radius: var(--r-sm);
  box-shadow: 0 12px 32px -8px rgba(11,43,34,.22), 0 0 0 1px var(--border); padding: 6px; display: none; z-index: 50; }
.lang.is-open .lang__menu { display: block; }
.lang__menu button { width: 100%; text-align: left; border: 0; background: transparent; padding: 9px 12px; border-radius: 8px; font-size: 14px;
  display: flex; justify-content: space-between; align-items: center; }
.lang__menu button:hover { background: var(--surface); }
.lang__menu button[aria-current="true"] { font-weight: 600; color: var(--accent-dark); }
.lang__note { font-size: 12px; color: var(--ink-3); padding: 8px 12px 4px; border-top: 1px solid var(--border); margin-top: 4px; }

.user-menu { position: relative; }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-dark); display: grid; place-items: center;
  font-weight: 800; font-family: var(--font-h); font-size: 15px; }

.burger { display: none; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--surface); place-items: center; }
.mnav { display: none; }

/* ---------- Секции ---------- */
.section { padding-top: 80px; padding-bottom: 80px; }
.section--surface { background: var(--surface); }
.section--tight { padding-top: 64px; padding-bottom: 64px; }
.section-head { max-width: 760px; margin: 0 auto 36px; text-align: center; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.section-title { font-size: 42px; font-weight: 800; letter-spacing: -1.3px; line-height: 1.12; }
.section-sub { font-size: 17px; line-height: 1.55; color: var(--ink-2); }
.split-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 32px; }
.split-head__text { max-width: 640px; display: flex; flex-direction: column; gap: 10px; }
.split-head .section-title { font-size: 40px; letter-spacing: -1.1px; }
.split-head .section-sub { font-size: 16px; }

/* ---------- Hero ---------- */
.hero { padding-top: 64px; padding-bottom: 72px; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) 560px; gap: 56px; align-items: center; }
.hero__left { display: flex; flex-direction: column; gap: 24px; }
.trust { display: flex; align-items: center; gap: 9px; color: var(--ink-2); font-size: 14px; font-weight: 500; }
.trust .icon { color: var(--accent-dark); }
.hero__title { font-size: 56px; font-weight: 800; letter-spacing: -1.8px; line-height: 1.12; }
.hero__title span { display: block; color: var(--accent-dark); }
.hero__sub { font-size: 18px; line-height: 1.6; color: var(--ink-2); max-width: 520px; }
.checks { list-style: none; display: flex; flex-direction: column; gap: 12px; padding: 4px 0; }
.checks li { display: flex; align-items: center; gap: 10px; font-size: 15.5px; }
.check-dot { width: 20px; height: 20px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-dark); display: grid; place-items: center; flex: none; }
.hero__cta { display: flex; gap: 14px; padding-top: 6px; flex-wrap: wrap; }
.hero__note { font-size: 13.5px; color: var(--ink-3); }
.hero__visual { position: relative; height: 520px; border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; }
.hero__visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 62%; }
.float-card { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px; background: rgba(255,255,255,.95); border-radius: var(--r-md);
  box-shadow: var(--shadow-card); transition: transform .25s var(--ease); }
.float-card:hover { transform: translateY(-2px); }
.float-card__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.float-card__title { font-weight: 700; font-size: 14.5px; }
.float-card__meta { font-size: 13px; color: var(--ink-2); }

.badge { display: inline-flex; align-items: center; gap: 5px; padding: 6px 10px; border-radius: var(--r-pill); background: var(--accent-soft); color: var(--accent-dark);
  font-size: 12px; font-weight: 600; white-space: nowrap; }
.badge--sm { padding: 4px 9px; }
.tag { display: inline-flex; padding: 5px 10px; border-radius: var(--r-pill); font-size: 12px; font-weight: 600; background: var(--surface); color: var(--ink-2); white-space: nowrap; }
.tag--accent { background: var(--accent-soft); color: var(--accent-dark); }
.tag--gold { background: var(--gold-soft); color: var(--gold); }
.tag--sm { font-size: 11.5px; padding: 4px 9px; }
a.tag:hover { filter: brightness(.97); }

/* ---------- Знак компании ---------- */
.mark { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; flex: none; font-family: var(--font-h); font-weight: 800; font-size: 15px;
  overflow: hidden; background: var(--accent-soft); color: var(--accent-dark); }
.mark img { width: 100%; height: 100%; object-fit: contain; padding: 6px; background: #fff; }
.mark--img { background: #fff; box-shadow: inset 0 0 0 1px var(--border); }
.mark--sq { border-radius: 12px; }
.mark--sq10 { border-radius: 10px; }
.mark--40 { width: 40px; height: 40px; font-size: 17px; }
.mark--34 { width: 34px; height: 34px; }
.mark--48 { width: 48px; height: 48px; font-size: 22px; }
.mark--72 { width: 72px; height: 72px; font-size: 28px; }
.mark--p1 { background: var(--accent-soft); color: var(--accent-dark); }
.mark--p2 { background: var(--blue-soft); color: var(--blue); }
.mark--p3 { background: var(--gold-soft); color: var(--gold); }
.mark--p0 { background: var(--violet-soft); color: var(--violet); }

/* ---------- Статистика ---------- */
.stats { background: var(--surface); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); padding-top: 44px; padding-bottom: 44px; gap: 16px; }
.stat { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.stat__value { font-family: var(--font-h); font-weight: 800; font-size: 40px; letter-spacing: -.8px; line-height: 1.1; }
.stat__label { font-size: 14.5px; color: var(--ink-2); line-height: 1.4; }

/* ---------- Слайдер категорий ---------- */
.slider { position: relative; }
.slider__track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none;
  padding: 4px var(--gutter) 8px; scroll-padding-left: var(--gutter); }
.slider__track::-webkit-scrollbar { display: none; }
.cat-card { flex: 0 0 300px; height: 340px; scroll-snap-align: start; border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 20px;
  color: #fff; position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 110% at 15% 12%, rgba(18,161,80,.22) 0%, rgba(11,43,34,0) 100%), linear-gradient(155deg, #16563E 0%, #0A241D 100%), #0B2B22;
  transition: transform .3s var(--ease), box-shadow .3s; }
.cat-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -16px rgba(7,38,26,.6); }
.cat-card__icon { width: 58px; height: 58px; border-radius: 50%; background: rgba(255,255,255,.1); color: var(--accent-mint); display: grid; place-items: center; }
.cat-card__text { display: flex; flex-direction: column; gap: 9px; margin-top: auto; }
.cat-card__title { font-family: var(--font-h); font-size: 24px; font-weight: 700; letter-spacing: -.5px; line-height: 1.2; color: #fff; }
.cat-card__desc { font-size: 15px; line-height: 1.5; color: var(--on-dark-2); }
.cat-card__foot { display: flex; justify-content: space-between; align-items: center; }
.cat-card__count { font-size: 14px; font-weight: 600; color: var(--on-dark-2); }
.cat-card__arrow { width: 38px; height: 38px; border-radius: 50%; background: #fff; color: var(--dark); display: grid; place-items: center; transition: transform .3s var(--ease); }
.cat-card:hover .cat-card__arrow { transform: translateX(3px); }
.slider__controls { display: flex; justify-content: space-between; align-items: center; margin-top: 36px; }
.progress { width: 240px; height: 4px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.progress__fill { height: 100%; width: 46%; background: var(--accent-dark); border-radius: 99px; transition: transform .2s linear, width .2s; transform-origin: left; }
.arrows { display: flex; gap: 10px; }
.arrow { width: 46px; height: 46px; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--ink); color: #fff; transition: opacity .2s, background .2s; }
.arrow:disabled { background: #fff; color: var(--ink-3); box-shadow: inset 0 0 0 1.5px var(--border); cursor: default; }

/* ---------- Шаги ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { background: #fff; border-radius: var(--r-md); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.step__num { width: 40px; height: 40px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; font-family: var(--font-h); font-weight: 800; font-size: 18px; }
.step__title { font-size: 21px; font-weight: 700; letter-spacing: -.4px; line-height: 1.3; }
.step__desc { font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.step__link { margin-top: auto; padding-top: 4px; font-size: 14px; }

/* ---------- Вкладки и список компаний ---------- */
.tabs { display: inline-flex; gap: 6px; padding: 5px; background: var(--surface); border-radius: var(--r-pill); flex-wrap: wrap; }
.tabs__btn { border: 0; background: transparent; padding: 10px 18px; border-radius: var(--r-pill); font-size: 13.5px; font-weight: 500; color: var(--ink-2); transition: background .2s, color .2s; }
.tabs__btn:hover { color: var(--ink); }
.tabs__btn[aria-selected="true"], .tabs__btn.is-active { background: #fff; color: var(--ink); font-weight: 700; box-shadow: 0 1px 2px rgba(11,43,34,.06); }
.tab-panel[hidden] { display: none; }
.rows { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.row-item { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-radius: var(--r-sm); background: #fff; box-shadow: inset 0 0 0 1.5px var(--border);
  transition: box-shadow .2s, transform .2s var(--ease); }
.row-item:hover { box-shadow: inset 0 0 0 1.5px var(--accent-dark); }
.row-item__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.row-item__name { display: flex; align-items: center; gap: 7px; font-weight: 700; font-size: 15.5px; }
.row-item__name .icon { color: var(--accent-dark); }
.row-item__cat { font-size: 13.5px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-item__value { font-size: 13.5px; font-weight: 600; color: var(--ink-2); text-align: right; }
.row-item__chev { color: var(--ink-3); }
.center { display: flex; justify-content: center; }
.see-all { padding-top: 40px; }

/* ---------- AI блок ---------- */
.ai { color: var(--on-dark); background: radial-gradient(80% 120% at 85% 10%, rgba(18,161,80,.22), rgba(7,38,26,0) 60%), linear-gradient(160deg, #0D3524 0%, #07261A 60%), var(--dark); }
.ai__grid { display: grid; grid-template-columns: minmax(0,1fr) 560px; gap: 64px; align-items: center; }
.ai__text { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.pill { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: var(--r-pill); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16);
  font-size: 13px; font-weight: 600; color: var(--on-dark-2); }
.pill .icon { color: var(--gold); }
.ai__title { color: var(--on-dark); font-size: 42px; font-weight: 800; letter-spacing: -1.2px; line-height: 1.12; }
.ai__desc { color: var(--on-dark-2); font-size: 17px; line-height: 1.6; max-width: 520px; }
.ai__features { list-style: none; display: flex; flex-direction: column; gap: 12px; padding-top: 6px; }
.ai__features li { display: flex; gap: 10px; align-items: center; font-size: 15px; }
.ai__features .icon { color: var(--accent); }
.chat { border-radius: var(--r-lg); padding: 22px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); display: flex; flex-direction: column; gap: 16px; }
.chat__user { background: rgba(255,255,255,.08); border-radius: var(--r-md); padding: 16px; font-size: 14.5px; line-height: 1.55; color: var(--on-dark); }
.chat__answer { display: flex; flex-direction: column; gap: 12px; }
.chat__head { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--on-dark-2); }
.chat__head .icon { color: var(--gold); }
.sug { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: var(--r-sm); background: rgba(255,255,255,.06); color: var(--on-dark); transition: background .2s; }
.sug:hover { background: rgba(255,255,255,.12); }
.sug .mark { background: rgba(255,255,255,.08); color: var(--on-dark); font-weight: 700; }
.sug .mark--img { box-shadow: none; }
.sug__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.sug__name { font-size: 14px; font-weight: 600; }
.sug__meta { font-size: 12.5px; color: var(--on-dark-2); }
.sug > .icon { color: var(--on-dark-2); }
.chat__input { display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 16px; border-radius: var(--r-pill); background: rgba(255,255,255,.08); }
.chat__input input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--on-dark); font: inherit; font-size: 14px; padding: 8px 0; outline: none; }
.chat__input input::placeholder { color: var(--on-dark-2); }
.send { width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--accent); color: var(--ink); display: grid; place-items: center; flex: none; }
.send:hover { background: var(--accent-hover); }

/* ---------- Новости ---------- */
.news-row { display: grid; grid-template-columns: minmax(0,1fr) 560px; gap: 24px; }
.feat { border-radius: var(--r-lg); overflow: hidden; box-shadow: inset 0 0 0 1px var(--border); display: flex; flex-direction: column; background: #fff; transition: box-shadow .2s; }
.feat:hover { box-shadow: inset 0 0 0 1px var(--ink-3); }
.feat__img { height: 280px; position: relative; overflow: hidden; }
.feat__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.feat:hover .feat__img img { transform: scale(1.03); }
.feat__body { padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13px; color: var(--ink-3); }
.feat__title { font-size: 26px; font-weight: 700; letter-spacing: -.6px; line-height: 1.25; }
.feat__excerpt { font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.news-col { display: flex; flex-direction: column; }
.news-item { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.news-item:first-child { padding-top: 0; }
.news-item:last-child { border-bottom: 0; }
.news-item__thumb { width: 96px; height: 82px; border-radius: var(--r-sm); overflow: hidden; flex: none; }
.news-item__thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-item__text { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.news-item .meta { font-size: 12.5px; gap: 8px; }
.news-item__title { font-family: var(--font-h); font-size: 17px; font-weight: 600; line-height: 1.35; transition: color .2s; }
.news-item:hover .news-item__title { color: var(--accent-dark); }
.cover-ph { width: 100%; height: 100%; display: grid; place-items: center; color: var(--accent-mint);
  background: radial-gradient(120% 110% at 15% 12%, rgba(18,161,80,.25), rgba(11,43,34,0)), linear-gradient(155deg, #16563E, #0A241D); }
.cover-ph--gold { color: #F4D38C; background: radial-gradient(120% 110% at 15% 12%, rgba(185,138,46,.35), rgba(11,43,34,0)), linear-gradient(155deg, #3A2E12, #1B160A); }

/* ---------- Партнёры ---------- */
.partners { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.partners__label { font-size: 14px; font-weight: 600; letter-spacing: .6px; color: var(--ink-3); text-align: center; }
.logo-row { width: 100%; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 16px; }
.plogo { display: inline-flex; align-items: center; gap: 9px; padding: 12px 18px; border-radius: var(--r-sm); color: var(--ink-2);
  font-family: var(--font-h); font-weight: 700; font-size: 17px; transition: color .2s, background .2s; }
.plogo:hover { color: var(--ink); background: #fff; }
.plogo__mark { width: 22px; height: 22px; border-radius: 7px; background: var(--ink-3); overflow: hidden; flex: none; color: #fff; font-size: 12px; display: grid; place-items: center; filter: grayscale(1); opacity: .75; transition: filter .2s, opacity .2s; }
.plogo__mark img { width: 100%; height: 100%; object-fit: cover; }
.plogo:hover .plogo__mark { filter: none; opacity: 1; }
.org { font-family: var(--font-h); font-weight: 700; font-size: 23px; letter-spacing: -.3px; color: #B6C2BC; transition: color .2s; }
.org:hover { color: var(--ink-2); }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 420px minmax(0,1fr); gap: 60px; }
.faq__left { display: flex; flex-direction: column; gap: 14px; }
.faq__title { font-size: 40px; font-weight: 800; letter-spacing: -1.2px; line-height: 1.15; }
.faq__sub { font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.faq__contact { padding-top: 8px; font-size: 15px; }
.faq__list { display: flex; flex-direction: column; gap: 12px; }
.qa { background: #fff; border-radius: var(--r-md); padding: 20px 24px; }
.qa summary { list-style: none; display: flex; gap: 16px; align-items: center; justify-content: space-between; cursor: pointer; font-size: 16.5px; font-weight: 600; line-height: 1.4; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .icon { color: var(--ink-3); }
.qa .i-minus { display: none; }
.qa[open] .i-minus { display: inline-block; }
.qa[open] .i-plus { display: none; }
.qa__a { padding-top: 12px; font-size: 15px; line-height: 1.65; color: var(--ink-2); }

/* ---------- CTA ---------- */
.cta-wrap { padding-top: 36px; padding-bottom: 72px; }
.cta { background: var(--dark); border-radius: var(--r-lg); padding: 64px 48px; display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; color: #fff;
  background: radial-gradient(60% 120% at 50% 0%, rgba(18,161,80,.22), rgba(7,38,26,0) 70%), var(--dark); }
.cta__title { color: #fff; font-size: 42px; font-weight: 800; letter-spacing: -1.3px; line-height: 1.15; max-width: 760px; }
.cta__sub { color: var(--on-dark-2); font-size: 17px; line-height: 1.6; max-width: 620px; }
.cta__buttons { display: flex; gap: 12px; padding-top: 8px; flex-wrap: wrap; justify-content: center; }
.cta .btn--ghost-dark { padding: 17px 28px; font-size: 16px; font-weight: 600; }

/* ---------- Подвал ---------- */
.footer { background: var(--dark); color: var(--on-dark-2); padding-top: 64px; padding-bottom: 32px; }
.footer__top { display: grid; grid-template-columns: 340px repeat(4, minmax(0,1fr)); gap: 64px; }
.footer__brand { display: flex; flex-direction: column; gap: 16px; }
.footer__desc { font-size: 14px; line-height: 1.6; }
.socials { display: flex; gap: 10px; padding-top: 4px; }
.social { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; display: grid; place-items: center; transition: background .2s; }
.social:hover { background: rgba(255,255,255,.18); }
.footer__col { display: flex; flex-direction: column; gap: 14px; }
.footer__col h3 { font-family: var(--font-b); font-size: 14px; font-weight: 700; color: #fff; }
.footer__col a { font-size: 14px; line-height: 1.5; transition: color .2s; }
.footer__col a:hover { color: #fff; }
.footer__bottom { margin-top: 44px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 13.5px; }
.langs { display: flex; gap: 8px; }
.langs button { border: 0; background: transparent; padding: 7px 14px; border-radius: var(--r-pill); font-size: 13.5px; font-weight: 500; color: var(--on-dark-2); }
.langs button[aria-current="true"] { background: rgba(255,255,255,.12); color: #fff; font-weight: 700; }
.langs button:hover { color: #fff; }

/* ---------- Внутренние страницы ---------- */
.page-head { padding-top: 48px; padding-bottom: 40px; border-bottom: 1px solid var(--border); background: linear-gradient(180deg, var(--surface) 0%, #fff 100%); }
.page-head--plain { background: #fff; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13.5px; color: var(--ink-3); margin-bottom: 18px; }
.crumbs a:hover { color: var(--ink); }
.crumbs .icon { color: var(--ink-3); }
.page-title { font-size: 44px; font-weight: 800; letter-spacing: -1.3px; line-height: 1.12; }
.page-lead { margin-top: 14px; font-size: 17px; line-height: 1.6; color: var(--ink-2); max-width: 760px; }
.page-head__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }

/* Pills-фильтры */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 9px 15px; border-radius: var(--r-pill); font-size: 13.5px; font-weight: 500; color: var(--ink-2);
  box-shadow: inset 0 0 0 1.5px var(--border); background: #fff; transition: box-shadow .2s, color .2s, background .2s; white-space: nowrap; }
.chip:hover { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink-3); }
.chip.is-active { background: var(--ink); color: #fff; box-shadow: none; font-weight: 600; }
.chip__n { font-size: 12px; color: var(--ink-3); }
.chip.is-active .chip__n { color: var(--on-dark-2); }
.chips--scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chips--scroll::-webkit-scrollbar { display: none; }

/* Каталог */
.catalog { display: grid; grid-template-columns: 280px minmax(0,1fr); gap: 40px; padding-top: 40px; padding-bottom: 80px; align-items: start; }
.catalog > *, .dash-grid > *, .company-body > *, .assistant > * { min-width: 0; }
.filters { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 24px; }
.filters__group { display: flex; flex-direction: column; gap: 10px; }
.filters__title { font-size: 13px; font-weight: 600; letter-spacing: .3px; color: var(--ink-3); text-transform: uppercase; }
.flist { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.flist a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 12px; border-radius: 10px; font-size: 14.5px; color: var(--ink-2); transition: background .2s, color .2s; }
.flist a:hover { background: var(--surface); color: var(--ink); }
.flist a.is-active { background: var(--accent-soft); color: var(--accent-dark); font-weight: 600; }
.flist .n { font-size: 12.5px; color: var(--ink-3); }
.flist a.is-active .n { color: var(--accent-dark); }
.fsearch { display: flex; align-items: center; gap: 8px; padding: 0 14px; border-radius: var(--r-sm); box-shadow: inset 0 0 0 1.5px var(--border); background: #fff; }
.fsearch:focus-within { box-shadow: inset 0 0 0 1.5px var(--accent-dark); }
.fsearch input { flex: 1; min-width: 0; border: 0; padding: 11px 0; font: inherit; font-size: 14px; outline: none; background: transparent; }
.fsearch .icon { color: var(--ink-3); }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.toolbar__count { font-size: 15px; color: var(--ink-2); }
.toolbar__count b { color: var(--ink); }
.select { appearance: none; border: 0; box-shadow: inset 0 0 0 1.5px var(--border); border-radius: var(--r-pill); padding: 9px 36px 9px 16px; font: inherit; font-size: 13.5px; font-weight: 500;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238D9C94' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center; color: var(--ink); cursor: pointer; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 16px; }
.active-filters .chip .icon { color: var(--ink-3); }
.cards { display: flex; flex-direction: column; gap: 16px; }
.mobile-filters { display: none; }

/* Карточка компании (компонент из дизайна) */
.ccard { border-radius: var(--r-md); box-shadow: inset 0 0 0 1.5px var(--border); background: #fff; padding: 28px; display: flex; flex-direction: column; gap: 22px; transition: box-shadow .2s; }
.ccard:hover { box-shadow: inset 0 0 0 1.5px #CBD8D0, 0 10px 30px -18px rgba(11,43,34,.35); }
.ccard__head { display: flex; gap: 16px; align-items: flex-start; }
.ccard__info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 7px; }
.ccard__name-row { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.ccard__name { font-family: var(--font-h); font-size: 21px; font-weight: 700; letter-spacing: -.3px; }
.ccard__name a:hover { color: var(--accent-dark); }
.ccard__geo { font-size: 13px; color: var(--ink-3); }
.ccard__desc { font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.ccard__params { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; padding: 18px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.param { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.param__label { font-size: 13px; letter-spacing: .3px; color: var(--ink-3); }
.param__value { font-size: 15.5px; font-weight: 600; line-height: 1.4; }
.ccard__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.ccard__meta { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--ink-3); }
.ccard__actions { display: flex; align-items: center; gap: 10px; }
.ccard__actions form { display: contents; }
.ccard__cats { display: flex; flex-wrap: wrap; gap: 6px; }

/* Страница компании */
.company-head { padding-top: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--border); background: linear-gradient(180deg, var(--surface) 0%, #fff 100%); }
.company-head__grid { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 32px; align-items: end; }
.company-id { display: flex; gap: 24px; align-items: center; }
.company-logo { width: 104px; height: 104px; border-radius: 24px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--border); display: grid; place-items: center; overflow: hidden; flex: none; }
.company-logo img { width: 100%; height: 100%; object-fit: contain; padding: 14px; }
.company-logo .mark { width: 100%; height: 100%; border-radius: 0; font-size: 34px; }
.company-name { font-size: 40px; font-weight: 800; letter-spacing: -1.1px; line-height: 1.1; }
.company-tagline { margin-top: 8px; font-size: 17px; color: var(--ink-2); line-height: 1.5; }
.company-badges { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 14px; }
.company-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.company-actions form { display: contents; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; margin-top: 32px; }
.fact { background: #fff; border-radius: var(--r-md); box-shadow: inset 0 0 0 1.5px var(--border); padding: 18px 20px; display: flex; gap: 14px; align-items: flex-start; }
.fact__icon { width: 38px; height: 38px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-dark); display: grid; place-items: center; flex: none; }
.fact__label { font-size: 13px; color: var(--ink-3); letter-spacing: .3px; }
.fact__value { font-weight: 600; font-size: 15px; line-height: 1.4; margin-top: 3px; }
.company-body { display: grid; grid-template-columns: minmax(0,1fr) 400px; gap: 48px; padding-top: 48px; padding-bottom: 80px; align-items: start; }
.company-main { display: flex; flex-direction: column; gap: 48px; min-width: 0; }
.block-title { font-size: 26px; font-weight: 800; letter-spacing: -.6px; margin-bottom: 18px; }
.prose { font-size: 16px; line-height: 1.7; color: var(--ink-2); }
.prose p + p, .prose p + ul, .prose ul + p, .prose h2 + p, .prose h2 + ul { margin-top: 14px; }
.prose h2 { font-size: 22px; font-weight: 700; letter-spacing: -.4px; color: var(--ink); margin-top: 32px; }
.prose ul { padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.prose ul li { position: relative; padding-left: 22px; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-dark); }
.prose a { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 3px; }
.keypoints { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.keypoints li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.5; background: var(--surface); border-radius: var(--r-sm); padding: 14px 16px; }
.keypoints .check-dot { margin-top: 1px; background: #fff; }
.products { display: flex; flex-direction: column; gap: 14px; }
.product { border-radius: var(--r-md); box-shadow: inset 0 0 0 1.5px var(--border); padding: 24px; display: flex; flex-direction: column; gap: 14px; scroll-margin-top: 100px; }
.product:target { box-shadow: inset 0 0 0 2px var(--accent-dark); }
.product__head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.product__name { font-size: 19px; font-weight: 700; letter-spacing: -.3px; line-height: 1.3; }
.product__desc { font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.product__params { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px 20px; padding-top: 14px; border-top: 1px solid var(--border); }
.product__params .param__value { font-size: 14.5px; }
.product__foot { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; }
.aside { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 16px; }
.panel { border-radius: var(--r-md); background: var(--surface); padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.panel--white { background: #fff; box-shadow: inset 0 0 0 1.5px var(--border); }
.panel__title { font-family: var(--font-h); font-size: 19px; font-weight: 700; letter-spacing: -.3px; }
.contact-list { list-style: none; display: flex; flex-direction: column; }
.contact-list li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); align-items: flex-start; }
.contact-list li:first-child { padding-top: 0; }
.contact-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-list .ci { width: 34px; height: 34px; border-radius: 50%; background: #fff; color: var(--accent-dark); display: grid; place-items: center; flex: none; }
.contact-list .cl { font-size: 12.5px; color: var(--ink-3); }
.contact-list .cv { font-size: 14.5px; font-weight: 500; word-break: break-word; }
.contact-list a.cv:hover { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 3px; }
.socials--light .social { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--border); }
.socials--light .social:hover { background: var(--accent-soft); color: var(--accent-dark); }
.source { display: flex; gap: 10px; font-size: 13px; color: var(--ink-2); line-height: 1.5; }
.source .icon { color: var(--ink-3); margin-top: 2px; }

/* Формы */
.form { display: flex; flex-direction: column; gap: 14px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.field__input, .field__select, .field__textarea { width: 100%; border: 0; border-radius: var(--r-sm); box-shadow: inset 0 0 0 1.5px var(--border); background: #fff; padding: 12px 14px;
  font: inherit; font-size: 15px; color: var(--ink); transition: box-shadow .2s; outline: none; }
.field__select { appearance: none; padding-right: 36px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238D9C94' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center; }
.field__textarea { resize: vertical; min-height: 96px; line-height: 1.5; }
.field__input:focus, .field__select:focus, .field__textarea:focus { box-shadow: inset 0 0 0 1.5px var(--accent-dark); }
.field--error .field__input, .field--error .field__select, .field--error .field__textarea { box-shadow: inset 0 0 0 1.5px var(--danger); }
.field__error { font-size: 12.5px; color: var(--danger); }
.field__help { font-size: 12.5px; color: var(--ink-3); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--ink-2); line-height: 1.45; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--accent-dark); flex: none; }
.form-error { background: var(--danger-soft); color: var(--danger); padding: 12px 14px; border-radius: var(--r-sm); font-size: 14px; }
.form-note { font-size: 12.5px; color: var(--ink-3); line-height: 1.5; }
.form-note a { color: var(--accent-dark); text-decoration: underline; }

/* Сообщения */
.toasts { position: fixed; z-index: 80; right: 24px; bottom: 24px; display: flex; flex-direction: column; gap: 10px; max-width: min(420px, calc(100vw - 32px)); }
.toast { display: flex; gap: 12px; align-items: flex-start; background: var(--ink); color: #fff; padding: 14px 16px; border-radius: var(--r-sm); box-shadow: 0 16px 40px -12px rgba(0,0,0,.35);
  font-size: 14px; line-height: 1.45; animation: toast-in .35s var(--ease); }
.toast .icon { color: var(--accent); margin-top: 1px; }
.toast--warning .icon, .toast--error .icon { color: #FFB4A9; }
.toast__close { margin-left: auto; border: 0; background: transparent; color: var(--on-dark-2); padding: 0; }
.toast a { color: var(--accent); text-decoration: underline; }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Пагинация */
.pager { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 32px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 40px; height: 40px; padding: 0 12px; border-radius: var(--r-pill); display: inline-grid; place-items: center; font-size: 14px; font-weight: 600;
  box-shadow: inset 0 0 0 1.5px var(--border); color: var(--ink-2); }
.pager a:hover { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink-3); }
.pager .is-current { background: var(--ink); color: #fff; box-shadow: none; }

/* Пустые состояния */
.empty { border-radius: var(--r-lg); background: var(--surface); padding: 48px 32px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.empty__icon { width: 64px; height: 64px; border-radius: 50%; background: #fff; color: var(--accent-dark); display: grid; place-items: center; }
.empty__title { font-size: 22px; font-weight: 700; letter-spacing: -.4px; }
.empty__text { color: var(--ink-2); max-width: 520px; line-height: 1.6; }
.empty__actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; padding-top: 6px; }

/* Сравнение */
.compare-wrap { overflow-x: auto; padding-bottom: 8px; }
.ctable { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 720px; }
.ctable th, .ctable td { text-align: left; vertical-align: top; padding: 16px 18px; border-bottom: 1px solid var(--border); font-size: 14.5px; line-height: 1.5; }
.ctable thead th { border-bottom: 0; padding-top: 0; }
.ctable tbody th { font-weight: 600; color: var(--ink-3); font-size: 13px; letter-spacing: .3px; width: 180px; }
.ctable tbody tr:hover td, .ctable tbody tr:hover th { background: var(--surface); }
.chead { display: flex; flex-direction: column; gap: 12px; padding: 20px; border-radius: var(--r-md); box-shadow: inset 0 0 0 1.5px var(--border); min-width: 200px; }
.chead__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.chead__name { font-family: var(--font-h); font-size: 18px; font-weight: 700; }
.chead__name:hover { color: var(--accent-dark); }
.chead form { display: contents; }
.dash { color: var(--ink-3); }

/* Словарь */
.terms { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.term { border-radius: var(--r-md); box-shadow: inset 0 0 0 1.5px var(--border); padding: 24px; display: flex; flex-direction: column; gap: 10px; transition: box-shadow .2s, transform .2s var(--ease); }
.term:hover { box-shadow: inset 0 0 0 1.5px var(--accent-dark); transform: translateY(-2px); }
.term__name { font-size: 20px; font-weight: 700; letter-spacing: -.3px; }
.term__short { color: var(--ink-2); line-height: 1.55; font-size: 15px; }
.term__more { margin-top: auto; padding-top: 6px; font-size: 14px; }

/* Список новостей */
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.ncard { display: flex; flex-direction: column; border-radius: var(--r-md); overflow: hidden; box-shadow: inset 0 0 0 1px var(--border); background: #fff; transition: box-shadow .2s; }
.ncard:hover { box-shadow: inset 0 0 0 1px var(--ink-3); }
.ncard__img { height: 190px; overflow: hidden; }
.ncard__img img { width: 100%; height: 100%; object-fit: cover; }
.ncard__body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.ncard__title { font-size: 19px; font-weight: 700; letter-spacing: -.3px; line-height: 1.3; }
.ncard__excerpt { font-size: 14.5px; color: var(--ink-2); line-height: 1.55; }
.feat--wide { display: grid; grid-template-columns: 1.1fr 1fr; margin-bottom: 32px; }
.feat--wide .feat__img { height: auto; min-height: 340px; }
.feat--wide .feat__body { justify-content: center; padding: 40px; }
.article { max-width: 760px; margin: 0 auto; }
.article__cover { border-radius: var(--r-lg); overflow: hidden; margin: 32px 0; max-height: 440px; }
.article__cover img { width: 100%; height: 100%; object-fit: cover; }
.article .prose { font-size: 17px; }

/* AI-помощник (страница) */
.assistant { display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: 32px; padding-top: 32px; padding-bottom: 80px; align-items: start; }
.chatbox { border-radius: var(--r-lg); background: var(--dark); color: var(--on-dark); display: flex; flex-direction: column; min-height: 560px;
  background: radial-gradient(80% 60% at 90% 0%, rgba(18,161,80,.18), rgba(7,38,26,0) 70%), var(--dark); }
.chatbox__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 22px; border-bottom: 1px solid rgba(255,255,255,.1); }
.chatbox__head form { margin: 0; }
.chatbox__feed { flex: 1; padding: 22px; display: flex; flex-direction: column; gap: 18px; }
.chatbox__form { padding: 16px 22px 22px; }
.chatbox .chat__user { align-self: flex-end; max-width: 85%; }
.bot { display: flex; flex-direction: column; gap: 12px; max-width: 100%; }
.bot__text { font-size: 15px; line-height: 1.6; color: var(--on-dark); }
.hello { display: flex; flex-direction: column; gap: 16px; padding: 12px 0; }
.hello__title { font-family: var(--font-h); font-size: 28px; font-weight: 800; letter-spacing: -.6px; color: var(--on-dark); line-height: 1.2; }
.examples { display: flex; flex-wrap: wrap; gap: 8px; }
.example { border: 0; background: rgba(255,255,255,.08); color: var(--on-dark); border-radius: var(--r-pill); padding: 9px 14px; font-size: 13.5px; text-align: left; transition: background .2s; }
.example:hover { background: rgba(255,255,255,.16); }
.cat-links { display: flex; flex-wrap: wrap; gap: 8px; }
.cat-links a { padding: 8px 13px; border-radius: var(--r-pill); background: rgba(255,255,255,.08); font-size: 13px; color: var(--on-dark); }
.cat-links a:hover { background: rgba(255,255,255,.16); }
.disclaimer { font-size: 12.5px; color: var(--on-dark-2); line-height: 1.5; padding: 0 22px 18px; }

/* Кабинет */
.dash-grid { display: grid; grid-template-columns: 280px minmax(0,1fr); gap: 40px; padding-top: 40px; padding-bottom: 80px; align-items: start; }
.dash-nav { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 16px; }
.dash-section { display: flex; flex-direction: column; gap: 16px; scroll-margin-top: 100px; }
.dash-section + .dash-section { margin-top: 48px; }
.dash-section__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.list-plain { list-style: none; display: flex; flex-direction: column; border-radius: var(--r-md); box-shadow: inset 0 0 0 1.5px var(--border); }
.list-plain li { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.list-plain li:last-child { border-bottom: 0; }
.list-plain .t { font-weight: 600; }
.list-plain .s { font-size: 13px; color: var(--ink-3); }

/* Auth */
.auth { min-height: 70vh; display: grid; place-items: center; padding: 56px var(--gutter) 80px; background: linear-gradient(180deg, var(--surface), #fff); }
.auth__card { width: 100%; max-width: 460px; background: #fff; border-radius: var(--r-lg); box-shadow: inset 0 0 0 1.5px var(--border), 0 20px 60px -30px rgba(11,43,34,.3); padding: 40px; display: flex; flex-direction: column; gap: 22px; }
.auth__title { font-size: 30px; font-weight: 800; letter-spacing: -.8px; }
.auth__sub { color: var(--ink-2); line-height: 1.55; margin-top: -10px; }
.auth__alt { text-align: center; font-size: 14px; color: var(--ink-2); }
.auth__alt a { color: var(--accent-dark); font-weight: 600; }

/* Бизнес */
.biz-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; }
.biz-card { border-radius: var(--r-lg); padding: 32px; background: var(--surface); display: flex; flex-direction: column; gap: 14px; scroll-margin-top: 100px; }
.biz-card:target { box-shadow: inset 0 0 0 2px var(--accent-dark); }
.biz-card__icon { width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--accent-dark); display: grid; place-items: center; }
.biz-card__title { font-size: 22px; font-weight: 700; letter-spacing: -.4px; }
.biz-card ul { list-style: none; display: flex; flex-direction: column; gap: 8px; color: var(--ink-2); font-size: 15px; }
.biz-card li { display: flex; gap: 9px; align-items: flex-start; }
.biz-card li .icon { color: var(--accent-dark); margin-top: 3px; }
.biz-card .btn { align-self: flex-start; margin-top: auto; }
.two-col { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 48px; align-items: start; }

.error-page { padding: 96px 0; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.error-page__code { font-family: var(--font-h); font-size: 96px; font-weight: 800; letter-spacing: -3px; color: var(--accent-dark); line-height: 1; }

/* ---------- Адаптив ---------- */
@media (max-width: 1280px) {
  .header__inner { gap: 16px; }
  .hsearch { width: 220px; }
  .nav { gap: 20px; }
  .hero__grid { grid-template-columns: minmax(0,1fr) 460px; gap: 40px; }
  .ai__grid { grid-template-columns: minmax(0,1fr) 480px; gap: 48px; }
  .news-row { grid-template-columns: minmax(0,1fr) 460px; }
  .footer__top { grid-template-columns: 280px repeat(4, minmax(0,1fr)); gap: 40px; }
  .company-body { grid-template-columns: minmax(0,1fr) 360px; }
}
@media (max-width: 1100px) {
  :root { --gutter: 32px; }
  .hsearch, .nav, .header__login, .header__actions .btn--primary, .compare-pill { display: none; }
  .burger { display: inline-grid; }
  .mnav { display: block; position: fixed; inset: 0; z-index: 60; background: #fff; padding: 20px var(--gutter) 32px; overflow-y: auto; transform: translateX(100%);
    transition: transform .3s var(--ease); visibility: hidden; }
  .mnav.is-open { transform: none; visibility: visible; }
  .mnav__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
  .mnav__links { display: flex; flex-direction: column; margin: 20px 0; }
  .mnav__links a { font-family: var(--font-h); font-size: 24px; font-weight: 700; padding: 12px 0; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
  .mnav .hsearch { display: flex; width: 100%; }
  .mnav__actions { display: flex; flex-direction: column; gap: 10px; }
  .hero__grid, .ai__grid { grid-template-columns: 1fr; }
  .hero__visual { height: 420px; }
  .news-row { grid-template-columns: 1fr; }
  .faq { grid-template-columns: 1fr; gap: 32px; }
  .footer__top { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer__brand { grid-column: 1 / -1; }
  .catalog, .dash-grid { grid-template-columns: 1fr; }
  .filters { display: none; }
  .mobile-filters { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
  .dash-nav { position: static; }
  .company-body { grid-template-columns: 1fr; }
  .aside { position: static; }
  .facts { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .assistant { grid-template-columns: 1fr; }
  .terms, .news-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .feat--wide { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  :root { --gutter: 16px; }
  body { font-size: 15px; }
  .header__inner { padding-top: 12px; padding-bottom: 12px; }
  .lang__btn span { display: none; }
  .section { padding-top: 56px; padding-bottom: 56px; }
  .hero { padding-top: 36px; padding-bottom: 48px; }
  .hero__title { font-size: 38px; letter-spacing: -1.2px; }
  .hero__sub { font-size: 16.5px; }
  .hero__visual { height: 360px; padding: 14px; }
  .hero__cta .btn { flex: 1 1 auto; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); row-gap: 28px; padding-top: 32px; padding-bottom: 32px; }
  .stat__value { font-size: 32px; }
  .section-title, .split-head .section-title, .faq__title, .ai__title, .cta__title { font-size: 30px; letter-spacing: -.8px; }
  .section-sub { font-size: 16px; }
  .split-head { flex-direction: column; align-items: flex-start; }
  .cat-card { flex-basis: 268px; height: 312px; padding: 24px; }
  .progress { width: 140px; }
  .steps { grid-template-columns: 1fr; gap: 14px; }
  .rows { grid-template-columns: 1fr; }
  .row-item { padding: 14px 16px; }
  .row-item__value { display: none; }
  .tabs { display: flex; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
  .chat { padding: 14px; }
  .feat__title { font-size: 21px; }
  .feat__body { padding: 20px; }
  .feat__img { height: 200px; }
  .logo-row { justify-content: center; }
  .cta { padding: 40px 20px; }
  .cta-wrap { padding-bottom: 48px; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .page-title { font-size: 32px; letter-spacing: -.8px; }
  .page-lead { font-size: 16px; }
  .ccard { padding: 20px; gap: 18px; }
  .ccard__params { grid-template-columns: 1fr; gap: 12px; }
  .ccard__actions { width: 100%; }
  .ccard__actions .btn { flex: 1; }
  .company-id { flex-direction: column; align-items: flex-start; gap: 16px; }
  .company-logo { width: 84px; height: 84px; border-radius: 20px; }
  .company-name { font-size: 30px; }
  .company-head__grid { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .keypoints { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .terms, .news-grid, .biz-grid { grid-template-columns: 1fr; }
  .auth__card { padding: 28px 20px; }
  .toasts { left: 16px; right: 16px; bottom: 16px; }
  .chatbox__feed, .chatbox__form { padding-left: 14px; padding-right: 14px; }
  .chatbox__head { padding: 14px; }
  .product { padding: 18px; }
  .product__head { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
