/* ============================================================
   Моя траєкторія — компоненты.
   Сведено из итогового каскада лендинга trajectory-v3_01:
   styles.css → assets/standalone.css → assets/v3.css → assets/ds/*.css.
   Имена классов — как на сайте, чтобы разметку можно было переносить
   без переименований. Цвета, поля и кегли — переменные из tokens.json.
   ============================================================ */

:root { --ease: 220ms ease; }

@media (max-width: 860px) {
  :root { --y: var(--y-sm); --header-height: var(--header-height-sm); }
}

/* ---------- Основа ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--white); }
body { margin: 0; min-width: 320px; overflow-x: hidden; color: var(--ink); background: var(--white); font-family: var(--font-sans); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button { font: inherit; }
img { max-width: 100%; }
:focus-visible { outline: var(--focus-width) solid var(--green); outline-offset: var(--focus-offset); }

h1, h2, h3, p { margin-top: 0; }
h1 { position: relative; z-index: 1; margin: 0; color: var(--black); font-size: var(--fs-display); font-weight: 700; line-height: .83; letter-spacing: -.065em; text-transform: uppercase; }
h1 em { font-style: normal; font-weight: 250; }
h2 { margin: 0; color: var(--black); font-size: var(--fs-h2); font-weight: 600; line-height: .98; letter-spacing: -.055em; }
h3 { margin-bottom: 12px; font-size: var(--fs-h3); font-weight: 600; line-height: 1.08; letter-spacing: -.035em; }
.lead { max-width: 760px; font-size: var(--fs-lead); }

@media (max-width: 560px) {
  h1 { font-size: clamp(34px, 10.5vw, 44px); }
  h2 { font-size: clamp(36px, 11vw, 52px); }
}

/* ---------- Каркас: рамка и плоскости ---------- */

.shell { width: min(100%, var(--max)); margin-inline: auto; padding-inline: var(--x); }
.section-pad { padding-top: var(--y); padding-bottom: var(--y); }
.section-soft { background: var(--soft); }
.section-green { background: var(--green); color: var(--black); }

/* ---------- Надзаголовок ---------- */

.kicker { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 10px; margin: 0 0 var(--kicker-gap); padding: 7px 12px 6px; color: var(--black); background: var(--green); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.kicker.kicker-bare { display: block; padding: 0; color: var(--white); background: transparent; }
.section-green .kicker, .kicker--on-green { color: var(--black); background: var(--white); }

/* ---------- Шапка секции ---------- */

.section-head { margin-bottom: var(--head-gap); }
.split-head { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(260px, .55fr); gap: var(--col-gap); align-items: end; }
.split-head > p { max-width: 440px; margin: 0; color: var(--muted); }
.split-head > .text-link { justify-self: end; }
.sub-head { margin: var(--sub-gap) 0 10px; color: var(--black); font-size: var(--fs-sub-head); font-weight: 600; line-height: 1.05; letter-spacing: -.03em; }
.sub-note { margin: 0; max-width: 64ch; color: var(--muted); font-size: 16px; line-height: 1.5; }
.table-label { margin: 0 0 14px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.note-aside { margin: 18px 0 0; color: var(--muted); font-size: 14px; font-style: italic; line-height: 1.5; }

@media (max-width: 860px) {
  .split-head { grid-template-columns: minmax(0, 1fr); gap: var(--title-gap); }
  .split-head > * { min-width: 0; }
  .split-head > .text-link { justify-self: start; }
}

/* ---------- Кнопки и ссылки ---------- */

.button { display: inline-flex; align-items: center; justify-content: center; min-height: var(--button-h); padding: var(--button-pad-y) var(--button-pad-x); border: var(--rule-strong) solid var(--black); color: var(--black); background: var(--green); font-size: 14px; font-weight: 700; text-decoration: none; cursor: pointer; transition: background var(--ease), color var(--ease); }
.button:hover { background: var(--white); }
.button-ghost { background: var(--white); }
.button-ghost:hover { color: var(--white); background: var(--black); }
.button-ghost.is-light { background: transparent; border-color: var(--white); color: var(--white); }
.button-ghost.is-light:hover { background: var(--white); color: var(--black); }
.button-dark, .section-green .button { background: var(--black); border-color: var(--black); color: var(--white); }
.button-dark:hover, .section-green .button:hover { background: var(--white); border-color: var(--white); color: var(--black); }
.button[hidden] { display: none; }
.page-actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 12px; }

.text-link { display: inline-flex; align-items: center; gap: 18px; padding: 8px 0; border-bottom: var(--rule) solid currentColor; font-size: 14px; font-weight: 700; text-decoration: none; }
.text-link span { font-size: 19px; transition: transform var(--ease); }
.text-link:hover span { transform: translateX(5px); }

/* ---------- Знаки ---------- */

.dc-ico { display: block; width: var(--dc-ico-size, 24px); height: var(--dc-ico-size, 24px); stroke: currentColor; fill: none; stroke-width: var(--dc-ico-weight, 1.5); flex: 0 0 auto; }
.dc-ico--md { --dc-ico-size: 64px; --dc-ico-weight: 1.75; }
.dc-ico--sm { --dc-ico-size: 24px; --dc-ico-weight: 2.3; }
.dc-ico .accent { stroke: var(--dc-ico-accent, var(--green)); }
.ico-block { margin-bottom: 20px; }
@media (max-width: 860px) { .dc-ico--md { --dc-ico-size: 48px; --dc-ico-weight: 2.05; } }

/* ---------- Шапка сайта ---------- */

.site-header { position: sticky; z-index: 100; top: 0; background: rgba(255, 255, 255, .96); border-bottom: var(--rule) solid var(--line); backdrop-filter: blur(12px); transition: background var(--ease), border-color var(--ease); }
.header-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 28px; width: min(100%, var(--max)); min-height: var(--header-height); margin: auto; padding: 14px var(--x); }
.brand { position: relative; display: inline-flex; flex: 0 0 auto; width: 112px; height: 58px; }
.brand img { position: absolute; inset: 0; display: block; width: auto; height: 100%; transition: opacity var(--ease); }
.brand .brand-light { opacity: 0; }
.main-nav { display: flex; align-items: center; justify-content: flex-end; gap: clamp(18px, 2.1vw, 34px); margin-left: auto; }
.main-nav > a { position: relative; padding: 10px 0; font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.main-nav > a::after { content: ""; position: absolute; right: 0; bottom: 4px; left: 0; height: 2px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform var(--ease); }
.main-nav > a:hover::after, .main-nav > a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav > a[aria-current="page"] { color: var(--green-dark); }
.header-cta { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 18px; border: var(--rule-strong) solid var(--black); color: var(--black); font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; transition: opacity var(--ease), visibility var(--ease), background var(--ease); }
.header-cta:hover { background: var(--green); }
.menu-toggle { display: none; width: 46px; height: 46px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.menu-toggle span, .menu-toggle::before, .menu-toggle::after { content: ""; display: block; width: 25px; height: 2px; margin: 6px auto; background: var(--black); transition: transform var(--ease), opacity var(--ease); }
.menu-toggle[aria-expanded="true"] span { opacity: 0; }
.menu-toggle[aria-expanded="true"]::before { transform: translateY(8px) rotate(45deg); }
.menu-toggle[aria-expanded="true"]::after { transform: translateY(-8px) rotate(-45deg); }

/* Прозрачная шапка поверх фото первого экрана: знак и пункты белые,
   кнопки нет (она есть в самом кадре). После 48px прокрутки — .is-scrolled. */
.site-header--cover:not(.is-scrolled) { background: transparent; border-bottom-color: transparent; backdrop-filter: none; }
.site-header--cover:not(.is-scrolled) .brand .brand-dark { opacity: 0; }
.site-header--cover:not(.is-scrolled) .brand .brand-light { opacity: 1; }
.site-header--cover:not(.is-scrolled) .main-nav > a { color: var(--white); }
.site-header--cover:not(.is-scrolled) .main-nav > a::after { background: var(--white); }
.site-header--cover:not(.is-scrolled) .header-cta { opacity: 0; visibility: hidden; }
.site-header--cover:not(.is-scrolled) .menu-toggle span,
.site-header--cover:not(.is-scrolled) .menu-toggle::before,
.site-header--cover:not(.is-scrolled) .menu-toggle::after { background: var(--white); }

@media (max-width: 860px) {
  .site-header { backdrop-filter: none; }
  .header-inner { gap: 10px; }
  .brand { width: 92px; height: 48px; }
  .menu-toggle { display: block; }
  .main-nav { position: fixed; z-index: 99; inset: var(--header-height) 0 0; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 2px; height: calc(100svh - var(--header-height)); overflow-y: auto; padding: 22px var(--x) 54px; background: var(--white); box-shadow: var(--shadow-drawer); transform: translateX(100%); transition: transform var(--ease); }
  .main-nav.is-open { transform: none; }
  .main-nav > a { width: 100%; padding: 16px 0; border-bottom: var(--rule) solid var(--line); font-size: 18px; }
  .main-nav > a::after { display: none; }
  .site-header--cover:not(.is-scrolled) .main-nav.is-open > a { color: var(--black); }
  .header-cta { padding: 9px 12px; font-size: 13px; }
  .site-header--cover:not(.is-scrolled) .header-cta { color: var(--white); border-color: var(--white); opacity: 1; visibility: visible; }
}

/* Узкий телефон: кнопка шапки в две строки, иначе знак, кнопка и бургер
   не помещаются в 320px. */
@media (max-width: 380px) {
  .header-inner { gap: 8px; }
  .header-cta { max-width: 118px; padding: 6px 10px; font-size: 12px; line-height: 1.2; white-space: normal; }
}

/* ---------- Первый экран: кадр ---------- */

.page-hero--cover { position: relative; margin-top: calc(-1px - var(--header-height)); padding: 0; overflow: visible; }
.hero-cover { position: relative; display: flex; align-items: flex-end; min-height: min(100svh, 620px + 24vh); padding: var(--header-height) 0 clamp(70px, 9vh, 130px); overflow: hidden; background-color: var(--black); background-image: var(--hero-image, none); background-position: center; background-size: cover; background-repeat: no-repeat; }
.hero-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 5, 5, .45) 0%, rgba(5, 5, 5, 0) 22%), linear-gradient(180deg, rgba(5, 5, 5, .18) 30%, rgba(5, 5, 5, .62) 62%, var(--scrim) 100%); }
.hero-cover__inner { position: relative; z-index: 1; color: var(--white); }
.hero-cover h1 { max-width: 16ch; margin: 20px 0 0; color: var(--white); transition: opacity 260ms ease, transform 260ms ease; }
.hero-cover h1.is-fading { opacity: 0; transform: translateY(-6px); }
.hero-cover .lead { max-width: 660px; margin: 26px 0 0; color: var(--white); }
.hero-facts--inline { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 26px 0 0; padding: 0; list-style: none; color: var(--on-photo); font-size: 15px; line-height: 1.4; }
.hero-facts--inline li { margin: 0; }
.hero-facts--inline li + li::before { content: "·"; margin-right: 14px; color: var(--on-photo-faint); }
.hero-cover .page-actions { margin: var(--actions-gap) auto 0 0; }
.hero-video { position: absolute; right: calc((100% - min(100%, var(--max))) / 2 + var(--x)); bottom: 0; z-index: 2; width: min(530px, calc((min(100%, var(--max)) - var(--x) * 2) * .425)); transform: translateY(50%); }
.page-hero--cover + .section { padding-top: clamp(52px, 4.8vw, 80px); }

@media (max-width: 960px) {
  .hero-video { position: static; width: 100%; transform: none; }
  .hero-video .video-poster { border-left: 0; border-right: 0; }
}
@media (max-width: 860px) {
  .hero-cover { min-height: 88svh; padding-bottom: 44px; }
  .hero-facts--inline { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; }
  .hero-facts--inline li + li::before { content: none; }
  .hero-cover .page-actions { margin-top: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-cover h1 { transition: none; }
  .hero-cover h1.is-fading { opacity: 1; transform: none; }
}

/* Видео-постер */
.video-poster { position: relative; display: block; width: 100%; padding: 0; border: var(--rule) solid var(--line); background: var(--black); cursor: pointer; overflow: hidden; }
.video-poster img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.video-poster__play { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 78px; height: 78px; border-radius: var(--radius-round); background: var(--green); color: var(--black); font-size: 24px; line-height: 1; transform: translate(-50%, -50%); transition: transform var(--ease); }
.video-poster:hover .video-poster__play { transform: translate(-50%, -50%) scale(1.08); }
@media (max-width: 860px) { .video-poster__play { width: 62px; height: 62px; font-size: 20px; } }

/* ---------- Первый экран внутренней страницы ---------- */

.page-hero--sub { position: relative; padding-top: clamp(120px, 12vw, 168px); padding-bottom: clamp(44px, 5vw, 72px); background: var(--soft); }
.page-hero--sub .shell { position: relative; display: grid; justify-items: start; }
.page-hero--sub h1 { max-width: 19ch; margin: 14px 0 0; font-size: var(--fs-page-title); }
.page-hero--sub h1 em { font-style: normal; }
.page-hero--sub .lead { max-width: 620px; margin: 26px 0 0; }
.page-hero--sub .page-actions { margin: clamp(26px, 3vw, 38px) 0 0; }
.page-hero--sub + .section > .section-pad,
.page-hero--sub + .section > .shell > .section-pad { padding-top: clamp(44px, 4vw, 68px); }
.crumb-back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px; color: var(--muted); font-size: 13px; font-weight: 700; letter-spacing: .04em; text-decoration: none; text-transform: uppercase; }
.crumb-back:hover { color: var(--black); }
@media (max-width: 560px) {
  .page-hero--sub { padding-top: 104px; }
  .page-hero--sub h1 { font-size: clamp(32px, 9.6vw, 40px); }
}

/* ---------- Два столбца: заголовок и голос ---------- */

.intro-grid { display: grid; grid-template-columns: minmax(340px, .78fr) minmax(0, 1.22fr); gap: clamp(48px, 6vw, 96px); }
.intro-grid .section-copy { max-width: 760px; padding-top: 40px; }
.section-copy p { font-size: var(--fs-voice); line-height: 1.48; }
.section-copy p:last-child { margin-bottom: 0; }
.copy-turn { margin-top: 26px; font-weight: 400; font-style: italic; color: var(--black); }
@media (max-width: 860px) {
  .intro-grid { grid-template-columns: minmax(0, 1fr); gap: var(--title-gap); }
  .intro-grid .section-copy { padding-top: 0; }
}

/* ---------- Шов с репликами ---------- */

.seam-band { --seam-split: 47%; padding-block: clamp(40px, 4vw, 64px); background: linear-gradient(to bottom, var(--seam-from) 0 var(--seam-split), var(--seam-to) var(--seam-split) 100%); }
.seam-band--questions { --seam-from: var(--soft); --seam-to: var(--white); }
.seam-band--voices { --seam-from: var(--white); --seam-to: var(--soft); --seam-split: 51%; }
.section:has(+ .seam-band), .section:has(+ .seam-band) > .section-pad { padding-bottom: 0; }
.seam-band + .section, .seam-band + .section > .section-pad, .seam-band + .section.section-pad { padding-top: 0; }

.chat-bubbles { display: grid; gap: var(--gap-sm); margin: 0; padding: 0; list-style: none; }
.chat-bubbles li { max-width: min(560px, 82%); justify-self: start; }
.chat-bubbles p { margin: 0; padding: 18px 24px; border: var(--rule) solid var(--green); border-radius: var(--radius-bubble) var(--radius-bubble) var(--radius-bubble) var(--radius-bubble-tail); background: var(--green); color: var(--black); font-size: var(--fs-bubble); line-height: 1.35; }
.chat-bubbles li.shift-0 { margin-left: 0; }
.chat-bubbles li.shift-1 { margin-left: 16%; }
.chat-bubbles li.shift-2 { margin-left: 28%; }
.seam-band--questions .chat-bubbles { padding-left: 44%; }
.seam-band--questions .chat-bubbles li { max-width: 100%; }
.seam-band--questions li.shift-0 { margin-left: 4%; }
.seam-band--questions li.shift-1 { margin-left: 0; }
.seam-band--questions li.shift-2 { margin-left: 26%; }
.chat-bubbles--voices li { max-width: min(620px, 86%); }
.chat-bubbles--voices li p { border-color: var(--black); background: var(--white); font-size: clamp(16px, 1.5vw, 19px); line-height: 1.4; }

@media (min-width: 1081px) { .seam-band--questions { --seam-split: 56%; } }
@media (max-width: 860px) {
  .seam-band--questions .chat-bubbles { padding-left: 0; }
  .seam-band--questions li.shift-0 { margin-left: 0; }
  .seam-band--questions li.shift-1 { margin-left: 4%; }
  .seam-band--questions li.shift-2 { margin-left: 8%; }
}
@media (max-width: 560px) {
  .seam-band--questions { --seam-split: 44%; }
  .chat-bubbles li { max-width: 92%; }
  .chat-bubbles p { padding: 15px 18px; }
  .chat-bubbles li.shift-1 { margin-left: 4%; }
  .chat-bubbles li.shift-2 { margin-left: 8%; }
  .chat-bubbles--voices li { max-width: 100%; }
}

/* ---------- Список сигналов ---------- */

.signal-list { border-top: var(--rule-strong) solid var(--black); }
.signal-list p { display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 18px; max-width: 900px; margin: 0; padding: 20px 0; border-bottom: var(--rule) solid var(--line); font-size: var(--fs-voice); font-weight: 400; line-height: 1.28; }
.signal-list span { font-family: var(--font-display); font-size: 26px; font-weight: 400; line-height: 1; }
.signal-lead { margin: 0 0 clamp(20px, 2.2vw, 30px); max-width: 30ch; font-size: clamp(19px, 1.7vw, 24px); line-height: 1.25; letter-spacing: -.01em; }

/* ---------- Плашка опроса ---------- */

.quiz-band { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: var(--title-gap) var(--col-gap-s); align-items: center; }
.quiz-band h3 { margin: 0; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.08; letter-spacing: -.02em; }
.quiz-band__meta { max-width: 440px; margin: 0; color: var(--on-green-muted); font-size: 16px; line-height: 1.5; }
.quiz-band__action { display: grid; gap: 20px; justify-self: end; justify-items: end; text-align: right; }
@media (max-width: 860px) {
  .quiz-band { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .quiz-band__action { justify-self: start; justify-items: start; text-align: left; }
}

/* ---------- Ряд фаз ---------- */

.phase-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 40px 0 0; padding: 0; list-style: none; border-top: var(--rule-strong) solid var(--black); border-left: var(--rule) solid var(--line); }
.phase-card { display: flex; flex-direction: column; padding: var(--card-pad-y) var(--card-pad-x) 34px; border-right: var(--rule) solid var(--line); border-bottom: var(--rule) solid var(--line); }
.phase-card h3 { margin: 0; color: var(--black); font-size: clamp(19px, 1.8vw, 27px); line-height: 1.15; }
.phase-card .phase-head { display: flex; align-items: center; gap: var(--gap-xs); margin: 0 0 14px; }
.phase-word { display: inline-block; padding: 4px 9px; background: var(--green); color: var(--black); font-size: 11px; font-weight: 800; letter-spacing: .08em; line-height: 1.2; text-transform: uppercase; }
.phase-count { color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: .02em; }
.phase-card .phase-note { margin: 12px 0 auto; color: var(--ink); font-size: 16px; line-height: 1.45; }
@media (max-width: 860px) {
  .phase-row { grid-template-columns: minmax(0, 1fr); margin-top: 30px; border-left: 0; }
  .phase-card { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; column-gap: 16px; padding: 16px 0; border-right: 0; }
  .phase-card .phase-head { flex-direction: column; align-items: flex-start; gap: 5px; margin: 0; grid-row: 1 / span 2; }
  .phase-count { font-size: 12px; }
  .phase-card h3 { font-size: 19px; }
  .phase-card .phase-note { grid-column: 2; margin: 6px 0 0; }
}

/* ---------- Плашка посыла ---------- */

.claim { margin-top: clamp(22px, 2.4vw, 32px); padding: var(--plate-pad-y) var(--plate-pad-x); background: var(--green); color: var(--black); }
.claim__text { max-width: 46ch; margin: 0; font-size: var(--fs-claim); font-weight: 600; line-height: 1.35; letter-spacing: -.02em; }
.claim__note { max-width: 58ch; margin: 14px 0 0; color: var(--on-green-muted); font-size: 15px; line-height: 1.5; }
.claim--outline { background: transparent; border: var(--rule-strong) solid var(--black); }
.claim--outline .claim__text { max-width: 62ch; font-size: clamp(18px, 1.6vw, 22px); }

/* ---------- Зелёная подложка за заголовком ----------
   Приём сайта Dubrovin Consulting. Прямоугольник `green` шире экрана
   подкладывается под h1/h2 и перерезает его: часть букв на белом, часть
   на зелёном. Считается зелёной плоскостью экрана. */

.dc-bleed { position: relative; display: block; width: fit-content; isolation: isolate; color: var(--black); }
.dc-bleed::before { content: ""; position: absolute; z-index: -1; left: var(--bleed-offset, 40px); bottom: var(--bleed-bottom, -8%); width: 150vw; height: var(--bleed-height, 72%); background: var(--green); border-radius: var(--radius); }
.page-hero--sub:has(.dc-bleed), .section:has(.dc-bleed) { overflow-x: clip; }
@media (max-width: 560px) { .dc-bleed::before { left: var(--bleed-offset-sm, 16px); } }

/* ---------- Вставка: одна фраза на фото или на зелёном ----------
   Разбавка между блоками: одна фраза Виктора крупным жирным во всю ширину.
   .value-band — на зелёном, текст чёрный (зелёная плоскость экрана).
   .value-band--photo — на фото под тёмной вуалью, текст белый. */

.value-band { background: var(--green); color: var(--black); }
.value-band__inner { padding-top: clamp(64px, 8vw, 128px); padding-bottom: clamp(64px, 8vw, 128px); }
.value-band__text { max-width: 17em; margin: 0; color: var(--black); font-size: var(--fs-band); font-weight: 700; line-height: 1.08; letter-spacing: -.035em; text-wrap: balance; }
.value-band--photo { position: relative; overflow: hidden; background-color: var(--photo-fallback); background-image: var(--band-image, none); background-position: center 36%; background-size: cover; background-repeat: no-repeat; color: var(--white); }
.value-band--photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 5, 5, .74) 0%, rgba(5, 5, 5, .5) 45%, rgba(5, 5, 5, .12) 100%); }
.value-band--photo .value-band__inner { position: relative; }
.value-band--photo .value-band__text { color: var(--white); text-shadow: 0 2px 28px rgba(0, 0, 0, .35); }
@media (max-width: 860px) {
  .value-band--photo { display: flex; min-height: 516px; background-position: 62% 50%; }
  .value-band--photo .value-band__inner { flex: 1; display: flex; flex-direction: column; justify-content: center; }
  .value-band--photo::before { background: linear-gradient(180deg, rgba(5, 5, 5, .25) 0%, rgba(5, 5, 5, .6) 50%, rgba(5, 5, 5, .25) 100%); }
}

/* ---------- Ряд коротких пунктов ---------- */

.mini-row { display: grid; grid-template-columns: repeat(var(--mini-cols, 4), minmax(0, 1fr)); gap: 0 clamp(18px, 2.4vw, 36px); margin-top: var(--row-gap); }
.mini-row > div { padding-top: var(--gap-md); border-top: var(--rule-strong) solid var(--black); }
.mini-row b { display: block; margin-bottom: 8px; color: var(--black); font-size: clamp(17px, 1.4vw, 20px); line-height: 1.2; }
.mini-row span { color: var(--muted); font-size: 15px; line-height: 1.5; }
.sub-head + .mini-row, .sub-note + .mini-row { margin-top: 20px; }
.mini-row--ico-side > div { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 16px; align-items: start; padding: clamp(18px, 1.8vw, 24px); border-top: 0; background: var(--soft); }
.mini-row--ico-side .dc-ico { --dc-ico-size: 48px; --dc-ico-weight: 2.05; grid-row: 1 / span 2; }
.mini-row--ico-side b, .mini-row--ico-side span { grid-column: 2; }
@media (max-width: 860px) {
  .mini-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px clamp(16px, 4vw, 28px); }
  .mini-row--wide-only { display: none; }
}
@media (max-width: 560px) {
  .mini-row { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .mini-row--ico-side .dc-ico { --dc-ico-size: 40px; --dc-ico-weight: 2.15; }
}

/* ---------- Следующий шаг ---------- */

.next-step { display: flex; align-items: center; justify-content: space-between; gap: clamp(18px, 3vw, 44px); margin-top: var(--block-gap); padding: clamp(22px, 2.6vw, 32px) clamp(22px, 3vw, 38px); border: var(--rule) solid var(--line); background: var(--soft); }
.section-soft .next-step { background: var(--white); }
.next-step__text { display: grid; gap: var(--gap-2xs); min-width: 0; }
.next-step__text b { color: var(--black); font-size: var(--fs-item); line-height: 1.2; }
.next-step__text span { color: var(--muted); font-size: 15px; line-height: 1.45; }
.next-step .button { flex: 0 0 auto; }
.next-step--lead { border-color: var(--green); background: var(--green); }
.section-soft .next-step--lead { background: var(--green); }
.next-step--lead .next-step__text span { color: var(--on-green-muted); }
.next-step--lead .button { border-color: var(--black); background: var(--white); }
.next-step--lead .button:hover { background: var(--black); color: var(--white); }
@media (max-width: 720px) {
  .next-step { align-items: flex-start; flex-direction: column; }
  .next-step .button { width: 100%; justify-content: center; }
}

/* ---------- Лента (карусель) ---------- */

.dc-rail { display: block; min-width: 0; }
.dc-rail__head { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.dc-rail__overline { margin: 0; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.dc-rail__track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(320px, calc((100% - 48px) / var(--rail-cols, 3))); gap: 24px; min-width: 0; margin-top: 30px; margin-right: calc(var(--x) * -1); padding-bottom: 16px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: inline mandatory; scrollbar-width: none; }
.dc-rail__track::-webkit-scrollbar { display: none; }
.dc-rail__track > * { scroll-snap-align: start; }
.dc-rail--bleed .dc-rail__track { margin-right: calc(50% - 50vw); scroll-padding-right: var(--x); }
.dc-rail__bar { position: relative; height: 4px; margin-top: 26px; background: var(--line); cursor: pointer; }
.dc-rail__bar span { position: absolute; top: 0; left: 0; height: 100%; min-width: 48px; background: var(--green); }
.dc-rail__nav { display: flex; justify-content: flex-end; gap: var(--gap-xs); margin-top: var(--gap-md); }
.dc-rail__nav[hidden] { display: none; }
.dc-rail__nav button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; color: var(--black); background: transparent; border: var(--rule-strong) solid var(--black); border-radius: var(--radius); font-size: 18px; cursor: pointer; transition: background var(--ease); }
.dc-rail__nav button:hover { background: var(--green); border-color: var(--green); }
@media (min-width: 992px) { .dc-rail--bleed .dc-rail__track { grid-auto-columns: var(--rail-card, 55%); } }
@media (max-width: 991px) { .dc-rail__track { grid-auto-columns: 72%; } }
@media (max-width: 479px) { .dc-rail__track { grid-auto-columns: 88%; } }

/* ---------- Карточка артефакта ---------- */

.depth-card { display: flex; flex-direction: column; min-height: 320px; padding: 26px 22px; border: var(--rule-strong) solid var(--black); background: var(--white); scroll-snap-align: start; }
.section-soft .depth-card { border: 0; }
.depth-card-top { display: grid; justify-items: start; }
.depth-card-top small { margin: 0; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.depth-card h3 { margin: 10px 0 12px; color: var(--black); line-height: 1.12; }
.depth-card > p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.5; }
.depth-card.depth-core { --dc-ico-accent: var(--black); background: var(--green); border-color: var(--green); }
.depth-card.depth-core > p, .depth-card.depth-core .depth-card-top small { color: var(--on-green-muted); }
.depth-track { grid-auto-columns: minmax(300px, calc((100% - 48px) / 3)); }
.dc-rail--grid4 .dc-rail__track { margin-right: 0; }
@media (min-width: 1081px) {
  .dc-rail--grid4 .dc-rail__track { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-columns: auto; overflow-x: visible; scroll-snap-type: none; }
  .dc-rail--grid4 .dc-rail__nav, .dc-rail--grid4 .dc-rail__bar { display: none; }
}
@media (max-width: 1080px) { .depth-track { grid-auto-columns: clamp(280px, 72vw, 360px); } }
@media (max-width: 860px) {
  .depth-track { grid-auto-columns: 84%; }
  .depth-card { min-height: 0; padding: 22px; }
  .depth-card h3 { margin-top: 8px; }
}

/* ---------- Карточка отзыва ---------- */

.dc-quote { display: flex; flex-direction: column; justify-content: space-between; gap: 30px; min-height: 360px; padding: clamp(24px, 4vw, 48px); border: var(--rule) solid var(--black); background: var(--white); }
.dc-quote blockquote { margin: 0; }
.dc-quote blockquote::before { content: "\201C"; display: block; margin-bottom: var(--gap-xs); font-size: clamp(56px, 6vw, 88px); font-weight: 700; line-height: .6; color: var(--green); }
.dc-quote blockquote p { margin: 0; color: var(--black); font-size: var(--fs-quote); font-weight: 600; line-height: 1.3; }
.dc-quote__author { display: grid; gap: 2px; color: var(--muted); font-size: 14px; }
.dc-quote__author strong { color: var(--green); font-size: 16px; }

/* ---------- Ряд фактов формата ---------- */

.format-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: var(--rule-strong) solid var(--black); }
.format-facts article { padding: var(--card-pad-y) var(--card-pad-x); border-right: var(--rule) solid var(--line); border-bottom: var(--rule) solid var(--line); }
.format-facts article:last-child { border-right: 0; }
.fact-head { display: flex; align-items: baseline; gap: var(--gap-sm); margin-bottom: 12px; }
.fact-head span { font-family: var(--font-display); font-size: 26px; line-height: 1; }
.fact-head h3 { margin: 0; color: var(--black); font-size: var(--fs-item); }
.format-facts p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
@media (max-width: 860px) {
  .format-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .format-facts article:nth-child(2) { border-right: 0; }
  .fact-head { gap: var(--gap-xs); }
}
@media (max-width: 560px) {
  .format-facts { grid-template-columns: minmax(0, 1fr); }
  .format-facts article:nth-child(n) { border-right: 0; }
}

/* ---------- Пара цен ---------- */

.price-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); margin-top: clamp(28px, 3vw, 40px); }
.price-cell { display: flex; flex-direction: column; gap: var(--gap-2xs); padding: var(--card-pad); background: var(--white); border: var(--rule) solid var(--line); }
.price-cell--deep { border: var(--rule-strong) solid var(--green); }
.price-cell h3 { margin: 0; color: var(--black); font-size: 15px; font-weight: 700; letter-spacing: .02em; }
.price-cell strong { margin-top: 6px; color: var(--black); font-size: var(--fs-price); font-weight: 700; line-height: 1; letter-spacing: -.03em; white-space: nowrap; }
.price-cell__when { color: var(--muted); font-size: 13px; }
.price-cell p { margin: 10px 0 0; color: var(--ink); font-size: 15px; line-height: 1.5; }
.price-pair__foot { display: flex; align-items: center; justify-content: space-between; gap: clamp(16px, 2.4vw, 40px); margin-top: clamp(18px, 2vw, 26px); }
.price-pair__foot .note-aside { margin: 0; }
@media (max-width: 720px) {
  .price-pair { grid-template-columns: minmax(0, 1fr); }
  .price-pair__foot { align-items: flex-start; flex-direction: column; }
  .price-pair__foot .button { width: 100%; }
}

/* ---------- Ведущий ---------- */

.guide-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: var(--col-gap-s); align-items: stretch; }
.guide-plate { position: relative; display: flex; align-items: flex-end; justify-content: center; min-height: 420px; padding-top: 32px; background: var(--green); }
.guide-plate::before { content: ""; position: absolute; top: 0; right: 100%; bottom: 0; width: 100vw; background: var(--green); }
.guide-plate img { position: relative; display: block; width: 100%; height: 100%; object-fit: contain; object-position: bottom center; filter: grayscale(1) contrast(1.05); }
.guide-text .kicker { margin-bottom: var(--kicker-gap); }
.guide-text h2 { margin: 0 0 22px; }
.guide-text .lead { max-width: 620px; margin: 0 0 30px; }
.guide-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap-md); padding: 24px 0; border-top: var(--rule-strong) solid var(--black); border-bottom: var(--rule) solid var(--line); }
.guide-facts strong { display: block; color: var(--black); font-family: var(--font-display); font-size: var(--fs-number-l); font-weight: 400; line-height: 1; }
.guide-facts span { display: block; margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.35; }
.guide-quote { margin: 28px 0 0; color: var(--black); font-size: var(--fs-item); font-weight: 400; line-height: 1.35; }
.guide-section { overflow-x: clip; }
.guide-section > .section-pad:first-child { padding-bottom: 28px; }
@media (max-width: 860px) {
  .guide-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .guide-plate { min-height: 320px; }
  .guide-plate img { height: auto; max-width: 420px; }
  .guide-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
}

/* Лента логотипов клиентов */
.logo-band { padding-top: 0; }
.logo-row { display: grid; gap: 28px; margin-top: 18px; margin-inline: calc(var(--x) * -1); }
.logo-lane { overflow: hidden; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.logo-lane:active { cursor: grabbing; }
.logo-track { display: flex; align-items: center; gap: 64px; width: max-content; will-change: transform; }
.logo-cell { display: grid; place-items: center; flex: none; width: 128px; height: 44px; }
.logo-cell img { max-width: 100%; max-height: 100%; filter: grayscale(1); opacity: .55; transition: opacity var(--ease); }
.logo-cell img:hover { opacity: 1; }
@media (max-width: 860px) {
  .logo-row { gap: 20px; }
  .logo-track { gap: 44px; }
  .logo-cell { width: 104px; height: 36px; }
}

/* ---------- Вопросы ---------- */

.faq-layout { display: grid; grid-template-columns: minmax(280px, .7fr) minmax(0, 1.3fr); gap: clamp(48px, 8vw, 130px); }
.dc-faq__bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; padding: 20px 0 14px; border: 0; border-bottom: var(--rule) solid var(--hairline); border-radius: 0; appearance: none; background: transparent; color: var(--black); font-family: inherit; font-size: var(--fs-question); font-weight: 600; line-height: 1.3; letter-spacing: -.03em; text-align: left; cursor: pointer; transition: background var(--ease); }
.dc-faq__bar > span:first-child { flex: 1 1 auto; }
.dc-faq__circle { display: flex; align-items: center; justify-content: center; width: 55px; min-width: 55px; height: 55px; border-radius: var(--radius-round); background: var(--plate); }
.dc-faq__plus { position: relative; display: block; width: 16px; height: 16px; transition: transform .3s; }
.dc-faq__plus::before, .dc-faq__plus::after { content: ""; position: absolute; top: 50%; left: 0; width: 100%; height: 2px; background: var(--black); transform: translateY(-50%); }
.dc-faq__plus::after { transform: translateY(-50%) rotate(90deg); }
.dc-faq__content { display: none; padding-top: 14px; font-size: 16px; line-height: 1.4; }
.dc-faq__content p { margin: 0; padding: 14px 0; font-size: 16px; line-height: 1.6; letter-spacing: -.03em; }
.dc-faq__item--open .dc-faq__bar, .dc-faq__item--open .dc-faq__content { width: calc(100% + 40px); margin-inline: -20px; padding-inline: 20px; background: var(--tint); }
.dc-faq__item--open .dc-faq__bar { border-bottom-color: transparent; }
.dc-faq__item--open .dc-faq__content { display: block; padding-top: 0; padding-bottom: 14px; }
.dc-faq__item--open .dc-faq__content p:first-child { padding-top: 0; }
.dc-faq__item--open .dc-faq__content p:last-child { padding-bottom: 0; }
.dc-faq__item--open .dc-faq__circle { background: var(--white); }
.dc-faq__item--open .dc-faq__plus { transform: rotate(45deg); }
.dc-faq__content .fold-note { margin: 0 0 12px; color: var(--ink); }
.dc-faq__content .fold-note--punch { margin-top: 14px; color: var(--black); font-size: 17px; font-weight: 600; line-height: 1.45; }
.cross-list { display: grid; gap: var(--gap-xs); margin: 0; padding: 0; list-style: none; }
.cross-list li { display: grid; grid-template-columns: 22px minmax(0, 1fr); align-items: start; gap: var(--gap-xs); color: var(--black); font-size: 16px; line-height: 1.45; }
.cross-list li::before { content: "\2715"; color: var(--black); font-size: 14px; line-height: 1.6; }
.cross-list + .text-link { margin-top: 18px; }
@media (max-width: 860px) { .faq-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; } }

/* ---------- Финал: двери ---------- */

.doors-section { background: var(--soft); }
.doors-head { display: grid; gap: var(--gap-xs); margin-bottom: clamp(24px, 2.6vw, 34px); }
.doors-head h2 { margin: 0; font-size: var(--fs-h2-final); line-height: 1.04; }
.doors-note { max-width: 54ch; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.5; }
.doors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: var(--rule-strong) solid var(--black); background: var(--white); }
.door { display: grid; grid-template-rows: auto auto 1fr auto; gap: var(--gap-xs); padding: clamp(24px, 2.6vw, 34px) clamp(20px, 2.2vw, 30px) clamp(22px, 2.4vw, 30px); border-right: var(--rule) solid var(--line); color: var(--black); text-decoration: none; transition: background var(--ease), color var(--ease); }
.door:last-child { border-right: 0; }
.door__tag { color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.door__title { font-size: var(--fs-card-title); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; }
.door__note { color: var(--muted); font-size: 15px; line-height: 1.5; }
.door__arrow { font-size: 22px; line-height: 1; }
.door--lead, .door:hover { background: var(--green); }
.door--lead .door__tag, .door:hover .door__tag { color: var(--on-green-faint); }
.door--lead .door__note, .door:hover .door__note { color: var(--on-green-muted); }
.door--lead:hover { background: var(--black); color: var(--white); }
.door--lead:hover .door__tag { color: rgba(255, 255, 255, .6); }
.door--lead:hover .door__note { color: rgba(255, 255, 255, .74); }
.doors-aside { margin: clamp(18px, 2vw, 26px) 0 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
.doors-aside a { color: var(--black); font-weight: 700; text-underline-offset: 3px; }
@media (max-width: 860px) {
  .doors { grid-template-columns: minmax(0, 1fr); }
  .door { grid-template-rows: none; border-right: 0; border-bottom: var(--rule) solid var(--line); }
  .door:last-child { border-bottom: 0; }
}

/* ---------- Подвал ---------- */

.site-footer { color: var(--black); background: var(--green); }
.site-footer .footer-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px 56px; align-items: start; width: min(100%, var(--max)); margin: auto; padding: 60px var(--x) 28px; }
.footer-lines { display: grid; gap: var(--gap-2xs); }
.footer-lines strong { font-size: 20px; font-weight: 700; line-height: 1.2; }
.footer-lines > span { max-width: 42ch; color: var(--on-green-muted); font-size: 14px; line-height: 1.45; }
.footer-contacts { display: grid; gap: var(--gap-sm); justify-items: start; margin-top: 26px; }
.footer-contacts a { display: inline-flex; align-items: center; gap: 13px; padding-bottom: 2px; border-bottom: var(--rule-strong) solid transparent; color: var(--black); font-size: 17px; text-decoration: none; }
.footer-contacts a:hover, .footer-contacts a:focus-visible { border-bottom-color: var(--black); }
.footer-social { display: grid; gap: 16px; align-content: start; }
.footer-social h2 { margin: 0; font-size: 20px; font-weight: 700; line-height: 1.2; letter-spacing: 0; }
.footer-social__row { display: flex; flex-wrap: wrap; gap: 12px; }
.footer-social__row a { display: block; line-height: 0; }
.footer-social__row a:hover svg { opacity: .78; }
.footer-bottom { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 28px; margin-top: 18px; padding-top: 20px; border-top: var(--rule) solid rgba(5, 5, 5, .22); color: var(--on-green-muted); font-size: 12px; }
.footer-docs { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-docs a { color: var(--on-green-muted); font-size: 12px; text-decoration: none; border-bottom: var(--rule) solid rgba(5, 5, 5, .3); }
.footer-docs a:hover { color: var(--black); border-bottom-color: var(--black); }
@media (max-width: 860px) {
  .site-footer .footer-inner { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 46px; }
  .footer-contacts { margin-top: 4px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
}
@media (max-width: 380px) {
  .footer-contacts a { gap: 10px; font-size: 14px; overflow-wrap: anywhere; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
