/* =====================================================================
   ТАТКАРДАН М8 — дизайн-система
   Источник: mockups/home.html (пакет tatkardan-m8-delivery)
   Токены: assets/tokens.css (CSS-переменные в :root)
   ===================================================================== */

/* ---------- 0a. Сброс отступов ---------------------------------------- */
/* Дизайн-система рассчитана на universal-reset (как в modern-normalize,
   который подключал Breakdance): отступы и внутренние поля задают только
   классы .tk-*. Нулевая специфичность :where() гарантирует, что любое
   правило дизайн-системы всё равно выигрывает. */
:where(*, ::before, ::after) {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Кнопки и поля: браузер подставляет им свой шрифт (13.33px у кнопок),
   поэтому наследуем шрифт от родителя — как делал modern-normalize. */
:where(button, input, optgroup, select, textarea) {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

/* ---------- 0b. База тёмной темы --------------------------------------- */
body {
  background: var(--tk-c-void);
  color: var(--tk-c-ink);
  font-family: var(--tk-f-text);
  -webkit-font-smoothing: antialiased;
}

/* Блоки Gutenberg по умолчанию тянут светлые цвета темы — приглушаем.
   Специфичность намеренно нулевая (:where): базовый цвет не должен
   перебивать цвет, заданный компонентными классами вроде .tk-benefit__num. */
:where(.tk-main p, .tk-main li, .tk-main figcaption) {
  color: var(--tk-c-ink-2);
}

/* Ссылки внутри контента наследуют брендовый акцент. */
:where(.tk-main a) {
  color: var(--tk-c-red-hi);
}

/* Картинки не вылезают за колонку. */
.tk-main img {
  max-width: 100%;
  height: auto;
}

/* ---------- 0c. Стыковка блоков ядра с дизайн-системой ---------------- */
/* Таблица: ядро добавляет свои рамки и внутренние поля — возвращаем наши. */
.wp-block-table.tk-calc { overflow: visible; }
.wp-block-table.tk-calc thead { border-bottom: 0; }
.wp-block-table.tk-calc .tk-calc__th { padding: 16px 26px; border: 0; border-bottom: 1px solid var(--tk-line); }
.wp-block-table.tk-calc .tk-calc__td { padding: 20px 26px; border: 0; border-bottom: 1px solid var(--tk-line-hair); }

/* Списки футера: сетка из дизайн-системы вместо маркеров. */
.tk-footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.tk-footer__list .wp-block-list-item,
.tk-footer__li {
  margin: 0;
}

/* Кнопка-ссылка в шапке ведёт себя как обычная ссылка. */
.tk-header__btn { margin: 0; }

/* ---------- 1. Каркас ------------------------------------------------- */
.tk-wrap { max-width: var(--tk-wrap); margin: 0 auto; padding: 0 var(--tk-gut); width: 100%; }

.tk-sec { padding: 96px 0; position: relative; }
.tk-sec--tight { padding: 72px 0; }
.tk-sec--carbon {
  background: var(--tk-c-carbon);
  border-top: 1px solid var(--tk-line);
  border-bottom: 1px solid var(--tk-line);
}

/* ---------- 2. Типографика -------------------------------------------- */
.tk-h1 {
  font-family: var(--tk-f-display); font-weight: 600; line-height: 1.04;
  letter-spacing: .6px; text-transform: uppercase; color: var(--tk-c-ink);
  font-size: clamp(38px, 4.6vw, 68px); margin: 0;
}
.tk-h2 {
  font-family: var(--tk-f-display); font-weight: 600; line-height: 1.06;
  letter-spacing: .6px; text-transform: uppercase; color: var(--tk-c-ink);
  font-size: clamp(28px, 3vw, 44px); margin: 0;
}
.tk-h3 {
  font-family: var(--tk-f-display); font-weight: 600; line-height: 1.1;
  letter-spacing: .5px; text-transform: uppercase; color: var(--tk-c-ink);
  font-size: 18px; margin: 0;
}
.tk-h4 {
  font-family: var(--tk-f-display); font-weight: 600; line-height: 1.2;
  letter-spacing: 1.8px; text-transform: uppercase; color: var(--tk-c-ink-3);
  font-size: 13px; margin: 0;
}
.tk-text { color: var(--tk-c-ink-2); font-size: 15.5px; line-height: 1.62; margin: 0; }
.tk-text--sm { font-size: 13.5px; }
.tk-strong { color: #fff; font-weight: 600; }
.tk-red { color: var(--tk-c-red-hi); }
.tk-signal { color: var(--tk-c-signal); }
.tk-nowrap { white-space: nowrap; }

.tk-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--tk-f-display); font-weight: 500; font-size: 11.5px;
  letter-spacing: 1.8px; text-transform: uppercase; color: var(--tk-c-ink-2);
}
.tk-label::before { content: ''; width: 26px; height: 1px; background: var(--tk-c-red); }
.tk-label--signal::before { background: var(--tk-c-signal); }

/* утилиты отступов — заменяют инлайн-стили макета */
.tk-mt-s { margin-top: 12px; }
.tk-mt-m { margin-top: 16px; }
.tk-mt-l { margin-top: 18px; }
.tk-mb-m { margin-bottom: 18px; }

/* нейтральные обёртки колонок: не дают grid-трекам разъезжаться */
.tk-col { min-width: 0; }
.tk-hero__copy { min-width: 0; }
.tk-sec-head__body { min-width: 0; }
.tk-cta__copy { min-width: 0; }

/* ---------- 3. Кнопки ------------------------------------------------- */
.tk-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 56px; padding: 0 30px; border: 1px solid transparent;
  border-radius: var(--tk-r-s); font-family: var(--tk-f-display); font-weight: 600;
  font-size: 15px; letter-spacing: 1.1px; text-transform: uppercase; cursor: pointer;
  text-decoration: none; white-space: nowrap;
  transition: transform .18s var(--tk-ease), background .18s, box-shadow .18s, border-color .18s;
}
.tk-btn--primary { background: var(--tk-g-red); color: #fff; box-shadow: var(--tk-glow-red); }
.tk-btn--primary:hover { background: var(--tk-c-red-hi); color: #fff; transform: translateY(-2px); }
.tk-btn--ghost {
  border-color: var(--tk-line-strong); color: var(--tk-c-ink); background: rgba(255,255,255,.02);
}
.tk-btn--ghost:hover { border-color: var(--tk-c-signal); color: #fff; background: var(--tk-signal-bg); }
.tk-btn--sm { height: 44px; padding: 0 20px; font-size: 13px; }
.tk-btn--block { width: 100%; }

/* ---------- 4. Топбар ------------------------------------------------- */
.tk-topbar {
  background: var(--tk-c-carbon); border-bottom: 1px solid var(--tk-line);
  font-size: 11.5px; letter-spacing: .3px; color: var(--tk-c-ink-3);
}
.tk-topbar__row { display: flex; align-items: center; gap: 28px; min-height: 40px; justify-content: space-between; }
.tk-topbar__left, .tk-topbar__right { display: flex; align-items: center; gap: 24px; }
.tk-topbar__link { color: var(--tk-c-ink-3); text-decoration: none; transition: color .16s; }
.tk-topbar__link:hover { color: var(--tk-c-ink); }
.tk-topbar__dot {
  width: 5px; height: 5px; background: var(--tk-c-red); display: inline-block;
  margin-right: 8px; vertical-align: middle; border-radius: 50%; box-shadow: 0 0 8px var(--tk-c-red);
}

/* ---------- 5. Шапка / навигация -------------------------------------- */
.tk-header {
  position: sticky; top: calc(var(--wp-admin--admin-bar--height, 0px) + 0px); z-index: 50;
  background: rgba(11,13,16,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--tk-line);
}
.tk-header__row { display: flex; align-items: center; gap: 28px; height: 80px; }

.tk-logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; text-decoration: none; }
.tk-logo__mark {
  width: 38px; height: 38px; display: grid; place-items: center; background: var(--tk-g-red);
  border-radius: var(--tk-r-s); font-family: var(--tk-f-display); font-weight: 600;
  font-size: 17px; color: #fff; letter-spacing: 0; box-shadow: var(--tk-glow-red);
}
.tk-logo__body { display: flex; flex-direction: column; }
.tk-logo__text {
  display: block; font-family: var(--tk-f-display); font-weight: 600; font-size: 19px;
  letter-spacing: 1.4px; text-transform: uppercase; line-height: 1; color: var(--tk-c-ink);
  text-decoration: none;
}
.tk-logo__sub {
  display: block; font-family: var(--tk-f-text); font-weight: 500; font-size: 9.5px;
  letter-spacing: 2.4px; color: var(--tk-c-ink-3); margin-top: 5px; text-transform: none;
}

.tk-nav { display: flex; gap: 24px; margin-left: auto; }
.tk-nav__link {
  font-family: var(--tk-f-display); font-weight: 500; font-size: 13.5px; letter-spacing: 1.1px;
  text-transform: uppercase; color: var(--tk-c-ink-2); padding: 6px 0; position: relative;
  text-decoration: none; transition: color .16s;
}
.tk-nav__link::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 1px;
  background: var(--tk-c-red); transition: width .22s var(--tk-ease);
}
.tk-nav__link:hover, .tk-nav__link.is-active { color: #fff; }
.tk-nav__link:hover::after, .tk-nav__link.is-active::after { width: 100%; }

.tk-header__cta { display: flex; align-items: center; gap: 16px; }
.tk-phone { display: flex; flex-direction: column; }
.tk-phone__num {
  font-family: var(--tk-f-display); font-weight: 600; font-size: 18px; letter-spacing: .8px;
  white-space: nowrap; color: var(--tk-c-ink); text-decoration: none;
}
.tk-phone__num:hover { color: var(--tk-c-red-hi); }
.tk-phone__sub {
  display: block; font-family: var(--tk-f-text); font-weight: 400; font-size: 10.5px;
  letter-spacing: .6px; color: var(--tk-c-ink-3); text-transform: none;
}

.tk-burger {
  display: none; width: 44px; height: 44px; border: 1px solid var(--tk-line-strong);
  background: transparent; border-radius: var(--tk-r-s); cursor: pointer; padding: 0;
  place-items: center; color: var(--tk-c-ink);
}
.tk-burger__line {
  display: block; width: 18px; height: 1.5px; background: var(--tk-c-ink);
  margin: 3px auto; transition: transform .2s var(--tk-ease), opacity .2s;
}

/* ---------- 6. Герой -------------------------------------------------- */
.tk-hero {
  position: relative; overflow: hidden; border-bottom: 1px solid var(--tk-line);
  background:
    radial-gradient(1000px 620px at 78% 8%, rgba(225,6,0,.16), transparent 62%),
    radial-gradient(720px 520px at 4% 96%, rgba(0,210,255,.07), transparent 60%),
    linear-gradient(180deg, #0b0d10 0%, #07080a 100%);
}
.tk-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background:
    linear-gradient(rgba(255,255,255,.032) 1px, transparent 1px) 0 0/100% 56px,
    linear-gradient(90deg, rgba(255,255,255,.032) 1px, transparent 1px) 0 0/56px 100%;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
}
.tk-hero__inner {
  position: relative; display: grid; grid-template-columns: minmax(0,1.06fr) minmax(0,.94fr);
  gap: 48px; align-items: center; padding: 74px 0 58px;
}
.tk-hero__title { margin: 20px 0 0; }
.tk-hero__title-accent { font-style: normal; display: block; color: var(--tk-c-red-hi); }
.tk-hero__lead { color: var(--tk-c-ink-2); font-size: clamp(15px, 1.2vw, 18px); max-width: 520px; margin-top: 20px; }
.tk-hero__actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.tk-hero__meta { display: flex; flex-wrap: wrap; gap: 30px; margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--tk-line); }
.tk-hero__meta-item { font-size: 13.5px; color: var(--tk-c-ink-2); }
.tk-hero__meta-num { display: block; font-family: var(--tk-f-display); font-size: 26px; font-weight: 600; color: #fff; letter-spacing: .5px; }
.tk-hero__art { position: relative; min-height: 420px; display: grid; place-items: center; }
.tk-hero__art-img { width: min(560px, 100%); filter: drop-shadow(0 40px 60px rgba(0,0,0,.8)); }
.tk-hero__art-img img { width: 100%; }
.tk-hero__plate {
  position: absolute; right: 0; bottom: 8px; max-width: 300px; padding: 14px 18px;
  background: rgba(23,27,33,.9); border: 1px solid var(--tk-line-strong);
  border-left: 2px solid var(--tk-c-signal); border-radius: var(--tk-r-s);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  font-size: 11.5px; letter-spacing: .6px; color: var(--tk-c-ink-2);
}
.tk-hero__plate-title { display: block; font-family: var(--tk-f-display); font-size: 15px; letter-spacing: 1px; color: #fff; }

/* ---------- 7. Полоса цен --------------------------------------------- */
.tk-pricestrip { position: relative; border-top: 1px solid var(--tk-line); background: rgba(11,13,16,.6); }
.tk-pricestrip__grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); }
.tk-pricestrip__item { padding: 26px 26px 26px 0; border-right: 1px solid var(--tk-line); transition: background .18s; }
.tk-pricestrip__item:last-child { border-right: 0; }
.tk-pricestrip__item + .tk-pricestrip__item { padding-left: 26px; }
.tk-pricestrip__item:hover { background: var(--tk-red-bg); }
.tk-pricestrip__name {
  min-height: 40px; font-family: var(--tk-f-display); font-weight: 500; font-size: 15px;
  letter-spacing: .9px; text-transform: uppercase; line-height: 1.3; color: var(--tk-c-ink-2);
}
.tk-pricestrip__price { display: flex; align-items: baseline; gap: 7px; margin-top: 10px; }
.tk-pricestrip__amount {
  font-family: var(--tk-f-display); font-weight: 600; font-size: 30px;
  letter-spacing: .5px; color: #fff;
}
.tk-pricestrip__unit {
  font-style: normal; font-family: var(--tk-f-text); font-weight: 400; font-size: 12px;
  letter-spacing: 0; color: var(--tk-c-ink-3);
}

/* ---------- 8. Шапка секции ------------------------------------------- */
.tk-sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 40px; }
.tk-sec-head__title { max-width: 760px; }
.tk-sec-head__lead { color: var(--tk-c-ink-2); max-width: 560px; margin-top: 14px; font-size: 15.5px; line-height: 1.62; }
.tk-sec-num {
  font-family: var(--tk-f-display); font-size: 11.5px; letter-spacing: 1.8px;
  color: var(--tk-c-ink-3); text-align: right; flex-shrink: 0;
}

/* ---------- 9. Сплит: текст + выгоды ---------------------------------- */
.tk-split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.05fr); gap: 56px; align-items: start; }
.tk-prose__p { color: var(--tk-c-ink-2); margin-bottom: 14px; font-size: 15.5px; line-height: 1.62; }

.tk-benefits { display: grid; gap: 14px; }
.tk-benefit {
  display: grid; grid-template-columns: 64px minmax(0,1fr); gap: 20px; padding: 22px;
  background: var(--tk-c-graphite); border: 1px solid var(--tk-line);
  border-left: 2px solid var(--tk-c-red); border-radius: var(--tk-r-s);
  transition: border-color .2s, background .2s, transform .2s var(--tk-ease);
}
.tk-benefit:hover { background: var(--tk-c-panel); border-left-color: var(--tk-c-red-hi); transform: translateX(3px); }
.tk-benefit__body { min-width: 0; }
.tk-benefit__num { font-family: var(--tk-f-display); font-weight: 600; font-size: 30px; color: var(--tk-c-red-hi); line-height: 1; letter-spacing: 0; }
.tk-benefit__title { font-family: var(--tk-f-display); font-weight: 600; font-size: 17px; letter-spacing: .5px; text-transform: uppercase; color: var(--tk-c-ink); margin: 0 0 5px; }
.tk-benefit__text { color: var(--tk-c-ink-2); font-size: 13.5px; line-height: 1.62; margin: 0; }

/* ---------- 10. Таблица экономии -------------------------------------- */
.tk-calcwrap { background: var(--tk-c-graphite); border: 1px solid var(--tk-line); border-radius: var(--tk-r-m); overflow: hidden; }
.tk-calchead {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 26px;
  border-bottom: 1px solid var(--tk-line); background: linear-gradient(180deg, #1b2027, #12151a);
}
.tk-calchead__title { font-family: var(--tk-f-display); font-weight: 600; font-size: 16px; letter-spacing: .5px; text-transform: uppercase; color: var(--tk-c-ink); margin: 0; }
.tk-legend { display: flex; gap: 20px; font-size: 11.5px; color: var(--tk-c-ink-3); letter-spacing: .5px; }
.tk-legend__i { display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-right: 7px; vertical-align: middle; }
.tk-legend__i--was { background: var(--tk-c-ink-3); }
.tk-legend__i--now { background: var(--tk-c-amber); }
.tk-legend__i--save { background: var(--tk-c-ok); }

.tk-calc { width: 100%; border-collapse: collapse; }
.tk-calc__th {
  font-family: var(--tk-f-display); font-weight: 500; font-size: 11.5px; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--tk-c-ink-3); text-align: right; padding: 16px 26px;
  white-space: nowrap; border-bottom: 1px solid var(--tk-line);
}
.tk-calc__th--first { text-align: left; }
.tk-calc__td {
  padding: 20px 26px; border-bottom: 1px solid var(--tk-line-hair); text-align: right;
  font-family: var(--tk-f-display); font-size: 20px; font-weight: 500; letter-spacing: .4px;
  color: var(--tk-c-ink);
}
.tk-calc__td--model { text-align: left; font-family: var(--tk-f-text); font-size: 15.5px; font-weight: 500; letter-spacing: 0; color: #fff; }
.tk-calc__td--was { color: var(--tk-c-ink-3); text-decoration: line-through; text-decoration-color: var(--tk-c-red); text-decoration-thickness: 2px; }
.tk-calc__td--now { color: var(--tk-c-amber); }
.tk-calc__td--save { color: var(--tk-c-ok); }
.tk-calc__save-note { display: block; font-family: var(--tk-f-text); font-size: 10.5px; letter-spacing: 1px; color: var(--tk-c-ink-3); text-transform: uppercase; }
.tk-calcfoot {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 26px;
  border-top: 1px solid var(--tk-line); background: linear-gradient(90deg, rgba(225,6,0,.10), transparent 60%);
}
.tk-calcfoot__text { color: var(--tk-c-ink-2); font-size: 13.5px; line-height: 1.62; max-width: 640px; margin: 0; }

/* ---------- 11. Услуги ------------------------------------------------ */
.tk-services { background: var(--tk-c-carbon); border-top: 1px solid var(--tk-line); border-bottom: 1px solid var(--tk-line); }
.tk-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.tk-chip {
  display: inline-flex; align-items: center; gap: 9px; height: 42px; padding: 0 18px;
  border: 1px solid var(--tk-line-strong); border-radius: var(--tk-r-pill);
  font-size: 13.5px; color: var(--tk-c-ink-2); background: rgba(255,255,255,.02); transition: .18s;
}
.tk-chip::before { content: ''; width: 6px; height: 6px; background: var(--tk-c-signal); border-radius: 50%; box-shadow: var(--tk-glow-signal); }
.tk-chip:hover { border-color: var(--tk-c-signal); color: #fff; background: var(--tk-signal-bg); }

.tk-svc-intro { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); gap: 44px; align-items: center; }
.tk-svc-intro__art {
  position: relative; border: 1px solid var(--tk-line); border-radius: var(--tk-r-m); overflow: hidden;
  background: radial-gradient(420px 300px at 55% 40%, #1c222a, #0c0f13);
}
/* Класс стоит на обёртке core/image, поэтому размеры задаём самому <img>. */
.tk-svc-intro__img { width: 100%; }
.tk-svc-intro__img img { width: 100%; max-height: 330px; object-fit: cover; object-position: center 30%; }
.tk-svc-intro__cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 16px; font-size: 11.5px;
  color: var(--tk-c-ink-2); background: linear-gradient(180deg, rgba(7,8,10,0), rgba(7,8,10,.88));
}

.tk-svcgrid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; margin-top: 40px; }
.tk-svc {
  position: relative; padding: 28px; background: var(--tk-c-panel); border: 1px solid var(--tk-line);
  border-radius: var(--tk-r-m); overflow: hidden; transition: transform .22s var(--tk-ease), border-color .22s;
}
.tk-svc::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--tk-g-red);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--tk-ease);
}
.tk-svc:hover { transform: translateY(-4px); border-color: var(--tk-line-strong); }
.tk-svc:hover::after { transform: scaleX(1); }
.tk-svc__ico {
  width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--tk-line-strong);
  border-radius: var(--tk-r-s); color: var(--tk-c-red-hi); margin-bottom: 20px; background: var(--tk-red-bg);
}
.tk-svc__title { font-family: var(--tk-f-display); font-weight: 600; font-size: 18px; letter-spacing: .5px; text-transform: uppercase; line-height: 1.1; color: var(--tk-c-ink); margin: 0 0 9px; }
.tk-svc__text { color: var(--tk-c-ink-2); font-size: 13.5px; line-height: 1.62; margin: 0; }
.tk-svc__price {
  margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--tk-line);
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
}
.tk-svc__price-note { font-size: 11.5px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--tk-c-ink-3); }
.tk-svc__price-val { font-family: var(--tk-f-display); font-size: 22px; font-weight: 600; color: #fff; }
.tk-svc--accent { background: linear-gradient(180deg, rgba(225,6,0,.12), rgba(23,27,33,1) 40%); border-color: rgba(225,6,0,.4); }
.tk-svc--accent .tk-svc__ico { color: #fff; background: var(--tk-g-red); border-color: transparent; box-shadow: var(--tk-glow-red); }

/* SVG-иконка: класс переезжает на обёртку иконки */
.tk-ico { width: 22px; height: 22px; }

/* ---------- 12. Стенд ------------------------------------------------- */
.tk-stand { display: grid; grid-template-columns: minmax(0,1.02fr) minmax(0,.98fr); gap: 56px; align-items: center; }
.tk-stand__art {
  position: relative; border: 1px solid var(--tk-line); border-radius: var(--tk-r-m); overflow: hidden;
  background: radial-gradient(600px 400px at 50% 30%, #1d232b, #0b0d10);
}
.tk-stand__img,
.tk-stand__img img { width: 100%; }
.tk-stand__cap {
  position: absolute; left: 14px; bottom: 14px; right: 14px; display: flex; gap: 10px; align-items: center;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 11.5px; letter-spacing: .8px;
  text-transform: uppercase; color: var(--tk-c-ink-2); background: rgba(7,8,10,.8);
  border: 1px solid var(--tk-line-strong); border-radius: var(--tk-r-s); padding: 10px 14px;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.tk-stand__cap-strong { color: var(--tk-c-signal); }
.tk-specs {
  display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1px; background: var(--tk-line);
  border: 1px solid var(--tk-line); border-radius: var(--tk-r-m); overflow: hidden; margin-top: 28px;
}
.tk-spec { background: var(--tk-c-graphite); padding: 20px; }
.tk-spec__val { display: block; font-family: var(--tk-f-display); font-size: 26px; font-weight: 600; color: #fff; letter-spacing: .5px; }
.tk-spec__label { font-size: 11.5px; letter-spacing: 1.1px; text-transform: uppercase; color: var(--tk-c-ink-3); }

/* ---------- 13. Процесс ----------------------------------------------- */
.tk-steps { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.tk-step { position: relative; padding: 26px; background: var(--tk-c-graphite); border: 1px solid var(--tk-line); border-radius: var(--tk-r-m); }
.tk-step__n {
  font-family: var(--tk-f-display); font-size: 13px; letter-spacing: 2px; color: var(--tk-c-red-hi);
  margin-bottom: 16px; display: flex; align-items: center; gap: 10px;
}
.tk-step__n::after { content: ''; flex: 1; height: 1px; background: var(--tk-line-strong); }
.tk-step__title { font-family: var(--tk-f-display); font-weight: 600; font-size: 17px; letter-spacing: .5px; text-transform: uppercase; color: var(--tk-c-ink); margin: 0 0 8px; }
.tk-step__text { color: var(--tk-c-ink-2); font-size: 13.5px; line-height: 1.62; margin: 0; }

/* ---------- 14. CTA + слот формы -------------------------------------- */
.tk-cta {
  position: relative; overflow: hidden; background: linear-gradient(120deg, #12151a, #0b0d10 55%);
  border: 1px solid var(--tk-line-strong); border-radius: var(--tk-r-l); padding: 48px;
}
.tk-cta--mini { padding: 26px 28px; margin-top: 26px; }
.tk-cta::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: linear-gradient(100deg, rgba(255,255,255,0) 20%, rgba(255,255,255,.10) 48%, rgba(255,255,255,0) 72%);
}
.tk-cta::after {
  content: ''; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(225,6,0,.30), transparent 65%);
}
.tk-cta__grid { position: relative; display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); gap: 48px; }
.tk-cta__title { font-size: clamp(26px, 2.6vw, 38px); }
.tk-cta__text { color: var(--tk-c-ink-2); margin-top: 14px; max-width: 520px; font-size: 15.5px; line-height: 1.62; }
.tk-form__note { font-size: 11.5px; color: var(--tk-c-ink-3); }
.tk-form__note-link { color: var(--tk-c-signal); border-bottom: 1px dashed rgba(0,210,255,.4); text-decoration: none; }
.tk-form__note-link:hover { color: #fff; }

/* ---------- 14b. Форма Contact Form 7 --------------------------------- */
.tk-form .wpcf7-form {
  display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; margin: 0;
}
.tk-form .wpcf7-form p {
  display: flex; flex-direction: column; gap: 7px; margin: 0; padding: 0;
}
.tk-form .wpcf7-form p:nth-of-type(3) { grid-column: 1 / -1; }
.tk-form .wpcf7-form p:last-of-type { grid-column: 1 / -1; margin-top: 2px; }
.tk-form .wpcf7-form .tk-form__submit {
  grid-column: 1 / -1; display: grid; gap: 12px; margin: 0;
}
.tk-form .wpcf7-form label {
  font-family: var(--tk-f-display); font-size: 11px; letter-spacing: 1.6px;
  text-transform: uppercase; color: var(--tk-c-ink-3); margin: 0; display: block;
}
.tk-form .wpcf7-form .wpcf7-form-control-wrap { display: block; }
.tk-form .wpcf7-form input[type="text"],
.tk-form .wpcf7-form input[type="tel"],
.tk-form .wpcf7-form input[type="email"],
.tk-form .wpcf7-form textarea {
  width: 100%; height: 52px; padding: 0 16px; background: var(--tk-c-void);
  border: 1px solid var(--tk-line-strong); border-radius: var(--tk-r-s);
  color: var(--tk-c-ink); font-family: var(--tk-f-text); font-size: 15.5px;
  outline: none; transition: border-color .16s, box-shadow .16s; box-sizing: border-box;
}
.tk-form .wpcf7-form textarea { height: auto; min-height: 52px; padding: 14px 16px; resize: vertical; }
.tk-form .wpcf7-form input::placeholder { color: #4d5763; }
.tk-form .wpcf7-form input:focus,
.tk-form .wpcf7-form textarea:focus {
  border-color: var(--tk-c-red); box-shadow: 0 0 0 3px rgba(225,6,0,.16);
}
.tk-form .wpcf7-form input[type="submit"] {
  width: 100%; height: 56px; padding: 0 30px; border: 1px solid transparent;
  border-radius: var(--tk-r-s); background: var(--tk-g-red); color: #fff;
  box-shadow: var(--tk-glow-red); font-family: var(--tk-f-display); font-weight: 600;
  font-size: 15px; letter-spacing: 1.1px; text-transform: uppercase; cursor: pointer;
  transition: background .18s, transform .18s var(--tk-ease);
}
.tk-form .wpcf7-form input[type="submit"]:hover {
  background: var(--tk-c-red-hi); color: #fff; transform: translateY(-2px);
}
.tk-form .wpcf7-response-output {
  grid-column: 1 / -1; margin: 12px 0 0; padding: 12px 16px; border-radius: var(--tk-r-s);
  font-size: 13.5px; color: var(--tk-c-ink-2); border: 1px solid var(--tk-line-strong);
  background: rgba(255,255,255,.02);
}
/* Штатный спиннер CF7 встаёт рядом с кнопкой и ломает сетку — гасим его,
   а состояние отправки показываем приглушением самой кнопки. */
.tk-form .wpcf7-spinner { display: none; }
.tk-form .wpcf7-form.submitting input[type="submit"] {
  opacity: .65; pointer-events: none; transform: none;
}
.tk-form .wpcf7-not-valid-tip { font-size: 12px; color: var(--tk-c-red-hi); margin-top: 5px; }

/* ---------- 15. О компании + карта ------------------------------------ */
.tk-about { background: var(--tk-c-carbon); border-top: 1px solid var(--tk-line); border-bottom: 1px solid var(--tk-line); }
.tk-about__grid { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: 56px; }
.tk-about__img { border: 1px solid var(--tk-line); border-radius: var(--tk-r-m); overflow: hidden; margin-top: 28px; background: radial-gradient(500px 320px at 50% 40%, #1c222a, #0d1014); }
.tk-about__img img { display: block; width: 100%; }
.tk-about__stats { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1px; background: var(--tk-line); border: 1px solid var(--tk-line); border-radius: var(--tk-r-m); overflow: hidden; margin-top: 32px; }
.tk-about__stat { background: var(--tk-c-graphite); padding: 22px; }
.tk-about__stat-val { display: block; font-family: var(--tk-f-display); font-size: 32px; font-weight: 600; color: #fff; }
.tk-about__stat-label { font-size: 11.5px; letter-spacing: 1.1px; text-transform: uppercase; color: var(--tk-c-ink-3); }

.tk-map {
  margin-top: 40px; position: relative; border: 1px solid var(--tk-line); border-radius: var(--tk-r-m);
  overflow: hidden; height: 280px; display: grid; place-items: center; text-align: center;
  background:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px) 0 0/100% 40px,
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px) 0 0/40px 100%,
    radial-gradient(700px 400px at 62% 42%, #20262e, #0c0f13);
}
.tk-map__pin { position: relative; display: grid; place-items: center; gap: 12px; }
.tk-map__pulse { width: 16px; height: 16px; border-radius: 50%; background: var(--tk-c-red); box-shadow: 0 0 0 0 rgba(225,6,0,.6); animation: tk-pulse 2.4s infinite; }
.tk-map__pin-title { font-family: var(--tk-f-display); font-size: 15px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--tk-c-ink); }
.tk-map__pin-text { font-size: 13.5px; color: var(--tk-c-ink-2); }
@keyframes tk-pulse { 70% { box-shadow: 0 0 0 26px rgba(225,6,0,0); } 100% { box-shadow: 0 0 0 0 rgba(225,6,0,0); } }

/* ---------- 16. FAQ --------------------------------------------------- */
.tk-faq { display: grid; gap: 10px; }
.tk-faq-item {
  background: var(--tk-c-graphite); border: 1px solid var(--tk-line); border-radius: var(--tk-r-s);
  overflow: hidden; transition: border-color .2s;
}
.tk-faq-item[open] { border-color: var(--tk-line-strong); background: var(--tk-c-panel); }
.tk-faq-q {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 20px; padding: 22px 26px;
  font-family: var(--tk-f-display); font-weight: 500; font-size: 17px; letter-spacing: .5px;
  color: var(--tk-c-ink);
}
.tk-faq-q::-webkit-details-marker { display: none; }
.tk-faq-q::after {
  content: ''; margin-left: auto; width: 12px; height: 12px; flex-shrink: 0;
  border-right: 2px solid var(--tk-c-red); border-bottom: 2px solid var(--tk-c-red);
  transform: rotate(45deg) translateY(-3px); transition: transform .22s var(--tk-ease);
}
.tk-faq-item[open] .tk-faq-q::after { transform: rotate(225deg) translateY(-3px); }
.tk-faq-num { font-style: normal; font-family: var(--tk-f-display); font-size: 12px; letter-spacing: 1.6px; color: var(--tk-c-ink-3); min-width: 34px; }
.tk-faq-a { padding: 0 26px 24px 80px; color: var(--tk-c-ink-2); font-size: 13.5px; line-height: 1.62; }
.tk-faq-a__p { margin-bottom: 10px; }
.tk-faq-list { display: grid; gap: 8px; }
.tk-faq-li { padding-left: 20px; position: relative; }
.tk-faq-li::before { content: ''; position: absolute; left: 0; top: 9px; width: 7px; height: 7px; border: 1px solid var(--tk-c-red); transform: rotate(45deg); }

/* ---------- 17. Футер ------------------------------------------------- */
.tk-footer { background: var(--tk-c-void); border-top: 1px solid var(--tk-line); padding: 64px 0 0; }
.tk-footer__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.15fr; gap: 40px; padding-bottom: 48px; }
.tk-footer__about { min-width: 0; }
.tk-footer__list { display: grid; }
.tk-footer__li { color: var(--tk-c-ink-2); font-size: 13.5px; line-height: 2.1; }
.tk-footer__link { color: var(--tk-c-ink-2); font-size: 13.5px; line-height: 2.1; text-decoration: none; }
.tk-footer__link:hover { color: var(--tk-c-red-hi); }
.tk-footer__about-text { color: var(--tk-c-ink-2); font-size: 13.5px; line-height: 1.62; max-width: 320px; margin-top: 16px; }
.tk-footer__bottom {
  border-top: 1px solid var(--tk-line); padding: 20px 0; display: flex; justify-content: space-between;
  gap: 20px; font-size: 11.5px; color: var(--tk-c-ink-3);
}

/* ---------- 18. Полоса звонка (только телефон) ------------------------ */
.tk-stickycall { display: none; }

/* =====================================================================
   19. АДАПТИВ — брейкпоинты прототипа
   ===================================================================== */
@media (max-width: 1119px) {
  .tk-wrap { padding: 0 26px; }
  .tk-hero__inner { grid-template-columns: minmax(0,1fr); padding: 52px 0 44px; }
  .tk-hero__art { order: -1; min-height: 280px; }
  .tk-split, .tk-stand, .tk-about__grid, .tk-cta__grid { grid-template-columns: minmax(0,1fr); gap: 36px; }
  .tk-svcgrid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .tk-svc-intro { grid-template-columns: minmax(0,1fr); gap: 26px; }
  .tk-steps { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .tk-footer__grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .tk-pricestrip__grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .tk-pricestrip__item { border-right: 0; border-bottom: 1px solid var(--tk-line); padding: 20px 0; }
  .tk-pricestrip__item + .tk-pricestrip__item { padding-left: 0; }
  .tk-nav { display: none; }
  .tk-burger { display: grid; margin-left: auto; }
  .tk-header.is-open .tk-nav {
    display: flex; flex-direction: column; gap: 0; margin: 0; position: absolute;
    left: 0; right: 0; top: 100%; background: var(--tk-c-carbon);
    border-bottom: 1px solid var(--tk-line); padding: 8px 26px 20px;
  }
  .tk-header.is-open .tk-nav__link { padding: 14px 0; border-bottom: 1px solid var(--tk-line); font-size: 15px; }
  .tk-header.is-open .tk-burger__line--1 { transform: translateY(4.5px) rotate(45deg); }
  .tk-header.is-open .tk-burger__line--2 { opacity: 0; }
  .tk-header.is-open .tk-burger__line--3 { transform: translateY(-4.5px) rotate(-45deg); }
}

@media (max-width: 1023px) {
  .tk-sec { padding: 80px 0; }
  .tk-sec--tight { padding: 64px 0; }
  .tk-hero__meta { gap: 22px; }
}

@media (max-width: 767px) {
  .tk-topbar__row { min-height: 38px; padding: 6px 0; font-size: 10.5px; gap: 12px; }
  .tk-topbar__right { display: none; }
  .tk-header__row { height: 68px; gap: 16px; }
  .tk-phone { display: none; }
  .tk-sec { padding: 64px 0; }
  .tk-sec--tight { padding: 56px 0; }
  .tk-sec-head { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 28px; }
  .tk-sec-num { text-align: left; }
  .tk-svcgrid, .tk-steps, .tk-footer__grid, .tk-about__stats, .tk-specs { grid-template-columns: minmax(0,1fr); }
  .tk-form .wpcf7-form { grid-template-columns: minmax(0,1fr); }
  .tk-svc-intro__img img { max-height: 240px; }
  .tk-cta { padding: 28px; }
  .tk-faq-a { padding-left: 26px; }
  .tk-benefit { grid-template-columns: minmax(0,1fr); gap: 10px; }
  .tk-calchead, .tk-calcfoot { flex-direction: column; align-items: flex-start; }
  .tk-calc__th, .tk-calc__td { padding-left: 14px; padding-right: 14px; }
  .tk-hero__art { min-height: 220px; }
  .tk-hero__plate { position: static; max-width: none; margin-top: 18px; }
  .tk-legend { flex-wrap: wrap; gap: 10px 18px; }
  .tk-footer__bottom { flex-direction: column; padding-bottom: 76px; }

  .tk-stickycall {
    display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--tk-line);
  }
  .tk-stickycall__link {
    display: flex; align-items: center; justify-content: center; gap: 8px; height: 56px;
    background: var(--tk-c-carbon); font-family: var(--tk-f-display); font-weight: 600;
    font-size: 14px; letter-spacing: 1px; text-transform: uppercase;
    color: var(--tk-c-ink); text-decoration: none;
  }
  .tk-stickycall__link--call { background: var(--tk-g-red); color: #fff; }
}

@media (max-width: 479px) {
  .tk-wrap { padding: 0 18px; }
  .tk-hero__actions { flex-direction: column; align-items: stretch; }
  .tk-hero__actions .tk-btn { width: 100%; }
  .tk-hero__meta-num { font-size: 22px; }
  .tk-benefit { padding: 18px; }
  .tk-cta { padding: 22px; }
  .tk-cta--mini { padding: 20px; }
  .tk-calchead, .tk-calcfoot { padding: 16px; }
  .tk-calc__th, .tk-calc__td { padding-left: 10px; padding-right: 10px; }
  .tk-calc__td { font-size: 16px; }
  .tk-calc__th { font-size: 10px; letter-spacing: 1px; }
  .tk-svc { padding: 20px; }
  .tk-about__stat-val { font-size: 26px; }
  .tk-spec__val { font-size: 22px; }
  .tk-faq-q { padding: 18px 16px; font-size: 15px; gap: 12px; }
  .tk-faq-a { padding: 0 16px 20px 16px; }
  .tk-map { height: 220px; }
}
