.ps-navbar {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 1000;
      background: rgba(255,255,255,0.95);
      backdrop-filter: blur(6px);
      border-bottom: 1px solid #eee;
    }

    .ps-nav-container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0 8px 0;
  display: flex;
  align-items: center;
  justify-content: space-between; /* 🔥 fondamentale */
}

    .process-step:nth-child(even) {
  background: #fff7ed; /* arancione chiaro */
  border: 1px solid #fed7aa;
}

.process-step:nth-child(odd) {
  background: #f0fdf4; /* verde chiaro */
  border: 1px solid #bbf7d0;
}

.ps-nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;              /* 👈 più basso */
  padding: 0 14px;           /* 👈 meno largo */
  border-radius: 999px;
  background: var(--green);
  color: #ffffff;
  text-decoration: none;
  font-size: 13px;           /* 👈 più piccolo */
  font-weight: 600;          /* 👈 meno “pesante” */
  white-space: nowrap;
  transition: all 0.2s ease;
}

.ps-nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(31,157,85,0.2);
}
    

    .ps-logo img {
      height: 50px;
      width: auto;
      display: block;
    }

    :root {
      --bg: #f6f7f8;
      --card: #ffffff;
      --text: #171717;
      --muted: #666;
      --line: #e7e7e7;
      --accent: #111;
      --orange: #f28c28;
      --green: #1f9d55;
      --soft: #fafafa;
      --shadow: 0 10px 30px rgba(0,0,0,0.06);
      --radius: 24px;
    }

    * { box-sizing: border-box; }

    body {
      margin: 0;
      font-family: Inter, Arial, Helvetica, sans-serif;
      background: var(--bg);
      color: var(--text);
      line-height: 1.5;
      padding-top: 72px;
    }


    .hero { padding: 48px 0 24px; }

    .grid {
      display: grid;
      grid-template-columns: 1.08fr 0.92fr;
      gap: 32px;
      align-items: start;
    }

    .pill {
      display: inline-block;
      padding: 8px 14px;
      border: 1px solid var(--line);
      border-radius: 999px;
      background: var(--card);
      color: var(--muted);
      font-size: 14px;
    }

    h1 {
      font-size: clamp(26px, 3.5vw, 42px);
      line-height: 1.05;
      margin: 18px 0 14px;
      letter-spacing: -0.03em;
    }

    .lead {
      font-size: 18px;
      color: var(--muted);
      max-width: 760px;
    }

    .stats {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 14px;
      margin-top: 28px;
    }

    .stat, .card, .result-card, .info-card {
      background: var(--card);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
    }

    .stat { padding: 18px; }

    .stat .label,
    .result-card .label {
      font-size: 13px;
      color: var(--muted);
    }

    .stat .value {
      margin-top: 6px;
      font-size: 18px;
      font-weight: 700;
      letter-spacing: -0.03em;
    }

    .card {
      padding: 26px;
      background: linear-gradient(180deg, #fff 0%, #fbfbfb 100%);
    }

    .card h2 {
      margin: 0 0 8px;
      font-size: 28px;
      letter-spacing: -0.03em;
    }

    .card p.top-note {
      margin: 0 0 22px;
      color: var(--muted);
      font-size: 14px;
    }

    form {
      display: grid;
      gap: 18px;
    }

    .simulator-card {
  position: relative;
      background: #fff7ed; /* arancione chiaro */
  border: 2px solid #f28c28;
}

.scroll-target {
  position: absolute;
  top: -130px;
  left: 0;
  width: 1px;
  height: 1px;
}
    
    #simulatorForm {
  scroll-margin-top: 120px;
}

    .scroll-anchor {
  position: relative;
  top: -120px;
  height: 0;
  visibility: hidden;
}
    .two-col {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 16px;
    }

    .field {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .field.full { grid-column: 1 / -1; }

    label {
      font-size: 14px;
      font-weight: 600;
    }

    .req {
      color: #999;
      margin-left: 4px;
    }

    .hint {
      font-size: 12px;
      color: var(--muted);
      margin-top: -2px;
    }

    input, select {
      width: 100%;
      padding: 15px 16px;
      border-radius: 18px;
      border: 1px solid var(--line);
      background: #fff;
      font-size: 14px;
      outline: none;
      transition: border-color 0.15s ease, box-shadow 0.15s ease;
    }

    input:focus, select:focus {
      border-color: #bdbdbd;
      box-shadow: 0 0 0 4px rgba(0,0,0,0.04);
    }

    .input-wrap { position: relative; }

    .suffix {
      position: absolute;
      right: 14px;
      top: 50%;
      transform: translateY(-50%);
      font-size: 12px;
      color: var(--muted);
      pointer-events: none;
    }

    .with-suffix input { padding-right: 90px; }

    .radio-group {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

    .radio-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;

  width: 100%;
  min-height: 72px;

  padding: 0 20px;
  margin-bottom: 14px;

  border: 1px solid var(--line);
  border-radius: 24px;

  background: #fff;
  box-sizing: border-box;

  cursor: pointer;
}

/* testo */
.radio-pill span {
  font-size: 12px;
  font-weight: 500;
  color: #111827;
  line-height: 1.3;
}

/* radio button */
.radio-pill input[type="radio"] {
  width: 26px;
  height: 26px;
  margin: 0;

  flex-shrink: 0;
  accent-color: #16a34a;
}

/* mobile */
@media (max-width: 640px) {

  .radio-pill {
    min-height: 66px;
    padding: 0 16px;
    border-radius: 20px;
  }

  .radio-pill span {
    font-size: 12px;
  }

  .radio-pill input[type="radio"] {
    width: 24px;
    height: 24px;
  }
}

    .note-box {
      padding: 16px 18px;
      border: 1px solid var(--line);
      background: var(--soft);
      border-radius: 18px;
      color: var(--muted);
      font-size: 14px;
    }

    .error-box {
      display: none;
      padding: 16px 18px;
      border: 1px solid #f1c9c9;
      background: #fff5f5;
      border-radius: 18px;
      color: #9b2c2c;
      font-size: 14px;
    }

    .btn {
      border: 0;
      border-radius: 20px;
      padding: 16px 22px;
      color: #fff;
      font-size: 16px;
      font-weight: 700;
      cursor: pointer;
      box-shadow: var(--shadow);
      transition: transform 0.15s ease, opacity 0.15s ease;
    }

    .btn:hover {
      opacity: 0.94;
      transform: translateY(-1px);
    }

    .btn-calc { background: var(--green); }
    .btn-lead { background: var(--green); }

    .section { padding: 16px 0 28px; }

    .section-head { margin-bottom: 18px; }

    .eyebrow {
      font-size: 12px;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--muted);
      font-weight: 700;
      margin-bottom: 8px;
    }

    h3 {
      font-size: 30px;
      letter-spacing: -0.03em;
      margin: 0 0 6px;
    }

    .section-copy {
      color: var(--muted);
      max-width: 100%;
      font-size: 14px;
    }

    .results-grid {
      display: none;
      grid-template-columns: repeat(4, 1fr);
      gap: 16px;
      margin-top: 20px;
    }

   /* ===== RISULTATI SIMULAZIONE PREMIUM ===== */

.result-card {

  position: relative;

  background: #ffffff;

  border: 2px solid #f28c28;

  border-radius: 28px;

  padding: 26px 24px 28px;

  overflow: hidden;

  transform: translateY(0);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;

  box-shadow:
    0 14px 38px rgba(0,0,0,0.08),
    0 0 28px rgba(242,140,40,0.10);
}

/* glow leggero */
.result-card::before {

  content: "";

  position: absolute;

  inset: 10px;

  border-radius: 22px;

  border: 1px solid rgba(242,140,40,0.16);

  pointer-events: none;
}

/* hover */
.result-card:hover {

  transform: translateY(-8px);

  box-shadow:
    0 24px 55px rgba(0,0,0,0.14),
    0 0 46px rgba(242,140,40,0.24);

  border-color: #fb923c;
}

/* icona */
.result-card .icon-wrap {

  width: 58px;
  height: 58px;

  border-radius: 50%;

  background: #fff7ed;

  display: flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 18px;

  color: #a16207;
}

/* titolo piccolo */
.result-card .label {

  font-size: 15px;

  font-weight: 700;

  color: #171717;

  margin-bottom: 10px;
}

/* numero grande */
.result-card .big {

  font-size: clamp(42px, 3.2vw, 52px);

  line-height: 1.02;

  font-weight: 800;

  letter-spacing: -0.05em;

  color: #166534;

  margin-bottom: 18px;

  word-break: break-word;
}
.result-card .big.big-text {
  font-size: 1.9rem;   /* più piccolo del numero, regola a piacere */
  line-height: 1.1;
}
/* testo */
.result-card p {

  font-size: 15px;

  line-height: 1.7;

  color: #334155;

  margin: 0;
}

/* linea decorativa */
.result-card::after {

  content: "";

  position: absolute;

  left: 24px;

  bottom: 20px;

  width: 56px;

  height: 4px;

  border-radius: 999px;

  background: #f28c28;
}

    .info-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
      margin-top: 12px;
      padding-bottom: 40px;
    }

    .info-card {
  padding: 22px;
      background: #f0fdf4; /* verde chiaro */
  border: 1px solid #bbf7d0;
}

/* alterna le card */
.info-card:nth-child(even) {
  background: #fff7ed; /* arancione chiaro */
  border: 1px solid #fed7aa;
}

    .info-card h4 {
      margin: 0 0 10px;
      font-size: 20px;
      letter-spacing: -0.02em;
    }

    .info-card p {
      margin: 0;
      color: var(--muted);
      font-size: 14px;
    }

    #leadBox {
      display: none;
      margin-top: 24px;
    }

    .label-with-icon {
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .icon {
      width: 18px;
      height: 18px;
      stroke: currentColor;
      stroke-width: 1.6;
      fill: none;
      flex-shrink: 0;
    }
.cta-case {
  margin-top: 80px;
  padding: 32px;
  text-align: center;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  border: 1px solid #e7e7e7;
}

.cta-case h3 {
  margin-bottom: 10px;
  font-size: 26px;
}

.cta-case p {
  margin-bottom: 20px;
  color: #666;
}
    .flow-step-fv .flow-icon svg {
  width: 42px;
  height: 42px;
}
/* HERO SCURO IMPATTANTE */
.about-premium-hero {
  padding: 100px 0;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #ffffff;
}

.about-hero-inner {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
}

.about-text h2 {
  font-size: 42px;
  margin-bottom: 20px;
}

.about-text p {
  font-size: 18px;
  line-height: 1.7;
  margin: 0 0 16px;
  color: rgba(255,255,255,0.85);
  max-width: 1000px;
}
    .about-text p.green-text {
  color: #4ade80;
  font-weight: 600;
}

.about-text .lead {
  font-size: 22px;
  font-weight: 600;
  color: #ffffff;
  max-width: 1000px;
}

.about-text .highlight {
  margin-top: 20px;
  font-size: 20px;
  color: #4ade80;
  font-weight: 600;
  max-width: 1000px;
}

.about-text .final {
  margin-top: 20px;
  font-size: 18px;
  color: #ffffff;
}


/* BLOCCO PROCESSO */
.about-process-premium {
  padding: 80px 0;
  background: #f6f7f8;
}

.about-process-premium h3 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 40px;
}

.process-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.process-step {
  background: #ffffff;
  padding: 24px;
  border-radius: 18px;
  border: 1px solid #e7e7e7;
  text-align: center;
}

.process-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #16a34a;
  color: #fff;
  border-radius: 50%;
  margin-bottom: 12px;
  font-weight: 700;
}

.process-step h4 {
  margin-bottom: 8px;
  font-size: 16px;
}

.process-step p {
  font-size: 14px;
  color: #666;
}

.process-final {
  margin-top: 30px;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
}


/* MOBILE */
@media (max-width: 900px) {
  .process-flow {
    grid-template-columns: 1fr;
  }

  .about-text h2 {
    font-size: 32px;
  }
}

    
    @media (max-width: 980px) {
      .grid,
      .results-grid,
      .info-grid,
      .stats,
      .two-col {
        grid-template-columns: 1fr;
      }

      .hero { padding-top: 26px; }
      .card { padding: 20px; }
    }
   .iper-wrapper {
  grid-column: 1 / -1;
  width: 100%;
  margin: 60px 0 0 0;
  box-sizing: border-box;
}

.box-iper {
  width: 100%;
  max-width: none;
  padding: 42px 36px;
  border-radius: 22px;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #ffffff;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
  text-align: center;
  box-sizing: border-box;
  border: 1px solid rgba(255,255,255,0.08);
}

.title-iper {
  margin: 0 0 18px 0;
  font-size: 38px;
  line-height: 1.15;
  font-weight: 800;
  color: #ffffff;
}

.box-iper p {
  margin: 0 0 16px 0;
  font-size: 21px;
  line-height: 1.5;
  color: rgba(255,255,255,0.95);
}

.box-iper .highlight {
  margin-top: 10px;
  font-size: 30px;
  line-height: 1.25;
  font-weight: 800;
  color: #4ade80;
}

.box-iper .numeri {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 30px 0 22px 0;
  flex-wrap: wrap;
}

.box-iper .numeri div {
  flex: 1 1 220px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 20px 16px;
}

.box-iper .numeri span {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.72);
}

.box-iper .numeri strong {
  font-size: 30px;
  line-height: 1.2;
  font-weight: 800;
  color: #ffffff;
}

.box-iper .risparmio strong {
  color: #4ade80;
}

.box-iper .nota {
  margin-bottom: 0;
  font-size: 14px;
  color: rgba(255,255,255,0.72);
}

@media (max-width: 768px) {
  .iper-wrapper {
    padding: 0 12px;
  }

  .box-iper {
    padding: 28px 20px;
  }

  .title-iper {
    font-size: 28px;
  }

  .box-iper p {
    font-size: 18px;
  }

  .box-iper .highlight {
    font-size: 24px;
  }

  .box-iper .numeri strong {
    font-size: 24px;
  }
  }
.spazio-contatto {
  width: min(1180px, calc(100% - 32px));
  margin: 70px auto 0 auto;

}
.contatto-rapido {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 32px;
  border-radius: 18px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  box-sizing: border-box;
}

.contatto-rapido h3 {
  margin: 0 0 12px 0;
  font-size: 22px;
  line-height: 1.25;
  color: #0f172a;
}

.contatto-rapido p {
  margin: 0 0 10px 0;
  font-size: 16px;
  line-height: 1.5;
  color: #334155;
}

.contatto-rapido .sub {
  margin-bottom: 22px;
  font-size: 15px;
  color: #64748b;
}

.mini-form-contatto {
  width: 100%;
}

.mini-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

.mini-field label {
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
}

.mini-field input,
.mini-field select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  font-size: 16px;
  background: #ffffff;
  box-sizing: border-box;
}

.mini-field input:focus,
.mini-field select:focus {
  outline: none;
  border-color: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
}

.mini-submit {
  margin-top: 10px;
}

.btn-mini-submit {
  width: 100%;
  padding: 16px 24px;
  background: #22c55e;
  color: #0f172a;
  border: none;
  border-radius: 12px;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  box-sizing: border-box;
}

.btn-mini-submit:hover {
  background: #16a34a;
}

.storage-flow-card {
  margin-top: 30px;
  width: 100%;
  background: #ffffff;
  border: 2px solid #8ccf8a;
  border-radius: 22px;
  padding: 28px 24px 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

.storage-flow-card h2 {
  margin: 0 0 6px;
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-align: center;
}

.storage-flow-sub {
  margin: 0 0 24px;
  color: #6b7280;
  font-size: 15px;
  text-align: center;
}

.storage-flow-diagram {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 8px 0;
}

.storage-flow-diagram svg {
  width: 100%;
  height: auto;
  display: block;
}

.storage-flow-result {
  margin-top: 8px;
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  border: 1px solid #bbf7d0;
  border-radius: 14px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.result-icon {
  width: 28px;
  height: 28px;
  color: #16a34a;
  flex: 0 0 auto;
}


.result-icon-euro {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #16a34a;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  font-family: Inter, Arial, sans-serif;
  flex: 0 0 auto;
  box-shadow: 0 2px 8px rgba(22, 163, 74, 0.25);
}
.storage-flow-result p {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #166534;
  letter-spacing: 0.01em;
}

@media (max-width: 768px) {
  .storage-flow-card {
    padding: 22px 16px;
  }

  .storage-flow-card h2 {
    font-size: 22px;
  }

  .storage-flow-result {
    flex-direction: column;
    text-align: center;
  }
}
@media (max-width: 480px) {
  .storage-flow-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .storage-flow-result {
    flex-direction: column;
    text-align: center;
  }
}
.case-study {
  padding: 40px 0 80px;
  background: #f6f7f8;
}
#case-study {
  scroll-margin-top: 120px;
}
    
.container {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
}

.case-study .case-images {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 40px;
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 18px;
   margin-top: 30px;
}

.case-study .case-images img {
  width: 100% !important;
  height: 260px;
  object-fit: contain;
  border-radius: 18px;
  display: block;
}

.case-header span {
  font-size: 16px;
  font-weight: 700;
  color: #f28c28;
  letter-spacing: 0.08em;
}

.case-header h2 {
  font-size: 36px;
  margin: 10px 0;
}

.case-header p {
  color: #666;
    margin-top: 50px;
  max-width: 700px;
}

.case-label {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 32px;
  display: flex;
  gap: 10px;
  align-items: baseline;
  flex-wrap: wrap;
}
.case-tag {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #16a34a;
  }
    .case-title {
  font-size: 22px;
  font-weight: 600;
  color: #16a34a;
     }   
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 30px 0;
}

.case-grid div {
  background: #fff;
  padding: 20px;
  border-radius: 16px;
}

.case-grid strong {
  font-size: 28px;
}

.case-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.case-benefits div {
  background: #fff;
  padding: 20px;
  border-radius: 16px;
}

.case-benefits span {
  display: inline-block;
  background: #111;
  color: #fff;
  width: 30px;
  height: 30px;
  text-align: center;
  line-height: 30px;
  border-radius: 50%;
  margin-bottom: 10px;
}

.case-total {
  margin-top: 20px;
  padding: 20px;
  background: #16a34a;
  color: #fff;
  border-radius: 16px;
}

.case-total strong {
  font-size: 28px;
}
    .case-total-fv {
  margin-top: 20px;
  padding: 22px 24px;
  background: linear-gradient(135deg, #f97316, #fb923c);
  color: #fff;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}


.case-total-fv .text {
  display: flex;
  flex-direction: column;
}

.case-total-fv .text span {
  font-size: 14px;
  opacity: 0.9;
}

.case-total-fv .text strong {
  font-size: 28px;
  font-weight: 800;
}
  .brand-green {
  color: var(--green) !important;
  font-weight: 700;
}
 /* FAQ SECTION */
.ps-faq-section {
  background: #f6f7f8;
  padding: 90px 0;
}

.ps-faq-container {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
}

.ps-section-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 56px auto;
}

.ps-eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 15px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 700;
}

.ps-section-header h2 {
  margin: 0 0 18px 0;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08;
  color: #171717;
}

.ps-section-header p {
  margin: 0;
  font-size: 18px;
  line-height: 1.65;
  color: #666;
}

.ps-faq-category {
  margin-bottom: 44px;
}

.ps-faq-category h3 {
  margin: 0 0 18px 0;
  font-size: 24px;
  color: var(--green);
}

.ps-faq-category details {
  background: #ffffff;
  border: 1px solid #e7e7e7;
  border-radius: 18px;
  margin-bottom: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.04);
  overflow: hidden;
}

.ps-faq-category summary {
  cursor: pointer;
  padding: 22px 26px;
  font-size: 17px;
  font-weight: 700;
  color: #171717;
  list-style: none;
  position: relative;
}

.ps-faq-category summary::-webkit-details-marker {
  display: none;
}

.ps-faq-category summary::after {
  content: "+";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 400;
  color: #f28c28;
}

.ps-faq-category details[open] summary::after {
  content: "–";
}

.ps-faq-category details p {
  padding: 0 26px 22px 26px;
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: #555;
}

.ps-faq-category details p + p {
  padding-top: 0;
  margin-top: -8px;
}
    .ps-faq-category:nth-child(odd) {
  background: #f0fdf4; /* verde chiaro */
  border: 1px solid #bbf7d0;
  padding: 28px;
  border-radius: 20px;
}

.ps-faq-category:nth-child(even) {
  background: #fff7ed; /* arancione chiaro */
  border: 1px solid #fed7aa;
  padding: 28px;
  border-radius: 20px;
}

.ps-faq-cta {
  margin-top: 70px;
  padding: 44px;
  border-radius: 28px;
  background: #171717;
  color: #ffffff;
  text-align: center;
}

.ps-faq-cta h3 {
  margin: 0 0 14px 0;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.15;
}

.ps-faq-cta p {
  max-width: 720px;
  margin: 0 auto 28px auto;
  color: rgba(255,255,255,0.78);
  font-size: 17px;
  line-height: 1.65;
}

.ps-faq-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  background: var(--green);
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ps-faq-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(242,140,40,0.28);
}
    .ps-nav-links {
  display: flex;
  align-items: center;
  gap: 48px;
}

.ps-nav-link {
  color: #171717;
  text-decoration: none;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.ps-nav-link:hover {
  color: var(--green);
}

@media (max-width: 768px) {
  .ps-faq-section {
    padding: 70px 0;
  }

  .ps-faq-category summary {
    padding: 20px 54px 20px 20px;
    font-size: 16px;
  }

  .ps-faq-category details p {
    padding: 0 20px 20px 20px;
  }

  .ps-faq-cta {
    padding: 34px 22px;
  }
   }


    
@media (max-width: 768px) {
  .case-images,
  .case-grid,
  .case-benefits {
    grid-template-columns: 1fr;
  }
}

/* ===== FORM HERO PREMIUM STORAGE ===== */

@keyframes softPulseForm {

  0% {
    box-shadow:
      0 18px 45px rgba(0,0,0,0.10),
      0 0 0 rgba(242,140,40,0.00),
      0 0 0 rgba(242,140,40,0.00);

    transform: translateY(-6px);
  }

  50% {
    box-shadow:
      0 26px 60px rgba(0,0,0,0.16),
      0 0 42px rgba(242,140,40,0.32),
      0 0 90px rgba(242,140,40,0.12);

    transform: translateY(-10px);
  }

  100% {
    box-shadow:
      0 18px 45px rgba(0,0,0,0.10),
      0 0 0 rgba(242,140,40,0.00),
      0 0 0 rgba(242,140,40,0.00);

    transform: translateY(-6px);
  }
}

.simulator-card {

  position: relative;

  border: 3px solid #f28c28;

  border-radius: 30px;

  background: #fffaf2;

  transform: translateY(-6px);

  animation: softPulseForm 4s ease-in-out infinite;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

/* bordo luminoso interno */
.simulator-card::before {

  content: "";

  position: absolute;

  inset: 10px;

  border-radius: 24px;

  border: 2px solid rgba(242,140,40,0.22);

  pointer-events: none;
}

/* hover desktop */
.simulator-card:hover {

  transform: translateY(-12px);

  box-shadow:
    0 32px 70px rgba(0,0,0,0.18),
    0 0 60px rgba(242,140,40,0.35);
}

/* CTA dentro form */
.simulator-card .btn-calc {

  box-shadow:
    0 10px 24px rgba(31,157,85,0.28);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.simulator-card .btn-calc:hover {

  transform: translateY(-2px) scale(1.02);

  box-shadow:
    0 18px 34px rgba(31,157,85,0.38);
}
.mini-proof-line {

  display: flex;
  flex-wrap: nowrap;

  align-items: center;

  gap: 12px;

  margin-bottom: 12px;

  font-size: 12px;

  font-weight: 800;

  color: #166534;

  letter-spacing: -0.01em;

  white-space: nowrap;
}

.mini-proof-line span {

  position: relative;

  display: inline-flex;

  align-items: center;

  white-space: nowrap;
}

.mini-proof-line span::before {

  content: "•";

  color: #f28c28;

  margin-right: 8px;

  font-size: 18px;

  line-height: 1;
}
/* numeri e valori evidenziati */

.result-card p strong {

  font-weight: 800;

  color: #0f172a;
}
.metodo-title {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.metodo-logo {
  height: 52px;
  width: auto;
  display: inline-block;
}
.energy-price-card {
  margin-top: 28px;
  padding: 26px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid #d9f2df;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.energy-price-card h3 {
  margin: 0 0 8px;
  font-size: 24px;
  color: #111827;
}

.energy-price-card p {
  margin: 0 0 18px;
  color: #4b5563;
  line-height: 1.6;
  font-size: 15px;
}

.energy-chart {
  width: 100%;
  display: block;
}

.energy-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 16px;
  font-size: 14px;
  color: #374151;
}

.dot {
  display: inline-block;
  width: 11px;
  height: 11px;
  border-radius: 999px;
  margin-right: 6px;
}

.dot.green {
  background: #22c55e;
}

.dot.orange {
  background: #f28c28;
}
.chart-heading {
  margin-bottom: 10px;
}

.chart-title {
  font-size: 17px;
  font-weight: 700;
  color: #111827;
  line-height: 1.2;
}

.chart-subtitle {
  font-size: 12px;
  color: #6b7280;
  margin-top: 3px;
}
.results-section .container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.results-section .section-head {
  margin-top: 0;
}

.results-section .results-grid,
.results-section #leadBox {
  width: 100%;
}

/* ===== MOBILE CLEAN FIX ===== */

@media (max-width: 768px) {

  body {
    padding-top: 82px;
    overflow-x: hidden;
  }

  .ps-navbar {
    height: auto;
  }

  .ps-nav-container {
    width: calc(100% - 24px);
    margin: 0 auto;
    padding: 12px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .ps-logo img {
    height: 36px;
    width: auto;
    display: block;
  }

  .ps-nav-links {
    display: none !important;
  }

  .ps-nav-cta {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: var(--green);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .container,
  .about-hero-inner,
  .ps-faq-container {
    width: calc(100% - 24px);
  }

  .hero {
    padding: 28px 0 18px;
  }

  .grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  h1 {
    font-size: clamp(28px, 9vw, 38px);
    line-height: 1.08;
  }

  .lead {
    font-size: 16px;
  }

  .stats,
  .two-col,
  .results-grid,
  .info-grid,
  .case-grid,
  .case-benefits {
    grid-template-columns: 1fr;
  }

  .stat {
    padding: 14px;
  }

  .stat .value {
    font-size: 18px;
  }

  .card {
    padding: 18px;
    border-radius: 22px;
  }

  .card h2 {
    font-size: 24px;
  }

  .mini-proof-line {
    flex-wrap: wrap;
    gap: 8px 12px;
    font-size: 12px;
    white-space: normal;
  }

  input,
  select {
    font-size: 16px;
    padding: 14px 15px;
  }

  .radio-group {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .radio-pill {
    min-height: 46px;
    padding: 10px 8px;
    font-size: 13px;
    white-space: nowrap;
  }

  .result-card {
    padding: 22px 20px;
  }

  .result-card .big {
    font-size: 34px;
  }

  .case-study .case-images {
    grid-template-columns: 1fr !important;
  }

  .case-study .case-images img {
    height: auto;
  }

  .box-iper {
    padding: 28px 18px;
  }

  .title-iper {
    font-size: 28px;
  }

  .box-iper p {
    font-size: 17px;
  }

  .box-iper .highlight {
    font-size: 22px;
  }

  .box-iper .numeri {
    flex-direction: column;
    gap: 12px;
  }

  .contatto-rapido {
    padding: 22px 18px;
  }

  .ps-faq-section {
    padding: 60px 0;
  }

  .ps-section-header h2 {
    font-size: 30px;
  }

  .ps-section-header p {
    font-size: 16px;
  }

  .ps-faq-category {
    padding: 20px !important;
  }

  .ps-faq-category summary {
    font-size: 15px;
    padding: 18px 46px 18px 18px;
  }
}

@media (max-width: 480px) {

  body {
    padding-top: 78px;
  }

  .ps-nav-container {
    width: calc(100% - 20px);
    gap: 8px;
  }

  .ps-logo img {
    height: 32px;
  }

  .ps-nav-cta {
    height: 32px;
    padding: 0 10px;
    font-size: 10.5px;
  }

  .radio-group {
    grid-template-columns: 1fr;
  }

  .result-card .big {
    font-size: 30px;
  }
}

/* Footer del form: nota + bottone + stima preliminare */
.form-footer {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 22px;
}

/* Bottone "Calcola la convenienza" nel form */
#simulatorForm .btn-calc {
  align-self: stretch;     /* occupa tutta la larghezza del form-footer */
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  min-height: 0;
  padding: 16px 28px;

  border-radius: 16px;
  background: #1f9d55;
  color: #ffffff;

  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  border: 0;
  cursor: pointer;

  box-shadow: 0 10px 24px rgba(31,157,85,0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#simulatorForm .btn-calc:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 18px 34px rgba(31,157,85,0.38);
}

/* Su mobile resta a tutta larghezza */
@media (max-width: 768px) {
  #simulatorForm .btn-calc {
    padding: 16px 22px;
    font-size: 16px;
  }
/* Spinner per bottoni in invio */
.spinner-btn {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  border-top-color: #ffffff;
  animation: spin-btn 0.8s linear infinite;
  vertical-align: middle;
  margin-right: 8px;
}

@keyframes spin-btn {
  to { transform: rotate(360deg); }
}

.btn-lead.loading {
  opacity: 0.85;
  cursor: not-allowed;
  pointer-events: none;
}
#resultsGrid {
  display: none;
}
