/* ═══════════════════════════════════════════
   Brand Logos — Flex Row + Card Grid
   ═══════════════════════════════════════════ */

/* Simple flex row (used for inline logo strips) */
.brands {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
}
.brands img {
  height: 40px;
  opacity: .5;
  transition: opacity .3s;
  filter: grayscale(.3);
}
.brands img:hover {
  opacity: 1;
  filter: none;
}

/* Card grid variant (For Patients page) */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1000px;
  margin: 40px auto 0;
}

.brand-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .03);
  transition: all .4s cubic-bezier(.22, 1, .36, 1);
}
.brand-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .06);
}
.brand-card img {
  max-height: 60px;
  max-width: 180px;
  width: auto;
  object-fit: contain;
}


/* ═══════════════════════════════════════════
   Responsive — Brand Logos
   ═══════════════════════════════════════════ */

@media (max-width: 768px) {
  .brand-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .brand-card {
    padding: 24px 16px;
    min-height: 100px;
  }
  .brand-card img {
    max-height: 48px;
  }
}

@media (max-width: 480px) {
  .brand-grid {
    grid-template-columns: 1fr;
  }
}
