/* ===== tokens: брендбук v1.3, раздел 03 «Цвет» ===== */
@font-face { font-family: "Tilda Sans"; font-weight: 250 1000; font-display: swap; src: url(/fonts/TildaSans-VF.woff2) format("woff2"); }
:root {
  --navy: #1c2d58;    /* Консалт синий: знак, заголовки, кнопки */
  --navy-2: #2f4a8a;  /* наведение */
  --graphite: #2f344a; /* графитовый синий: тёмные разделы */
  --sky: #a6c2e8;     /* небесный: акцент только на тёмном */
  --mint: #d8f0f3;    /* мятная: только линии окружностей */
  --ice: #dde5f3;     /* подсветка, плашки */
  --bg: #f3f5f9;      /* бумага */
  --bg-2: #e9edf5;
  --surface: #ffffff;
  --ink: #1f2433;
  --ink-2: #3a4256;
  --muted: #5b6478;   /* серый */
  --line: #dfe3ec;
  --line-2: #c3cad8;
  --brand: var(--navy);
  --accent: var(--navy);  /* единственный акцентный цвет на светлом */
  --accent-ink: #ffffff;
  --accent-2: var(--navy-2);
  --accent-soft: var(--ice);
  --ring: var(--mint);
  --dark: var(--graphite);
  --dark-2: #3a3f57;
  --on-dark: #ffffff;
  --on-dark-muted: rgba(255, 255, 255, .7);
  --ok: #2f7d4f;      /* только статусы */
  --err: #c23b3b;     /* только ошибки в формах */
  --cond: "Tilda Sans", Arial, sans-serif;
  --sans: "Tilda Sans", Arial, sans-serif;
  --mono: "Tilda Sans", Arial, sans-serif; /* данные — табличными цифрами, моноширинного шрифта в v1.3 нет */
  --radius: 6px;
  --radius-sm: 6px;
  --radius-tag: 5px;
  --shadow: 0 1px 2px rgba(31, 36, 51, .04), 0 12px 32px -12px rgba(31, 36, 51, .16);
  --shadow-lg: 0 30px 60px -20px rgba(31, 36, 51, .32);
  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  --hdr: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1d2030; --bg-2: #252939; --surface: #2a2e40; --ink: #eef1f7; --ink-2: #c3cad8; --muted: #9298ab;
    --line: rgba(166, 194, 232, .12); --line-2: rgba(166, 194, 232, .2); --brand: #1c2d58;
    --accent: #a6c2e8; --accent-ink: #1f2433; --accent-2: #ffffff; --accent-soft: rgba(166, 194, 232, .14);
    --ring: rgba(166, 194, 232, .2); --dark: #2f344a; --dark-2: #3a3f57;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px -12px rgba(0, 0, 0, .6); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #1d2030; --bg-2: #252939; --surface: #2a2e40; --ink: #eef1f7; --ink-2: #c3cad8; --muted: #9298ab;
  --line: rgba(166, 194, 232, .12); --line-2: rgba(166, 194, 232, .2); --brand: #1c2d58;
  --accent: #a6c2e8; --accent-ink: #1f2433; --accent-2: #ffffff; --accent-soft: rgba(166, 194, 232, .14);
  --ring: rgba(166, 194, 232, .2); --dark: #2f344a; --dark-2: #3a3f57;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px -12px rgba(0, 0, 0, .6); color-scheme: dark;
}
/* тёмные разделы (графит): акцент — небесный, окружности — небесные 35% */
.sec--dark, .lead, .ftr { --muted: var(--on-dark-muted); --accent: var(--sky); --accent-ink: #1f2433; --accent-2: #ffffff; --accent-soft: rgba(166, 194, 232, .14); --ring: rgba(166, 194, 232, .35); }
.lead .form, .sec--dark .quiz { --muted: #5b6478; --accent: var(--navy); --accent-ink: #ffffff; --accent-2: var(--navy-2); --accent-soft: var(--ice); }
:root[data-theme="dark"] :is(.lead .form, .sec--dark .quiz) { --muted: #9298ab; --accent: var(--sky); --accent-ink: #1f2433; --accent-2: #ffffff; --accent-soft: rgba(166, 194, 232, .14); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) :is(.lead .form, .sec--dark .quiz) { --muted: #9298ab; --accent: var(--sky); --accent-ink: #1f2433; --accent-2: #ffffff; --accent-soft: rgba(166, 194, 232, .14); } }
/* ===== base ===== */
/* фото объектов: насыщенность −22%, контраст +6% (брендбук, раздел 06) */
img[src^="/img/objects/"] { filter: saturate(.78) contrast(1.06); }
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.5 var(--sans); font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--cond); font-weight: 500; letter-spacing: 0; line-height: 1.05; text-wrap: balance; }
h1 { font-size: clamp(36px, 4.6vw, 64px); }
h2 { font-size: clamp(32px, 3.4vw, 44px); }
h3 { font-size: 21px; line-height: 1.15; }
/* H1/H2 промо-страниц — прописными (v1.3); карточка объекта и реквизиты — обычным регистром */
h1, h2 { text-transform: uppercase; }
.obj h1, .req h2 { text-transform: none; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.i { width: 20px; height: 20px; flex: none; }
.muted { color: var(--muted); }
.center { text-align: center; margin-top: 32px; }
.eyebrow {
  display: inline-flex; align-items: center; margin-bottom: 18px;
  font: 500 13px/1.3 var(--mono); letter-spacing: .04em; color: var(--muted);
}
/* метка в квадратных скобках: «[ Кейсы ]» */
.eyebrow::before { content: "[\00a0"; }
.eyebrow::after { content: "\00a0]"; order: 1; }
.eyebrow .demo-tag { order: 2; }

/* ===== buttons ===== */
.btn {
  --b: var(--accent); --c: var(--accent-ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px; border-radius: 999px; border: 1px solid var(--b);
  background: var(--b); color: var(--c); font-weight: 600; font-size: 16px; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -10px var(--b); }
.btn:not(.btn--ghost):not(.btn--light):hover { --b: var(--accent-2); }
.btn .i { transition: transform .25s var(--ease); }
.btn:hover .i:last-child { transform: translateX(3px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { box-shadow: none; border-color: var(--ink); }
.btn--light { --b: #fff; --c: var(--navy); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn--block { width: 100%; }
.iconbtn {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line-2); background: transparent; cursor: pointer; transition: background .2s, border-color .2s;
}
.iconbtn:hover { border-color: var(--ink); }
.iconbtn--sm { width: 32px; height: 32px; border: 0; }
.iconbtn--sm .i { width: 16px; height: 16px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line-2); padding-bottom: 4px; transition: gap .2s, border-color .2s; }
.link-arrow:hover { gap: 12px; border-color: var(--accent); }

/* ===== header ===== */
.hdr {
  position: sticky; top: 0; z-index: 50; height: var(--hdr);
  background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px);
  border-bottom: 1px solid transparent; transition: border-color .3s, background .3s;
}
.hdr.is-scrolled { border-bottom-color: var(--line); }
.hdr__in { height: 100%; display: flex; align-items: center; gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.logo__mark {
  width: 40px; height: 40px; background: var(--navy); position: relative; flex: none;
}
.logo__mark::after {
  content: ""; position: absolute; inset: 15% 18%; background: #fff;
  -webkit-mask: url(/img/logo-mark.svg) center / contain no-repeat; mask: url(/img/logo-mark.svg) center / contain no-repeat;
}
/* на тёмном фоне знак не перекрашиваем — отделяем тонкой рамкой */
:root[data-theme="dark"] .logo__mark, .logo--ftr .logo__mark { box-shadow: 0 0 0 1px rgba(255, 255, 255, .35); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo__mark { box-shadow: 0 0 0 1px rgba(255, 255, 255, .35); } }
.logo__txt { display: flex; flex-direction: column; line-height: 1.1; }
.logo__txt b { font: 500 17px/1.1 var(--cond); letter-spacing: .01em; text-transform: uppercase; }
.logo__txt small { font: 400 12.5px/1.3 var(--sans); color: var(--muted); }
.nav { display: flex; align-items: center; gap: 4px; margin-left: 12px; }
.nav a { white-space: nowrap; padding: 8px 14px; border-radius: 999px; font-size: 15.5px; font-weight: 500; color: var(--ink-2); transition: background .2s, color .2s; display: inline-flex; gap: 8px; align-items: center; }
.nav a:hover, .nav a[aria-current] { background: var(--bg-2); color: var(--ink); }
.nav__portal { position: relative; }
.nav__portal summary { list-style: none; cursor: pointer; white-space: nowrap; padding: 8px 14px; border-radius: 999px; font-size: 15.5px; font-weight: 500; color: var(--ink-2); display: inline-flex; gap: 8px; align-items: center; transition: background .2s, color .2s; }
.nav__portal summary::-webkit-details-marker { display: none; }
.nav__portal summary:hover, .nav__portal[open] summary { background: var(--bg-2); color: var(--ink); }
.nav__portal .i, .nav__m .i { width: 17px; height: 17px; color: var(--accent); flex: none; }
.nav__menu { position: absolute; top: calc(100% + 8px); left: 0; z-index: 50; min-width: 300px; padding: 8px; display: flex; flex-direction: column; gap: 2px; box-shadow: var(--shadow-lg); }
.nav .nav__menu a { border-radius: var(--radius); padding: 12px 14px; align-items: flex-start; gap: 12px; }
.nav__menu .i { margin-top: 2px; }
.nav__menu span { display: flex; flex-direction: column; gap: 2px; }
.nav__menu b { color: var(--ink); font-weight: 600; }
.nav__menu small { color: var(--muted); font-size: 13.5px; font-weight: 400; }
.nav__m { display: none !important; }
.hdr__act { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.hdr__phone { font-weight: 600; font-size: 15.5px; margin-right: 6px; white-space: nowrap; }
.i-moon { display: none; }
:root[data-theme="dark"] .i-sun { display: none; }
:root[data-theme="dark"] .i-moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .i-sun { display: none; }
  :root:not([data-theme]) .i-moon { display: block; }
}
.burger { display: none; }
.burger span, .burger span::before, .burger span::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .3s var(--ease), background .2s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.nav-open .burger span { background: transparent; }
.nav-open .burger span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .burger span::after { transform: translateY(-6px) rotate(-45deg); }

/* «Контакты» на средних экранах — только в подвале и бургер-меню, иначе шапка не помещается */
@media (max-width: 1520px) { .hdr__phone { display: none; } .nav > a[href="/contacts/"] { display: none; } }
@media (max-width: 1400px) { .nav > a[href="/contacts/"] { display: inline-flex; } }
.hdr__cta { white-space: nowrap; }
@media (max-width: 1400px) {
  .burger { display: inline-grid; }
  .hdr__cta { display: none; }
  .nav {
    position: fixed; inset: var(--hdr) 0 auto 0; margin: 0; flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px var(--gutter) 24px; background: var(--bg); border-bottom: 1px solid var(--line);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s var(--ease);
  }
  .nav a { font-size: 20px; padding: 14px 8px; border-radius: var(--radius); }
  .nav__portal { display: none; }
  .nav__m { display: inline-flex !important; }
  .nav-open .nav { transform: none; opacity: 1; pointer-events: auto; }
}
@media (max-width: 420px) { .logo__txt small { display: none; } .logo__txt b { font-size: 15px; } .hdr__act { gap: 6px; } }

/* ===== hero ===== */
.hero { position: relative; overflow: hidden; background: var(--graphite); color: #fff; padding: clamp(56px, 8vw, 112px) 0 clamp(40px, 5vw, 64px); isolation: isolate;
  --ink: #fff; --ink-2: rgba(255,255,255,.84); --muted: rgba(255,255,255,.7); --accent: var(--sky); --accent-ink: #1f2433; --line-2: rgba(255,255,255,.3); --ring: rgba(166,194,232,.3); }
/* фирменные окружности: 1 px, мятные на светлом и небесные 35% на тёмном, уходят за край блока */
.hero::before, .sec--dark::before, .lead::before {
  content: ""; position: absolute; width: 720px; aspect-ratio: 1; border-radius: 50%; pointer-events: none;
  background: repeating-radial-gradient(circle, transparent 0 89px, var(--ring) 89px 90px);
}
.hero::before { right: -240px; top: -260px; z-index: -1; }
/* фото на фоне героя: графитовый градиент слева, чтобы текст читался */
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(47,52,74,.96) 0%, rgba(47,52,74,.88) 42%, rgba(47,52,74,.35) 100%), linear-gradient(0deg, rgba(47,52,74,.9), transparent 45%); }
.hero__in { position: relative; min-height: clamp(420px, 52vh, 560px); }
.hero__tabs { display: flex; width: fit-content; gap: 4px; padding: 4px; margin-bottom: 28px; border-radius: var(--radius); background: rgba(255,255,255,.1); }
.hero__tabs button { border: 0; background: none; color: rgba(255,255,255,.75); padding: 9px 16px; border-radius: var(--radius-tag); font-weight: 500; font-size: 15px; cursor: pointer; transition: background .2s, color .2s; }
.hero__tabs button:not([aria-selected="true"]):hover { color: #fff; background: rgba(255,255,255,.08); }
.hero__tabs [aria-selected="true"] { background: #fff; color: var(--graphite); }
.hero__panel { max-width: 780px; animation: rise .5s var(--ease); }
.hero h1, .hero .h1 { font: 500 clamp(36px, 4.6vw, 64px)/1.05 var(--cond); text-transform: uppercase; margin: 0; text-wrap: balance; }
.hero__sub { margin-top: 24px; font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-2); max-width: 600px; }
.hero__cta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero .btn--ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.hero .btn--ghost:hover { border-color: #fff; }
.hero__stats { position: relative; margin-top: clamp(40px, 5vw, 72px); }
.hero__stats .stats { margin: 0; }
.hero .stat { background: var(--graphite); box-shadow: none; border: 1px solid rgba(255,255,255,.16); }
.hero .stat span { color: var(--ink-2); }
.hero .stat span::before, .hero .stat span::after { content: none; }
@media (max-width: 520px) { .hero__tabs { width: 100%; } .hero__tabs button { flex: 1; padding: 9px 6px; font-size: 14px; } }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
.stats { margin-top: clamp(48px, 6vw, 84px); display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.6vw, 20px); position: relative; }
.stat { padding: 24px 24px 20px; display: flex; flex-direction: column; gap: 10px; background: var(--surface); box-shadow: var(--shadow); border-radius: 0; }
.stat b { font: 300 clamp(34px, 3.8vw, 56px)/1 var(--cond); font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat span { color: var(--muted); font-size: 13px; letter-spacing: .02em; max-width: 240px; }
.stat span::before { content: "[\00a0"; }
.stat span::after { content: "\00a0]"; }
@media (max-width: 900px) { .stats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .stat { padding: 16px 14px 14px; } .stat b { font-size: clamp(22px, 6.6vw, 30px); } }

/* ===== sections ===== */
.sec { padding: clamp(64px, 9vw, 128px) 0; }
.sec--flush { padding-top: 0; }
.sec--tint { background: var(--bg-2); }
.sec--dark { background: var(--dark); color: var(--on-dark); --ink: var(--on-dark); --ink-2: rgba(255,255,255,.82); --muted: var(--on-dark-muted); --line: rgba(255,255,255,.1); --line-2: rgba(255,255,255,.2); --surface: var(--dark-2); --bg-2: #3a3f57; position: relative; overflow: hidden; }
.sec--dark::before { left: -300px; bottom: -380px; }
.sec--photo-yard, .sec--photo-interior { background-size: cover; background-position: center; }
.sec--photo-yard { background-image: linear-gradient(90deg, rgba(47,52,74,.94), rgba(47,52,74,.82)), url("/img/editorial/warehouse-brickyard.webp"); }
.sec--photo-interior { background-image: linear-gradient(90deg, rgba(47,52,74,.94), rgba(47,52,74,.82)), url("/img/editorial/warehouse-interior.webp"); }
.sec--photo-owner {
  background-image: linear-gradient(90deg, rgba(47,52,74,.94), rgba(47,52,74,.82)), url("/img/editorial/owner-income-bg.webp");
  background-size: cover;
  background-position: 60% center;
}
.sec-photo-note { grid-column: 1 / -1; margin-top: 12px; color: var(--on-dark-muted); font-size: 13px; }
.sec--dark > .wrap { position: relative; }
.sec__head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.sec__head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.sec__head--row h2 { max-width: 720px; }
.sec__lead { margin-top: 18px; font-size: 18px; color: var(--ink-2); max-width: 620px; }
.sec__aside { max-width: 360px; color: var(--muted); font-size: 16px; }
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split--top { align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }

/* object cards */
.ogrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.ogrid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1000px) { .ogrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .ogrid, .ogrid--2 { grid-template-columns: 1fr; } }
.ocard { background: var(--surface); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .2s; display: flex; flex-direction: column; }
.ocard:hover, .ocard.is-hl { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.ocard.is-hl { border-color: var(--accent); }
.ocard__img { position: relative; display: block; aspect-ratio: 16 / 11; overflow: hidden; background: var(--bg-2); }
.ocard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.ocard:hover .ocard__img img { transform: scale(1.05); }
.tag { position: absolute; left: 14px; top: 14px; padding: 6px 12px; border-radius: var(--radius-tag); font: 500 12.5px/1.3 var(--mono); background: var(--navy); color: #fff; }
.ocard__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.ocard h3 a::after { content: ""; position: absolute; inset: 0; }
.ocard { position: relative; }
.ocard__addr { color: var(--muted); font-size: 15px; line-height: 1.45; }
.ocard__dist { color: var(--accent); font-size: 14px; font-weight: 500; }
.ocard__facts { margin-top: auto; padding-top: 12px; display: flex; flex-wrap: wrap; gap: 8px 18px; font: 500 15px/1.4 var(--mono); }
.ocard__facts span { display: inline-flex; align-items: center; gap: 7px; }
.ocard__facts .i { width: 17px; height: 17px; color: var(--accent); }

.calc__note { font-size: 13px; color: var(--muted); line-height: 1.45; }

/* fields */
.field { display: flex; flex-direction: column; gap: 7px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.field i { font-style: normal; color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: var(--radius); border: 1px solid var(--line-2);
  background: var(--surface); font-size: 16px; color: var(--ink); transition: border-color .2s, box-shadow .2s; font-weight: 400;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.field.is-bad input { border-color: var(--err); }
.range { display: flex; flex-direction: column; gap: 10px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.range span { display: flex; justify-content: space-between; }
.range output { font: 500 15px var(--mono); color: var(--ink); }
.range input { width: 100%; accent-color: var(--accent); height: 22px; margin: 0; }

/* advantages */
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); }
.adv { padding: 30px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); display: flex; flex-direction: column; gap: 12px; }
.adv__n { font: 300 clamp(48px, 4.4vw, 64px)/1 var(--cond); color: var(--accent); margin-bottom: 14px; }
.adv p { color: var(--ink-2); font-size: 16px; }
@media (max-width: 900px) { .adv-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .adv-grid { grid-template-columns: 1fr; } }

.ticks { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.ticks li { display: flex; gap: 14px; align-items: flex-start; color: var(--ink-2); }
.ticks b { color: var(--ink); font-weight: 600; }
.ticks .i { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); margin-top: 1px; stroke-width: 2.5; }
.ticks--lg { margin: 0; gap: 0; }
.ticks--lg li { padding: 22px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
.ticks--lg li:first-child { padding-top: 0; }

/* faq */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(24px, 5vw, 80px); align-items: start; }
@media (max-width: 900px) { .faq-wrap { grid-template-columns: 1fr; } }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 48px 24px 0; font: 500 21px/1.2 var(--cond); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -7px; background: linear-gradient(currentColor, currentColor) center / 14px 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 14px no-repeat; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); color: var(--accent); }
.faq p { padding: 0 48px 26px 0; color: var(--ink-2); }

/* lead */
.lead { padding: clamp(64px, 9vw, 128px) 0; background: var(--dark); color: var(--on-dark); position: relative; overflow: hidden; }
.lead::before { left: -280px; bottom: -400px; }
.lead__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); position: relative; }
.lead__sub { margin-top: 20px; color: var(--on-dark-muted); font-size: 18px; max-width: 520px; }
.lead__contacts { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-direction: column; gap: 16px; }
.lead__contacts li { display: flex; align-items: center; gap: 14px; }
.lead__contacts .i { width: 40px; height: 40px; padding: 10px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); color: var(--accent); }
.lead__contacts a { border-bottom: 1px solid rgba(255,255,255,.2); transition: border-color .2s; }
.lead__contacts a:hover { border-color: var(--accent); }
.form { padding: clamp(22px, 3vw, 36px); display: flex; flex-direction: column; gap: 16px; color: var(--ink); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 900px) { .lead__grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form__row { grid-template-columns: 1fr; } }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); padding: 4px; border-radius: var(--radius); background: var(--bg-2); }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; text-align: center; padding: 11px 8px; border-radius: var(--radius-tag); font-weight: 600; font-size: 15px; cursor: pointer; color: var(--muted); transition: background .2s, color .2s; }
.seg input:checked + span { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.seg input:focus-visible + span { outline: 2px solid var(--accent); }
.form [data-only] { display: none; }
.form[data-role="owner"] [data-only="owner"], .form[data-role="tenant"] [data-only="tenant"] { display: flex; }
.hp { position: absolute; left: -9999px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--accent); margin: 1px 0 0; flex: none; }
.check a { text-decoration: underline; }
.check.is-bad span { color: var(--err); }
.form__msg { font-size: 15px; min-height: 1px; }
.form__msg.is-err { color: var(--err); }
.form.is-done { align-items: center; justify-content: center; text-align: center; min-height: 420px; }
.form__ok { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.form__ok .i { width: 64px; height: 64px; padding: 16px; border-radius: 50%; background: var(--ok); color: #fff; stroke-width: 2.5; }
.form__ok p { color: var(--muted); max-width: 340px; }

/* footer */
.ftr { background: var(--dark); color: var(--on-dark-muted); border-top: 1px solid rgba(255,255,255,.1); padding: 64px 0 28px; font-size: 15px; }
.ftr__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.ftr h3 { font: 500 12.5px/1.3 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: #fff; margin-bottom: 16px; }
.ftr__grid > div { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.ftr a:hover { color: #fff; }
.logo--ftr .logo__txt b { color: #fff; }
.ftr__claim { margin-top: 18px; max-width: 280px; }
.ftr__bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13.5px; }
@media (max-width: 900px) { .ftr__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .ftr__grid { grid-template-columns: 1fr; } }

/* page hero */
.page-hero { padding: clamp(40px, 7vw, 96px) 0 clamp(48px, 6vw, 80px); }
.page-hero--compact { padding-bottom: clamp(24px, 3vw, 40px); }
.page-hero h1 { font-size: clamp(34px, 4.2vw, 56px); max-width: 900px; }
.page-hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.page-hero__grid .btn { margin-top: 32px; }
.page-hero__grid .hero__cta .btn { margin-top: 0; }
.page-hero__img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.page-hero__visual { min-width: 0; }
.page-hero__visual figcaption { margin-top: 10px; color: var(--muted); font-size: 13px; }
@media (max-width: 900px) { .page-hero__grid { grid-template-columns: 1fr; } }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 24px); counter-reset: s; }
.step { position: relative; padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.step__n { font: 300 clamp(48px, 4.4vw, 64px)/1 var(--cond); color: var(--accent); margin-bottom: 8px; }
.step p { color: var(--ink-2); font-size: 16px; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 50px; right: -24px; width: 24px; height: 2px; background: var(--line-2); }
@media (max-width: 1000px) { .steps { grid-template-columns: 1fr 1fr; } .step::after { display: none; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* catalog */
.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px; border-radius: var(--radius); background: var(--bg-2); }
.chip { border: 0; background: transparent; padding: 9px 16px; border-radius: var(--radius-tag); font-weight: 500; font-size: 14.5px; cursor: pointer; color: var(--ink-2); transition: background .2s, color .2s; }
.chip.is-on { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.search input { min-height: 46px; padding: 0 18px; border-radius: var(--radius); border: 1px solid var(--line-2); background: var(--surface); min-width: 240px; }
.search input:focus { outline: none; border-color: var(--accent); }
.viewtoggle { display: none; }
.catalog__count { margin: 20px 0 24px; color: var(--muted); font-size: 15px; }
.catalog__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 28px; align-items: start; padding-bottom: clamp(64px, 8vw, 112px); }
.catalog__map { position: sticky; top: calc(var(--hdr) + 16px); }
.map { height: calc(100vh - var(--hdr) - 32px); min-height: 420px; border-radius: var(--radius); overflow: hidden; background: var(--bg-2); border: 1px solid var(--line); z-index: 0; }
.ocard.is-hidden { display: none; }
@media (max-width: 1000px) {
  .catalog__grid { grid-template-columns: 1fr; }
  .viewtoggle { display: flex; margin-left: auto; padding: 4px; border-radius: var(--radius); background: var(--bg-2); }
  .viewtoggle button { display: inline-flex; gap: 6px; align-items: center; border: 0; background: transparent; padding: 9px 14px; border-radius: var(--radius-tag); font-weight: 500; font-size: 14.5px; cursor: pointer; }
  .viewtoggle button.is-on { background: var(--surface); box-shadow: var(--shadow); }
  .viewtoggle .i { width: 16px; height: 16px; }
  .catalog__map { display: none; position: static; }
  [data-catalog].is-map .catalog__map { display: block; }
  [data-catalog].is-map [data-list] { display: none; }
  .map { height: 70vh; }
}
@media (max-width: 620px) { .search, .search input { width: 100%; min-width: 0; } .viewtoggle { margin-left: 0; } }

/* leaflet tweaks */
.leaflet-container { font: inherit; background: var(--bg-2); }
/* метки: основная — синяя, активная — инверсная (белая с синей обводкой), соседние — «лёд» */
.pin { --pin: var(--navy); --pin-b: #fff; width: 34px; height: 34px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--pin); border: 3px solid var(--pin-b); box-shadow: 0 6px 14px rgba(0,0,0,.3); transition: transform .2s, background .2s, border-color .2s; }
.pin--muted { --pin: var(--ice); --pin-b: var(--navy-2); width: 26px; height: 26px; }
.pin.is-hl { --pin: #fff; --pin-b: var(--navy); border-width: 4px; transform: rotate(-45deg) scale(1.3); }
:root[data-theme="dark"] .pin { --pin: var(--ice); --pin-b: var(--navy); }
:root[data-theme="dark"] .pin--muted { --pin: #5b6478; --pin-b: var(--ice); }
:root[data-theme="dark"] .pin.is-hl { --pin: var(--navy-2); --pin-b: #fff; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .pin { --pin: var(--ice); --pin-b: var(--navy); }
  :root:not([data-theme="light"]) .pin--muted { --pin: #5b6478; --pin-b: var(--ice); }
  :root:not([data-theme="light"]) .pin.is-hl { --pin: var(--navy-2); --pin-b: #fff; }
}
.leaflet-popup-content-wrapper { border-radius: var(--radius); padding: 0; overflow: hidden; background: var(--surface); color: var(--ink); }
.leaflet-popup-tip { background: var(--surface); }
.leaflet-popup-content { margin: 0; width: 240px !important; }
.mpop img { width: 100%; height: 130px; object-fit: cover; }
.mpop div { padding: 12px 14px 14px; }
.mpop b { display: block; font-size: 15px; }
.mpop span { display: block; color: var(--muted); font-size: 13px; margin: 2px 0 8px; }
.mpop a { color: var(--accent); font-weight: 600; font-size: 14px; }
:root[data-theme="dark"] .leaflet-tile-pane { filter: invert(1) hue-rotate(180deg) brightness(.85) contrast(.9); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .leaflet-tile-pane { filter: invert(1) hue-rotate(180deg) brightness(.85) contrast(.9); } }

/* object page */
.obj { padding: 28px 0 clamp(64px, 8vw, 112px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font: 400 13px/1.5 var(--mono); color: var(--muted); margin-bottom: 24px; }
.crumbs a:hover { color: var(--ink); }
.obj__grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.obj__main { display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in; border-radius: var(--radius); overflow: hidden; background: var(--bg-2); }
.obj__main img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.obj__thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; margin-top: 10px; }
.obj__thumbs button { padding: 0; border: 2px solid transparent; border-radius: var(--radius); overflow: hidden; cursor: pointer; background: none; }
.obj__thumbs button.is-on { border-color: var(--accent); }
.obj__thumbs img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.obj__side { position: sticky; top: calc(var(--hdr) + 20px); display: flex; flex-direction: column; gap: 14px; }
.obj__side h1 { font-size: clamp(32px, 3.6vw, 48px); }
.obj__addr { display: flex; gap: 10px; color: var(--ink-2); }
.obj__addr .i { color: var(--accent); margin-top: 3px; }
.facts { margin: 10px 0; padding: 0; border-top: 1px solid var(--line-2); }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font: 500 15.5px/1.5 var(--mono); text-align: right; }
.obj__route { display: inline-flex; gap: 8px; align-items: center; font-size: 15px; font-weight: 500; color: var(--muted); margin-top: 4px; }
.obj__route:hover { color: var(--accent); }
.obj__route .i { width: 16px; height: 16px; }
.obj__mapwrap { margin-top: 72px; }
.map--obj { height: 420px; min-height: 0; }
.obj__near-head { margin: 72px 0 32px; }
@media (max-width: 900px) { .obj__grid { grid-template-columns: 1fr; } .obj__side { position: static; } }

/* tenants portal */
.portal { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.portal .btn { margin-top: 32px; }
.service-requests__hint { margin-top: 12px; max-width: 42ch; color: var(--muted); font-size: 14px; }
.service-requests__preview { margin: 0; min-width: 0; }
.service-requests__preview img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; border: 1px solid var(--line); border-radius: var(--radius); }
.service-requests__preview figcaption { margin-top: 10px; color: var(--muted); font-size: 13px; }
.mock { padding: 0 0 8px; overflow: hidden; transform: rotate(-1.5deg); }
.mock__bar { display: flex; align-items: center; gap: 6px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.mock__bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.mock__bar em { font-style: normal; margin-left: 12px; font-size: 13px; color: var(--muted); }
.mock__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 22px 4px; }
.mock__row b { font-weight: 600; font-size: 16px; }
.mock__meta { padding: 0 22px 18px; font-size: 13.5px; color: var(--muted); border-bottom: 1px solid var(--line); }
.mock__meta:last-child { border: 0; }
.pill { flex: none; padding: 5px 12px; border-radius: 999px; font: 500 12.5px/1.3 var(--mono); background: var(--bg-2); color: var(--ink-2); }
.pill--work { background: var(--accent-soft); color: var(--accent); }
.pill--done { background: rgba(47, 125, 79, .12); color: var(--ok); }
@media (max-width: 900px) { .portal { grid-template-columns: 1fr; } }

/* contacts */
.contacts { display: grid; grid-template-columns: 1fr 1.1fr; gap: 28px; align-items: start; }
.contacts__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ccard { padding: 24px; display: flex; flex-direction: column; gap: 4px; transition: transform .25s var(--ease), border-color .2s; }
a.ccard:hover { transform: translateY(-3px); border-color: var(--accent); }
.ccard .i { width: 44px; height: 44px; padding: 11px; border-radius: var(--radius); background: var(--accent-soft); color: var(--accent); margin-bottom: 14px; }
.ccard span { font-size: 14px; color: var(--muted); }
.ccard b { font: 500 17px/1.35 var(--mono); }
.ccard small { color: var(--muted); font-size: 13.5px; margin-top: 4px; }
.req { padding: clamp(22px, 3vw, 32px); }
.req__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.req__head h2 { font-size: 28px; }
.req dl { margin: 0; }
.req dl div { display: grid; grid-template-columns: 180px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: center; }
.req dt { color: var(--muted); font-size: 14.5px; }
.req dd { margin: 0; display: flex; align-items: center; justify-content: space-between; gap: 8px; font: 400 15px/1.5 var(--mono); word-break: break-word; }
.req .is-copied { color: var(--ok); }
@media (max-width: 1000px) { .contacts { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .contacts__cards { grid-template-columns: 1fr; } .req dl div { grid-template-columns: 1fr; gap: 2px; } }

.prose { max-width: 760px; }
.prose p { margin-top: 18px; color: var(--ink-2); }
.nf { min-height: 50vh; }

/* lightbox */
.lightbox { padding: 0; border: 0; background: transparent; max-width: 94vw; max-height: 92vh; }
.lightbox::backdrop { background: rgba(5, 9, 15, .86); backdrop-filter: blur(6px); }
.lightbox img { max-width: 94vw; max-height: 92vh; border-radius: var(--radius); }
.lightbox__x { position: fixed; top: 18px; right: 18px; background: #fff; color: #000; border: 0; }

/* toast */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; background: var(--navy); color: #fff; padding: 12px 20px; border-radius: 999px; font-size: 15px; font-weight: 500; transition: .3s var(--ease); z-index: 90; pointer-events: none; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* reveal */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* future-feature stubs */
.soon { position: relative; }
.soon__tag { display: inline-block; margin-left: 2px; padding: 2px 8px; border-radius: var(--radius-tag); font: 500 11px/1.5 var(--mono); letter-spacing: .04em; text-transform: uppercase; background: var(--accent-soft); color: var(--accent); line-height: 1.5; }
.btn:not(.btn--ghost) .soon__tag { background: rgba(255,255,255,.22); color: inherit; }
.btn--light .soon__tag { background: var(--accent-soft); color: var(--accent); }
.ftr__soon { background: none; border: 0; padding: 0; cursor: pointer; color: inherit; display: inline-flex; align-items: center; gap: 6px; font-size: 15px; }
.ftr__soon:hover { color: #fff; }
.soon-dlg { max-width: 440px; width: calc(100% - 32px); padding: 28px; color: var(--ink); }
.soon-dlg::backdrop { background: rgba(5, 9, 15, .6); backdrop-filter: blur(4px); }
.soon-dlg h3 { font-size: 24px; margin: 14px 0 10px; }
.soon-dlg p { color: var(--ink-2); margin-bottom: 22px; }
.obj__soon { display: grid; grid-template-columns: 1fr; gap: 10px; }
.obj__soon .btn { padding: 0 12px; font-size: 15px; }
.vacant { margin-top: 72px; padding: clamp(24px, 4vw, 44px); display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px 48px; align-items: center; }
.vacant h2 { font-size: clamp(26px, 3vw, 38px); }
.vacant__demo { display: flex; flex-direction: column; gap: 10px; }
.vacant__demo div { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 12px; align-items: center; padding: 14px 18px; border-radius: var(--radius); border: 1px dashed var(--line-2); color: var(--muted); font-size: 15px; }
.vacant__demo i { height: 10px; border-radius: 6px; background: var(--bg-2); }
.vacant__act { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
@media (max-width: 800px) { .vacant { grid-template-columns: 1fr; } }

/* демо-контент макета: метка «пример» */
.demo-tag { display: inline-block; vertical-align: middle; margin-left: 6px; padding: 1px 8px; border: 1px dashed currentColor; border-radius: var(--radius-tag); font: 500 10.5px/1.5 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); opacity: .8; }
.eyebrow .demo-tag { margin-left: 4px; }
.hero__note { margin-top: 16px; max-width: 520px; font-size: 14.5px; color: var(--muted); }

/* списки с галочками в карточках */
.case__done { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 15px; color: var(--ink-2); }
.case__done li { display: flex; gap: 10px; }
.case__done .i { flex: none; width: 18px; height: 18px; color: var(--accent); margin-top: 2px; stroke-width: 2.4; }

/* доверие: логотипы, отзывы, команда, история, цены */
.timeline { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.timeline li { display: grid; grid-template-columns: 90px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.timeline b { font: 300 32px/1.1 var(--cond); color: var(--accent); }
.timeline span { color: var(--ink-2); }
.price__v { font: 500 clamp(26px, 2.4vw, 34px)/1.1 var(--cond); color: var(--accent); }
.pill--err { background: rgba(194, 59, 59, .12); color: var(--err); }
.mock__kpi { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.mock__kpi div { padding: 16px 22px; display: flex; flex-direction: column; gap: 4px; }
.mock__kpi div + div { border-left: 1px solid var(--line); }
.mock__kpi span { font-size: 12.5px; color: var(--muted); }
.mock__kpi b { font: 500 22px/1.1 var(--cond); white-space: nowrap; }
@media (max-width: 520px) { .mock__kpi div { padding: 12px 14px; } .mock__kpi b { font-size: 18px; } }
.portal .hero__cta .btn { margin-top: 0; }


/* инвесторам: стратегии и этапы */
.strat .case__done { margin-top: 8px; }
.steps--3 { grid-template-columns: repeat(3, 1fr); }
.steps--3 .step::after { display: none; }
@media (max-width: 1000px) { .steps--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps--3 { grid-template-columns: 1fr; } }

/* основатели */
.founders { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 28px); }
@media (max-width: 1000px) { .founders { grid-template-columns: 1fr; max-width: 720px; } }
.founder { display: grid; grid-template-columns: minmax(160px, 38%) 1fr; overflow: hidden; box-shadow: none; }
.founder__ph { background: #111; }
.founder__ph img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.founder__body { padding: 24px 26px 26px; display: flex; flex-direction: column; gap: 10px; }
.founder__body .eyebrow { margin: 10px 0 0; }
.founder__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.founder__tags span { padding: 4px 10px; border-radius: var(--radius-tag); background: var(--accent-soft); color: var(--accent); font-size: 13px; font-weight: 500; }
.founder__spec { margin: 0; padding-left: 18px; color: var(--ink-2); font-size: 15px; }
.timeline--sm li { grid-template-columns: 52px 1fr; gap: 12px; padding: 8px 0; font-size: 14.5px; }
.timeline--sm b { font-size: 18px; }
@media (max-width: 560px) { .founder { grid-template-columns: 1fr; } .founder__ph img { aspect-ratio: 1; } }

/* сферы деятельности: крупные номера на графите */
.dirs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 32px; }
.dirs li { display: flex; flex-direction: column; gap: 10px; }
.dirs .adv__n { margin: 0; }
.sec--dark .dirs .adv__n { color: #fff; }
.dirs p { color: var(--ink-2); text-transform: uppercase; font-size: 14px; letter-spacing: .02em; max-width: 280px; }
@media (max-width: 800px) { .dirs { grid-template-columns: 1fr 1fr; } }

.team-photo { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: var(--radius); }

/* «Что мешает зарабатывать»: чипы-вкладки + панель решения */
.pains { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.pains__chips { display: flex; flex-wrap: wrap; gap: 10px; align-content: flex-start; }
.pains__chips button { border: 1px solid var(--line-2); background: var(--surface); color: var(--ink-2); padding: 12px 18px; border-radius: var(--radius-tag); font-size: 16px; font-weight: 500; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.pains__chips button:not([aria-selected="true"]):hover { border-color: var(--accent); color: var(--ink); }
.pains__chips [aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.pains__panel { padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 14px; animation: rise .4s var(--ease); }
.pains__panel h3 { font-size: clamp(24px, 2.4vw, 32px); }
.pains__panel .eyebrow { margin: 6px 0 0; }
.pains__panel .ticks { margin: 0 0 8px; }
.pains__panel .link-arrow { align-self: flex-start; }
@media (max-width: 900px) { .pains { grid-template-columns: 1fr; } }

/* лента объектов: горизонтальная прокрутка со снапом */
.strip__track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))) 8px; scroll-padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); }
.strip__track::-webkit-scrollbar { display: none; }
.scard { flex: none; width: clamp(260px, 26vw, 340px); scroll-snap-align: start; background: var(--surface); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.scard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.scard img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.scard__body { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px 18px; }
.scard__body b { font-weight: 500; font-size: 17px; }
.scard__body small { color: var(--muted); font-size: 14px; }
.strip__nav { display: flex; gap: 8px; justify-content: flex-end; margin-top: 20px; }
.strip__prev .i { transform: rotate(180deg); }

/* Кейсы: портфель объектов виден сразу, без переключения вкладок. */
.case-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.case-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.case-card__photo { position: relative; display: block; overflow: hidden; background: var(--bg-2); }
.case-card__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .45s var(--ease); }
.case-card__photo:hover img { transform: scale(1.035); }
.case-card__photo span { position: absolute; left: 12px; top: 12px; padding: 6px 10px; border-radius: var(--radius-tag); background: var(--surface); color: var(--ink); font-size: 12px; }
.case-card__body { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 18px; }
.case-card__body .eyebrow { margin: 0; }
.case-card__body h3 { margin: 0; font: 500 clamp(18px, 1.6vw, 23px)/1.1 var(--cond); text-transform: uppercase; }
.case-card__body > p:not(.eyebrow) { min-height: 2.8em; margin: 0; color: var(--muted); font-size: 14px; }
.case-card__body .link-arrow { margin-top: auto; }
@media (max-width: 900px) { .case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .case-grid { grid-template-columns: 1fr; } .case-card__body > p:not(.eyebrow) { min-height: 0; } }
.case-studies { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.case-study { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.owner-case-promise { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0 0 24px; }
.owner-case-promise div { display: flex; flex-direction: column; gap: 6px; padding: 20px; background: var(--bg-2); border-left: 2px solid var(--accent); }
.owner-case-promise b { font-size: 17px; font-weight: 600; }
.owner-case-promise span { color: var(--muted); font-size: 14px; }
.case-study__media { position: relative; overflow: hidden; background: var(--bg-2); }
.case-study__media > img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.case-study__media > span { position: absolute; top: 14px; left: 14px; padding: 6px 10px; border-radius: var(--radius-tag); background: var(--surface); color: var(--ink); font-size: 12px; }
.case-study__media figure { position: absolute; left: 14px; bottom: 14px; width: 31%; margin: 0; border: 3px solid #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.case-study__media figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.case-study__media figcaption { position: absolute; left: 6px; top: 6px; padding: 2px 8px; border-radius: var(--radius-tag); background: rgba(47,52,74,.88); color: #fff; font-size: 12px; }
.case-study__body { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: clamp(18px, 2vw, 26px); }
.case-study__body .eyebrow { margin: 0; }
.case-study__body h3 { margin: 0; font: 500 clamp(22px, 2.2vw, 30px)/1.1 var(--cond); text-transform: uppercase; }
.case-study__steps { margin: 4px 0; color: var(--ink-2); font-size: 14px; }
.case-study__body .link-arrow { margin-top: 4px; }
@media (max-width: 760px) { .case-studies { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .owner-case-promise { grid-template-columns: 1fr; } }

/* квиз: белая карточка на графите */
.quiz { padding: clamp(22px, 3vw, 36px); display: flex; flex-direction: column; gap: 18px; min-height: 420px; }
.sec--dark .quiz { --ink: #1f2433; --ink-2: #3a4256; --muted: #5b6478; --line: #dfe3ec; --line-2: #c3cad8; --surface: #fff; --bg-2: #e9edf5; background: #fff; color: var(--ink); border: 0; }
:root[data-theme="dark"] .sec--dark .quiz { --ink: #eef1f7; --ink-2: #c3cad8; --muted: #9298ab; --line: rgba(166,194,232,.12); --line-2: rgba(166,194,232,.2); --surface: #2a2e40; --bg-2: #252939; background: #2a2e40; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .sec--dark .quiz { --ink: #eef1f7; --ink-2: #c3cad8; --muted: #9298ab; --line: rgba(166,194,232,.12); --line-2: rgba(166,194,232,.2); --surface: #2a2e40; --bg-2: #252939; background: #2a2e40; } }
.quiz__top { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: var(--muted); }
.quiz__back { border: 0; background: none; color: var(--muted); cursor: pointer; font-size: 14px; padding: 4px 0; text-decoration: underline; text-underline-offset: 3px; }
.quiz__bar { height: 4px; background: var(--bg-2); }
.quiz__bar i { display: block; height: 100%; width: var(--p, 0%); background: var(--accent); transition: width .4s var(--ease); }
.quiz__step { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; animation: rise .35s var(--ease); }
.quiz__step legend { font: 500 clamp(22px, 2.2vw, 28px)/1.15 var(--cond); padding: 0; margin-bottom: 18px; }
.quiz__opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.quiz__opts input { position: absolute; opacity: 0; }
.quiz__opts span { display: flex; align-items: center; min-height: 64px; padding: 12px 18px; border: 1px solid var(--line-2); border-radius: var(--radius); cursor: pointer; font-weight: 500; transition: border-color .2s, background .2s; }
.quiz__opts span:hover { border-color: var(--accent); }
.quiz__opts input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.quiz__opts input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.quiz__area { display: flex; flex-direction: column; gap: 14px; }
.quiz__area output { font: 300 clamp(40px, 4vw, 56px)/1 var(--cond); }
.quiz__area input { width: 100%; }
input[type="range"] { -webkit-appearance: none; appearance: none; height: 28px; background: none; cursor: pointer; --fill: 50%; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; background: linear-gradient(var(--accent), var(--accent)) 0 / var(--fill) 100% no-repeat, var(--line-2); }
input[type="range"]::-moz-range-track { height: 6px; background: var(--line-2); }
input[type="range"]::-moz-range-progress { height: 6px; background: var(--accent); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px; border-radius: 50%; background: var(--accent); border: 4px solid var(--surface); box-shadow: 0 0 0 1px var(--accent), 0 4px 10px rgba(0,0,0,.2); }
input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--accent); border: 4px solid var(--surface); box-shadow: 0 0 0 1px var(--accent); }
.quiz__step .btn { align-self: flex-start; }
.quiz__result { display: flex; flex-direction: column; gap: 18px; animation: rise .4s var(--ease); }
.quiz__sum { display: flex; flex-direction: column; gap: 4px; color: var(--muted); }
.quiz__sum b { font: 300 clamp(44px, 5vw, 68px)/1 var(--cond); color: var(--accent); }
.quiz__parts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.quiz__sum strong { color: var(--accent); font-weight: 500; }
.quiz__sure { display: flex; gap: 10px; align-items: flex-start; margin: 0; font-size: 15px; color: var(--ink); }
.quiz__sure svg { width: 20px; height: 20px; flex: none; color: var(--ok); margin-top: 1px; }
.quiz__parts div { padding: 14px 16px; background: var(--bg-2); display: flex; flex-direction: column; gap: 2px; }
.quiz__parts span { font-size: 13px; color: var(--muted); }
.quiz__parts b { font-weight: 500; font-size: 20px; }
.quiz__result .quiz__back { align-self: center; }
@media (max-width: 520px) { .quiz__opts, .quiz__parts { grid-template-columns: 1fr; } }

/* «Сами / с нами»: пары «было → станет» */
.vs { display: flex; flex-direction: column; }
.vs__head, .vs__row { display: grid; grid-template-columns: 1fr 40px 1fr; gap: 16px; align-items: center; }
.vs__head { padding-bottom: 14px; border-bottom: 1px solid var(--line-2); font-size: 13px; color: var(--muted); letter-spacing: .02em; }
.vs__head span:last-child { grid-column: 3; color: var(--accent); font-weight: 500; }
.vs__row { padding: 18px 0; border-bottom: 1px solid var(--line); }
.vs__was { color: var(--muted); font-size: 16px; }
.vs__row .i { color: var(--accent); justify-self: center; }
.vs__now { font-size: 18px; font-weight: 500; }
@media (max-width: 700px) { .vs__head { display: none; } .vs__row { grid-template-columns: 1fr; gap: 6px; } .vs__row .i { transform: rotate(90deg); justify-self: start; } }

/* основатели на главной */
.fmini { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fmini figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); background: #111; }
.fmini img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; transition: transform .6s var(--ease); }
.fmini figure:hover img { transform: scale(1.03); }
.fmini figcaption { position: absolute; inset: auto 0 0; padding: 40px 18px 16px; background: linear-gradient(transparent, rgba(17,17,17,.85)); color: #fff; display: flex; flex-direction: column; gap: 2px; }
.fmini b { font-weight: 500; font-size: 18px; }
.fmini span { font-size: 13px; color: rgba(255,255,255,.75); }

.sec--dark .pill--err { background: rgba(255,140,140,.16); color: #ffb3b3; }
.sec--dark .pill--done { background: rgba(120,210,160,.16); color: #a8e6c1; }

/* главная: три направления */
.dirs3 { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2vw, 24px); }
.dir { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .2s; }
.dir:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--accent); }
.dir__ph { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.dir__ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.dir:hover .dir__ph img { transform: scale(1.04); }
.dir__body { display: flex; flex-direction: column; gap: 12px; padding: 22px 24px 26px; flex: 1; }
.dir__tab { font-size: 13px; color: var(--muted); }
.dir__tab::before { content: "[\00a0"; } .dir__tab::after { content: "\00a0]"; }
.dir b { font: 500 26px/1.1 var(--cond); text-transform: uppercase; }
.dir__text { color: var(--ink-2); }
.dir__pts { display: flex; flex-direction: column; gap: 8px; font-size: 15px; color: var(--ink-2); margin-bottom: 6px; }
.dir__pts span { display: flex; gap: 10px; }
.dir__pts .i { flex: none; width: 18px; height: 18px; color: var(--accent); margin-top: 2px; }
.dir .link-arrow { margin-top: auto; align-self: flex-start; }
@media (max-width: 900px) { .dirs3 { grid-template-columns: 1fr; max-width: 560px; } }

/* главная: география */
.geo { display: grid; grid-template-columns: 360px 1fr; gap: clamp(24px, 4vw, 56px); align-items: stretch; }
.geo__side { display: flex; flex-direction: column; gap: 20px; }
.geo__side .btn { align-self: flex-start; margin-top: auto; }
.geo__nums { margin: 0; border-top: 1px solid var(--line-2); }
.geo__nums div { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); }
.geo__nums dt { color: var(--ink-2); }
.geo__nums dd { margin: 0; font: 300 30px/1 var(--cond); color: var(--accent); }
.map--home { height: 560px; min-height: 0; }
@media (max-width: 900px) { .geo { grid-template-columns: 1fr; } .map--home { height: 420px; } }

/* о компании */
.hero--page .hero__in { min-height: 0; }
.hero--page::after { background: linear-gradient(90deg, rgba(47,52,74,.96) 0%, rgba(47,52,74,.85) 50%, rgba(47,52,74,.55) 100%); }
.depts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.dept { background: var(--surface); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 12px; }
.dept__ic { width: 52px; height: 52px; display: grid; place-items: center; border-radius: var(--radius); background: var(--accent-soft); color: var(--accent); margin-bottom: 6px; }
.dept__ic .i { width: 24px; height: 24px; }
.dept p { color: var(--ink-2); font-size: 16px; }
@media (max-width: 900px) { .depts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .depts { grid-template-columns: 1fr; } }
.princ { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.princ li { display: flex; flex-direction: column; gap: 12px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.2); }
.princ .adv__n { color: #fff; margin: 0; }
.princ p { color: var(--ink-2); font-size: 16px; }
@media (max-width: 1000px) { .princ { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .princ { grid-template-columns: 1fr; } }
.official { display: grid; grid-template-columns: 1fr 1fr; gap: 24px clamp(32px, 6vw, 96px); align-items: start; }
.official h2 { text-transform: none; }
.official__dl { margin: 0; border-top: 1px solid var(--line-2); }
.official__dl div { display: grid; grid-template-columns: 180px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.official__dl dt { color: var(--muted); }
.official__dl dd { margin: 0; }
.official .link-arrow { grid-column: 2; justify-self: start; }
@media (max-width: 800px) { .official { grid-template-columns: 1fr; } .official .link-arrow { grid-column: 1; } .official__dl div { grid-template-columns: 1fr; gap: 2px; } }

/* Архитектурная фотография остаётся читаемой за текстом. */
.home .hero::after { background: linear-gradient(90deg, rgba(47,52,74,.9), rgba(47,52,74,.68) 48%, rgba(47,52,74,.12)); }

.service-photo { margin:0 0 40px; }
.service-photo img { width:100%; max-height:480px; object-fit:cover; border-radius:var(--radius); }
.service-photo figcaption, .hero__photo-note { font-size:13px; opacity:.75; margin-top:10px; }

.home .hero h1 { max-width: 900px; }
.home-team { margin: 0; min-width: 0; }
.home-team img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }
.home-team figcaption { margin-top: 8px; color: var(--muted); font-size: 13px; }
.home-services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 4vw, 48px); }
@media (min-width: 761px) {
  .sec--photo-owner .home-services { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.home-services article { padding-top: 16px; border-top: 1px solid rgba(255,255,255,.35); }
.home-services p { max-width: 42ch; margin-top: 10px; color: var(--ink-2); }
.home-start { margin-bottom: clamp(24px, 4vw, 48px); }
.home .lead { background: linear-gradient(90deg, rgba(47,52,74,.98), rgba(47,52,74,.77)), url("/img/editorial/warehouse-service.webp") center / cover, var(--dark); }
@media (max-width: 560px) {
  .home .hero::after { background: linear-gradient(90deg, rgba(47,52,74,.95), rgba(47,52,74,.72)); }
  .home-services { grid-template-columns: 1fr; }
  .home .lead__contacts a { overflow-wrap: anywhere; }
}
