/* === Fondo general === */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  background-image: url("imgseccion/FondoVerde.jpg");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center top;
  background-attachment: fixed;
  font-family: 'Poppins', system-ui, sans-serif;
}

/* === Texto izquierdo === */
.convenios-text h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
}
.convenios-text p {
  font-size: 1rem;
  line-height: 1.6;
}

/* === Tarjetas de marcas === */
.brand-card {
  background-color: white;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 160px; /* 🔸 Mantiene todas del mismo tamaño */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.brand-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
}
.brand-card img {
  max-width: 80%;
  max-height: 100px;
  object-fit: contain;
}

/* === Espaciado entre tarjetas === */
.row.gy-4 > [class*="col"] {
  margin-bottom: 1.2rem;
}

/* === Responsivo móvil === */
@media (max-width: 768px) {
  .brand-card {
    height: 180px; /* 🔸 Más grande en móvil */
    margin-bottom: 1.2rem;
  }

  .brand-card img {
    max-width: 70%;
    max-height: 110px;
  }

  .convenios-text {
    text-align: center;
  }

  .convenios-text h1 {
    font-size: 2rem;
  }
}