/* ==========================================================================
   Sezione 6 — CTA banner "Vuoi vedere Mobility Plus in azione?" (Figma 254:2165)
   ========================================================================== */

.demo-section { padding-bottom: var(--space-section); background: var(--color-surface); }

.demo-banner {
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 40px;
  padding: var(--space-card);
  border-radius: 36px;
  color: #fff;
  background: linear-gradient(174deg, #9cd8e8 0%, #37b1d3 100%);
}

.demo-banner__body { display: flex; flex-direction: column; justify-content: center; gap: var(--space-text-cta); max-width: 611px; }
.demo-banner__text { display: flex; flex-direction: column; gap: var(--space-title-text); }
.demo-banner__title { font-size: var(--fs-h2); font-weight: var(--fw-light); line-height: var(--lh-h2); color: #fff; }
.demo-banner__title strong { font-weight: var(--fw-bold); }
.demo-banner__lead { font-size: var(--fs-p22); line-height: 1.3; color: #fff; }

.btn--pill-light { align-self: flex-start; }

/* box offerta early bird */
.demo-offer {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
  width: 510px;
  max-width: 100%;
  padding: 40px;
  border: 1px solid #fff;
  border-radius: 24px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.08) 100%);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}
.demo-offer__top { font-size: var(--fs-p22); line-height: 1.3; color: #fff; text-align: center; }
.demo-offer__top strong { display: block; font-size: var(--fs-p28); font-weight: var(--fw-bold); }

.demo-offer__row { display: flex; gap: 10px; align-items: stretch; justify-content: center; width: 100%; }
.demo-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 1 auto;
  padding: 9px 17px 9px 9px;
  border: 1px solid #fff;
  border-radius: 80px;
  background: linear-gradient(to left, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.4) 100%);
}
.demo-chip__ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; flex-shrink: 0;
  color: #fff;
}
.demo-chip__ic svg { width: 36px; height: 36px; }
.demo-chip__txt strong { font-size: var(--fs-p20); font-weight: var(--fw-bold); color: #fff; line-height: 1.2; white-space: nowrap; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 960px) {
  .demo-banner { flex-direction: column; align-items: stretch; gap: 32px; }
  .demo-banner__body { max-width: none; }
  .demo-offer { width: 100%; }
  .demo-chip:first-child {
    flex: 0 0 auto;
  }
  .demo-offer {
    padding: 16px;
  }
}
@media (max-width: 520px) {
  .demo-banner { padding: 24px; }
  .demo-offer__row { flex-direction: column; }
}
