.btn {
  font-family: var(--font-main);
  padding: 14px 24px;
  font-size: 16px;
  border-radius: var(--radius);
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--color-brand);
  color: var(--color-white);
}

.btn-primary:hover {
  background-color: var(--color-brand-dark);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
}

.btn-secondary:hover {
  background-color: var(--color-white);
  color: var(--color-brand);
}


.hero-content::before {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  background-color: var(--color-brand);
  margin-bottom: 24px;
}

.card {
  background-color: var(--color-white);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text-main);
  margin-bottom: 12px;
}

.card p {
  line-height: 1.6;
  color: var(--color-text-muted);
}

.services .card .icon {
  margin-bottom: 20px;
}

.trust .card,
.services .card {
  text-align: left;
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 40px;
  height: 40px;

  margin-bottom: 20px;

  color: var(--color-brand);
  /* ESTO es lo que manda */
}

/*? Trust icons: más técnicos, menos protagónicos  en el código CSS esta abajo pero en el html esta arriba */
.trust .icon {
  width: 32px;
  height: 32px;
  margin-bottom: 12px;

  color: var(--color-text-muted);
}

.trust .card h3 {
  font-size: 1.05rem;
  font-weight: 600;
}

.clients-title {
  text-align: center;
  font-weight: 500;
  color: var(--color-text-main);
  margin-bottom: 32px;
}

.clients-carousel {
  overflow: hidden;
  width: 100%;
}

.clients-track {
  display: flex;
  width: max-content;
  animation: scroll-clients 30s linear infinite;
}

.client-logo {
  flex: 0 0 auto;
  width: 200px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
}

.client-logo img {
  max-height: 60px;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.8;
  transition: var(--transition);
}

.client-logo img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/*----------------- diferenciales----------------------- */
.differentials h2 {
  margin-bottom: 24px;
}

.differentials ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.differential-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;

  margin-bottom: 10px;
}

.differential-item .icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-bottom: 0;

  color: var(--color-text-muted);
}

.differential-item span {
  line-height: 1.5;
}

.differential-text {
  line-height: 1.45;
}

.differential-item:last-child {
  margin-bottom: 0;
}



.services-image {
  margin: 24px auto;
  max-width: 900px;
  /* controla protagonismo */
  border-radius: var(--radius);
  overflow: hidden;
}

.services-image img {
  width: 100%;
  height: auto;
  display: block;
}


@keyframes scroll-clients {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.clients-carousel:hover .clients-track {
  animation-play-state: paused;
}

@media (max-width: 768px) {
  .client-logo {
    width: 160px;
  }

  .clients-track {
    animation-duration: 40s;
  }
}

/* WhatsApp flotante */
.whatsapp-float {
  display: none;
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--color-brand);
  color: white;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  z-index: 200;
}

@media (max-width: 768px) {
  .whatsapp-float {
    display: flex;
  }
}