@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap");

:root {
  --header-top-fix-color: #f1f1f1;
  --color-primary: #025373;
  --color-secondary: #fea709;
  --color-whatsapp: #22a05c;
}

/* Main */
.text-patrol {
  color: var(--color-primary);
}

.hero {
  height: 100vh;
  background: linear-gradient(
      135deg,
      rgba(0, 0, 0, 0.65),
      rgba(2, 83, 115, 0.7)
    ),
    url("https://images.unsplash.com/photo-1519389950473-47ba0277781c")
      center/cover no-repeat;
  position: relative;
}

.hero .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
}

.btn-home {
  background: var(--color-secondary);
  color: #fff;
  border-radius: 50px;
  font-weight: 600;
  transition: 0.3s;
  animation: pulse 2s infinite;
}
.btn-home:hover {
  background: var(--color-secondary);
  transform: scale(1.5);
  box-shadow: 0 0 15px rgba(254, 167, 9, 0.6);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(254, 167, 9, 0.5);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(254, 167, 9, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(254, 167, 9, 0);
  }
}

.cat-card {
  border: 2px solid #eee;
  cursor: pointer;
  transition: 0.3s;
}
.cat-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-secondary);
}

.product-card,
.about-card {
  background: #fff;
  transition: all 0.3s ease;
}
.product-card:hover,
.about-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.btn-whatsapp {
  background: var(--color-whatsapp);
  color: #fff;
  border-radius: 30px;
  transition: 0.3s;
}
.btn-whatsapp:hover {
  background: #1eb346;
  transform: scale(1.05);
}

.join-section {
  background: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-secondary)
  );
}

/* ================= SLIDER EMPRESAS ================= */

.slider-bg {
  background: linear-gradient(
    90deg,
    var(--color-primary),
    var(--color-secondary)
  );
}

.slider-hero {
  width: 800px;
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
  padding: 20px 0;
  background: transparent !important;
}

.slider-track {
  display: inline-flex;
  white-space: nowrap;
  gap: 60px;
  background: transparent;
  will-change: transform;
  animation: scroll-infinite 30s linear infinite;
}

@keyframes scroll-infinite {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.slide {
  flex-shrink: 0;
}

.slide img {
  max-height: 80px;
  border-radius: 100%;
  opacity: 0.9;
  transition: transform 0.3s ease;
}

.slide img:hover {
  transform: scale(1.1);
  opacity: 1;
}

/* Pausar animación al hacer hover */
.slider-track:hover {
  animation-play-state: paused;
}
