/* ==========================================================================
   Sezione 5 — "Le principali soluzioni" + banner CTA (Figma 1070:4452)
   Due card grigie (icona, titolo con testo in gradiente, chips) + banner CTA
   verde con copy, bottone e card early-bird con countdown grande.
   ========================================================================== */

.soluzioni { background: var(--color-surface); }

.soluzioni__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-section);
  padding-block: var(--space-section);
}

.soluzioni__head { display: flex; flex-direction: column; gap: 56px; }

.soluzioni__title {
  font-size: var(--fs-h3); /* 32px */
  font-weight: var(--fw-semibold);
  line-height: var(--lh-h3);
  color: var(--color-text);
}

/* ---- Card ---- */
.soluzioni__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-lg);
  align-items: stretch;
}

.sol-card {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: var(--space-card);
  background: #f7f7f7;
  border-radius: 15px;
}
.sol-card__icon { width: 72px; height: 72px; }

.sol-card__body { display: flex; flex-direction: column; gap: 40px; }

/* titolo card: testo con gradiente verde */
.sol-card__title {
  font-size: var(--fs-h2); /* 48px */
  font-weight: var(--fw-light);
  line-height: var(--lh-h2);
  background: linear-gradient(90deg, #5ee38d 0%, #00a86b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sol-card__list { display: flex; flex-direction: column; gap: 24px; }

.sol-chip {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 9px 25px 9px 9px;
  border: 1px solid var(--color-border);
  border-radius: 24px;
  background: linear-gradient(to left, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
  font-size: var(--fs-p20); /* 20px */
  line-height: 1.2;
  color: var(--color-text);
}
.sol-chip strong { font-weight: var(--fw-bold); }
.sol-chip__ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border-radius: 12px;
  background: linear-gradient(157.26deg, #5ee38d 0%, #00a86b 100%);
  color: #fff;
}
.sol-chip__ic svg { width: 15px; height: 15px; }

/* ---- Banner CTA verde ---- */
.cta-mid__banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: var(--space-card);
  border-radius: 36px;
  background: linear-gradient(172.5deg, #5ee38d 0%, #00a86b 100%);
  color: #fff;
}

.cta-mid__copy {
  flex: 1 1 0;
  min-width: 0;
  max-width: 611px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.cta-mid__title {
  font-size: var(--fs-h2); /* 48px */
  font-weight: var(--fw-light);
  line-height: var(--lh-h2);
  color: #fff;
}
.cta-mid__title strong { font-weight: var(--fw-bold); }
.cta-mid__subtitle {
  font-size: var(--fs-p22); /* 22px */
  line-height: 1.2;
  color: #fff;
}

/* Early bird (destra) */
.cta-mid__earlybird {
  flex-shrink: 0;
  width: 600px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 40px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  text-align: center;
}
.cta-mid__eb-head { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.cta-mid__eb-head svg { width: 40px; height: 40px; }
.cta-mid__eb-caption { font-size: var(--fs-p22); font-weight: var(--fw-bold); line-height: 1.55; }
.cta-mid__eb-caption strong { display: block; font-size: var(--fs-p28); }
.cta-mid__eb-offer { display: flex; flex-direction: column; align-items: center; gap: 19px; }
.cta-mid__eb-validity { font-size: var(--fs-p20); line-height: 1.2; }
.cta-mid__eb-validity strong { display: block; font-size: var(--fs-p28); font-weight: var(--fw-bold); }
.cta-mid__earlybird .countdown--big .countdown__box { background: rgba(255, 255, 255, 0.12); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .cta-mid__banner { flex-direction: column; align-items: stretch; }
  .cta-mid__copy { max-width: none; }
  .cta-mid__earlybird { width: 100%; }
}

@media (max-width: 900px) {
  .soluzioni__grid { grid-template-columns: minmax(0, 1fr); }
  .sol-card { height: auto; }
}

@media (max-width: 720px) {
  .soluzioni__head { gap: 32px; }
  .soluzioni__grid { gap: 24px; }
  .sol-card { padding: 24px; gap: 24px; }
  .sol-card__body { gap: 24px; }
  .sol-chip { font-size: var(--fs-body); line-height: 1.35; }
  .cta-mid__banner { padding: 24px; }
  .cta-mid__subtitle { line-height: 1.4; }
  .cta-mid__earlybird { padding: 32px 20px; }
  .cta-mid__eb-caption { line-height: 1.4; }
}
