/* ============================================================
   CutRoutine · «Тёплая мастерская»
   Свой визуальный мир: бумага, чернила, верстак.
   Светлый фон, тёмно-синие чернила, один сосновый акцент.
   Механика (ID и классы из app.js) не менялась — только кожа.
   ============================================================ */

/* ---------- Токены ---------- */
:root {
  --paper: #faf7f1;
  --paper2: #f3eee3;
  --card: #fffdf8;
  --ink: #22304a;
  --ink2: #4c5b76;
  --mut: #556074;
  --line: #e4dccb;
  --line2: #cfc4a8;
  --pine: #1f6a4a;
  --pine-deep: #175238;
  --pine-soft: #e3efe6;
  --amber: #a06a00;
  --amber-soft: #f8ecd2;
  --night: #14202e;
  --night2: #1d2c40;
  --night-line: #33465f;
  --night-mut: #9db0c7;
  --r: 14px;
  --wrap: 1180px;
  --gut: 28px;
  --font: "Golos Text", "Golos", -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Menlo, Consolas, monospace;
  color-scheme: light;
}

/* ---------- База ---------- */
* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--ink);
  background:
    radial-gradient(1100px 380px at 85% -60px, #efe7d3 0%, transparent 60%),
    var(--paper);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  line-height: 1.14;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
  color: #1b2740;
}

h1 { font-size: clamp(30px, 4.6vw, 52px); font-weight: 800; }
h2 { font-size: clamp(24px, 3.2vw, 34px); font-weight: 800; }
h3 { font-size: 20px; font-weight: 700; }

p { margin: 0; }

a { color: var(--pine); }

img { max-width: 100%; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: var(--gut);
  padding-right: var(--gut);
}

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 13px 26px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  background: var(--card);
  color: var(--ink);
  font: 600 15.5px/1.2 var(--font);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 3px 3px 0 var(--ink);
}

.btn:hover .ico { transform: translateX(3px); }
.ico { transition: transform 0.15s ease; }

.btn--lime {
  background: var(--pine);
  border-color: var(--pine-deep);
  color: #fff;
  font-weight: 700;
}

.btn--lime:hover {
  background: var(--pine-deep);
  border-color: var(--pine-deep);
  box-shadow: 3px 3px 0 rgba(23, 82, 56, 0.35);
}

.btn--sm {
  min-height: 40px;
  padding: 9px 18px;
  font-size: 14px;
}

.ico { width: 18px; height: 18px; flex: none; }
.ico-sm { width: 13px; height: 13px; flex: none; }

.sec-sub {
  color: var(--ink2);
  font-size: 16.5px;
  line-height: 1.6;
  max-width: 60ch;
}

/* ---------- Шапка ---------- */
.top {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 247, 241, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--ink);
}

.top__in {
  display: flex;
  align-items: center;
  gap: 22px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.brand__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--pine);
  border: 2px solid var(--ink);
  flex: none;
}

.brand__sub {
  font-weight: 500;
  font-size: 13px;
  color: var(--ink2);
  letter-spacing: 0;
  border-left: 1px solid var(--line2);
  padding-left: 12px;
  margin-left: 2px;
}

.top__nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
}

.top__nav a:not(.nav-cta) {
  color: var(--ink);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 600;
  padding: 8px 11px;
  border-radius: 8px;
  white-space: nowrap;
}

.top__nav a:not(.nav-cta):hover {
  background: var(--pine-soft);
}

.top__nav a:not(.nav-cta).is-active {
  background: var(--ink);
  color: #fff;
}

.top__nav .nav-cta {
  min-height: 42px;
  padding: 9px 18px;
  font-size: 14px;
  margin-left: 10px;
}

.top > .btn { display: none; }

.top__burger {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 2px solid var(--ink);
  border-radius: 10px;
  background: var(--card);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.burger-cross { display: none; }
.top__burger[aria-expanded="true"] .burger-cross { display: block; }
.top__burger[aria-expanded="true"] .burger-lines { display: none; }

/* ---------- Секции: единый ритм ---------- */
main > section:not(.hero) {
  padding: 64px 0;
  border-top: 2px solid var(--line);
}

main > section:nth-of-type(odd):not(.hero) {
  background: var(--paper2);
}

.sec-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  margin-bottom: 30px;
  max-width: 900px;
}

/* пронумерованные карточки-разделы */
.spec-sheet {
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: var(--r);
  box-shadow: 5px 5px 0 rgba(34, 48, 74, 0.12);
  overflow: hidden;
  margin-top: 26px;
}

.spec-sheet:first-child { margin-top: 0; }

.spec-sheet__head {
  padding: 18px 24px;
  border-bottom: 2px solid var(--ink);
  background: var(--ink);
  color: #fff;
  display: grid;
  gap: 4px;
}

.spec-sheet__head b {
  font-size: 16px;
  font-weight: 700;
}

.spec-sheet__head span {
  font-size: 13.5px;
  color: #c9d4e4;
  line-height: 1.5;
}

.spec-sheet__head a { color: #ffd98a; }

/* ---------- Hero: тёмная сцена, центровка и живой фон потоков ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 112px 0 116px;
  border-bottom: 2px solid #0c1826;
  background:
    radial-gradient(920px 440px at 50% 45%, rgba(31, 106, 74, 0.3), transparent 70%),
    var(--night);
  color: #eaf0f7;
}

/* Живой фон: сетка чертежа + потоки данных + мягкое свечение */
.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(143, 214, 171, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143, 214, 171, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 78% 72% at 50% 46%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 78% 72% at 50% 46%, #000 30%, transparent 100%);
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  opacity: 0.45;
  will-change: transform;
}

.hero__orb--1 {
  width: 460px;
  height: 260px;
  left: calc(50% - 360px);
  top: 40px;
  background: radial-gradient(circle, rgba(143, 214, 171, 0.36) 0%, rgba(143, 214, 171, 0.12) 38%, transparent 70%);
  animation: heroOrbA 14s ease-in-out infinite alternate;
}

.hero__orb--2 {
  width: 420px;
  height: 260px;
  left: calc(50% - 60px);
  top: 120px;
  background: radial-gradient(circle, rgba(47, 191, 143, 0.28) 0%, rgba(47, 191, 143, 0.09) 38%, transparent 70%);
  animation: heroOrbB 18s ease-in-out infinite alternate;
}

.hero__flow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__pulse {
  stroke-dasharray: 70 680;
  stroke-dashoffset: 750;
  opacity: 0.75;
  animation: heroPulseIn 6.5s linear infinite;
}

.hero__pulse--2 { animation-duration: 5.4s; animation-delay: -1.8s; }
.hero__pulse--3 { animation-duration: 7.2s; animation-delay: -3.4s; }

.hero__pulse--4,
.hero__pulse--5,
.hero__pulse--6 {
  animation-name: heroPulseOut;
}

.hero__pulse--4 { animation-duration: 6.2s; animation-delay: -0.9s; }
.hero__pulse--5 { animation-duration: 5.2s; animation-delay: -2.7s; }
.hero__pulse--6 { animation-duration: 6.9s; animation-delay: -4.1s; }

.hero__ring--outer {
  transform-origin: 720px 305px;
}

.hero__ring--inner {
  transform-origin: 720px 305px;
}

.hero__nodes circle {
  animation: heroNodeBlink 3.6s ease-in-out infinite alternate;
}
.hero__nodes circle:nth-child(even) {
  animation-delay: -1.8s;
}

@keyframes heroPulseIn {
  from { stroke-dashoffset: 750; }
  to   { stroke-dashoffset: 0; }
}

@keyframes heroPulseOut {
  from { stroke-dashoffset: 750; }
  to   { stroke-dashoffset: 0; }
}

@keyframes heroSpin {
  to { transform: rotate(360deg); }
}

@keyframes heroSpinRev {
  to { transform: rotate(-360deg); }
}

@keyframes heroOrbA {
  0%   { transform: translate3d(-30px, -10px, 0) scale(1); }
  100% { transform: translate3d(50px, 24px, 0) scale(1.12); }
}

@keyframes heroOrbB {
  0%   { transform: translate3d(30px, 15px, 0) scale(1.06); }
  100% { transform: translate3d(-45px, -20px, 0) scale(0.94); }
}

@keyframes heroNodeBlink {
  0%   { opacity: 0.3; }
  100% { opacity: 0.95; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__orb,
  .hero__pulse,
  .hero__ring--outer,
  .hero__ring--inner,
  .hero__nodes circle {
    animation: none !important;
  }
}

.hero > .wrap {
  position: relative;
  z-index: 1;
}

.hero__in {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero h1 {
  color: #fff;
  max-width: 22ch;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
}

.hero h1 span {
  color: #8fd6ab;
}

.hero h1 .nb {
  color: #fff;
  white-space: nowrap;
}

.hero h1 .hero__h1-b {
  display: block;
  margin-top: 2px;
}

@media (max-width: 560px) {
  .hero h1 { font-size: clamp(25px, 7.2vw, 31px); }
  .hero h1 .hero__h1-b { display: inline; margin-top: 0; }
}

.hero .lead {
  margin-top: 22px;
  max-width: 48ch;
  font-size: clamp(17.5px, 2vw, 21px);
  line-height: 1.52;
  color: #b9c6d9;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 48px;
  align-items: start;
}

.hero__copy { max-width: 720px; padding-top: 6px; }

.hero__eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8fd6ab;
  background: rgba(16, 28, 42, 0.72);
  backdrop-filter: blur(6px);
  border: 1.5px solid rgba(143, 214, 171, 0.38);
  border-radius: 999px;
  padding: 6px 15px;
  margin-bottom: 20px;
}

.lead {
  margin-top: 18px;
  font-size: 18px;
  line-height: 1.62;
  color: #b9c6d9;
}

.hero__cta {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* контурная кнопка поверх тёмного hero */
.hero .btn:not(.btn--lime) {
  background: rgba(16, 28, 42, 0.6);
  backdrop-filter: blur(4px);
  border-color: #dbe5f2;
  color: #fff;
}

.hero .btn:not(.btn--lime):hover {
  border-color: #8fd6ab;
  color: #8fd6ab;
  box-shadow: none;
}

.hero__outcomes {
  margin-top: 48px;
  width: 100%;
  padding-top: 26px;
  border-top: 1px solid rgba(157, 176, 199, 0.2);
}

.hero__outcomes-lbl {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8a9fb8;
  margin-bottom: 14px;
  text-align: center;
}

.hero__strip {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--night-line);
  border-radius: 12px;
  background: rgba(16, 28, 42, 0.86);
  backdrop-filter: blur(8px);
  overflow: hidden;
  text-align: left;
}

.hero__outcomes .hero__strip {
  margin-top: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hero__strip > div,
.hero__strip > a {
  padding: 18px 20px;
  text-decoration: none;
  color: inherit;
  transition: background-color 0.15s ease;
}

.hero__strip > a:hover {
  background: #152536;
}

.hero__strip > div + div,
.hero__strip > a + a {
  border-left: 1px solid var(--night-line);
}

.hero__strip b {
  display: block;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #8fd6ab;
}

.hero__strip span {
  font-size: 13.5px;
  color: #9db0c7;
  line-height: 1.48;
  display: block;
  margin-top: 6px;
}

.hero__scope {
  margin-top: 18px;
  font-size: 14px;
  color: #9db0c7;
  line-height: 1.55;
}

.hero__scope a { font-weight: 600; color: #8fd6ab; }

/* ---------- Таблицы ---------- */
.table-scroll { overflow-x: auto; }

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  line-height: 1.55;
  min-width: 720px;
}

.spec-table th {
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink2);
  padding: 12px 18px;
  border-bottom: 2px solid var(--ink);
  background: var(--paper2);
  white-space: nowrap;
}

.spec-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  color: var(--ink2);
}

.spec-table tbody tr:last-child td { border-bottom: 0; }
.spec-table td b { color: var(--ink); }
.spec-table td small { display: block; font-size: 12.5px; color: var(--mut); margin-top: 4px; }

.spec-table--compact { min-width: 0; }
.spec-table--price { min-width: 880px; }

.col-us { background: var(--pine-soft); }
.spec-table thead .col-us { background: var(--pine); color: #fff; }

.row-featured td { background: rgba(31, 106, 74, 0.07); }

.td-price { white-space: nowrap; }
.td-price b { font-size: 17px; font-weight: 800; color: var(--ink); }
.td-price small { font-size: 12px; }

.tbl-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--pine-deep);
  background: var(--pine-soft);
  border: 1.5px solid var(--pine);
  border-radius: 999px;
  padding: 3px 11px;
  white-space: nowrap;
  margin-top: 8px;
}

.tbl-badge--warn {
  color: #7c4a00;
  background: var(--amber-soft);
  border-color: var(--amber);
}

.tbl-link { margin-top: 8px; font-size: 13.5px; }
.tbl-link a, .tbl-ext { color: var(--pine); font-weight: 600; }

/* ---------- Демо первого экрана ---------- */
.demo { min-width: 0; }

.demo__tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.demo__tab {
  border: 2px solid var(--ink);
  background: var(--card);
  border-radius: 999px;
  padding: 10px 20px;
  font: 600 14.5px var(--font);
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.demo__tab:hover { background: var(--pine-soft); }

.demo__tab.is-on {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.demo__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--mut);
  margin-bottom: 12px;
}

.chat__reset {
  border: 1.5px solid var(--night-line);
  background: transparent;
  border-radius: 8px;
  padding: 6px 12px;
  font: 600 13px var(--font);
  color: #dbe5f2;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.chat__reset:hover { border-color: #8fd6ab; color: #8fd6ab; }
.chat__reset[hidden] { display: none; }

.stage {
  position: relative;
  display: grid;
  border: 2px solid var(--ink);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--night);
  color: #eaf0f7;
  box-shadow: 6px 6px 0 rgba(34, 48, 74, 0.16);
}

.stage__bg {
  position: relative;
  grid-area: 1 / 1;
  min-height: 840px;
  padding: 34px;
  display: flex;
  flex-direction: column;
}
.stage__bg > * { flex: 1 1 auto; min-height: 100%; }

/* чат в той же ячейке, что и фон: высота сцены — по более высокому из двух */
.chat--float {
  grid-area: 1 / 1;
  justify-self: end;
  align-self: end;
  z-index: 3;
  width: min(430px, calc(100% - 68px));
  margin: 34px;
}

.stage__note {
  position: absolute;
  left: 34px;
  top: 34px;
  max-width: 400px;
  background: rgba(20, 32, 46, 0.92);
  border: 1px solid var(--night-line);
  border-radius: 10px;
  padding: 14px 16px;
  color: #e8eef6;
  font-size: 13.5px;
  line-height: 1.5;
  z-index: 2;
  margin: 0;
}

.stage__note span { color: #d5e0ee; }

.stage__note b { color: #8fd6ab; display: block; font-size: 13px; margin-bottom: 4px; }

/* мокапы фона (Avito / сайт / документы) */
.avcard {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  color: #333;
  pointer-events: none;
  user-select: none;
}

/* фоны демо чуть не в фокусе: силуэт площадки виден, мелкий текст не спорит с чатом */
.avcard > *,
.wshop > *,
.drive > * {
  filter: blur(2.5px);
}

.avcard__topbar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  border-bottom: 1px solid #eee;
}

.avpro__brand { display: inline-flex; align-items: center; }
.avlogo { display: block; }

.avcard__cats { font-size: 12px; color: #666; display: inline-flex; gap: 6px; align-items: center; }
.avcard__searchbox {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f2f2f2;
  border-radius: 8px;
  padding: 7px 12px;
  font-size: 12px;
  color: #888;
}
.avcard__searchbtn { margin-left: auto; background: #0af; color: #fff; border-radius: 6px; padding: 3px 14px; font-size: 12px; }
.avcard__query { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.avcard__geo { font-size: 12px; color: #666; display: inline-flex; gap: 4px; align-items: center; }
.avcard__user { width: 26px; height: 26px; border-radius: 50%; background: #ddd; }

.avcard__crumbs { font-size: 11.5px; color: #999; padding: 10px 18px 0; }
.avcard__crumbs b { color: #333; }

.avcard__body {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 18px;
  padding: 12px 18px 18px;
}

.avcard__left { min-width: 0; }
.avcard__title { font-size: 17px; font-weight: 700; color: #141414; margin-bottom: 10px; }

.avcard__photo {
  height: 280px;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  background: #f4f4f2;
}

.avcard__photo .avcard__shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.avcard__badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 11px;
  border-radius: 6px;
  padding: 4px 10px;
}
.avcard__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
}
.avcard__nav--l { left: 10px; }
.avcard__nav--r { right: 10px; }
.avcard__count {
  position: absolute;
  right: 12px;
  bottom: 12px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 11px;
  border-radius: 6px;
  padding: 3px 9px;
}
.avcard__wm { position: absolute; right: 12px; top: 12px; opacity: 0.7; }

.avcard__thumbs { display: flex; gap: 8px; margin-top: 8px; }
.avcard__thumbs span {
  width: 44px;
  height: 32px;
  border-radius: 6px;
  background: #e8e4da center / cover no-repeat;
  border: 2px solid transparent;
}
.avcard__thumbs span.on { border-color: #0af; }

/* характеристики мокапа: полный текст, сцена высокая */
.avcard__specs { margin-top: 10px; font-size: 12.5px; color: #555; }
.avcard__specs b { display: block; margin-bottom: 6px; color: #222; }
.avcard__specs dl { margin: 0; display: grid; gap: 3px; }
.avcard__specs div { display: flex; gap: 6px; }
.avcard__specs dt { color: #999; }

.avcard__info { min-width: 0; overflow: hidden; }
.avcard__pricerow { display: flex; align-items: center; justify-content: space-between; }
.avcard__price { font-size: 24px; font-weight: 800; color: #141414; margin: 0; }
.avcard__heart { width: 22px; height: 22px; color: #999; flex: none; }
.avcard__stock { font-size: 12px; color: #666; margin: 4px 0 10px; }
.avcard__btns { display: flex; gap: 8px; }
.avbtn { border-radius: 8px; font-size: 12.5px; font-weight: 700; padding: 8px 14px; }
.avbtn--purple { background: #a169f7; color: #fff; }
.avbtn--line { border: 1.5px solid #a169f7; color: #a169f7; }
.avcard__about { display: block; margin: 10px 0 8px; font-size: 12.5px; font-weight: 700; color: #222; }
.avcard__sellcard { border: 1px solid #eee; border-radius: 8px; padding: 10px; }
.avcard__sellhead { display: flex; gap: 10px; align-items: center; }
.avcard__sellname { font-size: 13px; font-weight: 700; }
.avcard__rate { font-size: 12px; color: #f60; display: flex; align-items: center; gap: 4px; }
.avcard__rate span { color: #999; }
.avstar { width: 12px; height: 12px; }
.avcard__since { font-size: 11px; color: #999; display: block; margin-top: 3px; }
.avcard__sub { font-size: 11.5px; color: #0af; display: block; margin-top: 4px; }
.avcard__selllogo {
  margin-left: auto;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #1f6a4a;
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.avcard__rows { margin: 10px 0 0; display: grid; gap: 4px; font-size: 12px; }
.avcard__rows div { display: grid; grid-template-columns: 110px 1fr; gap: 8px; }
.avcard__rows dt { color: #999; }
.avcard__pills { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.avcard__pill { font-size: 10.5px; background: #f2f2f2; border-radius: 20px; padding: 3px 9px; color: #555; }
.avcard__person { font-size: 12px; color: #555; margin: 10px 0 0; }
.avcard__person b { display: block; color: #222; }

/* магазин «Модуль Кухни» под виджетом */
.wshop {
  background: #f7f5f1;
  border-radius: 10px;
  color: #241f1a;
  pointer-events: none;
  user-select: none;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.wshop__util {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 6px 18px;
  background: #1c3a2e;
  color: #d7e6dc;
  font-size: 12px;
}
.wshop__util b { margin-left: auto; color: #fff; font-size: 12.5px; }
.wshop__top {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px 18px;
  background: #fff;
  border-bottom: 1px solid #e7e1d8;
}
.wshop__logo { font-weight: 800; font-size: 18px; letter-spacing: -0.03em; line-height: 1.05; }
.wshop__logo small { display: block; font-weight: 500; font-size: 11px; color: #8a8175; letter-spacing: 0; }
.wshop__nav { display: flex; gap: 14px; font-size: 13.5px; color: #5c564e; }
.wshop__nav b { color: #1c3a2e; }
.wshop__search {
  margin-left: auto;
  background: #f3f0ea;
  color: #8a8175;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12.5px;
  min-width: 120px;
}
.wshop__cart {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
}
.wshop__cart b {
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #1c3a2e;
  color: #fff;
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.wshop__hero {
  position: relative;
  margin: 12px 16px 0;
  height: 220px;
  border-radius: 14px;
  overflow: hidden;
  background: #ddd;
}
.wshop__hero img { width: 100%; height: 100%; object-fit: cover; object-position: 30% center; display: block; }
.wshop__offer {
  position: absolute;
  left: 14px;
  bottom: 14px;
  width: min(340px, 46%);
  background: rgba(255, 252, 247, 0.96);
  border-radius: 12px;
  padding: 8px 12px;
}
.wshop__offer span { font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: #1f6a4a; }
.wshop__offer b { display: block; margin: 1px 0 2px; font-size: 18px; letter-spacing: -0.03em; }
.wshop__offer p { margin: 0; font-size: 12.5px; line-height: 1.3; color: #4e4942; }
.wshop__offer-row { display: flex; align-items: baseline; gap: 10px; margin-top: 4px; }
.wshop__offer-row i { font-style: normal; font-size: 20px; font-weight: 800; }
.wshop__offer-row em { font-style: normal; font-size: 12px; font-weight: 700; color: #1f6a4a; }
.wshop__perks {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 12px 16px 0;
  padding: 0;
}
.wshop__perks li { background: #fff; border: 1px solid #e7e1d8; border-radius: 10px; padding: 8px 10px; }
.wshop__perks b { display: block; font-size: 15px; }
.wshop__perks span { font-size: 12px; color: #6d655c; }
.wshop__catalog { padding: 14px 16px 0; }
.wshop__catalog header { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.wshop__catalog header b { font-size: 18px; }
.wshop__catalog header span { font-size: 12.5px; color: #6d655c; }
.wshop__grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.wshop__card { background: #fff; border: 1px solid #e7e1d8; border-radius: 12px; overflow: hidden; font-size: 14px; font-weight: 700; }
.wshop__card img { display: block; width: 100%; height: 86px; object-fit: cover; }
.wshop__card div { padding: 8px 10px 10px; }
.wshop__card small { display: block; font-weight: 500; color: #6d655c; margin-top: 2px; font-size: 12.5px; }
.wshop__card em { display: inline-block; margin-top: 6px; font-style: normal; font-size: 11px; font-weight: 700; color: #1f6a4a; background: #e7f3ec; border-radius: 999px; padding: 2px 7px; }
.wshop__steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 12px 16px 0;
  padding: 0;
}
.wshop__steps li { background: #fff; border-radius: 10px; padding: 8px 10px; border: 1px solid #e7e1d8; }
.wshop__steps b { display: block; font-size: 13px; }
.wshop__steps span { font-size: 12px; color: #6d655c; }
.wshop__foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 18px;
  background: #1c3a2e;
  color: #d7e6dc;
  font-size: 12.5px;
}
.wshop__foot b { display: block; color: #fff; font-size: 14px; }
.wshop__foot span { color: #d7e6dc; }
.wshop__foot span:last-child { margin-left: auto; }
@media (min-width: 721px) {
  .stage:has(.bg-site) .stage__note { top: 122px; left: 50px; max-width: 420px; }
  .bg-docs .drive__tree,
  .bg-docs .drive__main { padding-top: 132px; }
}

/* документы */
.drive {
  background: #f4f6f8;
  border-radius: 10px;
  color: #243044;
  pointer-events: none;
  user-select: none;
  overflow: hidden;
  display: grid;
  grid-template-columns: 196px 1fr;
  min-height: 100%;
}

.drive__tree { background: #1c2836; color: #c9d3e0; padding: 18px 14px; font-size: 13px; display: grid; gap: 8px; align-content: start; }
.drive__tree b { color: #fff; font-size: 14px; margin-bottom: 6px; }
.drive__tree p { margin: 0; padding: 6px 8px; border-radius: 8px; }
.drive__tree .on { background: rgba(255, 255, 255, 0.08); color: #fff; font-weight: 700; }
.drive__main { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.drive__path { display: flex; gap: 8px; align-items: center; font-size: 12px; color: #7d8b9c; }
.drive__path span::after { content: "/"; margin-left: 8px; color: #b7c0cc; }
.drive__path b { color: #243044; font-weight: 700; }
.drive__files { display: grid; gap: 8px; }
.drive__file {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  background: #fff;
  border: 1px solid #e4e8ee;
  border-radius: 10px;
  padding: 8px 12px;
}
.drive__file.sel { border-color: #1f6a4a; box-shadow: inset 3px 0 0 #1f6a4a; }
.drive__file span { min-width: 0; }
.drive__file small { display: block; color: #7d8b9c; font-size: 11px; margin-top: 2px; }
.drive__file em { margin-left: auto; font-style: normal; font-size: 11px; font-weight: 700; color: #1f6a4a; white-space: nowrap; }
.drive__sheet {
  background: #fff;
  border: 1px solid #e4e8ee;
  border-radius: 12px;
  padding: 14px 16px 16px;
  box-shadow: 0 8px 24px rgba(28, 40, 54, 0.06);
}
.drive__sheet header { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; color: #7d8b9c; margin-bottom: 8px; }
.drive__sheet h4 { margin: 0 0 8px; font-size: 15px; }
.drive__sheet p { margin: 0 0 8px; font-size: 13.5px; line-height: 1.55; color: #334155; }
.drive__sheet mark { background: #f3e2a5; color: inherit; padding: 0 3px; border-radius: 3px; }
.drive__hit { margin: 0; font-size: 12px; color: #1f6a4a; font-weight: 600; }
.dc-doc, .dc-pdf, .dc-xls {
  width: 28px; height: 28px; border-radius: 7px; font-size: 9px; font-weight: 800; color: #fff;
  display: inline-flex; align-items: center; justify-content: center; flex: none;
}
.dc-doc { background: #2b579a; }
.dc-pdf { background: #c0392b; }
.dc-xls { background: #1f6a4a; }

/* окно чата поверх фона */
.chat {
  position: relative;
  z-index: 1;
  margin: 0;
  width: min(430px, calc(100% - 68px));
  margin-left: auto;
  background: #10202f;
  border: 1px solid var(--night-line);
  border-radius: 14px;
  overflow: hidden;
  color: #eaf0f7;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

/* позже .chat, иначе position/margin общего окна сбрасывают угол */
.chat.chat--float {
  position: relative;
  z-index: 3;
  grid-area: 1 / 1;
  justify-self: end;
  align-self: end;
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
  width: min(430px, calc(100% - 68px));
  margin: 34px;
}

.chat__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: #0c1826;
  border-bottom: 1px solid var(--night-line);
}

.chat__ava {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--pine);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.chat--docs .chat__ava { background: #2b3a4f; }
.chat--avito .chat__ava, .chat--site .chat__ava { background: var(--pine); }

.chat__who { min-width: 0; flex: 1; }
.chat__who b { font-size: 14px; display: block; }
.chat__who span { font-size: 12px; color: var(--night-mut); display: flex; align-items: center; gap: 6px; }
.chat__who span i { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; flex: none; }

.chat__tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #8fd6ab;
  border: 1px solid var(--night-line);
  border-radius: 6px;
  padding: 4px 9px;
  white-space: nowrap;
}

.chat__body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 380px;
  overflow-y: auto;
}

.m {
  max-width: 92%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.55;
  background: #24384f;
}

.m--user { align-self: flex-start; border-bottom-left-radius: 4px; }
.m--bot { align-self: flex-end; background: #1a2c42; border: 1px solid var(--night-line); border-bottom-right-radius: 4px; }
.m--typing { opacity: 0.7; font-style: italic; }

.m small { display: block; margin-top: 6px; font-size: 11.5px; color: var(--night-mut); }
.m__src { color: #8fd6ab; font-family: var(--mono); font-size: 11px; margin-right: 8px; }
.m__ticks { color: #8fd6ab; }

.chat__btns { padding: 0; display: grid; gap: 8px; width: 100%; }
.chat__btns button {
  position: relative;
  text-align: left;
  background: #e7f3ec;
  border: 1.5px solid #b7dcc8;
  color: #143528;
  border-radius: 10px;
  padding: 10px 32px 10px 14px;
  font: 600 13.5px var(--font);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.chat__btns button::after {
  content: "›";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-54%);
  font-size: 20px;
  line-height: 1;
  font-weight: 500;
  color: #1f6a4a;
}
.chat__btns button:hover:not(:disabled) { border-color: #1f6a4a; background: #d9f0e4; }
.chat__btns button:focus-visible { outline: 2px solid #1f6a4a; outline-offset: 2px; }
.chat__btns button:disabled { opacity: 0.45; cursor: default; }
.chat__btns button:disabled::after { opacity: 0.5; }

.chat__controls {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  padding: 14px 18px;
  border-top: 1px solid var(--night-line);
}

.chat__hint { font-size: 12px; font-weight: 700; letter-spacing: 0.01em; color: #1f6a4a; }
.chat__hint-row { display: flex; gap: 8px; align-items: center; justify-content: space-between; }

.demo__foot {
  margin-top: 14px;
  font-size: 13px;
  color: var(--mut);
}

/* три разных окна: Авито, виджет Анны, Ася с файлами */
.chat__tag:empty { display: none; }
.m__text { display: block; }
.chat--site .m--user .m__time,
.chat--docs .m--user .m__time { margin-left: 4px; }
.m__ava, .chat__back, .chat__tools, .chat__composer { display: none; }
.m__who { font-weight: 700; margin-right: 8px; }

.chat--avito,
.chat--site,
.chat--docs {
  background: #fff;
  color: #1c1c1c;
  border-color: rgba(20, 24, 28, 0.08);
}

.chat--docs .chat__head {
  background: #fff;
  border-bottom-color: #ececec;
}
.chat--docs .chat__who b { color: #161616; }
.chat--docs .chat__who span { color: #8a8a8a; }
.chat--docs .chat__tag {
  text-transform: none;
  letter-spacing: 0;
  color: #1f6a4a;
  background: #e7f3ec;
  border-color: transparent;
  font-size: 12px;
}

.chat--site .m--user,
.chat--docs .m--user {
  align-self: flex-end;
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 4px;
}
.chat--site .m--bot,
.chat--docs .m--bot {
  align-self: flex-start;
  border-bottom-right-radius: 14px;
  border-bottom-left-radius: 4px;
}

.chat--site .m small,
.chat--docs .m small { color: #7b8490; }
.chat--site .chat__controls,
.chat--docs .chat__controls { background: #fff; border-top-color: #ececec; }
.chat--site .chat__hint,
.chat--docs .chat__hint { color: #1f6a4a; }
.chat--site .chat__btns button,
.chat--docs .chat__btns button {
  background: #e7f3ec;
  color: #143528;
  border-color: #b7dcc8;
}
.chat--site .chat__btns button:hover:not(:disabled),
.chat--docs .chat__btns button:hover:not(:disabled) {
  border-color: #1f6a4a;
  background: #d9f0e4;
}
.chat--site .chat__reset,
.chat--docs .chat__reset { color: #243044; border-color: #d5dbe3; }
.chat--site .chat__reset:hover,
.chat--docs .chat__reset:hover { color: #1f6a4a; border-color: #1f6a4a; }

/* маленькое окно Авито: свои справа голубые, собеседник слева серый */
.chat.chat--float.chat--avito {
  width: min(360px, calc(100% - 40px));
  border-radius: 18px;
  border-color: #e7e7e7;
  box-shadow: 0 16px 40px rgba(20, 24, 28, 0.18);
}
.chat--avito .chat__head {
  gap: 8px;
  padding: 8px 8px 8px 4px;
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
}
.chat--avito .chat__back { display: flex; align-items: center; color: #222; padding: 0 2px; }
.chat--avito .chat__ava {
  width: 36px;
  height: 36px;
  background: #3b82f6;
  font-size: 15px;
}
.chat--avito .chat__who b { font-size: 15px; color: #161616; line-height: 1.2; }
.chat--avito .chat__who span { font-size: 12px; color: #8d8d93; }
.chat--avito .chat__who span i,
.chat--avito .chat__tag,
.chat--avito .m__you,
.chat--avito .m__who { display: none; }
.chat--avito .chat__tools { display: flex; gap: 6px; margin-left: auto; }
.chat--avito .chat__tools span {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #f2f2f4;
  color: #3a3a3c;
  display: flex;
  align-items: center;
  justify-content: center;
}
.chat--avito .chat__body {
  background: #fff;
  padding: 12px 10px 6px;
  gap: 14px;
}
.chat--avito .m {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  max-width: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: #111;
}
.chat--avito .m--user { justify-content: flex-end; }
.chat--avito .m--bot { justify-content: flex-start; flex-wrap: wrap; }
.chat--avito .m__text {
  max-width: 78%;
  padding: 8px 12px;
  border-radius: 16px;
  font-size: 14.5px;
  line-height: 1.35;
}
.chat--avito .m--user .m__text {
  order: 2;
  background: #d4ebff;
  border-bottom-right-radius: 5px;
}
.chat--avito .m--user small {
  order: 1;
  display: flex;
  align-items: center;
  gap: 3px;
  margin: 0 0 1px;
  font-size: 11px;
  color: #9aa0a6;
}
.chat--avito .m__ticks { color: #3b82f6; letter-spacing: -0.08em; }
.chat--avito .m--bot .m__ava {
  display: flex;
  order: 0;
  align-self: flex-end;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #3b82f6;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  align-items: center;
  justify-content: center;
  flex: none;
}
.chat--avito .m--bot .m__text {
  order: 1;
  background: #f1f2f4;
  border-bottom-left-radius: 5px;
}
.chat--avito .m--bot .m__time {
  order: 2;
  margin: 0 0 2px;
  font-size: 11px;
  color: #9aa0a6;
  background: none;
}
.chat--avito .m__src {
  order: 3;
  flex: 1 0 100%;
  margin: 0 0 0 34px;
  color: #8b939e;
  font-family: inherit;
  font-size: 11px;
  background: none;
  padding: 0;
}
.chat--avito .chat__controls {
  background: #fff;
  border-top: 0;
  gap: 8px;
  padding: 8px 10px 10px;
}
.chat--avito .chat__hint { color: #0b57c2; }
.chat--avito .chat__btns button {
  background: #e7f1fc;
  color: #16324f;
  border-color: #c5daf6;
  border-radius: 14px;
  padding: 8px 30px 8px 12px;
}
.chat--avito .chat__btns button::after { color: #0b57c2; }
.chat--avito .chat__btns button:hover:not(:disabled) { border-color: #3b82f6; background: #d7e8fb; }
.chat--avito .chat__btns button:focus-visible { outline-color: #3b82f6; }
.chat--avito .chat__reset { color: #3a3a3c; border-color: #e4e4e7; }
.chat--avito .chat__reset:hover { color: #3b82f6; border-color: #3b82f6; }
.chat--avito .chat__composer {
  display: flex;
  align-items: center;
  gap: 8px;
}
.chat--avito .chat__plus,
.chat--avito .chat__ico {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f2f2f4;
  color: #3a3a3c;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  font-size: 22px;
  line-height: 1;
}
.chat--avito .chat__field {
  flex: 1;
  background: #f2f2f4;
  color: #9a9aa1;
  border-radius: 18px;
  padding: 8px 14px;
  font-size: 15px;
}

.chat--site .chat__head {
  background: #1f6a4a;
  border-bottom: 0;
}
.chat--site .chat__ava { background: #fff; color: #1f6a4a; }
.chat--site .chat__who b { color: #fff; }
.chat--site .chat__who span { color: #d7eee2; }
.chat--site .chat__who span i { background: #b6f3c8; }
.chat--site .chat__body { background: #f6f7f4; }
.chat--site .m--bot { background: #fff; color: #1c1c1c; border: 1px solid #e6eee8; }
.chat--site .m--user { background: #1f6a4a; color: #fff; }
.chat--site .m--user small,
.chat--site .m--user .m__ticks { color: rgba(255, 255, 255, 0.75); }
.chat--site .m__who,
.chat--site .m__src { color: #1f6a4a; }
.chat--site .chat__controls { background: #f6f7f4; }

.chat--docs .chat__body { background: #f7f8fa; }
.chat--docs .m--bot { background: #fff; color: #1c1c1c; border: 1px solid #e6ebf2; }
.chat--docs .m--user { background: #1c2836; color: #fff; }
.chat--docs .m--user small,
.chat--docs .m--user .m__ticks { color: rgba(255, 255, 255, 0.7); }
.chat--docs .m__who { color: #1f6a4a; }
.chat--docs .m__src {
  display: table;
  margin-top: 4px;
  color: #1f4f86;
  background: #eef3f9;
  border-radius: 6px;
  padding: 2px 6px;
}
.chat--docs .chat__controls { background: #f7f8fa; }

/* ---------- Экономика ---------- */
.calc-sheet {
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: var(--r);
  box-shadow: 5px 5px 0 rgba(34, 48, 74, 0.12);
  overflow: hidden;
  margin-top: 26px;
}

.calc-dual { display: grid; grid-template-columns: 1fr 1fr; }
.calc-box { padding: 24px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.calc-box + .calc-box { border-left: 2px solid var(--ink); }

.calc-box__head h3 { font-size: 18px; margin-bottom: 6px; }
.calc-box__head p { font-size: 13.5px; color: var(--ink2); line-height: 1.55; }

.calc-box__controls { display: grid; gap: 12px; }
.calc-box__controls label { display: grid; gap: 6px; font-size: 13.5px; color: var(--ink); }
.calc-box__controls label b { color: var(--pine-deep); }
.calc-box__controls input[type="range"] { width: 100%; accent-color: var(--pine); cursor: pointer; }

.calc-box__res { border-top: 1px solid var(--line); padding-top: 16px; display: grid; gap: 8px; }
.calc-box__res .btn { justify-self: start; margin-top: 4px; }

/* старый одиночный калькулятор */
.calc { min-width: 0; }
.calc__body { padding: 24px; display: grid; gap: 18px; }
.calc__left, .calc__right { min-width: 0; }
.calc__fieldset { border: 1px solid var(--line); border-radius: 10px; padding: 16px; }
.calc__fieldset legend { font-size: 13px; font-weight: 700; padding: 0 8px; }
.calc__num { font-size: 30px; font-weight: 800; color: var(--pine-deep); }
.calc__sub { font-size: 14px; color: var(--ink2); }
.calc__formula { font-family: var(--mono); font-size: 12.5px; color: var(--mut); background: var(--paper2); border-radius: 8px; padding: 10px 14px; }
.calc__assump { font-size: 12.5px; color: var(--mut); }
.calc__stat-list { display: grid; gap: 8px; font-size: 14px; }
.calc__badge { display: inline-block; font-size: 12px; font-weight: 700; background: var(--pine-soft); border: 1.5px solid var(--pine); color: var(--pine-deep); border-radius: 999px; padding: 3px 11px; }
.calc__vs { display: grid; gap: 10px; }
.calc__vs-row { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 8px; }
.calc__vs-row--ai { border-color: var(--pine); background: var(--pine-soft); }
.calc__cap { font-size: 12.5px; color: var(--mut); }
.calc__bar { display: flex; gap: 4px; }
.calc__tab { border: 2px solid var(--ink); background: var(--card); border-radius: 999px; padding: 8px 18px; font: 600 14px var(--font); cursor: pointer; }
.calc__tab.is-on { background: var(--ink); color: #fff; }

/* ---------- Админ-панель ---------- */
.admin {
  background: var(--night);
  border: 2px solid var(--ink);
  border-radius: var(--r);
  overflow: hidden;
  color: #eaf0f7;
  box-shadow: 6px 6px 0 rgba(34, 48, 74, 0.16);
}

.admin__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px 22px;
  background: #0c1826;
  border-bottom: 1px solid var(--night-line);
}

.admin__top b { font-size: 15px; }
.admin__live { font-size: 12.5px; color: var(--night-mut); display: inline-flex; align-items: center; gap: 8px; }
.admin__live i { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; flex: none; }

.admin__grid { display: grid; grid-template-columns: 250px 1fr 280px; }

.admin__list { border-right: 1px solid var(--night-line); padding: 12px; display: flex; flex-direction: column; gap: 8px; }

.dlg {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 10px;
  align-items: start;
  text-align: left;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 10px;
  color: #eaf0f7;
  cursor: pointer;
  width: 100%;
  font-family: var(--font);
}

.dlg:hover { background: rgba(255, 255, 255, 0.05); }
.dlg.is-on { background: rgba(143, 214, 171, 0.1); border-color: var(--night-line); }

.dlg__ava {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #2b3a4f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  flex: none;
}

.dlg__ava--b { background: #4a3a5c; }
.dlg__ava--o { background: #5c4a2b; }

.dlg__main { min-width: 0; }
.dlg__main b { font-size: 13px; display: block; line-height: 1.35; }
.dlg__main small { font-size: 11.5px; color: var(--night-mut); display: block; margin-top: 3px; line-height: 1.4; }

.dlg__st { font-size: 11px; font-weight: 700; grid-column: 1 / -1; }
.dlg__st.ok { color: #4ade80; }
.dlg__st.warn { color: #fbbf24; }

.admin__chat { display: flex; flex-direction: column; min-width: 0; }

.admin__chathead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px 20px;
  border-bottom: 1px solid var(--night-line);
}

.admin__chathead b { font-size: 14.5px; display: block; }
.admin__chathead small { font-size: 12px; color: var(--night-mut); display: block; margin-top: 3px; }

.admin__chathead .btn {
  min-height: 38px;
  padding: 8px 16px;
  font-size: 13.5px;
  background: var(--card);
  border-color: var(--card);
  color: var(--ink);
}

.admin__stream { padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; max-height: 420px; overflow-y: auto; }

.b {
  max-width: 95%;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13.5px;
  line-height: 1.55;
  background: #24384f;
}

.b small { display: block; font-size: 11px; color: var(--night-mut); margin-bottom: 4px; font-family: var(--mono); }
.b--c { align-self: flex-start; border-bottom-left-radius: 4px; }
.b--a { align-self: flex-end; background: #1a2c42; border: 1px solid var(--night-line); border-bottom-right-radius: 4px; }
.b--m { align-self: center; background: var(--amber-soft); color: #5c3d00; border: 1px solid var(--amber); }

.admin__bar {
  padding: 12px 20px;
  border-top: 1px solid var(--night-line);
  font-size: 12.5px;
  color: var(--night-mut);
  margin: 0;
}

.admin__side { border-left: 1px solid var(--night-line); padding: 20px; display: flex; flex-direction: column; gap: 18px; background: #101c2a; }

.side-block { border: 0; padding: 0; }
.side-t { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--night-mut); margin: 0 0 8px; }
.side-src { font-size: 13px; line-height: 1.55; margin: 0; }
.side-src code { font-family: var(--mono); font-size: 12px; color: #8fd6ab; display: block; margin-bottom: 4px; }
.side-kv { margin: 0; display: grid; gap: 8px; }
.side-kv div { display: grid; gap: 1px; border-bottom: 1px solid var(--night-line); padding-bottom: 8px; }
.side-kv div:last-child { border-bottom: 0; padding-bottom: 0; }
.side-kv dt { font-size: 11.5px; color: var(--night-mut); }
.side-kv dd { margin: 0; font-size: 13.5px; font-weight: 700; }

/* ---------- Направления / кейс ---------- */
.areas { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.area {
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: var(--r);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 4px 4px 0 rgba(34, 48, 74, 0.1);
}

.area__chip { align-self: flex-start; font-size: 12px; font-weight: 700; color: var(--pine-deep); background: var(--pine-soft); border: 1.5px solid var(--pine); border-radius: 999px; padding: 3px 11px; }
.area h3 { font-size: 19px; }
.area p { font-size: 14.5px; color: var(--ink2); }
.area__econ { font-size: 13.5px; border-top: 1px solid var(--line); padding-top: 12px; margin-top: 2px; }
.area__econ b { color: var(--pine-deep); }

.case-dossier {
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: var(--r);
  box-shadow: 5px 5px 0 rgba(34, 48, 74, 0.12);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
}

.case-dossier__main { padding: 28px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.case-dossier__top { display: flex; gap: 14px; align-items: flex-start; }
.case-dossier__main p { font-size: 15px; color: var(--ink2); line-height: 1.62; }
.case-dossier__main .table-scroll { border: 1px solid var(--line); border-radius: 8px; }

.case-dossier--promles { border-top: 4px solid var(--pine); }

.case-logo {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--pine);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.case-quote {
  margin: 0;
  padding: 16px 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--pine);
  border-radius: 0 10px 10px 0;
}

.case-quote p { font-size: 15px; line-height: 1.62; color: var(--ink); margin: 0; }
.case-quote footer { margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--ink2); }
.case-quote footer span { font-weight: 400; color: var(--mut); }

.case-gains {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
}

.case-gains li {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink2);
  padding-left: 24px;
  position: relative;
}

.case-gains li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--pine);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.case-gains b { color: var(--ink); }

.case__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 4px; }

.case-dossier__side { background: var(--ink); color: #eef2f8; padding: 26px; }
.case-dossier__side > b { display: block; font-size: 14px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid #3a4f6e; }
.case-dossier__side dl { margin: 0; display: grid; gap: 12px; }
.case-dossier__side dl div { display: grid; gap: 2px; border-bottom: 1px solid #3a4f6e; padding-bottom: 10px; }
.case-dossier__side dl div:last-child { border-bottom: 0; padding-bottom: 0; }
.case-dossier__side dt { font-size: 12px; color: #9db0c7; }
.case-dossier__side dd { margin: 0; font-size: 14px; font-weight: 700; }

/* ---------- Шаги ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.steps li {
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: var(--r);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  box-shadow: 4px 4px 0 rgba(34, 48, 74, 0.1);
}

.steps li::before {
  counter-increment: step;
  content: "0" counter(step);
  font-size: 13px;
  font-weight: 800;
  color: var(--pine);
  letter-spacing: 0.08em;
}

.steps li b { font-size: 16px; }
.steps li span { font-size: 13.5px; color: var(--ink2); line-height: 1.55; }

/* ---------- Цены ---------- */
.price { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px; align-items: stretch; }

.price__row {
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: var(--r);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 4px 4px 0 rgba(34, 48, 74, 0.1);
}

.price__row--featured {
  background: var(--ink);
  color: #eef2f8;
  border-color: var(--ink);
  box-shadow: 5px 5px 0 rgba(31, 106, 74, 0.4);
}

.price__row--featured h3 { color: #fff; }
.price__row--featured .price__desc { color: #c9d4e4; }

.price__head { display: flex; gap: 10px; align-items: flex-start; justify-content: space-between; }
.price__badge { font-size: 12px; font-weight: 700; background: var(--pine); color: #fff; border-radius: 999px; padding: 4px 12px; white-space: nowrap; }
.price__n { font-size: 30px; font-weight: 800; margin: 0; }
.price__n small { font-size: 13px; font-weight: 500; color: var(--mut); }
.price__row--featured .price__n small { color: #9db0c7; }
.price__desc { font-size: 14px; color: var(--ink2); line-height: 1.55; }
.price__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.price__list li { display: flex; gap: 8px; align-items: flex-start; color: var(--ink2); }
.price__list .ico-sm { color: var(--pine); margin-top: 4px; }
.price__payback { font-size: 13.5px; border-top: 1px solid var(--line); padding-top: 12px; color: var(--ink2); }
.price__row--featured .price__payback { border-color: #3a4f6e; color: #c9d4e4; }
.price__row .btn { margin-top: auto; }

.price-extras { display: grid; gap: 12px; margin-top: 18px; }

.price__note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  background: var(--card);
  border: 1.5px solid var(--line2);
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 14px;
  color: var(--ink2);
  margin: 0;
}

.price__note b { color: var(--ink); }

/* ---------- TCO ---------- */
.tco { scroll-margin-top: 90px; }

.tco__head { padding: 20px 24px; border-bottom: 2px solid var(--ink); background: var(--ink); color: #fff; }
.tco__head h3 { color: #fff; font-size: 18px; margin-bottom: 4px; }
.tco__head p { font-size: 13.5px; color: #c9d4e4; margin: 0; }

.tco__grid { display: grid; grid-template-columns: 1fr 1fr 1fr; }
.tco__col { padding: 22px; display: flex; flex-direction: column; gap: 8px; border-right: 1px solid var(--line); }
.tco__col:last-child { border-right: 0; }
.tco__col--us { background: var(--pine-soft); }
.tco__tag { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--mut); }
.tco__tag--us { color: var(--pine-deep); }
.tco__title { font-size: 16px; }
.tco__price { font-size: 22px; font-weight: 800; margin: 0; }
.tco__price small { font-size: 12px; font-weight: 500; color: var(--mut); }
.tco__col ul { margin: 0; padding-left: 18px; font-size: 13.5px; color: var(--ink2); display: grid; gap: 6px; }

.tco__foot { padding: 14px 24px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--mut); margin: 0; line-height: 1.55; }

/* ---------- Никита / команда ---------- */
.owner {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  align-items: center;
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: var(--r);
  padding: 32px;
  box-shadow: 5px 5px 0 rgba(34, 48, 74, 0.12);
}

.owner__body { min-width: 0; }

.owner__photo { margin: 0; }
.owner__photo img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 2px solid var(--ink);
  display: block;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.owner__photo figcaption { margin-top: 10px; font-size: 13.5px; }
.owner__photo figcaption b { display: block; }
.owner__photo figcaption span { color: var(--mut); }

.owner__lead { margin-top: 14px; font-size: 16.5px; color: var(--ink2); }

.owner__list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.owner__list li {
  font-size: 14.5px;
  color: var(--ink2);
  border-left: 4px solid var(--pine);
  padding-left: 14px;
  line-height: 1.55;
}
.owner__list b { color: var(--ink); }

.owner__cta { margin-top: 22px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.owner__cta span { font-size: 13.5px; color: var(--mut); }

.trust-works { margin-top: 26px; }
.trust-works h3 { font-size: 20px; margin-bottom: 6px; }

.proof-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 16px 22px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--ink2);
  margin: 0;
}

.partner-badge { display: flex; align-items: center; gap: 12px; font-size: 12.5px; color: var(--mut); }
.partner-logo { display: inline-flex; }

/* ---------- Блог-тизер ---------- */
.blog-teaser__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- FAQ ---------- */
.wrap.faq { max-width: 900px; }
.faq__title { margin-bottom: 22px; }

.faq details {
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: 12px;
  padding: 18px 22px;
  margin-bottom: 12px;
  box-shadow: 3px 3px 0 rgba(34, 48, 74, 0.1);
}

.faq summary { font-weight: 700; font-size: 16px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; color: var(--pine); font-weight: 400; flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 12px; font-size: 14.5px; color: var(--ink2); }
.faq details a { font-weight: 600; }

/* ---------- Заявка ---------- */
.cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  background: var(--ink);
  color: #eef2f8;
  border: 2px solid var(--ink);
  border-radius: 18px;
  padding: 44px;
  box-shadow: 7px 7px 0 rgba(31, 106, 74, 0.35);
}

.cta h2 { color: #fff; }
.cta .sec-sub { color: #b9c6d9; }
.cta__links { margin-top: 22px; display: grid; border-top: 1px solid #3a4f6e; }
.cta__links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 4px;
  border-bottom: 1px solid #3a4f6e;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
}
.cta__links a span:last-child { color: #8fd6ab; font-weight: 600; font-size: 14px; }
.cta__links a:hover span:last-child { text-decoration: underline; }

.cta__owner { display: flex; gap: 14px; align-items: center; margin-top: 22px; font-size: 13.5px; color: #b9c6d9; }
.cta__owner img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid #3a4f6e; }
.cta__owner b { display: block; color: #fff; }

.form { display: grid; gap: 14px; align-content: start; }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-size: 13.5px; font-weight: 700; color: #dbe5f2; }
.field legend { padding: 0; }
.field input[type="text"],
.field input:not([type]),
.field textarea {
  width: 100%;
  border: 2px solid #3a4f6e;
  border-radius: 10px;
  background: #0e1a29;
  color: #fff;
  font: 500 15px var(--font);
  padding: 12px 16px;
}

.field input::placeholder, .field textarea::placeholder { color: #6d84a0; }
.field input:focus, .field textarea:focus { outline: none; border-color: #8fd6ab; }
.field textarea { resize: vertical; min-height: 90px; }

.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.field--chips { border: 0; padding: 0; margin: 0; min-width: 0; }
.chip { cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }

/* чипы в светлом калькуляторе */
.calc__fieldset .chip span {
  display: inline-block;
  border: 1.5px solid var(--line2);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  background: var(--card);
}
.calc__fieldset .chip input:checked + span { background: var(--pine); border-color: var(--pine); color: #fff; }

/* чипы в тёмной форме заявки */
.form .chip span {
  display: inline-block;
  border: 1.5px solid #3a4f6e;
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 600;
  color: #dbe5f2;
}
.form .chip input:checked + span { background: var(--pine); border-color: var(--pine); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid #8fd6ab; outline-offset: 2px; }

.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: #9db0c7; cursor: pointer; line-height: 1.5; }
.consent input { width: 18px; height: 18px; margin: 0; flex: none; accent-color: var(--pine); }
.consent a { color: #8fd6ab; }

.form__msg { font-size: 14px; color: #ffd98a; margin: 0; }
.form .btn--lime { width: 100%; border-color: var(--pine); }

/* ---------- Футер ---------- */
.foot { border-top: 2px solid var(--ink); padding: 26px 0; background: var(--paper2); }
.foot__in { display: flex; align-items: center; gap: 18px; font-size: 13px; color: var(--ink2); flex-wrap: wrap; }
.foot__in a { text-decoration: none; font-weight: 800; color: var(--ink); }
.foot__in span { flex: 1; min-width: 200px; }
.foot__legal { display: flex; gap: 18px; flex-wrap: wrap; font-size: 12px; color: var(--mut); margin-top: 10px; }

/* ---------- Страница блога и постов ---------- */
.post__in { max-width: 820px; }
.post__back { font-size: 14px; margin-bottom: 18px; }
.post__meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 14px; font-size: 13px; color: var(--mut); }
.post__banner { margin: 24px 0; border: 2px solid var(--ink); border-radius: var(--r); overflow: hidden; background: var(--card); }
.post__banner img { display: block; width: 100%; height: auto; }
.post__list { display: grid; gap: 10px; padding-left: 20px; color: var(--ink2); }
.post__author { display: flex; gap: 14px; align-items: center; }
.post__author img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid var(--ink); }
.post__foot { margin: 32px 0 44px; padding: 22px; background: var(--card); border: 2px solid var(--ink); border-radius: var(--r); display: grid; grid-template-columns: 68px 1fr; gap: 16px; align-items: start; }

.blog-index__back { font-size: 14px; margin-bottom: 16px; }
.blog-index { min-width: 0; }
.blog-list { display: grid; gap: 16px; }
.blog-card {
  display: grid;
  gap: 8px;
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: var(--r);
  padding: 22px;
  text-decoration: none;
  color: var(--ink);
  box-shadow: 4px 4px 0 rgba(34, 48, 74, 0.1);
}
.blog-card:hover { background: var(--pine-soft); }
.blog-card h3 { font-size: 19px; }
.blog-card p { font-size: 14.5px; color: var(--ink2); }
.blog-card__meta { font-size: 12.5px; color: var(--mut); }
.blog-cta { margin-top: 26px; }
.post { font-size: 16.5px; color: #3d4a63; }
.post h2 { margin: 34px 0 12px; }
.post p { margin-bottom: 14px; }

/* ---------- Адаптив ---------- */
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; gap: 30px; }
  .hero__copy { max-width: 720px; }
  .hero__outcomes .hero__strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__outcomes .hero__strip > a:nth-child(3) { border-left: 0; }
  .hero__outcomes .hero__strip > a:nth-child(n+3) { border-top: 1px solid var(--night-line); }
  .steps { grid-template-columns: 1fr 1fr; }
  .price { grid-template-columns: 1fr; }
  .areas { grid-template-columns: 1fr; }
  .case-dossier { grid-template-columns: 1fr; }
  .calc-dual { grid-template-columns: 1fr; }
  .calc-box + .calc-box { border-left: 0; border-top: 2px solid var(--ink); }
  .tco__grid { grid-template-columns: 1fr; }
  .tco__col { border-right: 0; border-bottom: 1px solid var(--line); }
  .tco__col:last-child { border-bottom: 0; }
  .admin__grid { grid-template-columns: 220px 1fr; }
  .admin__side { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--night-line); display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .owner { grid-template-columns: 1fr; gap: 26px; }
  .owner__photo img { max-width: 280px; }
  .cta { grid-template-columns: 1fr; gap: 30px; padding: 30px; }
  .top__nav { display: none; }
  .top > .btn { display: none; }
  .top__burger { display: inline-flex; }
  .top__nav.is-open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 2px solid var(--ink);
    flex-direction: column;
    align-items: stretch;
    padding: 10px var(--gut) 18px;
    gap: 2px;
  }
  .top__nav.is-open a:not(.nav-cta) { padding: 12px 6px; border-top: 1px solid var(--line); border-radius: 0; font-size: 16px; }
  .top__nav.is-open .nav-cta { margin: 12px 0 0; text-align: center; }
}

@media (max-width: 720px) {
  :root { --gut: 18px; }
  body { font-size: 15.5px; }
  main > section:not(.hero) { padding: 48px 0; }
  .hero { padding: 64px 0 68px; }
  .hero__strip,
  .hero__outcomes .hero__strip { grid-template-columns: 1fr; }
  .hero__strip > div + div,
  .hero__strip > a + a { border-left: 0; border-top: 1px solid var(--night-line); }
  .stage { display: block; }
  .stage__bg { padding: 16px; min-height: 0; }
  .wshop__hero { height: auto; display: flex; flex-direction: column; }
  .wshop__hero img { height: 170px; }
  .wshop__offer { position: static; width: auto; border-radius: 0 0 14px 14px; }
  .wshop__perks, .wshop__steps { grid-template-columns: 1fr 1fr; }
  .wshop__catalog header { flex-direction: column; align-items: flex-start; gap: 2px; }
  .wshop__foot { flex-direction: column; align-items: flex-start; gap: 6px; }
  .wshop__foot span:last-child { margin-left: 0; }
  .wshop__nav, .wshop__search, .wshop__util span:nth-child(3) { display: none; }
  .wshop__util { flex-wrap: wrap; row-gap: 2px; }
  .stage__note { left: 16px; top: 16px; right: 16px; max-width: none; }
  .stage:has(.bg-site) .stage__note { top: 128px; }
  .chat.chat--float,
  .chat.chat--float.chat--avito {
    position: static;
    display: block;
    width: calc(100% - 32px);
    margin: 16px;
    grid-area: auto;
    justify-self: stretch;
    align-self: auto;
  }
  .admin__grid { grid-template-columns: 1fr; }
  .admin__list { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--night-line); }
  .admin__list .dlg { min-width: 220px; }
  .admin__side { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .wshop__grid { grid-template-columns: 1fr 1fr; }
  .avcard__body { grid-template-columns: 1fr; }
  .drive { grid-template-columns: 1fr; }
  .cta { padding: 24px 20px; }
  .spec-table th, .spec-table td { padding: 12px 14px; }
  .top__in { gap: 12px; }
  .brand__sub { display: none; }
}

/* ---------- Шрифт Golos (локальные файлы) ---------- */
@font-face { font-family: "Golos Text"; src: url("golos-text-cyrillic.woff2") format("woff2"); font-weight: 400 900; font-display: swap; unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Golos Text"; src: url("golos-text-latin.woff2") format("woff2"); font-weight: 400 900; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122; }

/* ---------- Полоса с руководителем под hero ---------- */
.founder-strip {
  background: var(--paper2);
  border-bottom: 1px solid var(--line);
}
.founder-strip__in {
  margin: 0 auto;
  padding-top: 26px;
  padding-bottom: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}
.founder-strip img {
  flex: none;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  border: 2px solid var(--pine);
}
.founder-strip blockquote {
  margin: 0;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.45;
  font-weight: 600;
  color: var(--ink);
}
.founder-strip figcaption { margin-top: 4px; font-size: 14px; color: var(--mut); }
.founder-strip figcaption b { color: var(--ink); }
@media (max-width: 600px) {
  .founder-strip__in { justify-content: flex-start; gap: 14px; padding-top: 20px; padding-bottom: 20px; }
  .founder-strip img { width: 56px; height: 56px; }
}

/* Анимация hero на паузе, когда блок ушёл с экрана (класс ставит app.js) */
.hero--paused * { animation-play-state: paused !important; }
