/* КАПРИН — блоки «направления / бренды / запросы» и посадочные */
.hub-section .sec-head { margin-bottom: 22px; }
.hub-section .sec-head h2 { font-size: 28px; }
.hub-section .sec-head p { color: #6b6b6b; font-size: 15.5px; max-width: 640px; }

.hub-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.hub-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hub-brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 10px;
}

.hub-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 148px;
  padding: 18px 18px 16px;
  background: #fff;
  border: 1px solid #e8e8e6;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .05);
  color: inherit;
  text-decoration: none;
  min-width: 0;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.hub-card:hover {
  transform: translateY(-2px);
  border-color: #d8d8d4;
  box-shadow: 0 16px 32px rgba(15, 23, 42, .09);
}
.hub-kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #8a8a86;
}
.hub-card h3 {
  margin: 0;
  font-family: var(--display), inherit;
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: -.02em;
  color: var(--navy, #171717);
  overflow-wrap: anywhere;
}
.hub-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: #6b6b6b;
  flex: 1 1 auto;
}
.hub-more {
  margin-top: 8px;
  font-size: 13.5px;
  font-weight: 800;
  color: #c45c12;
}

.hub-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-height: 92px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #e8e8e6;
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .04);
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.hub-brand:hover {
  transform: translateY(-2px);
  border-color: #171717;
  box-shadow: 0 14px 28px rgba(15, 23, 42, .08);
}
.hub-brand b {
  font-size: 16px;
  font-weight: 800;
  color: #171717;
  letter-spacing: -.01em;
  overflow-wrap: anywhere;
}
.hub-brand span {
  font-size: 13px;
  color: #6b6b6b;
  line-height: 1.35;
}

/* Старые чипы на главной и /brands — в плитки, фильтры каталога не трогаем */
.hub-brands .brand-chips,
.brands-az .brand-chips {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 10px;
}
.hub-brands .brand-chip,
.brands-az .brand-chip {
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  height: auto;
  min-height: 88px;
  padding: 14px 16px !important;
  border-radius: 14px !important;
  border: 1px solid #e8e8e6 !important;
  background: #fff !important;
  font-size: 16px;
  font-weight: 800;
  color: #171717;
  white-space: normal;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .04);
}
.hub-brands .brand-chip .text-muted,
.brands-az .brand-chip .text-muted {
  font-size: 13px;
  font-weight: 600;
  color: #6b6b6b;
}

.seo-landing-hero .brand-chips {
  display: flex !important;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 18px;
}
.seo-landing-hero .brand-chip {
  display: inline-flex !important;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 36px;
  height: 36px;
  padding: 0 10px !important;
  border-radius: 10px !important;
  font-size: 13px;
  font-weight: 800;
  box-shadow: none;
}

/* Посадочные страницы направлений и запросов */
.seo-landing-hero {
  background: linear-gradient(180deg, #f6f6f4 0%, #fff 100%);
  padding: 28px 0 12px !important;
}
.seo-landing-hero .breadcrumbs {
  font-size: 13.5px;
  color: #8a8a86;
  margin-bottom: 10px;
}
.seo-landing-hero .breadcrumbs a { color: #6b6b6b; }
.seo-landing-hero .page-h {
  font-size: 34px;
  line-height: 1.15;
  max-width: 980px;
  color: #171717;
}
.seo-landing-hero .text-muted {
  font-size: 17px !important;
  line-height: 1.6 !important;
  color: #5c5c5c !important;
  max-width: 760px;
}
.seo-landing-hero .hero-cta { gap: 10px; }
.seo-landing-hero .hero-cta .btn-orange { background: #e86a17; color: #fff; border-color: #e86a17; }
.seo-landing-hero .hero-cta .btn {
  min-height: 48px;
  border-radius: 12px;
}
.seo-bottom-note {
  background: #fff;
}
.seo-bottom-note .container > div {
  border-top: 1px solid #ecece8 !important;
  color: #5c5c5c !important;
}
.seo-bottom-note h2 {
  font-family: var(--display), inherit;
  font-size: 18px !important;
  color: #171717 !important;
  font-weight: 800 !important;
  letter-spacing: -.02em;
  margin-bottom: 10px !important;
}
.seo-bottom-note a {
  color: #c45c12 !important;
  font-weight: 700;
}

.landing-also {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
  margin-top: 8px;
}

@media (max-width: 900px) {
  .hub-grid, .hub-grid-2 { grid-template-columns: 1fr 1fr; }
  .hub-card { min-height: 0; padding: 14px; }
  .hub-card h3 { font-size: 16px; }
  .seo-landing-hero .page-h { font-size: 26px !important; }
  .hub-brands .brand-chips,
  .brands-az .brand-chips { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .hub-grid, .hub-grid-2,
  .hub-brands .brand-chips,
  .brands-az .brand-chips { grid-template-columns: 1fr; }
  .hub-section .sec-head h2 { font-size: 22px; }
}
