/* ITKS testsite — шапка и баннеры «паттерн вариант 1», живые цифры ITKS Pulse, быстрые каналы, «Как мы работаем» + презентация, единый объём */

/* ——— Шапка и баннеры страниц: паттерн «вариант 1», левый верх пустой, к правому низу плавно проявляется ——— */
.hero-screen-bg,
.page-banner-bg { background: #0e0e11 !important; }
.hero-screen-bg > img,
.hero-screen-bg > canvas,
.page-banner-bg > img,
.page-banner-bg > canvas { display: none !important; }
.hero-screen-bg::after,
.page-banner-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/brand/pattern/hero-v1.svg?v=p1009a") right bottom / cover no-repeat;
  pointer-events: none;
}
.page-banner-bg::after { background-image: url("/brand/pattern/banner-v1.svg?v=p1009a"); }
@media (max-width: 768px) {
  .hero-screen-bg::after,
  .page-banner-bg::after { background-image: url("/brand/pattern/hero-v1-m.svg?v=p1009a"); }
}

@media (min-aspect-ratio: 2.1/1) and (min-width: 900px) {
  .hero-screen-bg::after { background-image: url("/brand/pattern/hero-v1-21x9.svg?v=p1009e"); }
  .page-banner-bg::after { background-image: url("/brand/pattern/banner-v1-21x9.svg?v=p1009e"); }
}
@media (min-aspect-ratio: 2.8/1) and (min-width: 900px) {
  .hero-screen-bg::after { background-image: url("/brand/pattern/hero-v1-32x9.svg?v=p1009e"); }
  .page-banner-bg::after { background-image: url("/brand/pattern/banner-v1-32x9.svg?v=p1009e"); }
}
/* ——— ITKS Pulse: живые цифры ——— */
.itks-pulse {
  margin-top: 2rem;
  border-radius: 18px;
  background-color: var(--sc-glass);
  background-image: var(--v-gloss);
  box-shadow: var(--v-card);
  color: var(--sc-text-2);
  padding: 18px 20px 20px;
  position: relative;
  overflow: hidden;
}
.itks-pulse__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; position: relative; z-index: 1; }
.itks-pulse__title { font-family: var(--site-font-heading); font-weight: 800; font-size: 1.05rem; letter-spacing: -.01em; color: var(--sc-text); display: inline-flex; align-items: center; gap: 10px; }
.itks-pulse__dot { width: 9px; height: 9px; border-radius: 50%; background: #e5493d; box-shadow: 0 0 0 0 rgba(229, 73, 61, .7); animation: itks-pulse-dot 1.8s ease-out infinite; }
@keyframes itks-pulse-dot { 0% { box-shadow: 0 0 0 0 rgba(229, 73, 61, .7); } 70% { box-shadow: 0 0 0 10px rgba(229, 73, 61, 0); } 100% { box-shadow: 0 0 0 0 rgba(229, 73, 61, 0); } }
@media (prefers-reduced-motion: reduce) { .itks-pulse__dot { animation: none; } }
.itks-pulse__meta { font-size: .85rem; color: var(--sc-text-3); }
.itks-pulse__grid { margin-top: 14px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; position: relative; z-index: 1; }
.itks-pulse__cell { border-radius: 14px; background-color: var(--sc-glass-2); background-image: var(--v-gloss-sm); box-shadow: var(--v-block); padding: 14px 14px 12px; min-width: 0; }
.itks-pulse__num { font-family: var(--site-font-heading); font-weight: 800; font-size: 2rem; line-height: 1.05; letter-spacing: -.02em; color: var(--sc-text); white-space: nowrap; }
.itks-pulse__num small { font-size: .95rem; font-weight: 700; color: var(--sc-accent); margin-left: 4px; letter-spacing: 0; }
.itks-pulse__lbl { margin-top: 6px; font-size: .875rem; line-height: 1.35; color: var(--sc-text-3); }
.itks-pulse__note { margin-top: 12px; font-size: .82rem; color: var(--sc-text-3); position: relative; z-index: 1; }
@media (max-width: 900px) { .itks-pulse__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .itks-pulse { padding: 16px 14px; } .itks-pulse__num { font-size: 1.6rem; } }

/* ——— Быстрые каналы: портал заявок и Telegram ——— */
.itks-ch { margin-top: 22px; }
.itks-ch__lbl { font-size: .84rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #6b6b73; }
.itks-ch__row { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 8px; }
.itks-ch__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px 0 12px;
  border-radius: 8px;
  border: 1px solid rgba(14, 14, 17, .16);
  background: #fff;
  color: #0e0e11;
  font-weight: 600;
  font-size: .9rem;
  text-decoration: none;
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.itks-ch__btn:hover { border-color: #e5493d; transform: translateY(-1px); box-shadow: 0 8px 18px -10px rgba(14, 14, 17, .45); }
.itks-ch__btn svg { width: 20px; height: 20px; flex: none; }
.itks-ch__btn--portal svg { color: #e5493d; }
.itks-ch__btn--tg svg { color: #2a9bd8; }
.itks-ch__hint { margin-top: 8px; font-size: .875rem; line-height: 1.4; color: #6b6b73; max-width: 34rem; }
.itks-ch-wrap { margin-bottom: 2.5rem; display: flex; justify-content: center; text-align: center; }
.itks-ch-wrap .itks-ch { margin-top: 0; }
.itks-ch-wrap .itks-ch__row { justify-content: center; }
.itks-ch-wrap .itks-ch__hint { margin-left: auto; margin-right: auto; }

/* ——— Как мы работаем + презентация ITKS Pulse ——— */
.itks-how {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
  scroll-margin-top: 90px;
}
.itks-how__main,
.itks-how__deck { border-radius: 18px; background-color: var(--sc-glass); background-image: var(--v-gloss); box-shadow: var(--v-card); }
.itks-how__main { padding: 26px 26px 22px; }
.itks-how__title { margin-top: 10px; font-family: var(--site-font-heading); font-weight: 800; font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); line-height: 1.15; letter-spacing: -.02em; color: var(--sc-text); }
.itks-how__lead { margin-top: 10px; font-size: .95rem; line-height: 1.5; color: var(--sc-text-2); max-width: 40rem; }
.itks-how__steps { margin: 20px 0 0; padding: 0; list-style: none; counter-reset: how; display: grid; gap: 0; }
.itks-how__steps li { counter-increment: how; position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 14px; padding: 0 0 16px; }
.itks-how__steps li:last-child { padding-bottom: 0; }
.itks-how__steps li::before {
  content: counter(how);
  grid-row: span 2;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background-color: var(--sc-face);
  background-image: var(--v-gloss-sm);
  box-shadow: var(--v-chip);
  color: var(--sc-text);
  font: 800 .9rem/1 var(--site-font-heading);
  position: relative;
  z-index: 1;
}
.itks-how__steps li:first-child::before { background-color: var(--sc-accent); background-image: none; box-shadow: inset 0 -2px 0 #0000002e, 0 8px 16px -10px #00000055; color: #fff; }
.itks-how__steps li:not(:last-child)::after { content: ""; position: absolute; left: 16.5px; top: 38px; bottom: 4px; width: 1px; background: var(--sc-line); }
.itks-how__steps b { font-weight: 700; font-size: 1rem; line-height: 1.3; color: var(--sc-text); padding-top: 6px; }
.itks-how__steps span { margin-top: 3px; font-size: .88rem; line-height: 1.45; color: var(--sc-text-2); }
.itks-how__deck { padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.itks-how__shot { position: relative; display: block; border-radius: 12px; overflow: hidden; box-shadow: var(--v-block); }
.itks-how__shot img { display: block; width: 100%; height: auto; aspect-ratio: 760 / 428; transition: transform .35s ease; }
.itks-how__shot:hover img { transform: scale(1.025); }
.itks-how__badge { position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; background: rgba(14, 14, 17, .82); color: #fff; font-size: .8125rem; font-weight: 600; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.itks-how__badge svg { width: 15px; height: 15px; color: #e5493d; }
.itks-how__cap { font-size: .9rem; line-height: 1.45; color: var(--sc-text-3); }
.itks-how__cap b { color: var(--sc-text); }
.itks-how__more { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.itks-how__more a { display: block; text-decoration: none; color: var(--sc-text-3); font-size: .82rem; font-weight: 600; line-height: 1.3; }
.itks-how__more img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 8px; box-shadow: var(--v-chip); transition: box-shadow .15s, transform .15s; }
.itks-how__more span { display: block; margin-top: 7px; }
.itks-how__more a:hover { color: var(--sc-text); }
.itks-how__more a:hover img { transform: translateY(-1px); box-shadow: var(--v-chip), var(--v-hover); }
.itks-how__btns { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; }
.itks-how__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px 0 13px;
  border-radius: 12px;
  border: 0;
  background-color: var(--sc-face);
  background-image: var(--v-gloss-sm);
  box-shadow: var(--v-chip);
  color: var(--sc-text);
  font-weight: 600;
  font-size: .9rem;
  text-decoration: none;
  transition: box-shadow .15s, transform .15s, background-color .15s;
}
.itks-how__btn:hover { transform: translateY(-1px); box-shadow: var(--v-chip), var(--v-hover); }
.itks-how__btn svg { width: 19px; height: 19px; flex: none; color: var(--sc-accent); }
.itks-how__btn--main { flex: 1 1 auto; justify-content: center; background-color: var(--sc-accent); background-image: none; box-shadow: inset 0 -2px 0 #0000002e, 0 8px 16px -10px #00000055; color: #fff; }
.itks-how__btn--main svg { color: #fff; }
.itks-how__btn--main:hover { background-color: var(--itks-red-hi, #ff4d3d); box-shadow: var(--v-btn); }
@media (max-width: 900px) { .itks-how { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) { .itks-how__main { padding: 20px 16px 18px; } .itks-how__deck { padding: 14px; } .itks-how__btn { flex: 1 1 100%; justify-content: center; } }
@media (prefers-reduced-motion: reduce) { .itks-how__shot img { transition: none; } }


/* ——— Разработка и интеграции: сервисы под процессы клиента под ключ ——— */
.itks-dev { scroll-margin-top: 80px; background: transparent; }
.itks-dev__title { color: var(--sc-text); }
.itks-dev__title span { color: var(--sc-accent); }
.itks-dev__lead { margin-top: 14px; max-width: 46rem; font-size: 1.05rem; line-height: 1.55; color: var(--sc-text-2); }
.itks-dev__grid { margin-top: 2.25rem; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 18px; align-items: stretch; }
.itks-dev__card { position: relative; overflow: hidden; border-radius: 20px; padding: 26px 26px 22px; background-color: var(--sc-glass); background-image: var(--v-gloss); box-shadow: var(--v-card); color: var(--sc-text); }
.itks-dev__card h3 { margin-top: 16px; font-family: var(--site-font-heading); font-weight: 800; font-size: 1.4rem; line-height: 1.2; letter-spacing: -.015em; }
.itks-dev__sub { margin-top: 4px; font-size: .92rem; color: var(--sc-text-3); }
.itks-dev__ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background-color: var(--sc-accent); background-image: none; box-shadow: inset 0 -2px 0 #0000002e, 0 8px 16px -10px #00000055; color: #fff; }
.itks-dev__ico svg { width: 24px; height: 24px; }
.itks-dev__list { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.itks-dev__list li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; }
.itks-dev__list li > svg { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background-color: var(--sc-face); background-image: var(--v-gloss-sm); box-shadow: var(--v-chip); color: var(--sc-accent); }
.itks-dev__list span { font-size: .92rem; line-height: 1.45; color: var(--sc-text-2); }
.itks-dev__list b { display: block; font-size: 1rem; font-weight: 700; color: var(--sc-text); }

.itks-dev__card:not(.itks-dev__card--dark) { display: flex; flex-direction: column; }
.itks-dev__gains { margin-top: auto; padding-top: 22px; }
.itks-dev__gains-t { font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sc-accent-ink); margin-bottom: 10px; }
.itks-dev__gains > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.itks-dev__gains span { display: block; padding: 14px 14px 13px; border-radius: 14px; background-color: var(--sc-glass); background-image: var(--v-gloss-sm); box-shadow: var(--v-block); font-size: .875rem; line-height: 1.4; color: var(--sc-text-3); }
.itks-dev__gains b { display: block; margin-bottom: 3px; font-family: var(--site-font-heading); font-size: 1.02rem; font-weight: 800; line-height: 1.2; color: var(--sc-text); }
.itks-dev__card--dark { color: #f4f4f5; background-color: #141418; background-image: url("/brand/pattern/banner-v1.svg?v=p1009a"), var(--vd-gloss); background-size: auto 115%, auto; background-position: right bottom, 0 0; background-repeat: no-repeat; box-shadow: var(--vd-card); }
.itks-dev__card--dark::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, rgba(20, 20, 24, .96) 0%, rgba(20, 20, 24, .86) 55%, rgba(20, 20, 24, .55) 100%); pointer-events: none; }
.itks-dev__card--dark > * { position: relative; }
.itks-dev__card--dark .itks-dev__sub { color: #a9a9b1; }
.itks-dev__card--dark .itks-dev__list li > svg { background: #24242a; box-shadow: inset 0 1px 0 #ffffff14, 0 2px 4px #0006; color: #ff6a5c; }
.itks-dev__card--dark .itks-dev__list span { color: #b9b9c0; }
.itks-dev__card--dark .itks-dev__list b { color: #f4f4f5; }
.itks-dev__hub { display: block; width: 100%; max-width: 520px; height: auto; margin: 14px auto 0; font-family: var(--site-font-body); }
.itks-dev__lines line { stroke: #e5493d; stroke-opacity: .38; stroke-width: 1.2; stroke-dasharray: 3 4; }
.itks-dev__core { fill: #e5493d; filter: drop-shadow(0 8px 18px rgba(229, 73, 61, .55)); }
.itks-dev__core-t { fill: #fff; font: 800 15px var(--site-font-heading); text-anchor: middle; letter-spacing: .04em; }
.itks-dev__nodes rect { fill: #222228; stroke: #ffffff1f; }
.itks-dev__nodes text { fill: #ececef; font-size: 12.5px; font-weight: 600; text-anchor: middle; }

.itks-dev__steps { margin: 18px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.itks-dev__steps li { border-radius: 16px; padding: 18px 18px 16px; background-color: var(--sc-glass); background-image: var(--v-gloss-sm); box-shadow: var(--v-block); }
.itks-dev__n { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background-color: var(--sc-face); background-image: var(--v-gloss-sm); box-shadow: var(--v-chip); font: 800 .9rem/1 var(--site-font-heading); color: var(--sc-text); }
.itks-dev__steps li:first-child .itks-dev__n { background-color: var(--sc-accent); background-image: none; box-shadow: inset 0 -2px 0 #0000002e, 0 8px 16px -10px #00000055; color: #fff; }
.itks-dev__steps b { display: block; margin-top: 12px; font-size: 1rem; font-weight: 700; color: var(--sc-text); }
.itks-dev__steps p { margin-top: 5px; font-size: .925rem; line-height: 1.45; color: var(--sc-text-2); }

.itks-dev__foot { margin-top: 18px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 18px; align-items: stretch; }
.itks-dev__rules { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.itks-dev__rules li { display: flex; align-items: center; gap: 9px; padding: 12px 14px; border-radius: 12px; background-color: var(--sc-face); background-image: var(--v-gloss-sm); box-shadow: var(--v-chip); font-size: .88rem; font-weight: 600; line-height: 1.3; color: var(--sc-text); }
.itks-dev__rules svg { width: 16px; height: 16px; flex: none; color: var(--sc-accent); }
.itks-dev__case { display: flex; flex-direction: column; gap: 14px; justify-content: space-between; border-radius: 16px; padding: 18px 20px; background-color: var(--sc-glass); background-image: var(--v-gloss-sm); box-shadow: var(--v-block); }
.itks-dev__case p { font-size: .92rem; line-height: 1.5; color: var(--sc-text-2); }
.itks-dev__case b { color: var(--sc-text); }
.itks-dev__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.itks-dev__btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 12px; background-color: var(--sc-face); background-image: var(--v-gloss-sm); box-shadow: var(--v-chip); color: var(--sc-text); font-weight: 600; font-size: .92rem; text-decoration: none; transition: box-shadow .15s, transform .15s; }
.itks-dev__btn:hover { transform: translateY(-1px); box-shadow: var(--v-chip), var(--v-hover); }
.itks-dev__btn svg { width: 18px; height: 18px; color: var(--sc-accent); }
.itks-dev__btn--main { background-color: var(--sc-accent); background-image: none; box-shadow: inset 0 -2px 0 #0000002e, 0 8px 16px -10px #00000055; color: #fff; }
.itks-dev__btn--main:hover { box-shadow: var(--v-btn); }

@media (max-width: 1024px) {
  .itks-dev__grid, .itks-dev__foot { grid-template-columns: minmax(0, 1fr); }
  .itks-dev__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .itks-dev__card { padding: 20px 16px 18px; }
  .itks-dev__steps, .itks-dev__rules, .itks-dev__gains > div { grid-template-columns: minmax(0, 1fr); }
  .itks-dev__btn { flex: 1 1 100%; }
}
/* ——— Переключатель вида (только тестовая витрина) ——— */
.itks-look {
  position: fixed;
  left: 14px;
  bottom: 14px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  background: rgba(14, 14, 17, .9);
  box-shadow: 0 10px 26px -10px rgba(0, 0, 0, .6);
  font: 600 12px/1 var(--site-font-body);
  color: #b7b7be;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.itks-look span { padding: 0 8px 0 10px; }
.itks-look button { border: 0; background: transparent; color: #e6e6e8; padding: 8px 12px; border-radius: 999px; cursor: pointer; font: inherit; }
.itks-look button[aria-pressed="true"] { background: #e5493d; color: #fff; }
@media (max-width: 767px) { .itks-look { bottom: calc(72px + env(safe-area-inset-bottom)); left: 8px; font-size: 11px; opacity: .92; } .itks-look button { padding: 6px 10px; } .itks-look span { display: none; } }
@media print { .itks-look { display: none; } }

/* ═══════════ Объём: «Сцена после осветления» — яркость сайта + объёмный рецепт Сцены ═══════════
   По умолчанию светлый тон. «Средняя» (только тестовый переключатель) меняет одни цвета, объём тот же.
   Светлые секции: выпуклое стекло, вдавленные поля, красная выпуклая кнопка.
   Тёмные секции (шапка, предложение, «Когда пишут», подвал): тот же объём в тёмной гамме. */
html {
  --sc-text: #0e0e11;
  --sc-text-2: #34343b;
  --sc-text-3: #595961;
  --sc-glass: #f6f5f3;
  --sc-glass-2: #edebe8;
  --sc-face: #fcfbfa;
  --sc-field: #e9e7e4;
  --sc-line: rgba(14, 14, 17, .12);
  --sc-accent: #e5493d;
  --sc-accent-ink: #c4372b;
  /* «Светлая»: объём выше, чем у «Средней» — глубже тень, ярче блик, чётче нижняя грань */
  --v-gloss: linear-gradient(180deg, #ffffffeb, #ffffff40 28%, #fff0 54%, #0c204014);
  --v-gloss-sm: linear-gradient(180deg, #ffffffde, #ffffff18 46%, #fff0 64%);
  --v-card: inset 0 1px 0 #fff, inset 0 0 0 1px #ffffff73, inset 0 -3px 0 #0c204029, 0 1px 2px #0c204029, 0 10px 18px -6px #0c204045, 0 22px 40px -12px #0c204061, 0 48px 86px -28px #0c204085;
  --v-block: inset 0 1px 0 #fff, inset 0 0 0 1px #ffffff47, inset 0 -3px 0 #0c204024, 0 1px 2px #0c204029, 0 6px 12px -3px #0c204042, 0 18px 30px -10px #0c204066;
  --v-chip: inset 0 1px 0 #fff, inset 0 -2px 0 #0c20402e, 0 1px 2px #0c20402e, 0 8px 16px -5px #0c20405c;
  --v-btn: inset 0 1px 0 #ffffff99, inset 0 -3px 0 #00000040, 0 2px 4px #0c204040, 0 16px 30px -8px #e5493dd9;
  --v-field: inset 0 3px 8px #0c204047, inset 0 1px 2px #0c204029, inset 0 -1px 0 #ffffffe8;
  --v-hover: 0 22px 36px -10px #0c204078;
  --vd-face: #1b1b20;
  --vd-gloss: linear-gradient(180deg, #ffffff16, #ffffff04 40%, #0000000f);
  --vd-card: inset 0 1px 0 #ffffff17, inset 0 -1px 0 #00000059, 0 2px 4px #00000059, 0 18px 36px -12px #000000b3;
  --vd-block: inset 0 1px 0 #ffffff14, inset 0 -2px 0 #0000004d, 0 2px 3px #00000059, 0 10px 18px -8px #000000b3;
}
/* фирменная палитра и шрифт заголовков закреплены: сборка до загрузки site-content.json ставит в style старые сине-зелёные цвета */
html {
  --site-navy: #0e0e11 !important;
  --site-accent: #e5493d !important;
  --site-mist: #e6e4e2 !important;
  --site-page: #f1f0ef !important;
  --color-navy: #0e0e11 !important;
  --color-cyan: #e5493d !important;
  --color-mist: #e6e4e2 !important;
  --background: #f1f0ef !important;
  --primary: #e5493d !important;
  --primary-foreground: #0e0e11 !important;
  --ring: #e5493d !important;
  --site-font-heading: var(--font-manrope), var(--font-sans), sans-serif !important;
  --heading-weight: 800 !important;
  --hero-title: 36px;
  --hero-company: .86;
  --text-heading: 32px;
  --text-body: 18px;
  --section-y: 56px;
  --plate-pad: 24px;
  --btn-h: 48px;
  --site-font-body: var(--font-sans), ui-sans-serif, sans-serif;
  --body-weight: 400;
  --heading-tracking: -.02em;
  --body-tracking: 0em;
  --heading-leading: 1.2;
  --body-leading: 1.65;
}
/* смена темы */
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .45s; animation-timing-function: cubic-bezier(.4, 0, .2, 1); }
html.itks-look-anim, html.itks-look-anim *, html.itks-look-anim *::before, html.itks-look-anim *::after {
  transition: background-color .45s ease, color .45s ease, border-color .45s ease, fill .45s ease, stroke .45s ease, box-shadow .45s ease !important;
}
html[data-itks-look="scena"] {
  --site-page: #9d9896 !important;
  --site-mist: #96908e !important;
  --sc-text-2: #2c2c31;
  --sc-text-3: #45454c;
  --sc-glass: #aba6a3;
  --sc-glass-2: #a19c99;
  --sc-face: #c8c4c2;
  --sc-field: #a29d9b;
  --sc-line: rgba(14, 14, 17, .2);
  --sc-accent: #e0392a;
  --sc-accent-ink: #a3241a;
  --v-gloss: linear-gradient(180deg, #ffffffeb, #ffffff40 28%, #fff0 54%, #0c204014);
  --v-gloss-sm: linear-gradient(180deg, #ffffffde, #ffffff18 46%, #fff0 64%);
  --v-card: inset 0 1px 0 #fff, inset 0 0 0 1px #ffffff73, inset 0 -3px 0 #0c204029, 0 1px 2px #0c204029, 0 10px 18px -6px #0c204045, 0 22px 40px -12px #0c204061, 0 48px 86px -28px #0c204085;
  --v-block: inset 0 1px 0 #fff, inset 0 0 0 1px #ffffff47, inset 0 -3px 0 #0c204024, 0 1px 2px #0c204029, 0 6px 12px -3px #0c204042, 0 18px 30px -10px #0c204066;
  --v-chip: inset 0 1px 0 #fff, inset 0 -2px 0 #0c20402e, 0 1px 2px #0c20402e, 0 8px 16px -5px #0c20405c;
  --v-btn: inset 0 1px 0 #ffffff99, inset 0 -3px 0 #00000040, 0 2px 4px #0c204040, 0 16px 30px -8px #e5493dd9;
  --v-field: inset 0 3px 8px #0c204047, inset 0 1px 2px #0c204029, inset 0 -1px 0 #ffffffe8;
  --v-hover: 0 22px 36px -10px #0c204078;
  background: #9d9896;
}
html[data-itks-look="scena"] body { background: #9d9896; }

/* светлые секции «Сцены»: текст темнее, чтобы читался на тёплом сером */
html[data-itks-look="scena"] main section:not(.bg-navy):not(.hero-screen):not(.page-banner):not(.bg-cyan) :is(.text-zinc-600, .text-zinc-700, .text-muted-foreground) { color: var(--sc-text-2) !important; }
html[data-itks-look="scena"] main section:not(.bg-navy):not(.hero-screen):not(.page-banner):not(.bg-cyan) .text-zinc-500 { color: var(--sc-text-3) !important; }
html[data-itks-look="scena"] main section:not(.bg-navy):not(.hero-screen):not(.page-banner):not(.bg-cyan) :is(.kicker, .text-cyan) { color: var(--sc-accent-ink) !important; }

/* ——— Светлые секции: карточки и плашки — выпуклое стекло ——— */
html main section:not(.bg-navy):not(.hero-screen):not(.page-banner):not([data-section-id="proposal"]) :is(
  article.bg-mist, article.bg-white, article.rounded-lg.border,
  div.rounded-lg.bg-mist, div.rounded-xl.bg-white,
  a.rounded-lg.bg-mist, li.rounded-lg.border,
  div.rounded-lg.bg-navy, article.rounded-lg.bg-navy
) {
  background-color: var(--sc-glass) !important;
  background-image: var(--v-gloss) !important;
  box-shadow: var(--v-card) !important;
  border-color: transparent !important;
  border-radius: 18px !important;
}
html main section:not(.bg-navy):not(.hero-screen):not(.page-banner) a.rounded-lg.bg-mist { transition: box-shadow .2s ease, transform .2s ease; }
html main section:not(.bg-navy):not(.hero-screen):not(.page-banner) a.rounded-lg.bg-mist:hover { box-shadow: var(--v-card), var(--v-hover) !important; transform: translateY(-2px); }

/* плашки поменьше: шаги, пункты, вопросы */
html main section:not(.bg-navy):not(.hero-screen):not(.page-banner) :is(li.rounded-lg.bg-mist, li.flex.rounded-lg.bg-mist, div.rounded-lg.bg-mist.px-5) {
  background-color: var(--sc-glass) !important;
  background-image: var(--v-gloss-sm) !important;
  box-shadow: var(--v-block) !important;
  border-color: transparent !important;
  border-radius: 14px !important;
}
/* чипы внутри карточек */
html main section:not(.bg-navy):not(.hero-screen):not(.page-banner) :is(article, div) li.rounded-md.bg-mist {
  background-color: var(--sc-glass-2) !important;
  background-image: var(--v-gloss-sm) !important;
  box-shadow: var(--v-chip) !important;
  border-radius: 12px !important;
}

/* тёмные плашки в светлых секциях (цифры, цены) — светлые выпуклые, акцент — красный текст */
html main section:not(.bg-navy):not(.hero-screen):not(.page-banner) :is(div.rounded-lg.bg-navy, article.rounded-lg.bg-navy) { color: var(--sc-text) !important; }
html main section:not(.bg-navy):not(.hero-screen):not(.page-banner) :is(div.rounded-lg.bg-navy, article.rounded-lg.bg-navy) .text-white { color: var(--sc-text) !important; }
html main section:not(.bg-navy):not(.hero-screen):not(.page-banner) :is(div.rounded-lg.bg-navy, article.rounded-lg.bg-navy) :is(.text-white\/80, .text-white\/70, .text-white\/75) { color: var(--sc-text-3) !important; }
html main section:not(.bg-navy):not(.hero-screen):not(.page-banner) :is(div.rounded-lg.bg-navy, article.rounded-lg.bg-navy) .text-cyan { color: var(--sc-accent) !important; }

/* «Один ответственный»: шапка карточки светлая, ячейки — плашки */
html main section:not(.bg-navy) div.rounded-xl.bg-white > div.bg-navy { background: transparent !important; color: var(--sc-text) !important; border-bottom: 1px solid var(--sc-line); }
html main section:not(.bg-navy) div.rounded-xl.bg-white > div.bg-navy p:not(.text-cyan) { color: var(--sc-text) !important; }
html main section:not(.bg-navy) div.rounded-xl.bg-white > div.bg-navy :is(.text-white\/75, .text-white\/80) { color: var(--sc-text-2) !important; }
html main section:not(.bg-navy) div.rounded-xl.bg-white > div.bg-navy .text-cyan { color: var(--sc-accent) !important; }
html main section:not(.bg-navy) div.rounded-xl.bg-white .bg-mist.border-y { background: transparent !important; border-color: var(--sc-line) !important; }
html main section:not(.bg-navy) .grid.gap-px.bg-navy\/10 { background: transparent !important; gap: 10px !important; padding: 0 12px 12px; }
html main section:not(.bg-navy) .grid.gap-px.bg-navy\/10 > * { border-radius: 14px; background-color: var(--sc-glass-2) !important; background-image: var(--v-gloss-sm) !important; box-shadow: var(--v-block) !important; }
html main section:not(.bg-navy) span.rounded-full.bg-navy { background-color: #1b1b20 !important; background-image: var(--vd-gloss); box-shadow: inset 0 1px 0 #ffffff26, 0 2px 4px -1px #261e1a59; }

/* фото в блоках — без затемнения (в базовых стилях main img{filter:brightness(.7)}), скругление и мягкая тень, как у карточек */
html main img { filter: none !important; }
html main section:not(.bg-navy):not(.hero-screen):not(.page-banner) :is(div.overflow-hidden.rounded-lg, div.relative.overflow-hidden.rounded-lg):has(img) { border-radius: 18px !important; box-shadow: var(--v-block); }
html main section:not(.bg-navy) article.overflow-hidden > div.relative.bg-navy { background: var(--sc-glass-2) !important; }
html main section:not(.bg-navy) div.min-h-\[220px\].overflow-hidden.rounded-md.border { border-color: transparent !important; border-radius: 18px !important; box-shadow: var(--v-card) !important; }
html main section:not(.bg-navy) div.min-h-\[220px\].overflow-hidden.rounded-md.border > iframe { height: 100% !important; min-height: 240px; }

/* логотипы клиентов — светлые выпуклые плашки без рамки */
html .logo-plaques > li > :is(div, a) {
  border: 0 !important;
  border-radius: 18px !important;
  background-color: var(--sc-glass) !important;
  background-image: var(--v-gloss) !important;
  box-shadow: var(--v-card) !important;
}
@media (hover: hover) {
  html .logo-plaques > li > :is(div, a):hover { box-shadow: var(--v-block), var(--v-hover) !important; }
}
html .logo-plaques > li > :is(div, a) > p { color: var(--sc-text-3) !important; }

/* кнопки — красная выпуклая */
html :is(a, button).bg-cyan {
  background-color: var(--sc-accent) !important;
  background-image: none !important;
  box-shadow: inset 0 -2px 0 #0000002e, 0 8px 16px -10px #00000055 !important;
  border-radius: 12px !important;
  transition: background-color .15s, transform .15s;
}
html :is(a, button).bg-cyan:hover { background-color: #ff4d3d !important; background-image: none !important; transform: translateY(-1px); }
html main div.rounded-full.bg-cyan { background-image: none !important; box-shadow: inset 0 -2px 0 #0000002e; }

/* форма заявки — светлая выпуклая карточка, поля в ней вдавленные */
html main section:not(.bg-navy) form.flex.flex-col.gap-4 {
  padding: 24px;
  border-radius: 20px;
  background-color: var(--sc-glass);
  background-image: var(--v-gloss);
  box-shadow: var(--v-card);
}
@media (max-width: 480px) { html main section:not(.bg-navy) form.flex.flex-col.gap-4 { padding: 18px 14px; border-radius: 18px; } }

/* поля — вдавленные, рамка нейтральная */
html main section:not(.bg-navy) :is(input[data-slot="input"], textarea, select) {
  background: var(--sc-field) !important;
  box-shadow: var(--v-field) !important;
  border-color: transparent !important;
  border-radius: 12px !important;
  color: var(--sc-text) !important;
}
html main section:not(.bg-navy) :is(input[data-slot="input"], textarea, select):focus { border-color: var(--sc-accent) !important; box-shadow: var(--v-field), 0 0 0 3px #e5493d2e !important; }
html main section:not(.bg-navy) div.rounded-md.border.bg-mist { background: var(--sc-glass-2) !important; box-shadow: var(--v-field); border-color: transparent !important; border-radius: 12px !important; }

/* быстрые каналы — выпуклые чипы */
html .itks-ch__btn { border-color: transparent; border-radius: 12px; background-color: var(--sc-face); background-image: var(--v-gloss-sm); box-shadow: var(--v-chip); }
html .itks-ch__btn:hover { box-shadow: var(--v-chip), var(--v-hover); }
html :is(.itks-ch__lbl, .itks-ch__hint) { color: var(--sc-text-3); }

/* ——— Тёмные секции: шапка сайта, первый экран, предложение, «Когда пишут» ——— */
html header .rounded-xl.bg-black\/35 {
  background-color: rgba(18, 18, 22, .74) !important;
  background-image: var(--vd-gloss) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 0 0 1px rgba(255,255,255,.28), var(--vd-card) !important;
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  backdrop-filter: blur(12px) saturate(1.2);
  border-radius: 16px !important;
}
html main :is(.hero-plate, .page-banner .rounded-xl.bg-black\/35, section .rounded-xl.bg-black\/35) {
  background-color: rgba(20, 20, 24, .62) !important;
  background-image: var(--vd-gloss) !important;
  box-shadow: var(--vd-card) !important;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-radius: 20px !important;
}
html main :is(.hero-plate, .page-banner .rounded-xl.bg-black\/35) {
  background-color: transparent !important;
  background-image: var(--vd-gloss), linear-gradient(100deg, rgba(18, 18, 22, .88) 0%, rgba(18, 18, 22, .74) 48%, rgba(18, 18, 22, .34) 76%, rgba(18, 18, 22, .1) 100%) !important;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
@media (max-width: 768px) {
  html main :is(.hero-plate, .page-banner .rounded-xl.bg-black\/35) {
    background-image: var(--vd-gloss), linear-gradient(180deg, rgba(18, 18, 22, .88) 0%, rgba(18, 18, 22, .72) 55%, rgba(18, 18, 22, .3) 100%) !important;
  }
}
html main article.rounded-lg.bg-black\/35 {
  background-color: rgba(28, 28, 33, .78) !important;
  background-image: var(--vd-gloss) !important;
  box-shadow: var(--vd-block) !important;
  border-radius: 14px !important;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
html main :is(a, button).border-white\/50 {
  background-color: #1d1d22 !important;
  background-image: var(--vd-gloss) !important;
  box-shadow: var(--vd-block) !important;
  border-color: transparent !important;
  border-radius: 12px !important;
  transition: box-shadow .15s, transform .15s;
}
html main :is(a, button).border-white\/50:hover { box-shadow: var(--vd-block), inset 0 0 0 1px var(--sc-accent) !important; transform: translateY(-1px); background-color: #232329 !important; }
html main section.bg-navy :is(article, .rounded-xl.bg-white, .rounded-lg):not(.proposal-sheet) {
  background-color: var(--vd-face) !important;
  background-image: var(--vd-gloss) !important;
  box-shadow: var(--vd-card) !important;
  border-color: transparent !important;
  border-radius: 18px !important;
}
html main :is(section, div) article.proposal-sheet { border-radius: 16px !important; background-color: var(--sc-glass) !important; background-image: var(--v-gloss-sm) !important; box-shadow: var(--vd-card) !important; }

/* нижняя панель на телефоне */
html .fixed.bottom-0.bg-white\/95 { background: color-mix(in srgb, var(--sc-glass) 94%, transparent) !important; box-shadow: inset 0 1px 0 #ffffffb3, 0 -10px 26px -10px #261e1a47 !important; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }

/* ——— ITKS_SITE_DARK_1009e — тема «Тёмная». Шрифты приглушённые, не белые. ——— */
html[data-itks-look="dark"] {
  --site-page: #121216 !important;
  --site-mist: #1a1a1f !important;
  --sc-text: #d4d4d8;
  --sc-text-2: #a1a1aa;
  --sc-text-3: #8a8a93;
  --sc-glass: #1c1c22;
  --sc-glass-2: #26262e;
  --sc-face: #2a2a32;
  --sc-field: #101014;
  --sc-line: rgba(255, 255, 255, .12);
  --sc-accent: #ff5a4a;
  --sc-accent-ink: #ff8a7c;
  color-scheme: dark;
  background: #121216;
  --v-gloss: linear-gradient(180deg, #ffffff28, #ffffff0c 32%, #0000 56%, #0000002e);
  --v-gloss-sm: linear-gradient(180deg, #ffffff1c, #0000 62%);
  --v-card: inset 0 1px 0 #ffffff30, inset 0 0 0 1px #ffffff14, inset 0 -3px 0 #00000073, 0 1px 2px #00000066, 0 14px 28px -8px #000000b3, 0 36px 70px -24px #000000e6;
  --v-block: inset 0 1px 0 #ffffff26, inset 0 -2px 0 #00000066, 0 1px 2px #0006, 0 10px 20px -8px #000a;
  --v-chip: inset 0 1px 0 #ffffff22, inset 0 -1px 0 #00000055, 0 4px 10px -4px #0008;
  --v-btn: inset 0 1px 0 #ffffff66, inset 0 -3px 0 #00000066, 0 2px 4px #0006, 0 14px 28px -8px #ff4d3db3;
  --v-field: inset 0 3px 7px #000000a6, inset 0 1px 2px #0006, inset 0 -1px 0 #ffffff1a;
  --v-hover: 0 18px 32px -10px #000c;
  --vd-face: #16161a;
  --vd-gloss: linear-gradient(180deg, #ffffff1e, #ffffff08 40%, #00000018);
}
html[data-itks-look="dark"] body { background: #121216; color: var(--sc-text); }
html[data-itks-look="dark"] main section:not(.hero-screen):not(.page-banner) {
  background-color: #121216 !important;
  color: var(--sc-text);
}
html[data-itks-look="dark"] main section.bg-navy { background-color: #0e0e11 !important; }
html[data-itks-look="dark"] main section:not(.hero-screen):not(.page-banner) :is(h1, h2, h3, h4, .type-heading, .text-navy, .text-zinc-900, .text-zinc-800, .text-zinc-950) {
  color: var(--sc-text) !important;
}
html[data-itks-look="dark"] main section:not(.hero-screen):not(.page-banner) :is(.text-zinc-600, .text-zinc-700, .text-muted-foreground) {
  color: var(--sc-text-2) !important;
}
html[data-itks-look="dark"] main section:not(.hero-screen):not(.page-banner) .text-zinc-500 { color: var(--sc-text-3) !important; }
html[data-itks-look="dark"] main section:not(.hero-screen):not(.page-banner) :is(.kicker, .text-cyan) { color: var(--sc-accent-ink) !important; }
html[data-itks-look="dark"] footer {
  background: #0e0e11 !important;
  color: var(--sc-text-2) !important;
}
html[data-itks-look="dark"] footer :is(h2, h3, .text-white, strong) { color: var(--sc-text) !important; }

/* ——— ITKS_SITE_HERO_1009k — баннер по высоте внутреннего блока, сам блок объёмнее ——— */
.hero-screen.hero-screen--full { min-height: 0 !important; height: auto !important; }
html main .hero-screen .hero-plate.rounded-xl {
  background-color: rgba(16, 16, 20, .78) !important;
  background-image: linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.04) 34%, transparent 58%) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.38), inset 0 -3px 0 rgba(0,0,0,.4), 0 2px 4px rgba(0,0,0,.28), 0 22px 44px -14px rgba(0,0,0,.62), 0 48px 90px -32px rgba(0,0,0,.72) !important;
  -webkit-backdrop-filter: blur(12px) saturate(1.15);
  backdrop-filter: blur(12px) saturate(1.15);
  border-radius: 22px !important;
}

/* ——— ITKS_SITE_RIGHT_1009k — паттерн еле виден, в светлой и в тёмной ——— */
html { --itks-block: min(90rem, 100vw); }
html::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: url("/brand/pattern/page-right-color.svg?v=p1009k") right center / cover no-repeat;
  opacity: .07;
  -webkit-mask-image: linear-gradient(90deg, transparent calc(50% + var(--itks-block) / 6 - 22rem), #000 calc(50% + var(--itks-block) / 6));
  mask-image: linear-gradient(90deg, transparent calc(50% + var(--itks-block) / 6 - 22rem), #000 calc(50% + var(--itks-block) / 6));
}
html[data-itks-look="dark"]::before { opacity: .09; }
html body > * { position: relative; z-index: 1; }
html:not([data-itks-look="dark"]):not([data-itks-look="scena"]) { background-color: #f4f2f0; }
html:not([data-itks-look="dark"]) body { background: transparent; }
html:not([data-itks-look="dark"]) main section:not(.hero-screen):not(.page-banner):not(.bg-navy):not(.bg-cyan) {
  background-color: transparent !important;
}
html[data-itks-look="dark"] main section:not(.hero-screen):not(.page-banner) {
  background-color: transparent !important;
}

/* ——— ITKS_SITE_PAT_FADE_1009m — плавный стык паттернов на всех границах ——— */
.hero-screen-bg::after,
.page-banner-bg::after {
  -webkit-mask-image: linear-gradient(180deg, #000 46%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 46%, transparent 100%);
}
html footer { overflow: visible !important; }
html footer > * { position: relative; z-index: 1; }
html footer::before {
  top: -180px;
  bottom: 0;
  height: auto;
  z-index: 0;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 78%), linear-gradient(90deg, transparent 12%, #000 68%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(180deg, transparent 0%, #000 78%), linear-gradient(90deg, transparent 12%, #000 68%);
  mask-composite: intersect;
}
.slogan-soft::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: url("/brand/pattern/bauhaus-red.svg?v=p1") center / 96px repeat;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 40%, #000 60%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 40%, #000 60%, transparent);
}
.slogan-soft { background-image: none !important; }
.slogan-soft > p { position: relative; z-index: 1; }

/* ——— ITKS_SITE_UNIFIED_1009q — без чёрных подложек: везде объёмные блоки в одном стиле ——— */

/* строка навигации остаётся на месте, страница едет под ней */
html body > header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 80 !important;
}

/* баннер: тёмный фон с паттерном и частицами, снизу плавно растворяется в странице */
.hero-screen,
.page-banner {
  background: transparent !important;
}
.hero-screen-bg,
.page-banner-bg {
  background: #0e0e11 !important;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 calc(100% - 11rem), transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 calc(100% - 11rem), transparent 100%);
}
.page-banner-bg {
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 calc(100% - 7rem), transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 calc(100% - 7rem), transparent 100%);
}
.hero-screen-bg > canvas,
.page-banner-bg > canvas { display: block !important; }
.hero-screen::after,
.page-banner::after { content: none !important; }
.hero-screen + .tone-join,
.page-banner + .tone-join,
main > .tone-join { display: none !important; }

/* главный блок с инфой и заголовок страниц услуг — непрозрачный объёмный блок с рамкой */
.hero-plate-slot,
.page-banner-slot {
  padding-top: calc(var(--nav-h) + 1.15rem) !important;
}
.hero-plate-slot { padding-bottom: 4.5rem !important; }
.page-banner-slot { padding-bottom: 3rem !important; }
@media (min-width: 640px) {
  .hero-screen--full .hero-plate { transform: none !important; }
}
html main .hero-plate,
html main .hero-screen .hero-plate.rounded-xl,
html main .page-banner-slot > .rounded-xl {
  background-color: #17171c !important;
  background-image: linear-gradient(180deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .025) 36%, transparent 60%) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .24),
    0 0 0 1px rgba(255, 255, 255, .16),
    inset 0 -3px 0 rgba(0, 0, 0, .45),
    0 2px 4px rgba(0, 0, 0, .3),
    0 24px 46px -16px rgba(0, 0, 0, .66),
    0 52px 92px -30px rgba(0, 0, 0, .7) !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  border: 0 !important;
  border-radius: 22px !important;
}
html main .hero-plate { padding: var(--plate-pad) !important; }

/* плашки внутри главного блока — непрозрачные объёмные */
html main .hero-plate article.rounded-lg {
  background-color: #222228 !important;
  background-image: linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .02) 44%, transparent 66%) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), inset 0 -2px 0 rgba(0, 0, 0, .42), 0 2px 3px rgba(0, 0, 0, .35), 0 12px 22px -10px rgba(0, 0, 0, .7) !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  border-radius: 14px !important;
}
html main .hero-plate :is(a, button).border-white\/50 {
  background-color: #24242b !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), inset 0 -2px 0 rgba(0, 0, 0, .42), 0 2px 3px rgba(0, 0, 0, .35), 0 12px 22px -10px rgba(0, 0, 0, .7) !important;
}

/* слоган — не полоса на всю ширину, а объёмный блок по ширине страницы */
html main section[data-section-id="slogan"] { background: transparent !important; }
html main .slogan-soft {
  width: calc(min(100%, 90rem) - 2rem);
  margin: 1.75rem auto 0;
  border-radius: 16px;
  background-color: var(--sc-glass) !important;
  background-image: var(--v-gloss) !important;
  box-shadow: var(--v-card) !important;
}
/* тень главной плашки (слот z 10), фон баннера и частицы тянутся ниже слогана — плашка должна лежать поверх них */
html main > section[data-section-id="slogan"], html main > .slogan-soft { position: relative; z-index: 11 !important; }
html[data-itks-look] main section.slogan-soft:not(.hero-screen):not(.page-banner) { background-color: var(--sc-glass) !important; }
@media (min-width: 640px) { html main .slogan-soft { width: calc(min(100%, 90rem) - 3rem); } }
@media (min-width: 1280px) { html main .slogan-soft { width: calc(min(100%, 90rem) - 4rem); } }
html main .slogan-soft::before { content: none !important; }
html main .slogan-soft > p { color: var(--sc-text) !important; -webkit-text-fill-color: var(--sc-text); text-shadow: none !important; padding-inline: 1rem; }
html main .slogan-soft > p::before {
  content: "";
  display: inline-block;
  width: .5em;
  height: .5em;
  margin-right: .6em;
  border-radius: 50%;
  background: var(--sc-accent);
  vertical-align: .08em;
}

/* бывшие тёмные секции («Предложение», «Когда обычно пишут»): без чёрной подложки */
html main section.bg-navy,
html main section.bg-navy > div.bg-navy,
#proposal {
  background: transparent !important;
  --color-white: var(--sc-text);
  color: var(--sc-text-2) !important;
}
html main section.bg-navy:not(#proposal) :is(h1, h2, h3, h4),
html main section.bg-navy > div.bg-navy :is(h1, h2, h3, h4) { color: var(--sc-text) !important; }
html main section.bg-navy:not(#proposal) :is(p, li),
html main section.bg-navy > div.bg-navy p { color: var(--sc-text-2) !important; }
html main section.bg-navy .text-cyan,
html main section.bg-navy .kicker { color: var(--sc-accent-ink) !important; }
html body main section.bg-navy :is(article, .rounded-xl.bg-white, .rounded-lg):not(.proposal-sheet):not(a):not(button) {
  background-color: var(--sc-glass) !important;
  background-image: var(--v-gloss) !important;
  box-shadow: var(--v-card) !important;
  border-color: transparent !important;
  border-radius: 18px !important;
}
html main section.bg-navy > div.bg-navy :is(a, button).border-white\/50 {
  background-color: var(--sc-face) !important;
  background-image: var(--v-gloss-sm) !important;
  box-shadow: var(--v-chip) !important;
  color: var(--sc-text) !important;
}
html main section.bg-navy > div.bg-navy :is(a, button).border-white\/50:hover { box-shadow: var(--v-chip), var(--v-hover) !important; background-color: var(--sc-face) !important; }
#proposal .proposal-sheet {
  background-color: var(--sc-glass) !important;
  background-image: var(--v-gloss-sm) !important;
  box-shadow: var(--v-card) !important;
  border-radius: 18px !important;
}
#proposal .proposal-sheet :is(h1, h2, h3, h4, b, strong) { color: var(--sc-text) !important; }
#proposal .proposal-sheet :is(p, li) { color: var(--sc-text-2) !important; }
#proposal .proposal-nav {
  background-color: #17171c !important;
  background-image: linear-gradient(180deg, rgba(255, 255, 255, .1), transparent 60%) !important;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .4);
}
#proposal .proposal-nav :is(a, p, span):not(.bg-cyan) { color: #d4d4d8 !important; }
html[data-itks-look="dark"] main section.bg-navy { background-color: transparent !important; }

/* подвал — тот же объёмный блок, что и шапка, без полосы паттерна */
html footer,
html footer.bg-navy,
html[data-itks-look="dark"] footer {
  background: transparent !important;
  padding-top: 2.5rem !important;
}
html footer::before,
html footer::after { content: none !important; display: none !important; }
html footer > .site-wrap {
  max-width: calc(90rem - 4rem);
  padding: 16px 22px !important;
  border-radius: 22px;
  background-color: #17171c;
  background-image: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .02) 40%, transparent 62%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 0 0 1px rgba(255, 255, 255, .12), 0 2px 4px rgba(0, 0, 0, .25), 0 22px 44px -16px rgba(14, 14, 17, .55);
}
@media (max-width: 1279px) { html footer > .site-wrap { width: calc(100% - 3rem); } }
@media (max-width: 639px) { html footer > .site-wrap { width: calc(100% - 2rem); padding: 12px 14px !important; } }

/* ——— ITKS_SITE_RHYTHM_1009s — отступы по сетке 8px, якоря под шапку, прозрачный главный блок ——— */

:root { --hdr-b: calc(var(--nav-h) + .75rem); --sec-y: 32px; }
@media (max-width: 639px) { :root { --hdr-b: calc(var(--nav-h) + .5rem); --sec-y: 24px; } }

/* якорь встаёт ровно под шапку, отступ дальше даёт сама секция */
html main [id],
html main .itks-dev { scroll-margin-top: var(--hdr-b) !important; }
html main .itks-how,
html main #itks-proposal-text { scroll-margin-top: calc(var(--hdr-b) + 16px) !important; }

/* секции: одинаковый шаг 32 + 32 = 64px между блоками (на телефоне 48px) */
html body main > section:not(.hero-screen):not(.page-banner):not(.slogan-soft):not([data-section-id="slogan"]),
html body main > div.pad-section { padding-block: var(--sec-y) !important; }

/* внутри секции: надзаголовок → заголовок 8, заголовок → текст 8/16, текст → контент 24, крупные подблоки 48 */
html main > section .site-wrap > :is(.mt-1, .mt-1\.5, .mt-2, .mt-3),
html main > section .site-wrap > div:first-child > :is(.mt-1, .mt-1\.5, .mt-2, .mt-3),
html main > section .site-wrap > .kicker + *,
html main > section .site-wrap > div:first-child > .kicker + * { margin-top: 8px !important; }
html main > section .site-wrap > :is(.mt-4),
html main > section .site-wrap > div:first-child > :is(.mt-4, .mt-5) { margin-top: 16px !important; }
html main > section .site-wrap > :is(.mt-5, .mt-6, .mt-8, .mt-10),
html main > section .site-wrap > :is(.itks-pulse, .itks-how) { margin-top: 24px !important; }
html main > section .site-wrap > :is(.mt-12, .mt-14, .mt-16) { margin-top: 48px !important; }
html main > section:not(.hero-screen):not(.page-banner) .grid:is(.gap-2, .gap-3, .gap-4, .gap-5, .gap-6) { gap: 16px !important; }
html main > section:not(.hero-screen):not(.page-banner) .grid:is(.gap-8, .gap-10, .gap-12) { gap: 32px !important; }
.itks-dev__lead { margin-top: 16px !important; }
.itks-dev__grid { margin-top: 24px !important; gap: 16px !important; }
.itks-dev__steps { margin-top: 16px !important; gap: 16px !important; }
.itks-dev__foot { margin-top: 16px !important; }

/* баннер: шапка → блок 16px, блок → следующий 32px; тёмный фон уходит под следующий блок и растворяется там */
.hero-plate-slot,
.page-banner-slot { padding-top: calc(var(--hdr-b) + 16px) !important; }
.hero-plate-slot,
.page-banner-slot { padding-bottom: 32px !important; }
.hero-screen-bg { bottom: -7rem !important; }
.page-banner-bg { bottom: -5rem !important; }
html main .page-banner { overflow: visible !important; }
html main > :is(.hero-screen, .page-banner) ~ :nth-child(-n+5) { position: relative; z-index: 1; }
html main .slogan-soft { margin-top: 0 !important; }
html main > section[data-section-id="slogan"] { padding: 0 !important; }
html footer, html footer.bg-navy, html[data-itks-look="dark"] footer { padding-top: var(--sec-y) !important; }

/* главный блок — полупрозрачный объёмный, сквозь него видна анимация */
html main .hero-plate,
html main .hero-screen .hero-plate.rounded-xl,
html main .page-banner-slot > .rounded-xl {
  background-color: rgba(20, 20, 25, .5) !important;
  background-image: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .02) 36%, transparent 60%) !important;
  -webkit-backdrop-filter: blur(1.5px) saturate(1.15) !important;
  backdrop-filter: blur(1.5px) saturate(1.15) !important;
}
html main .hero-plate article.rounded-lg { background-color: rgba(34, 34, 40, .7) !important; }
html main .hero-plate :is(a, button).border-white\/50 { background-color: rgba(36, 36, 43, .78) !important; }

/* частицы в цветах знака: своя анимация вместо белой */
.hero-screen-bg > canvas:not(.itks-pf),
.page-banner-bg > canvas:not(.itks-pf) { display: none !important; }
canvas.itks-pf { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; display: block; }


/* ——— ITKS_SITE_1009w — тёмный фон баннера заканчивается под слоганом, фото в карточках увеличиваются при наведении ——— */
html main :is(.hero-screen-bg, .page-banner-bg) {
  bottom: calc(-1 * (var(--slogan-h, 0px) + 32px)) !important;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 calc(100% - var(--slogan-h, 0px) - 64px), transparent 100%) !important;
  mask-image: linear-gradient(180deg, #000 0%, #000 calc(100% - var(--slogan-h, 0px) - 64px), transparent 100%) !important;
}

html main > section:not(.hero-screen):not(.page-banner) :is(div, a).relative:has(> img[data-nimg="fill"]) { overflow: hidden; }
html main > section:not(.hero-screen):not(.page-banner) img[data-nimg="fill"] { transition: transform .5s ease !important; }
html main > section:not(.hero-screen):not(.page-banner) :is(article, a):hover img[data-nimg="fill"],
html main > section:not(.hero-screen):not(.page-banner) div.relative:hover > img[data-nimg="fill"] { transform: scale(1.05); }
@media (prefers-reduced-motion: reduce) {
  html main > section img[data-nimg="fill"] { transition: none !important; transform: none !important; }
}

/* ——— ITKS_SITE_SW_1009z — «Как это устроено»: не одна карточка с перегородками, а отдельные объёмные блоки ——— */
html body main section:not(.bg-navy):not(.hero-screen):not(.page-banner):not([data-section-id="proposal"]) div.overflow-hidden.rounded-xl.bg-white:has(> div.bg-navy) {
  display: grid;
  gap: 16px;
  padding: 16px;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 26px !important;
  --tw-ring-shadow: 0 0 #0000 !important;
}
html body main section div.rounded-xl.bg-white:has(> div.bg-navy) > div.bg-navy,
html body main section div.rounded-xl.bg-white:has(> div.bg-navy) > .grid:not(.gap-px) > div.flex-col,
html body main section div.rounded-xl.bg-white:has(> div.bg-navy) > .grid.gap-px > * {
  border: 0 !important;
  border-radius: 18px !important;
  background-color: var(--sc-glass) !important;
  background-image: var(--v-gloss) !important;
  box-shadow: var(--v-card) !important;
}
html body main section div.rounded-xl.bg-white:has(> div.bg-navy) > .grid:not(.gap-px) { gap: 16px; }
html body main section div.rounded-xl.bg-white:has(> div.bg-navy) > .grid:not(.gap-px) > div.flex-col { padding: 24px !important; }
html body main section div.rounded-xl.bg-white:has(> div.bg-navy) > .grid:not(.gap-px) > .border-y {
  align-self: center;
  justify-self: center;
  width: 48px;
  height: 48px;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background-color: var(--sc-face) !important;
  background-image: var(--v-gloss-sm) !important;
  box-shadow: var(--v-chip) !important;
  color: var(--sc-text-3) !important;
  letter-spacing: .04em;
}
html body main section div.rounded-xl.bg-white:has(> div.bg-navy) > .grid.gap-px { gap: 16px !important; padding: 0 !important; }
html body main section div.rounded-xl.bg-white:has(> div.bg-navy) > .grid.gap-px > * { padding: 24px !important; }
html body main section div.rounded-xl.bg-white:has(> div.bg-navy) span.rounded-full.bg-navy { background-color: var(--sc-accent) !important; background-image: none; color: #fff !important; box-shadow: inset 0 -2px 0 #0000002e, 0 6px 12px -8px #00000066; }
@media (max-width: 767px) {
  html body main section div.rounded-xl.bg-white:has(> div.bg-navy) > .grid:not(.gap-px) > .border-y { margin-block: -4px; }
}
html main section :is(.text-navy\/70, .text-navy\/80) { color: var(--sc-text-2) !important; }

/* ——— ITKS_SITE_BLOCKS_1009z3 — «Предложение» по содержимому и крупнее, инфо «Руководитель» и «Получить расчёт» — блоками ——— */
#proposal .proposal-sheet {
  background-color: var(--sc-glass) !important;
  background-image: var(--v-gloss) !important;
  box-shadow: var(--v-card) !important;
  border-radius: 20px !important;
  overflow: hidden;
}
#proposal .proposal-sheet > div:not(.proposal-nav) { padding: 28px 32px 32px !important; }
#proposal .proposal-doc { font-size: 1rem; line-height: 1.55; }
@media (min-width: 1024px) {
  #proposal .proposal-doc { column-count: 2; column-gap: 48px; }
  #proposal .proposal-doc > :first-child { column-span: all; margin-bottom: 4px; }
  #proposal .proposal-doc h4 { break-after: avoid; }
  #proposal .proposal-doc :is(p, li, ul) { break-inside: avoid; }
  #proposal .proposal-doc h4:first-of-type { margin-top: 12px !important; }
}
#proposal .proposal-doc h3 { font-size: 1.6rem !important; line-height: 1.2 !important; }
#proposal .proposal-doc h4 { margin-top: 20px !important; font-size: 1.12rem !important; }
#proposal .proposal-doc :is(p, li, span, div) { font-size: 1rem !important; line-height: 1.55 !important; }
#proposal .proposal-doc ul { margin-top: 10px !important; }
#proposal .proposal-doc li { padding-block: 2px; }
#proposal .proposal-doc li p.font-bold { font-size: 1.02rem !important; }
@media (max-width: 639px) {
  #proposal .proposal-sheet > div:not(.proposal-nav) { padding: 20px 18px 24px !important; }
  #proposal .proposal-doc h3 { font-size: 1.3rem !important; }
}

html main section:is([data-section-id="about"], [data-section-id="lead"]) .site-wrap > div:first-child {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px;
  border-radius: 20px;
  background-color: var(--sc-glass);
  background-image: var(--v-gloss);
  box-shadow: var(--v-card);
}
html main section[data-section-id="about"] .site-wrap { gap: 32px !important; align-items: stretch !important; }
html main section[data-section-id="lead"] .site-wrap { gap: 32px !important; }
html main section[data-section-id="about"] .site-wrap > img { height: 100% !important; box-shadow: var(--v-card); border-radius: 20px !important; }
@media (max-width: 639px) {
  html main section:is([data-section-id="about"], [data-section-id="lead"]) .site-wrap > div:first-child { padding: 20px 18px; border-radius: 18px; }
  html main section:is([data-section-id="about"], [data-section-id="lead"]) .site-wrap { gap: 16px !important; }
}

/* ——— ITKS_SITE_HEADS_1009z5 — заголовки секций объёмными блоками; переход фона баннера начинается под блоком с названием ——— */
html main .site-wrap > .itks-head {
  padding: 24px 28px;
  border-radius: 20px;
  background-color: var(--sc-glass);
  background-image: var(--v-gloss);
  box-shadow: var(--v-card);
}
html main .site-wrap > .itks-head > :first-child { margin-top: 0 !important; }
html main .site-wrap > .itks-head > .kicker + * { margin-top: 8px !important; }
html main .site-wrap > .itks-head > :is(.mt-1, .mt-1\.5, .mt-2, .mt-3) { margin-top: 8px !important; }
html main .site-wrap > .itks-head > :is(.mt-4, .mt-5, .itks-dev__lead) { margin-top: 16px !important; }
html body main section .site-wrap > .itks-head + * { margin-top: 24px !important; }
@media (max-width: 639px) { html main .site-wrap > .itks-head { padding: 18px 18px 20px; border-radius: 18px; } }

/* сплошной тёмный фон идёт под слоганом и ещё 16px ниже него, дальше за 72px растворяется */
html main :is(.hero-screen-bg, .page-banner-bg) {
  bottom: calc(-1 * (var(--slogan-h, 0px) + 88px)) !important;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 calc(100% - 72px), rgba(0, 0, 0, .72) calc(100% - 48px), rgba(0, 0, 0, .3) calc(100% - 24px), transparent 100%) !important;
  mask-image: linear-gradient(180deg, #000 0%, #000 calc(100% - 72px), rgba(0, 0, 0, .72) calc(100% - 48px), rgba(0, 0, 0, .3) calc(100% - 24px), transparent 100%) !important;
}
/* блок с названием и главный блок: светлее фона, яркий верхний блик и кромка — тёмный объём, как светлые блоки */
html body main .page-banner .page-banner-slot > .rounded-xl,
html body main .hero-plate,
html body main .hero-screen .hero-plate.rounded-xl {
  background-color: rgba(44, 44, 52, .8) !important;
  background-image: linear-gradient(180deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .07) 28%, rgba(255, 255, 255, 0) 56%, rgba(0, 0, 0, .2)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .5),
    inset 0 0 0 1px rgba(255, 255, 255, .12),
    0 0 0 1px rgba(255, 255, 255, .14),
    inset 0 -3px 0 rgba(0, 0, 0, .55),
    0 2px 4px rgba(0, 0, 0, .45),
    0 18px 34px -12px rgba(0, 0, 0, .85),
    0 40px 70px -24px rgba(0, 0, 0, .8) !important;
}
html main .hero-plate article.rounded-lg,
html main .hero-plate :is(a, button).border-white\/50 { background-color: rgba(26, 26, 31, .82) !important; }
html body main #proposal .itks-head :is(h2, h3) { color: var(--sc-text) !important; }
html body main #proposal .itks-head p:not(.kicker) { color: var(--sc-text-2) !important; }
html body main #proposal .itks-head .kicker { color: var(--sc-accent-ink) !important; }
html body main #proposal .itks-head :is(a, button).border-white\/50 {
  background-color: var(--sc-face) !important;
  background-image: var(--v-gloss-sm) !important;
  box-shadow: var(--v-chip) !important;
  border-color: transparent !important;
  color: var(--sc-text) !important;
}
html main section.pad-section > .site-wrap > div.flex.flex-col.items-center.text-center {
  padding: 24px;
  border-radius: 20px;
  background-color: var(--sc-glass);
  background-image: var(--v-gloss);
  box-shadow: var(--v-card);
}
html[data-itks-look="dark"] .itks-ch__btn { color: var(--sc-text) !important; }
html main section.pad-section > .site-wrap > div:first-child:has(> h2):not(.items-center):not(:has(img)) {
  padding: 32px;
  border-radius: 20px;
  background-color: var(--sc-glass);
  background-image: var(--v-gloss);
  box-shadow: var(--v-card);
}
@media (max-width: 639px) { html main section.pad-section > .site-wrap > div:first-child:has(> h2):not(.items-center):not(:has(img)) { padding: 20px 18px; border-radius: 18px; } }
html main section.pad-section > .site-wrap > div:has(> h2):has(> ul):not(:has(img)) {
  padding: 28px 32px;
  border-radius: 20px;
  background-color: var(--sc-glass);
  background-image: var(--v-gloss);
  box-shadow: var(--v-card);
}
@media (max-width: 639px) { html main section.pad-section > .site-wrap > div:has(> h2):has(> ul):not(:has(img)) { padding: 20px 18px; border-radius: 18px; } }

/* карточки с фото (главная — «Услуги», /services/): инфо-часть — отдельная выпуклая плашка вровень с фото, наезжает на его край */
html main section:not(.bg-navy):not(.hero-screen):not(.page-banner):not([data-section-id="proposal"]) :is(article.flex-col.overflow-hidden.bg-white, a.group.grid.overflow-hidden.rounded-lg.bg-mist):has(> div > img) {
  overflow: visible !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  --tw-ring-shadow: 0 0 #0000;
  transform: none !important;
}
html main section:not(.bg-navy):not(.hero-screen):not(.page-banner) :is(article.flex-col.overflow-hidden.bg-white, a.group.grid.overflow-hidden.rounded-lg.bg-mist) > div:has(> img) {
  overflow: hidden;
  border-radius: 18px;
  box-shadow: var(--v-block);
  background: var(--sc-glass-2) !important;
}
html main section:not(.bg-navy):not(.hero-screen):not(.page-banner) :is(article.flex-col.overflow-hidden.bg-white, a.group.grid.overflow-hidden.rounded-lg.bg-mist) > div:not(:has(> img)) {
  position: relative;
  z-index: 1;
  margin: -32px 0 0;
  padding: 24px !important;
  border-radius: 18px;
  background-color: var(--sc-glass);
  background-image: var(--v-gloss);
  box-shadow: var(--v-card);
  color: var(--sc-text);
  transition: box-shadow .2s ease, transform .2s ease;
}
@media (min-width: 640px) {
  html main section:not(.bg-navy):not(.hero-screen):not(.page-banner) a.group.grid.overflow-hidden.rounded-lg.bg-mist > div:not(:has(> img)) { margin: 0 0 0 -40px; padding: 32px !important; }
}
html main section:not(.bg-navy):not(.hero-screen):not(.page-banner) :is(article.flex-col.overflow-hidden.bg-white, a.group.grid.overflow-hidden.rounded-lg.bg-mist) > div:not(:has(> img)) :is(h2, h3) { color: var(--sc-text) !important; }
html main section:not(.bg-navy):not(.hero-screen):not(.page-banner) :is(article.flex-col.overflow-hidden.bg-white, a.group.grid.overflow-hidden.rounded-lg.bg-mist) > div:not(:has(> img)) > p.uppercase { color: var(--sc-accent-ink) !important; }
html main section:not(.bg-navy):not(.hero-screen):not(.page-banner) :is(article.flex-col.overflow-hidden.bg-white, a.group.grid.overflow-hidden.rounded-lg.bg-mist) > div:not(:has(> img)) > p:not(.uppercase) { color: var(--sc-text-2) !important; }
@media (hover: hover) {
  html main section:not(.bg-navy):not(.hero-screen):not(.page-banner) :is(article.flex-col.overflow-hidden.bg-white, a.group.grid.overflow-hidden.rounded-lg.bg-mist):hover > div:not(:has(> img)) { box-shadow: var(--v-card), var(--v-hover); transform: translateY(-2px); }
}

/* навигация в шапке на 2px крупнее; в главном блоке без строки-логотипа */
@media (min-width: 960px) { html header a.rounded-md.text-sm { font-size: 16px !important; line-height: 24px !important; } }
html main .hero-plate > p.font-brand { display: none !important; }

.itks-pulse__note a { color: var(--sc-accent-ink); font-weight: 600; text-decoration: none; white-space: nowrap; }
.itks-pulse__note a:hover { text-decoration: underline; }

/* блок с названием страницы и главный блок — тем же цветом и заливкой, что панель навигации */
html body main .page-banner .page-banner-slot > .rounded-xl,
html body main .hero-plate,
html body main .hero-screen .hero-plate.rounded-xl {
  background-color: rgba(18, 18, 22, .74) !important;
  background-image: var(--vd-gloss) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 0 0 1px rgba(255, 255, 255, .28), var(--vd-card) !important;
  -webkit-backdrop-filter: blur(12px) saturate(1.2) !important;
  backdrop-filter: blur(12px) saturate(1.2) !important;
}

/* меню: подсветку текущего пункта ставит скрипт (data-itks-on) — и в шапке, и в мобильном меню */
html header nav a.rounded-md.font-medium:not([data-itks-on]) { color: rgba(255, 255, 255, .85) !important; }
html header nav a.rounded-md.font-medium:not([data-itks-on]):hover { color: #fff !important; }
html header nav a.rounded-md.font-medium[data-itks-on] {
  color: #ff6a5c !important;
  background-color: rgba(255, 255, 255, .1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), inset 0 0 0 1px rgba(255, 255, 255, .08);
}
html .overscroll-contain a.rounded-md.font-medium[data-itks-on] {
  color: #ff6a5c !important;
  background-color: rgba(229, 73, 61, .14);
  box-shadow: inset 3px 0 0 #e5493d, inset 0 0 0 1px rgba(229, 73, 61, .22);
}
@media (min-width: 1024px) and (max-width: 1179px) { html header nav a.rounded-md.text-sm { padding-left: 7px !important; padding-right: 7px !important; } }
/* семь пунктов не помещаются в строку до 1024px — там, как на телефоне, кнопка «Меню» */
@media (min-width: 768px) and (max-width: 1023px) {
  html header nav.md\:flex { display: none !important; }
  html header button.md\:hidden { display: inline-flex !important; }
  html div.fixed.inset-0.md\:hidden { display: flex !important; }
}
/* мобильное меню выводится прямо в <body>: общее «body > * { position: relative }» укорачивало его до высоты пунктов */
html body > div.fixed.inset-0 { position: fixed; z-index: 90; }
/* ——— Pulse наверху под слоганом: кликабельная плашка ——— */
html main section[data-section-id="trust"] .site-wrap > .itks-pulse:first-child { margin-top: 0 !important; margin-bottom: 2.25rem; }
html main .itks-pulse[role="link"] { cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease; }
html main .itks-pulse[role="link"]:hover,
html main .itks-pulse[role="link"]:focus-visible { transform: translateY(-2px); box-shadow: 0 0 0 2px rgba(229,73,61,.65), 0 14px 34px -12px rgba(229,73,61,.45), var(--v-card); outline: none; }
html main .itks-pulse[role="link"]:active { transform: translateY(0); }
.itks-pulse__go { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: .875rem; font-weight: 700; color: var(--sc-accent-ink); white-space: nowrap; }
.itks-pulse__go i { font-style: normal; transition: transform .18s ease; }
html main .itks-pulse[role="link"]:hover .itks-pulse__go i { transform: translateX(4px); }
html main .itks-pulse[role="link"]:hover .itks-pulse__cell { background-color: var(--sc-glass); }
html main #kak-my-rabotaem { scroll-margin-top: calc(var(--hdr-b, 80px) + 12px) !important; }
@media (max-width: 560px) { .itks-pulse__go { margin-left: 0; } }
@media (prefers-reduced-motion: reduce) { html main .itks-pulse[role="link"], .itks-pulse__go i { transition: none; } html main .itks-pulse[role="link"]:hover { transform: none; } }
/* ——— кнопка темы рядом с логотипом ——— */
html header .itks-theme {
  flex: 0 0 auto;
  width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; cursor: pointer;
  background: radial-gradient(circle at 32% 26%, #ff8578 0%, #ff4d3d 42%, #e5493d 62%, #c4372b 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.4), inset 0 -2px 4px rgba(110,20,12,.3), 0 6px 16px -6px rgba(229,73,61,.85), 0 0 0 1px rgba(255,255,255,.16);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
  -webkit-tap-highlight-color: transparent;
}
html header .itks-theme svg { display: block; filter: drop-shadow(0 1px 1px rgba(100,16,10,.4)); }
@media (hover: hover) { html header .itks-theme:hover { transform: scale(1.08); filter: brightness(1.05); box-shadow: inset 0 1px 0 rgba(255,255,255,.45), inset 0 -2px 4px rgba(110,20,12,.3), 0 8px 20px -6px rgba(255,77,61,.95), 0 0 0 1px rgba(255,255,255,.24); } }
html header .itks-theme:active { transform: scale(.94); }
html header .itks-theme:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
html header .itks-theme--turn svg { animation: itks-theme-turn .45s cubic-bezier(.3,1.4,.5,1); }
@keyframes itks-theme-turn { from { transform: rotate(-120deg) scale(.6); opacity: .2; } to { transform: none; opacity: 1; } }
@media (max-width: 639px) { html header .itks-theme { width: 34px; height: 34px; } html header .itks-theme svg { width: 17px; height: 17px; } }
@media (prefers-reduced-motion: reduce) { html header .itks-theme, html header .itks-theme--turn svg { transition: none; animation: none; } }
@media print { html header .itks-theme { display: none; } }
@media (min-width: 640px) { html header .itks-theme { margin-left: -6px; } }
html header .itks-theme .itks-ico { display: none; }
html:not([data-itks-look]) header .itks-theme .itks-ico--site,
html[data-itks-look="scena"] header .itks-theme .itks-ico--scena,
html[data-itks-look="dark"] header .itks-theme .itks-ico--dark { display: inline; }
@media (max-width: 374px), (min-width: 1024px) and (max-width: 1279px) { html header .itks-tag { display: none; } }
html header .itks-appear { animation: itks-appear .4s cubic-bezier(.4, 0, .2, 1) backwards; }
@keyframes itks-appear { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { html header .itks-appear { animation: none; } }
/* слоган в шапке */
html header .itks-tag {
  flex: 0 1000 auto; min-width: 0; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center; gap: 2px;
  margin: 0; padding-left: 12px; border-left: 1px solid rgba(255,255,255,.2);
  line-height: 1.1; white-space: nowrap; pointer-events: none; user-select: none;
}
html header .itks-tag span { display: block; font-size: 13px; font-weight: 600; letter-spacing: 0; color: rgba(255,255,255,.86); }
html header .itks-tag b { font-weight: 800; color: #ff6b5e; }
html header .itks-tag i { font-style: normal; font-weight: 800; color: #fff; letter-spacing: .03em; margin-right: 1px; }
html header .itks-tag em { font-style: normal; }
html header .itks-tag--3 { gap: 1px; line-height: 1.08; }
html header .itks-tag--3 em { display: block; }
html header .itks-tag--off { display: none; }
@media (min-width: 640px) { html header .itks-tag { margin-left: -8px; padding-left: 11px; } }
@media (min-width: 1280px) and (max-width: 1399px) { html header .itks-tag span { font-size: 12.5px; } }
@media (min-width: 1400px) { html header .itks-tag span { font-size: 14px; } }
@media (max-width: 639px) { html header .itks-tag { padding-left: 8px; } html header .itks-tag span { font-size: 12.5px; } }
@media (max-width: 379px) { html header .itks-tag span { font-size: 12px; } }
@media print { html header .itks-tag { display: none; } }
/* подсказка у кнопки темы */
.itks-tip {
  position: fixed; z-index: 2147483000; max-width: min(320px, calc(100vw - 24px));
  padding: 9px 13px; border-radius: 12px;
  background: rgba(22,22,27,.97); color: #fff;
  box-shadow: 0 14px 34px -12px rgba(0,0,0,.65), 0 0 0 1px rgba(255,255,255,.12);
  font-family: inherit; font-size: 13px; font-weight: 500; line-height: 1.35; text-align: left;
  opacity: 0; transform: translateY(-6px); transition: opacity .18s ease, transform .18s ease;
  pointer-events: none;
}
.itks-tip--on { opacity: 1; transform: none; }
.itks-tip::before {
  content: ""; position: absolute; top: -6px; left: calc(var(--itks-tip-arrow, 28px) - 6px);
  width: 12px; height: 12px; transform: rotate(45deg); border-radius: 2px;
  background: inherit; box-shadow: -1px -1px 0 rgba(255,255,255,.12);
}
.itks-tip b { display: block; font-weight: 700; font-size: 13.5px; }
.itks-tip span { display: block; color: rgba(255,255,255,.7); font-size: 13px; }
.itks-tip--card { width: 320px; padding: 16px 16px 14px; border-radius: 16px; pointer-events: auto; }
.itks-tip--card p { margin: 0 0 12px; font-size: 14px; line-height: 1.45; color: rgba(255,255,255,.82); }
.itks-tip--card .itks-tip__t { margin-bottom: 6px; font-size: 15.5px; font-weight: 700; color: #fff; }
.itks-tip__looks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 12px; }
.itks-tip__looks button {
  display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 9px 4px 8px;
  border: 0; border-radius: 10px; cursor: pointer; font: inherit; font-size: 13px; font-weight: 600;
  background: rgba(255,255,255,.07); color: rgba(255,255,255,.85);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); transition: background-color .15s, box-shadow .15s, color .15s;
}
.itks-tip__looks button:hover { background: rgba(255,255,255,.12); color: #fff; }
.itks-tip__looks button[aria-pressed="true"] { background: rgba(229,73,61,.2); color: #fff; box-shadow: inset 0 0 0 1.5px #ff4d3d; }
.itks-tip__looks button[aria-pressed="true"] svg { color: #ff6b5e; }
.itks-tip__ok {
  display: block; width: 100%; padding: 9px 12px; border: 0; border-radius: 10px; cursor: pointer;
  font: inherit; font-size: 14px; font-weight: 700; color: #fff; background: #e5493d;
  box-shadow: inset 0 -2px 0 #0000002e; transition: background-color .15s;
}
.itks-tip__ok:hover { background: #ff4d3d; }
.itks-tip :is(button):focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .itks-tip { transition: none; } }
@media print { .itks-tip { display: none; } }
/* ——— читаемость: мелкий текст сборки +1–2 px ———
   на телефоне базовый размер действует всегда; на больших экранах — только если нет своего sm:/md:-размера */
@media (max-width: 639px) {
  html body .text-xs { font-size: 13px !important; }
  html body .text-\[0\.7rem\] { font-size: 13px !important; }
  html body .text-\[0\.65rem\] { font-size: 12px !important; }
  html body .text-\[0\.75rem\] { font-size: 13.5px !important; }
  html .logo-plaques p.truncate {
    font-size: 10.5px !important; line-height: 1.15 !important;
    white-space: normal !important; text-overflow: clip !important; overflow: hidden !important;
    display: -webkit-box !important; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2;
    letter-spacing: .03em !important;
    height: auto !important; min-height: 22px; padding-bottom: 2px !important;
  }
}
@media (min-width: 640px) {
  html body .text-xs:not([class*=":text-"]) { font-size: 13px !important; }
  html body .text-\[0\.7rem\]:not([class*=":text-"]) { font-size: 13px !important; }
  html body .text-\[0\.75rem\]:not([class*=":text-"]) { font-size: 13.5px !important; }
  html body .text-\[0\.65rem\].sm\:text-xs { font-size: 13px !important; }
  html .logo-plaques p.truncate { font-size: 11.5px !important; line-height: 1.1 !important; }
}
html body .kicker { font-size: 13px !important; }
html main section[data-section-id="trust"] p.text-sm.font-semibold.text-navy { font-size: 13px !important; }

/* ——— ITKS_SITE_DARK_WALL_1010 — тёмная тема: паттерн обоев ITKS в баннере и справа на странице, растворяется в чёрном ——— */
html[data-itks-look="dark"] { --site-page: #050505 !important; background: #050505; }
html[data-itks-look="dark"] body { background: transparent; }
/* та же маска, что в светлых темах: справа паттерн, к контенту — в чёрный */
html[data-itks-look="dark"]::before { background: #150605 var(--itks-wall) 0 0 / var(--itks-wall-size) repeat; opacity: 1; }
/* справа паттерн, к контенту плавно уходит в чёрный — шире, чем в светлых, чтобы читался между блоками */
html[data-itks-look="dark"]::before {
  -webkit-mask-image: linear-gradient(90deg, transparent 22%, rgba(0, 0, 0, .45) 52%, #000 82%);
  mask-image: linear-gradient(90deg, transparent 22%, rgba(0, 0, 0, .45) 52%, #000 82%);
}
@media (max-width: 639px) {
  html[data-itks-look="dark"]::before {
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .5) 50%, #000 100%);
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .5) 50%, #000 100%);
  }
}

/* ——— ITKS_SITE_WALL_BANNER_1010 — баннер во всех темах: паттерн обоев ITKS, снизу растворяется в странице (в светлых — в белый, в тёмной — в чёрный) ——— */
html { --itks-wall: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='280' height='280' viewBox='0 0 280 280'%3E%3Cpath fill='%23151416' d='M26 66V46A20 20 0 0 1 66 46V66ZM74 74H114V94A20 20 0 0 1 74 94ZM206 66L206 26A40 40 0 0 0 166 66ZM173.6 74H198.4Q206 74 206 81.6V106.4Q206 114 198.4 114H173.6Q166 114 166 106.4V81.6Q166 74 173.6 74ZM114 166L74 166A40 40 0 0 0 114 206ZM206 206L206 166A40 40 0 0 0 166 206ZM214 214L254 214A40 40 0 0 1 214 254Z'/%3E%3Cpath fill='%2330120f' d='M74 26H94A20 20 0 0 1 94 66H74ZM66 74V114H46A20 20 0 0 1 46 74ZM214 46.0a20.0 20.0 0 1 0 40 0a20.0 20.0 0 1 0 -40 0ZM214 74L254 74A40 40 0 0 1 214 114ZM26 166L66 166A40 40 0 0 1 26 206ZM114 254L114 214A40 40 0 0 0 74 254ZM214 206L214 166A40 40 0 0 1 254 206ZM206 214L166 214A40 40 0 0 0 206 254Z'/%3E%3C/svg%3E"); --itks-wall-size: 280px 280px; }
@media (max-width: 639px) { html { --itks-wall-size: 200px 200px; } }
/* плитка привязана к окну: в тёмной теме на стыке со страницей сетки совпадают */
html main :is(.hero-screen-bg, .page-banner-bg) { background: #150605 var(--itks-wall) 0 0 / var(--itks-wall-size) repeat fixed !important; }
/* в светлых тот же паттерн, но светлый: в светлой — на белом, в средней — в тон страницы; снизу растворяется в странице, как тёмный в чёрной */
html { --itks-wall-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='280' height='280' viewBox='0 0 280 280'%3E%3Cpath fill='%23e1dedd' d='M26 66V46A20 20 0 0 1 66 46V66ZM74 74H114V94A20 20 0 0 1 74 94ZM206 66L206 26A40 40 0 0 0 166 66ZM173.6 74H198.4Q206 74 206 81.6V106.4Q206 114 198.4 114H173.6Q166 114 166 106.4V81.6Q166 74 173.6 74ZM114 166L74 166A40 40 0 0 0 114 206ZM206 206L206 166A40 40 0 0 0 166 206ZM214 214L254 214A40 40 0 0 1 214 254Z'/%3E%3Cpath fill='%23f0dbd7' d='M74 26H94A20 20 0 0 1 94 66H74ZM66 74V114H46A20 20 0 0 1 46 74ZM214 46.0a20.0 20.0 0 1 0 40 0a20.0 20.0 0 1 0 -40 0ZM214 74L254 74A40 40 0 0 1 214 114ZM26 166L66 166A40 40 0 0 1 26 206ZM114 254L114 214A40 40 0 0 0 74 254ZM214 206L214 166A40 40 0 0 1 254 206ZM206 214L166 214A40 40 0 0 0 206 254Z'/%3E%3C/svg%3E"); --itks-wall-scena: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='280' height='280' viewBox='0 0 280 280'%3E%3Cpath fill='%238f8a88' d='M26 66V46A20 20 0 0 1 66 46V66ZM74 74H114V94A20 20 0 0 1 74 94ZM206 66L206 26A40 40 0 0 0 166 66ZM173.6 74H198.4Q206 74 206 81.6V106.4Q206 114 198.4 114H173.6Q166 114 166 106.4V81.6Q166 74 173.6 74ZM114 166L74 166A40 40 0 0 0 114 206ZM206 206L206 166A40 40 0 0 0 166 206ZM214 214L254 214A40 40 0 0 1 214 254Z'/%3E%3Cpath fill='%23bba6a0' d='M74 26H94A20 20 0 0 1 94 66H74ZM66 74V114H46A20 20 0 0 1 46 74ZM214 46.0a20.0 20.0 0 1 0 40 0a20.0 20.0 0 1 0 -40 0ZM214 74L254 74A40 40 0 0 1 214 114ZM26 166L66 166A40 40 0 0 1 26 206ZM114 254L114 214A40 40 0 0 0 74 254ZM214 206L214 166A40 40 0 0 1 254 206ZM206 214L166 214A40 40 0 0 0 206 254Z'/%3E%3C/svg%3E"); }
html:not([data-itks-look]) main :is(.hero-screen-bg, .page-banner-bg) { background: #f8f6f5 var(--itks-wall-light) 0 0 / var(--itks-wall-size) repeat fixed !important; }
html[data-itks-look="scena"] main :is(.hero-screen-bg, .page-banner-bg) { background: #a19b98 var(--itks-wall-scena) 0 0 / var(--itks-wall-size) repeat fixed !important; }
/* в светлых темах под тёмным стеклом светлый фон: стекло плотнее, чтобы плашки шапки оставались тёмными, а не серыми */
html:not([data-itks-look="dark"]) header .rounded-xl.bg-black\/35,
html:not([data-itks-look="dark"]) body main .page-banner .page-banner-slot > .rounded-xl,
html:not([data-itks-look="dark"]) body main .hero-plate,
html:not([data-itks-look="dark"]) body main .hero-screen .hero-plate.rounded-xl { background-color: rgba(18, 18, 22, .9) !important; }
html:not([data-itks-look="dark"]) main .hero-screen article.rounded-lg.bg-black\/35 { background-color: rgba(26, 26, 31, .92) !important; }
html main :is(.hero-screen-bg, .page-banner-bg)::after { content: none !important; }
/* затемняющие слои сборки (чёрный градиент слева, тёмная вуаль) — паттерн в яркости обоев */
html main :is(.hero-screen-bg, .page-banner-bg) > div.absolute { display: none !important; }

/* ——— ITKS_SITE_CALL_1010 — звонок в шапке рядом с логотипом вместо нижней полосы на телефонах ——— */
html body > div.fixed.inset-x-0.bottom-0 { display: none !important; }
html header .itks-call { display: none; }
@media (max-width: 767px) {
  html footer { padding-bottom: calc(1.5rem + env(safe-area-inset-bottom)) !important; }
  html header .itks-call {
    flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
    width: 34px; height: 34px; border-radius: 50%; color: #fff; text-decoration: none;
    background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 1px rgba(255,255,255,.28);
    -webkit-tap-highlight-color: transparent; transition: transform .18s ease, background-color .18s ease;
  }
  html header .itks-call:active { transform: scale(.94); background: rgba(255,255,255,.2); }
  html header .itks-call:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
}
@media print { html header .itks-call { display: none !important; } }
@media (max-width: 639px) {
  html header .itks-call + .itks-theme { margin-left: -4px; }
  html header button[aria-controls="mobile-nav"] { width: 40px; }
}
@media (max-width: 399px) {
  html header a[href="/"] > img { height: 28px; }
}
@media (max-width: 389px) {
  html header .itks-call, html header .itks-theme { width: 32px; height: 32px; }
  html header button[aria-controls="mobile-nav"] { width: 38px; }
  html header .itks-tag span { font-size: 11.5px; }
}

/* три карточки условий: последняя на всю ширину, без пустой ячейки */
@media (min-width: 768px) {
  .money-cards > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}

.itks-1c { color: #ff4d3d; }
