/* ═══════════════════════════════════════════════
   LOGOS / CERTIFICACIONS — Anigami
   Widget: anigami_logos
   ═══════════════════════════════════════════════ */

/* ── Secció ── */
.anigami-logos-section {
  position: relative;
  overflow: hidden;
  text-align: center;
}
.anigami-logos-section > * { position: relative; z-index: 1; }

.anigami-logos-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 80px;
  z-index: 1;
  pointer-events: none;
}
.anigami-logos-section::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 80px;
  z-index: 1;
  pointer-events: none;
}

/* ── Inner wrap ── */
.anigami-logos-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
}

/* ── Eyebrow ── */
.anigami-logos-eyebrow {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--color-accent);
  margin-bottom: 20px;
}

/* ── Wrap + viewport (idèntic a .carousel-wrap / .carousel-viewport) ── */
.anigami-logos-wrap {
  position: relative;
  padding: 0 60px;
}
.anigami-logos-viewport {
  overflow: hidden;
  padding: 20px 0;
  margin: -20px 0;
}

/* ── Track (idèntic a .carousel-track) ── */
.anigami-logos-track {
  display: flex;
  align-items: center;
  gap: 24px;
  will-change: transform;
}

/* ── Ítem ── */
.anigami-logo-item {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  cursor: pointer;
  transition: transform 0.3s, opacity 0.3s;
}
.anigami-logo-item:hover {
  transform: translateY(-3px);
  opacity: 0.75;
}
.anigami-logo-item a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

/* ── Imatge ── */
.anigami-logo-item img {
  height: 90px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  display: block;
}

/* ── Nom sota el logo ── */
.anigami-logo-item span {
  display: block;
  margin-top: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
  line-height: 1.3;
  white-space: nowrap;
}
.anigami-logo-item span a {
  color: inherit;
  text-decoration: none;
}

/* ── Botons prev/next (idèntics a .carousel-btn) ── */
.logos-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
  z-index: 5;
}
.logos-btn:hover {
  background: var(--color-accent-soft);
  border-color: var(--color-accent);
  color: var(--color-accent);
}
.logos-btn.prev { left: 5px; }
.logos-btn.next { right: 5px; }
.logos-btn:disabled {
  opacity: 0.3;
  cursor: default;
  pointer-events: none;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .anigami-logos-wrap { padding: 0 30px; }
  .anigami-logo-item  { padding: 10px 14px; }
  .anigami-logo-item img { height: 60px; max-width: 100px; }
}
@media (max-width: 480px) {
  .anigami-logos-wrap { padding: 0 16px; }
  .anigami-logo-item img { height: 50px; max-width: 85px; }
}
