/* Brand strip — granite plates with a hairline lime edge */

.brand-logos {
  --bl-lime: var(--lime, #a5d81f);
  --bl-ink: var(--cream-92, rgba(255, 255, 255, 0.92));
  --bl-mute: var(--cream-50, rgba(255, 255, 255, 0.5));
  --bl-hair: var(--hair, rgba(255, 255, 255, 0.08));
  --bl-hair-2: var(--hair-2, rgba(255, 255, 255, 0.16));
  --bl-edge: rgba(165, 216, 31, 0.16);
  --bl-edge-hi: rgba(165, 216, 31, 0.45);
  --bl-ease: cubic-bezier(0.4, 0, 0.2, 1);
  --bl-ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  position: relative;
  background: var(--black, #0a0a0a);
  border-top: 1px solid var(--bl-hair);
  border-bottom: 1px solid var(--bl-hair);
  padding: 78px 20px 84px;
  text-align: center;
  overflow: hidden;
}
.brand-logos::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(62% 100% at 50% 0%, rgba(165, 216, 31, 0.055), transparent 68%);
  pointer-events: none;
}
.brand-logos-inner {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
}

/* Heading with hairline rules on both sides */
.brand-logos-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin: 0 auto 42px;
  font-family: var(--display, 'Barlow Condensed', sans-serif);
  font-size: clamp(12px, 1.15vw, 15px);
  font-weight: 600;
  letter-spacing: clamp(0.14em, 0.24vw, 0.34em);
  text-transform: uppercase;
  color: var(--bl-lime);
}
.brand-logos-title span { white-space: nowrap; }
.brand-logos-title::before,
.brand-logos-title::after {
  content: "";
  flex: 0 1 130px;
  min-width: 24px;
  height: 1px;
}
.brand-logos-title::before { background: linear-gradient(to right, transparent, var(--bl-hair-2)); }
.brand-logos-title::after { background: linear-gradient(to left, transparent, var(--bl-hair-2)); }

.brand-logos-label {
  margin: 0 0 18px;
  font-family: var(--body, 'Barlow', system-ui, sans-serif);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--bl-mute);
}
.brand-logos-service-label { margin-top: 46px; }

.brand-logos-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.brand-logos-dealers {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 620px;
  margin: 0 auto;
}
.brand-logos-service { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* The plate */
.brand-plate {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 96px;
  padding: 26px 16px;
  border: 1px solid var(--bl-edge);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012) 46%, rgba(255, 255, 255, 0) 100%),
    linear-gradient(180deg, #181818, #101010);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 26px 44px -34px rgba(0, 0, 0, 0.95);
  transition:
    border-color 0.5s var(--bl-ease),
    transform 0.5s var(--bl-ease-out),
    box-shadow 0.5s var(--bl-ease);
}
.brand-plate::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(120% 90% at 50% -12%, rgba(165, 216, 31, 0.1), transparent 62%);
  opacity: 0;
  transition: opacity 0.5s var(--bl-ease);
  pointer-events: none;
}
.brand-plate:hover {
  border-color: var(--bl-edge-hi);
  transform: translateY(-3px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    0 30px 50px -30px rgba(0, 0, 0, 0.95);
}
.brand-plate:hover::after { opacity: 1; }

.brand-plate-name {
  font-family: var(--display, 'Barlow Condensed', sans-serif);
  font-size: clamp(15px, 1.45vw, 20px);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-indent: 0.2em;
  text-transform: uppercase;
  color: var(--bl-ink);
  white-space: nowrap;
}

/* Authorized dealers read as the featured tier */
.brand-logos-dealers .brand-plate {
  min-height: 104px;
  border-color: rgba(165, 216, 31, 0.3);
  background:
    linear-gradient(180deg, rgba(165, 216, 31, 0.09), rgba(165, 216, 31, 0.02) 44%, rgba(255, 255, 255, 0) 100%),
    linear-gradient(180deg, #1a1a17, #101010);
}
.brand-logos-dealers .brand-plate-name {
  font-size: clamp(19px, 1.9vw, 26px);
  color: var(--bl-lime);
}

@media (max-width: 900px) {
  .brand-logos { padding: 58px 16px 64px; }
  .brand-logos-title { gap: 16px; margin-bottom: 32px; }
  .brand-logos-title::before,
  .brand-logos-title::after { flex-basis: 56px; }
  .brand-logos-service { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brand-logos-service-label { margin-top: 34px; }
}

@media (max-width: 520px) {
  .brand-logos { padding: 46px 14px 52px; }
  .brand-logos-title::before,
  .brand-logos-title::after { flex-basis: 30px; }
  .brand-logos-dealers { grid-template-columns: minmax(0, 1fr); }
  .brand-plate { min-height: 78px; padding: 20px 12px; border-radius: 10px; }
  .brand-logos-dealers .brand-plate { min-height: 90px; }
  .brand-plate-name { font-size: 15px; letter-spacing: 0.16em; text-indent: 0.16em; }
}

/* Mobile: plates one-third smaller */
@media (max-width: 520px) {
  .brand-logos-grid { gap: 8px !important; }
  .brand-plate { min-height: 52px; padding: 12px 8px; }
  .brand-logos-dealers .brand-plate { min-height: 60px; }
  .brand-plate-name { font-size: 12px; }
  .brand-logos-dealers .brand-plate-name { font-size: 15px; }
  .brand-logos-service-label { margin-top: 24px; }
}
