/* =========================================
   HAPPY CLIENTS — Owl auto-scroll carousel
   ========================================= */

.happy-clients {
  background:
    radial-gradient(ellipse 50% 40% at 0% 0%, rgba(42, 122, 75, 0.06), transparent 55%),
    radial-gradient(ellipse 40% 35% at 100% 100%, rgba(0, 201, 122, 0.07), transparent 50%),
    #fff;
  position: relative;
  padding-block: clamp(2.75rem, 5vw, 4rem) !important;
  border-top: 1px solid var(--color-rule);
  border-bottom: 1px solid var(--color-rule);
  overflow: hidden;
}

.happy-clients__header {
  max-width: 560px;
  margin: 0 auto 2rem;
  text-align: center;
}
.happy-clients__header .section-label {
  color: var(--clr-primary-dark);
  margin-bottom: 0.5rem;
  display: inline-block;
}
.happy-clients__header h2 {
  color: var(--color-ink);
  margin-bottom: 0.55rem;
  font-size: clamp(1.5rem, 2.8vw, 1.9rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.happy-clients__header h2 .text-green {
  color: var(--clr-primary);
  font-weight: 600;
}
.happy-clients__header p {
  color: var(--color-muted);
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0;
}

/* Owl stage */
.clients-owl {
  margin: 0;
}
.clients-owl .owl-stage {
  display: flex;
  align-items: stretch;
}
.clients-owl .owl-item {
  display: flex;
}
.clients-owl .owl-stage-outer {
  overflow: hidden;
  padding: 4px 2px 8px;
}

.client-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  text-align: left;
  gap: 14px;
  padding: 14px 16px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--clr-border);
  box-shadow: 0 1px 2px rgba(13, 27, 18, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  min-height: 88px;
  width: 100%;
  box-sizing: border-box;
}
.client-card:hover {
  border-color: rgba(42, 122, 75, 0.4);
  box-shadow: 0 8px 22px rgba(42, 122, 75, 0.1);
  transform: translateY(-2px);
}

.client-card__logo-wrap {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 5px;
  background: var(--color-surface);
  border: 1px solid var(--clr-border);
  padding: 5px;
  overflow: hidden;
}
.client-card__logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 5px;
}
.client-card__name {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--color-ink);
  margin: 0;
  flex: 1;
  letter-spacing: -0.01em;
}

/* Hide owl nav/dots (we use autoplay only) */
.clients-owl .owl-nav,
.clients-owl .owl-dots {
  display: none !important;
}

@media (max-width: 900px) {
  .client-card {
    padding: 12px;
    min-height: 72px;
    gap: 10px;
    border-radius: 10px;
  }
  .client-card__logo-wrap {
    width: 52px;
    height: 52px;
    padding: 4px;
  }
  .client-card__name {
    font-size: 0.8rem;
    line-height: 1.3;
  }
  .happy-clients__header {
    margin-bottom: 1.35rem;
  }
  .happy-clients__header p {
    font-size: 0.88rem;
  }
}
@media (max-width: 420px) {
  .happy-clients {
    padding-block: 2.25rem !important;
  }
  .client-card {
    padding: 10px;
    min-height: 64px;
    gap: 8px;
  }
  .client-card__logo-wrap {
    width: 48px;
    height: 48px;
    padding: 5px;
  }
  .client-card__name {
    font-size: 0.74rem;
  }
}
