/* ── INSYN THEME — main.css ─────────────────────────── */

:root {
  --dark:   #0C2318;
  --forest: #163D28;
  --green:  #2A7A50;
  --lime:   #4AE080;
  --pale:   #A8D4B8;
  --paper:  #F4F9F5;
  --lgray:  #E8F2EC;
  --gray:   #4A5568;
  --white:  #FFFFFF;
  --muted:  #7AAF90;
  --serif:  'Palatino Linotype', Palatino, Georgia, serif;
  --mono:   'Courier New', Courier, monospace;
  --sans:   Calibri, 'Gill Sans', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--dark); font-family: var(--sans); color: var(--gray); }
a { text-decoration: none; }
img { max-width: 100%; }

@keyframes pulse { 0%,100%{opacity:0.4} 50%{opacity:1} }
::placeholder { color: var(--muted); opacity: 0.7; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--green); border-radius: 3px; }

/* ── CONTAINER ─────────────────────────────────────── */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
}
.container--center { text-align: center; }

/* ── REVEAL ANIMATION ──────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── SECTION LABEL ─────────────────────────────────── */
.section-label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--green);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.section-label--light { color: var(--lime); }
.label-line {
  display: inline-block;
  width: 40px;
  height: 2px;
  background: var(--lime);
  flex-shrink: 0;
}

/* ── BUTTONS ───────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  background: var(--lime);
  padding: 15px 36px;
  border-radius: 2px;
  letter-spacing: 0.06em;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover {
  background: #6AEEA0;
  transform: translateY(-2px);
}
.btn-ghost {
  display: inline-block;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--pale);
  border: 1px solid var(--forest);
  padding: 15px 36px;
  border-radius: 2px;
  transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover { border-color: var(--lime); color: var(--white); }

/* ── NAV ───────────────────────────────────────────── */
#insyn-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.4s ease, border-bottom 0.4s ease;
}
#insyn-nav.scrolled {
  background: rgba(12,35,24,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--forest);
}
.nav-lime-bar { height: 4px; background: var(--lime); }
.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-wordmark { display: flex; flex-direction: column; }
.nav-name {
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: 0.18em;
  color: var(--white);
  line-height: 1;
}
.nav-name .lime { color: var(--lime); }
.nav-sub {
  font-family: var(--mono);
  font-size: 8px;
  color: var(--muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 2px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--pale);
  letter-spacing: 0.04em;
  opacity: 0.85;
  transition: opacity 0.2s, color 0.2s;
}
.nav-links a:hover { opacity: 1; color: var(--white); }
.nav-cta {
  font-family: var(--mono) !important;
  font-size: 13px !important;
  font-weight: 700;
  color: var(--dark) !important;
  background: var(--lime);
  padding: 10px 24px;
  border-radius: 2px;
  letter-spacing: 0.06em !important;
  opacity: 1 !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: #6AEEA0; color: var(--dark) !important; }

/* ── HERO ──────────────────────────────────────────── */
#hero {
  background: var(--dark);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 120px 32px 100px;
}
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(#163D2822 1px, transparent 1px),
    linear-gradient(90deg, #163D2822 1px, transparent 1px);
  background-size: 64px 64px;
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero-glow-1 {
  top: 15%; right: 5%;
  width: 480px; height: 480px;
  background: radial-gradient(circle, #2A7A501A 0%, transparent 70%);
}
.hero-glow-2 {
  bottom: 10%; left: 10%;
  width: 300px; height: 300px;
  background: radial-gradient(circle, #4AE0800D 0%, transparent 70%);
}
.hero-tag {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 44px;
}
.tag-line {
  display: inline-block;
  width: 36px; height: 1px;
  background: var(--lime);
}
.tag-text {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--lime);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.hero-h1 {
  font-family: var(--serif);
  font-size: clamp(52px, 7.5vw, 100px);
  line-height: 1.04;
  color: var(--white);
  font-weight: 400;
}
.hero-h1 em { color: var(--lime); font-style: italic; }
.hero-h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 56px);
  line-height: 1.1;
  color: var(--pale);
  font-weight: 400;
  margin-top: 12px;
}
.hero-body {
  font-size: 18px;
  color: var(--muted);
  max-width: 580px;
  line-height: 1.75;
  margin-top: 36px;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  margin-top: 52px;
  flex-wrap: wrap;
}
.hero-scroll {
  margin-top: 80px;
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0.4;
}
.scroll-line {
  width: 1px; height: 52px;
  background: linear-gradient(to bottom, var(--lime), transparent);
  animation: pulse 2s ease infinite;
}
.hero-scroll span {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.2em;
}

/* ── PROBLEMA ──────────────────────────────────────── */
#il-problema {
  background: var(--paper);
  padding: 120px 32px;
}
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
  margin-top: 8px;
}
.col-text h2 {
  font-family: var(--serif);
  font-size: clamp(30px, 3.5vw, 46px);
  color: var(--dark);
  line-height: 1.15;
  font-weight: 400;
}
.subtitle-italic {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--green);
  font-style: italic;
  margin-top: 14px;
  line-height: 1.5;
}
.body-text {
  font-size: 17px;
  color: var(--gray);
  line-height: 1.78;
  margin-top: 20px;
}
.quote-block {
  margin-top: 36px;
  border-left: 4px solid var(--lime);
  padding: 4px 0 4px 24px;
}
.quote-block p {
  font-family: var(--serif);
  font-size: 19px;
  color: var(--green);
  font-style: italic;
  line-height: 1.6;
}
.col-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card {
  background: var(--white);
  border: 1px solid var(--lgray);
  border-left: 4px solid #D4E8DC;
  padding: 26px 28px;
  border-radius: 2px;
  transition: border-color 0.2s, box-shadow 0.2s, border-left-color 0.2s;
}
.card:hover {
  border-color: var(--green);
  border-left-color: var(--lime);
  box-shadow: 0 6px 28px #2A7A5018;
}
.card-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.card p { font-size: 15px; color: var(--gray); line-height: 1.7; }

/* Variante scura: DEVE stare dopo le regole base della card.
   .card--dark p e .card p hanno la stessa specificita' (una classe +
   un elemento): a parita' vince l'ultima dichiarata. */
.card--dark {
  background: var(--dark);
  border-color: var(--green);
  border-left-color: var(--lime);
}
.card--dark p { color: var(--white); }
.card--dark .card-title { color: var(--lime); }
.card--dark:hover { box-shadow: 0 6px 28px #4AE08020; }

/* ── APPROCCIO ─────────────────────────────────────── */
#approccio {
  background: var(--dark);
  padding: 120px 32px;
  position: relative;
  overflow: hidden;
}
.dot-pattern {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: radial-gradient(#163D2860 1px, transparent 1px);
  background-size: 36px 36px;
}
#approccio h2 {
  font-family: var(--serif);
  font-size: clamp(30px, 3.5vw, 46px);
  color: var(--white);
  line-height: 1.15;
  font-weight: 400;
}
#approccio h2 em { color: var(--lime); }
.steps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}
.step {
  background: var(--forest);
  border-top: 1px solid #2A7A5040;
  padding: 44px 40px;
  transition: background 0.25s;
}
.step:hover { background: #1E4D32; }
.step--right { border-left: 1px solid #2A7A5040; }
.step-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--lime);
  letter-spacing: 0.2em;
  margin-bottom: 18px;
}
.step h3 {
  font-family: var(--serif);
  font-size: 25px;
  color: var(--white);
  font-weight: 400;
  margin-bottom: 16px;
}
.step p { font-size: 16px; color: var(--pale); line-height: 1.72; }

/* ── CHI SIAMO ─────────────────────────────────────── */
#chi-siamo {
  background: var(--lgray);
  padding: 120px 32px;
}
#chi-siamo .col-text h2 {
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 54px);
  color: var(--dark);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 8px;
}
.col-stats {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.stat-row {
  background: var(--white);
  border: 1px solid #DDE8E2;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  gap: 28px;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.stat-row:hover {
  box-shadow: 0 4px 20px #2A7A5014;
  border-color: var(--pale);
}
.stat-val {
  font-family: var(--serif);
  font-size: 34px;
  color: var(--lime);
  min-width: 88px;
  line-height: 1;
}
.stat-label {
  font-size: 14px;
  color: var(--dark);
  font-weight: 700;
  margin-bottom: 4px;
}
.stat-sub { font-size: 14px; color: var(--gray); }

/* ── CTA ───────────────────────────────────────────── */
#contatti {
  background: var(--forest);
  padding: 120px 32px;
  position: relative;
  overflow: hidden;
}
.cta-lime-bar {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--lime);
}
.cta-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, #2A7A5018 0%, transparent 65%);
}
.cta-tag {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--lime);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.cta-h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 5vw, 58px);
  color: var(--white);
  font-style: italic;
  line-height: 1.12;
  margin-bottom: 12px;
  font-weight: 400;
}
.cta-h3 {
  font-family: var(--serif);
  font-size: clamp(20px, 3vw, 34px);
  color: var(--pale);
  font-weight: 400;
  margin-bottom: 36px;
}
.cta-body {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 48px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}
.cta-form { max-width: 560px; margin: 0 auto; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 8px;
}
.form-input {
  width: 100%;
  font-family: var(--sans);
  font-size: 16px;
  background: rgba(255,255,255,0.07);
  border: 1px solid var(--green);
  color: var(--white);
  padding: 14px 18px;
  outline: none;
  border-radius: 2px;
  transition: border-color 0.2s;
}
.form-input:focus { border-color: var(--lime); }
.form-textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 16px;
  background: rgba(255,255,255,0.07);
  border: 1px solid var(--green);
  color: var(--white);
  padding: 14px 18px;
  outline: none;
  border-radius: 2px;
  resize: vertical;
  margin-bottom: 16px;
  transition: border-color 0.2s;
}
.form-textarea:focus { border-color: var(--lime); }
.form-footer {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}
.form-consent input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--lime);
  flex-shrink: 0;
}
.form-consent span {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
  text-align: left;
}
.cta-confirm {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--lime);
  font-style: italic;
  padding: 28px 36px;
  border: 1px solid var(--green);
  border-radius: 2px;
  max-width: 500px;
  margin: 0 auto;
}
.cta-error {
  font-size: 16px;
  color: #ff6b6b;
  padding: 16px;
  border: 1px solid #ff6b6b;
  border-radius: 2px;
  max-width: 500px;
  margin: 0 auto;
}
.cta-url {
  font-family: var(--mono);
  font-size: 15px;
  color: var(--lime);
  margin-top: 48px;
  letter-spacing: 0.08em;
}

/* ── FOOTER ────────────────────────────────────────── */
#insyn-footer {
  background: var(--dark);
  border-top: 1px solid var(--forest);
  padding: 32px;
}
.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-name {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--muted);
  letter-spacing: 0.14em;
}
.footer-sep { color: var(--forest); margin: 0 6px; }
.footer-sub { font-size: 13px; color: var(--gray); }
.footer-copy { font-size: 13px; color: var(--gray); }

/* ── RESPONSIVE ────────────────────────────────────── */
@media (max-width: 768px) {
  .two-col,
  .steps-grid { grid-template-columns: 1fr; gap: 40px; }
  .step--right { border-left: none; }
  .form-row { grid-template-columns: 1fr; }
  .nav-links a:not(.nav-cta) { display: none; }
  .hero-h1 { font-size: clamp(40px, 11vw, 64px); }
}

/* ═══════════════════════════════════════════════════════
   INSYN v1.1 — DEMO DASHBOARD + WHITE PAPER
   ═══════════════════════════════════════════════════════ */

/* ── Honeypot: fuori dallo schermo, mai display:none
      (alcuni bot ignorano i campi nascosti così) ─────── */
.insyn-hp {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* ── SEZIONE DEMO ─────────────────────────────────────── */
#dashboard {
  background: var(--paper);
  padding: 120px 0;
  position: relative;
}
#dashboard h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 400;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 12px;
}
#dashboard .dash-lead { max-width: 640px; margin-bottom: 16px; }
#dashboard .dash-invito { margin-bottom: 52px; }
#dashboard .dash-invito strong { color: var(--dark); font-weight: 600; }

.dash-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.dash-card {
  background: var(--white);
  border: 1px solid var(--lgray);
  border-radius: 10px;
  padding: 28px 26px 24px;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.dash-card:hover {
  border-color: var(--lime);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(12, 35, 24, 0.08);
}
.dash-card-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
}
.dash-card h3 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--dark);
  margin-bottom: 10px;
  min-height: 2.6em;   /* titoli su 1 o 2 righe: i testi restano allineati */
}
.dash-card p {
  font-family: var(--sans);
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--gray);
  margin-bottom: 22px;
}
.dash-open {
  margin-top: auto;
  align-self: flex-start;
  font-family: var(--serif);
  font-size: 15px;
  cursor: pointer;
  background: none;
  border: 1px solid var(--green);
  color: var(--green);
  border-radius: 26px;
  padding: 10px 22px;
  transition: background .2s, color .2s, border-color .2s;
}
.dash-open:hover, .dash-open:focus-visible {
  background: var(--green); color: var(--white); outline: none;
}
.dash-open:focus-visible { box-shadow: 0 0 0 3px rgba(74, 224, 128, .35); }

.dash-nota {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--muted);
  text-align: center;
  margin-top: 40px;
}

/* ── MODAL DEMO ───────────────────────────────────────── */
.dash-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(6, 16, 11, .94);
  display: flex;
  flex-direction: column;
}
.dash-modal[hidden] { display: none; }

.dash-modal-bar {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--dark);
  border-bottom: 1px solid rgba(74, 224, 128, .25);
  padding: 12px 20px;
}
.dash-modal-brand {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 4px;
  color: var(--lime);
}
.dash-modal-sep { width: 1px; height: 18px; background: rgba(74, 224, 128, .3); }
.dash-modal-label { font-family: var(--serif); font-size: 14px; color: var(--white); }

.dash-modal-close {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 1px;
  background: none;
  border: 1px solid rgba(74, 224, 128, .4);
  color: var(--white);
  border-radius: 6px;
  padding: 7px 15px;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.dash-modal-close:hover, .dash-modal-close:focus-visible {
  background: var(--lime); color: var(--dark); outline: none;
}

.dash-modal-frame { flex: 1 1 auto; position: relative; }
.dash-modal-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border: 0;
  background: var(--dark);
}
.dash-modal-loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--lime);
}

/* Il ponte fra la vetrina e il form */
.dash-modal-foot {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  background: var(--forest);
  border-top: 1px solid rgba(74, 224, 128, .25);
  padding: 14px 20px;
}
.dash-modal-foot span {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--pale);
}
.dash-modal-cta {
  font-family: var(--serif);
  font-size: 14px;
  background: var(--lime);
  color: var(--dark);
  border: none;
  border-radius: 26px;
  padding: 10px 22px;
  cursor: pointer;
  transition: opacity .2s;
}
.dash-modal-cta:hover, .dash-modal-cta:focus-visible { opacity: .85; outline: none; }

/* ── SEZIONE WHITE PAPER ──────────────────────────────── */
#white-paper {
  background: var(--dark);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}
.wp-glow {
  position: absolute;
  top: -120px; right: -120px;
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(74, 224, 128, .10) 0%, transparent 70%);
  pointer-events: none;
}
.wp-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.wp-h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 400;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 22px;
}
.wp-h2 em { color: var(--lime); font-style: italic; }

.wp-body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--pale);
  margin-bottom: 28px;
}
.wp-toc { list-style: none; margin-bottom: 28px; }
.wp-toc li {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--white);
  padding: 11px 0 11px 24px;
  border-bottom: 1px solid rgba(74, 224, 128, .12);
  position: relative;
}
.wp-toc li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--lime);
}
.wp-nota {
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
}

/* ── FORM WHITE PAPER ─────────────────────────────────── */
.wp-form-box {
  background: var(--forest);
  border: 1px solid rgba(74, 224, 128, .2);
  border-radius: 12px;
  padding: 36px 32px;
}
.wp-form-title {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 6px;
}
.wp-form-sub {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 26px;
}
.wp-form { display: flex; flex-direction: column; gap: 12px; }
.wp-form .form-row { display: flex; gap: 12px; }
.wp-form .form-input,
.wp-form .form-textarea {
  width: 100%;
  background: var(--dark);
  border: 1px solid rgba(74, 224, 128, .2);
  border-radius: 8px;
  color: var(--white);
  font-family: var(--sans);
  font-size: 15px;
  padding: 12px 14px;
  outline: none;
  transition: border-color .2s;
}
.wp-form .form-input:focus,
.wp-form .form-textarea:focus { border-color: var(--lime); }
.wp-form select.form-input { appearance: none; cursor: pointer; }
.wp-form select.form-input option { background: var(--dark); color: var(--white); }
.wp-form .form-textarea { resize: vertical; }

.wp-consensi {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 10px 0 6px;
}
.wp-consensi .form-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-family: var(--sans);
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--muted);
  cursor: pointer;
}
.wp-consensi .form-consent input { margin-top: 3px; flex-shrink: 0; accent-color: var(--lime); }
.wp-consensi .form-consent a { color: var(--lime); text-decoration: underline; }

.wp-submit { align-self: flex-start; margin-top: 8px; cursor: pointer; }

.wp-error {
  background: rgba(224, 74, 74, .12);
  border: 1px solid rgba(224, 74, 74, .4);
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 20px;
  font-family: var(--sans);
  font-size: 14px;
  color: #FFB4B4;
}

.wp-confirm { text-align: center; padding: 20px 0; }
.wp-confirm-icon {
  width: 52px; height: 52px;
  margin: 0 auto 20px;
  border-radius: 50%;
  border: 2px solid var(--lime);
  color: var(--lime);
  font-size: 24px;
  display: flex; align-items: center; justify-content: center;
}
.wp-confirm h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 12px;
}
.wp-confirm p {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.7;
  color: var(--pale);
}

/* ── RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 1000px) {
  .dash-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .wp-cols { grid-template-columns: 1fr; gap: 44px; }
}
@media (max-width: 720px) {
  #dashboard, #white-paper { padding: 80px 0; }
  .dash-grid { grid-template-columns: 1fr; }
  .dash-card h3 { min-height: 0; }
  .wp-form .form-row { flex-direction: column; }
  .dash-modal-foot { flex-direction: column; gap: 12px; text-align: center; }
  .dash-modal-foot span { font-size: 14px; }
  .wp-form-box { padding: 28px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .dash-card, .dash-open, .dash-modal-cta { transition: none !important; }
  .dash-card:hover { transform: none; }
}

/* ── RICHIESTA DI RICHIAMO ────────────────────────────── */
.wp-richiamo {
  border: 1px solid rgba(74, 224, 128, .22);
  border-radius: 8px;
  padding: 14px 16px;
  margin-top: 6px;
  background: rgba(74, 224, 128, .04);
}
.wp-richiamo .form-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-family: var(--sans);
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--pale);
  cursor: pointer;
  margin: 0;
}
.wp-richiamo .form-consent input {
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--lime);
}
.wp-richiamo .form-consent em {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  font-style: normal;
  color: var(--lime);
  margin-top: 3px;
}

/* Rivelazione del campo: senza JS resta visibile, quindi il form funziona */
.wp-tel-box {
  margin-top: 12px;
  max-height: 80px;
  opacity: 1;
  overflow: hidden;
  transition: max-height .25s ease, opacity .2s ease, margin-top .25s ease;
}
.wp-tel-box.is-nascosto {
  max-height: 0;
  opacity: 0;
  margin-top: 0;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .wp-tel-box { transition: none; }
}
