/* NeuroFinance — основной стиль */
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/assets/fonts/montserrat-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/assets/fonts/montserrat-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --navy-950: #060a2b;
  --navy-900: #0a0f3c;
  --navy-800: #121a5c;
  --brand: #020068;
  --brand-600: #1d1b8f;
  --gold: #b8955a;
  --gold-soft: #e9dcc4;
  --ink: #15161c;
  --text: #2f3240;
  --muted: #5b5f6f;
  --line: #e3e4ea;
  --bg: #ffffff;
  --bg-soft: #f5f5f8;
  --bg-warm: #faf8f4;
  --ok: #1d8a54;
  --err: #c0362c;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 18px 50px -20px rgba(10, 15, 60, .25);
  --container: 1200px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
.lead-success:focus { outline: none; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Arial, sans-serif; font-size: 16px; line-height: 1.6;
  color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-600); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .6em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); font-weight: 700; letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); }
h3 { font-size: clamp(1.12rem, 1.5vw, 1.3rem); }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .container { padding: 0 20px; } }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: #fff; padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin: 0 0 18px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--muted); max-width: 680px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Кнопки */
.btn { --b: var(--brand); display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 28px; border-radius: 999px;
  border: 1px solid transparent; font-weight: 600; font-size: .95rem; letter-spacing: .01em; text-decoration: none; line-height: 1.2;
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 10px 24px -12px rgba(2, 0, 104, .7); }
.btn--primary:hover { background: var(--brand-600); color: #fff; box-shadow: 0 14px 30px -12px rgba(2, 0, 104, .8); }
.btn--gold { background: var(--gold); color: #fff; }
.btn--gold:hover { background: #a6834a; color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--light { background: #fff; color: var(--navy-900); }
.btn--light:hover { background: var(--gold-soft); color: var(--navy-900); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn--outline-light:hover { border-color: #fff; color: #fff; }
.btn--sm { padding: 11px 20px; font-size: .88rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
@media (max-width: 600px) { .btn { white-space: normal; text-align: center; } }

/* Шапка */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.6) blur(12px); -webkit-backdrop-filter: saturate(1.6) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(10,15,60,.35); }
.header__inner { height: var(--header-h); display: flex; align-items: center; gap: 28px; }
.header__logo { display: block; flex: none; }
.header__logo img { width: 196px; height: auto; }
.header__actions { display: flex; align-items: center; gap: 14px; margin-left: auto; }
/* Связаться: иконки в шапке */
.ico { width: 20px; height: 20px; display: block; flex: none; }
.header__contacts { display: flex; align-items: center; gap: 4px; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: #fff; color: var(--ink); padding: 0; text-decoration: none; transition: border-color .2s, color .2s, background .2s; }
.icon-btn:hover, .icon-btn[aria-expanded="true"] { border-color: var(--brand); color: var(--brand); background: var(--bg-soft); }
.icon-btn .ico { width: 18px; height: 18px; }
.phone-pop { position: relative; }
.phone-pop__panel { position: absolute; top: calc(100% + 10px); right: -8px; z-index: 60; width: 260px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.phone-pop__label { font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin: 0 0 6px; }
.phone-pop__num { display: block; font-size: 1.2rem; font-weight: 700; color: var(--ink); text-decoration: none; white-space: nowrap; }
.phone-pop__num:hover { color: var(--brand); }
.phone-pop__hint { font-size: .82rem; color: var(--muted); margin: 10px 0 12px; line-height: 1.45; }
/* Переключатель языка */
.lang { display: inline-flex; align-items: center; padding: 3px; border: 1px solid var(--line); border-radius: 999px; font-size: .78rem; font-weight: 600; letter-spacing: .04em; }
.lang__item { padding: 5px 9px; border-radius: 999px; color: var(--muted); text-decoration: none; line-height: 1.2; }
a.lang__item:hover { color: var(--brand); }
.lang__item.is-current { background: var(--navy-900); color: #fff; }
.lang__item.is-soon { opacity: .55; cursor: help; }
.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__link { display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: .93rem;
  background: none; border: 0; border-radius: 8px; }
.nav__link:hover, .nav__link.is-active { color: var(--brand); }
.nav__group { position: relative; }
.nav__sub { position: absolute; top: 100%; left: 0; min-width: 300px; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; }
.nav__sub .nav__link { display: block; padding: 10px 12px; }
.nav__sub .nav__link:hover { background: var(--bg-soft); }
.nav__group:hover .nav__sub, .nav__group:focus-within .nav__sub, .nav__group.is-open .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav__mobile-extra { display: none; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; padding: 12px 10px; position: relative; }
.burger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; margin: 4px 0; transition: .25s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1180px) { .nav__link { padding: 10px 9px; } .header__inner { gap: 20px; } }
@media (max-width: 1080px) { .header__lang { display: none; } }
@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .header { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .burger { display: block; }
  .header__logo img { width: 158px; }
  .nav { position: fixed; inset: var(--header-h) 0 0 0; background: #fff; padding: 16px 16px 32px; overflow-y: auto; margin: 0;
    transform: translateX(100%); transition: transform .3s ease; visibility: hidden; }
  .nav.is-open { transform: none; visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list > li { border-bottom: 1px solid var(--line); }
  .nav__link { width: 100%; padding: 16px 4px; font-size: 1.05rem; justify-content: space-between; }
  .nav__sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 8px 12px; min-width: 0; display: none; }
  .nav__group.is-open .nav__sub { display: block; }
  .nav__sub .nav__link { font-size: .98rem; padding: 10px 4px; color: var(--muted); }
  .header__lang { display: none; }
  .nav__mobile-extra { display: grid; gap: 14px; margin-top: 24px; }
  .nav__label { font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin: 0; }
  .nav__contacts { display: grid; gap: 8px; }
  .contact-btn { display: flex; align-items: center; gap: 12px; width: 100%; padding: 13px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); font-weight: 600; font-size: .98rem; text-decoration: none; text-align: left; }
  .contact-btn .ico { color: var(--brand); }
  .contact-btn.is-revealed { border-color: var(--brand); }
  .nav__mobile-extra .lang { justify-self: start; margin-top: 4px; }
}
@media (max-width: 480px) { .header__cta { display: none; } }
@media (max-width: 900px) { .header__actions { gap: 6px; } .header__contacts { gap: 2px; } .icon-btn { border-color: transparent; } .phone-pop { position: static; } .phone-pop__panel { position: fixed; top: calc(var(--header-h) + 6px); left: 16px; right: 16px; width: auto; max-width: 360px; margin-left: auto; } }
@media (max-width: 380px) { .header__logo img { width: 128px; } .icon-btn { width: 36px; height: 36px; } }
@media (max-width: 900px) { .header__inner { gap: 12px; } }
@media (max-width: 360px) { .container { padding: 0 16px; } .header__logo img { width: 116px; } .icon-btn { width: 34px; height: 34px; } .burger { width: 40px; padding: 12px 8px; } }
@media (max-width: 360px) { .stats { gap: 8px; } .stat__num { font-size: 1.02rem; } .stat__label { font-size: .7rem; } }
body.nav-open { overflow: hidden; }

/* Секции */
.section { padding: clamp(60px, 7.5vw, 108px) 0; }
.section--soft { background: var(--bg-soft); }
.section--warm { background: var(--bg-warm); }
.section--dark { background: var(--navy-900); color: rgba(255,255,255,.78); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .lead, .section--dark .muted { color: rgba(255,255,255,.74); }
.section__head { margin-bottom: clamp(36px, 5vw, 60px); max-width: 760px; }
.section__head.center { margin-left: auto; margin-right: auto; }

/* Hero */
.hero { position: relative; background: radial-gradient(1200px 600px at 85% 10%, #1b2380 0%, transparent 60%), linear-gradient(160deg, var(--navy-900), var(--navy-950));
  color: #fff; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: linear-gradient(180deg, rgba(0,0,0,.8), transparent 85%); -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.8), transparent 85%); pointer-events: none; }
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 48px; align-items: stretch; }
.hero__content { padding: clamp(36px, 4.5vw, 60px) 0 clamp(44px, 5vw, 72px); align-self: center; }
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--gold-soft); }
.hero .lead { color: rgba(255,255,255,.72); margin-bottom: 34px; }
.hero__photo { position: relative; align-self: end; display: flex; justify-content: center; padding-top: 24px; }
.hero__photo::before { content: ""; position: absolute; left: 50%; bottom: 0; width: 120%; aspect-ratio: 1; transform: translate(-50%, 38%); border-radius: 50%;
  background: radial-gradient(circle, rgba(184,149,90,.28) 0%, rgba(184,149,90,.08) 45%, transparent 70%); pointer-events: none; }
.hero__photo img { position: relative; width: 100%; max-width: 440px; height: auto; display: block; }
@media (min-width: 761px) { .hero__photo img { width: auto; max-width: min(440px, 100%); max-height: calc(100vh - var(--header-h) - 40px); max-height: calc(100svh - var(--header-h) - 40px); } }
.hero__badge { position: absolute; left: -24px; top: 56%; z-index: 2; background: rgba(255,255,255,.97); color: var(--ink); padding: 14px 18px; border-radius: 14px; box-shadow: var(--shadow); max-width: 230px; }
.hero__badge strong { display: block; font-size: .95rem; }
.hero__badge span { font-size: .8rem; color: var(--muted); line-height: 1.4; display: block; }
.stats { display: grid; grid-template-columns: repeat(3, auto); gap: 18px 44px; margin-top: 40px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.14); max-width: 620px; }
.stat__num { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; color: #fff; line-height: 1.1; }
.stat__label { font-size: .85rem; color: rgba(255,255,255,.7); }
.stat__num { white-space: nowrap; }
@media (max-width: 1000px) {
  .hero__inner { gap: 24px; }
  .stats { gap: 18px 28px; }
  .hero__photo { flex-direction: column; align-items: center; }
  .hero__badge { position: relative; left: auto; top: auto; order: -1; max-width: none; margin: 0 0 20px; padding: 0; background: none; box-shadow: none; text-align: center; }
  .hero__badge strong { color: #fff; }
  .hero__badge span { color: rgba(255,255,255,.66); }
}
@media (max-width: 760px) {
  .hero__inner { grid-template-columns: 1fr; gap: 0; }
  .hero__content { padding: 56px 0 8px; }
  .hero__photo { padding-top: 24px; }
  .hero__photo img { max-width: 320px; }
}
@media (max-width: 560px) {
  .stats { grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 40px; padding-top: 24px; }
  .stat__num { font-size: 1.18rem; }
  .stat__label { font-size: .74rem; line-height: 1.35; }
  .hero__photo img { max-width: 280px; }
  .hero .btn-row .btn { width: 100%; }
}

/* Page hero (внутренние страницы) */
.page-hero { background: linear-gradient(160deg, var(--navy-900), var(--navy-950)); color: rgba(255,255,255,.75); padding: clamp(48px, 6.5vw, 84px) 0; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; right: -200px; top: -200px; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(184,149,90,.22), transparent 65%); }
.page-hero h1 { color: #fff; max-width: 900px; font-size: clamp(2rem, 4vw, 3.2rem); }
@media (max-width: 420px) { .page-hero h1 { font-size: 1.85rem; } }
.page-hero .lead { color: rgba(255,255,255,.72); }
.page-hero .container { position: relative; }
.breadcrumbs { font-size: .82rem; margin-bottom: 26px; color: rgba(255,255,255,.55); }
.breadcrumbs a { color: rgba(255,255,255,.75); text-decoration: none; }
.breadcrumbs a:hover { color: #fff; }

/* Сетки и карточки */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; transition: border-color .2s, box-shadow .2s, transform .2s; }
.card:hover { border-color: #cfd1dc; box-shadow: var(--shadow); }
.card h3 { margin-bottom: 10px; }
.card p:last-child { margin-bottom: 0; }
.card__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--bg-soft); color: var(--brand); margin-bottom: 22px; }
.card__icon svg { width: 26px; height: 26px; }
.card__list { margin-top: 16px; display: grid; gap: 8px; }
.card__list li { position: relative; padding-left: 20px; font-size: .93rem; }
.card__list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 1.5px; background: var(--gold); }
.card--link { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.card--link:hover { color: inherit; transform: translateY(-3px); }
.card__more { margin-top: auto; padding-top: 22px; font-weight: 600; color: var(--brand); display: inline-flex; align-items: center; gap: 8px; }
.card__more::after { content: "→"; transition: transform .2s; }
.card--link:hover .card__more::after { transform: translateX(4px); }

/* О компании */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about__media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 2; }
.about__media img { width: 100%; height: 100%; object-fit: cover; }
.about__pillars { display: grid; gap: 22px; margin-top: 30px; }
.pillar { display: grid; grid-template-columns: 44px 1fr; gap: 16px; }
.pillar__num { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold); display: grid; place-items: center; font-weight: 600; font-size: .9rem; }
.pillar h3 { font-size: 1.05rem; margin-bottom: 4px; }
.pillar p { margin: 0; font-size: .94rem; color: var(--muted); }
.routes { display: grid; gap: 14px; margin-top: 30px; }
.route { display: grid; gap: 6px; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--text); background: #fff; transition: border-color .2s, box-shadow .2s, transform .2s; }
.route:hover { border-color: var(--gold); box-shadow: var(--shadow); color: var(--text); transform: translateY(-2px); }
.route__tag { font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.route__title { font-size: 1.12rem; font-weight: 700; color: var(--ink); }
.route__text { font-size: .94rem; color: var(--muted); }
.route .card__more { padding-top: 6px; font-size: .92rem; }
.route:hover .card__more::after { transform: translateX(4px); }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } .about__media { aspect-ratio: 16 / 9; } }
@media (min-width: 601px) and (max-width: 900px) { .routes { grid-template-columns: 1fr 1fr; } }

/* Стратсессии */
.session-card { position: relative; overflow: hidden; border-radius: var(--radius); padding: clamp(28px, 4vw, 44px); color: rgba(255,255,255,.78);
  background: linear-gradient(150deg, var(--navy-800), var(--navy-950)); display: flex; flex-direction: column; min-height: 100%; text-decoration: none; transition: transform .25s, box-shadow .25s; }
.session-card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(6,10,43,.8); color: rgba(255,255,255,.85); }
.session-card--gold { background: linear-gradient(150deg, #2a2418, #14110b); }
.session-card h3 { color: #fff; font-size: clamp(1.3rem, 2.2vw, 1.65rem); margin-bottom: 14px; }
.session-card__tag { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 18px; }
.session-card__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 18px 0 26px; font-size: .85rem; color: rgba(255,255,255,.6); }
.session-card__meta span::before { content: "• "; color: var(--gold); }
.session-card .card__more { color: #fff; margin-top: auto; }

/* Услуги */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.service { grid-column: span 1; }
.service--wide { grid-column: span 2; }
@media (max-width: 1000px) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); } .service--wide { grid-column: span 1; } .services .service__cols { grid-template-columns: 1fr; } }
@media (max-width: 680px) { .services { grid-template-columns: 1fr; } .service--wide { grid-column: span 1; } }
.service__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
@media (max-width: 680px) { .service__cols { grid-template-columns: 1fr; } }
.service__toggle { display: none; }
@media (max-width: 680px) {
  .card { padding: 24px; }
  .js .service .card__list { display: none; }
  .js .service.is-open .card__list { display: grid; }
  .js .service__toggle { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 0; border: 0; background: none; color: var(--brand); font-weight: 600; font-size: .92rem; }
  .js .service__toggle::after { content: ""; width: 7px; height: 7px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
  .js .service.is-open .service__toggle::after { transform: translateY(2px) rotate(-135deg); }
  .card__icon { width: 44px; height: 44px; margin-bottom: 16px; }
}

/* Процесс */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: step; }
.step { position: relative; padding: 26px 22px; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.step::before { counter-increment: step; content: "0" counter(step); display: block; font-size: .8rem; font-weight: 600; letter-spacing: .1em; color: var(--gold); margin-bottom: 18px; }
.step h3 { font-size: 1.02rem; margin-bottom: 8px; }
.step p { font-size: .88rem; margin: 0; color: rgba(255,255,255,.62); }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(6, 1fr); } .step { grid-column: span 2; } .step:nth-child(n+4) { grid-column: span 3; } }
@media (max-width: 700px) { .steps { grid-template-columns: 1fr; } .step, .step:nth-child(n+4) { grid-column: auto; } }

/* Список этапов стратсессии */
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: tl; }
.timeline__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 26px 28px; }
.timeline__item::before { counter-increment: tl; content: counter(tl); width: 38px; height: 38px; border-radius: 50%; background: var(--brand); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: .9rem; margin-bottom: 18px; }
.timeline__item h3 { font-size: 1.05rem; margin-bottom: 6px; }
.timeline__item p { font-size: .92rem; color: var(--muted); margin: 0; }
@media (max-width: 1000px) { .timeline { gap: 16px; } .timeline__item { padding: 22px; } }
@media (max-width: 700px) {
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .timeline__item { display: grid; grid-template-columns: 34px 1fr; column-gap: 16px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 18px 0; background: none; }
  .timeline__item::before { width: 32px; height: 32px; font-size: .82rem; margin: 0; grid-row: span 2; }
}
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 48px; }
.compare__col { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-soft); }
.compare__col--accent { background: var(--bg-warm); border-color: var(--gold-soft); }
.compare__tag { font-size: .76rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.compare ul { display: grid; gap: 8px; margin: 14px 0 16px; }
.compare li { position: relative; padding-left: 20px; font-size: .95rem; }
.compare li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 1.5px; background: var(--gold); }
.compare .muted { font-size: .9rem; margin: 0; }
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } .compare__col { padding: 24px; } }

/* Собственные технологии */
.tech-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); }
.tech-card__tag { font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.tech-card h3 { margin-bottom: 12px; }
.tech-card > p:not(.tech-card__tag) { color: var(--muted); }
.tech-card .card__list { margin: 4px 0 0; }
.tech-card__note { font-size: .8rem; color: var(--muted); margin: 18px 0 0; line-height: 1.5; }
.tech-card__link { margin-top: auto; padding-top: 22px; align-self: flex-start; font-weight: 600; color: var(--brand); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.tech-card__link::after { content: "↗"; transition: transform .2s; }
.tech-card__link:hover::after { transform: translate(2px, -2px); }

/* Ценности / преимущества */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value { padding: 28px 0 0; border-top: 2px solid var(--brand); }
.value h3 { font-size: 1.1rem; }
.value p { color: var(--muted); font-size: .95rem; margin: 0; }
@media (max-width: 800px) { .values { grid-template-columns: 1fr; } }

/* Команда */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.team__card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.team__photo { aspect-ratio: 1 / 1; background: var(--bg-soft); overflow: hidden; }
.team__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; transition: transform .5s; }
.team__card:hover .team__photo img { transform: scale(1.03); }
.team__body { padding: 24px 24px 28px; }
.team__name { font-size: 1.12rem; margin-bottom: 4px; }
.team__role { font-size: .85rem; color: var(--gold); font-weight: 600; margin-bottom: 12px; }
.team__body p { font-size: .9rem; color: var(--muted); margin: 0; }
.team__card--lead { grid-column: span 2; flex-direction: row; }
.team__card--lead .team__photo { flex: 0 0 44%; aspect-ratio: auto; }
.team__card--lead .team__body { padding: 32px; }
@media (max-width: 1000px) { .team { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) {
  .team { grid-template-columns: 1fr; gap: 14px; }
  .team__card--lead { grid-column: span 1; flex-direction: column; }
  .team__card--lead .team__photo { aspect-ratio: 4 / 3.4; }
  .team__card--lead .team__body { padding: 24px; }
  .team__card:not(.team__card--lead) { flex-direction: row; align-items: flex-start; }
  .team__card:not(.team__card--lead) .team__photo { flex: 0 0 96px; width: 96px; height: 116px; aspect-ratio: auto; margin: 18px 0 18px 18px; border-radius: 12px; }
  .team__card:not(.team__card--lead) .team__body { padding: 18px; min-width: 0; overflow-wrap: break-word; hyphens: auto; }
  .team__card:not(.team__card--lead) .team__role { margin-bottom: 8px; }
}

/* Эксперт (на страницах стратсессий) */
.expert { display: grid; grid-template-columns: 340px 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.expert__photo { border-radius: var(--radius); overflow: hidden; background: var(--bg-soft); }
.expert__photo img { width: 100%; }
.expert ul { display: grid; gap: 10px; margin: 18px 0 0; }
.expert li { position: relative; padding-left: 22px; }
.expert li::before { content: ""; position: absolute; left: 0; top: .65em; width: 10px; height: 1.5px; background: var(--gold); }
@media (max-width: 800px) { .expert { grid-template-columns: 1fr; } .expert__photo { max-width: 340px; } }

/* FAQ */
.faq { max-width: 880px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 48px 24px 0; font-weight: 600; font-size: 1.05rem; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background: linear-gradient(var(--ink), var(--ink)) center/14px 1.6px no-repeat, linear-gradient(var(--ink), var(--ink)) center/1.6px 14px no-repeat; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq__body { padding: 0 0 24px; color: var(--muted); }
.faq__body ul { display: grid; gap: 6px; margin: 8px 0 12px; }
.faq__body li { position: relative; padding-left: 18px; }
.faq__body li::before { content: ""; position: absolute; left: 0; top: .7em; width: 7px; height: 1.5px; background: var(--gold); }

/* Прайс */
.price-list { display: grid; gap: 16px; }
.price-item { display: grid; grid-template-columns: 1fr auto; gap: 8px 32px; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 32px; }
.price-item h3 { font-size: 1.12rem; margin-bottom: 8px; }
.price-item p { margin: 0; color: var(--muted); font-size: .93rem; }
.price-item__value { font-size: 1.45rem; font-weight: 700; color: var(--ink); white-space: nowrap; text-align: right; }
.price-item__value--text { font-size: 1.25rem; }
.price-item__value small { display: block; font-size: .78rem; font-weight: 500; color: var(--muted); }
.price-item__side { display: grid; justify-items: end; gap: 12px; }
.price-item--featured { border-color: var(--gold); background: linear-gradient(135deg, #fff, var(--bg-warm)); }
.price-item__badge { display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
@media (max-width: 640px) { .price-item { grid-template-columns: 1fr; padding: 24px; } .price-item__value { text-align: left; } .price-item__side { justify-items: start; grid-template-columns: minmax(0, 1fr) auto; align-items: center; margin-top: 8px; } .price-item__value { white-space: normal; } .price-item__value--text { font-size: 1.2rem; } }
.price-note { margin-top: 30px; padding: 26px 30px; border-radius: var(--radius); background: var(--navy-900); color: rgba(255,255,255,.8); display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.price-note strong { color: #fff; }
.requisites { font-size: .9rem; color: var(--muted); columns: 2; column-gap: 40px; }
.requisites p { margin: 0 0 6px; break-inside: avoid; }
@media (max-width: 700px) { .requisites { columns: 1; } }

/* CTA + форма */
.cta { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.cta__aside { position: sticky; top: calc(var(--header-h) + 24px); }
.cta__contacts { display: grid; gap: 14px; margin-top: 28px; }
.cta__contacts a { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font-weight: 600; }
.cta__contacts a span, .cta__reveal span { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); flex: none; }
.cta__reveal { display: inline-flex; align-items: center; gap: 12px; padding: 0; border: 0; background: none; color: #fff; font-weight: 600; text-align: left; justify-self: start; }
.cta__reveal em { font-style: normal; border-bottom: 1px dashed rgba(255,255,255,.45); }
.cta__reveal:hover em { border-color: #fff; }
.cta__contacts a.is-revealed em { font-style: normal; border: 0; }
.cta__contacts svg { width: 18px; height: 18px; }
.form-card { background: #fff; color: var(--text); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
@media (max-width: 900px) { .cta { grid-template-columns: 1fr; } .cta__aside { position: static; } }

.lead-form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field__label { font-size: .82rem; font-weight: 600; color: var(--ink); padding: 0; }
.field__input { width: 100%; font: inherit; font-size: 16px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; color: var(--ink);
  transition: border-color .2s, box-shadow .2s; }
.field__input::placeholder { color: #a3a6b3; }
.field__input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(2,0,104,.08); }
.field__input.is-invalid { border-color: var(--err); }
textarea.field__input { resize: vertical; min-height: 92px; }
.field__error { font-size: .78rem; color: var(--err); min-height: 0; }
.field__error:empty { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: .88rem; cursor: pointer; transition: .15s; }
.chip input:checked + span { border-color: var(--brand); background: var(--brand); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: .84rem; color: var(--muted); line-height: 1.45; cursor: pointer; padding: 4px 0; }
.consent input { width: 20px; height: 20px; margin: 0; accent-color: var(--brand); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.lead-form__status { font-size: .88rem; margin: 0; min-height: 0; }
.lead-form__status.is-error { color: var(--err); }
.lead-success { text-align: center; padding: 20px 0; }
.lead-success__icon { width: 64px; height: 64px; border-radius: 50%; background: rgba(29,138,84,.1); color: var(--ok); display: grid; place-items: center; margin: 0 auto 18px; }

/* Модалка */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(6,10,43,.6); backdrop-filter: blur(4px); animation: fade .2s; }
.modal__dialog { position: relative; width: 100%; max-width: 520px; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); display: flex; flex-direction: column; overflow: hidden; background: #fff; border-radius: 22px; animation: pop .25s ease; }
.modal__body { overflow-y: auto; overscroll-behavior: contain; padding: clamp(24px, 4vw, 40px); }
.modal__close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--bg-soft); color: var(--ink); display: grid; place-items: center; }
.modal__eyebrow { padding-right: 44px; }
.modal__title { font-size: clamp(1.35rem, 3vw, 1.6rem); margin-bottom: 8px; padding-right: 30px; }
@media (max-width: 520px) {
  .modal { padding: 10px; }
  .modal__dialog { max-height: calc(100vh - 20px); max-height: calc(100dvh - 20px); border-radius: 18px; }
  .modal__body { padding: 22px 20px 20px; }
  .modal__lead { margin-bottom: 16px; }
  .modal .lead-form { gap: 12px; }
  .modal .field__input { padding: 12px 14px; }
  .modal textarea.field__input { min-height: 64px; }
}
.modal__lead { color: var(--muted); font-size: .93rem; margin-bottom: 22px; }
body.modal-open { overflow: hidden; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }

/* Подвал */
.footer { background: var(--navy-950); color: rgba(255,255,255,.62); padding: 72px 0 32px; font-size: .92rem; }
.footer a { color: rgba(255,255,255,.85); text-decoration: none; }
.footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer__brand img { width: 220px; margin-bottom: 22px; }
.footer__brand p { max-width: 340px; margin-bottom: 22px; }
.footer__title { color: #fff; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.footer__list { display: grid; gap: 10px; }
.footer__muted { color: rgba(255,255,255,.5); }
.footer__bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; gap: 8px 32px; font-size: .8rem; }
.footer__bottom p { margin: 0; }
.footer__disclaimer { flex-basis: 100%; color: rgba(255,255,255,.4); }
@media (max-width: 900px) { .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand, .footer__col:nth-child(2) { grid-column: 1 / -1; } }

/* Cookie */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; max-width: 560px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow);
  padding: 16px 18px; display: flex; gap: 16px; align-items: center; font-size: .82rem; }
.cookie[hidden] { display: none; }
.cookie p { margin: 0; }
.cookie__actions { display: flex; gap: 8px; flex: none; }
@media (max-width: 520px) { .cookie__actions .btn { flex: 1; } }
@media (max-width: 520px) { .cookie { flex-direction: column; align-items: stretch; } }

/* Плавающая кнопка связи (мобильные) */
.float-cta { display: none; }
@media (max-width: 700px) {
  .float-cta { display: flex; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 40; gap: 10px; transition: transform .3s, opacity .3s; }
  .float-cta .btn { flex: 1 1 0; min-width: 0; padding: 15px 12px; box-shadow: 0 12px 30px -10px rgba(6,10,43,.5); }
  .float-cta.is-hidden, .has-cookie .float-cta { transform: translateY(140%); opacity: 0; pointer-events: none; }
}

/* Текстовые страницы */
.page-consult h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 18px; }
.page-consult { padding-top: clamp(40px, 6vw, 80px); }
.prose { max-width: 820px; }
.prose h2 { font-size: 1.4rem; margin-top: 2em; }
.prose ul { list-style: disc; padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .4em; }

/* Анимация появления */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
.shot .reveal, .shot * { transition: none !important; animation: none !important; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } * { animation: none !important; } }
