/* ==========================================================================
   Sezione 3 — Benefit per l'azienda + Social proof (Figma 254:1659)
   ========================================================================== */

.benefits { background: var(--color-surface); }
.benefits__inner { display: flex; flex-direction: column; gap: var(--space-section); }

/* ---- Riga superiore: header + card ---- */
.benefits__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.benefits__header { display: flex; flex-direction: column; gap: var(--space-text-cta); align-items: flex-start; }
.benefits__title {
  font-size: var(--fs-h2);
  font-weight: var(--fw-light);
  line-height: var(--lh-h2);
  color: var(--color-text);
}
.benefits__title strong { font-weight: var(--fw-bold); }
.benefits__text { font-size: var(--fs-p22); line-height: 1.4; color: var(--color-text); }

/* CTA pill con gradiente cyan */
.cta-gradient {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  padding: 24px 12px 24px 24px;
  border-radius: var(--radius-pill);
  background: linear-gradient(176deg, #9cd8e8 0%, #37b1d3 100%);
  color: #fff;
  box-shadow: 0 10px 30px rgba(55, 177, 211, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cta-gradient:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(55, 177, 211, 0.45); }
.cta-gradient span:first-child {
  font-size: var(--fs-h3);
  font-weight: var(--fw-semibold);
  line-height: 1;
}
.cta-gradient__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(237, 237, 237, 0.3);
}
.cta-gradient__arrow svg { width: 20px; height: 20px; }

/* ---- Card vantaggi ---- */
.benefits__card {
  padding: var(--space-card);
  border-radius: var(--radius-section);
  border-top: 1px solid rgba(55, 177, 211, 0.35);
  background: linear-gradient(to bottom, rgba(138, 209, 228, 0.18) 0%, rgba(255, 255, 255, 0.18) 100%);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.benefits__card-title {
  font-size: var(--fs-h3);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-h3);
  background: linear-gradient(177deg, #9cd8e8 0%, #37b1d3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.feat-list { display: flex; flex-direction: column; }
.feat {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-block: 14px;
  font-size: var(--fs-p22);
  line-height: 1.3;
  color: var(--color-text);
}
.feat + .feat { border-top: 1px solid rgba(74, 85, 89, 0.08); }
.feat strong { font-weight: var(--fw-bold); }
.feat__ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 16px;
  background: linear-gradient(157deg, #9cd8e8 0%, #37b1d3 100%);
  color: #fff;
}
.feat__ic svg { width: 19px; height: 19px; }

/* ---- Social proof ---- */
.clients { display: flex; flex-direction: column; gap: 16px; align-items: center; }
.clients__eyebrow {
  font-size: var(--fs-p20);
  color: var(--color-text);
  text-align: center;
  letter-spacing: 0.04em;
}
.clients__bar {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  padding: 12px 14px;
  border-radius: 50px;
  background: linear-gradient(to right, var(--color-surface-2) 0%, #ffffff 100%);
  overflow: hidden;
}
.clients__stats { display: flex; gap: 8px; flex-shrink: 0; position: relative; z-index: 2; }
.clients__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 40px;
  background: #fff;
  border-radius: 80px;
}
.clients__stat-num {
  font-size: var(--fs-p28);
  font-weight: var(--fw-bold);
  line-height: 1.2;
  background: linear-gradient(167deg, #9cd8e8 0%, #37b1d3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.clients__stat-label { font-size: var(--fs-body); color: var(--color-text); line-height: 1.2; }

.clients__marquee {
  position: relative;
  display: flex;
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 100%);
}
.clients__marquee:hover .marquee__inner { animation-play-state: paused; }
.clients__track { display: flex; align-items: center; flex-shrink: 0; }
.clients__logo {
  width: 132px;
  height: 70px;
  object-fit: contain;
  flex-shrink: 0;
  opacity: 0.85;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 960px) {
  .benefits__row { grid-template-columns: 1fr; gap: 40px; }
  .cta-gradient span:first-child { font-size: 1.5rem; }
}

@media (max-width: 680px) {
  .clients__bar { flex-direction: column; gap: 16px; border-radius: 28px; padding: 16px; }
  .clients__marquee { width: 100%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
  .clients__stat { padding: 10px 28px; }
  .benefits__card{
    padding: 24px;
  }
  .clients__marquee{
    flex: auto;
  }
}
