@font-face { font-family: "Onest"; font-style: normal; font-display: swap; font-weight: 100 900; src: url("../fonts/onest-cyrillic-wght-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-style: normal; font-display: swap; font-weight: 100 900; src: url("../fonts/onest-latin-wght-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Archivo"; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%; src: url("../fonts/archivo-latin-standard-normal.woff2") format("woff2"); }

/* Layout: шапка сверху, широкая колонка контента до 1480px с большими отступами между разделами. */
:root {
  --accent: #04a868;       /* фирменный цвет */
  --accent-deep: #038553;  /* темнее: фон под мелким белым текстом, наведение */
  --accent-text: #037a4c;  /* для зелёного текста на белом */
  --accent-soft: #dff5ec;
  --ink: #212523;
  --ink-2: #69706c;
  --ink-3: #9aa19d;
  --panel: #f1f3f2;
  --panel-2: #e6e9e7;
  --line: #e2e5e3;
  --dark: #17191a;
  --dark-2: #242728;
  --bg: #ffffff;
  --white: #ffffff;
  --header-h: 68px;
  --max: 1480px;
  --gutter: clamp(16px, 2.6vw, 40px);
  --section: clamp(72px, 9vw, 140px);
  --card-gap: clamp(12px, 1.4vw, 20px);
  --r-lg: 20px;
  --r-md: 14px;
  --r-sm: 8px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: "Onest", "Helvetica Neue", Arial, sans-serif;
  --font-mark: "Archivo", "Arial Black", Arial, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
em { font-style: normal; }
svg { display: block; width: 100%; height: 100%; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- Каркас ---------- */
.shell {
  padding-block: clamp(14px, 1.6vw, 24px) clamp(16px, 2vw, 32px);
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.content { min-width: 0; max-width: var(--max); margin-inline: auto; display: flex; flex-direction: column; }
.logo { font: 800 20px/1 var(--font-mark); font-stretch: 125%; letter-spacing: -.01em; color: var(--ink); }
.logo b { color: var(--accent); font-weight: inherit; }

/* ---------- Шапка ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--white); }
.header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 20;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
  transition: transform .4s var(--ease);
}
.header.is-hidden { transform: translateY(-101%); }
.header-inner { display: flex; align-items: center; gap: clamp(16px, 2.6vw, 44px); height: var(--header-h); max-width: var(--max); margin-inline: auto; }
.header-menu { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav { display: flex; align-items: center; gap: clamp(0px, .3vw, 6px); }
.nav > a, .nav-item > a { position: relative; padding: 7px 10px; font-size: 15px; white-space: nowrap; transition: color .2s; }
.nav > a::after, .nav-item > a::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 2px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav > a:hover::after, .nav > a.is-active::after, .nav-item > a:hover::after, .nav-item > a.is-active::after { transform: scaleX(1); }
.nav > a.is-active, .nav-item > a.is-active { color: var(--accent-text); }
.nav-item { position: relative; display: flex; }
.nav-item > a { display: inline-flex; align-items: center; gap: 6px; }
.nav-item > a::before { content: ""; order: 2; width: 6px; height: 6px; margin-top: -3px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: transform .25s; }
.nav-item:hover > a::before, .nav-item:focus-within > a::before { transform: translateY(2px) rotate(45deg); }
.nav-sub { position: absolute; left: 0; top: 100%; display: flex; flex-direction: column; gap: 1px; min-width: 270px; padding: 8px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: 0 18px 40px rgba(18, 22, 20, .12); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .3s var(--ease), visibility .2s; }
.nav-item:hover .nav-sub, .nav-item:focus-within .nav-sub { opacity: 1; visibility: visible; transform: none; }
.nav-sub a { padding: 9px 11px; font-size: 15px; white-space: nowrap; border-radius: 6px; transition: background .15s, color .15s; }
.nav-sub a:hover, .nav-sub a[aria-current] { background: var(--panel); color: var(--accent-text); }
.header-actions { display: flex; align-items: center; gap: 18px; flex: none; }
.phone { font-size: 14px; white-space: nowrap; color: var(--ink-2); transition: color .2s; }
.phone:hover { color: var(--accent-text); }
.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; pointer-events: none; }
.icon-btn { display: none; padding: 8px 12px; font-size: 14px; font-weight: 500; background: var(--panel); border-radius: var(--r-sm); }

/* ---------- Кнопки ---------- */
.btn { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: 11px 22px; border-radius: var(--r-sm); font-size: 15px; font-weight: 500; transition: background .2s, color .2s; will-change: transform; }
.btn-primary { background: var(--accent); color: var(--white); font-weight: 600; }
.btn-primary:hover { background: var(--accent-deep); }
.btn-soft { background: var(--panel); }
.btn-soft:hover { background: var(--panel-2); }
.btn-sm { min-height: 42px; padding: 8px 16px; }
.btn:disabled { opacity: .6; cursor: default; }
.text-link { position: relative; font-size: 14.5px; color: var(--accent-text); }
.text-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: currentColor; transform-origin: right; transition: transform .35s var(--ease); }
.text-link:hover::after { transform: scaleX(0); }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, var(--accent) 45%, var(--accent-deep) 100%);
  color: var(--white);
  border-radius: var(--r-lg);
  padding: clamp(16px, 2vw, 32px);
  display: flex;
  flex-direction: column;
  gap: clamp(64px, 11vw, 170px);
  overflow: hidden;
}
.wordmark { font-family: var(--font-mark); font-weight: 800; font-stretch: 125%; font-size: 18cqw; line-height: .84; letter-spacing: -.035em; white-space: nowrap; overflow: hidden; padding-block: .02em; }
.wordmark > span { display: inline-block; }
.wm-l { display: inline-block; }
.hero-bottom { display: grid; grid-template-columns: minmax(0, 1fr) 230px; gap: clamp(24px, 4vw, 64px); align-items: end; }
.hero h1 { font-weight: 400; font-size: clamp(21px, 2.3vw, 36px); line-height: 1.2; letter-spacing: -.012em; max-width: 31em; text-wrap: pretty; }
.h1-sub { color: rgba(255, 255, 255, .85); }
.rot { display: inline-block; position: relative; clip-path: inset(0 0 -.12em 0); transition: width .5s var(--ease); white-space: nowrap; }
.rot-item { display: inline-block; }
.hero-note { display: flex; flex-direction: column; gap: 8px; padding: 10px; background: rgba(0, 48, 30, .5); border-radius: var(--r-md); font-size: 13.5px; line-height: 1.3; transition: background .25s, transform .4s var(--ease); }
.hero-note:hover { background: rgba(0, 48, 30, .72); transform: translateY(-3px); }
.hero-note-art { height: 86px; display: block; border-radius: var(--r-sm); background: rgba(255, 255, 255, .1); overflow: hidden; }
.hero-note-art path { stroke-dasharray: 340; animation: draw 1.8s .5s var(--ease) both; }
.hero-note-link { color: rgba(255, 255, 255, .85); }
@keyframes draw { from { stroke-dashoffset: 340; } to { stroke-dashoffset: 0; } }

/* ---------- Клиенты-чипы ---------- */
.client-row { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: var(--card-gap); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
.chips button, .chips a { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding-inline: 11px; border-radius: var(--r-sm); background: var(--panel); font-size: 14px; transition: background .2s; }
.chips button:hover, .chips a:hover { background: var(--panel-2); }
.chips i { width: 16px; height: 16px; border-radius: 4px; flex: none; }
.client-actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Цифры ---------- */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding-top: clamp(48px, 6vw, 90px); }
.stats > div { padding-inline: clamp(16px, 2.4vw, 36px); border-left: 1px solid var(--line); min-width: 0; }
.stats > div:first-child { border-left: 0; padding-left: 4px; }
.stats b { display: block; font-weight: 400; font-size: clamp(52px, 7.6vw, 124px); line-height: 1; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.stats span { display: block; margin-top: 14px; font-size: 15px; line-height: 1.3; color: var(--ink-2); }

/* ---------- Разделы ---------- */
.block { padding-top: var(--section); }
.block-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px 24px; margin-bottom: clamp(26px, 3.2vw, 52px); }
.block-title { font-weight: 400; font-size: clamp(30px, 3.6vw, 56px); line-height: 1.06; letter-spacing: -.028em; text-wrap: balance; }
.block-note { font-size: 15px; color: var(--ink-2); }
.tags { display: flex; flex-wrap: wrap; gap: 5px; }
.tags i { padding: 5px 9px; font-style: normal; font-size: 13px; line-height: 1.2; background: var(--panel); border-radius: 5px; }

/* ---------- Услуги: панель и раскрывающийся список ---------- */
.svc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 72px); align-items: start; }
.svc-stage { position: sticky; top: calc(var(--header-h) + 20px); aspect-ratio: 16 / 11; background: var(--panel); border-radius: var(--r-lg); overflow: hidden; }
.svc-art { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 7%; opacity: 0; transform: translateY(14px) scale(.985); transition: opacity .45s, transform .6s var(--ease); }
.svc-art.is-on { opacity: 1; transform: none; }
.svc-list { border-bottom: 1px solid var(--line); min-width: 0; }
.svc-item { border-top: 1px solid var(--line); }
.svc-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; width: 100%; padding-block: clamp(18px, 1.9vw, 28px); font-size: clamp(22px, 2.3vw, 34px); line-height: 1.12; letter-spacing: -.018em; transition: color .25s, padding-left .4s var(--ease); }
.svc-head:hover { padding-left: 8px; }
.svc-item.is-on .svc-head { color: var(--accent-text); }
.plus { position: relative; flex: none; width: 16px; height: 16px; }
.plus::before, .plus::after { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 2px; background: currentColor; transition: transform .35s var(--ease); }
.plus::after { transform: rotate(90deg); }
.svc-item.is-on .plus::after { transform: rotate(0); }
.svc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.svc-item.is-on .svc-body { grid-template-rows: 1fr; }
.svc-inner { min-height: 0; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.svc-inner > :last-child { margin-bottom: clamp(20px, 2.2vw, 32px); }
.svc-inner p { font-size: 16px; color: var(--ink-2); max-width: 54ch; }

/* ---------- Лента клиентов ---------- */
.clients { padding-top: var(--section); }
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding-block: clamp(20px, 2.4vw, 34px); }
.marquee-track { display: flex; width: max-content; align-items: center; gap: clamp(40px, 5vw, 80px); padding-right: clamp(40px, 5vw, 80px); animation: marquee 46s linear infinite; will-change: transform; }
.marquee-track.is-js { animation: none; }
.marquee li { white-space: nowrap; font-size: clamp(22px, 2.2vw, 32px); line-height: 1.3; }
.m1 { font-family: var(--font-mark); font-stretch: 125%; font-weight: 800; font-size: clamp(18px, 1.8vw, 26px) !important; }
.m2 { font-weight: 600; letter-spacing: -.03em; }
.m3 { font-weight: 400; font-style: italic; }
.m4 { font-weight: 500; letter-spacing: .14em; font-size: clamp(16px, 1.6vw, 23px) !important; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Проекты ---------- */
.cases { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--card-gap); }
.case { display: flex; flex-direction: column; min-width: 0; width: 100%; padding: 10px; background: var(--dark); color: var(--white); border-radius: var(--r-lg); }
.c7 { grid-column: span 7; }
.c5 { grid-column: span 5; }
.c6 { grid-column: span 6; }
.art { display: block; position: relative; overflow: hidden; height: clamp(280px, 32vw, 500px); border-radius: var(--r-md); }
.case-cap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 14px; padding: 14px 8px 8px; font-size: 15px; line-height: 1.3; }
.case-cap b { font-weight: 500; }
.case-cap em { color: #a7ada9; }
.case:hover .site-win { box-shadow: 0 16px 44px rgba(18, 22, 20, .22); }

/* Иллюстрации проектов: палитры взяты из самих проектов */
.art-site { background: var(--s-bg); display: flex; align-items: flex-end; justify-content: center; padding: clamp(20px, 3.4vw, 54px) 6% 0; }
.site-win { display: flex; flex-direction: column; width: 100%; max-width: 860px; height: 108%; margin-bottom: -8%; background: var(--s-win); color: var(--s-ink); border-radius: 10px 10px 0 0; overflow: hidden; box-shadow: 0 10px 34px rgba(18, 22, 20, .14); transition: box-shadow .4s; will-change: transform; }
.site-bar { display: flex; gap: 5px; padding: 9px 12px; border-bottom: 1px solid rgba(0, 0, 0, .07); }
.site-bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(0, 0, 0, .16); }
.site-body { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: clamp(10px, 1.5vw, 20px); padding: clamp(14px, 2.6vw, 38px); overflow: hidden; }
.s-title { font-size: clamp(22px, 3vw, 46px); font-weight: 500; line-height: 1.05; letter-spacing: -.02em; }
.s-xl { font-size: clamp(25px, 3.6vw, 58px); font-weight: 600; }
.s-caps { letter-spacing: .02em; }
.s-tabs { display: flex; flex-wrap: wrap; gap: 6px; font-size: clamp(11px, 1vw, 14px); }
.s-tabs i { padding: 5px 11px; border-radius: 6px; background: #efefec; font-style: normal; }
.s-tabs i.on { background: #111; color: #fff; }
.s-book { display: grid; grid-template-columns: 2fr 1fr 1fr auto; gap: 6px; font-size: clamp(11px, .95vw, 14px); }
.s-book i { padding: clamp(8px, 1vw, 13px) 10px; background: #fff; border: 1px solid #e2e2de; border-radius: 8px; font-style: normal; color: #6e6e6a; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.s-book b { display: flex; align-items: center; padding-inline: clamp(10px, 1.3vw, 20px); background: var(--s-acc); color: #fff; border-radius: 8px; font-weight: 500; white-space: nowrap; }
.s-tiles { flex: 1; min-height: 60px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.s-tiles i { display: block; border-radius: 6px; }
.s-line { display: block; flex: none; height: 7px; border-radius: 4px; background: #e8e3df; }
.s-short { width: 55%; }
.art-mark { background: var(--s-bg); color: var(--s-ink); display: flex; align-items: center; justify-content: center; padding: clamp(18px, 2.4vw, 34px); }
.art-left { flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 18px; }
.mark-name { display: flex; flex-direction: column; align-items: center; font-size: clamp(26px, 3.5vw, 54px); font-weight: 500; letter-spacing: .1em; line-height: 1.1; }
.mark-name small { font-size: .46em; letter-spacing: .3em; font-weight: 400; margin-top: 6px; margin-right: -.3em; }
.mark-text { font-size: clamp(24px, 3vw, 46px); font-weight: 500; line-height: 1.08; letter-spacing: -.018em; max-width: 13em; text-wrap: balance; }
.mark-sub { font-size: 13px; letter-spacing: .14em; margin-top: 18px; opacity: .75; }
.s-foot { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; width: 100%; }
.s-btn { padding: 9px 14px; color: #fff; font-size: 14px; font-weight: 500; line-height: 1.2; border-radius: 7px; }
.s-swatch { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; width: 100%; height: clamp(44px, 6vw, 92px); }
.s-swatch i { display: block; border-radius: 7px; }
.s-city { flex-wrap: wrap; gap: 6px; font-size: 13px; }
.s-city i { padding: 5px 10px; border-radius: 5px; font-style: normal; background: #37b34a; color: #0d2a12; }
.s-city-dark i { background: #2b2823; color: #fff; }

/* ---------- Что входит ---------- */
.includes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(28px, 3vw, 48px) var(--card-gap); }
.includes li { position: relative; display: flex; flex-direction: column; gap: 10px; padding-top: 18px; border-top: 1px solid var(--line); min-width: 0; }
.includes li::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.includes li:hover::before { transform: scaleX(1); }
.includes b { font-weight: 500; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.25; letter-spacing: -.005em; }
.includes span { font-size: 14.5px; line-height: 1.4; color: var(--ink-2); }

/* ---------- Как работаем ---------- */
.process { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 72px); align-items: start; }
.process-panel {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  display: flex;
  flex-direction: column;
  min-height: clamp(380px, 38vw, 560px);
  padding: clamp(20px, 2.4vw, 36px);
  color: var(--white);
  background: linear-gradient(180deg, var(--accent) 30%, var(--accent-deep) 100%);
  border-radius: var(--r-lg);
}
.process-kicker { font-size: 15px; }
.process-panel h2 { margin-top: 14px; font-weight: 400; font-size: clamp(32px, 4vw, 64px); line-height: 1.03; letter-spacing: -.03em; text-wrap: balance; }
.process-panel p { margin-top: auto; padding-top: 28px; font-size: 16px; max-width: 34ch; }
.process-count { margin-top: 18px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .3); font-size: 15px; }
.process-count b { font-weight: 500; }
.steps { position: relative; padding-left: clamp(26px, 3vw, 44px); }
.steps-line { position: absolute; left: 5px; top: 10px; bottom: 10px; width: 2px; background: var(--line); }
.steps-line i { display: block; width: 100%; height: 100%; background: var(--accent); transform: scaleY(0); transform-origin: top; }
.step { position: relative; padding-bottom: clamp(36px, 4.4vw, 68px); }
.step:last-of-type { padding-bottom: 0; }
.step-dot { position: absolute; left: calc(clamp(26px, 3vw, 44px) * -1); top: 8px; width: 12px; height: 12px; border-radius: 50%; background: var(--white); border: 2px solid var(--ink-3); transition: background .3s, border-color .3s; }
.step.is-on .step-dot { background: var(--accent); border-color: var(--accent); }
.step-top { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 4px 16px; }
.step h3 { font-weight: 400; font-size: clamp(22px, 2.2vw, 32px); line-height: 1.12; letter-spacing: -.018em; }
.step-top span { font-size: 14px; color: var(--ink-2); white-space: nowrap; }
.step p { margin-top: 12px; font-size: 16px; color: var(--ink-2); max-width: 56ch; }
.step em { display: block; margin-top: 10px; font-size: 14.5px; color: var(--accent-text); }

/* ---------- Гарантии ---------- */
.guar { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 90px); padding: clamp(22px, 3.6vw, 60px); background: var(--dark); color: var(--white); border-radius: var(--r-lg); }
.guar-head { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 32px; }
.guar-head h2 { font-weight: 400; font-size: clamp(30px, 3.6vw, 56px); line-height: 1.06; letter-spacing: -.028em; text-wrap: balance; }
.guar-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 48px); }
.guar-list li { display: flex; flex-direction: column; gap: 10px; padding-block: clamp(18px, 2vw, 28px); border-top: 1px solid rgba(255, 255, 255, .16); min-width: 0; }
.guar-list b { font-weight: 400; font-size: clamp(19px, 1.6vw, 24px); line-height: 1.18; letter-spacing: -.01em; }
.guar-list span { font-size: 15px; line-height: 1.4; color: #a7ada9; }

/* ---------- Блог ---------- */
.posts { border-bottom: 1px solid var(--line); }
.post { display: grid; grid-template-columns: minmax(0, 1fr) 130px 130px; gap: 18px; align-items: baseline; padding-block: clamp(18px, 2.1vw, 30px); border-top: 1px solid var(--line); transition: color .25s, padding-left .45s var(--ease); }
.post:hover { color: var(--accent-text); padding-left: 10px; }
.post b { font-weight: 400; font-size: clamp(20px, 2vw, 30px); line-height: 1.15; letter-spacing: -.015em; }
.post-cat, .post time { font-size: 14.5px; color: var(--ink-2); }
.post time { text-align: right; }
.post-thumb { display: none; }
.t1 { background: var(--accent); }
.t2 { background: var(--dark); }
.t3 { background: #3f4744; }
.blog-float { position: fixed; left: 0; top: 0; z-index: 15; width: 240px; height: 150px; border-radius: var(--r-md); overflow: hidden; opacity: 0; pointer-events: none; transition: opacity .25s; will-change: transform; }
.blog-float.is-on { opacity: 1; }
.blog-float .post-thumb { display: block; width: 100%; height: 100%; }
.cursor-tag { position: fixed; left: 0; top: 0; z-index: 15; padding: 8px 12px; font-size: 13.5px; font-weight: 500; line-height: 1; color: var(--ink); background: var(--white); border-radius: 6px; opacity: 0; pointer-events: none; transition: opacity .2s; will-change: transform; box-shadow: 0 6px 18px rgba(18, 22, 20, .2); }
.cursor-tag.is-on { opacity: 1; }

/* ---------- Вопросы ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 72px); align-items: start; }
.faq .block-title { position: sticky; top: calc(var(--header-h) + 20px); }
.jobs { border-bottom: 1px solid var(--line); min-width: 0; }
.job { border-top: 1px solid var(--line); }
.job summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: clamp(18px, 1.8vw, 26px); font-size: clamp(17px, 1.5vw, 22px); line-height: 1.25; letter-spacing: -.008em; cursor: pointer; transition: color .2s; }
.job summary:hover { color: var(--accent-text); }
.job summary::-webkit-details-marker { display: none; }
.job summary i { position: relative; flex: none; width: 14px; height: 14px; }
.job summary i::before, .job summary i::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 2px; background: currentColor; transition: transform .3s var(--ease); }
.job summary i::after { transform: rotate(90deg); }
.job[open] summary i::after { transform: rotate(0); }
.job-body { overflow: hidden; }
.job-body p { padding-bottom: clamp(20px, 2vw, 28px); font-size: 16px; color: var(--ink-2); max-width: 58ch; }

/* ---------- Расчёт ---------- */
.cta { margin-top: var(--section); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(16px, 3vw, 48px); padding: clamp(16px, 2vw, 32px); color: var(--white); background: linear-gradient(180deg, var(--accent) 25%, var(--accent-deep) 100%); border-radius: var(--r-lg); scroll-margin-top: calc(var(--header-h) + 20px); }
.cta-copy { display: flex; flex-direction: column; align-items: flex-start; padding: 8px; min-width: 0; }
.cta h2 { font-weight: 400; font-size: clamp(32px, 4.6vw, 72px); line-height: 1.02; letter-spacing: -.03em; text-wrap: balance; }
.cta-copy p { margin-top: 18px; font-size: 16px; max-width: 34ch; }
.cta-wa { margin-top: auto; padding-top: 32px; font-size: 17px; font-weight: 500; text-decoration: underline; text-underline-offset: 4px; }
.cta-form { padding: clamp(18px, 2.4vw, 34px); background: var(--white); color: var(--ink); border-radius: var(--r-md); min-width: 0; }

/* Форма */
.lead-form { width: 100%; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.choice-wrap { width: 100%; display: flex; flex-direction: column; gap: 8px; }
.choice-label { font-size: 13px; color: var(--ink-2); }
.choice { display: flex; flex-wrap: wrap; gap: 5px; }
.choice button { padding: 8px 11px; font-size: 14px; line-height: 1.2; background: var(--panel); border-radius: 6px; transition: background .2s, color .2s; }
.choice button:hover { background: var(--panel-2); }
.choice button[aria-pressed="true"] { background: var(--dark); color: var(--white); }
.field { position: relative; width: 100%; display: flex; flex-direction: column; gap: 4px; }
.field label { font-size: 13px; color: var(--ink-2); }
.field input { width: 100%; padding: 7px 0 9px; font: inherit; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--ink-3); border-radius: 0; }
.field input:focus { outline: 0; border-bottom-color: var(--accent); box-shadow: 0 1px 0 var(--accent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead-error { color: #a4262c; font-size: 14px; }
.lead-consent { font-size: 12.5px; line-height: 1.35; color: var(--ink-2); }
.lead-consent a { text-decoration: underline; text-underline-offset: 2px; }
.lead-done { width: 100%; padding: 12px 14px; background: var(--accent-soft); color: var(--accent-text); border-radius: var(--r-sm); font-size: 14.5px; }
.lead-done.is-error { margin-top: 14px; background: #fbeceb; color: #a4262c; }

/* ---------- Футер ---------- */
.footer { margin-top: var(--card-gap); display: flex; flex-direction: column; gap: clamp(56px, 8vw, 130px); padding: clamp(20px, 2.6vw, 40px); background: var(--dark); color: var(--white); border-radius: var(--r-lg); overflow: hidden; scroll-margin-top: calc(var(--header-h) + 20px); }
.footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.footer-cols > div { display: flex; flex-direction: column; gap: 8px; min-width: 0; font-size: 15px; }
.footer-label { font-size: 13px; color: #8f9692; margin-bottom: 6px; }
.footer a { transition: color .2s; }
.footer a:hover { color: #6fdcb2; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 20px; font-size: 13px; color: #8f9692; }

/* ---------- Страницы услуг: первый экран ---------- */
.btn-white { background: var(--white); color: var(--ink); font-weight: 600; }
.btn-white:hover { background: var(--accent-soft); }
.btn-ghost { color: var(--white); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.btn-dark { background: var(--dark); color: var(--white); }
.btn-dark:hover { background: var(--accent-deep); }
.page-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 72px); padding: clamp(18px, 2.6vw, 40px); color: var(--white); background: linear-gradient(180deg, var(--accent) 45%, var(--accent-deep) 100%); border-radius: var(--r-lg); overflow: hidden; }
.page-hero-copy { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: 14px; }
.crumbs i { font-style: normal; opacity: .6; }
.crumbs a { text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .4); text-underline-offset: 3px; }
.page-hero h1 { margin-top: clamp(64px, 9vw, 150px); font-weight: 400; font-size: clamp(36px, 5vw, 78px); line-height: 1.02; letter-spacing: -.035em; text-wrap: balance; }
.page-hero-copy > p { margin-top: clamp(18px, 2vw, 28px); font-size: clamp(17px, 1.45vw, 21px); line-height: 1.35; max-width: 34em; text-wrap: pretty; }
.page-hero-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(24px, 2.6vw, 38px); }
.page-hero-mock { display: flex; align-items: center; justify-content: center; padding: clamp(14px, 2.4vw, 36px); background: rgba(0, 48, 30, .28); border-radius: var(--r-md); min-width: 0; }

/* Иллюстрации услуг */
.mock { width: 100%; max-width: 520px; display: flex; flex-direction: column; gap: 10px; color: var(--ink); font-size: 14px; line-height: 1.3; }
.mock small { display: block; font-size: 12.5px; color: var(--ink-2); }
.mock-bar { display: flex; align-items: center; gap: 5px; padding: 10px 12px; border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: 13px; }
.mock-bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--panel-2); }
.mock-bar span { margin-left: 8px; }
.mock-site, .mock-search, .mock-status, .mock-brand { padding: 0; background: var(--white); border-radius: 12px; overflow: hidden; box-shadow: 0 12px 34px rgba(0, 40, 26, .16); }
.mock-site { gap: 0; }
.mock-site-body { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: clamp(16px, 2vw, 26px); }
.mock-h { font-weight: 500; font-size: clamp(18px, 1.7vw, 25px); line-height: 1.12; letter-spacing: -.015em; }
.mock-btn { padding: 8px 12px; background: var(--accent); color: var(--white); font-weight: 500; border-radius: 6px; }
.mock-tiles { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.mock-tiles i { display: block; height: clamp(56px, 6vw, 92px); background: var(--panel); border-radius: 6px; }
.mock-tiles i:nth-child(2) { background: var(--accent-soft); }
.mock-foot { display: flex; flex-wrap: wrap; gap: 5px; font-size: 12.5px; }
.mock-foot span { padding: 4px 8px; background: var(--panel); border-radius: 5px; }
.mock-search { padding: 14px; }
.mock-query { padding: 10px 14px; background: var(--panel); border-radius: 8px; }
.mock-result { display: flex; align-items: center; gap: 12px; padding: 10px 8px; border-radius: 8px; }
.mock-result b { display: block; font-weight: 500; }
.mock-result.is-top { background: var(--accent-soft); }
.mock-pos { display: grid; place-items: center; flex: none; width: 26px; height: 26px; font-size: 13px; background: var(--panel); border-radius: 6px; }
.is-top .mock-pos { background: var(--accent); color: var(--white); }
.mock-ph { flex: 1; display: flex; flex-direction: column; gap: 5px; }
.mock-ph i { display: block; height: 7px; background: var(--panel); border-radius: 4px; }
.mock-ph i:last-child { width: 62%; }
.mock-chart { padding: 8px; }
.mock-chart svg { height: 64px; margin-top: 4px; }
.mock-phone { max-width: 270px; padding: 18px 14px; background: var(--white); border: 6px solid var(--dark); border-radius: 30px; box-shadow: 0 12px 34px rgba(0, 40, 26, .2); }
.mock-trip { padding: 12px; background: var(--panel); border-radius: 10px; }
.mock-trip b { display: block; margin-block: 3px; font-weight: 500; font-size: 18px; letter-spacing: -.01em; }
.mock-trip span { color: var(--ink-2); font-size: 13px; }
.mock-phone .mock-btn { align-self: stretch; text-align: center; padding: 10px; }
.mock-note { padding: 10px 12px; background: var(--accent-soft); color: var(--accent-text); border-radius: 10px; font-size: 13px; }
.mock-brand { padding: 16px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mock-logo { grid-column: span 2; display: grid; place-items: center; height: clamp(80px, 8vw, 124px); color: var(--white); background: var(--dark); border-radius: 8px; font: 800 clamp(24px, 2.8vw, 40px)/1 var(--font-mark); font-stretch: 125%; letter-spacing: -.02em; }
.mock-type { display: flex; align-items: center; gap: 10px; padding: 10px; background: var(--panel); border-radius: 8px; min-width: 0; }
.mock-type b { font-weight: 600; font-size: 28px; line-height: 1; }
.mock-colors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; min-height: 58px; }
.mock-colors i { display: block; border-radius: 6px; }
.mock-card { grid-column: span 2; padding: 12px; border: 1px solid var(--line); border-radius: 8px; }
.mock-card b { display: block; margin-top: 3px; font-weight: 500; font-size: 16px; }
.mock-card span { color: var(--ink-2); font-size: 13px; }
.mock-status { padding-bottom: 8px; gap: 0; }
.mock-status .mock-bar { justify-content: space-between; margin-bottom: 4px; }
.mock-status .mock-bar span { margin: 0; }
.mock-live { display: flex; align-items: center; gap: 7px; color: var(--accent-text); font-weight: 500; }
.mock-live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.fx .mock-live::before { animation: pulse 2.4s infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.mock-check { position: relative; padding: 11px 14px 11px 38px; border-bottom: 1px solid var(--panel); }
.mock-check:last-child { border-bottom: 0; }
.mock-check::before { content: ""; position: absolute; left: 16px; top: 15px; width: 10px; height: 5px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.fx .page-hero-mock .mock { animation: mock-in 1s .25s var(--ease) both; }
.fx .page-hero-mock .mock-check, .fx .page-hero-mock .mock-result, .fx .page-hero-mock .mock-trip, .fx .page-hero-mock .mock-note, .fx .page-hero-mock .mock-card, .fx .page-hero-mock .mock-tiles { animation: row-in .7s var(--ease) both; }
.fx .page-hero-mock :nth-child(2) { animation-delay: .5s; }
.fx .page-hero-mock :nth-child(3) { animation-delay: .65s; }
.fx .page-hero-mock :nth-child(4) { animation-delay: .8s; }
.fx .page-hero-mock :nth-child(5) { animation-delay: .95s; }
@keyframes mock-in { from { opacity: 0; transform: translateY(24px); } }
@keyframes row-in { from { opacity: 0; transform: translateY(10px); } }

/* Преимущества */
.benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding-top: clamp(48px, 6vw, 90px); }
.benefits > div { display: flex; flex-direction: column; gap: 12px; padding-inline: clamp(16px, 2.4vw, 36px); border-left: 1px solid var(--line); min-width: 0; }
.benefits > div:first-child { border-left: 0; padding-left: 4px; }
.benefits b { font-weight: 400; font-size: clamp(22px, 2.1vw, 31px); line-height: 1.12; letter-spacing: -.018em; }
.benefits span { font-size: 16px; color: var(--ink-2); max-width: 34ch; }

/* Что делаем */
.kinds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--card-gap); }
.kind { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: clamp(36px, 4vw, 64px); min-height: clamp(180px, 16vw, 240px); padding: clamp(18px, 1.8vw, 26px); background: var(--panel); border-radius: var(--r-lg); overflow: hidden; min-width: 0; transition: background .3s, color .3s; }
.kind:hover { background: var(--dark); color: var(--white); }
.kind b { font-weight: 400; font-size: clamp(21px, 1.9vw, 28px); line-height: 1.12; letter-spacing: -.016em; }
.kind span { font-size: 15px; line-height: 1.4; color: var(--ink-2); transition: color .3s; }
.kind:hover span { color: #c0c5c2; }
.features { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: 16px; align-items: baseline; margin-top: clamp(24px, 2.6vw, 40px); padding-top: 18px; border-top: 1px solid var(--line); font-size: 15px; }
.features > span { color: var(--ink-2); }

/* Полоса с призывом */
.block-tight { padding-top: clamp(40px, 5vw, 72px); }
.band { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px clamp(24px, 4vw, 64px); padding: clamp(22px, 3.2vw, 50px); color: var(--white); background: var(--dark); border-radius: var(--r-lg); }
.band-copy { flex: 1 1 340px; min-width: 0; }
.band h2 { font-weight: 400; font-size: clamp(25px, 2.9vw, 44px); line-height: 1.08; letter-spacing: -.024em; max-width: 21em; text-wrap: balance; }
.band p { margin-top: 12px; font-size: 16px; color: #c0c5c2; max-width: 52ch; }
.band-num { flex: none; font-weight: 400; font-size: clamp(72px, 10vw, 160px); line-height: .9; letter-spacing: -.05em; color: #3fd29b; font-variant-numeric: tabular-nums; }

/* Пример из портфолио */
.case-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(24px, 4vw, 72px); align-items: stretch; }
.case-feature-copy { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.case-feature .process-kicker { color: var(--ink-2); }
.case-feature h2 { margin-top: 14px; font-weight: 400; font-size: clamp(32px, 4vw, 64px); line-height: 1.04; letter-spacing: -.03em; }
.case-feature p { margin-top: 16px; font-size: 16.5px; color: var(--ink-2); max-width: 38ch; }
.case-feature-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: auto; padding-top: 26px; }

/* Другие услуги */
.others { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--card-gap); }
.other { display: flex; flex-direction: column; justify-content: space-between; gap: clamp(32px, 3.6vw, 56px); min-height: 220px; padding: clamp(18px, 1.7vw, 24px); background: var(--panel); border-radius: var(--r-lg); min-width: 0; transition: background .3s, color .3s; }
.other:hover { background: var(--accent-deep); color: var(--white); }
.other b { font-weight: 400; font-size: clamp(20px, 1.7vw, 25px); line-height: 1.14; letter-spacing: -.012em; }
.other span { font-size: 14.5px; line-height: 1.4; color: var(--ink-2); transition: color .3s; }
.other:hover span { color: var(--white); }

/* Общая страница услуг */
.block-first { padding-top: clamp(40px, 5vw, 72px); }
.svc-rows { display: flex; flex-direction: column; gap: var(--card-gap); }
.svc-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 72px); align-items: stretch; padding: clamp(10px, 1vw, 14px); background: var(--panel); border-radius: var(--r-lg); }
.svc-row:nth-child(even) .svc-row-art { order: 2; }
.svc-row-art { display: flex; align-items: center; justify-content: center; min-height: clamp(280px, 28vw, 420px); padding: clamp(16px, 2.6vw, 40px); background: var(--panel-2); border-radius: var(--r-md); overflow: hidden; min-width: 0; }
.svc-row-art .mock { transition: transform .7s var(--ease); }
.svc-row:hover .svc-row-art .mock { transform: translateY(-6px); }
.svc-row-copy { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(14px, 2vw, 30px); min-width: 0; }
.svc-row-copy h2 { font-weight: 400; font-size: clamp(28px, 3.3vw, 52px); line-height: 1.05; letter-spacing: -.028em; text-wrap: balance; }
.svc-row-copy h2 a:hover { color: var(--accent-text); }
.svc-row-copy p { margin-top: 16px; font-size: 16.5px; color: var(--ink-2); max-width: 42ch; }
.svc-row-copy .tags { margin-top: 18px; }
.svc-row-copy .tags i { background: var(--white); }
.svc-row-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 28px; }
.svc-row .btn-soft { background: var(--white); }
.svc-row .btn-soft:hover { background: var(--panel-2); }

/* Подбор услуги */
.picker { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--card-gap); }
.picker-q { min-width: 0; padding-block: 4px; }
.picker-q h2 { font-weight: 400; font-size: clamp(30px, 3.6vw, 56px); line-height: 1.06; letter-spacing: -.028em; }
.picker-opts { display: flex; flex-direction: column; margin-top: clamp(22px, 2.6vw, 38px); border-bottom: 1px solid var(--line); }
.picker-opts button { padding: clamp(14px, 1.3vw, 19px) 2px; border-top: 1px solid var(--line); font-size: clamp(17px, 1.4vw, 20px); line-height: 1.25; transition: color .2s, padding-left .4s var(--ease); }
.picker-opts button:hover { padding-left: 8px; }
.picker-opts button[aria-pressed="true"] { color: var(--accent-text); font-weight: 500; }
.picker-a { display: flex; flex-direction: column; align-items: flex-start; min-height: 360px; padding: clamp(20px, 2.6vw, 40px); color: var(--white); background: var(--dark); border-radius: var(--r-lg); min-width: 0; }
.picker-a .process-kicker { color: #a7ada9; }
.picker-result { margin-block: auto; padding-block: 24px; }
.picker-a h3 { font-weight: 400; font-size: clamp(30px, 3.4vw, 52px); line-height: 1.05; letter-spacing: -.028em; }
.picker-a p { margin-top: 14px; font-size: 16.5px; color: #c0c5c2; max-width: 42ch; }

.field textarea { width: 100%; padding: 7px 0 9px; font: inherit; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--ink-3); border-radius: 0; resize: vertical; }
.field textarea:focus { outline: 0; border-bottom-color: var(--accent); box-shadow: 0 1px 0 var(--accent); }

/* ---------- Компактный первый экран ---------- */
.page-hero.is-compact { grid-template-columns: minmax(0, 1fr); }
.is-compact h1 { margin-top: clamp(48px, 6vw, 96px); max-width: 17em; }
.is-compact .page-hero-copy > p { max-width: 42em; }
.page-hero-actions:empty { display: none; }
.page-hero-mock .art { width: 100%; height: 100%; min-height: clamp(260px, 26vw, 420px); }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 20px; font-size: 14.5px; }
.big-404 { margin-top: clamp(30px, 4vw, 60px); font: 800 clamp(90px, 16vw, 240px)/.85 var(--font-mark); font-stretch: 125%; letter-spacing: -.04em; }
.is-404 h1 { margin-top: 28px; }

/* ---------- Проекты ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: clamp(20px, 2.4vw, 34px); }
.filters button { padding: 10px 15px; font-size: 15px; line-height: 1.2; background: var(--panel); border-radius: var(--r-sm); transition: background .2s, color .2s; }
.filters button:hover { background: var(--panel-2); }
.filters button[aria-pressed="true"] { background: var(--dark); color: var(--white); }
.cases.is-filtered .case { grid-column: span 6; }
.case-tags { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.case-tags i { padding: 4px 8px; font-style: normal; font-size: 12.5px; line-height: 1.2; color: #d6dbd8; background: rgba(255, 255, 255, .1); border-radius: 5px; }
.chip-var { background: var(--chip) !important; color: var(--chip-t) !important; }

/* Кейс */
.facts { display: grid; grid-template-columns: 1fr 1.5fr .5fr 1.3fr; padding-top: clamp(40px, 4.6vw, 70px); }
.facts > div { display: flex; flex-direction: column; gap: 8px; padding-inline: clamp(14px, 2vw, 30px); border-left: 1px solid var(--line); min-width: 0; }
.facts > div:first-child { border-left: 0; padding-left: 4px; }
.facts span { font-size: 14px; color: var(--ink-2); }
.facts b { font-weight: 400; font-size: clamp(17px, 1.45vw, 21px); line-height: 1.25; letter-spacing: -.008em; }
.task { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(24px, 4vw, 72px); margin-bottom: clamp(26px, 3.2vw, 52px); }
.task:last-child { margin-bottom: 0; }
.task .process-kicker { display: block; color: var(--accent-text); margin-bottom: 14px; }
.task p { font-size: clamp(18px, 1.55vw, 23px); line-height: 1.35; letter-spacing: -.008em; }
.swatches { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--card-gap); }
.swatch { display: flex; flex-direction: column; min-width: 0; font-size: 15px; }
.swatch-color { display: flex; align-items: flex-end; height: clamp(110px, 11vw, 170px); margin-bottom: 12px; padding: 12px; font-size: 13px; border-radius: var(--r-md); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .07); }
.swatch b { font-weight: 500; }
.swatch small { font-size: 13.5px; line-height: 1.3; color: var(--ink-2); }
.design-row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--card-gap); margin-top: var(--card-gap); }
.fonts { display: flex; flex-direction: column; gap: var(--card-gap); min-width: 0; }
.font-card { display: flex; align-items: center; gap: clamp(16px, 2vw, 30px); padding: clamp(16px, 1.8vw, 26px); background: var(--panel); border-radius: var(--r-lg); min-width: 0; }
.font-card > b { font-weight: 500; font-size: clamp(46px, 5vw, 76px); line-height: 1; letter-spacing: -.03em; }
.font-card strong { display: block; font-weight: 500; font-size: 17px; }
.font-card small { display: block; color: var(--ink-2); font-size: 13.5px; }
.font-card span { display: block; margin-top: 7px; font-size: clamp(17px, 1.5vw, 22px); line-height: 1.2; }
.btn-sample { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; padding: clamp(16px, 1.8vw, 26px); background: var(--panel); border-radius: var(--r-lg); min-width: 0; }
.btn-sample .process-kicker { color: var(--ink-2); }
.demos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 2.4vw, 36px) var(--card-gap); }
.demos-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.demo { min-width: 0; }
.demo-stage { display: flex; align-items: center; justify-content: center; min-height: clamp(280px, 26vw, 380px); padding: clamp(14px, 2vw, 30px); background: var(--panel); border-radius: var(--r-lg); }
.demo h3 { margin-top: 14px; font-weight: 500; font-size: 17px; }
.demo p { margin-top: 4px; font-size: 14.5px; line-height: 1.4; color: var(--ink-2); max-width: 44ch; }
.demo-card { width: 100%; max-width: 480px; display: flex; flex-direction: column; gap: 10px; padding: 16px; color: var(--t); background: var(--b); font-size: 13.5px; line-height: 1.3; border-radius: 12px; box-shadow: 0 10px 28px rgba(18, 22, 20, .1); min-width: 0; }
.demo-card small { display: block; font-size: 12px; color: var(--m); }
.demo-card b { font-weight: 600; }
.d-tabs { display: flex; flex-wrap: wrap; gap: 4px; font-size: 12.5px; }
.d-tabs i { padding: 5px 9px; font-style: normal; border: 1px solid var(--l); border-radius: 6px; }
.d-tabs i.on { color: #fff; background: var(--t); border-color: var(--t); }
.d-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.d-field { padding: 8px 9px; background: #fff; border: 1px solid var(--l); border-radius: 7px; min-width: 0; }
.d-btn { display: inline-flex; align-self: flex-start; padding: 9px 14px; font-size: 13.5px; font-weight: 500; line-height: 1.2; color: #fff; background: var(--c); border-radius: var(--r); }
.d-sm { padding: 6px 10px; font-size: 12px; }
.d-out { color: var(--t); background: transparent; box-shadow: inset 0 0 0 1px var(--t); }
.d-dark { color: #fff; background: var(--t); }
.d-wa { color: #fff; background: #1a9e4b; }
.d-flex { display: flex; flex-wrap: wrap; gap: 6px; }
.d-between { justify-content: space-between; align-items: center; }
.d-route { padding-bottom: 8px; font-weight: 500; border-bottom: 1px solid var(--l); }
.d-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-block: 8px; border-bottom: 1px solid var(--l); }
.d-row:last-child { border-bottom: 0; }
.d-board { padding: 10px; color: #f3f3f3; background: #161616; border-radius: 7px; font-size: 12.5px; }
.d-board > div { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; padding-block: 4px; border-top: 1px solid #2c2c2c; }
.d-board b { color: #ffd65a; font-weight: 500; }
.d-board .d-board-h { display: flex; justify-content: space-between; border: 0; color: #fff; font-weight: 500; }
.d-sign { padding: 10px; text-align: center; background: #fff; border: 1px solid var(--l); border-radius: 7px; }
.d-sign b { display: block; font-size: 19px; }
.d-sign span { color: var(--m); font-size: 12px; }
.d-trip svg { height: 92px; }
.d-trip b { display: block; margin-top: 6px; font-size: 18px; }
.d-trip span { color: var(--m); }
.d-nav { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.d-title { font-size: clamp(20px, 1.9vw, 27px); font-weight: 500; line-height: 1.1; letter-spacing: -.015em; }
.d-t-sm { font-size: 19px; }
.d-stat { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-block: 9px; border-bottom: 1px solid var(--l); }
.d-stat:last-child { border-bottom: 0; }
.d-stat b { font-weight: 400; font-size: clamp(24px, 2.5vw, 34px); letter-spacing: -.03em; }
.d-slide { display: flex; flex-direction: column; justify-content: flex-end; gap: 3px; min-height: 150px; padding: 12px; color: #fff; background: linear-gradient(180deg, #8d857a, #141312); border-radius: 8px; }
.d-slide b { font-size: 19px; }
.d-count { margin-bottom: auto; font-size: 12px; }
.d-arrows { letter-spacing: .25em; }
.d-line { padding: 8px 0 9px; color: var(--m); border-bottom: 1px solid var(--t); }
.d-query { padding: 8px 12px; background: #f1f3f4; border-radius: 999px; }
.d-snippet b { display: block; margin-block: 3px; color: #1a0dab; font-size: 15px; font-weight: 500; }
.d-snippet span { color: var(--m); font-size: 12.5px; }
.d-cities { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.d-cities > div { padding: 9px; background: #f2f2f2; border-radius: 4px; min-width: 0; }
.d-cities .on { color: #fff; background: #222; }
.d-cities .on small { color: #cfcfcf; }
.d-code { margin: 0; padding: 12px; color: #d9f3dd; background: #222; font: 12.5px/1.45 ui-monospace, Menlo, Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; border-radius: 4px; }
.tech { border-bottom: 1px solid var(--line); min-width: 0; }
.tech li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 16px; padding-block: 17px; border-top: 1px solid var(--line); }
.tech b { font-weight: 400; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.2; }
.tech span { font-size: 15px; color: var(--ink-2); }
.next-case { display: flex; flex-direction: column; gap: 8px; padding: clamp(22px, 3.2vw, 50px); color: var(--white); background: var(--dark); border-radius: var(--r-lg); transition: background .3s; }
.next-case:hover { background: var(--accent-deep); }
.next-case b { font-weight: 400; font-size: clamp(36px, 6vw, 96px); line-height: 1; letter-spacing: -.035em; }
.next-case > span:last-child { font-size: 16px; color: #d6dbd8; }
.next-case:hover > span { color: var(--white); }

/* ---------- Блог ---------- */
.post-ex { display: block; margin-top: 8px; font-size: 15px; line-height: 1.4; letter-spacing: 0; color: var(--ink-2); max-width: 62ch; }
.article { display: grid; grid-template-columns: minmax(0, 760px) minmax(0, 320px); justify-content: space-between; gap: clamp(28px, 5vw, 90px); align-items: start; }
.prose { font-size: clamp(16.5px, 1.25vw, 18px); line-height: 1.6; max-width: 760px; min-width: 0; }
.prose > * + * { margin-top: 16px; }
.prose h2 { margin-top: clamp(32px, 3.6vw, 50px); font-weight: 400; font-size: clamp(24px, 2.2vw, 33px); line-height: 1.12; letter-spacing: -.018em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { display: flex; flex-direction: column; gap: 9px; padding-left: 2px; }
.prose li { position: relative; padding-left: 20px; }
.prose li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 2px; background: var(--accent); }
.prose a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }
.prose mark { padding: 0 4px; color: #7a4b00; background: #fff1cf; border-radius: 3px; }
.article-aside { position: sticky; top: calc(var(--header-h) + 20px); display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding: clamp(18px, 2vw, 26px); color: var(--white); background: var(--dark); border-radius: var(--r-lg); }
.article-aside p { font-size: 16px; line-height: 1.4; }

/* ---------- Контакты ---------- */
.contact { min-height: clamp(130px, 11vw, 170px); gap: 26px; }
.contact > span:first-child { order: -1; font-size: 14.5px; }
.contact-val { font-size: clamp(19px, 1.7vw, 25px); line-height: 1.15; letter-spacing: -.012em; color: inherit !important; }
.contact-val a:hover, a.contact-val:hover { color: var(--accent-text); }
.kind.contact:hover { background: var(--panel-2); color: inherit; }
.kind.contact:hover > span:first-child { color: var(--ink-2); }
.next-steps { display: flex; flex-direction: column; gap: 14px; margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .35); counter-reset: s; }
.next-steps li { counter-increment: s; display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 8px; }
.next-steps li::before { content: counter(s); grid-row: span 2; font-size: 16px; }
.next-steps b { font-weight: 500; font-size: 16px; }
.next-steps span { font-size: 15px; }
.others-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

/* ---------- Окна ---------- */
.modal { width: min(540px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 28px; border: 0; border-radius: var(--r-lg); color: var(--ink); background: var(--white); }
.modal::backdrop { background: rgba(18, 19, 24, .55); }
.modal[open] { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.fx .modal[open] { animation: modal-in .4s var(--ease); }
.fx .modal[open]::backdrop { animation: fade-in .3s; }
@keyframes modal-in { from { opacity: 0; transform: translateY(16px); } }
@keyframes fade-in { from { opacity: 0; } }
.modal h3 { font-weight: 400; font-size: 28px; line-height: 1.12; letter-spacing: -.018em; padding-right: 72px; text-wrap: balance; }
.modal > p { font-size: 15.5px; color: var(--ink-2); }
.modal-close { position: absolute; top: 28px; right: 28px; font-size: 13.5px; color: var(--ink-2); }
.modal-close:hover { color: var(--ink); }
.modal-kicker { font-size: 13px; color: var(--accent-text); }
.modal-kicker:empty { display: none; }
.modal-facts { width: 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.modal-facts:empty { display: none; }
.modal-facts div { padding: 10px 12px; background: var(--panel); border-radius: var(--r-sm); min-width: 0; }
.modal-facts dt { font-size: 12.5px; color: var(--ink-2); }
.modal-facts dd { font-size: 15px; line-height: 1.3; margin-top: 3px; }
.modal-actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Появление при прокрутке: начальное состояние задаёт только JS ---------- */
.fx .wm-l { transform: translateY(108%); }
.fx .wordmark.in .wm-l { transform: none; transition: transform .95s var(--ease); transition-delay: calc(var(--i) * 55ms); }
.fx .h-w { display: inline-block; opacity: .1; transform: translateY(.5em); }
.fx .is-split.in .h-w { opacity: 1; transform: none; transition: opacity .7s, transform .8s var(--ease); transition-delay: calc(var(--i) * 45ms); }
.fx .hero h1.in .h-w { transition-delay: calc(var(--i) * 20ms); }
.r { opacity: .1; transform: translateY(30px); }
.r.in { opacity: 1; transform: none; transition: opacity .7s, transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.case.r .art { clip-path: inset(7% 5% 0 5% round 14px); }
.case.r.in .art { clip-path: inset(0 0 0 0 round 14px); transition: clip-path 1.1s var(--ease); transition-delay: var(--d, 0ms); }

/* ---------- Адаптив ---------- */
@media (max-width: 1240px) {
  .phone { display: none; }
  .includes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1040px) {
  .icon-btn { display: block; margin-left: auto; }
  .header-menu {
    display: none;
    position: fixed;
    z-index: 19;
    inset: calc(var(--header-h) + 1px + env(safe-area-inset-top, 0px)) 0 0;
    flex-direction: column;
    align-items: stretch;
    padding: 14px max(16px, env(safe-area-inset-right, 0px)) calc(24px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
    background: var(--white);
    overflow-y: auto;
  }
  .header-menu.is-open { display: flex; }
  .nav { flex-direction: column; align-items: stretch; }
  .nav-item { flex-direction: column; }
  .nav > a, .nav-item > a { font-size: 22px; padding: 10px 6px; }
  .nav > a::after, .nav-item > a::after, .nav-item > a::before { display: none; }
  .nav-sub { position: static; min-width: 0; padding: 0 0 8px 6px; background: none; border: 0; border-radius: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .nav-sub a { padding: 7px 8px; color: var(--ink-2); font-size: 16px; white-space: normal; }
  .header-actions { flex-direction: column; align-items: stretch; gap: 12px; margin-top: auto; }
  .phone { display: block; padding-inline: 6px; font-size: 15px; }
  .header-actions .btn { min-height: 48px; }
  .svc, .process, .faq, .page-hero, .case-feature, .picker, .article, .design-row { grid-template-columns: minmax(0, 1fr); }
  .swatches { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .demos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .others-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-aside { position: static; }
  .page-hero h1 { margin-top: 48px; }
  .others { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .picker-a { min-height: 280px; }
  .svc-stage { position: relative; top: 0; aspect-ratio: 16 / 8; }
  .process-panel { position: static; min-height: 300px; }
  .faq .block-title { position: static; }
  .guar { grid-template-columns: minmax(0, 1fr); }
  .blog-float, .cursor-tag { display: none; }
}

@media (max-width: 860px) {
  :root { --header-h: 56px; }
  .hero-bottom { grid-template-columns: minmax(0, 1fr); }
  .hero-note { flex-direction: row; align-items: center; flex-wrap: wrap; }
  .hero-note-art { width: 76px; height: 48px; flex: none; }
  .hero-note-text { flex: 1; min-width: 140px; }
  .hero-note-link { width: 100%; }
  .client-actions { width: 100%; }
  .client-actions .btn { flex: 1 1 200px; }
  .c7, .c5, .c6 { grid-column: span 12; }
  .art { height: clamp(240px, 56vw, 420px); }
  .cta { grid-template-columns: minmax(0, 1fr); }
  .kinds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-row { grid-template-columns: minmax(0, 1fr); }
  .svc-row:nth-child(even) .svc-row-art { order: 0; }
  .features { grid-template-columns: minmax(0, 1fr); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 0; }
  .facts > div:nth-child(odd) { border-left: 0; padding-left: 4px; }
  .task { grid-template-columns: minmax(0, 1fr); }
  .post { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 14px; }
  .post b { grid-column: 1 / -1; }
  .post time { text-align: right; }
}

@media (max-width: 560px) {
  .stats { grid-template-columns: minmax(0, 1fr); }
  .stats > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 14px; padding: 16px 4px; border-left: 0; border-top: 1px solid var(--line); }
  .stats > div:first-child { border-top: 0; padding-left: 4px; }
  .stats b { font-size: 56px; }
  .stats span { margin: 0; }
  .svc-stage { aspect-ratio: 16 / 10; }
  .includes, .guar-list, .kinds, .others, .others-5, .demos, .demos-4, .facts { grid-template-columns: minmax(0, 1fr); }
  .facts > div { border-left: 0; padding-left: 4px; }
  .swatches { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tech li { grid-template-columns: minmax(0, 1fr); gap: 3px; }
  .font-card { align-items: flex-start; }
  .benefits { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .benefits > div { padding: 18px 4px; border-left: 0; border-top: 1px solid var(--line); }
  .benefits > div:first-child { border-top: 0; }
  .kind, .other { min-height: 0; gap: 22px; }
  .svc-row-art { min-height: 240px; }
  .s-book { grid-template-columns: 1fr 1fr; }
  .s-book i:first-child { grid-column: span 2; }
  .s-book b { display: none; }
  .footer-cols { grid-template-columns: minmax(0, 1fr); }
  .modal { padding: 20px; }
  .modal-close { top: 20px; right: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track, .hero-note-art path { animation: none; }
  * { transition: none !important; }
}

/* Отступ перед футером, если над ним нет блока заявки */
.block + .footer { margin-top: var(--section); }
.kind .contact-val { font-size: clamp(19px, 1.7vw, 25px); line-height: 1.15; letter-spacing: -.012em; color: inherit; }

/* ==========================================================================
   WordPress и Contact Form 7
   ========================================================================== */
.admin-bar .header { top: 32px; }
.admin-bar .svc-stage, .admin-bar .process-panel, .admin-bar .faq .block-title, .admin-bar .article-aside { top: calc(var(--header-h) + 52px); }
@media (max-width: 782px) { .admin-bar .header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .header { top: 0; } }

.wp-page-plain .prose { padding-top: clamp(32px, 4vw, 60px); }

/* Форма */
.nw-form { width: 100%; }
.nw-form .wpcf7 { width: 100%; }
.nw-form form, .form-body { width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.nw-form form { position: relative; gap: 12px; }
.nw-form .hidden-fields-container, .nw-form form > div:first-child:has(input[type="hidden"]) { display: none; }
.nw-form .wpcf7-form-control-wrap { display: block; width: 100%; }
.field label { display: block; }
.field input, .field textarea { display: block; margin-top: 4px; font-size: 16px; }
.field .wpcf7-not-valid { border-bottom-color: #a4262c; }
.wpcf7-not-valid-tip { display: block; margin-top: 5px; color: #a4262c; font-size: 13px; }
.screen-reader-response { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Выбор услуги: настоящие флажки в виде кнопок */
.choice .wpcf7-form-control-wrap, .choice .wpcf7-checkbox { display: flex; flex-wrap: wrap; gap: 5px; }
.choice .wpcf7-list-item { margin: 0; }
.choice label { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.choice .wpcf7-list-item-label { display: block; padding: 8px 11px; font-size: 14px; line-height: 1.2; background: var(--panel); border-radius: 6px; transition: background .2s, color .2s; }
.choice label:hover .wpcf7-list-item-label { background: var(--panel-2); }
.choice input:checked + .wpcf7-list-item-label { background: var(--dark); color: var(--white); }
.choice input:focus-visible + .wpcf7-list-item-label { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Кнопка и ответ */
input.btn { border: 0; cursor: pointer; font-family: inherit; -webkit-appearance: none; appearance: none; }
.nw-form .wpcf7-spinner { position: absolute; margin: 0; }
.nw-form .wpcf7-response-output { width: 100%; margin: 0 !important; padding: 12px 14px !important; border: 0 !important; border-radius: var(--r-sm); font-size: 14.5px; color: #a4262c; background: #fbeceb; }
.nw-form form.init .wpcf7-response-output { display: none; }
.nw-form form.sent .wpcf7-response-output { color: var(--accent-text); background: var(--accent-soft); }
.nw-form form.sent .form-body { display: none; }
.nw-form-missing { padding: 14px; font-size: 15px; line-height: 1.4; background: var(--panel); border-radius: var(--r-sm); }
.nw-form-missing a { color: var(--accent-text); text-decoration: underline; }

.cta-form:has(form.sent) { display: flex; align-items: center; }
