.preventivatore {
  --field:#f2f2f2;
  --cta:#006dfd;

  --bg1:#f5f7ff;
  --bg2:#ffffff;
  --shadow: 0 26px 70px rgba(15,23,42,.10);
  --card-radius: 26px;

  --text:#0f172a;
  --muted:#64748b;
  --line:#e5e7eb;

  --ok:#10b981;
  --warn:#f59e0b;
  --err:#ef4444;

  margin:0;
  width:100%;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
}

.preventivatore,
.preventivatore *{box-sizing:border-box}

.preventivatore .wrap{padding: 34px 16px 56px;}
.preventivatore .container{max-width:980px; margin:0 auto;}

.preventivatore .card{
  background:#fff;
  border-radius: var(--card-radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(15,23,42,.06);
  overflow:hidden;
}
.preventivatore .cardInner{ padding: clamp(18px, 3.6vw, 34px); }

/* Progress */
.preventivatore .progress{
  padding: 18px clamp(18px,3.6vw,34px);
  border-bottom:1px solid var(--line);
  position:relative;
  background: linear-gradient(180deg, rgba(0,109,253,.04), transparent);
}
.preventivatore .progressRow{
  display:flex;
  justify-content:space-between;
  gap:10px;
  position:relative;
  padding-top:4px;
}
.preventivatore .track{
  position:absolute;
  left: clamp(18px,3.6vw,34px);
  right: clamp(18px,3.6vw,34px);
  top: 40px;
  height: 3px;
  border-radius: 99px;
  background: #eef2f7;
  z-index:0;
}
.preventivatore .track > span{
  display:block;
  height:100%;
  width:0%;
  border-radius:99px;
  background: var(--cta);
  transition: width .35s ease;
}

.preventivatore .pItem{display:flex; flex-direction:column; align-items:center; gap:7px; z-index:1; min-width:92px;}
.preventivatore .bubble{
  width:38px; height:38px;
  border-radius:999px;
  display:flex; align-items:center; justify-content:center;
  font-weight:800; font-size:13px;
  background:#f3f4f6;
  border:1px solid rgba(15,23,42,.08);
  color:#64748b;
  transition: all .2s ease;
}
.preventivatore .bubble.active{
  background: var(--cta);
  border-color: transparent;
  color:#fff;
}
.preventivatore .bubble.done{
  background:#0f172a;
  border-color:transparent;
  color:#fff;
}
.preventivatore .plabel{font-size:12px; color:#94a3b8;}
.preventivatore .plabel.active{color:var(--cta); font-weight:800;}
.preventivatore .plabel.done{color:#0f172a; font-weight:800;}

/* Form */
.preventivatore .grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap:14px;
}
.preventivatore label{display:block; font-weight:700; font-size:12px; color:#111827; margin:0 0 6px;}
.preventivatore .req{color: var(--err); margin-left:4px;}
.preventivatore .help{display:block; margin-top:-2px; margin-bottom:10px; font-size:12px; color:var(--muted);}

.preventivatore .inputWrap{position:relative;}
.preventivatore input[type="text"],
.preventivatore input[type="email"],
.preventivatore input[type="tel"],
.preventivatore input[type="number"]{
  width:100%;
  padding: 12px 14px;
  border-radius: 12px;
  border:1px solid var(--line);
  background: var(--field);
  color:var(--text);
  outline:none;
  font-size:14px;
  transition: box-shadow .15s ease, border-color .15s ease, background .15s ease;
}
.preventivatore input:focus{
  border-color: rgba(0,109,253,.35);
  background:#ffffff;
  box-shadow:0 0 0 4px rgba(0,109,253,.10);
}
.preventivatore .suffix{
  position:absolute;
  right:12px;
  top:50%;
  transform: translateY(-50%);
  font-size:12px;
  color:var(--muted);
}

/* Rimuove freccette number */
.preventivatore input[type="number"]::-webkit-outer-spin-button,
.preventivatore input[type="number"]::-webkit-inner-spin-button{
  -webkit-appearance: none;
  margin: 0;
}
.preventivatore input[type="number"]{ -moz-appearance: textfield; }

.preventivatore .notice{
  margin-top:14px;
  border:1px solid rgba(0,109,253,.16);
  background: linear-gradient(135deg, rgba(0,109,253,.05), rgba(0,109,253,.02));
  border-radius: 18px;
  padding: 14px 16px;
  display:flex;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}
.preventivatore .notice .k{font-size:12px; color:var(--muted); font-weight:800;}
.preventivatore .notice .v{font-size:22px; font-weight:900; letter-spacing:-0.02em;}

.preventivatore .actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:16px;
}
.preventivatore .actions.inlineNoWrap{ flex-wrap: nowrap; }

.preventivatore .btn{
  border:0;
  border-radius: 14px;
  padding: 14px 16px;
  font-weight:900;
  cursor:pointer;
  font-size:14px;
  transition: transform .12s ease, background .12s ease, box-shadow .12s ease;
  user-select:none;
  min-height: 46px;
}

.preventivatore .btn-primary{
  flex:1;
  min-width: 260px;
  background: var(--cta) !important;
  color:#fff;
  box-shadow: 0 14px 30px rgba(0,109,253,.18);
}

.preventivatore .btn-secondary{
  min-width: 200px;
  background: var(--cta) !important;
  color:#fff;
  box-shadow: 0 14px 30px rgba(0,109,253,.12);
}

.preventivatore .error{margin-top:10px; color:var(--err); font-size:13px; font-weight:800;}
.preventivatore .muted{color:var(--muted); font-size:13px; line-height:1.55;}

.preventivatore .choiceGrid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap:12px;
  margin-top:10px;
}
.preventivatore .choice{
  background: var(--field);
  border:1px solid var(--line);
  border-radius: 14px;
  padding:14px;
  cursor:pointer;
  transition: box-shadow .15s ease, border-color .15s ease, background .15s ease;
}
.preventivatore .choice.active{
  background:#ffffff;
  border-color: rgba(0,109,253,.28);
  box-shadow:0 0 0 4px rgba(0,109,253,.10);
}
.preventivatore .choice .t{font-weight:900;}
.preventivatore .choice .d{font-size:12px; color:var(--muted); margin-top:6px;}

.preventivatore .checkRow{
  display:flex;
  align-items:flex-start;
  gap:12px;
  padding: 14px 14px;
  border-radius: 14px;
  background: var(--field);
  border:1px solid var(--line);
  cursor:pointer;
  user-select:none;
}
.preventivatore .checkRow + .checkRow{ margin-top:12px; }
.preventivatore #privacyRow{ margin-top: 18px; }

.preventivatore .checkBox{
  appearance:none;
  -webkit-appearance:none;
  width:18px; height:18px;
  border:2px solid #cbd5e1;
  border-radius:4px;
  background:#fff;
  display:inline-block;
  position:relative;
  margin-top:2px;
  flex:0 0 auto;
}
.preventivatore .checkBox:checked{
  border-color: var(--cta);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(0,109,253,.10);
}
.preventivatore .checkBox:checked::after{
  content:"";
  position:absolute;
  left:4px; top:0px;
  width:5px; height:10px;
  border: solid var(--cta);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.preventivatore .divider{height:1px; background:var(--line); margin: 16px 0;}

/* Risultati */
.preventivatore .kpiGrid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap:12px;
  margin-top:14px;
}
.preventivatore .kpi{
  background: var(--field);
  border:1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
}
.preventivatore .kpi .k{font-size:12px; color:var(--muted); font-weight:800;}
.preventivatore .kpi .v{font-size:22px; font-weight:950; letter-spacing:-0.02em; margin-top:6px;}

.preventivatore .cardBox{
  margin-top:16px;
  background:#fff;
  border:1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
}
.preventivatore .cardBoxTitle{font-weight:950; font-size:14px; margin:0 0 10px;}

.preventivatore .finance{
  margin-top:12px;
  border-radius: 18px;
  padding: 14px 16px;
  border:1px solid rgba(0,109,253,.18);
  background: linear-gradient(135deg, rgba(0,109,253,.05), rgba(0,109,253,.02));
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
}
.preventivatore .financeLeft{display:flex; align-items:center; gap:12px; flex-wrap:wrap;}
.preventivatore .financeIcon{
  width:48px; height:48px;
  border-radius: 14px;
  background: var(--cta);
  color:#fff;
  display:flex; align-items:center; justify-content:center;
  font-weight:1000;
  box-shadow: 0 12px 25px rgba(0,109,253,.18);
  flex:0 0 auto;
}
.preventivatore .financeTitle{margin:0; font-weight:1000; font-size:14px;}
.preventivatore .financeSub{margin:4px 0 0; font-size:12px; color:var(--muted);}
.preventivatore .financeRate{
  background:#fff;
  border:1px solid rgba(16,185,129,.20);
  border-radius: 16px;
  padding: 10px 14px;
  text-align:center;
  min-width: 210px;
  width: 100%;
}
.preventivatore .financeRate .small{margin:0; font-size:11px; color:var(--muted); font-weight:800;}
.preventivatore .financeRate .small span {color:var(--ok); font-size:28px;}
.preventivatore .financeRate .price{margin:4px 0 0; font-size:28px; font-weight:1000; color:var(--ok); line-height:1;}
.preventivatore .financeRate .tan{margin:6px 0 0; font-size:11px; color:var(--muted);}

.preventivatore .hide{display:none !important;}

@media (max-width: 720px){
  .preventivatore .actions.inlineNoWrap{flex-wrap:wrap;}
  .preventivatore .btn-secondary{min-width: 160px;}
  .preventivatore .btn-primary{min-width: 220px;}
}

/* Accordion FAQ */
.preventivatore .faqWrap{
  margin: 14px 0 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
}
.preventivatore details.faqItem{
  border-top: 1px solid var(--line);
  background: #fff;
}
.preventivatore details.faqItem:first-child{ border-top: 0; }

.preventivatore details.faqItem > summary{
  list-style: none;
  cursor: pointer;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-weight: 950;
  font-size: 13px;
  color: #111827;
  user-select: none;
}
.preventivatore details.faqItem > summary::-webkit-details-marker{ display:none; }

.preventivatore .faqArrow{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: var(--field);
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  transition: transform .18s ease;
}
.preventivatore details[open] .faqArrow{ transform: rotate(180deg); }

.preventivatore .faqBody{
  padding: 2px 16px 12px 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}
.preventivatore .faqBody p{ margin: 0; }

/* Inline style replacements */
.preventivatore .pv-section-title{ margin:0 0 6px; font-size:18px; }
.preventivatore .pv-section-subtitle{ margin:0 0 14px; }
.preventivatore .pv-align-right{ text-align:right; }
.preventivatore .pv-section-label{ font-weight:950; font-size:13px; margin-bottom:6px; }
.preventivatore .pv-section-label--spaced{ margin-top:14px; }
.preventivatore .pv-check-title{ font-weight:950; font-size:13px; }
.preventivatore .pv-check-subtitle{ margin-top:4px; }
.preventivatore .notice.notice--align-end{ align-items:flex-end; }
.preventivatore .k.k--spaced{ margin-top:10px; }
.preventivatore .v.v--ok{ color:var(--ok); }
.preventivatore .v.v--warn{ color:var(--warn); }
.preventivatore .price .price-suffix{ font-size:14px; font-weight:900; color:var(--muted); }
.preventivatore .note-list{ margin:0; padding-left:18px; }
.preventivatore .pv-submit-status{
  margin-top:10px;
  font-size:13px;
  color:var(--muted);
  font-weight:800;
}

