/* ============================================================================
   Джентльмены Маркетплейсов — премиальный одностраничник.
   Чёрный «джентльменский» мир + парящие 3D-объекты (WebGL, assets/scene.js).
   Принадлежность к площадкам считывается через цвет света (синий / фиолетовый /
   жёлтый) внутри 3D-композиций; сам интерфейс — монохромный, как на
   джентльмены-авто.рф: чёрный фон, белая крупная типографика, пилюли-кнопки.
   ========================================================================== */

/* ---- Токены ------------------------------------------------------------- */
:root {
  --bg: #050506;
  --bg-2: #0b0b0d;
  --bg-3: #111114;
  --ink: #f4f3f0;
  --ink-2: #c9c8c4;
  --ink-dim: #8f8f95;
  --ink-mute: #5f5f66;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --accent: #e3944a;                 /* латунь/оранж — преемственность бренда, используется точечно */
  --ozon: #2f7cff; --wb: #b23cff; --ym: #ffcf2e;
  --sans: "Inter", "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --display: "Inter Tight", "Inter", "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --serif: "Cormorant Garamond", "Playfair Display", Georgia, "Times New Roman", serif;
  --maxw: 1320px;
  --gutter: clamp(16px, 4.5vw, 56px);
  --hdr-h: 84px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.4, 0, .2, 1);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius: 18px;
}

/* ---- Сброс -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
b, strong { font-weight: 600; }
svg { display: block; }
::selection { background: rgba(255, 255, 255, .9); color: #050506; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 6px; }

.skip-link { position: fixed; left: -999px; top: 8px; z-index: 300; background: #fff; color: #000; padding: 10px 16px; border-radius: 999px; font-weight: 600; }
.skip-link:focus { left: 12px; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

/* ---- WebGL-слои --------------------------------------------------------- */
.gl { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; display: block; }
.gl--back { z-index: 0; }
.gl--front { z-index: 6; }
html.no-gl .gl { display: none; }

/* Плейсхолдеры сцен: рендерер рисует ровно в их прямоугольник.
   Без WebGL — остаётся мягкое цветное свечение (CSS), чтобы композиция не пустовала. */
.scene { position: absolute; inset: 0; pointer-events: none; }
.scene::before {
  content: ""; position: absolute; inset: 0; opacity: .0; transition: opacity .8s var(--ease);
  background:
    radial-gradient(38% 40% at 22% 40%, rgba(47, 124, 255, .18), transparent 70%),
    radial-gradient(34% 36% at 76% 30%, rgba(178, 60, 255, .16), transparent 70%),
    radial-gradient(30% 30% at 62% 78%, rgba(255, 207, 46, .12), transparent 70%);
}
html.no-gl .scene::before, html.gl-loading .scene::before { opacity: 1; }

/* ---- Типографика -------------------------------------------------------- */
.eyebrow {
  font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 600;
  color: var(--ink-dim); margin-bottom: 22px; display: flex; align-items: center; gap: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--accent); flex: none; opacity: .9; }
.h2 {
  font-family: var(--serif); font-weight: 600; font-style: normal; letter-spacing: -.005em; line-height: 1.0;
  font-size: clamp(2.5rem, 6vw, 5.4rem); text-wrap: balance; overflow-wrap: anywhere;
}
.serif { font-family: var(--serif); font-style: italic; font-weight: 500; letter-spacing: -.01em; font-size: 1.12em; line-height: .9; }
.lead { font-size: clamp(1.02rem, 1.35vw, 1.22rem); color: var(--ink-2); line-height: 1.6; max-width: 58ch; margin-top: 26px; }
.lead--center { margin-inline: auto; }
.section { position: relative; padding-block: clamp(72px, 9.5vw, 136px); }
.section__head { margin-bottom: clamp(40px, 6vw, 80px); max-width: 980px; }

/* ---- Кнопки (пилюли, как на джентльмены-авто) --------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 17px 32px; border-radius: 999px; font-family: var(--sans); font-weight: 500; font-size: 1rem; line-height: 1;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s var(--ease-io), color .25s var(--ease-io), border-color .25s;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.99); }
.btn--white { background: #fff; color: #060607; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.btn--white:hover { box-shadow: 0 0 0 1px rgba(255, 255, 255, .35), 0 18px 50px rgba(255, 255, 255, .14); }
.btn--black { background: #0a0a0b; color: #fff; border-color: rgba(255, 255, 255, .18); }
.btn--black:hover { border-color: rgba(255, 255, 255, .45); }
.btn--dark { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .16); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--dark:hover { background: rgba(255, 255, 255, .11); border-color: rgba(255, 255, 255, .34); box-shadow: 0 0 40px rgba(255, 255, 255, .06); }
.btn--lg { padding: 20px 38px; font-size: 1.05rem; }
.btn--sm { padding: 12px 22px; font-size: .92rem; }
.btn--xl { padding: 22px 40px; font-size: 1.08rem; min-height: 66px; gap: 14px; }
.btn__arrow { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn:hover .btn__arrow--down { transform: translateY(4px); }
.btn--white:active { background: #ececea; }
.btn--dark:active { background: rgba(255, 255, 255, .16); }

/* ---- Бейджи площадок (WB / OZON / Я — как на логотипе агентства) --------- */
.mp { height: 24px; width: auto; flex: none; display: inline-block; vertical-align: middle; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .35)); }
.mp--lg { height: 30px; }
.mp-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin-top: 22px; }
.mp-item { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: #fff; font-size: 1rem; white-space: nowrap; }

/* ---- Соц-иконки --------------------------------------------------------- */
.socials { display: flex; align-items: center; gap: 22px; }
.socials a { color: #fff; opacity: .85; transition: opacity .2s, transform .35s var(--ease); display: inline-flex; }
.socials a:hover { opacity: 1; transform: translateY(-2px); }
.socials svg { width: 20px; height: 20px; fill: currentColor; }

/* ============================================================================
   ШАПКА
   ========================================================================== */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--hdr-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-inline: var(--gutter);
  transition: background .4s var(--ease-io), border-color .4s, height .3s var(--ease), backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.hdr--solid {
  height: 68px; background: rgba(5, 5, 6, .72); border-bottom-color: var(--line);
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
}
.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand__logo {
  width: 60px; height: 60px; flex: none; border-radius: 14px; background: #fff; overflow: hidden;
  display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0, 0, 0, .35);
  transition: transform .35s var(--ease), height .3s var(--ease), width .3s var(--ease);
}
.brand__logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.brand:hover .brand__logo { transform: translateY(-1px) scale(1.03); }
.hdr--solid .brand__logo { width: 46px; height: 46px; border-radius: 11px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.12; }
.brand__text b { font-family: var(--display); font-weight: 700; font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; }
.brand__text span { font-size: .53rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-dim); margin-top: 4px; white-space: nowrap; }

.hdr__nav { display: flex; gap: clamp(18px, 2.4vw, 36px); font-size: .95rem; color: var(--ink-2); }
.hdr__nav a { position: relative; padding-block: 6px; transition: color .2s; }
.hdr__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: #fff; transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.hdr__nav a:hover { color: #fff; }
.hdr__nav a:hover::after { transform: scaleX(1); }

.hdr__right { display: flex; align-items: center; gap: 22px; }
.socials--hdr { gap: 18px; }
.socials--hdr svg { width: 18px; height: 18px; }

/* Крупный бургер (как на существующем сайте) */
.burger {
  display: none; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, .04); cursor: pointer; padding: 0; position: relative; flex: none;
  -webkit-tap-highlight-color: transparent;
}
.burger span { position: absolute; left: 14px; right: 14px; height: 2px; background: #fff; border-radius: 2px; transition: transform .4s var(--ease), opacity .2s, top .4s var(--ease); }
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 25px; }
.burger span:nth-child(3) { top: 33px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 25px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { top: 25px; transform: rotate(-45deg); }

/* Полноэкранное меню */
.menu {
  position: fixed; inset: 0; z-index: 45; background: rgba(5, 5, 6, .96);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--hdr-h) + 12px) var(--gutter) max(28px, env(safe-area-inset-bottom));
  opacity: 0; transition: opacity .35s var(--ease-io);
  overflow-y: auto;
}
.menu.is-open { opacity: 1; }
.menu__nav { display: flex; flex-direction: column; gap: 4px; }
.menu__nav a {
  display: flex; align-items: baseline; gap: 18px; padding: 12px 0;
  font-family: var(--display); font-weight: 600; font-size: clamp(2rem, 8.5vw, 3rem); letter-spacing: -.03em; line-height: 1.05;
  border-bottom: 1px solid var(--line);
  transform: translateY(14px); opacity: 0; transition: transform .6s var(--ease), opacity .5s;
}
.menu.is-open .menu__nav a { transform: none; opacity: 1; }
.menu__nav a:nth-child(2) { transition-delay: .05s; } .menu__nav a:nth-child(3) { transition-delay: .1s; }
.menu__nav a:nth-child(4) { transition-delay: .15s; } .menu__nav a:nth-child(5) { transition-delay: .2s; } .menu__nav a:nth-child(6) { transition-delay: .25s; }
.menu__nav a span { font-family: var(--sans); font-size: .7rem; letter-spacing: .2em; color: var(--ink-dim); font-weight: 500; }
.menu__foot { display: flex; flex-direction: column; gap: 22px; margin-top: 36px; }
.menu__foot .btn { width: 100%; }
.menu__phone { font-family: var(--display); font-size: 1.45rem; font-weight: 500; letter-spacing: -.01em; }
.socials--menu { gap: 26px; }
.socials--menu svg { width: 24px; height: 24px; }

/* ============================================================================
   1 / HERO
   ========================================================================== */
.hero {
  position: relative; min-height: 100svh; min-height: 100vh;
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: calc(var(--hdr-h) + 24px) var(--gutter) 96px; overflow: hidden;
  isolation: isolate;
}
.scene--hero { inset: 0; }
.hero__vignette {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(60% 55% at 50% 52%, rgba(5, 5, 6, .78) 0%, rgba(5, 5, 6, .42) 45%, rgba(5, 5, 6, 0) 75%),
    linear-gradient(180deg, rgba(5, 5, 6, .55) 0%, rgba(5, 5, 6, 0) 22%, rgba(5, 5, 6, 0) 70%, var(--bg) 100%);
}
.hero__content { position: relative; z-index: 2; max-width: 1040px; }
.hero__content .eyebrow { justify-content: center; margin-bottom: 26px; }
.hero__content .eyebrow::before { display: none; }
.hero__title {
  font-family: var(--display); font-weight: 600; letter-spacing: -.04em; line-height: 1;
  font-size: clamp(2.3rem, 6vw, 5.2rem); color: #fff; text-wrap: balance;
  text-shadow: 0 10px 60px rgba(0, 0, 0, .55);
}
.hero__sub { margin-top: clamp(20px, 2.6vw, 30px); font-size: clamp(1.05rem, 1.6vw, 1.35rem); font-weight: 400; color: #fff; letter-spacing: -.01em; max-width: 32ch; margin-inline: auto; line-height: 1.4; }
.hero__note { margin-top: 14px; font-size: clamp(.92rem, 1.15vw, 1.04rem); color: var(--ink-2); max-width: 66ch; margin-inline: auto; line-height: 1.6; }
.hero__note b { color: #fff; font-weight: 600; }
.hero__note i { font-style: normal; color: var(--ink-dim); margin-inline: 4px; }
.hero__cta { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin-top: clamp(44px, 6.5vw, 76px); }
.scroll-hint {
  position: absolute; left: 50%; bottom: 30px; z-index: 2; transform: translateX(-50%);
  width: 26px; height: 42px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .28);
  display: flex; justify-content: center; padding-top: 7px; opacity: .8;
}
.scroll-hint span { width: 3px; height: 8px; border-radius: 2px; background: #fff; animation: hint 2.2s var(--ease-io) infinite; }
@keyframes hint { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { transform: translateY(0); opacity: 0; } }

/* ============================================================================
   2 / ПАРТНЁР
   ========================================================================== */
.about { overflow: hidden; }
.about__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.about__art { position: relative; aspect-ratio: 1 / 1; min-height: 360px; }
.about__art::after { content: ""; position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(closest-side, rgba(47, 124, 255, .13), transparent 72%); filter: blur(30px); pointer-events: none; }
.scene--about { inset: -10%; }
.facts { display: grid; grid-template-columns: repeat(3, auto); gap: 24px clamp(20px, 3vw, 48px); margin-top: clamp(34px, 4vw, 52px); padding-top: 28px; border-top: 1px solid var(--line); }
.facts li { display: flex; flex-direction: column; gap: 4px; }
.facts b { font-family: var(--display); font-weight: 600; font-size: clamp(1.7rem, 2.8vw, 2.5rem); letter-spacing: -.03em; line-height: 1; }
.facts span { font-size: .86rem; color: var(--ink-dim); line-height: 1.35; }

/* ============================================================================
   3 / УСЛУГИ — карточки с объёмной иконкой
   ========================================================================== */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 26px 26px 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .02));
  border: 1px solid var(--line);
  transition: transform .5s var(--ease), border-color .4s, box-shadow .5s var(--ease), background .4s;
  min-height: 330px; display: flex; flex-direction: column;
}
.card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .5s;
  background: radial-gradient(70% 55% at 50% 0%, rgba(255, 255, 255, .13), transparent 70%);
}
.card::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .5s;
  padding: 1px; background: linear-gradient(160deg, rgba(255, 255, 255, .45), rgba(255, 255, 255, .06) 40%, rgba(255, 255, 255, 0) 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: 0 30px 70px rgba(0, 0, 0, .55), 0 0 60px rgba(255, 255, 255, .04); }
.card:hover::before, .card:hover::after { opacity: 1; }
.scene--icon { position: relative; inset: auto; width: 100%; aspect-ratio: 1.45 / 1; margin: -6px 0 14px; }
.scene--icon::before { background: radial-gradient(45% 45% at 50% 55%, rgba(255, 255, 255, .06), transparent 70%); }
.card h3 { font-family: var(--display); font-weight: 600; font-size: clamp(1.15rem, 1.35vw, 1.32rem); letter-spacing: -.025em; line-height: 1.15; margin-bottom: 10px; text-wrap: balance; }
.card p { color: var(--ink-dim); font-size: .92rem; line-height: 1.55; }

/* ============================================================================
   4 / ПЛОЩАДКИ
   ========================================================================== */
.platforms__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.platform {
  position: relative; overflow: hidden; border-radius: var(--radius-xl); border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .015));
  display: flex; flex-direction: column; min-height: 640px; isolation: isolate;
  transition: border-color .4s, transform .5s var(--ease), box-shadow .5s var(--ease);
}
.platform:hover { border-color: var(--line-2); transform: translateY(-4px); box-shadow: 0 40px 80px rgba(0, 0, 0, .5); }
.platform__art { position: relative; height: 320px; flex: none; }
.platform__art::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 70% at 50% 60%, var(--glow) 0%, transparent 70%); opacity: .6; transition: opacity .5s; }
.platform:hover .platform__art::before { opacity: .95; }
.platform--ozon { --glow: rgba(47, 124, 255, .28); }
.platform--wb { --glow: rgba(178, 60, 255, .26); }
.platform--ym { --glow: rgba(255, 207, 46, .2); }
.scene--platform { inset: 0; }
.platform__body { padding: 8px 30px 34px; display: flex; flex-direction: column; flex: 1; }
.platform__tag { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-dim); margin-bottom: 14px; font-weight: 600; }
.platform h3 { font-family: var(--display); font-weight: 600; font-size: clamp(1.9rem, 2.6vw, 2.5rem); letter-spacing: -.03em; line-height: 1; margin-bottom: 16px; display: flex; align-items: center; gap: 12px; }
.platform__body > p { color: var(--ink-2); font-size: .95rem; line-height: 1.6; }
.platform__list { margin-top: auto; padding-top: 22px; display: flex; flex-direction: column; gap: 10px; font-size: .9rem; color: var(--ink-dim); }
.platform__list li { display: flex; align-items: center; gap: 12px; }
.platform__list li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; opacity: .6; flex: none; }

/* ============================================================================
   5 / РЕЗУЛЬТАТЫ
   ========================================================================== */
.results { overflow: hidden; }
.results::before, .results::after, .cta::after {
  content: ""; position: absolute; left: 0; right: 0; height: 140px; z-index: 0; pointer-events: none;
}
.results::before { top: 0; background: linear-gradient(180deg, var(--bg), transparent); }
.results::after, .cta::after { bottom: 0; background: linear-gradient(0deg, var(--bg), transparent); }
.scene--results { inset: 0; opacity: .95; }
.results .container { position: relative; z-index: 1; }
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.metric {
  padding: 30px 28px 32px; border-radius: var(--radius-lg); border: 1px solid var(--line);
  background: rgba(8, 8, 10, .58); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  display: flex; flex-direction: column; gap: 10px; transition: border-color .4s;
}
.metric:hover { border-color: var(--line-2); }
.metric b { font-family: var(--display); font-weight: 600; font-size: clamp(2.6rem, 4.2vw, 4.2rem); letter-spacing: -.045em; line-height: .95; white-space: nowrap; }
.metric b i { font-style: normal; font-size: .55em; color: var(--ink-dim); font-weight: 500; letter-spacing: -.02em; margin-inline: .04em; }
.metric span { font-size: 1rem; color: #fff; }
.metric small { font-size: .8rem; color: var(--ink-dim); }

/* ============================================================================
   6 / ЭТАПЫ
   ========================================================================== */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; counter-reset: step; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 30px; height: 1px; background: linear-gradient(90deg, transparent, var(--line-2) 8%, var(--line-2) 92%, transparent); }
.step { position: relative; padding: 0 24px 0 0; padding-top: 64px; }
.step__no {
  position: absolute; top: 0; left: 0; width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-content: center; background: var(--bg); border: 1px solid var(--line-2);
  font-family: var(--display); font-weight: 600; font-size: 1rem; letter-spacing: .02em; color: #fff;
  box-shadow: 0 0 0 10px var(--bg);
}
.step h3 { font-family: var(--display); font-weight: 600; font-size: clamp(1.15rem, 1.4vw, 1.4rem); letter-spacing: -.025em; line-height: 1.12; margin-bottom: 12px; }
.step p { color: var(--ink-dim); font-size: .92rem; line-height: 1.55; max-width: 28ch; }

/* ============================================================================
   7 / КЕЙСЫ — стиль финансового отчёта
   ========================================================================== */
.cases__list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.case {
  border-radius: var(--radius-xl); border: 1px solid var(--line); padding: clamp(24px, 3vw, 40px);
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015));
  display: flex; flex-direction: column; gap: 26px; transition: border-color .4s;
}
.case:hover { border-color: var(--line-2); }
.case__head { display: flex; justify-content: space-between; gap: 20px; align-items: flex-end; flex-wrap: wrap; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.case__no { font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); font-weight: 600; display: block; margin-bottom: 10px; }
.case h3 { font-family: var(--display); font-weight: 600; font-size: clamp(1.5rem, 2.2vw, 2.1rem); letter-spacing: -.03em; line-height: 1; }
.case__meta { display: flex; gap: 22px; }
.case__meta dt { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); }
.case__meta dd { font-size: .92rem; color: var(--ink-2); margin-top: 3px; white-space: nowrap; }

.ab { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
.ab__col { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.ab__col--after { border-color: rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .05); }
.ab__cap { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-dim); }
.ab__col b { font-family: var(--display); font-weight: 600; font-size: clamp(1.25rem, 1.7vw, 1.6rem); letter-spacing: -.03em; line-height: 1.05; white-space: nowrap; }
.ab__sub { font-size: .78rem; color: var(--ink-dim); }
.ab__delta { display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 18px 20px; border-radius: var(--radius); background: #fff; color: #060607; }
.ab__delta b { font-family: var(--display); font-weight: 600; font-size: clamp(1.9rem, 2.8vw, 2.6rem); letter-spacing: -.045em; line-height: 1; }
.ab__delta span { font-size: .8rem; color: #4a4a4f; line-height: 1.35; }

/* График: тонкие столбики, скруглённые концы от базовой линии, монохром */
.chart { display: flex; flex-direction: column; gap: 12px; }
.chart__cap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .78rem; color: var(--ink-dim); }
.chart__legend { display: inline-flex; align-items: center; gap: 6px; }
.chart__sw { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-left: 10px; }
.chart__sw--before { background: #5c5c63; } .chart__sw--after { background: #fff; }
.chart__sw--line { width: 16px; height: 2px; border-radius: 1px; background: #fff; }
.chart__svg { width: 100%; height: auto; overflow: visible; font-family: var(--sans); }
.chart__grid line { stroke: rgba(255, 255, 255, .09); stroke-width: 1; }
.chart__axis text { fill: var(--ink-mute); font-size: 11px; }
.chart__bars text { fill: var(--ink-dim); font-size: 11px; text-anchor: middle; }
.chart__bars text.v { fill: #fff; font-weight: 600; font-size: 12px; }
.chart__bars .b0 { fill: #5c5c63; }
.chart__bars .b1 { fill: #fff; }
.chart__bars rect { transition: opacity .2s; }
.chart__bars g:hover rect { opacity: .8; }
.chart__line { fill: none; stroke: #fff; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.chart__dots circle { fill: #fff; stroke: var(--bg-2); stroke-width: 2; }
.chart__labels .v { fill: #fff; font-size: 12px; font-weight: 600; }

.kpis { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; padding-top: 22px; border-top: 1px solid var(--line); }
.kpis dt { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); }
.kpis dd { font-size: .84rem; color: var(--ink-2); margin-top: 4px; font-variant-numeric: tabular-nums; display: flex; flex-wrap: wrap; gap: 0 6px; }
.kpis dd span { white-space: nowrap; }
.kpis dd span + span { color: #fff; }

/* ============================================================================
   8 / ФИЛОСОФИЯ — кабинет джентльменского клуба
   ========================================================================== */
/* Фон секций обязан быть полупрозрачным: непрозрачный фон закроет фиксированный WebGL-слой */
.philosophy { overflow: hidden; background: linear-gradient(180deg, transparent 0%, rgba(214, 165, 82, .05) 50%, transparent 100%); }
.philosophy__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.philosophy__art { position: relative; aspect-ratio: 1.15 / 1; min-height: 360px; border-radius: var(--radius-xl); border: 1px solid rgba(214, 165, 82, .16); background: radial-gradient(80% 70% at 30% 20%, rgba(214, 165, 82, .14), transparent 60%), rgba(255, 255, 255, .02); }
.scene--club { inset: 0; }
.scene--club::before { background: radial-gradient(45% 45% at 30% 30%, rgba(214, 165, 82, .22), transparent 70%); }
.quote { margin-top: 4px; }
.quote p { font-family: var(--serif); font-weight: 500; font-style: italic; font-size: clamp(2rem, 4vw, 3.4rem); letter-spacing: -.01em; line-height: 1.08; text-wrap: balance; }
.principles { margin-top: 30px; display: flex; flex-direction: column; gap: 12px; }
.principles li { display: flex; gap: 14px; align-items: center; color: var(--ink-2); font-size: .95rem; }
.principles li::before { content: ""; width: 22px; height: 1px; background: var(--accent); flex: none; }

/* ============================================================================
   9 / CTA
   ========================================================================== */
.cta { overflow: hidden; text-align: center; padding-block: clamp(100px, 14vw, 190px); }
.scene--cta { inset: 0; }
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 60% at 50% 50%, rgba(5, 5, 6, .75), rgba(5, 5, 6, .2) 60%, transparent); pointer-events: none; }
.cta__inner { position: relative; z-index: 1; max-width: 920px; }
.cta__inner .eyebrow { justify-content: center; }
.cta__inner .eyebrow::before { display: none; }
.cta__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }
.cta__hint { margin-top: 26px; font-size: .9rem; color: var(--ink-dim); }
.cta__hint a { color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .3); }
.cta__hint a:hover { border-color: #fff; }

/* ============================================================================
   10 / КОНТАКТЫ — ссылки-иконки + текстом + основной логотип
   ========================================================================== */
.contacts { overflow: hidden; }
.contacts__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.contacts__cta { margin-top: 30px; }
.contact-list { margin-top: 30px; display: flex; flex-direction: column; gap: 10px; }
.contact-list a { display: inline-flex; align-items: center; gap: 14px; font-size: clamp(1.02rem, 1.3vw, 1.18rem); color: #fff; padding: 4px 0; transition: color .2s; }
.contact-list a:hover { color: var(--ink-2); }
.contact-list__ico { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); transition: border-color .2s, background .2s; }
.contact-list__ico svg { width: 18px; height: 18px; fill: #fff; }
.contact-list a:hover .contact-list__ico { border-color: #fff; background: rgba(255, 255, 255, .1); }
.socials--contacts { margin-top: 28px; gap: 26px; padding-top: 24px; border-top: 1px solid var(--line); }
.socials--contacts svg { width: 22px; height: 22px; }
.contacts__art { display: flex; justify-content: center; }
.logo-card {
  width: 100%; max-width: 440px; aspect-ratio: 1 / 1; border-radius: var(--radius-xl); background: #fff; padding: clamp(18px, 3vw, 34px);
  box-shadow: 0 40px 100px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .12), 0 0 90px rgba(255, 255, 255, .06);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.logo-card:hover { transform: translateY(-4px); box-shadow: 0 50px 110px rgba(0, 0, 0, .65), 0 0 0 1px rgba(255, 255, 255, .2), 0 0 120px rgba(255, 255, 255, .1); }
.logo-card img { width: 100%; height: 100%; object-fit: contain; display: block; }

/* ============================================================================
   FOOTER — как на джентльмены-авто: чёрный фон, белые иконки, строки по центру
   ========================================================================== */
.footer { position: relative; z-index: 1; background: #000; border-top: 1px solid var(--line); padding: 64px 0 40px; text-align: center; }
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.socials--footer { gap: 30px; }
.socials--footer svg { width: 20px; height: 20px; }
.footer__phone { font-family: var(--display); font-size: 1.35rem; font-weight: 500; letter-spacing: -.01em; }
.footer__text { font-size: .86rem; color: var(--ink-dim); line-height: 1.8; max-width: 72ch; }
.footer__text a { color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .25); }
.footer__legal { font-size: .74rem; color: var(--ink-mute); max-width: 68ch; line-height: 1.6; }
.footer__build { font-size: .72rem; color: var(--ink-mute); }
.footer__build code { font-family: ui-monospace, "SF Mono", Menlo, monospace; color: var(--ink-dim); }

/* ============================================================================
   ПОЯВЛЕНИЕ ПРИ СКРОЛЛЕ
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.cards .card:nth-child(2), .metrics .metric:nth-child(2), .platforms__list .platform:nth-child(2), .steps .step:nth-child(2) { transition-delay: .08s; }
.cards .card:nth-child(3), .metrics .metric:nth-child(3), .platforms__list .platform:nth-child(3), .steps .step:nth-child(3) { transition-delay: .16s; }
.cards .card:nth-child(4), .metrics .metric:nth-child(4), .steps .step:nth-child(4) { transition-delay: .24s; }
.steps .step:nth-child(5) { transition-delay: .32s; }
.cards .card:nth-child(6) { transition-delay: .08s; } .cards .card:nth-child(7) { transition-delay: .16s; } .cards .card:nth-child(8) { transition-delay: .24s; }

/* ============================================================================
   АДАПТИВ
   ========================================================================== */
@media (max-width: 1180px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .hdr__nav { display: none; }
}
@media (max-width: 980px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .platforms__list { grid-template-columns: 1fr; }
  .platform { min-height: 0; flex-direction: row; }
  .platform__art { width: 44%; height: auto; min-height: 300px; }
  .platform__body { padding: 30px 30px 30px 0; }
  .cases__list { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 6px; }
  .steps::before { left: 30px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; background: linear-gradient(180deg, transparent, var(--line-2) 6%, var(--line-2) 94%, transparent); }
  .step { padding: 8px 0 34px 86px; }
  .step__no { top: 8px; }
  .step p { max-width: 60ch; }
  .about__grid, .philosophy__grid, .contacts__grid { grid-template-columns: 1fr; }
  .contacts__art { order: -1; }
  .logo-card { max-width: 360px; }
  .about__art { order: -1; aspect-ratio: 1.3 / 1; min-height: 300px; }
  .philosophy__art { aspect-ratio: 1.4 / 1; min-height: 280px; }
}
@media (max-width: 880px) {
  :root { --hdr-h: 72px; }
  .brand__logo, .hdr--solid .brand__logo { width: 46px; height: 46px; border-radius: 11px; }
  .burger { display: block; }
  .socials--hdr, .hdr__phone { display: none; }
  .hero { padding-bottom: 84px; }
  .hero__sub { max-width: 24ch; }
  .facts { grid-template-columns: repeat(3, auto); gap: 18px 16px; }
}
@media (max-width: 640px) {
  .scene--about { inset: 0; }
  .hero__content .eyebrow { font-size: .66rem; letter-spacing: .18em; margin-bottom: 22px; }
  .mp-row { gap: 8px 14px; }
  .mp-item { font-size: .92rem; gap: 8px; }
  .mp { height: 22px; }
  .contact-list a { font-size: 1rem; }
  .contact-list a > span:last-child { overflow-wrap: anywhere; }
  .logo-card { max-width: 300px; }
  .ab__cap { letter-spacing: .1em; white-space: nowrap; }
  /* SVG-график сжимается ~в 1,7 раза — компенсируем кегль подписей */
  .chart__axis text { font-size: 17px; }
  .chart__bars text { font-size: 18px; }
  .chart__bars text.v, .chart__labels .v { font-size: 20px; }
  .chart__line { stroke-width: 3; }
  .chart__dots circle { r: 6; }
  .cards { grid-template-columns: 1fr; }
  .card { min-height: 0; flex-direction: row; align-items: center; gap: 16px; padding: 18px 20px 18px 16px; }
  .card .scene--icon { width: 118px; flex: none; aspect-ratio: 1 / 1; margin: 0; }
  .card__body { flex: 1; min-width: 0; }
  .card h3 { font-size: 1.08rem; }
  .card p { font-size: .86rem; }
  .platform { flex-direction: column; }
  .platform__art { width: 100%; min-height: 0; height: 250px; }
  .platform__body { padding: 4px 22px 26px; }
  .metrics { grid-template-columns: 1fr; }
  .metric { padding: 24px 22px; }
  .ab { grid-template-columns: 1fr 1fr; }
  .ab__delta { grid-column: 1 / -1; flex-direction: row; align-items: baseline; gap: 14px; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .case__meta { gap: 16px; flex-wrap: wrap; }
  .facts { grid-template-columns: 1fr 1fr; }
  .hero__cta .btn { width: 100%; max-width: 360px; }
  .cta__actions .btn { width: 100%; max-width: 360px; }
  .footer { padding: 52px 0 32px; }
  .hero__title { font-size: clamp(2.1rem, 9.6vw, 3.2rem); }
  .btn--xl { min-height: 62px; padding: 18px 28px; font-size: 1.04rem; }
  .hero__cta { gap: 14px; margin-top: 40px; }
}
@media (max-width: 400px) {
  .facts { grid-template-columns: 1fr; }
  .card .scene--icon { width: 96px; }
}

/* ---- Уважать «уменьшить движение» -------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-hint span { animation: none; }
  .btn, .card, .platform { transition: none; }
}

/* ============================================================================
   МНОГОСТРАНИЧНОСТЬ — общий слой (макеты: Главная / О компании / Услуги /
   Этапы / Кейсы / Контакты). Активный пункт меню проставляет app.js по пути.
   ========================================================================== */

/* Активный раздел в шапке и в мобильном меню */
.hdr__nav a.is-active { color: #fff; }
.hdr__nav a.is-active::after { transform: scaleX(1); }
.menu__nav a.is-active { color: var(--accent); }

/* ---- Заголовочный блок внутренних страниц (page-hero) ------------------- */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: calc(var(--hdr-h) + clamp(46px, 7vw, 92px)) 0 clamp(44px, 6vw, 80px);
}
.page-hero .scene { z-index: 0; }
.page-hero__vignette {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(70% 80% at 78% 20%, rgba(227, 148, 74, .10), transparent 60%),
    linear-gradient(180deg, rgba(5, 5, 6, .55) 0%, rgba(5, 5, 6, .15) 40%, var(--bg) 100%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero__grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(24px, 4vw, 64px); align-items: end; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: .8rem; color: var(--ink-mute); margin-bottom: 24px; letter-spacing: .02em; }
.crumbs a { transition: color .2s; }
.crumbs a:hover { color: var(--ink-2); }
.crumbs span { color: var(--ink-dim); }
.page-hero h1 {
  font-family: var(--serif); font-weight: 600; letter-spacing: -.005em; line-height: 1;
  font-size: clamp(2.9rem, 7.2vw, 6rem); color: #fff; text-wrap: balance;
  text-shadow: 0 10px 60px rgba(0, 0, 0, .5);
}
.page-hero__sub { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(1.5rem, 3.2vw, 2.5rem); letter-spacing: -.01em; line-height: 1.05; color: var(--accent); margin-top: 14px; }
.page-hero .lead { max-width: 52ch; }
.page-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.page-hero__aside { position: relative; }
.plate {
  position: relative; border-radius: var(--radius-lg); border: 1px solid rgba(227, 148, 74, .3);
  background: linear-gradient(180deg, rgba(227, 148, 74, .08), rgba(255, 255, 255, .015));
  padding: clamp(24px, 3vw, 38px); text-align: center;
}
.plate p { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.1; color: #fff; letter-spacing: -.01em; }
.plate::before, .plate::after { content: ""; display: block; width: 34px; height: 1px; background: var(--accent); margin: 0 auto; opacity: .8; }
.plate::before { margin-bottom: 18px; } .plate::after { margin-top: 18px; }

/* ---- Полоса «4 преимущества» под hero (главная) ------------------------- */
.feature-band { position: relative; z-index: 1; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature-band .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.feature { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; padding: clamp(30px, 4vw, 46px) 18px; position: relative; }
.feature + .feature::before { content: ""; position: absolute; left: 0; top: 20%; bottom: 20%; width: 1px; background: var(--line); }
.feature svg { width: 32px; height: 32px; stroke: var(--accent); fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.feature span { font-family: var(--display); font-weight: 600; font-size: 1.02rem; line-height: 1.2; color: #fff; }

/* ---- Цифры «О компании» ------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 3vw, 40px); padding-block: clamp(30px, 4vw, 48px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { text-align: center; }
.stat__ico { width: 40px; height: 40px; margin: 0 auto 14px; stroke: var(--accent); fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.stat b { font-family: var(--display); font-weight: 600; font-size: clamp(2rem, 3.6vw, 3.1rem); letter-spacing: -.035em; line-height: 1; display: block; }
.stat span { color: var(--ink-dim); font-size: .88rem; line-height: 1.4; margin-top: 8px; display: block; }

/* ---- История / миссия / ценности --------------------------------------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); }
.duo__col p + p { margin-top: 16px; }
.duo__col .lead { margin-top: 20px; }
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 26px; }
.value { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(255, 255, 255, .02); transition: border-color .3s; }
.value:hover { border-color: var(--line-2); }
.value__ico { width: 44px; height: 44px; flex: none; border-radius: 12px; border: 1px solid var(--line-2); display: grid; place-items: center; }
.value__ico svg { width: 22px; height: 22px; stroke: var(--accent); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.value h4 { font-family: var(--display); font-weight: 600; font-size: 1.05rem; letter-spacing: -.02em; margin-bottom: 4px; }
.value p { color: var(--ink-dim); font-size: .86rem; line-height: 1.45; }

/* ---- Цитата в рамке (этапы / о компании) ------------------------------- */
.quote-card { border-left: 2px solid var(--accent); padding: 6px 0 6px 26px; }
.quote-card p { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(1.35rem, 2.4vw, 1.9rem); line-height: 1.15; color: #fff; letter-spacing: -.01em; }
.quote-card cite { display: block; margin-top: 14px; font-style: normal; font-size: .82rem; letter-spacing: .04em; color: var(--ink-dim); }

/* ---- CTA-карточка «Готовы обсудить ваш проект?» ------------------------- */
.cta-card {
  border-radius: var(--radius-xl); border: 1px solid var(--line-2);
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
  padding: clamp(30px, 4vw, 56px); display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(22px, 3vw, 44px); align-items: center;
}
.cta-card h2 { font-family: var(--display); font-weight: 600; font-size: clamp(1.7rem, 3vw, 2.6rem); letter-spacing: -.035em; line-height: 1.05; }
.cta-card p { color: var(--ink-2); margin-top: 16px; max-width: 52ch; }
.cta-card__actions { display: flex; flex-direction: column; gap: 12px; }
.cta-card__actions .btn { width: 100%; }

/* ---- Услуги: номер + «Подробнее» --------------------------------------- */
.card__no { font-family: var(--display); font-weight: 600; font-size: .82rem; letter-spacing: .18em; color: var(--ink-mute); margin-bottom: 6px; }
.card__more { margin-top: auto; padding-top: 16px; font-size: .85rem; color: #fff; display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; transition: gap .3s var(--ease); }
.card__more svg { width: 14px; height: 14px; stroke: var(--accent); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card:hover .card__more { gap: 12px; }
.card__body { display: flex; flex-direction: column; flex: 1; }

/* ---- Этапы работы: 6 карточек 3×2 -------------------------------------- */
.steps6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step6 { position: relative; overflow: hidden; padding: 30px 28px 32px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015)); transition: transform .5s var(--ease), border-color .4s, box-shadow .5s var(--ease); }
.step6:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: 0 30px 70px rgba(0, 0, 0, .5); }
.step6__no { font-family: var(--display); font-weight: 600; font-size: 2.6rem; letter-spacing: -.03em; line-height: 1; color: rgba(255, 255, 255, .16); }
.step6 h3 { font-family: var(--display); font-weight: 600; font-size: 1.3rem; letter-spacing: -.025em; margin: 16px 0 10px; }
.step6 p { color: var(--ink-dim); font-size: .92rem; line-height: 1.55; }

/* ---- Кейсы: «Что было сделано» ----------------------------------------- */
.case__did { padding-top: 22px; border-top: 1px solid var(--line); }
.case__did h4 { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-dim); margin-bottom: 14px; }
.case__did ul { display: grid; gap: 9px; }
.case__did li { display: flex; gap: 11px; font-size: .88rem; color: var(--ink-2); line-height: 1.4; }
.case__did li::before { content: "✓"; color: var(--accent); font-weight: 700; flex: none; }
.cases__list--4 { grid-template-columns: 1fr 1fr; }

/* ---- Контакты: карта + форма ------------------------------------------- */
.contacts-io { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(20px, 3vw, 32px); margin-top: clamp(32px, 5vw, 60px); align-items: stretch; }
.map { border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--line); min-height: 440px; background: rgba(255, 255, 255, .02); position: relative; }
.map iframe { display: block; width: 100%; height: 100%; min-height: 440px; border: 0; }
.form-panel { padding: clamp(24px, 3vw, 40px); border-radius: var(--radius-xl); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015)); }
.form-panel h2 { font-family: var(--display); font-weight: 600; font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -.03em; }
.form-panel > p { color: var(--ink-2); margin-top: 12px; }
.form { display: grid; gap: 12px; margin-top: 24px; }
.field { position: relative; }
.field__ico { position: absolute; left: 18px; top: 17px; width: 20px; height: 20px; fill: var(--ink-dim); pointer-events: none; }
.field input, .field textarea {
  width: 100%; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); border-radius: var(--radius);
  color: #fff; font-family: var(--sans); font-size: 1rem; padding: 15px 18px 15px 52px; transition: border-color .2s, background .2s;
}
.field textarea { min-height: 118px; resize: vertical; padding-top: 15px; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-mute); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--line-2); background: rgba(255, 255, 255, .07); }
.form .btn { margin-top: 6px; }
.form__note { display: flex; gap: 9px; align-items: flex-start; font-size: .78rem; color: var(--ink-mute); line-height: 1.4; margin-top: 2px; }
.form__note svg { width: 15px; height: 15px; fill: var(--ink-mute); flex: none; margin-top: 1px; }
.form__ok { display: none; }
.form.is-sent .field, .form.is-sent .btn, .form.is-sent .form__note { display: none; }
.form.is-sent .form__ok {
  display: block; margin-top: 0; text-align: center; color: #fff; font-size: 1.05rem; line-height: 1.5;
  padding: 30px 24px; border-radius: var(--radius); border: 1px solid rgba(227, 148, 74, .4);
  background: rgba(227, 148, 74, .08);
}

/* ---- Адаптив многостраничных компонентов ------------------------------- */
@media (max-width: 1180px) {
  .steps6 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .page-hero__grid { grid-template-columns: 1fr; align-items: start; }
  .page-hero__aside { display: none; }
  .duo { grid-template-columns: 1fr; }
  .cta-card { grid-template-columns: 1fr; }
  .contacts-io { grid-template-columns: 1fr; }
  .cases__list--4 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .feature-band .container { grid-template-columns: 1fr 1fr; }
  .feature:nth-child(3)::before, .feature:nth-child(2)::before { }
  .feature { padding: 26px 12px; }
  .stats { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .values { grid-template-columns: 1fr; }
  .steps6 { grid-template-columns: 1fr; }
}

/* ============================================================================
   ФОТО ИЗ МАКЕТОВ — фоны page-hero, одноэкранная главная, фото кейсов, карта
   (изображения нарезаны из предоставленных макетов, лежат в assets/img/)
   ========================================================================== */

/* Заголовочный блок с фотофоном: текст слева, фотосцена справа (как в макетах) */
.page-hero--photo { background-size: cover; background-position: center right; background-repeat: no-repeat; }
.page-hero--photo .page-hero__vignette {
  background:
    linear-gradient(90deg, var(--bg) 2%, rgba(5, 5, 6, .84) 30%, rgba(5, 5, 6, .44) 60%, rgba(5, 5, 6, .64) 100%),
    linear-gradient(180deg, rgba(5, 5, 6, .5) 0%, transparent 24%, transparent 52%, var(--bg) 100%);
}
.page-hero__lead { max-width: 560px; }

/* ---- ГЛАВНАЯ: один экран (hero-сцена + заголовок + кнопки + 4 преимущества) */
.home {
  position: relative; min-height: 100svh; min-height: 100vh; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: calc(var(--hdr-h) + clamp(8px, 2vh, 22px)) var(--gutter) clamp(16px, 2.6vh, 34px);
}
.home__cubes {
  height: clamp(160px, 33vh, 330px); aspect-ratio: 800 / 348; width: auto; max-width: 94%; flex: none; margin-top: clamp(2px, 1vh, 10px);
  background: url(img/home-hero.webp) center / cover no-repeat; border-radius: 20px;
  -webkit-mask-image: radial-gradient(130% 128% at 50% 24%, #000 52%, transparent 86%);
  mask-image: radial-gradient(130% 128% at 50% 24%, #000 52%, transparent 86%);
}
.home__body { position: relative; z-index: 2; margin-top: clamp(-36px, -3vh, -12px); max-width: 900px; }
.home__title {
  font-family: var(--serif); font-weight: 600; text-transform: uppercase; letter-spacing: .01em;
  font-size: clamp(2.2rem, 5.6vw, 4.4rem); line-height: 1; color: #fff; text-shadow: 0 10px 50px rgba(0, 0, 0, .6);
}
.home__lead { margin-top: clamp(12px, 1.7vh, 20px); font-size: clamp(1.02rem, 1.6vw, 1.32rem); color: #fff; font-weight: 400; letter-spacing: -.01em; }
.home__note { margin-top: 10px; font-size: clamp(.88rem, 1.1vw, 1rem); color: var(--ink-2); max-width: 62ch; margin-inline: auto; line-height: 1.5; }
.home__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: clamp(18px, 2.6vh, 34px); }
.home__features {
  margin-top: auto; padding-top: clamp(18px, 2.6vh, 34px); width: min(1000px, 100%);
  display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line);
}
.home__features .feature { padding: clamp(14px, 2vh, 24px) 12px; }

/* ---- КЕЙСЫ: фото товара слева от метрик ------------------------------- */
.case__top { display: grid; grid-template-columns: 200px 1fr; gap: clamp(16px, 2vw, 26px); align-items: start; }
.case__photo { border-radius: var(--radius); overflow: hidden; background: #0c0c0e; border: 1px solid var(--line); aspect-ratio: 185 / 162; }
.case__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.case__ab { display: flex; flex-direction: column; gap: 16px; }

/* ---- ЭТАПЫ: цитата + печать-кружок ------------------------------------ */
.quote-row { display: flex; gap: clamp(20px, 4vw, 56px); align-items: center; justify-content: space-between; flex-wrap: wrap; }
.quote-row .quote-card { flex: 1; min-width: 280px; }
.seal {
  flex: none; width: 158px; height: 158px; border-radius: 50%; padding: 12px; text-align: center;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px;
  border: 1px solid rgba(227, 148, 74, .38);
  background: radial-gradient(circle at 50% 32%, rgba(227, 148, 74, .12), transparent 68%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .04);
}
.seal span { font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-dim); }
.seal b { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 1.16rem; line-height: 1.02; color: var(--accent); }

.tagline-strong { margin-top: 22px; font-family: var(--serif); font-style: italic; font-weight: 600; font-size: clamp(1.2rem, 2vw, 1.6rem); letter-spacing: -.01em; color: var(--accent); }

/* Декоративные «столпы» СТРАТЕГИЯ · АНАЛИТИКА · ДЕЙСТВИЯ · РЕЗУЛЬТАТ */
.pillars { flex: none; display: flex; flex-direction: column; gap: 12px; text-align: right; }
.pillars li { font-size: .78rem; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-dim); display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.pillars li::after { content: ""; width: 24px; height: 1px; background: var(--accent); opacity: .8; }

/* ---- КОНТАКТЫ: статичная карта из макета ------------------------------ */
.map img { width: 100%; height: 100%; object-fit: cover; display: block; }
.map a { display: block; width: 100%; height: 100%; }

@media (max-width: 760px) {
  .case__top { grid-template-columns: 1fr; }
  .case__photo { aspect-ratio: 16 / 9; }
}
@media (max-width: 640px) {
  .brand__text span { display: none; }
  .home__features { grid-template-columns: 1fr 1fr; }
}
