/* Compact global header (~17% lighter) */
.nav-inner { height: 60px; }
.nav-logo { font-size: 1.05rem; margin-right: 40px; gap: 8px; }
.nav-logo-mark-img { width: 36px; height: 36px; }
.nav-links { gap: 30px; }
.nav-right .btn.btn-blue { padding: 10px 22px; font-size: 0.9rem; }

/* HERO КЕЙСА */
.case-hero {
  padding: 140px 0 60px;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.case-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}
.case-hero-inner { position: relative; z-index: 1; }
.case-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255,255,255,0.4);
  margin-bottom: 32px;
  transition: var(--transition);
}
.case-back:hover { color: rgba(255,255,255,0.7); }
.case-hero-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.case-hero-title {
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 800;
  color: white;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  max-width: 820px;
}
.case-hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.55);
  max-width: 640px;
  line-height: 1.65;
  margin-bottom: 48px;
}
.case-hero-metrics {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}
.metric { }
.metric-value {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--teal);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 4px;
}
.metric-value.orange { color: var(--orange); }
.metric-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
}

/* КОНТЕНТ (KT Team-стиль) */
.case-content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 80px;
  padding: 80px 0 100px;
  align-items: start;
}
.case-content {}
.case-reading-time {
  font-size: 0.82rem;
  color: var(--grey-mid);
  margin-bottom: 40px;
  font-weight: 500;
}

/* Rich-text */
.case-rich h2 {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-dark);
  margin: 48px 0 20px;
  padding-top: 48px;
  border-top: 1px solid var(--grey-light);
  scroll-margin-top: 100px;
}
.case-rich h2:first-child { border-top: none; padding-top: 0; margin-top: 0; }
.case-rich h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 28px 0 12px;
}
.case-rich p {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 16px;
}
.case-rich ul {
  margin: 0 0 20px 0;
  padding: 0;
  list-style: none;
}
.case-rich ul li {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.65;
  padding: 8px 0 8px 24px;
  border-bottom: 1px solid var(--grey-light);
  position: relative;
}
.case-rich ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
}
.case-rich .highlight-box {
  background: linear-gradient(135deg, rgba(0,71,204,0.06) 0%, rgba(13,148,136,0.06) 100%);
  border: 1px solid rgba(0,71,204,0.15);
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  margin: 24px 0;
}
.case-rich .highlight-box p { margin: 0; color: var(--text-dark); font-weight: 600; }

/* Case article blocks */
.case-subsection-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 28px 0 16px;
}
.case-framed-section,
.case-approach-block {
  background: var(--grey-bg);
  border: 1px solid var(--grey-light);
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 28px 32px;
  margin: 8px 0 24px;
}
.case-framed-section p:last-child,
.case-approach-block p:last-child { margin-bottom: 0; }

.case-solution-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0 0 24px;
}
.case-solution-card {
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius);
  padding: 24px;
  transition: var(--transition);
}
.case-solution-card:hover {
  border-color: rgba(0, 71, 204, 0.2);
  box-shadow: 0 4px 20px rgba(0, 71, 204, 0.06);
}
.case-solution-number {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  opacity: 0.55;
  margin-bottom: 12px;
}
.case-solution-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.35;
  margin: 0 0 10px;
}
.case-solution-desc {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.65;
  margin: 0;
}

.case-result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0 0 24px;
}
.case-result-card {
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-top: 2px solid var(--teal);
  border-radius: var(--radius);
  padding: 24px;
}
.case-result-card:nth-child(2) { border-top-color: var(--orange); }
.case-result-card:nth-child(3) { border-top-color: var(--blue); }
.case-result-card:nth-child(4) { border-top-color: var(--teal); }
.case-result-value {
  font-size: clamp(1.4rem, 2.5vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--teal);
  line-height: 1.1;
  margin-bottom: 8px;
}
.case-result-card:nth-child(2) .case-result-value { color: var(--orange); }
.case-result-card:nth-child(3) .case-result-value { color: var(--blue); }
.case-result-card:nth-child(4) .case-result-value {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--teal);
}
.case-result-label {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.6;
  font-weight: 500;
}

.case-rich h2#conclusion { margin-top: 72px; }
.case-conclusion-box {
  background: linear-gradient(135deg, rgba(0, 71, 204, 0.04) 0%, rgba(13, 148, 136, 0.04) 100%);
  border: 1px solid rgba(0, 71, 204, 0.12);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-top: 8px;
}
.case-conclusion-box p {
  font-size: 1.02rem;
  color: var(--text-dark);
  line-height: 1.75;
}
.case-conclusion-box p:last-child { margin-bottom: 0; }

/* === CTA (homepage pattern) === */
.cta-section{padding:0 0 100px;background:var(--white)}
.cta-box{background:var(--navy);border-radius:0;overflow:hidden;display:grid;grid-template-columns:1fr 1fr;min-height:360px;position:relative}
.cta-box::before{content:'';position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,0.03) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,0.03) 1px,transparent 1px);background-size:40px 40px;pointer-events:none}
.cta-visual{position:relative;overflow:hidden;min-height:0}
.cta-visual-img{display:block;width:100%;height:100%;object-fit:cover;object-position:center center}
.cta-form-side{padding:36px 36px 32px;position:relative;z-index:1;display:flex;flex-direction:column;justify-content:center;gap:22px}
.cta-form-intro{display:flex;flex-direction:column;gap:0}
.cta-form-heading{font-size:clamp(2rem,3vw,3rem);font-weight:800;color:var(--white);line-height:1.12;letter-spacing:-0.025em;margin-bottom:14px}
.cta-form-lead{font-size:1.05rem;color:rgba(255,255,255,0.62);line-height:1.55;max-width:380px;margin:0}
.cta-form-side .direct-contacts{gap:8px}

/* TOC — оглавление */
.case-toc {
  position: sticky;
  top: 100px;
}
.case-toc-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-mid);
  margin-bottom: 16px;
}
.case-toc-list { display: flex; flex-direction: column; gap: 4px; }
.toc-link {
  font-size: 0.88rem;
  color: var(--text-light);
  padding: 8px 0 8px 9px;
  border-bottom: 1px solid var(--grey-light);
  border-left: 3px solid transparent;
  transition: var(--transition);
  font-weight: 500;
  display: block;
}
.toc-link:hover {
  color: var(--blue);
  background: rgba(0, 71, 204, 0.04);
}
.toc-link.active {
  color: var(--blue);
  font-weight: 800;
  background: rgba(0, 71, 204, 0.06);
  border-left-color: var(--blue);
  padding-left: 12px;
  border-bottom-color: rgba(0, 71, 204, 0.16);
}

/* ДРУГИЕ КЕЙСЫ */
.other-cases { padding: 80px 0; background: var(--grey-bg); border-top: 1px solid var(--grey-light); }
.other-cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.other-case-card {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--grey-light);
  background: var(--white);
  transition: var(--transition);
}
.other-case-card:hover { border-color: rgba(0,71,204,0.2); box-shadow: var(--shadow); transform: translateY(-2px); }
.other-case-img {
  height: 160px;
  background: linear-gradient(135deg, var(--navy) 0%, #1a3a6e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.other-case-body { padding: 20px; }
.other-case-name { font-size: 0.95rem; font-weight: 700; color: var(--text-dark); line-height: 1.3; margin-top: 10px; }
.other-all {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

@media (max-width: 1024px) {
  .case-hero-metrics { gap: 28px; }
  .other-cases-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-box { grid-template-columns: 1fr; min-height: unset; }
  .cta-visual { min-height: 240px; aspect-ratio: 4/3; }
  .cta-form-side { padding: 32px 24px; }
}
@media (max-width: 820px) {
  .case-hero {
    padding: 100px 0 40px;
  }
  .case-back {
    margin-bottom: 20px;
  }
  .case-hero-sub {
    margin-bottom: 32px;
  }
  .case-content-layout {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 40px 0 80px;
  }
  .case-content {
    display: contents;
  }
  .case-reading-time {
    order: 1;
    margin-bottom: 12px;
  }
  .case-toc {
    order: 2;
    position: relative;
    top: 0;
    border: 1px solid var(--grey-light);
    border-radius: var(--radius);
    padding: 16px 18px;
    margin-bottom: 28px;
  }
  .case-toc-title {
    margin-bottom: 10px;
  }
  .case-toc-list {
    gap: 2px;
  }
  .case-rich {
    order: 3;
  }
  .case-solution-grid { grid-template-columns: 1fr; }
  .case-result-grid { grid-template-columns: 1fr; }
}

.u-inline-f38a951c89{flex-shrink:0;}

.u-inline-b635a285f1{display:flex; align-items:center; justify-content:space-between;}

.u-inline-f3435d36cd{background: linear-gradient(135deg, #0f2a1a 0%, #1a4a2e 100%);}

.u-inline-2c0da8215d{background: linear-gradient(135deg, #1a1000 0%, #3a2800 100%);}
