/* Cartem Güvendiğimiz Markalar */
.ctb-brands {
  --ctb-red: #b61d1f;
  --ctb-text: #222;
  --ctb-muted: #6b6b6b;
  padding: 56px 0;
  background: #f7f7f7;
}

.ctb-brands__inner {
  width: min(1400px, calc(100% - 32px));
  margin: 0 auto;
}

.ctb-brands__head {
  text-align: center;
  margin-bottom: 36px;
}

.ctb-brands__eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ctb-red);
}

.ctb-brands__title {
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ctb-text);
  text-transform: uppercase;
}

.ctb-brands__sub {
  margin: 0 auto;
  max-width: 42rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ctb-muted);
}

.ctb-brands__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

@media (min-width: 640px) {
  .ctb-brands__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (min-width: 1024px) {
  .ctb-brands__grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 18px;
  }
}

.ctb-brands__item {
  margin: 0;
}

.ctb-brands__link,
.ctb-brands__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 88px;
  padding: 16px 12px;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 10px;
  text-decoration: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.ctb-brands__link:hover {
  border-color: rgba(182, 29, 31, 0.35);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
  color: inherit;
}

.ctb-brands__logo img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 40px;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.ctb-brands.is-grayscale .ctb-brands__logo img {
  filter: grayscale(1) contrast(0.95);
  opacity: 0.78;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.ctb-brands.is-grayscale .ctb-brands__link:hover .ctb-brands__logo img,
.ctb-brands.is-grayscale .ctb-brands__item:hover .ctb-brands__logo img {
  filter: none;
  opacity: 1;
}

.ctb-brands .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  .ctb-brands__link,
  .ctb-brands__logo img {
    transition: none;
  }
  .ctb-brands__link:hover {
    transform: none;
  }
}
