/* ── Certificaciones footer ── */
.footer-certs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: center;
  gap: clamp(0.8rem, 2vw, 2rem);
  width: 100%;
  box-sizing: border-box;
  padding: 3rem clamp(1rem, 4vw, 3rem);
  border-bottom: 1px solid rgba(78, 236, 216, 0.08);
  overflow: hidden;
}

#cert-rohs {
  width: 150px;
  height: 150px;
  object-fit: contain;
  opacity: 0.9;
  transition: opacity 0.2s;
}
.cert-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  min-width: 0;
}

.cert-badge {
  width: clamp(86px, 9vw, 118px);
  height: clamp(86px, 9vw, 118px);
  object-fit: contain;
  opacity: 0.9;
  transition: opacity 0.2s;
  display: block;
  animation: certSlideRight 4.6s ease-in-out infinite alternate;
  will-change: transform;
}

.cert-badge:hover {
  opacity: 1;
}

.cert-wrap:nth-child(2) .cert-badge,
.footer-certs > .cert-badge:nth-child(2) {
  animation-delay: 0.16s;
}

.cert-wrap:nth-child(3) .cert-badge,
.footer-certs > .cert-badge:nth-child(3) {
  animation-delay: 0.32s;
}

.cert-wrap:nth-child(4) .cert-badge,
.footer-certs > .cert-badge:nth-child(4) {
  animation-delay: 0.48s;
}

.cert-wrap:nth-child(5) .cert-badge,
.footer-certs > .cert-badge:nth-child(5) {
  animation-delay: 0.64s;
}

.cert-wrap:nth-child(6) .cert-badge,
.footer-certs > .cert-badge:nth-child(6) {
  animation-delay: 0.80s;
  width:  clamp(110px, 12vw, 155px);
  height: clamp(110px, 12vw, 155px);
}

@keyframes certSlideRight {
  from {
    transform: translateX(-8px);
  }
  to {
    transform: translateX(8px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cert-badge {
    animation: none;
  }
}

@media (max-width: 768px) {
  .footer-certs {
    display: none !important;
  }
}
