/* ════════════════════════════════════════════════════════
   kb.css — Конструкторское бюро
   ════════════════════════════════════════════════════════ */

body.page-kb { background: #fff; }

/* Блок видео (классы pps-showreel) — без подключения pps.css, как на catalog+kb */
.pps-showreel {
  position: relative;
  width: 100%;
  background: #010c1e;
  line-height: 0;
}
.pps-showreel-video {
  display: block;
  width: 100%;
  height: auto;
}
.pps-showreel-grad {
  position: absolute;
  left: 0;
  right: 0;
  pointer-events: none;
  z-index: 1;
}
.pps-showreel-grad--top {
  top: 0;
  height: 18%;
  background: linear-gradient(
    to bottom,
    rgba(1, 12, 30, 1) 0%,
    rgba(1, 12, 30, 0.4) 60%,
    transparent 100%
  );
}
.pps-showreel-grad--bot {
  bottom: 0;
  height: 22%;
  background: linear-gradient(
    to top,
    rgba(6, 18, 44, 1) 0%,
    rgba(6, 18, 44, 0.5) 50%,
    transparent 100%
  );
}
.pps-showreel-label {
  position: absolute;
  left: clamp(24px, 6vw, 100px);
  top: clamp(28px, 5vw, 72px);
  right: clamp(24px, 6vw, 100px);
  bottom: auto;
  z-index: 2;
  pointer-events: none;
}
.pps-showreel-eyebrow {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal, #00bddc);
  margin-bottom: 10px;
}
.pps-showreel-title {
  margin: 0;
  font-size: clamp(1.5rem, 3.2vw, 2.6rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-shadow: 0 2px 24px rgba(0, 8, 24, 0.8);
}

/* Видео «Производство» после hero — на всю ширину, без «полос» фона */
.page-kb .kb-prod-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: min(92vh, 1100px);
  overflow: hidden;
  background: #010c1e;
}
.page-kb .kb-prod-video .pps-showreel-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* PiP — плавающий мини-плеер (страница КБ) */
#kb-pip {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: clamp(220px, 20vw, 320px);
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 12px 48px rgba(0, 0, 0, 0.75),
    0 0 0 1px rgba(0, 189, 220, 0.22);
  z-index: 9999;
  transform: translateY(32px) scale(0.96);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity   0.42s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.42s cubic-bezier(0.34, 1.2, 0.64, 1);
  background: #010c1e;
}
#kb-pip.is-visible {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}
#kb-pip video {
  display: block;
  width: 100%;
  height: auto;
}
#kb-pip-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  transition: background 0.18s ease, transform 0.18s ease;
  padding: 0;
}
#kb-pip-close:hover {
  background: rgba(0, 0, 0, 0.85);
  transform: scale(1.12);
}
.kb-pip-label {
  position: absolute;
  bottom: 10px;
  left: 12px;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  pointer-events: none;
}
@media (max-width: 480px) {
  #kb-pip {
    width: calc(100vw - 32px);
    right: 16px;
    bottom: 16px;
  }
}

/* ══════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════ */
.page-kb .hero-partners .hero-title-line1 .hero-title-brand {
  display: inline;
}

.page-kb .kb-hero-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.page-kb .hero-partners .kb-hero-actions .hero-btn-primary {
  position: static;
  overflow: visible;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 36px;
  border: none;
  border-radius: 14px;
  background: var(--blue);
  color: #fff;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: none;
  animation: none;
  transition: filter 0.15s, transform 0.15s;
}

.page-kb .hero-partners .kb-hero-actions .hero-btn-primary::before {
  display: none;
  content: none;
}

.page-kb .hero-partners .kb-hero-actions .hero-btn-primary:hover {
  filter: brightness(1.06);
  transform: none;
  box-shadow: none;
}

.page-kb .hero-partners .kb-hero-actions .hero-btn-primary:active {
  transform: scale(0.99);
}

.page-kb .hero-partners .kb-hero-actions .hero-btn-primary:hover svg,
.page-kb .hero-partners .kb-hero-actions .hero-btn-primary svg {
  transform: none;
}

.kb-hero {
  position: relative;
  isolation: isolate;
  min-height: min(78vh, 680px);
  display: flex;
  align-items: flex-end;
  /* Как .cn-page / каталог: запас под fixed-шапку (≈14px + ≈138px) + воздух */
  padding: clamp(168px, 18vh, 220px) 0 80px;
  background: #010c1e url("../img/kb-hero.png") center 30% / cover no-repeat;
  overflow: hidden;
}
@media (max-width: 1200px) {
  .kb-hero {
    padding-top: 130px;
  }
}

@media (max-width: 768px) {
  .kb-hero {
    padding-top: 64px !important;
    padding-bottom: 52px !important;
    min-height: auto !important;
  }
  .kb-hero-content { max-width: 100%; }
  .kb-sec { padding: 52px 0 !important; }
}
.kb-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg,
      rgba(2, 10, 28, 0.97) 0%,
      rgba(3, 14, 36, 0.88) 38%,
      rgba(4, 18, 44, 0.58) 72%,
      rgba(4, 20, 48, 0.38) 100%),
    linear-gradient(to top, rgba(1, 8, 22, 0.95) 0%, transparent 44%);
  z-index: 0;
}

.kb-hero .wrap {
  position: relative;
  z-index: 1;
}
.kb-hero-content { max-width: 680px; }

.kb-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--teal, #00bddc);
  margin: 0 0 22px;
}
.kb-eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1.5px;
  background: var(--teal, #00bddc);
  border-radius: 2px;
  flex-shrink: 0;
}

.kb-hero-title {
  margin: 0;
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.04;
  color: #fff;
  text-shadow:
    0 2px 24px rgba(0, 6, 22, 0.8),
    0 0 56px rgba(0, 10, 32, 0.5);
}
.kb-hero-title span { color: var(--teal, #00bddc); }

.kb-hero-lead {
  margin: 26px 0 0;
  max-width: 540px;
  font-size: 1.06rem;
  line-height: 1.74;
  color: rgba(195, 218, 255, 0.75);
}

/* Нижняя полоска — скролл-подсказка */
.kb-hero-scroll {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 40px 0 0;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  text-decoration: none;
}
.kb-hero-scroll::after {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: rgba(255,255,255,0.2);
}

@media (max-width: 720px) {
  .kb-hero { padding-bottom: 60px; }
}

/* ══════════════════════════════════════════════════════
   ОБЩИЕ СЕКЦИИ
   ══════════════════════════════════════════════════════ */
.kb-sec { padding: 96px 0; }
.kb-sec--light {
  background: #fff;
  border-bottom: 1px solid var(--line, #daeeff);
}
.kb-sec--muted {
  background: linear-gradient(180deg, #f4f8fc 0%, #fafcff 55%, #f1f6fb 100%);
  border-bottom: 1px solid rgba(6, 86, 185, 0.07);
}
.kb-sec--dark {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(ellipse 65% 55% at 8% 15%, rgba(0, 189, 220, 0.10) 0%, transparent 58%),
    radial-gradient(ellipse 55% 48% at 92% 85%, rgba(6, 86, 185, 0.18) 0%, transparent 54%),
    linear-gradient(158deg, #010c1e 0%, #01111f 35%, #020f1c 65%, #010c1e 100%);
  border-bottom: 1px solid rgba(0, 189, 220, 0.08);
}
.kb-sec--dark .wrap { position: relative; z-index: 1; }

/* Секция «Экспертиза и компетенции» — светлая, в тон синий / белый */
#expertise.kb-sec--light {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(ellipse 72% 58% at 10% 18%, rgba(0, 189, 220, 0.09) 0%, transparent 56%),
    radial-gradient(ellipse 58% 52% at 90% 82%, rgba(6, 86, 185, 0.07) 0%, transparent 52%),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 42%, #f4f9fc 100%);
  border-bottom: 1px solid var(--line, #daeeff);
}
#expertise.kb-sec--light .wrap {
  position: relative;
  z-index: 1;
}
#expertise.kb-sec--light .kb-stat strong {
  background: linear-gradient(135deg, #062a52 0%, var(--teal, #00bddc) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
#expertise.kb-sec--light .kb-stat span {
  color: rgba(15, 32, 53, 0.52);
}
/* Карточка цитаты — чистый стиль сайта */
#expertise.kb-sec--light .kb-expertise-quote-frame {
  border-radius: 20px;
  transition: transform 0.3s var(--ease, cubic-bezier(.4,0,.2,1)), box-shadow 0.3s var(--ease, cubic-bezier(.4,0,.2,1));
}
#expertise.kb-sec--light .kb-expertise-quote-frame:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 48px rgba(6, 86, 185, 0.14);
}
#expertise.kb-sec--light .kb-expertise-quote-frame .kb-expertise-right-quote {
  padding: 40px 40px 40px 52px;
  border-radius: 20px;
  border: 1px solid var(--line, #daeeff);
  background: var(--surf, #fff);
  box-shadow: 0 4px 16px rgba(6, 86, 185, 0.06), 0 1px 3px rgba(6, 86, 185, 0.04);
}
#expertise.kb-sec--light .kb-expertise-quote-frame .kb-expertise-right-quote::after {
  top: 24px;
  bottom: 24px;
  left: 0;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: linear-gradient(180deg, var(--teal, #00bddc) 0%, var(--blue, #0656b9) 100%);
  box-shadow: none;
}
#expertise.kb-sec--light .kb-expertise-quote-frame .kb-expertise-right-quote::before {
  top: 8px;
  right: 18px;
  font-size: 6rem;
  line-height: 1;
  color: var(--line, #daeeff);
  background: none;
  -webkit-text-fill-color: var(--line, #daeeff);
}
#expertise.kb-sec--light .kb-expertise-quote-frame .kb-expertise-quote-text {
  color: var(--text, #0f2035);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.78;
  text-shadow: none;
}
#expertise.kb-sec--light .kb-expertise-quote-frame .kb-expertise-quote-caption {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line, #daeeff);
  color: var(--muted, #4a6080);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  font-weight: 600;
}
#expertise.kb-sec--light .kb-expertise-quote-frame .kb-expertise-quote-caption::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--teal, #00bddc);
  box-shadow: none;
}
@media (prefers-reduced-motion: reduce) {
  #expertise.kb-sec--light .kb-expertise-quote-frame {
    transition: none;
  }
  #expertise.kb-sec--light .kb-expertise-quote-frame:hover {
    transform: none;
  }
}

/* «Принципы разработки» — kb-expertise-bg */
#principles.kb-sec--dark {
  background-color: #010c1e;
  background-image:
    linear-gradient(158deg, rgba(1, 10, 26, 0.9) 0%, rgba(1, 14, 34, 0.74) 48%, rgba(1, 8, 22, 0.93) 100%),
    linear-gradient(105deg, rgba(0, 189, 220, 0.06) 0%, transparent 44%),
    url("../img/kb-expertise-bg.jpg");
  background-size: cover, cover, cover;
  background-position: center, center, center 38%;
  background-repeat: no-repeat;
}
#principles.kb-sec--dark .kb-orb {
  opacity: 0.2;
}

/* «Подход к созданию решений» — другой кадр (kb-principles-bg), иной угол затемнения */
#approach.kb-sec--dark {
  background-color: #020a18;
  background-image:
    linear-gradient(168deg, rgba(1, 12, 30, 0.88) 0%, rgba(1, 8, 22, 0.82) 45%, rgba(0, 6, 18, 0.94) 100%),
    linear-gradient(125deg, transparent 40%, rgba(0, 189, 220, 0.07) 100%),
    url("../img/kb-principles-bg.jpg");
  background-size: cover, cover, cover;
  background-position: center, center, center 42%;
  background-repeat: no-repeat;
}
#approach.kb-sec--dark .kb-orb {
  opacity: 0.22;
}

/* Орбы */
.kb-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  opacity: .4;
}
.kb-orb--1 {
  width: 560px; height: 560px;
  left: -180px; top: -180px;
  background: radial-gradient(circle, rgba(0,189,220,.13) 0%, transparent 65%);
}
.kb-orb--2 {
  width: 460px; height: 460px;
  right: -110px; bottom: -90px;
  background: radial-gradient(circle, rgba(6,86,185,.22) 0%, transparent 62%);
}
.kb-orb--3 {
  width: 300px; height: 300px;
  left: 55%; top: 30%;
  background: radial-gradient(circle, rgba(0,189,220,.07) 0%, transparent 65%);
}

/* ══════════════════════════════════════════════════════
   СЕКЦИЯ: РОЛЬ И ЗАДАЧИ (split)
   ══════════════════════════════════════════════════════ */
.kb-role-split {
  display: grid;
  grid-template-columns: 50fr 50fr;
  gap: 80px;
  align-items: center;
}
.kb-role-left {}
.kb-role-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Вертикальная цепочка шагов */
.kb-chain {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.kb-chain-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 0 20px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line, #daeeff);
  transition: background 0.22s;
}
.kb-chain-item:last-child {
  border-bottom: none;
}
.kb-chain-item + .kb-chain-item {
  margin-top: 0;
}
.kb-chain-num {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-top: 0;
}
.kb-chain-dot {
  font-size: 1.75rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--teal, #00bddc);
  width: auto;
  height: auto;
  border-radius: 0;
  border: none;
  background: none;
  box-shadow: none;
  transition: color 0.22s;
}
.kb-chain-item:hover .kb-chain-dot {
  color: var(--blue, #0656b9);
  background: none;
  box-shadow: none;
}
.kb-chain-line { display: none; }
.kb-chain-body {
  padding: 0;
}
.kb-chain-item:last-child .kb-chain-body { padding-bottom: 0; }
.kb-chain-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue, #0656b9);
  opacity: 0.55;
  margin: 0 0 3px;
}
.kb-chain-text {
  font-size: 0.97rem;
  line-height: 1.55;
  color: var(--text, #0f2035);
  font-weight: 500;
  margin: 0;
}

@media (max-width: 860px) {
  .kb-role-split { grid-template-columns: 1fr; gap: 48px; }
}

/* ══════════════════════════════════════════════════════
   ТИПОГРАФИКА СЕКЦИЙ
   ══════════════════════════════════════════════════════ */
.kb-section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal, #00bddc);
  margin: 0 0 18px;
}
.kb-section-kicker--dark {
  color: rgba(255,255,255,0.45);
}
.kb-section-kicker::before {
  content: '■';
  font-size: 0.5rem;
  color: var(--teal, #00bddc);
}

.kb-sec--dark .section-title { color: #fff; margin-top: 0; }
.kb-sec--dark .section-title span { color: var(--teal, #00bddc); }
.kb-sec--light .section-title,
.kb-sec--muted .section-title { margin-top: 0; }

.kb-lead {
  margin: 22px 0 0;
  max-width: 680px;
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(15, 32, 53, 0.74);
}
.kb-sec--dark .kb-lead { color: rgba(195, 218, 255, 0.7); }

/* ══════════════════════════════════════════════════════
   СЕКЦИЯ: ПРИНЦИПЫ (4 карточки)
   ══════════════════════════════════════════════════════ */
.kb-principles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 48px;
}
.kb-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 32px 32px 36px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background-color: #04142a;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  transition: border-color 0.28s ease, transform 0.32s cubic-bezier(0.34, 1.2, 0.64, 1), box-shadow 0.28s ease;
}
/* Фон как у карточек «Мы объединяем»: иллюстрация + затемнение под текст */
.kb-card--viz1 {
  background-image:
    linear-gradient(168deg, rgba(2, 16, 40, 0.58) 0%, rgba(2, 22, 52, 0.28) 42%, rgba(2, 12, 36, 0.9) 100%),
    url("../img/kb-card-01.jpg");
}
.kb-card--viz2 {
  background-image:
    linear-gradient(168deg, rgba(2, 16, 40, 0.58) 0%, rgba(2, 22, 52, 0.28) 42%, rgba(2, 12, 36, 0.9) 100%),
    url("../img/kb-card-02.jpg");
}
.kb-card--viz3 {
  background-image:
    linear-gradient(168deg, rgba(2, 16, 40, 0.58) 0%, rgba(2, 22, 52, 0.28) 42%, rgba(2, 12, 36, 0.9) 100%),
    url("../img/kb-card-03.jpg");
}
.kb-card--viz4 {
  background-image:
    linear-gradient(168deg, rgba(2, 16, 40, 0.58) 0%, rgba(2, 22, 52, 0.28) 42%, rgba(2, 12, 36, 0.9) 100%),
    url("../img/kb-card-04.jpg");
}
.kb-card--viz1,
.kb-card--viz2,
.kb-card--viz3,
.kb-card--viz4 {
  background-size: cover, cover;
  background-position: center, center;
}
.kb-card > * {
  position: relative;
  z-index: 1;
}
.kb-card:hover {
  border-color: rgba(0, 189, 220, 0.28);
  transform: translateY(-4px);
  box-shadow:
    0 16px 48px rgba(0, 6, 22, 0.55),
    0 0 0 1px rgba(0, 189, 220, 0.12);
}
.kb-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(0, 189, 220, 0);
  pointer-events: none;
  z-index: 0;
  transition: background 0.28s ease;
}
.kb-card:hover::after {
  background: rgba(0, 189, 220, 0.1);
}
/* Тонкий бирюзовый блик сверху */
.kb-card::before {
  content: '';
  position: absolute;
  top: 0; left: 20px; right: 20px;
  height: 1px;
  z-index: 2;
  background: linear-gradient(90deg, transparent, rgba(0,189,220,0.45) 50%, transparent);
  transition: opacity 0.28s;
  opacity: 0.5;
}
.kb-card:hover::before { opacity: 1; }

.kb-card-num {
  font-family: var(--site-font-family);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(0, 189, 220, 0.35);
  margin: 0 0 18px;
  transition: -webkit-text-stroke-color 0.28s;
}
.kb-card:hover .kb-card-num { -webkit-text-stroke-color: rgba(0, 189, 220, 0.65); }

.kb-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 10px;
  line-height: 1.3;
}
.kb-card-text {
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(195, 218, 255, 0.62);
  margin: 0;
}

@media (max-width: 620px) {
  .kb-principles-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════
   СЕКЦИЯ: ЭКСПЕРТИЗА (split + stats row)
   ══════════════════════════════════════════════════════ */
.kb-expertise-split {
  display: grid;
  grid-template-columns: 50fr 50fr;
  gap: 80px;
  align-items: center;
}
.kb-stats-row {
  display: flex;
  gap: 36px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.kb-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.kb-stat strong {
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(135deg, #fff 0%, var(--teal, #00bddc) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.kb-stat span {
  font-size: 0.8rem;
  color: rgba(195, 218, 255, 0.55);
  line-height: 1.4;
  max-width: 120px;
}

.kb-expertise-right-quote {
  position: relative;
  padding: 40px 40px 40px 44px;
  border-radius: 24px;
  border: 1px solid rgba(0, 189, 220, 0.15);
  background:
    linear-gradient(145deg, rgba(0, 189, 220, 0.07) 0%, rgba(6, 86, 185, 0.05) 100%),
    rgba(4, 12, 32, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.06) inset,
    0 24px 64px rgba(0, 4, 16, 0.55);
  overflow: hidden;
}
/* Декоративная вертикальная линия слева */
.kb-expertise-right-quote::after {
  content: '';
  position: absolute;
  left: 0; top: 24px; bottom: 24px;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(to bottom, var(--teal, #00bddc), rgba(6, 86, 185, 0.6));
}
/* Большая кавычка */
.kb-expertise-right-quote::before {
  content: '«';
  position: absolute;
  top: 10px; right: 20px;
  font-size: 7rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(0, 189, 220, 0.07);
  pointer-events: none;
  font-family: var(--site-font-family);
}
.kb-expertise-quote-text {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.76;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}
.kb-expertise-quote-caption {
  position: relative;
  z-index: 1;
  margin: 20px 0 0;
  font-size: 0.76rem;
  color: rgba(195, 218, 255, 0.42);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

@media (max-width: 860px) {
  .kb-expertise-split { grid-template-columns: 1fr; gap: 44px; }
}

/* ══════════════════════════════════════════════════════
   СЕКЦИЯ: ПОДХОД (с выделенным callout)
   ══════════════════════════════════════════════════════ */
.kb-approach-split {
  max-width: 720px;
}
.kb-approach-callout {
  position: relative;
  padding: 36px 36px 36px 40px;
  border-radius: 22px;
  border: 1px solid rgba(6, 86, 185, 0.18);
  background: linear-gradient(145deg, #f0f7ff 0%, #e8f1fb 100%);
  overflow: hidden;
}
.kb-approach-callout::before {
  content: '';
  position: absolute;
  left: 0; top: 20px; bottom: 20px;
  width: 3px;
  background: linear-gradient(to bottom, var(--blue, #0656b9), var(--teal, #00bddc));
  border-radius: 2px;
}
.kb-approach-callout-label {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(6, 86, 185, 0.55);
  margin: 0 0 12px;
}
.kb-approach-callout-text {
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--text, #0f2035);
  margin: 0;
}
.kb-approach-callout-text span {
  color: var(--blue, #0656b9);
}

/* Callout на тёмном фоне (секция «Подход») */
.kb-sec--dark .kb-approach-callout {
  border: 1px solid rgba(0, 189, 220, 0.15);
  background:
    linear-gradient(145deg, rgba(0, 189, 220, 0.07) 0%, rgba(6, 86, 185, 0.05) 100%),
    rgba(4, 12, 32, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 24px 64px rgba(0, 4, 16, 0.45);
}
.kb-sec--dark .kb-approach-callout-label {
  color: rgba(195, 218, 255, 0.52);
}
.kb-sec--dark .kb-approach-callout-text {
  color: rgba(255, 255, 255, 0.92);
}
.kb-sec--dark .kb-approach-callout-text span {
  color: var(--teal, #00bddc);
}

.kb-approach-catalog {
  margin-top: 48px;
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
}

@media (max-width: 860px) {
  .kb-approach-split { grid-template-columns: 1fr; gap: 40px; }
  .kb-approach-catalog { margin-top: 36px; }
}

/* ══════════════════════════════════════════════════════
   Кнопка перехода в каталог (секция «Подход»)
   ══════════════════════════════════════════════════════ */
.kb-cta-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 22px 38px 22px 32px;
  min-height: 72px;
  border-radius: 18px;
  border: 1px solid rgba(0, 189, 220, 0.30);
  background:
    linear-gradient(145deg, rgba(0, 189, 220, 0.15) 0%, rgba(6, 86, 185, 0.12) 100%),
    rgba(4, 18, 52, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.10) inset,
    0 12px 40px rgba(0, 6, 24, 0.55),
    0 0 0 1px rgba(0, 189, 220, 0.08);
  color: #fff;
  font-size: 1.07rem;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  transition:
    transform 0.32s cubic-bezier(0.34, 1.2, 0.64, 1),
    box-shadow 0.28s ease,
    border-color 0.22s ease;
}
.kb-cta-btn::before {
  content: '';
  position: absolute;
  top: -55%; left: -70%;
  width: 50%; height: 210%;
  background: linear-gradient(
    105deg,
    transparent 20%,
    rgba(0, 189, 220, 0.22) 42%,
    rgba(140, 235, 255, 0.38) 50%,
    rgba(0, 189, 220, 0.22) 58%,
    transparent 80%
  );
  transform: skewX(-18deg);
  animation: kb-shimmer 3.6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes kb-shimmer {
  0%   { left: -75%; }
  55%  { left: 130%; }
  100% { left: 130%; }
}
.kb-cta-btn > * { position: relative; z-index: 1; }
.kb-cta-btn-ico {
  flex-shrink: 0;
  color: var(--teal, #00bddc);
  opacity: 0.85;
  transition: opacity 0.22s ease, transform 0.32s cubic-bezier(0.34, 1.2, 0.64, 1);
}
.kb-cta-btn:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 189, 220, 0.58);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.14) inset,
    0 22px 56px rgba(0, 10, 32, 0.65),
    0 0 48px rgba(0, 189, 220, 0.18);
}
.kb-cta-btn:hover .kb-cta-btn-ico { opacity: 1; transform: translateX(5px); }
.kb-cta-btn:active { transform: translateY(-1px); }
.kb-cta-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 189, 220, 0.5), 0 12px 36px rgba(0, 8, 28, 0.5);
}

/* ══════════════════════════════════════════════════════
   АДАПТИВНОСТЬ
   ══════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .kb-sec { padding: 64px 0; }
  .kb-expertise-right-quote { padding: 28px 28px 28px 32px; }
  #expertise.kb-sec--light .kb-expertise-quote-frame .kb-expertise-right-quote {
    padding: 28px 24px 28px 36px;
  }
  #expertise.kb-sec--light .kb-expertise-quote-frame .kb-expertise-right-quote::before {
    font-size: 4rem;
    right: 10px;
  }
  .kb-approach-callout { padding: 28px 28px 28px 34px; }
}
