/* ============================================================
   NEWSLETTER
   ============================================================ */

.nl-wrap { width: min(1000px, 92vw); margin: 0 auto; }

/* Voce "Newsletter" evidenziata nella navbar (la stessa regola va anche in style.css) */
.nav-links.nav-links-minimal a.cta-link { display: inline-flex; }

/* HERO */
.nl-hero { padding: 110px 0 34px; text-align: center; }
@media (max-width: 900px) { .nl-hero { padding: 92px 0 26px; } }
.nl-hero h1 {
  font-size: clamp(2.3rem, 6vw, 3.9rem);
  line-height: 1.05;
  margin: 14px 0 18px;
}
.nl-hero h1 em {
  font-style: italic;
  font-weight: 300;
  color: var(--deep-crimson);
}
.nl-hero .lead {
  max-width: 62ch;
  margin: 0 auto;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
}

/* GRIGLIA */
.nl-main { padding: 20px 0 80px; }
.nl-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: start;
}
@media (max-width: 860px) {
  .nl-grid { grid-template-columns: 1fr; gap: 30px; }
  .nl-card { order: -1; } /* su mobile il form viene prima */
}

/* COLONNA INFO */
.nl-info-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--deep-crimson);
  margin-bottom: 18px;
}
.nl-benefits { display: flex; flex-direction: column; margin-bottom: 26px; }
.nl-benefit {
  display: flex;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--hairline);
}
.nl-benefit:first-child { border-top: 1px solid var(--hairline); }
.nl-benefit-num {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--firebrick-red);
  flex-shrink: 0;
  padding-top: 3px;
}
.nl-benefit h3 { font-size: 1.05rem; margin-bottom: 4px; line-height: 1.25; }
.nl-benefit p { font-size: 14px; color: var(--ink-soft); font-weight: 300; line-height: 1.55; }

.nl-transparency {
  background: rgba(0, 52, 89, 0.04);
  border-left: 3px solid var(--deep-crimson);
  border-radius: 4px;
  padding: 18px 20px;
}
.nl-transparency h3 { font-size: 0.95rem; margin-bottom: 8px; }
.nl-transparency p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.6; font-weight: 300; max-width: none; }

/* CARD FORM */
.nl-card {
  background: white;
  border: 1px solid var(--hairline-strong);
  border-radius: 14px;
  padding: 32px;
  box-shadow: 0 30px 60px -36px rgba(0, 52, 89, 0.35);
}
@media (max-width: 600px) { .nl-card { padding: 24px 18px; } }
.nl-card h2 { font-size: 1.5rem; margin-bottom: 6px; }
.nl-card-sub { font-size: 14px; color: var(--ink-muted); margin-bottom: 22px; font-weight: 300; }

.nl-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 480px) { .nl-row { grid-template-columns: 1fr; gap: 0; } }

.nl-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.nl-field label { font-size: 12px; font-weight: 500; color: var(--ink-soft); letter-spacing: 0.02em; }
.nl-optional { font-weight: 300; opacity: 0.75; }
.nl-field input {
  height: 48px;
  padding: 0 14px;
  background: white;
  border: 1px solid var(--hairline-strong);
  border-radius: 8px;
  font-size: 16px; /* 16px evita lo zoom automatico su iPhone */
  color: var(--deep-space-blue);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}
.nl-field input:focus {
  border-color: var(--deep-space-blue);
  box-shadow: 0 0 0 3px rgba(0, 52, 89, 0.12);
}

/* Anti-bot: fuori schermo, non display:none (alcuni bot lo ignorano) */
.nl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Spunta privacy */
.nl-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 6px 0 16px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-soft);
  cursor: pointer;
}
.nl-check input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--deep-crimson);
  cursor: pointer;
}
.nl-check a { color: var(--deep-crimson); text-decoration: underline; }

.nl-error {
  background: rgba(223, 41, 53, 0.08);
  border: 1px solid rgba(223, 41, 53, 0.3);
  color: var(--deep-crimson);
  font-size: 13px;
  padding: 10px 14px;
  border-radius: 8px;
  margin-bottom: 14px;
  max-width: none;
}

.nl-submit { width: 100%; justify-content: center; height: 52px; }
.nl-submit:disabled { opacity: 0.65; cursor: wait; transform: none; box-shadow: none; }

.nl-fine { font-size: 11.5px; color: var(--ink-muted); line-height: 1.5; margin-top: 14px; font-weight: 300; max-width: none; }

/* SUCCESSO */
.nl-success { text-align: center; padding: 20px 6px; }
.nl-success-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: rgba(0, 52, 89, 0.08);
  color: var(--deep-space-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 700;
}
.nl-success h2 { font-size: 1.5rem; margin-bottom: 8px; }
.nl-success p { color: var(--ink-soft); margin: 0 auto 22px; font-size: 15px; }
