
.empresas {
background-image: var(--fondo1);
  width: 100%;
  padding-block: var(--section-padding-y);
}

.empresas__header {
  margin-bottom: var(--space-5);
}

.empresas__title {
  font-size: var(--fs-2xl);
}

.empresas__title-part--blue {
  color: var(--color-blue);
}

.empresas__title-part--red {
  color: var(--color-red);
}

.empresas__subtitle {
  margin-top: var(--space-1);
  color: var(--color-red);
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
}

.empresas__slider {
  width: 100%;
  overflow: hidden;
}

.empresas__track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: var(--space-5);
  animation: empresas-marquee 20s linear infinite;
}

.empresas__slider:hover .empresas__track {
  animation-play-state: paused;
}

.empresas__item {
  flex: 0 0 auto;
}

.empresas__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 170px;
  height: 90px;
  color: var(--color-text-muted);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
}

.empresas__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@keyframes empresas-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (min-width: 768px) {
  .empresas__title {
    font-size: var(--fs-3xl);
  }

  .empresas__logo {
    width: 210px;
    height: 110px;
  }

  .empresas__track {
    gap: var(--space-6);
  }
}

@media (min-width: 1024px) {
  .empresas__logo {
    width: 240px;
    height: 130px;
  }
}

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