/* =========================================================
   Pagina Prezzi GestLeader — allineata al mockup
   Usa variabili e componenti di home.css
   ========================================================= */

.page-prezzi .site-nav a.active {
  color: var(--blue);
  background: transparent;
  position: relative;
}
.page-prezzi .site-nav a.active::after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 2px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
}

.btn-sm {
  height: 38px;
  padding: 0 14px;
  font-size: 13px;
}
.btn-block {
  width: 100%;
}
.btn-outline-blue {
  background: #fff;
  color: var(--blue) !important;
  border-color: #B8D4F8;
  box-shadow: none;
}
.btn-outline-blue:hover {
  border-color: var(--blue);
  background: #F4F8FD;
  transform: translateY(-1px);
}
.btn-renew {
  background: var(--green);
  color: #fff !important;
  border-color: transparent;
  box-shadow: 0 6px 14px rgba(17, 182, 106, 0.22);
}
.btn-renew:hover {
  background: #0EA05C;
  transform: translateY(-1px);
}

.pz-h2-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #E8F2FE;
  color: var(--blue);
  font-size: 15px;
  margin-right: 8px;
  vertical-align: -6px;
}

/* ---------- HERO ---------- */
.pz-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #FFFFFF 0%, #EFF7FF 55%, #F7FAFE 100%);
  padding: 48px 0 36px;
}
.pz-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}
.pz-hero-copy h1 {
  margin: 14px 0 16px;
  font-size: clamp(34px, 4vw, 46px);
  line-height: 1.12;
  letter-spacing: -.4px;
  font-weight: 800;
  color: var(--navy);
}
.pz-hero-copy .lead {
  margin: 0 0 22px;
  font-size: 15.5px;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.65;
}
.pz-hero-visual {
  position: relative;
  padding-top: 8px;
}
.pz-hero-visual .monitor-frame {
  max-width: 560px;
}

/* Vantaggi sotto hero — 4 card orizzontali */
.pz-adv-wrap {
  margin-top: 28px;
  padding-bottom: 8px;
}
.pz-adv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.pz-adv-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid #E6EEF7;
  border-radius: 12px;
  padding: 12px 14px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.pz-adv-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}
.pz-adv-ico {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 14px;
}
.pz-adv-ico.green { background: #E8F8F0; color: var(--green); }
.pz-adv-ico.blue { background: #E8F2FE; color: var(--blue); }
.pz-adv-ico.purple { background: #F1EBFE; color: var(--purple); }
.pz-adv-ico.orange { background: #FFF4E5; color: var(--orange); }
.pz-adv-card strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
}
.pz-adv-card span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

/* ---------- PIANI ---------- */
.pz-plans {
  padding-top: 28px;
  padding-bottom: 20px;
}
.pz-plans-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}
.pz-plans-head h2 {
  margin: 0 0 8px;
  font-size: clamp(26px, 3vw, 30px);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -.3px;
}
.pz-plans-head > div > p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  max-width: 520px;
}
.pz-renew-callout {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: var(--shadow);
  flex-shrink: 0;
  max-width: 420px;
}
.pz-renew-callout-ico {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #E8F2FE;
  color: var(--blue);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.pz-renew-callout strong {
  display: block;
  font-size: 13.5px;
  color: var(--navy);
  font-weight: 700;
}
.pz-renew-callout span {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
}

.pz-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}
.pz-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border: 1px solid #DDE7F3;
  border-radius: 16px;
  padding: 26px 24px 24px;
  box-shadow: 0 4px 18px rgba(16, 35, 74, 0.045);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.pz-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(16, 35, 74, 0.08);
}
.pz-card.is-featured {
  border: 2px solid var(--blue);
  box-shadow: 0 8px 28px rgba(8, 120, 249, 0.14);
  padding-top: 32px;
}
.pz-card-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  padding: 6px 14px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 6px 14px rgba(8, 120, 249, 0.28);
}
.pz-card-ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 18px;
  margin-bottom: 14px;
}
.pz-card-ico.sm {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  font-size: 14px;
  margin-bottom: 0;
}
.pz-card-ico.blue { background: #E8F2FE; color: var(--blue); }
.pz-card-ico.purple { background: #F1EBFE; color: var(--purple); }
.pz-card-ico.green { background: #E8F8F0; color: var(--green); }

.pz-card h3 {
  margin: 0 0 6px;
  font-size: 19px;
  font-weight: 800;
  color: var(--navy);
}
.pz-card-tag {
  margin: 0 0 16px;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.4;
}
.pz-price {
  margin-bottom: 18px;
}
.pz-price.compact { margin-bottom: 14px; }
.pz-price-val {
  display: block;
  font-size: 36px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -.5px;
  line-height: 1.1;
}
.pz-price-note {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}
.pz-features {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  flex: 1;
}
.pz-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text);
  padding: 6px 0;
  line-height: 1.4;
}
.pz-features i {
  color: var(--green);
  margin-top: 2px;
  flex-shrink: 0;
}
.pz-card-cta {
  margin-top: auto;
}

/* ---------- RINNOVO ---------- */
.pz-renew {
  padding-top: 12px;
  padding-bottom: 40px;
}
.pz-renew-panel {
  display: grid;
  grid-template-columns: 0.95fr 1.35fr;
  gap: 28px;
  align-items: center;
  background: #F0FCF6;
  border: 1px solid #D4F0E3;
  border-radius: 20px;
  padding: 28px 28px;
}
.pz-renew-intro {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.pz-renew-big-ico {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #D8F5E7;
  color: var(--green);
  display: grid;
  place-items: center;
  font-size: 22px;
  flex-shrink: 0;
}
.pz-renew-intro h2 {
  margin: 0 0 8px;
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -.2px;
}
.pz-renew-intro p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}
.pz-renew-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.pz-renew-card {
  background: #fff;
  border: 1px solid #DDE7F3;
  border-radius: 14px;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.pz-renew-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}
.pz-renew-card-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.pz-renew-card h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
}
.pz-renew-card .pz-price-val {
  font-size: 28px;
}
.pz-renew-card .btn-renew {
  margin-top: auto;
}

/* ---------- CONFRONTO ---------- */
.pz-compare {
  padding-top: 20px;
  padding-bottom: 40px;
}
.pz-compare .section-head h2 {
  margin: 0 0 8px;
  font-size: clamp(26px, 3vw, 30px);
  font-weight: 800;
  color: var(--navy);
}
.pz-compare .section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
}
.pz-compare-wrap {
  margin-top: 22px;
  background: #fff;
  border: 1px solid #DDE7F3;
  border-radius: 18px;
  box-shadow: 0 4px 20px rgba(16, 35, 74, 0.04);
  overflow: hidden;
}
.pz-compare-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.pz-compare-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 14px;
}
.pz-compare-table th,
.pz-compare-table td {
  padding: 16px 18px;
  text-align: center;
  border-bottom: 1px solid #EEF3F9;
  vertical-align: middle;
}
.pz-compare-table th:first-child,
.pz-compare-table td:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--navy);
  width: 28%;
}
.pz-compare-table thead th {
  background: #F7FAFE;
  border-bottom: 1px solid #E3ECF6;
}
.pz-th-feat {
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: .06em;
  color: var(--muted) !important;
}
.pz-th-plan {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.pz-th-plan strong {
  font-size: 15px;
  color: var(--navy);
  font-weight: 800;
}
.pz-th-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
}
.pz-th-plan em {
  font-style: normal;
  font-size: 12px;
  color: var(--muted);
}
.pz-compare-table tbody tr:nth-child(even) {
  background: #FAFCFF;
}
.pz-compare-table tbody tr:hover {
  background: #F4F8FD;
}
.pz-compare-table tbody td:not(:first-child) {
  color: var(--muted);
  font-weight: 500;
}
.pz-yes,
.pz-no {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: #fff;
  font-size: 12px;
}
.pz-yes { background: var(--green); }
.pz-no { background: var(--red); }

/* ---------- FAQ ---------- */
.pz-faq {
  padding-top: 40px;
  padding-bottom: 48px;
}
.pz-faq-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}
.pz-faq-head h2 {
  margin: 0 0 8px;
  font-size: clamp(26px, 3vw, 30px);
  font-weight: 800;
  color: var(--navy);
}
.pz-faq-head p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
}
.pz-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.pz-faq-item {
  background: #fff;
  border: 1px solid #E3ECF6;
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.pz-faq-item.is-open {
  border-color: #C5DBF5;
  box-shadow: 0 4px 14px rgba(8, 120, 249, 0.06);
}
.pz-faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--navy);
  font-family: inherit;
}
.pz-faq-q i {
  color: var(--muted);
  font-size: 12px;
  transition: transform 0.22s ease;
  flex-shrink: 0;
}
.pz-faq-item.is-open .pz-faq-q i {
  transform: rotate(180deg);
  color: var(--blue);
}
.pz-faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.28s ease;
}
.pz-faq-a > p {
  overflow: hidden;
  margin: 0;
  padding: 0 18px;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
  opacity: 0;
  transition: opacity 0.22s ease, padding 0.22s ease;
}
.pz-faq-item.is-open .pz-faq-a {
  grid-template-rows: 1fr;
}
.pz-faq-item.is-open .pz-faq-a > p {
  opacity: 1;
  padding: 0 18px 16px;
}

/* ---------- CTA FINALE ---------- */
.pz-cta-final {
  padding: 12px 0 56px;
}
.pz-cta-card {
  display: flex;
  align-items: center;
  gap: 24px;
  background:
    radial-gradient(circle at 8% 50%, rgba(8,120,249,.22), transparent 42%),
    linear-gradient(135deg, #071B4A 0%, #0A2F78 50%, #0878F9 140%);
  border-radius: 20px;
  padding: 32px 36px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.pz-cta-ico {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(255,255,255,.12);
  display: grid;
  place-items: center;
  font-size: 22px;
  flex-shrink: 0;
}
.pz-cta-copy {
  flex: 1;
  min-width: 0;
}
.pz-cta-copy h2 {
  margin: 0 0 8px;
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 800;
  letter-spacing: -.2px;
  line-height: 1.2;
}
.pz-cta-copy p {
  margin: 0;
  font-size: 14px;
  color: rgba(255,255,255,.78);
  max-width: 480px;
  line-height: 1.5;
}
.pz-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex-shrink: 0;
}
.pz-cta-actions .btn-white {
  color: var(--blue) !important;
  font-weight: 700;
}
.pz-cta-actions .btn-outline-light {
  text-transform: uppercase;
  font-size: 12.5px;
  letter-spacing: .04em;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
  .pz-hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .pz-hero-visual .monitor-frame {
    margin: 0 auto;
  }
  .pz-adv-grid {
    grid-template-columns: 1fr 1fr;
  }
  .pz-renew-panel {
    grid-template-columns: 1fr;
  }
  .pz-plans-head {
    flex-direction: column;
  }
  .pz-renew-callout {
    max-width: none;
    width: 100%;
  }
}

@media (max-width: 900px) {
  .pz-cards {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
  .pz-renew-cards {
    grid-template-columns: 1fr;
  }
  .pz-faq-grid {
    grid-template-columns: 1fr;
  }
  .pz-cta-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 24px;
  }
}

@media (max-width: 640px) {
  .pz-hero {
    padding: 32px 0 24px;
  }
  .pz-adv-grid {
    grid-template-columns: 1fr;
  }
  .pz-adv-wrap {
    margin-top: 20px;
  }
  .pz-cards {
    grid-template-columns: 1fr;
  }
  .pz-price-val {
    font-size: 32px;
  }
  .pz-renew-callout {
    flex-wrap: wrap;
  }
  .pz-renew-intro {
    flex-direction: column;
  }
  .pz-faq-head {
    flex-direction: column;
  }
  .pz-cta-actions {
    width: 100%;
  }
  .pz-cta-actions .btn {
    flex: 1;
    min-width: 140px;
  }
}
