/* ============ Токены ============ */
:root {
  --bg: #0B0B09;
  --panel: #13120F;
  --panel-2: #0E0D0B;
  --line: #26241E;
  --text: #ECE8E0;
  --muted: #98938B;
  --kicker: #D4CEC2;
  --dim: #5E594F;
  --accent: #C9A25C;            /* шампань; альтернативы: электрик #4D7CFF, олива #9BA07A */
  --accent-solid: #C9A25C;      /* заливка кнопок, текст на ней тёмный */
  --accent-ink: #0B0B09;        /* текст на залитых кнопках */
  --line-strong: #56524A;
  --font-head: 'Unbounded', system-ui, sans-serif;
  --font-text: 'Manrope', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --pad: clamp(20px, 5.5vw, 88px);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  color-scheme: dark;
  scroll-padding-top: 90px;
  overflow-x: clip;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: clip;
}

img { max-width: 100%; display: block; }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.06;
  letter-spacing: .01em;
}

a { color: var(--text); text-decoration: none; }
::selection { background: var(--accent); color: var(--accent-ink); }

.kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .3em;
  color: var(--kicker);
}
.kicker .tick { color: var(--accent); }

/* ============ Атмосфера: шум, виньетка ============ */
.grain {
  position: fixed; inset: -50%;
  z-index: 98;
  pointer-events: none;
  opacity: .05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='0.9'/%3E%3C/svg%3E");
  animation: grain-shift 1.2s steps(4) infinite;
}
@keyframes grain-shift {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-1.5%, 1%); }
  50% { transform: translate(1%, -1.5%); }
  75% { transform: translate(-1%, -1%); }
  100% { transform: translate(0, 0); }
}
.vignette {
  position: fixed; inset: 0;
  z-index: 97;
  pointer-events: none;
  background: radial-gradient(ellipse 120% 90% at 50% 40%, transparent 55%, rgba(0, 0, 0, .5) 100%);
}

/* ============ Кастомный курсор ============ */
.cursor-ring, .cursor-dot {
  position: fixed; top: 0; left: 0;
  z-index: 200;
  pointer-events: none;
  border-radius: 50%;
  opacity: 0;
}
.cursor-ring {
  width: 34px; height: 34px;
  margin: -17px 0 0 -17px;
  border: 1px solid rgba(236, 232, 224, .5);
  transition: width .25s var(--ease), height .25s var(--ease), margin .25s var(--ease), border-color .25s;
}
.cursor-dot {
  width: 4px; height: 4px;
  margin: -2px 0 0 -2px;
  background: var(--accent);
}
body.cursor-on { cursor: none; }
body.cursor-on a, body.cursor-on button, body.cursor-on label, body.cursor-on summary { cursor: none; }
body.cursor-hover .cursor-ring {
  width: 56px; height: 56px;
  margin: -28px 0 0 -28px;
  border-color: var(--accent);
}
@media (hover: none), (pointer: coarse) {
  .cursor-ring, .cursor-dot { display: none; }
}

/* ============ Прогресс-рейл ============ */
.rail {
  position: fixed;
  right: clamp(12px, 2.4vw, 34px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
}
.rail a {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--muted);
  transition: color .3s;
  position: relative;
  padding: 8px 10px;
}
.rail a.active { color: var(--accent); }
.rail a:hover { color: var(--text); }
.rail-track {
  width: 1px; height: 64px;
  background: var(--line);
  position: relative;
  overflow: hidden;
}
.rail-track i {
  position: absolute; inset: 0;
  background: var(--accent);
  transform-origin: top;
  transform: scaleY(0);
}

/* ============ Шапка ============ */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  gap: 30px;
  height: 76px;
  padding: 0 var(--pad);
  border-bottom: 1px solid transparent;
  transition: background .4s, border-color .4s, backdrop-filter .4s;
}
.topbar-tel {
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--text);
  white-space: nowrap;
  transition: color .3s;
}
.topbar-tel:hover { color: var(--accent); }
.topbar.solid {
  background: rgba(11, 11, 9, .82);
  backdrop-filter: blur(10px);
  border-color: var(--line);
}
@media (max-width: 900px) {
  /* На телефонах blur, зерно и лишние композитные слои дают лаги:
     зерно это фиксированный слой в 4 экрана размером, iPhone задыхается */
  .topbar.solid { background: rgba(11, 11, 9, .96); backdrop-filter: none; }
  .grain { display: none; }
  .mask-line > span { will-change: auto; }
}
.brand {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-right: auto;
  white-space: nowrap;
}
.brand .tick { color: var(--accent); }
.nav-main { display: flex; gap: 26px; }
.nav-main a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: .02em;
  position: relative;
  transition: color .3s;
}
.nav-main a:hover { color: var(--text); }
.nav-main a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -5px;
  width: 100%; height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav-main a:hover::after { transform: scaleX(1); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px 26px;
  font-family: var(--font-text);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .02em;
  border: 1px solid var(--accent);
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s, transform .25s var(--ease);
  background: transparent;
  color: var(--text);
  cursor: pointer;
}
.btn-solid {
  background: rgba(201, 162, 92, .1);
  color: var(--text);
  border-color: var(--accent);
  box-shadow: inset 0 0 24px rgba(201, 162, 92, .07);
}
.btn-solid:hover {
  background: rgba(201, 162, 92, .2);
  border-color: #E0BE76;
}
.btn-ghost { border-color: var(--line-strong); color: var(--muted); }
.btn-ghost:hover { border-color: var(--accent); color: var(--text); background: rgba(201, 162, 92, .07); }
.btn-small { min-height: 42px; padding: 8px 18px; font-size: 14px; }

/* Переключатель языков */
.lang-switch {
  display: flex;
  border: 1px solid var(--line);
}
.lang-switch button {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  padding: 9px 12px;
  min-height: 42px;
  background: transparent;
  border: 0;
  color: var(--muted);
  cursor: pointer;
  transition: color .25s, background .25s;
}
.lang-switch button + button { border-left: 1px solid var(--line); }
.lang-switch button:hover { color: var(--text); }
.lang-switch button.active { color: var(--accent-ink); background: var(--accent-solid); }
.lang-switch-m { margin-top: 16px; align-self: flex-start; }

/* Мобильное меню: в базе спрятано насмерть */
.mnav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.burger { display: none; }
.nav-mobile { display: none; }

/* ============ Хиро ============ */
.hero {
  position: relative;
  height: 100svh;
  overflow: clip;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 var(--pad);
}
.hero-halo {
  position: absolute;
  left: 50%; top: 42%;
  width: 72vw; height: 72vw;
  max-width: 980px; max-height: 980px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(201, 162, 92, .13) 0%, transparent 62%);
  pointer-events: none;
}
.hero-inner { position: relative; text-align: center; }
/* До запуска сцен статичное хиро скрыто, чтобы имя не мелькало дважды.
   Класс ставит инлайн-скрипт в head, снимает app.js (или таймер-страховка). */
.pre-scenes .hero .hero-inner,
.pre-scenes .hero .hero-scroll { visibility: hidden; opacity: 0; }
/* И фолбэк-карточки работ не должны успеть загрузить картинки:
   сцена возьмёт свои, а у скрытых карточек app.js снимет src */
.pre-scenes .list-cards img { display: none; }
.hero-kicker { margin-bottom: clamp(22px, 3.5vh, 40px); }
.hero-name {
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(44px, 10.5vw, 168px);
  line-height: .94;
  letter-spacing: -.025em;
  user-select: none;
}
.hero-name [data-word] { display: block; white-space: nowrap; }
.hero-name [data-char] { display: inline-block; will-change: transform; }
.hero-sub {
  margin-top: clamp(24px, 4vh, 44px);
  font-size: clamp(15px, 1.3vw, 18px);
  color: var(--muted);
  font-weight: 500;
}
.hero-sub b { color: var(--text); font-weight: 600; }
.hero-sub .tick { color: var(--accent); font-weight: 600; }
.hero-actions {
  margin-top: clamp(26px, 4.5vh, 48px);
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-scroll {
  position: absolute;
  bottom: 26px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
}
.hero-scroll i {
  width: 1px; height: 46px;
  background: linear-gradient(var(--accent), transparent);
  animation: pulse-line 2.2s var(--ease) infinite;
  transform-origin: top;
}
@keyframes pulse-line {
  0% { transform: scaleY(0); opacity: 0; }
  35% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

/* ============ Хиро-сцена: слои как в старой версии ============ */
.gate {
  position: absolute; inset: 0;
  clip-path: inset(48% 0% 48% 0%);
  opacity: .3;
  transform: scale(1.08);
}
.gate-bg {
  position: absolute; inset: 0;
  background: radial-gradient(70% 60% at 50% 55%, rgba(201, 162, 92, .075), transparent 70%), var(--bg);
}
.gate-kick {
  position: absolute; left: 0; right: 0; top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  opacity: 0;
}
.gate-kick span {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .34em;
  text-indent: .34em;
  text-transform: uppercase;
  color: var(--kicker);
}
.gate-kick i {
  width: 1px; height: 44px;
  background: linear-gradient(var(--muted), transparent);
}
.gate-note {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .18em;
  text-indent: .18em;
  text-transform: uppercase;
  color: #B7B1A6;
}
.feedlayer { position: absolute; inset: 0; opacity: 0; }

.namelayer {
  position: absolute; inset: 0;
  pointer-events: none;
  display: grid;
  place-items: center;
  padding: 11vh 4vw 17vh;
}
.halo {
  position: absolute;
  left: 50%; top: 50%;
  width: min(120vw, 1500px);
  height: min(74vh, 760px);
  transform: translate(-50%, -50%);
  transform-origin: 50% 50%;
  pointer-events: none;
  background: radial-gradient(46% 42% at 50% 50%, rgba(228, 196, 138, .1), rgba(201, 162, 92, .045) 46%, transparent 72%);
  filter: blur(18px);
  opacity: 0;
}
.nl-parallax {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(18px, 3.4vh, 42px);
}
.nl-breath { display: grid; place-items: center; }
.nl-name {
  margin: 0;
  display: block;
  text-align: center;
  perspective: 900px;
  color: var(--text);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.9rem, min(13.5vw, 19vh), 10.5rem);
  line-height: .94;
  letter-spacing: -.025em;
  text-transform: uppercase;
}
.nl-name [data-word] { display: block; white-space: nowrap; }
.nl-name [data-char] { display: inline-block; will-change: transform; }
.nl-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(10px, 1.6vh, 16px);
  max-width: min(92vw, 880px);
}
.nl-role {
  text-align: center;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(10px, 1.05vw, 13px);
  line-height: 1;
  letter-spacing: .36em;
  text-indent: .36em;
  text-transform: uppercase;
  color: var(--muted);
}
.nl-services {
  text-align: center;
  font-family: var(--font-mono);
  font-size: clamp(9px, .92vw, 11px);
  line-height: 1.8;
  letter-spacing: .22em;
  text-indent: .22em;
  text-transform: uppercase;
  color: var(--muted);
  text-wrap: pretty;
}
.nl-hook {
  font-family: var(--font-text);
  font-size: clamp(14px, 1.2vw, 17px);
  font-weight: 500;
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0;
  max-width: 44em;
  text-align: center;
  margin-top: 6px;
}
.nl-hook b { color: var(--text); font-weight: 600; }
.nl-hook .tick { color: var(--accent); }

.nl-corner {
  position: absolute;
  left: clamp(16px, 5vw, 48px);
  top: calc(76px + clamp(14px, 3vh, 34px));
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 10px;
  line-height: 1;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--muted);
}
.nl-hint {
  position: absolute;
  left: 0; right: 0;
  bottom: clamp(18px, 5vh, 52px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.nl-hint span {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: .3em;
  text-indent: .3em;
  text-transform: uppercase;
  color: var(--dim);
}
.nl-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  pointer-events: auto;
}
.nl-hint i {
  width: 1px; height: 52px;
  transform-origin: top;
  background: linear-gradient(var(--accent), transparent);
  animation: pulse-line 2.6s var(--ease) infinite;
}

/* ============ Sticky-сцены (услуги, цены) ============ */
.journey { position: relative; }
.journey-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: clip;
}
.panel {
  position: absolute; inset: 0;
  display: flex;
  align-items: center;
  padding: 0 var(--pad);
  visibility: hidden;
}
.panel-inner {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(24px, 4vw, 72px);
  align-items: center;
}
.panel:nth-child(even) .panel-inner > .panel-num { order: 2; text-align: right; }
.panel-num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(96px, 17vw, 260px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(201, 162, 92, .55);
  user-select: none;
  will-change: transform;
}
.panel-body h3 {
  font-size: clamp(24px, 3vw, 44px);
  margin: 14px 0 16px;
}
.panel-body p {
  color: var(--muted);
  max-width: 30em;
  font-size: clamp(15.5px, 1.25vw, 18px);
}
.panel-price {
  margin-top: 20px;
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
}
.panel-price b {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(22px, 2.4vw, 34px);
  color: var(--accent);
  letter-spacing: .01em;
}
.panel-price span {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.lc-price-note span {
  color: var(--kicker);
  border: 1px solid var(--line);
  padding: 10px 16px;
  display: inline-block;
}
.panel-title {
  text-align: center;
  justify-content: center;
}
.panel-title .panel-inner { display: block; }
.panel-title h2 {
  font-size: clamp(34px, 6vw, 84px);
}
.panel-title p { color: var(--muted); margin-top: 18px; }


/* ============ Обычные секции ============ */
.section {
  position: relative;
  padding: clamp(100px, 14vw, 200px) var(--pad) 0;
}
.section-inner { max-width: 1180px; margin: 0 auto; }
.section-head { margin-bottom: clamp(40px, 5vw, 72px); }
.section-head h2 {
  font-size: clamp(30px, 4.2vw, 64px);
  margin-top: 14px;
}
@media (max-width: 480px) {
  /* Длинные заголовки вроде «Автоматизация бизнес-процессов» не должны
     упираться в край экрана */
  .section-head h2 { font-size: clamp(24px, 7.2vw, 30px); }
}
.mask-line { overflow: hidden; display: block; }
.mask-line > span { display: block; will-change: transform; }

/* Обо мне */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 90px);
}
.about-grid > div:last-child { position: sticky; top: 120px; align-self: start; }
.about-text p {
  margin-bottom: 18px;
  max-width: 34em;
  font-size: clamp(16px, 1.35vw, 19px);
}
.about-text p b { color: var(--text); }
.about-text p { color: var(--muted); }
.principles { list-style: none; margin-top: 34px; }
.principles li {
  display: flex;
  gap: 16px;
  align-items: baseline;
  padding: 15px 0;
  border-top: 1px solid var(--line);
  color: var(--text);
  font-weight: 500;
  font-size: clamp(15.5px, 1.25vw, 17.5px);
}
.principles li:last-child { border-bottom: 1px solid var(--line); }
.principles i {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 12px;
  color: var(--accent);
  letter-spacing: .12em;
}
.stack-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-content: flex-start;
}
.stack-cloud span {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .06em;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 8px 14px;
  transition: color .3s, border-color .3s;
}
.stack-cloud span:hover { color: var(--text); border-color: var(--accent); }
.stack-label { margin-bottom: 18px; }
.about-terms {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
}

/* Отзыв */
.review-quote {
  max-width: 52em;
  font-size: clamp(19px, 2.1vw, 28px);
  line-height: 1.55;
  font-weight: 500;
  color: var(--text);
}
.review-quote::before { content: "«"; color: var(--accent); }
.review-quote::after { content: "»"; color: var(--accent); }
.review-author {
  margin-top: 26px;
  color: var(--muted);
  font-size: 15.5px;
}
.review-author b { color: var(--text); font-weight: 600; }

/* FAQ */
.faq { max-width: 56em; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 24px 0;
  font-family: var(--font-head);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(15px, 1.6vw, 20px);
  letter-spacing: .03em;
  transition: color .3s;
}
.faq summary:hover { color: var(--accent); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: 0 0 auto;
  width: 12px; height: 12px;
  border-right: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent);
  transform: rotate(45deg);
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details p {
  padding: 0 0 26px;
  max-width: 36em;
  color: var(--muted);
}

/* ============ Контакт ============ */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 90px);
  align-items: start;
}
.contact-rows { list-style: none; margin-top: 34px; display: grid; gap: 0; }
.contact-rows li {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 17px 6px;
  border-top: 1px solid var(--line);
  transition: background .25s;
}
.contact-rows li:hover { background: rgba(201, 162, 92, .04); }
.ci {
  flex: 0 0 auto;
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(201, 162, 92, .3);
  background: var(--panel);
  color: var(--accent);
  transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease), box-shadow .3s;
}
/* Фирменные цвета мессенджеров: значки живут своими цветами */
.contact-rows li { --brand: var(--accent); --brand-ink: var(--accent-ink); }
.contact-rows li.cr-tg { --brand: #2AABEE; --brand-ink: #fff; }
.contact-rows li.cr-tel { --brand: #34B96F; --brand-ink: #fff; }
.contact-rows li.cr-vb { --brand: #7360F2; --brand-ink: #fff; }
.contact-rows li.cr-mail { --brand: #E4573D; --brand-ink: #fff; }
.contact-rows li .ci {
  color: var(--brand);
  border-color: color-mix(in srgb, var(--brand) 40%, transparent);
}
.contact-rows li:hover .ci { box-shadow: 0 10px 26px color-mix(in srgb, var(--brand) 22%, transparent); }
.ci svg { width: 21px; height: 21px; }
.contact-rows li:hover .ci {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--brand-ink);
  transform: translateY(-2px);
}
.contact-rows .cr-body { display: flex; flex-direction: column; gap: 2px; }
.contact-rows li:last-child { border-bottom: 1px solid var(--line); }
.cr-link {
  display: flex;
  gap: 18px;
  align-items: center;
  width: 100%;
}
.contact-rows .cr-body { display: flex; flex-direction: column; gap: 2px; }
.contact-rows .cr-body span {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--muted);
}
.contact-rows .cr-body b {
  font-weight: 600;
  font-size: clamp(16.5px, 1.6vw, 20px);
  color: var(--text);
  transition: color .3s;
}
.contact-rows li:hover .cr-body b { color: var(--accent); }
/* Стрелка-указатель появляется при наведении */
.cr-link::after {
  content: "";
  margin-left: auto;
  flex: 0 0 auto;
  width: 16px; height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9A25C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M9 7h8v8'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: 0;
  transform: translate(-8px, 8px);
  transition: opacity .3s, transform .45s var(--ease);
}
.contact-rows li:hover .cr-link::after { opacity: 1; transform: none; }

.contact-note { color: var(--muted); margin-top: 18px; max-width: 26em; }

.lead-form {
  background:
    linear-gradient(180deg, rgba(201, 162, 92, .06), rgba(201, 162, 92, 0) 140px),
    var(--panel);
  border: 1px solid var(--line-strong);
  border-top: 2px solid var(--accent);
  padding: clamp(24px, 3vw, 44px);
  display: grid;
  gap: 20px;
}
.lead-form label span, .chips legend {
  display: block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--muted);
  margin-bottom: 9px;
}
.lead-form input[type="text"], .lead-form textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 16px;
  font: inherit;
  font-size: 16px;
  color: var(--text);
  background: var(--panel-2);
  border: 1px solid var(--line-strong);
  transition: border-color .25s, box-shadow .25s;
}
.lead-form textarea { resize: vertical; min-height: 96px; }
.lead-form input::placeholder, .lead-form textarea::placeholder { color: var(--muted); }
.lead-form input:focus, .lead-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(201, 162, 92, .2);
}
.chips { border: 0; }
.chips label { display: inline-block; margin: 0 8px 8px 0; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips i {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 18px;
  border: 1px solid var(--line-strong);
  background: var(--panel-2);
  font-style: normal;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: background .25s, border-color .25s, color .25s;
}
.chips input:checked + i {
  background: var(--accent-solid);
  border-color: var(--accent-solid);
  color: var(--accent-ink);
}
.chips input:focus-visible + i { box-shadow: 0 0 0 3px rgba(201, 162, 92, .38); }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; }
.btn-submit { width: 100%; }
.form-note { min-height: 1.4em; font-size: 15px; color: var(--muted); }
.form-note.ok { color: var(--accent); font-weight: 600; }
.form-note.err { color: #E86A5E; }
.lead-form .field-err { border-color: #E86A5E; }
.form-note a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* Форма по шагам (включает app.js; без JS все шаги видны разом) */
.lead-form.wizard .fstep { display: none; }
.lead-form.wizard .fstep.active {
  display: block;
  animation: fstep-in .45s var(--ease);
}
.lead-form.wizard fieldset.fstep.active { display: block; }
@keyframes fstep-in {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}
.fprogress {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--kicker);
}
.fprogress .tick { color: var(--accent); }
.fnav { display: flex; gap: 12px; }
.fnav .btn { flex: 1; }
.fnav .fback { flex: 0 0 auto; min-width: 120px; }
.lead-form.wizard .btn-submit { display: none; }
.lead-form.wizard .btn-submit.active { display: inline-flex; flex: 1; }

/* Кейс автоматизации */
.case-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.case-col {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: clamp(22px, 3vw, 40px);
}
.case-col-after { border-color: var(--accent); }
.case-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.case-col p:not(.case-label) { color: var(--muted); font-size: clamp(15.5px, 1.25vw, 17.5px); }
.case-col-after p:not(.case-label) { color: var(--text); }
.case-col ul {
  list-style: none;
  margin-top: 14px;
  display: grid;
  gap: 11px;
  padding: 0;
}
.case-col li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
  font-size: clamp(15px, 1.2vw, 17px);
}
.case-col li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .62em;
  width: 9px;
  height: 1px;
  background: var(--accent);
}
.case-col-after li { color: var(--text); }
.case-note {
  margin-top: clamp(24px, 3vw, 40px);
  border-left: 3px solid var(--accent);
  padding-left: clamp(16px, 2vw, 28px);
  color: var(--muted);
  max-width: 40em;
}
@media (max-width: 760px) {
  .case-cols { grid-template-columns: 1fr; }
}

/* Прайс-аккордеон: жми на услугу, раскрывается цена и описание */
.pricelist { border-top: 1px solid var(--line); max-width: 62em; }
.pricelist details { border-bottom: 1px solid var(--line); }
.pricelist summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 22px);
  padding: 21px 8px;
  transition: color .3s, background .25s;
}
.pricelist summary::-webkit-details-marker { display: none; }
.pricelist summary:hover { background: rgba(201, 162, 92, .05); }
.pl-idx {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 11.5px;
  letter-spacing: .18em;
  color: var(--dim);
  transition: color .3s;
}
.pricelist summary:hover .pl-idx, .pricelist details[open] .pl-idx { color: var(--accent); }
.pl-name { flex: 0 1 auto; min-width: 0; font-weight: 600; font-size: clamp(16px, 1.6vw, 21px); color: var(--text); transition: color .3s; }
.pricelist summary:hover .pl-name, .pricelist details[open] .pl-name { color: var(--accent); }
/* Золотой пунктир от названия к стрелке, как в меню дорогого ресторана */
.pricelist summary::before {
  content: "";
  order: 2;
  flex: 1 1 24px;
  min-width: 24px;
  border-top: 1px dotted rgba(201, 162, 92, .38);
  transform: translateY(2px);
}
.pricelist summary::after {
  content: "";
  order: 3;
  flex: 0 0 auto;
  width: 38px; height: 38px;
  border: 1px solid rgba(201, 162, 92, .35);
  border-radius: 50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9A25C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / 15px no-repeat;
  transition: transform .45s var(--ease), background-color .3s, border-color .3s;
}
/* Цена видна сразу в закрытой строке, при открытии уступает место крупной */
.pl-sum {
  order: 3;
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .1em;
  white-space: nowrap;
  color: var(--accent);
  transition: opacity .3s;
}
.pricelist details[open] .pl-sum { opacity: 0; }
.pricelist summary::after { order: 4; }
.pricelist summary:hover::after { border-color: var(--accent); background-color: rgba(201, 162, 92, .08); }
.pricelist details[open] summary::after {
  transform: rotate(-180deg);
  border-color: var(--accent);
  background-color: rgba(201, 162, 92, .12);
}
.pl-body {
  padding: 2px 8px 26px 50px;
  animation: pl-in .45s var(--ease);
}
@media (max-width: 640px) {
  .pricelist summary::before { display: none; }
  .pricelist summary::after { width: 34px; height: 34px; }
  .pl-sum { margin-left: auto; font-size: 12px; }
  .pl-body { padding-left: 8px; }
}
@keyframes pl-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}
.pl-big {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(21px, 2.3vw, 34px);
  color: var(--text);
  line-height: 1.1;
}
.pl-big span {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.pl-big-mute { font-size: clamp(17px, 1.8vw, 24px); }
.pl-desc { margin-top: 10px; color: var(--muted); max-width: 40em; font-size: 15.5px; }
.pl-cta { margin-top: 16px; }

/* Как идёт работа: четыре шага под прайсом */
.steps { margin-top: clamp(48px, 6vw, 84px); }
.steps-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(17px, 1.8vw, 24px);
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: clamp(22px, 3vw, 36px);
}
.steps-row {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2.5vw, 32px);
  padding: 0;
}
.steps-row li {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  position: relative;
}
.steps-row li::before {
  content: '';
  position: absolute;
  top: -1px; left: 0;
  width: 34px; height: 2px;
  background: var(--accent);
}
.steps-row i {
  display: block;
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 11.5px;
  letter-spacing: .18em;
  color: var(--accent);
  margin-bottom: 10px;
}
.steps-row b {
  display: block;
  font-weight: 700;
  font-size: clamp(16px, 1.4vw, 19px);
  margin-bottom: 8px;
}
.steps-row p { color: var(--muted); font-size: 15px; }
@media (max-width: 900px) {
  .steps-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .steps-row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .pl-body { animation: none; }
}

/* Что ещё делаю */
.more-list { list-style: none; border-top: 1px solid var(--line); max-width: 56em; }
.more-list li {
  display: flex;
  gap: 16px;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
  font-size: clamp(16px, 1.5vw, 20px);
  color: var(--text);
}
.more-list li::before {
  content: "";
  flex: 0 0 auto;
  width: 6px; height: 6px;
  background: var(--accent);
  transform: translateY(-2px);
}
.more-note { margin-top: 20px; color: var(--muted); max-width: 40em; }

/* Приглашение к заявке: выплывает один раз за визит */
.invite {
  position: fixed;
  left: 22px; bottom: 22px;
  z-index: 85;
  width: min(340px, calc(100vw - 96px));
  background: var(--panel);
  border: 1px solid var(--line-strong);
  padding: 20px;
  opacity: 0;
  transform: translateY(26px);
  pointer-events: none;
  transition: opacity .5s var(--ease), transform .5s var(--ease);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .5);
}
.invite.show { opacity: 1; transform: none; pointer-events: auto; }
.invite-kicker {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.invite-text { font-size: 15.5px; color: var(--text); margin-bottom: 16px; }
.invite-nav { display: flex; gap: 10px; }
.invite-nav .btn { min-height: 44px; padding: 8px 18px; font-size: 14.5px; flex: 1; }
@media (max-width: 640px) {
  .invite { left: 12px; bottom: 86px; }
}
@media (prefers-reduced-motion: reduce) {
  .invite { transition: none; }
}

/* ============ Бегущая строка и футер ============ */
.marquee {
  margin-top: clamp(100px, 14vw, 200px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: clip;
  padding: 18px 0;
  display: flex;
}
.marquee-track {
  display: flex;
  gap: 48px;
  flex: 0 0 auto;
  align-items: center;
  animation: marquee 30s linear infinite;
  padding-right: 48px;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 15px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--dim);
  white-space: nowrap;
}
.marquee-track span.acc { color: var(--accent); }
@keyframes marquee {
  to { transform: translateX(-100%); }
}

.footer {
  padding: clamp(44px, 6vw, 72px) var(--pad) 140px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 36px;
  align-items: start;
  border-top: 1px solid var(--line);
}
.f-logo {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text);
}
.f-logo .tick { color: var(--accent); }
.f-line { margin-top: 12px; color: var(--muted); font-size: 15.5px; }
.f-geo {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--dim);
}
.f-seo {
  margin-top: 14px;
  max-width: 34em;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.f-contacts { display: flex; flex-direction: column; gap: 10px; }
.f-contacts a {
  color: var(--text);
  font-weight: 600;
  font-size: 16px;
  width: fit-content;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--line-strong);
  transition: color .3s, text-decoration-color .3s;
}
.f-contacts a:hover { color: var(--accent); text-decoration-color: var(--accent); }
.f-legal { text-align: right; color: var(--muted); font-size: 14px; display: grid; gap: 6px; }
@media (max-width: 900px) {
  .footer { grid-template-columns: 1fr; gap: 26px; }
  .f-legal { text-align: left; }
}

/* ============ Адаптив ============ */
@media (max-width: 900px) {
  .nav-main, .nav-cta, .topbar-tel { display: none; }
  .topbar > .lang-switch { display: none; }
  .rail { display: none; }
  .burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 46px; height: 46px;
    padding: 12px;
    cursor: pointer;
    border: 1px solid var(--line);
    background: var(--panel);
  }
  .burger span {
    display: block;
    height: 2px;
    background: var(--text);
    transition: transform .25s var(--ease);
  }
  .mnav-toggle:focus-visible ~ .burger { outline: 2px solid var(--accent); outline-offset: 2px; }
  .mnav-toggle:checked ~ .burger span:first-child { transform: translateY(4px) rotate(45deg); }
  .mnav-toggle:checked ~ .burger span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .mnav-toggle:checked ~ .nav-mobile { display: flex; }
  .nav-mobile {
    position: fixed;
    top: 76px; left: 0; right: 0;
    flex-direction: column;
    gap: 2px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 22px var(--pad) 30px;
  }
  .nav-mobile a {
    font-family: var(--font-head);
    font-weight: 400;
    text-transform: uppercase;
    font-size: 21px;
    padding: 12px 0;
    color: var(--text);
  }
  .nav-mobile .btn { margin-top: 16px; font-family: var(--font-text); text-transform: none; }

  .about-grid, .contact-grid { grid-template-columns: 1fr; }
}

/* Панель работы: текст слева, живой скриншот справа, номер задником */
.panel-num-back {
  position: absolute;
  top: 6vh; right: calc(3vw + 56px);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(96px, 14vw, 220px);
  line-height: .86;
  color: rgba(236, 232, 224, .03);
  -webkit-text-stroke: 1.5px rgba(201, 162, 92, .35);
  pointer-events: none;
  user-select: none;
  will-change: transform;
}
.panel-inner-work {
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  position: relative;
}
.panel-inner-work .panel-body h3 { margin: 12px 0 6px; }
.work-niche {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.work-open { margin-top: 22px; }
.work-shot {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
  background: var(--panel);
  overflow: hidden;
  will-change: transform;
}
.work-shot img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* Карточки-списки: видны по умолчанию (мобайл, reduced-motion, без JS).
   body.scenes-on выставляет app.js на десктопе и прячет их,
   строя вместо них sticky-сцены */
.list-cards {
  padding: clamp(100px, 14vw, 200px) var(--pad) 0;
}
.list-cards .section-inner { display: grid; gap: 20px; }
@media (min-width: 720px) {
  .list-cards .section-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .list-cards .lc-head { grid-column: 1 / -1; }
}
.list-cards .lc-head { margin-bottom: clamp(20px, 4vw, 44px); }
.list-cards .lc-head h2 { font-size: clamp(30px, 4.2vw, 64px); margin-top: 14px; }
body.scenes-on .scene-src { display: none; }
.lc-card {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: clamp(22px, 3vw, 40px);
  position: relative;
  overflow: clip;
}
.lc-card h3 { font-size: clamp(19px, 2vw, 27px); margin: 10px 0 10px; }
.lc-card p { color: var(--muted); font-size: 15.5px; max-width: 34em; }
.lc-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .18em;
  color: var(--accent);
}
.lc-note { margin-top: 14px; color: var(--muted); max-width: 36em; }
.lc-niche {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.lc-work img {
  margin-top: 18px;
  border: 1px solid var(--line);
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
  width: 100%;
  height: auto;
}
.lc-link {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  margin-top: 16px;
  padding: 10px 20px;
  border: 1px solid var(--accent);
  color: var(--text);
  font-weight: 700;
  font-size: 15px;
  transition: background .25s, color .25s;
}
.lc-link:hover { background: var(--accent-solid); border-color: var(--accent-solid); color: var(--accent-ink); }
/* «Хочу похожий»: вторая кнопка карточки, тише первой */
button.lc-similar {
  margin-left: 10px;
  cursor: pointer;
  background: rgba(201, 162, 92, .08);
  border-color: rgba(201, 162, 92, .45);
  font: inherit;
  font-weight: 700;
  font-size: 15px;
}
.work-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.work-actions .btn { margin-top: 0; }
.lc-price {
  margin-top: 16px;
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}
.lc-price b {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
  color: var(--accent);
}
.lc-price span {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (max-width: 640px) {
  .hero-name { font-size: clamp(36px, 12.6vw, 80px); }
  .footer { padding-bottom: 140px; }
  .footer-legal { margin-left: 0; }
}

/* ============ Движение выключено ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .grain { animation: none; }
  .marquee-track { animation: none; }
  .cursor-ring, .cursor-dot { display: none; }
}

/* ============ Подстраницы услуг (/uslugi/*, /politika/, 404) ============ */
.subpage .topbar { position: sticky; }
.sp-main { max-width: 1080px; margin: 0 auto; padding: 56px var(--pad) 20px; }
.sp-crumbs {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: clamp(28px, 4vw, 48px);
}
.sp-crumbs a { color: var(--muted); transition: color .3s; }
.sp-crumbs a:hover { color: var(--accent); }
.sp-crumbs .tick { color: var(--accent); margin: 0 6px; }
.sp-hero h1, .sp-404 h1, .sp-doc h1 {
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(30px, 5vw, 66px);
  line-height: 1.06;
  letter-spacing: .01em;
}
.sp-lead {
  margin-top: 18px;
  color: var(--muted);
  font-size: clamp(16px, 1.35vw, 18.5px);
  max-width: 46em;
}
.sp-price {
  margin-top: 26px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(23px, 2.6vw, 38px);
  color: var(--text);
}
.sp-price span {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.sp-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.sp-note { margin-top: 16px; color: var(--muted); font-size: 15px; max-width: 42em; }
.sp-block { margin-top: clamp(54px, 8vw, 92px); }
.sp-block > h2, .sp-cta h2, .sp-case h2 {
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(20px, 2.3vw, 30px);
  margin-bottom: 20px;
}
.sp-list { list-style: none; display: grid; gap: 11px; padding: 0; max-width: 52em; }
.sp-list li { position: relative; padding-left: 20px; color: var(--muted); font-size: clamp(15px, 1.2vw, 17px); }
.sp-list li::before {
  content: '';
  position: absolute;
  left: 0; top: .62em;
  width: 9px; height: 1px;
  background: var(--accent);
}
.sp-list a { color: var(--text); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line-strong); transition: color .3s; }
.sp-list a:hover { color: var(--accent); }
.sp-muted { color: var(--muted); margin-bottom: 20px; max-width: 46em; }
.sp-muted a { color: var(--text); text-decoration: underline; text-underline-offset: 4px; }
.sp-works { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.sp-work {
  display: block;
  border: 1px solid var(--line);
  background: var(--panel);
  padding-bottom: 16px;
  transition: border-color .3s, transform .45s var(--ease);
}
.sp-work:hover { border-color: var(--accent); transform: translateY(-4px); }
.sp-work img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-bottom: 1px solid var(--line); height: auto; }
.sp-work b { display: block; padding: 14px 16px 4px; font-weight: 700; }
.sp-work span { display: block; padding: 0 16px; color: var(--muted); font-size: 14px; }
.sp-case {
  margin-top: clamp(54px, 8vw, 92px);
  border: 1px solid var(--accent);
  background: var(--panel);
  padding: clamp(22px, 3vw, 40px);
}
.sp-case .kicker { margin-bottom: 10px; }
.sp-case p { color: var(--muted); margin-top: 12px; max-width: 56em; }
.sp-case a { color: var(--text); text-decoration: underline; text-underline-offset: 4px; }
.sp-steps { margin-top: 0; }
.sp-faq { max-width: none; }
.sp-cta {
  margin-top: clamp(54px, 8vw, 92px);
  border-top: 1px solid var(--line);
  padding-top: clamp(32px, 5vw, 56px);
}
.sp-cta p { color: var(--muted); margin-bottom: 6px; max-width: 42em; }
.sp-footer { margin-top: clamp(60px, 9vw, 110px); }
.sp-404 { padding-top: 40px; }
.sp-404 .sp-list { margin-top: 22px; }
.sp-doc h2 { font-weight: 700; font-size: clamp(17px, 1.6vw, 22px); margin: 36px 0 10px; }
.sp-doc p { color: var(--muted); max-width: 48em; margin-top: 10px; }
.sp-doc a { color: var(--text); text-decoration: underline; text-underline-offset: 4px; }
.sp-doc .sp-list { margin-top: 12px; }
@media (max-width: 860px) {
  .sp-works { grid-template-columns: 1fr; }
  .sp-main { padding-top: 36px; }
}

/* Подвал: колонка услуг и согласие формы */
.footer { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, .9fr); }
.f-services { display: flex; flex-direction: column; gap: 9px; }
.f-col-title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 4px;
}
.f-services a { color: var(--muted); font-size: 14.5px; width: fit-content; transition: color .3s; }
.f-services a:hover { color: var(--accent); }
.f-policy { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; transition: color .3s; }
.f-policy:hover { color: var(--accent); }
.form-consent { color: var(--dim); font-size: 12.5px; line-height: 1.5; }
.form-consent a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.form-consent a:hover { color: var(--accent); }

/* Демо-тизер на главной */
.demo-teaser { padding: 0 0 clamp(40px, 6vw, 80px); }
.dt-box {
  border: 1px solid var(--accent);
  background: linear-gradient(135deg, rgba(201, 162, 92, .07), rgba(201, 162, 92, 0) 55%), var(--panel);
  padding: clamp(24px, 4vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(20px, 3vw, 40px);
}
.dt-text h2 { font-size: clamp(20px, 2.4vw, 32px); margin-bottom: 10px; }
.dt-text p { color: var(--muted); max-width: 36em; }
.dt-actions { display: flex; gap: 12px; flex: 0 0 auto; flex-wrap: wrap; }
@media (max-width: 860px) {
  .dt-box { flex-direction: column; align-items: flex-start; }
}

/* Иконки в кнопках контактов на подстраницах */
.btn .bi { display: inline-flex; width: 18px; height: 18px; flex: 0 0 auto; }
.btn .bi svg { width: 100%; height: 100%; }
