/* Nasci Offerte Wizard */

.nw-wrap, .nw-wrap *, .nw-wrap *::before, .nw-wrap *::after { box-sizing: border-box; }

.nw-wrap {
  display: flex;
  max-width: 1100px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.18);
  font-family: 'Montserrat', sans-serif;
  color: #00181C;
}

/* LEFT */
.nw-left {
  width: 280px;
  flex-shrink: 0;
  background: linear-gradient(165deg, #02262C 0%, #00181C 100%);
  padding: 40px 30px;
  color: #fff;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.nw-left::before {
  content: '';
  position: absolute;
  bottom: -80px; left: -60px;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(142,229,3,0.15), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}

.nw-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(142,229,3,0.1);
  border: 1px solid rgba(142,229,3,0.25);
  border-radius: 100px;
  font-family: 'Poppins', sans-serif;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.75);
  width: fit-content;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}
.nw-badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #90E509;
  box-shadow: 0 0 8px rgba(142,229,3,0.6);
  animation: nwPulse 2.5s ease-in-out infinite;
}
@keyframes nwPulse { 0%,100% { box-shadow: 0 0 6px rgba(142,229,3,0.4); } 50% { box-shadow: 0 0 16px rgba(142,229,3,0.75); } }

.nw-title {
  font-family: 'Korataki', 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 28px;
  line-height: 1.15;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 14px;
  position: relative;
  z-index: 1;
}
.nw-title span { color: #6AB504; }

.nw-sub {
  font-size: 13px;
  line-height: 1.65;
  color: rgba(255,255,255,0.7);
  margin: 0 0 auto;
  position: relative;
  z-index: 1;
}

.nw-privacy {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 10px;
  color: rgba(255,255,255,0.35);
  line-height: 1.5;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  position: relative;
  z-index: 1;
}
.nw-privacy svg { width: 14px; height: 14px; flex-shrink: 0; margin-top: 1px; color: rgba(255,255,255,0.35); }

/* RIGHT */
.nw-right {
  flex: 1;
  padding: 32px 40px;
  display: flex;
  flex-direction: column;
  background: #fff;
  min-width: 0;
}

.nw-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.nw-steplabel {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #00181C;
}
.nw-stepcount {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  color: #8A9A8E;
}

.nw-progress {
  display: flex;
  gap: 6px;
  margin-bottom: 24px;
}
.nw-progress .nw-seg {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: #E8ECE8;
  transition: background 0.4s;
}
.nw-progress .nw-seg.on  { background: linear-gradient(90deg, #8EE503, #7EC907); }
.nw-progress .nw-seg.done { background: rgba(142,229,3,0.35); }

.nw-body { flex: 1; }

.nw-step { display: none; animation: nwFade 0.35s cubic-bezier(0.22,1,0.36,1); }
.nw-step.on { display: block; }
@keyframes nwFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Service grid */
.nw-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.nw-svc {
  position: relative;
  background: #F8FAF8;
  border: 1.5px solid #EEF2EE;
  border-radius: 12px;
  padding: 16px 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.22,1,0.36,1);
  color: #00181C;
}
.nw-svc:hover { border-color: rgba(142,229,3,0.4); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,24,28,0.05); }
.nw-svc.on    { border-color: rgba(142,229,3,0.6); background: #F4F8F2; box-shadow: 0 0 0 3px rgba(142,229,3,0.08); }

.nw-svc-ico {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(142,229,3,0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}
.nw-svc-ico svg { width: 22px; height: 22px; }
.nw-svc-name { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 13px; color: #00181C; }
.nw-svc-desc { font-size: 11px; color: #8A9A8E; margin-top: 2px; }

.nw-chk {
  position: absolute;
  top: 6px; right: 6px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #8EE503;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: scale(0.3);
  transition: all 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
.nw-chk svg { width: 10px; height: 10px; }
.nw-svc.on .nw-chk { opacity: 1; transform: scale(1); }

/* Detail step */
.nw-group { margin-bottom: 16px; }
.nw-group > label { display: block; font-family: 'Poppins', sans-serif; font-weight: 500; font-size: 12px; color: #00181C; margin-bottom: 6px; }

.nw-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.nw-pill {
  padding: 8px 16px;
  border: 1.5px solid #EEF2EE;
  border-radius: 100px;
  background: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 12px;
  color: #8A9A8E;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.22,1,0.36,1);
  user-select: none;
}
.nw-pill:hover { border-color: rgba(142,229,3,0.4); color: #00181C; }
.nw-pill.on { background: #F4F8F2; border-color: rgba(142,229,3,0.6); color: #4a8a04; box-shadow: 0 0 0 3px rgba(142,229,3,0.08); }

.nw-select {
  width: 100%;
  padding: 12px 40px 12px 16px;
  border: 1.5px solid #EEF2EE;
  border-radius: 10px;
  background: #fff url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%236AB504' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 16px center;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  color: #00181C;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  outline: none;
  transition: all 0.3s;
}
.nw-select:focus { border-color: rgba(142,229,3,0.5); box-shadow: 0 0 0 3px rgba(142,229,3,0.1); }

/* Contact step */
.nw-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 8px; }
.nw-field { position: relative; }
.nw-field label { display: block; font-family: 'Poppins', sans-serif; font-weight: 500; font-size: 12px; color: #8A9A8E; margin-bottom: 6px; }
.nw-field label em { color: #6AB504; font-style: normal; }
.nw-field input {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid #EEF2EE;
  border-radius: 10px;
  background: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  color: #00181C;
  outline: none;
  transition: all 0.3s;
}
.nw-field input::placeholder { color: #C0CAC3; }
.nw-field input:focus { border-color: rgba(142,229,3,0.5); box-shadow: 0 0 0 3px rgba(142,229,3,0.1); }
.nw-field input.err { border-color: #FF4D4D; box-shadow: 0 0 0 3px rgba(255,77,77,0.08); }

.nw-err { display: none; margin-top: 6px; color: #FF4D4D; font-size: 11px; font-weight: 500; }
.nw-err.on { display: block; }

/* Actions */
.nw-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #F0F2F0;
}
.nw-back {
  background: none;
  border: none;
  color: #8A9A8E;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 13px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 4px;
  transition: color 0.2s;
}
.nw-back:hover { color: #00181C; }
.nw-back svg { width: 14px; height: 14px; }
.nw-back.hidden { visibility: hidden; }

.nw-next {
  background: linear-gradient(135deg, #8EE503, #7EC907);
  color: #00181C;
  border: none;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 12px 28px;
  border-radius: 100px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 18px rgba(142,229,3,0.25);
  transition: all 0.3s cubic-bezier(0.22,1,0.36,1);
}
.nw-next:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(142,229,3,0.35); }
.nw-next:hover svg { transform: translateX(3px); }
.nw-next svg { width: 14px; height: 14px; transition: transform 0.3s; }
.nw-next:disabled { opacity: 0.6; cursor: wait; }

.nw-privacy-bar {
  text-align: center;
  font-size: 11px;
  color: #8A9A8E;
  margin-top: 14px;
}

.nw-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Success */
.nw-success { text-align: center; padding: 20px 0; }
.nw-success-ico {
  width: 68px; height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8EE503, #7EC907);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  animation: nwPop 0.5s cubic-bezier(0.34,1.56,0.64,1) 0.1s both;
  box-shadow: 0 10px 30px rgba(142,229,3,0.4);
}
.nw-success-ico svg { width: 32px; height: 32px; }
@keyframes nwPop { from { opacity: 0; transform: scale(0.3); } to { opacity: 1; transform: scale(1); } }

.nw-success h3 {
  font-family: 'Korataki', 'Poppins', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 22px;
  color: #00181C;
  margin: 0 0 8px;
}
.nw-success p { color: #8A9A8E; font-size: 14px; margin: 0 0 20px; }

.nw-summary {
  text-align: left;
  background: #F8FAF8;
  border: 1px solid #EEF2EE;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 22px;
}
.nw-summary .nw-sum-row { display: flex; justify-content: space-between; font-size: 12px; padding: 4px 0; border-bottom: 1px solid #EEF2EE; }
.nw-summary .nw-sum-row:last-child { border-bottom: none; }
.nw-summary .nw-sl { color: #8A9A8E; }
.nw-summary .nw-sv { color: #00181C; font-weight: 600; max-width: 60%; text-align: right; }

.nw-cta-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.nw-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px;
  border-radius: 100px;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 13px;
  transition: all 0.25s;
}
.nw-cta svg { width: 16px; height: 16px; }
.nw-cta-outline { border: 1.5px solid #EEF2EE; color: #00181C; background: #fff; }
.nw-cta-outline:hover { border-color: rgba(142,229,3,0.5); }
.nw-cta-green { background: linear-gradient(135deg, #8EE503, #7EC907); color: #00181C; box-shadow: 0 6px 18px rgba(142,229,3,0.3); }
.nw-cta-green:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(142,229,3,0.4); }

/* Responsive */
@media (max-width: 768px) {
  .nw-wrap { flex-direction: column; }
  .nw-left { width: 100%; padding: 28px 24px; }
  .nw-title { font-size: 22px; }
  .nw-right { padding: 24px 20px; }
  .nw-services { grid-template-columns: repeat(2, 1fr); }
  .nw-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .nw-pills { }
  .nw-cta-row { flex-direction: column; }
  .nw-cta { justify-content: center; }
}
