/* Cards */

/* ===== BRAND CARDS WRAPPER ===== */
.brand-cards-wrapper {
  position: relative;
  margin-top: 0px; /* superposición sobre el slider */
  z-index: 5;
}

/* ===== CARDS CONTAINER ===== */
.brand-cards {
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  overflow: hidden;
}

/* ===== CARD BASE ===== */
.brand-card {
  flex: 1;
  min-height: 340px;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 32px;
  color: #fff;
  text-decoration: none;
  background-size: cover;
  background-position: center;
}

/* Overlay oscuro */
.brand-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.65),
    rgba(0,0,0,0.15)
  );
  z-index: 0;
}

/* Contenido */
.brand-card__content {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 1;
}

.brand-logo {
  max-width: 200px;
  height: auto;
  display: block;
}

.brand-card h3 {
  font-size: clamp(24px, 3vw, 36px);
  margin-bottom: 12px;
}

.brand-cta {
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-bottom: 2px solid #fff;
  padding-bottom: 4px;
}

/* Hover */
.brand-card:hover {
  transform: translateY(-4px);
}

.brand-card {
  transition: transform 0.3s ease;
  background-color: #000;
}

@media (max-width: 768px) {

  .brand-cards-wrapper {
    margin-top: 0;
  }

  .brand-cards {
    flex-direction: column;
    max-width: 100%;
    border-radius: 0;
  }

  .brand-card {
    min-height: 220px;
    align-items: center;
    text-align: center;
  }

  .brand-logo {
    max-width: 200px;
  }
}