/* ==========================================================================
   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 1: header + card risparmio (770 : 530 ≈ 1.45 : 1) ---- */
/* La card destra ha la STESSA altezza del blocco sinistro (stretch) */
.benefits__row {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 56px;
  align-items: stretch;
}
/* ---- Riga 2: card vantaggi + foto = BLOCCO UNICO con ombra (Figma 365:2045) ---- */
.benefits__row--media {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 0;
  border-radius: var(--radius-section);
  box-shadow: 0 0 26.4px rgba(74, 85, 89, 0.16);
}
.benefits__row--media .benefits__card { border-radius: var(--radius-section) 0 0 var(--radius-section); }

/* Card risparmio (Figma 365:2024) — contenuto centrato verticalmente */
.save-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  padding: 48px 40px;
  background: #fff;
  border-radius: var(--radius-section);
  box-shadow: 0 30px 70px rgba(17, 16, 18, 0.08);
}
.save-card__top { font-size: var(--fs-p20); color: var(--color-text); line-height: 1.2; }
.save-card__big {
  font-size: var(--fs-p32, 32px);
  font-weight: var(--fw-bold);
  line-height: 1.2;
  background: linear-gradient(177deg, #9cd8e8 0%, #37b1d3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.save-card__mid { font-size: var(--fs-p20); color: var(--color-text); line-height: 1.2; }
.save-card__note { font-size: var(--fs-body); color: var(--color-text-soft, #585858); line-height: 1.3; margin-top: 8px; max-width: 360px; }
.save-card__badges { display: flex; align-items: center; gap: 16px; margin-top: 20px; }
.save-badge { display: inline-flex; align-items: center; gap: 10px; font-size: var(--fs-body); font-weight: var(--fw-bold); color: var(--color-text); }
.save-badge__ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(157deg, #9cd8e8 0%, #37b1d3 100%);
  color: #fff;
}
.save-badge__ic svg { width: 20px; height: 20px; }
.save-card__plus { font-size: var(--fs-h3); font-weight: var(--fw-semibold); color: var(--color-text); }

/* Foto riga 2 — unita alla card (angoli arrotondati solo a destra) */
.benefits__photo {
  position: relative;
  border-radius: 0 var(--radius-section) var(--radius-section) 0;
  overflow: hidden;
  min-height: 100%;
  /* foto come sfondo: ancorata a destra cosi su responsive non taglia il soggetto */
  background: url("../../img/hero/benefits-person-b.jpg") right center / cover no-repeat;
}
/* Sfumatura cyan sul lato sinistro: fonde la foto con la card (Figma) */
.benefits__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, rgba(255, 255, 255, 0) 0%, rgba(250, 250, 250, 0.6) 67.75%, #fff 100%);
  pointer-events: none;
}

.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);
  background: #fff;
  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 (Figma 365:2058) ---- */
.clients { display: flex; flex-direction: column; gap: 20px; align-items: stretch; }
/* Riga top: eyebrow a sinistra (cyan), stats a destra */
.clients__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.clients__eyebrow {
  font-size: var(--fs-p20);
  color: var(--color-info, #37b1d3);
  text-align: left;
  letter-spacing: 0.04em;
}
.clients__stats { display: flex; gap: 8px; flex-shrink: 0; }
.clients__stat {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 12px 28px;
  background: #f1f2f3;
  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; }

/* Barra loghi: contenitore bordato full-width, senza sfumature ai bordi */
.clients__bar {
  width: 100%;
  display: flex;
  align-items: center;
  padding: 26px 0;
  border: 1px solid #e8e8e8;
  border-radius: 44px;
  background: #fff;
  overflow: hidden;
}
.clients__marquee {
  position: relative;
  display: flex;
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
}
.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; }

  /* blocco vantaggi: impilato e pulito, senza ombre */
  .benefits__row--media { grid-template-columns: 1fr; gap: 24px; border-radius: 0; box-shadow: none; }
  .benefits__row--media .benefits__card { border-radius: var(--radius-section); padding: 0px; }
  .benefits__photo {
    border-radius: var(--radius-section);
    min-height: 300px;
    background-position: center;
  }
  .benefits__photo::after { display: none; }
  .save-card {
    padding: 24px;
  }
}

@media (max-width: 680px) {
  .clients__head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .clients__stats { width: 100%; }
  .clients__stat { flex: 1 1 0; justify-content: center; padding: 10px 16px; }
  .clients__bar { border-radius: 28px; padding: 18px 0; }
  .benefits__card { padding: 24px; }
}
