.section-brand {
  background: var(--bg-section);
  padding: 0 0 60px 0;
}

.brand-section {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  padding: 28px 24px 24px;
  background: #ffffff;
}

.brand-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.brand-header-main {
  flex: 1 1 auto;
  min-width: 220px;
}

.brand-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--barik-600,#C01818);;
  background: var(--barik-50);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

.brand-kicker-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--barik-600,#C01818);;
}

.brand-title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: 10px;
  margin-bottom: 4px;
  color: var(--text-main);
}

.brand-subtitle {
  font-size: 14px;
  color: var(--text-muted);
}

.brand-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-start;
}

.btn-outline-primary {
  border-radius: var(--radius-sm);
  border: 1px solid var(--barik-200);
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  color: var(--barik-600,#C01818);;
  background: #fff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.btn-outline-primary span.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid var(--barik-200);
  font-size: 10px;
}

.btn-outline-primary:hover {
  background: var(--barik-600,#C01818);;
  color: #ffffff;
  border-color: var(--barik-600,#C01818);;
  transform: translateY(-1px);
}

.btn-outline-primary:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px var(--focus-ring);
}

.brand-meta-text {
  font-size: 12px;
  color: var(--text-muted);
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

@media (min-width: 640px) {
  .brand-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .brand-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.brand-card {
  position: relative;
  border-radius: 18px;
  border: 1px solid var(--border-subtle);
  padding: 16px 14px;
  background: linear-gradient(135deg, #ffffff, #fcfcfc);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90px;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.brand-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(161, 20, 20, 0.07), transparent 55%);
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.brand-card:hover {
  border-color: rgba(161, 20, 20, 0.45);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
  transform: translateY(-3px);
  background: #ffffff;
}

.brand-card:hover::before {
  opacity: 1;
}

.brand-card:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px var(--focus-ring);
}

.brand-logo-wrap {
  max-width: 120px;
  width: 100%;
  filter: grayscale(0.1) saturate(0.9);
  opacity: 0.9;
  transition: filter 0.22s ease, opacity 0.22s ease, transform 0.22s ease;
  font-size: 30px;
  text-align: center;
  font-weight: 700;
  color: #aaa;
}

.brand-logo-wrap img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  filter: grayscale(100%);
}

.brand-card:hover .brand-logo-wrap {
  filter: grayscale(0) saturate(1.3);
  opacity: 1;
  transform: translateY(-1px);
}

.brand-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.03);
  color: var(--text-muted);
  backdrop-filter: blur(6px);
  z-index: 1;
  display: none;
}

.brand-tag strong {
  color: var(--barik-600,#C01818);;
  font-weight: 600;
}

.brand-card.hot .brand-tag {
  background: rgba(161, 20, 20, 0.06);
  color: var(--barik-700,#A01414);
}

.brand-card.hot .brand-tag strong {
  color: var(--barik-600,#C01818);;
}

/* Small helper to visually separate this section when dropped into a page */
.section + .section {
  border-top: 1px solid #f3f4f6;
}

@media (max-width: 768px) {
  .section-brand {
    padding: 30px 0 15px 0;
  }
}

.brand-link  {
  font-size: 13px; font-weight: 600; color: var(--barik-700,#A01414); margin-bottom: 2px;
}
