/* ============================================================
   AFB — product.css
   Foglio condiviso da tutte le pagine prodotto
   (analisi-periodica.html, checkout.html e future pagine prodotto).
   Collegato DOPO style.css nel <head>.
   ============================================================ */

/* ── HERO PRODOTTO ── */
.db-hero {
  position: relative;
  background-color: #0a1844;
  background-image:
    linear-gradient(180deg, rgba(10,24,68,.82) 0%, rgba(10,24,68,.30) 42%, rgba(10,24,68,.50) 100%),
    var(--hero-img, url('hero-periodica.svg'));
  background-size: cover, cover;
  background-position: center, center bottom;
  background-repeat: no-repeat;
  padding: 5rem 0 4rem;
  min-height: 360px;
  display: flex;
  align-items: center;
  text-align: center;
  color: #fff;
}
.db-hero .container { width: 100%; }
.db-hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  line-height: 1.15;
}
.db-hero p.subtitle {
  font-size: 1.15rem;
  font-weight: 400;
  opacity: 0.85;
  max-width: 560px;
  margin: 0 auto 1.1rem;
  line-height: 1.6;
}
.db-hero .powered {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.55;
  font-weight: 500;
}

/* ── COME FUNZIONA ── */
.how-section {
  background: #fff;
  padding: 5rem 0;
}
.how-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}
.how-card {
  background: #fff;
  border: 1.5px solid #e8eaf0;
  border-radius: 16px;
  padding: 2.2rem 1.8rem;
  text-align: center;
  transition: box-shadow 0.25s, transform 0.25s;
}
.how-card:hover {
  box-shadow: 0 8px 32px rgba(37,56,150,0.10);
  transform: translateY(-4px);
}
.how-icon {
  width: 64px;
  height: 64px;
  background: #EEF3FF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.3rem;
}
.how-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #253896;
  margin-bottom: 0.6rem;
}
.how-card p {
  font-size: 0.93rem;
  color: #5a6272;
  line-height: 1.6;
}
.how-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: #008DD9;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: 0.9rem;
}

/* ── COSA RICEVERAI ── */
.deliverable-section {
  background: #fff;
  padding: 5rem 0;
  border-top: 1px solid #eef0f5;
}
.deliverable-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}
.deliverable-cards--two {
  grid-template-columns: repeat(2, 1fr);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.deliverable-card {
  border: 1.5px solid #e8eaf0;
  border-radius: 16px;
  padding: 2.2rem 1.8rem;
  text-align: center;
  transition: box-shadow 0.25s, transform 0.25s;
}
.deliverable-card:hover {
  box-shadow: 0 8px 32px rgba(37,56,150,0.10);
  transform: translateY(-4px);
}
.deliverable-icon {
  width: 64px;
  height: 64px;
  background: #EEF3FF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.3rem;
}
.deliverable-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #253896;
  margin-bottom: 0.6rem;
}
.deliverable-card p {
  font-size: 0.92rem;
  color: #5a6272;
  line-height: 1.6;
}
/* ── CALL INCLUSA ── */
.call-inclusa {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  background: #12277a;
  border-radius: 16px;
  padding: 1.8rem 2rem;
  margin-top: 2.5rem;
}
.call-inclusa-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.09);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.call-inclusa-body { flex: 1; }
.call-inclusa-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.45rem;
  line-height: 1.3;
}
.call-inclusa-text {
  font-size: 0.93rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.65;
  margin: 0;
}
.call-inclusa-accent {
  color: #C9A84C;
  font-weight: 600;
}
@media (max-width: 600px) {
  .call-inclusa {
    flex-direction: column;
    gap: 1rem;
    padding: 1.4rem 1.5rem;
  }
}

/* ── DEMO / ESEMPIO REPORT ── */
.report-section {
  background: #F5F5F5;
  padding: 4.5rem 0;
}
.report-iframe-wrap {
  max-width: 960px;
  margin: 2.5rem auto 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(37,56,150,0.13);
  border: 1.5px solid #dde6f5;
}
.report-iframe-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.2rem;
  background: #eef3ff;
  border-bottom: 1.5px solid #dde6f5;
}
.report-iframe-badge {
  font-size: 0.82rem;
  font-weight: 600;
  color: #253896;
}
.report-open-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #008DD9;
  text-decoration: none;
  transition: opacity 0.15s;
}
.report-open-link:hover { opacity: 0.75; }
.report-iframe {
  width: 100%;
  height: 700px;
  border: none;
  display: block;
  background: #fff;
}

/* ── RISERVATEZZA ── */
.riservatezza-box {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  max-width: 960px;
  margin: 1.2rem auto 0;
  background: #f8f9fa;
  border: 1px solid #e2e5ec;
  border-radius: 10px;
  padding: 0.9rem 1.2rem;
}
.riservatezza-box p {
  font-size: 0.82rem;
  color: #6b7280;
  line-height: 1.6;
  margin: 0;
}
.riservatezza-box strong {
  color: #4a5568;
}

/* ── PREZZI ── */
.pricing-section {
  background: #fff;
  padding: 5rem 0;
  border-top: 1px solid #eef0f5;
}
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}
.price-card {
  background: #fff;
  border: 1.5px solid #e8eaf0;
  border-radius: 16px;
  padding: 2.2rem 1.8rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  transition: box-shadow 180ms cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 180ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
@media (hover: hover) {
  .price-card:hover {
    box-shadow: 0 8px 32px rgba(37,56,150,0.10);
    transform: translateY(-4px);
  }
}
.price-card.featured {
  border: 2.5px solid #008DD9;
  box-shadow: 0 4px 24px rgba(0,141,217,0.13);
}
.price-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #008DD9;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.9rem;
  border-radius: 20px;
  white-space: nowrap;
  letter-spacing: 0.03em;
}
.price-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}
.price-amount {
  font-size: 2.8rem;
  font-weight: 900;
  color: #253896;
  letter-spacing: -0.04em;
  line-height: 1;
}
.price-freq {
  font-size: 0.82rem;
  color: #9ca3af;
  font-weight: 400;
  margin-bottom: 1.5rem;
  margin-top: 0.3rem;
}
.price-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}
.price-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.88rem;
  color: #374151;
  line-height: 1.45;
}
.price-list li::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Ccircle cx='8' cy='8' r='7.5' fill='%23EEF3FF'/%3E%3Cpath d='M5 8l2.5 2.5L11 6' stroke='%23008DD9' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center/contain;
  flex-shrink: 0;
  margin-top: 1px;
}
.btn-price {
  display: block;
  text-align: center;
  padding: 0.8rem 1.2rem;
  background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 55%, var(--gold-dark) 100%);
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: 9px;
  border: none;
  text-decoration: none;
  text-shadow: 0 1px 2px rgba(60,40,5,.45);
  transition: filter 0.2s, transform 0.15s, box-shadow 0.2s;
}
.btn-price:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(201,168,76,0.38);
}
.btn-call {
  display: block;
  text-align: center;
  padding: 0.8rem 1.2rem;
  background: transparent;
  color: #253896;
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: 9px;
  border: 1.5px solid #253896;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}
.btn-call:hover {
  background: #253896;
  color: #fff;
  transform: translateY(-1px);
}
.pricing-note {
  text-align: center;
  font-size: 0.82rem;
  color: #9ca3af;
  margin-top: 2rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}
.pricing-microcopy {
  font-size: 0.78rem;
  color: #9ca3af;
  text-align: center;
  margin-top: 0.6rem;
  line-height: 1.6;
}

/* ── BUNDLE ── */
.bundle-section {
  background: #F5F5F5;
  padding: 5rem 0;
}
.bundle-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}
.bundle-card {
  background: #fff;
  border: 1.5px solid #e8eaf0;
  border-radius: 16px;
  padding: 2.2rem 1.8rem 1.8rem;
  display: flex;
  flex-direction: column;
  transition: box-shadow 180ms cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 180ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
@media (hover: hover) {
  .bundle-card:hover {
    box-shadow: 0 8px 32px rgba(37,56,150,0.10);
    transform: translateY(-4px);
  }
}
.bundle-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #253896;
  margin-bottom: 0.35rem;
}
.bundle-contents {
  font-size: 0.8rem;
  font-weight: 600;
  color: #008DD9;
  margin-bottom: 0.75rem;
  letter-spacing: 0.01em;
}
.bundle-desc {
  font-size: 0.9rem;
  color: #5a6272;
  line-height: 1.65;
  margin-bottom: 1.25rem;
  flex: 1;
}
.bundle-price {
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  min-height: 1.3em;
  margin-bottom: 1rem;
}
.bundle-note {
  text-align: center;
  font-size: 0.82rem;
  color: #9ca3af;
  margin-top: 2rem;
  max-width: 660px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
}
.bundle-note a {
  color: #008DD9;
}

/* ── FORM SECTION (checkout) ── */
.form-section {
  background: #F5F5F5;
  padding: 5rem 0;
}
.form-section .section-header {
  margin-bottom: 2.5rem;
}
.form-card {
  background: #fff;
  border-radius: 16px;
  padding: 2.8rem 2.5rem;
  box-shadow: 0 2px 20px rgba(37,56,150,0.06);
  max-width: 820px;
  margin: 0 auto;
}
.form-block {
  margin-bottom: 2.5rem;
}
.block-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #253896;
  border-left: 4px solid #008DD9;
  padding-left: 0.75rem;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.db-fg {
  margin-bottom: 1.2rem;
}
.db-fg label {
  display: block;
  font-size: 0.83rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.38rem;
}
.db-fg label .req {
  color: #e53e3e;
  margin-left: 2px;
}
.db-fg input:not([type="checkbox"]):not([type="radio"]),
.db-fg select,
.db-fg textarea {
  width: 100%;
  padding: 0.72rem 1rem;
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  color: #1a1a2e;
  background: #fff;
  transition: border-color 0.18s, box-shadow 0.18s;
  outline: none;
  appearance: none;
}
.db-fg select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
.db-fg textarea {
  min-height: 100px;
  resize: vertical;
}
.db-fg input:focus,
.db-fg select:focus,
.db-fg textarea:focus {
  border-color: #008DD9;
  box-shadow: 0 0 0 3px rgba(0,141,217,0.12);
}
.db-fg input.error,
.db-fg select.error,
.db-fg textarea.error {
  border-color: #e53e3e;
  box-shadow: 0 0 0 3px rgba(229,62,62,0.10);
}
.field-hint {
  font-size: 0.78rem;
  color: #9ca3af;
  margin-top: 0.3rem;
}
.field-error-msg {
  font-size: 0.78rem;
  color: #e53e3e;
  margin-top: 0.3rem;
  display: none;
}
.field-error-msg.visible {
  display: block;
}
.info-box {
  background: #f0f4f8;
  border-radius: 8px;
  padding: 0.9rem 1.1rem;
  font-size: 0.84rem;
  color: #4a5568;
  margin-bottom: 1.4rem;
  line-height: 1.5;
}
.info-box svg {
  vertical-align: middle;
  margin-right: 6px;
  flex-shrink: 0;
}
.file-upload-zone {
  border: 2px dashed #d1d5db;
  border-radius: 10px;
  padding: 1.4rem 1.2rem;
  background: #fafafa;
  transition: border-color 0.2s, background 0.2s;
  cursor: pointer;
  position: relative;
}
.file-upload-zone:hover,
.file-upload-zone.drag-over {
  border-color: #008DD9;
  background: #f0f8ff;
}
.file-upload-zone.has-file {
  border-color: #38a169;
  background: #f0fff4;
}
.file-upload-zone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}
.file-upload-label {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  pointer-events: none;
}
.file-upload-icon {
  flex-shrink: 0;
  color: #008DD9;
}
.file-upload-text strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: #253896;
}
.file-upload-text span {
  font-size: 0.78rem;
  color: #9ca3af;
}
.file-name-display {
  font-size: 0.78rem;
  color: #38a169;
  font-weight: 600;
  margin-top: 0.3rem;
  display: none;
}
.file-name-display.visible {
  display: block;
}
.checkbox-group {
  display: flex;
  gap: 0.9rem;
  flex-direction: column;
}
.checkbox-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  border: 1.5px solid #e8eaf0;
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s;
}
.checkbox-item:hover {
  border-color: #008DD9;
  background: #f8fbff;
}
.checkbox-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 1px;
  accent-color: #008DD9;
  cursor: pointer;
}
.checkbox-item label {
  font-size: 0.92rem;
  color: #374151;
  cursor: pointer;
  line-height: 1.5;
}
.checkbox-item.error-state {
  border-color: #e53e3e;
}
.privacy-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}
.privacy-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
  accent-color: #008DD9;
  cursor: pointer;
}
.privacy-item label {
  font-size: 0.86rem;
  color: #4a5568;
  line-height: 1.6;
  cursor: pointer;
}
.privacy-item label a {
  color: #008DD9;
  text-decoration: underline;
}
.privacy-item.error-state label {
  color: #e53e3e;
}
.form-divider {
  border: none;
  border-top: 1px solid #eef0f5;
  margin: 2.2rem 0;
}
.submit-area {
  text-align: center;
  margin-top: 2rem;
}
.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 55%, var(--gold-dark) 100%);
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 1.1rem 2.8rem;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: filter 0.2s, transform 0.15s, box-shadow 0.2s;
  letter-spacing: -0.01em;
  text-shadow: 0 1px 2px rgba(60,40,5,.45);
}
.btn-submit svg path { stroke: #ffffff; }
.btn-submit:hover {
  filter: brightness(1.08);
  box-shadow: 0 6px 20px rgba(201,168,76,0.40);
  transform: translateY(-2px);
}
.btn-submit:active { transform: translateY(0); }
.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}
.submit-note {
  font-size: 0.82rem;
  color: #9ca3af;
  margin-top: 0.9rem;
}
.error-summary {
  background: #fff5f5;
  border: 1.5px solid #feb2b2;
  border-radius: 10px;
  padding: 1rem 1.2rem;
  margin-bottom: 1.5rem;
  font-size: 0.88rem;
  color: #c53030;
  display: none;
}
.error-summary.visible { display: block; }
.success-message {
  display: none;
  text-align: center;
  padding: 4rem 2rem;
  animation: fadeIn 0.5s ease;
}
.success-message.visible { display: block; }
.success-icon {
  width: 80px;
  height: 80px;
  background: #EEF3FF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}
.success-message h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: #253896;
  margin-bottom: 0.75rem;
}
.success-message p {
  color: #5a6272;
  font-size: 1rem;
  max-width: 460px;
  margin: 0 auto;
  line-height: 1.6;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── HERO MODIFICATORI ── */
.db-hero--periodica     { --hero-img: url('hero-periodica.svg'); }
.db-hero--bilancio      { --hero-img: url('hero-bilancio.svg'); }
.db-hero--manovre       { --hero-img: url('hero-manovre.svg'); }
.db-hero--fiscale       { --hero-img: url('hero-fiscale.svg'); }
.db-hero--business-plan { --hero-img: url('hero-business-plan.svg'); }
.db-hero--checkup       { --hero-img: url('hero-checkup.svg'); }
.db-hero--cr            { --hero-img: url('hero-cr.svg'); }
.db-hero--mcc           { --hero-img: url('hero-mcc.svg'); }
.db-hero--banche        { --hero-img: url('hero-banche.svg'); }
.db-hero--assetti       { --hero-img: url('hero-assetti.svg'); }
.db-hero--aiuti         { --hero-img: url('hero-aiuti.svg'); }

/* ── STEP SIGNATURE (passo distintivo, accent oro) ── */
.how-card--signature { border-color: rgba(201,168,76,0.35); }
.how-card--signature .how-step-num { background: #C9A84C; }
.how-card-signature-badge { display:inline-block; font-size:0.68rem; font-weight:700; text-transform:uppercase; letter-spacing:0.07em; color:#C9A84C; background:rgba(201,168,76,0.1); border:1px solid rgba(201,168,76,0.25); border-radius:20px; padding:0.18rem 0.65rem; margin-bottom:0.5rem; }

/* ── STEP 4 PLUS GRATUITO ── */
.how-card--plus { border-color: rgba(0,184,107,0.3); }
.how-card--plus .how-step-num { background: #00B86B; }
.how-card-plus-badge { display:inline-block; font-size:0.68rem; font-weight:700; text-transform:uppercase; letter-spacing:0.07em; color:#00B86B; background:rgba(0,184,107,0.1); border:1px solid rgba(0,184,107,0.25); border-radius:20px; padding:0.18rem 0.65rem; margin-bottom:0.5rem; }

/* ── PONTE CON DUE CTA ── */
.ponte-btns { display:flex; gap:1rem; justify-content:center; flex-wrap:wrap; }
.btn-ponte-secondary { display:inline-block; padding:0.75rem 1.75rem; border:2px solid rgba(255,255,255,0.4); border-radius:8px; color:#fff; font-weight:600; font-size:0.95rem; text-decoration:none; transition:background 0.2s, border-color 0.2s; }
.btn-ponte-secondary:hover { background:rgba(255,255,255,0.1); border-color:rgba(255,255,255,0.7); }

/* ── HERO MICROCOPY ── */
.hero-microcopy {
  font-size: 0.78rem;
  opacity: 0.55;
  margin-top: 0.55rem;
  letter-spacing: 0.01em;
}

/* ── IN SINTESI ── */
.in-sintesi {
  padding: 4rem 0;
  background: #fff;
}
.in-sintesi .container { max-width: 720px; }
.in-sintesi-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--blue-accent);
  margin-bottom: 1rem;
}
.in-sintesi p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-medium);
  margin-bottom: 1.1rem;
}
.in-sintesi p:last-child { margin-bottom: 0; }

/* ── FAQ / PRIMA CHE TU LO CHIEDA ── */
.faq-section {
  padding: 4rem 0;
  background: var(--gray-light);
}
.faq-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  max-width: 880px;
  margin: 2.5rem auto 0;
}
.faq-item {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow-sm);
}
.faq-item:last-child:nth-child(odd) { grid-column: 1 / -1; }
.faq-q {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 0.5rem;
}
.faq-a {
  font-size: 0.87rem;
  color: var(--text-medium);
  line-height: 1.65;
}

/* ── BLOCCO INSIGHT (specifico per prodotto) ── */
.blocco-insight {
  padding: 4rem 0;
  background: var(--gray-light);
}
.blocco-insight .container { max-width: 720px; }
.blocco-insight h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 1rem;
  line-height: 1.4;
}
.blocco-insight p {
  color: var(--text-medium);
  line-height: 1.75;
  margin-bottom: 0.8rem;
}
.blocco-insight p:last-child { margin-bottom: 0; }
.blocco-insight ul {
  margin: 0.5rem 0 0.8rem 1.5rem;
  color: var(--text-medium);
  line-height: 1.75;
}
.blocco-insight ul li {
  margin-bottom: 0.4rem;
}

/* ── FIRMA (Business Plan) ── */
.firma-section {
  padding: 4rem 0;
  background: #fff;
}
.firma-box {
  max-width: 720px;
  margin: 0 auto;
  background: var(--gray-light);
  border-radius: 16px;
  padding: 2.25rem 2.5rem;
  border-left: 4px solid var(--gold);
}
.firma-box h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 0.85rem;
}
.firma-box p {
  color: var(--text-medium);
  line-height: 1.75;
  font-size: 0.97rem;
}

/* ── PONTE AL PRODOTTO SUCCESSIVO ── */
.ponte-section {
  padding: 3.5rem 0;
  background: var(--blue-dark);
  color: #fff;
  text-align: center;
}
.ponte-section h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
  line-height: 1.35;
  color: #fff;
}
.ponte-section p {
  max-width: 600px;
  margin: 0 auto 1.5rem;
  opacity: 0.82;
  line-height: 1.65;
  font-size: 0.97rem;
  color: #fff;
}

/* ── DEMO PLACEHOLDER ── */
.demo-placeholder {
  width: 100%;
  min-height: 340px;
  background: #f0f3f9;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  border: 2px dashed #c7cfe0;
}
.demo-placeholder-title {
  font-size: 1rem;
  font-weight: 600;
  color: #6b7280;
}
.demo-placeholder-label {
  font-size: 0.82rem;
  color: #9ca3af;
}

/* ── PRICING UNICO (Business Plan) ── */
.pricing-unico-box {
  max-width: 640px;
  margin: 2rem auto 0;
  text-align: center;
}
.pricing-unico-box p {
  font-size: 1.05rem;
  color: var(--text-medium);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

/* ── RIQUADRI ISTITUZIONALI (norma + sentenze — Adeguati Assetti) ── */
.istituzionale-section {
  padding: 3.5rem 0;
  background: #f2f4fb;
}
.istituzionale-card {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border-left: 4px solid var(--blue-primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: 0 2px 18px rgba(37,56,150,0.08);
  padding: 2rem 2.25rem 2.25rem;
}
.ist-card-label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--blue-primary);
  margin-bottom: 1.5rem;
}

/* Norma items */
.norma-items { display: flex; flex-direction: column; gap: 0.9rem; }
.norma-item {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 0.75rem;
  align-items: baseline;
}
.norma-key {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--blue-dark);
}
.norma-val {
  font-size: 0.95rem;
  color: var(--text-medium);
  line-height: 1.65;
}

/* Sentenze items */
.sentenza-item {
  padding: 1.1rem 0;
  border-bottom: 1px solid #eef0f7;
}
.sentenza-item:first-of-type { padding-top: 0; }
.sentenza-item:last-of-type { border-bottom: none; padding-bottom: 0; }
.sentenza-giudice {
  font-size: 0.73rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #7c2020;
  margin-bottom: 0.35rem;
}
.sentenza-testo {
  font-size: 0.93rem;
  color: var(--text-medium);
  line-height: 1.7;
}
.sentenze-chiusura {
  margin-top: 1.35rem;
  padding-top: 1.1rem;
  border-top: 1px solid #eef0f7;
  font-size: 0.95rem;
  font-style: italic;
  color: var(--blue-dark);
  font-weight: 500;
  line-height: 1.65;
}

/* Insight stat grande */
.insight-stat-num {
  font-size: 4.5rem;
  font-weight: 900;
  color: var(--blue-accent);
  line-height: 1;
  margin-bottom: 0.35rem;
  letter-spacing: -0.02em;
}
.insight-stat-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--blue-primary);
  margin-bottom: 1.25rem;
}

/* ── QUANTO COSTA ── */
.quanto-costa-section {
  padding: 4rem 0;
  background: #fff;
  border-top: 1px solid #eef0f5;
}
.regime-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 820px;
  margin: 0 auto 2rem;
}
.regime-card {
  background: #f8f9fb;
  border: 1.5px solid #e8eaf0;
  border-radius: var(--radius, 12px);
  padding: 1.5rem 1.25rem 1.75rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.regime-card--unavailable { opacity: 0.38; pointer-events: none; }
.regime-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--blue-primary);
  margin-bottom: 0.65rem;
}
.regime-unavailable {
  font-size: 0.82rem;
  color: #9ca3af;
  font-style: italic;
  line-height: 1.55;
  padding: 0.3rem 0;
}
.regime-unico {
  max-width: 820px;
  margin: 0 auto 1.5rem;
  background: #f8f9fb;
  border: 1.5px solid #e8eaf0;
  border-radius: var(--radius, 12px);
  padding: 1.6rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.regime-unico-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--blue-primary);
  margin-bottom: 0.45rem;
}
.quanto-costa-footer {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.quanto-costa-note {
  font-size: 0.85rem;
  color: var(--text-medium);
  margin-bottom: 1.25rem;
  line-height: 1.65;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .db-hero { padding: 3.5rem 0 3rem; min-height: 240px; }
  .how-cards { grid-template-columns: 1fr; gap: 1.2rem; }
  .deliverable-cards,
  .pricing-cards,
  .bundle-cards { grid-template-columns: 1fr; }
  .report-iframe { height: 480px; }
  .form-row-2 { grid-template-columns: 1fr; }
  .form-card { padding: 1.8rem 1.2rem; }
  .faq-list { grid-template-columns: 1fr; }
  .faq-item:last-child:nth-child(odd) { grid-column: auto; }
  .firma-box { padding: 1.5rem 1.2rem; }
  .norma-item { grid-template-columns: 1fr; gap: 0.15rem; }
  .istituzionale-card { padding: 1.5rem 1.2rem 1.75rem; }
  .insight-stat-num { font-size: 3.2rem; }
  .regime-cards { grid-template-columns: 1fr; gap: 0.9rem; }
  .regime-unico { flex-direction: column; align-items: flex-start; }
}

/* ── CTA grid guide: 3 colonne, altezza uniforme ──
   Selettore .container .guida-cta-grid ha specificità (0,2,0) e batte
   il .guida-cta-grid (0,1,0) negli inline <style> di ogni guida.
   Risultato: 3 card allineate in altezza senza modificare le singole pagine. */
.container .guida-cta-grid {
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
}
.container .guida-cta-grid .guida-cta-card:last-child {
  grid-column: auto;
  width: auto;
  margin-inline: 0;
}
.guida-cta-card {
  height: 100%;
  box-sizing: border-box;
}
@media (max-width: 700px) {
  .container .guida-cta-grid {
    grid-template-columns: 1fr;
  }
}
