/* =========================
   MARCAS DISTRIBUIDAS -
========================= */

.brands-section {
  position: relative;
  padding: 80px 0;
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
  z-index: 1;
}

/* Header */
.brands-header {
  text-align: center;
  margin-bottom: 50px;
}

.brands-header h2 {
  font-weight: 700;
  letter-spacing: 2px;
  color: #0d2a4a;
  margin-bottom: 15px;
}

.brands-header p {
  max-width: 850px;
  margin: 0 auto;
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}

/* KPIs / microcopy */
.brands-kpis {
  text-align: center;
  margin: 30px 0 50px;
  font-size: 0.95rem;
  color: #444;
}

.brands-kpis strong {
  color: #0d6efd;
}

/* Grid */
.brands-grid {
  margin-top: 20px;
}

/* Tarjeta marca */
.brand-card {
  position: relative;
  background: #fff;
  border-radius: 14px;
  padding: 25px 20px;
  text-align: center;
  height: 100%;
  box-shadow: 0 6px 25px rgba(0,0,0,0.08);
  transition: all 0.35s ease;
  border: 1px solid rgba(0,0,0,0.04);
}

.brand-card:hover img {
  filter: grayscale(0%); /* <--- BORRA ESTA LÍNEA */
  transform: scale(1.05);
}


/* Logo  a color  */
.brand-card img {
  max-height: 65px;
  width: 100%;
  object-fit: contain;
  margin-bottom: 12px;
  /* Sin filtros aquí */
  transition: all 0.3s ease;
}

/* Logo  en gris y efecto hover 
.brand-card img {
  max-height: 65px;
  width: 100%;
  object-fit: contain;
  margin-bottom: 12px;
  filter: grayscale(100%);
  transition: all 0.3s ease;
}
*/
.brand-card:hover img {
  filter: grayscale(0%);
  transform: scale(1.05);
}

/* Nombre marca */
.brand-card span {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: #333;
  letter-spacing: 0.5px;
}

/* Badge autorizado */
.badge-authorized {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, #198754, #28a745);
  color: #fff;
  font-size: 0.65rem;
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Footer CTA */
.brands-footer-cta {
  margin-top: 70px;
  padding: 50px 30px;
  background: linear-gradient(135deg, #0d2a4a, #0d6efd);
  border-radius: 20px;
  text-align: center;
  color: #fff;
  box-shadow: 0 20px 50px rgba(13,110,253,0.3);
}

.brands-footer-cta h3 {
  font-weight: 700;
  margin-bottom: 15px;
}

.brands-footer-cta p {
  max-width: 700px;
  margin: 0 auto 25px;
  font-size: 1rem;
  opacity: 0.9;
}

/* Botón CTA */
.read-more-btn {
  display: inline-block;
  background: #ffc107;
  color: #0d2a4a;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.read-more-btn:hover {
  background: #ffcd39;
  transform: translateY(-3px);
  color: #0d2a4a;
}

/* =========================
   BACKGROUND SHAPES
========================= */

.bg-shapes {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.bg-shapes .shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(20px);
  opacity: 0.08;
}

.shape-1 {
  width: 320px;
  height: 320px;
  background: #0d6efd;
  top: 10%;
  left: -120px;
}

.shape-2 {
  width: 420px;
  height: 420px;
  background: #0d6efd;
  bottom: 5%;
  right: -160px;
}

.shape-3 {
  width: 260px;
  height: 260px;
  background: #0d6efd;
  top: 45%;
  right: 15%;
}

/* Responsive */
@media (max-width: 768px) {
  .brands-section {
    padding: 50px 0;
  }

  .brands-footer-cta {
    padding: 35px 20px;
  }

  .brand-card img {
    max-height: 55px;
  }
}

#moreBrands {
  animation: fadeInBrands 0.4s ease;
}

@keyframes fadeInBrands {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================
   BOTON DE CONTACTO DEL HEADER
========================= */
.read-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #fcd900, #ffea70);
  color: #003c69;
  padding: 10px 22px;
  border-radius: 30px;
  font-weight: 700; 
  font-size: 14px;
  text-decoration: none;
  border: none;
  box-shadow: 0 6px 18px rgba(252, 217, 0, 0.35);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
  
}

/* Estilos para los títulos de categorías */
.category-title {
  color: #0d2a4a;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.2rem;
  letter-spacing: 1px;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Línea decorativa al lado del título */
.category-title::after {
  content: "";
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, #0d6efd, transparent);
  opacity: 0.3;
}

.category-group {
  padding: 10px;
}

