/* ══ index.css ══
   Breakpoints: phone ≤767px | tablet 768–1023px | desktop ≥1024px
   ══ */

/* Hero slide buttons — desktop (inside .hero-pan-cta) */
@media (min-width: 1024px) {
  .hero-slide-btns {
    position: static;
    transform: none;
    left: auto;
    bottom: auto;
    z-index: auto;
    pointer-events: none;
    flex-shrink: 0;
  }

  .hero-slide-btn {
    display: none;
    padding: 12px 28px;
    border: 1px solid #7B5EA7;
    color: #fff;
    font-family: var(--font-body, 'PPPangram', sans-serif);
    font-size: 13px;
    letter-spacing: 0.08em;
    text-decoration: none;
    border-radius: 2px;
    background: #7B5EA7;
    backdrop-filter: blur(10px);
    transition: background .2s, border-color .2s, box-shadow .2s;
    pointer-events: auto;
    white-space: nowrap;
    box-shadow: 0 4px 24px rgba(123, 94, 167, 0.45);
  }

  .hero-slide-btn.slide-btn-active { display: inline-block; }

  .hero-slide-btn:hover {
    background: #8f6fbb;
    border-color: #9b7fd0;
    box-shadow: 0 6px 28px rgba(123, 94, 167, 0.55);
  }
}

/* Tablet fallback — centered button */
@media (min-width: 768px) and (max-width: 1023px) {
  .hero-slide-btns {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    pointer-events: none;
  }

  .hero-slide-btn {
    display: none;
    padding: 11px 28px;
    border: 1px solid rgba(123, 94, 167, 0.7);
    color: #fff;
    font-family: var(--font-body, 'PPPangram', sans-serif);
    font-size: 13px;
    letter-spacing: 0.08em;
    text-decoration: none;
    border-radius: 2px;
    background: rgba(123, 94, 167, 0.45);
    backdrop-filter: blur(10px);
    transition: background .2s, border-color .2s;
    pointer-events: auto;
    white-space: nowrap;
    box-shadow: 0 2px 16px rgba(123, 94, 167, 0.3);
  }

  .hero-slide-btn.slide-btn-active { display: inline-block; }

  .hero-slide-btn:hover {
    background: rgba(123, 94, 167, 0.75);
    border-color: rgba(123, 94, 167, 1);
  }
}
/* ============================================================
   HEADER — тёмный фон, светлый текст, без кнопки CTA
   ============================================================ */
#header { background: #1E1530 !important; border-bottom: none !important; }
#header .nav a { color: rgba(255,255,255,.75) !important; }
#header .nav a:hover { color: #fff !important; }
#header .header-phone { color: rgba(255,255,255,.75) !important; }
#header .header-icon-btn { color: rgba(255,255,255,.75) !important; }
#header .header-icon-btn:hover { color: #fff !important; }
#header .btn-cta { display: none !important; }
#header .logo-img-header { filter: brightness(0) invert(1) !important; }

/* ============================================================
   HERO — панорамный коллаж с crossfade
   ============================================================ */

.hero-collage-section {
  position: relative;
  width: 100%;
  background: #F5F0E8;
  overflow: hidden;
  padding-top: 80px;
}

.hero-pan-cta {
  display: none;
}

.hero-pan-media {
  position: relative;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

@media (min-width: 1024px) {
  .hero-collage-section {
    display: flex;
    flex-direction: column;
    padding-top: 0;
    min-height: calc(100svh - 76px);
  }

  .hero-loc-labels {
    flex-shrink: 0;
    padding: 0;
    margin-bottom: 0;
    padding-top: 6px;
  }

  .hero-loc-label[data-idx="3"] .loc-label-line {
    display: inline;
  }

  .hero-loc-label[data-idx="3"] .loc-label-line + .loc-label-line::before {
    content: '\00a0';
  }

  .hero-panorama {
    position: relative;
    flex: 1 1 auto;
    height: auto;
    min-height: 420px;
    overflow: hidden;
  }

  .hero-pan-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .hero-pan-media::before,
  .hero-pan-media::after {
    width: 56px;
  }

  .hero-pan-bottom-fade {
    height: 28%;
    background: linear-gradient(to bottom, transparent 0%, rgba(245, 240, 232, 0.6) 100%);
  }

  .hero-audiences {
    flex-shrink: 0;
    margin-top: 0;
  }

  .hero-pan-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 14px;
    position: absolute;
    left: 24px;
    right: auto;
    top: auto;
    bottom: 28px;
    transform: none;
    z-index: 12;
    pointer-events: none;
    text-align: left;
    width: min(440px, 36vw);
    max-width: calc(100% - 48px);
    padding: 0;
    margin: 0;
    box-sizing: border-box;
  }

  .hero-pan-copy {
    width: 100%;
    padding: 0;
    background: none;
    box-shadow: none;
    box-sizing: border-box;
  }

  .hero-pan-cta .hero-slide-btns {
    position: static;
    transform: none;
    left: auto;
    bottom: auto;
    flex-shrink: 0;
    display: block;
    height: auto;
    pointer-events: none;
    width: auto;
    margin: 0;
    padding: 0;
  }

  .hero-pan-title {
    margin: 0;
    max-width: none;
    min-height: 0;
    display: block;
    font-family: var(--F, Georgia, serif);
    font-size: clamp(22px, 1.85vw, 32px);
    font-weight: 900;
    line-height: 1.22;
    letter-spacing: -0.01em;
    color: #fff;
    text-align: left;
    text-shadow: 0 2px 20px rgba(20, 12, 36, 0.55);
    hyphens: none;
    word-break: normal;
  }

  .hero-pan-cta .hero-slide-btn {
    padding: 0 34px;
    font-size: 14px;
    line-height: 1;
    height: 54px;
    min-height: 54px;
    display: none;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: auto;
    margin: 0;
  }

  .hero-pan-cta .hero-slide-btn.slide-btn-active {
    display: inline-flex;
  }

  .b-essence {
    padding-top: 48px;
  }

  .b-essence .section-title br {
    display: none;
  }

  .b-essence .section-title {
    margin-bottom: 12px;
  }

  .b-essence .essence-note {
    margin: 0 0 20px;
    order: unset;
  }

  .b-essence .accent-divider {
    margin-bottom: 24px;
  }

  .b-essence .essence-body {
    margin-bottom: 0;
    hyphens: none;
    -webkit-hyphens: none;
    word-break: normal;
    overflow-wrap: normal;
    word-wrap: normal;
  }

  .b-founders .founders-text,
  .b-founders .founders-quote p {
    hyphens: none;
    -webkit-hyphens: none;
    word-break: normal;
    overflow-wrap: normal;
    word-wrap: normal;
  }

  .b-process .step-title,
  .b-process .step-desc {
    hyphens: none;
    -webkit-hyphens: none;
    word-break: normal;
    overflow-wrap: normal;
    word-wrap: normal;
  }
}

/* --- Названия локаций --- */
.hero-loc-labels {
  display: flex;
  padding: 8px 0 0;
  opacity: 0;
  transform: translateY(10px);
  animation: heroFadeUp .7s .3s forwards;
}
.hero-loc-label {
  flex: 1;
  text-align: center;
  font-family: var(--F, sans-serif);
  font-size: clamp(8px, .8vw, 11px);
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #9B8FA8;
  padding-top: 10px;
  padding-bottom: 10px;
  position: relative;
  transition: color .35s ease, opacity .35s ease;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.hero-loc-label:hover {
  color: #6B5488;
}
.hero-loc-label:active {
  opacity: 0.82;
}
.hero-loc-label:focus-visible {
  outline: 2px solid #7B5EA7;
  outline-offset: 3px;
}
.hero-loc-label.hl-active {
  color: #3D2C5A;
}
.hero-loc-label::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: auto;
  left: 50%;
  transform: translateX(-50%);
  width: 0px;
  height: 2px;
  background: #7B5EA7;
  transition: width .5s ease;
  border-radius: 2px;
}
.hero-loc-label.hl-active::after {
  width: 28px;
}

/* --- Панорама: стек из фото с crossfade --- */
.hero-panorama {
  position: relative;
  width: 100%;
  height: clamp(200px, 28vw, 380px);
  overflow: hidden;
  opacity: 0;
  animation: heroFadeIn 1s .5s forwards;
}

.hero-pan-media::before,
.hero-pan-media::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 180px;
  z-index: 2;
  pointer-events: none;
}
.hero-pan-media::before {
  left: 0;
  background: linear-gradient(to right, #F5F0E8 0%, transparent 100%);
}
.hero-pan-media::after {
  right: 0;
  background: linear-gradient(to left, #F5F0E8 0%, transparent 100%);
}

/* Каждое фото — абсолютно поверх друг друга */
.hero-pan-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0;
  transition: opacity 1.4s ease, transform 8s ease;
  transform: scale(1.03);
  will-change: opacity, transform;
}
.hero-pan-img.pan-active {
  opacity: 1;
  transform: scale(1.08);
}

/* Диагональные маски по краям (левый и правый fade) — см. .hero-pan-media */
.hero-panorama::before,
.hero-panorama::after {
  display: none;
}

/* Нижний фейд */
.hero-pan-bottom-fade {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 45%;
  background: linear-gradient(to bottom, transparent, rgba(245,240,232,.85));
  z-index: 2;
  pointer-events: none;
}

/* Диагональные разделители между зонами (декор поверх фото) */
.hero-pan-dividers {
  display: none;
}
.hero-pan-dividers span {
  flex: 1;
  border-right: 1px solid rgba(245,240,232,.25);
  position: relative;
}
.hero-pan-dividers span:last-child { border-right: none; }

/* --- Прогресс-бар --- */
.hero-progress-bar { display: none; }
.hero-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #7B5EA7 0%, #C9B99A 50%, #7B5EA7 100%);
  background-size: 200%;
  transition: width .08s linear;
}

/* --- Три аудитории --- */
.hero-audiences {
  display: flex;
  border-top: 1px solid rgba(61,44,90,.08);
  opacity: 0;
  animation: heroFadeUp .7s .9s forwards;
}
.hero-audience-item {
  flex: 1;
  padding: 18px 24px;
  border-right: 1px solid rgba(61,44,90,.08);
  text-align: center;
  transition: background .3s;
}
.hero-audience-item:last-child { border-right: none; }
.hero-audience-item:hover { background: rgba(123,94,167,.05); }
.hero-audience-role {
  font-family: var(--F, sans-serif);
  font-size: clamp(11px, 1vw, 14px);
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #3D2C5A;
  margin-bottom: 4px;
}
.hero-audience-desc {
  font-size: clamp(10px, .85vw, 12px);
  color: #7B6E8A;
  line-height: 1.5;
}

/* --- Keyframes --- */
@keyframes heroFadeUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes heroFadeIn {
  to { opacity: 1; }
}

/* --- Mobile --- */
@media (max-width: 768px) {
  .hero-collage-section {
    display: flex;
    flex-direction: column;
    padding-top: 56px;
    padding-bottom: 0;
  }

  .hero-loc-labels {
    order: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px 6px;
    padding: 12px 12px 0;
  }

  .hero-loc-label {
    flex: unset;
    font-size: 7.5px;
    letter-spacing: 0.05em;
    line-height: 1.25;
    padding: 0 2px 10px;
  }

  .hero-panorama {
    order: 2;
    height: auto;
    display: flex;
    flex-direction: column;
  }

  .hero-pan-media {
    height: clamp(150px, 40vw, 200px);
    overflow: hidden;
  }

  .hero-pan-media::before,
  .hero-pan-media::after { width: 32px; }

  .hero-pan-title {
    display: none;
  }

  .hero-pan-cta {
    display: block;
    position: static;
    transform: none;
    width: 100%;
    padding: 16px 16px 18px;
    box-sizing: border-box;
    text-align: center;
    pointer-events: auto;
    border-top: 1px solid rgba(61, 44, 90, 0.08);
  }

  .hero-slide-btns {
    position: static;
    transform: none;
    left: auto;
    bottom: auto;
    width: 100%;
    pointer-events: auto;
    z-index: 1;
  }

  .hero-slide-btn {
    font-size: 11px;
    padding: 13px 20px;
    min-height: 46px;
    letter-spacing: 0.06em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .hero-progress-bar { order: 2; display: none; }

  /* Три аудитории — столбиком, без обрезки */
  .hero-audiences {
    order: 4;
    display: flex;
    flex-direction: column;
    border-top: 1px solid rgba(61, 44, 90, 0.08);
  }

  .hero-audience-item {
    flex: none;
    width: 100%;
    border-right: none;
    border-bottom: 1px solid rgba(61, 44, 90, 0.08);
    padding: 14px 16px;
    text-align: left;
    box-sizing: border-box;
  }

  .hero-audience-item:last-child {
    border-bottom: none;
  }

  .hero-audience-role {
    font-size: 10px;
    letter-spacing: 0.12em;
    margin-bottom: 4px;
  }

  .hero-audience-desc {
    display: block;
    font-size: 13px;
    line-height: 1.45;
    color: #5c5268;
  }


  #cta .cta-title {
    text-align: center;
    font-size: clamp(22px, 5.8vw, 30px);
    line-height: 1.28;
    margin-bottom: 16px;
    padding-left: max(24px, env(safe-area-inset-left));
    padding-right: max(24px, env(safe-area-inset-right));
    hyphens: none;
    overflow-wrap: normal;
    word-break: normal;
  }

  #cta .cta-title-line {
    display: block;
    white-space: normal;
    hyphens: none;
    overflow-wrap: normal;
    word-break: normal;
  }

  .b-founders .section-title {
    font-size: clamp(26px, 7.5vw, 34px);
    line-height: 1.15;
  }

  .b-essence {
    padding-top: 28px;
    padding-bottom: 0;
  }

  .b-founders {
    padding-top: 28px;
    padding-bottom: 0;
  }

  .b-directions {
    padding-top: 32px;
    padding-bottom: 0;
  }

  .b-locations {
    padding-top: 32px;
    padding-bottom: 0;
  }

  .b-cases {
    padding-top: 32px;
    padding-bottom: 0;
  }

  .b-process .process-inner {
    padding-top: 32px;
    padding-bottom: 0;
  }

  .b-partners {
    padding-top: 32px;
    padding-bottom: 64px;
  }

  .b-cta {
    padding-top: 32px;
    padding-bottom: 64px;
  }
}

/* ТЕКСТ крупнее — только десктоп */
@media (min-width: 1024px) {
.essence-body { font-size:20px !important; line-height:1.85 !important; }
.essence-note { font-size:16px !important; }
.fact-label { font-size:16px !important; }
.fact-desc { font-size:15px !important; }
.founders-text { font-size:19px !important; line-height:1.85 !important; }
.founders-quote p { font-size:19px !important; }
.founder-desc { font-size:16px !important; line-height:1.7 !important; }
.dir-hover { font-size:15px !important; }
.loc-desc { font-size:17px !important; line-height:1.75 !important; }
.case-title { font-size:17px !important; }
.case-stat { font-size:15px !important; }
.step-desc { font-size:16px !important; line-height:1.75 !important; }
.step-title { font-size:18px !important; }
.cta-sub { font-size:19px !important; }
}

/* ПАРТНЁРЫ — цвет при hover, единый размер логотипов */
.b-partners .partners-row {
  grid-template-columns: repeat(5, 1fr);
}

@media (max-width: 1023px) {
  .b-partners .partners-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

.partner-logo img {
  width: min(280px, 92%);
  height: 120px;
  object-fit: contain;
  object-position: center;
  filter: grayscale(0);
  opacity: .85;
  transition: opacity .4s;
}
.partner-logo:hover img { opacity: 1; }

.partner-logo--sovcombank img,
.partner-logo--vtb img {
  width: min(340px, 96%);
  height: 150px;
}

.partner-logo--metrofond img,
.partner-logo--eden img {
  width: min(220px, 90%);
  height: 120px;
}

/* КЕЙСЫ — мета строка и ссылка-стрелка */
.case-meta {
  font-size: clamp(10px, .8vw, 12px);
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #9B8FA8;
  margin-bottom: 8px;
}
.case-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: clamp(11px, .9vw, 13px);
  font-weight: 600;
  color: #7B5EA7;
  text-decoration: none;
  border-bottom: 1px solid rgba(123,94,167,.3);
  padding-bottom: 2px;
  transition: border-color .3s, gap .3s;
  margin-top: 4px;
}
.case-link:hover { border-color: #7B5EA7; gap: 12px; }
.case-link-arrow { transition: transform .3s; }
.case-link:hover .case-link-arrow { transform: translateX(4px); }

/* КЕЙСЫ — метрики 3 блока */
.case-metrics {
  display: flex;
  gap: 8px;
  margin: 12px 0 16px;
  border-top: none;
  padding-top: 0;
}
.case-metric { flex: 1; text-align: center; }
.case-metric-val {
  font-family: var(--F, sans-serif);
  font-size: clamp(13px, 1.3vw, 17px);
  font-weight: 900;
  color: #3D2C5A;
  line-height: 1.2;
  margin-bottom: 4px;
}
.case-metric-lbl {
  font-size: clamp(9px, .7vw, 11px);
  color: #7B6E8A;
  line-height: 1.4;
}
@media (max-width: 480px) {
  .case-metrics { flex-wrap: wrap; }
  .case-metric { flex: 1 1 45%; }
}

/* ============================================================
   БЛОК «КАК МЫ РАБОТАЕМ» — тёмный, горизонтальная линия
   ============================================================ */
.b-process { padding: 0; }
.process-inner {
  background: #1E1530;
  padding: clamp(48px, 7vw, 96px) 0;
}
.process-header { margin-bottom: clamp(32px, 4vw, 56px); }
.process-header .section-label { display: block; margin-bottom: 12px; }
.process-timeline {
  position: relative;
  margin-bottom: clamp(32px, 4vw, 56px);
  padding: 12px calc(12.5% - 8px);
}
.process-line {
  height: 1px;
  background: rgba(255,255,255,.12);
  position: relative;
  overflow: hidden;
}
.process-line-fill {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0%;
  background: linear-gradient(90deg, #7B5EA7, #C9B99A);
  transition: width 1.2s cubic-bezier(.4,0,.2,1);
}
.process-line-fill.active { width: 100%; }
.process-dots {
  position: absolute;
  top: 50%; left: calc(12.5% - 8px); right: calc(12.5% - 8px);
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
}
.process-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  border: 1px solid rgba(255,255,255,.2);
  transform: scale(0);
  transition: transform .4s cubic-bezier(.34,1.56,.64,1), background .4s;
  position: relative;
}
.process-dot::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  background: rgba(123,94,167,.2);
  transform: scale(0);
  transition: transform .4s;
}
.process-dot.visible { transform: scale(1); background: #7B5EA7; border-color: #7B5EA7; }
.process-dot.visible::after { transform: scale(1); }
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.process-step {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.process-step.visible { opacity: 1; transform: translateY(0); }
.process-step .step-num {
  display: block;
  font-family: var(--F, sans-serif);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 900;
  color: #7B5EA7;
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -.02em;
}
.process-step .step-title {
  font-family: var(--F, sans-serif);
  font-size: clamp(14px, 1.2vw, 17px);
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
  margin-bottom: 12px;
}
.process-step .step-desc {
  font-size: clamp(12px, .9vw, 14px) !important;
  color: rgba(255,255,255,.5) !important;
  line-height: 1.7 !important;
  max-height: none !important;
  opacity: 1 !important;
  margin-top: 0 !important;
}
@media (max-width: 768px) {
  .process-steps { grid-template-columns: repeat(2,1fr); gap: 24px; }
  .process-timeline { padding: 12px 4px; }
  .process-dots { left: 4px; right: 4px; }
}
@media (max-width: 480px) { .process-steps { grid-template-columns: 1fr; } }

/* АНИМАЦИЯ шагов */
.step-anim { opacity:0; transform:translateY(30px); transition:opacity .6s ease, transform .6s ease; }
.step-anim.visible { opacity:1; transform:translateY(0); }



/* Index — компактный блок «Кейсы BURO» */
.b-cases .cases-header {
  margin-bottom: 28px;
}

.b-cases .cases-header .section-label {
  margin-bottom: 8px;
}

.b-cases .cases-grid {
  align-items: start;
  gap: 20px;
}

.b-cases .case-card {
  height: auto;
}

.b-cases .case-img-wrap {
  height: 220px;
}

.b-cases .case-card--flavium .case-img {
  object-position: center 18%;
}

.b-cases .case-body {
  flex: 1;
  padding: 16px 18px 18px;
}

.b-cases .case-badges-row {
  min-height: 0;
  margin-bottom: 10px;
  align-items: center;
  gap: 5px;
}

.b-cases .case-title {
  min-height: 0;
  margin-bottom: 0;
  font-family: var(--F, Georgia, serif);
  font-size: clamp(16px, 1.05vw, 18px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: #2a2640;
}

.b-cases .case-metrics {
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 8px;
  border-top: 1px solid rgba(30, 21, 48, 0.08);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px 4px;
  align-items: start;
}

.b-cases .case-metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 0;
}

.b-cases .case-metric-val {
  min-height: 30px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  font-family: var(--F, Georgia, serif);
  font-size: clamp(14px, 0.95vw, 17px);
  font-weight: 800;
  line-height: 1.15;
  color: #3d2c5a;
  hyphens: none;
  word-break: normal;
}

.b-cases .case-metric-lbl {
  min-height: 24px;
  margin-top: 2px;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.02em;
  color: rgba(61, 44, 90, 0.62);
  hyphens: none;
}

.b-cases .case-link {
  margin-top: 12px;
  padding-top: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #7b5ea7;
  border-bottom: none;
  padding-bottom: 0;
  gap: 6px;
}

.b-cases .case-link:hover {
  color: #5a4480;
}

@media (max-width: 768px) {
  .b-cases .case-title {
    min-height: 0;
  }

  .b-cases .case-metric-val,
  .b-cases .case-metric-lbl {
    min-height: 0;
  }

  .b-cases .case-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}


.cases-all-link--mobile {
  display: none;
}

/* Плашки кейсов */
.case-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.case-badge {
  display: inline-block;
  background: rgba(123,94,167,0.1);
  color: #7B5EA7;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(123,94,167,0.2);
}
.case-badge-gold {
  background: rgba(168,144,96,0.1);
  color: #a08040;
  border-color: rgba(168,144,96,0.25);
}
.case-badge-purple {
  background: linear-gradient(135deg,rgba(123,94,167,0.15),rgba(155,126,200,0.15));
  color: #7B5EA7;
  border-color: rgba(123,94,167,0.3);
}


/* Index page — no hyphenation or mid-word breaks */
body.page-index,
body.page-index * {
  hyphens: none;
  -webkit-hyphens: none;
  word-break: normal;
  overflow-wrap: normal;
  word-wrap: normal;
}

.locations-title--mobile {
  display: none;
}

