/* ============================================================
   BE-GO LANDING PAGE — STYLESHEET
   Design: B2B professionale, pulito, orientato alla fiducia
   Palette: Navy profondo + Verde menta + Arancio caldo
   Font: DM Serif Display (headlines) + DM Sans (body)
============================================================ */

/* RESET & BASE */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* COLORI PRINCIPALI */
  --navy:        #053339;
  --navy-mid:    #0a4a52;
  --navy-light:  #0f5f69;
  --green:       #60b269;
  --green-dark:  #18544a;
  --green-light: #eaf4eb;
  --orange:      #F47C3C;
  --orange-light:#FFF3EC;
  --blue:        #1a5fa8;
  --blue-dark:   #0e4080;
  --blue-light:  #e8f0fb;

  /* NEUTRI */
  --white:       #FFFFFF;
  --off-white:   #f5f9f5;
  --gray-100:    #EFF2F7;
  --gray-200:    #DDE3EE;
  --gray-400:    #9AAABF;
  --gray-600:    #5C6B80;
  --gray-800:    #2E3D52;
  --text:        #1A2032;
  --text-muted:  #5C6B80;

  /* SIZING */
  --container:   1180px;
  --radius:      12px;
  --radius-lg:   20px;
  --radius-sm:   8px;

  /* SHADOW */
  --shadow-sm:   0 1px 3px rgba(13,27,42,.06), 0 1px 2px rgba(13,27,42,.04);
  --shadow-md:   0 4px 16px rgba(13,27,42,.10), 0 1px 4px rgba(13,27,42,.06);
  --shadow-lg:   0 16px 48px rgba(13,27,42,.14), 0 4px 12px rgba(13,27,42,.06);
  --shadow-card: 0 2px 12px rgba(13,27,42,.08);

  /* TRANSITIONS */
  --transition:  0.22s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'DM Serif Display', Georgia, serif;
  line-height: 1.2;
  color: var(--navy);
}

a {
  color: var(--green-dark);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--green); }

img { max-width: 100%; display: block; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.hide-mobile { display: none; }
@media (min-width: 768px) { .hide-mobile { display: initial; } }

/* ============================================================
   TYPOGRAPHY
============================================================ */
.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-dark);
  background: var(--green-light);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 16px;
}

.section-intro {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  padding: 12px 24px;
  white-space: nowrap;
}

.btn-primary {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
  box-shadow: 0 2px 12px rgba(29,184,126,.25);
}
.btn-primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(29,184,126,.35);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.4);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.7);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--gray-200);
}
.btn-outline:hover {
  border-color: var(--green);
  color: var(--green-dark);
  background: var(--green-light);
}

.btn-white {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
  font-weight: 700;
}
.btn-white:hover {
  background: var(--off-white);
  color: var(--navy);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-lg {
  padding: 15px 32px;
  font-size: 1rem;
  border-radius: var(--radius);
}
.btn-sm {
  padding: 9px 18px;
  font-size: 0.875rem;
}
.btn-full {
  width: 100%;
}

/* ============================================================
   HEADER
============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-img {
  height: 42px;
  width: auto;
  display: block;
  object-fit: contain;
}

.header-nav {
  display: none;
  gap: 28px;
  flex: 1;
}
.header-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-600);
  text-decoration: none;
  transition: color var(--transition);
  position: relative;
}
.header-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -3px;
  width: 0; height: 2px;
  background: var(--green);
  border-radius: 2px;
  transition: width 0.25s ease;
}
.header-nav a:hover { color: var(--navy); }
.header-nav a:hover::after { width: 100%; }

/* CTA nascosto su mobile, visibile solo su desktop */
.header-cta {
  margin-left: auto;
  display: none;
}

/* Hamburger */
.mobile-menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
  flex-shrink: 0;
  z-index: 200;
}
.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.28s ease, opacity 0.2s ease;
  transform-origin: center;
}
.mobile-menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-toggle.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.mobile-menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Drawer mobile — animazione smooth */
.mobile-menu {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--gray-100);
  background: var(--white);
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.38s cubic-bezier(0.4,0,0.2,1),
              padding 0.3s ease,
              opacity 0.3s ease;
  box-shadow: 0 8px 24px rgba(13,27,42,.08);
}
.mobile-menu.is-open {
  max-height: 480px;
  padding: 12px 24px 24px;
  opacity: 1;
}
.mobile-menu a {
  color: var(--gray-600);
  font-weight: 500;
  padding: 13px 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 1rem;
  text-decoration: none;
  transition: color var(--transition), padding-left var(--transition);
  display: block;
}
.mobile-menu a:hover { color: var(--green-dark); padding-left: 6px; }
.mobile-menu a:last-child { border: none; margin-top: 12px; text-align: center; padding: 0; }

/* Desktop */
@media (min-width: 960px) {
  .header-nav  { display: flex; }
  .header-cta  { display: inline-flex; }
  .mobile-menu-toggle { display: none; }
  .mobile-menu { display: none !important; }
}

/* ============================================================
   HERO
============================================================ */
.hero {
  background: linear-gradient(135deg, #053339 0%, #0a4a52 55%, #18544a 100%);
  color: var(--white);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: center;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.hero::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29,184,126,.15) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(29,184,126,.15);
  border: 1px solid rgba(29,184,126,.3);
  color: #6DDDB5;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 28px;
  animation: fadeInUp 0.5s ease both;
}
.badge-dot {
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .6; transform: scale(1.3); }
}

.hero-headline {
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 24px;
  animation: fadeInUp 0.5s 0.1s ease both;
  letter-spacing: -0.02em;
}
.hero-headline em {
  font-style: normal;
  color: var(--green);
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.75);
  line-height: 1.7;
  margin-bottom: 36px;
  animation: fadeInUp 0.5s 0.2s ease both;
  max-width: 560px;
}
.hero-sub strong { color: var(--white); }

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  animation: fadeInUp 0.5s 0.3s ease both;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  animation: fadeInUp 0.5s 0.4s ease both;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.85rem;
  color: rgba(255,255,255,.65);
  font-weight: 500;
}
.trust-item svg { color: var(--green); flex-shrink: 0; }

/* HERO FLOATING CARDS */
.hero-visual {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  display: none;
  pointer-events: none;
}
@media (min-width: 1024px) { .hero-visual { display: block; } }

.hero-card-float {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 14px 18px;
  min-width: 220px;
  color: white;
  margin-bottom: 16px;
  animation: floatCard 3s ease-in-out infinite;
}
.hero-card-1 { animation-delay: 0s; }
.hero-card-2 { animation-delay: 0.8s; margin-left: 40px; }
.hero-card-3 { animation-delay: 1.6s; margin-left: 20px; }

@keyframes floatCard {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

.card-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.card-icon--green { background: rgba(29,184,126,.2); }
.card-icon--blue  { background: rgba(59,130,246,.2); }
.card-icon--yellow{ background: rgba(251,191,36,.2); }
.card-label { font-size: 0.875rem; font-weight: 600; }
.card-sub   { font-size: 0.75rem; color: rgba(255,255,255,.55); }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   PROBLEMA
============================================================ */
.problema {
  padding: 80px 0;
  background: var(--off-white);
}
.problema-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}
@media (min-width: 900px) {
  .problema-inner { grid-template-columns: 1fr 1fr; }
}

.problema-copy h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  margin-bottom: 20px;
}
.problema-copy h2 em {
  font-style: normal;
  color: var(--orange);
}
.problema-copy p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 1rem;
  line-height: 1.75;
}

.problema-list {
  list-style: none;
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.problema-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--gray-800);
  font-weight: 500;
}
.x-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  background: #FEE2E2;
  color: #DC2626;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.problema-callout {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.callout-quote {
  background: var(--white);
  border-left: 4px solid var(--orange);
  padding: 24px 28px;
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow-card);
}
.callout-quote p {
  font-family: 'DM Serif Display', serif;
  font-size: 1.15rem;
  color: var(--navy);
  font-style: italic;
  margin-bottom: 12px;
  line-height: 1.55;
}
.callout-quote cite {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-style: normal;
}
.callout-solution {
  background: var(--green-light);
  border: 1px solid rgba(29,184,126,.2);
  border-radius: var(--radius);
  padding: 20px 24px;
}
.callout-solution strong {
  display: block;
  color: var(--green-dark);
  font-weight: 700;
  margin-bottom: 6px;
}
.callout-solution p {
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 500;
  margin: 0;
}

/* ============================================================
   BENEFICI
============================================================ */
.benefici {
  padding: 96px 0;
  background: var(--white);
}

.benefici-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 64px;
}
@media (min-width: 640px) { .benefici-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .benefici-grid { grid-template-columns: repeat(3, 1fr); } }

.benefit-card {
  background: var(--off-white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all var(--transition);
}
.benefit-card:hover {
  border-color: var(--green);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.benefit-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  display: block;
}
.benefit-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--navy);
}
.benefit-card p {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* BENEFIT SUMMARY */
.benefit-summary {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
}
.benefit-summary-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
}
@media (min-width: 700px) {
  .benefit-summary-inner {
    flex-direction: row;
    justify-content: center;
    gap: 0;
    text-align: left;
  }
}
.summary-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 48px;
}
.summary-number {
  font-family: 'DM Serif Display', serif;
  font-size: 3rem;
  color: var(--green);
  line-height: 1;
}
.summary-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,.65);
  max-width: 140px;
}
.summary-divider {
  width: 1px;
  height: 64px;
  background: rgba(255,255,255,.15);
  display: none;
}
@media (min-width: 700px) { .summary-divider { display: block; } }

/* ============================================================
   COME FUNZIONA
============================================================ */
.come-funziona {
  padding: 96px 0;
  background: var(--off-white);
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 48px;
  align-items: center;
}
@media (min-width: 860px) {
  .steps-grid {
    grid-template-columns: 1fr auto 1fr auto 1fr;
  }
}

.step-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-card);
  transition: all var(--transition);
}
.step-card:hover {
  border-color: var(--green);
  box-shadow: var(--shadow-md);
}
.step-number {
  font-family: 'DM Serif Display', serif;
  font-size: 2.8rem;
  color: var(--green-light);
  line-height: 1;
  margin-bottom: 16px;
  -webkit-text-stroke: 2px var(--green);
  color: transparent;
}
.step-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}
.step-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.step-arrow {
  display: none;
  font-size: 1.8rem;
  color: var(--gray-400);
  text-align: center;
}
@media (min-width: 860px) { .step-arrow { display: flex; align-items: center; } }

.steps-cta { text-align: center; }

/* ============================================================
   COSA INCLUDE
============================================================ */
.cosa-include {
  padding: 96px 0;
  background: var(--white);
}
.include-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}
@media (min-width: 900px) {
  .include-inner { grid-template-columns: 1fr 1.2fr; align-items: center; }
}
.include-copy h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  margin-bottom: 20px;
}
.include-copy p {
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.75;
}

.include-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.include-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray-800);
}
.include-list li:last-child { border: none; }
.include-list svg { color: var(--green); flex-shrink: 0; }

/* ============================================================
   PREZZI
============================================================ */
.prezzi {
  padding: 96px 0;
  background: var(--off-white);
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 32px;
}
@media (min-width: 860px) {
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
}

.pricing-card {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  transition: all var(--transition);
}
.pricing-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.pricing-card--main {
  border-color: var(--green);
  box-shadow: 0 0 0 1px var(--green), var(--shadow-md);
}
.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: white;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 999px;
  white-space: nowrap;
}
.pricing-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--orange);
  background: var(--orange-light);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.pricing-card h3 {
  font-size: 1.2rem;
  margin-bottom: 16px;
}
.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 16px;
}
.price-amount {
  font-family: 'DM Serif Display', serif;
  font-size: 2.6rem;
  color: var(--navy);
  line-height: 1;
}
.price-period {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}
.pricing-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
  min-height: 60px;
}
.pricing-features {
  list-style: none;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pricing-features li {
  font-size: 0.88rem;
  color: var(--gray-800);
  font-weight: 500;
}
.pricing-note {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  border-top: 1px solid var(--gray-200);
  padding-top: 20px;
}

/* ============================================================
   CONFIGURATORE ACQUISTO
============================================================ */
.acquisto {
  padding: 96px 0;
  background: var(--white);
}

.acquisto-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}
@media (min-width: 960px) {
  .acquisto-layout {
    grid-template-columns: 1fr 380px;
  }
}

/* FORM */
.form-section {
  margin-bottom: 32px;
}
.form-section-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  font-family: 'DM Sans', sans-serif;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gray-100);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 560px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group--full { grid-column: 1 / -1; }

label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-800);
}
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
textarea,
select {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  width: 100%;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(29,184,126,.12);
}
input.error, textarea.error, select.error {
  border-color: #EF4444;
  box-shadow: 0 0 0 3px rgba(239,68,68,.1);
}
textarea { resize: vertical; min-height: 80px; }
.field-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.label-optional {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--orange);
  background: var(--orange-light);
  padding: 1px 7px;
  border-radius: 999px;
  margin-left: 6px;
  vertical-align: middle;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.piva-ok    { border-color: var(--green) !important; box-shadow: 0 0 0 3px rgba(29,184,126,.12) !important; }
.piva-error { border-color: #EF4444 !important; box-shadow: 0 0 0 3px rgba(239,68,68,.1) !important; }
.piva-feedback {
  font-size: 0.78rem;
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 500;
}
.piva-feedback.ok    { color: var(--green-dark); }
.piva-feedback.error { color: #EF4444; }
.form-message {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 16px;
}
.form-message.success { background: var(--green-light); color: var(--green-dark); border: 1px solid rgba(29,184,126,.3); }
.form-message.error   { background: #FEF2F2; color: #DC2626; border: 1px solid #FCA5A5; }

/* NUMBER INPUT */
.number-input-wrap {
  display: flex;
  align-items: center;
  gap: 0;
  width: fit-content;
}
.qty-btn {
  width: 40px;
  height: 44px;
  background: var(--off-white);
  border: 1.5px solid var(--gray-200);
  color: var(--navy);
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  font-weight: 600;
  line-height: 1;
}
.qty-btn:first-child { border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.qty-btn:last-child  { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.qty-btn:hover { background: var(--green-light); border-color: var(--green); color: var(--green-dark); }
#unitaLocali {
  width: 60px;
  text-align: center;
  border-radius: 0;
  border-left: none;
  border-right: none;
  pointer-events: none;
  background: var(--white);
}

/* CHECKBOX */
.form-checkbox-group { }
.checkbox-label {
  display: flex;
  gap: 12px;
  cursor: pointer;
  align-items: flex-start;
}
.checkbox-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.checkbox-custom {
  width: 20px;
  height: 20px;
  border: 2px solid var(--gray-200);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  transition: all var(--transition);
  background: var(--white);
}
.checkbox-label input:checked ~ .checkbox-custom {
  background: var(--green);
  border-color: var(--green);
}
.checkbox-label input:checked ~ .checkbox-custom::after {
  content: '✓';
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
}
.checkbox-text {
  font-size: 0.9rem;
  color: var(--gray-800);
  line-height: 1.5;
}
.checkbox-price {
  display: inline-block;
  font-weight: 700;
  color: var(--orange);
  margin-left: 8px;
  font-size: 0.85rem;
}
.checkbox-desc {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 2px;
}
.privacy-group { margin-top: 8px; }
.privacy-group .checkbox-text a { color: var(--green-dark); text-decoration: underline; }

/* ORDER SUMMARY */
.order-summary {
  background: var(--off-white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px 28px 24px;
  position: sticky;
  top: 88px;
}
.summary-title {
  font-size: 1.1rem;
  margin-bottom: 20px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  color: var(--navy);
}
.summary-lines {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}
.summary-line {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--gray-800);
  gap: 8px;
}
.summary-line span:last-child { font-weight: 600; white-space: nowrap; }
.summary-divider-line {
  height: 1px;
  background: var(--gray-200);
  margin: 12px 0;
}
.summary-subtotals {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 12px;
}
.summary-sub-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.summary-total-line {
  display: flex;
  justify-content: space-between;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  padding-top: 12px;
  border-top: 2px solid var(--navy);
  margin-bottom: 16px;
}
.summary-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.55;
}
.paypal-wrap {
  margin-bottom: 12px;
  min-height: 50px;
}
.paypal-fallback {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.summary-security {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* REASSURANCES */
.reassurances {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.reassurance-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  background: var(--off-white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-100);
}
.reassurance-item span:first-child {
  font-size: 1.3rem;
  flex-shrink: 0;
}
.reassurance-item strong {
  font-size: 0.88rem;
  display: block;
  color: var(--navy);
  margin-bottom: 3px;
}
.reassurance-item p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

/* ============================================================
   FAQ
============================================================ */
.faq {
  padding: 96px 0;
  background: var(--off-white);
}
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.faq-item {
  border-bottom: 1px solid var(--gray-200);
}
.faq-item:first-child { border-top: 1px solid var(--gray-200); }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 0;
  text-align: left;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color var(--transition);
}
.faq-question:hover { color: var(--green-dark); }
.faq-icon {
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--green);
  flex-shrink: 0;
  transition: transform var(--transition);
  line-height: 1;
}
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding-bottom: 0;
  opacity: 0;
  transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1),
              padding 0.3s ease,
              opacity 0.3s ease;
}
.faq-answer.is-open {
  max-height: 800px;
  padding-bottom: 20px;
  opacity: 1;
}
.faq-answer p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
}

/* ============================================================
   CONTATTI
============================================================ */
.contatti {
  padding: 96px 0;
  background: var(--white);
}
.contatti-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: start;
}
@media (min-width: 900px) {
  .contatti-inner { grid-template-columns: 1fr 1.4fr; }
}
.contatti-copy h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  margin-bottom: 20px;
}
.contatti-copy p {
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.75;
}
.contatti-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 500;
}
.contact-detail svg { color: var(--green); flex-shrink: 0; }
.contact-detail a { color: var(--navy); text-decoration: none; }
.contact-detail a:hover { color: var(--green-dark); }

.contact-form {
  background: var(--off-white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
}

/* ============================================================
   CTA FINALE
============================================================ */
.cta-finale {
  background: linear-gradient(135deg, #053339 0%, #18544a 100%);
  padding: 80px 0;
}
.cta-finale-inner {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
.cta-finale-inner h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  margin-bottom: 16px;
}
.cta-finale-inner p {
  color: rgba(255,255,255,.7);
  margin-bottom: 32px;
  font-size: 1.05rem;
}

/* ============================================================
   FOOTER
============================================================ */
.site-header.is-scrolled {
  box-shadow: 0 2px 20px rgba(13,27,42,.12);
}

.site-footer {
  background: #053339;
  color: rgba(255,255,255,.65);
  padding: 64px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
@media (min-width: 700px) {
  .footer-inner { grid-template-columns: 1.5fr 1fr; }
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-tagline {
  font-size: 0.9rem;
  color: rgba(255,255,255,.5);
  max-width: 280px;
}
.footer-links {
  display: flex;
  gap: 40px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col h4 {
  color: rgba(255,255,255,.85);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.footer-col a {
  font-size: 0.88rem;
  color: rgba(255,255,255,.5);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-col a:hover { color: rgba(255,255,255,.9); }
.footer-bottom {
  padding: 20px 0;
}
.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255,255,255,.35);
  line-height: 1.7;
  text-align: center;
}

/* ============================================================
   MODAL
============================================================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13,27,42,.7);
  backdrop-filter: blur(4px);
}
.modal-content {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg);
  animation: modalIn 0.3s ease both;
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.94) translateY(16px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.modal-icon {
  width: 64px;
  height: 64px;
  background: var(--green-light);
  color: var(--green-dark);
  border-radius: 50%;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.modal-content h2 {
  margin-bottom: 16px;
  font-size: 1.6rem;
}
.modal-content p {
  color: var(--text-muted);
  margin-bottom: 12px;
  font-size: 0.95rem;
  line-height: 1.65;
}
.modal-content .btn { margin-top: 16px; }

/* ============================================================
   UTILS / ANIMAZIONI
============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* SCROLLBAR */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--off-white); }
::-webkit-scrollbar-thumb { background: var(--gray-400); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gray-600); }

/* RESPONSIVE FINE-TUNING */
@media (max-width: 480px) {
  .hero { padding: 72px 0 56px; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { text-align: center; justify-content: center; }
  .benefit-summary { padding: 32px 24px; }
  .order-summary { padding: 20px; }
  .contact-form { padding: 24px 20px; }
  .modal-content { padding: 32px 24px; }
}


/* ============================================================
   SISTEMA SCROLL REVEAL
============================================================ */
[data-reveal] {
  opacity: 0;
  transition-property: opacity, transform, filter;
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  transition-duration: 0.65s;
  will-change: opacity, transform;
}
[data-reveal="up"]    { transform: translateY(44px); }
[data-reveal="down"]  { transform: translateY(-28px); }
[data-reveal="left"]  { transform: translateX(-44px); }
[data-reveal="right"] { transform: translateX(44px); }
[data-reveal="scale"] { transform: scale(0.9); filter: blur(3px); }
[data-reveal="flip"]  { transform: perspective(600px) rotateX(16deg) translateY(28px); }
[data-reveal].is-visible { opacity: 1; transform: none; filter: none; }

[data-delay="1"] { transition-delay: 0.08s; }
[data-delay="2"] { transition-delay: 0.16s; }
[data-delay="3"] { transition-delay: 0.24s; }
[data-delay="4"] { transition-delay: 0.32s; }
[data-delay="5"] { transition-delay: 0.40s; }
[data-delay="6"] { transition-delay: 0.48s; }

/* Linea decorativa sotto H2 delle section-header */
.section-header h2 { position: relative; display: inline-block; }
.section-header h2::after {
  content: '';
  position: absolute;
  left: 50%; bottom: -8px;
  transform: translateX(-50%) scaleX(0);
  width: 56px; height: 3px;
  background: var(--green);
  border-radius: 2px;
  transition: transform 0.6s cubic-bezier(0.22,1,0.36,1) 0.35s;
}
.section-header.is-visible h2::after { transform: translateX(-50%) scaleX(1); }

/* Shimmer sui bottoni primari */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.2) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}
.btn-primary:hover::before { transform: translateX(100%); }

/* Card hover cinematico */
.benefit-card, .step-card, .pricing-card {
  transition: transform 0.32s cubic-bezier(0.22,1,0.36,1),
              box-shadow 0.32s ease,
              border-color 0.25s ease;
}
.benefit-card:hover  { transform: translateY(-8px) scale(1.015); box-shadow: 0 24px 56px rgba(13,27,42,.13); }
.step-card:hover     { transform: translateY(-6px); box-shadow: 0 20px 48px rgba(13,27,42,.11); }
.pricing-card:hover  { transform: translateY(-8px); box-shadow: 0 24px 60px rgba(13,27,42,.14); }

/* Glow animato bordo pricing card principale */
.pricing-card--main { overflow: hidden; }
.pricing-card--main::after {
  content: '';
  position: absolute;
  inset: -50%;
  background: conic-gradient(from 0deg, transparent 60%, rgba(29,184,126,.18) 70%, transparent 80%);
  animation: rotateBorder 6s linear infinite;
  z-index: -1;
}
@keyframes rotateBorder { to { transform: rotate(360deg); } }

/* Decorazione blob hero */
.hero::after {
  content: '';
  position: absolute;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29,184,126,.07) 0%, transparent 70%);
  bottom: -80px; left: 8%;
  animation: blobDrift 9s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes blobDrift {
  from { transform: translate(0,0) scale(1); }
  to   { transform: translate(50px,-40px) scale(1.2); }
}

/* Include list — check icon hover */
.include-list li svg {
  flex-shrink: 0;
  transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1);
}
.include-list li:hover svg { transform: scale(1.35); }

/* FAQ item hover */
.faq-item { border-radius: 4px; padding: 0 4px; transition: background 0.2s; }
.faq-item:hover { background: rgba(29,184,126,.03); }

/* CTA finale pulse */
.cta-finale .btn-white { animation: ctaPulse 2.8s ease-in-out infinite; }
@keyframes ctaPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(255,255,255,.3); }
  50%      { box-shadow: 0 0 0 14px rgba(255,255,255,0); }
}

/* Scroll progress bar */
#scrollProgress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: var(--green);
  width: 0%;
  z-index: 9999;
  box-shadow: 0 0 8px rgba(29,184,126,.6);
  transition: width 0.1s linear;
}

/* Back to top */
#backToTop {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 44px; height: 44px;
  background: var(--green);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 700;
  box-shadow: 0 4px 16px rgba(29,184,126,.4);
  opacity: 0;
  transform: translateY(16px) scale(0.8);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
  z-index: 500;
}
#backToTop.is-visible { opacity: 1; transform: translateY(0) scale(1); }
#backToTop:hover { background: var(--green-dark); transform: translateY(-3px) scale(1.08); }

/* ============================================================
   SEZIONE NORMATIVE — blu
============================================================ */
.normative {
  padding: 96px 0;
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
  color: white;
  position: relative;
  overflow: hidden;
}
.normative::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.05) 0%, transparent 70%);
  top: -150px; right: -100px;
  pointer-events: none;
}
.normative-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 900px) {
  .normative-inner { grid-template-columns: 160px 1fr; gap: 64px; }
}
.normative-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}
.normative-icon {
  font-size: 5rem;
  width: 120px; height: 120px;
  background: rgba(255,255,255,.1);
  border: 2px solid rgba(255,255,255,.2);
  border-radius: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
}
.normative-copy h2 {
  color: white;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin-bottom: 16px;
}
.normative-lead {
  color: rgba(255,255,255,.85);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 36px;
}
.normative-lead strong { color: white; }
.normative-points {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.normative-point {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.np-check {
  width: 28px; height: 28px;
  background: rgba(255,255,255,.15);
  border: 1.5px solid rgba(255,255,255,.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
  margin-top: 2px;
}
.normative-point strong {
  display: block;
  color: white;
  font-size: 0.95rem;
  margin-bottom: 3px;
}
.normative-point p {
  color: rgba(255,255,255,.7);
  font-size: 0.88rem;
  margin: 0;
  line-height: 1.6;
}

/* section-tag variante blu */
.section-tag--blue {
  background: rgba(255,255,255,.15);
  color: rgba(255,255,255,.9);
  border: 1px solid rgba(255,255,255,.25);
}

/* CTA finale migliorata */
.cta-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  border: 1px solid rgba(255,255,255,.25);
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.cta-sub {
  font-size: 0.9rem;
  color: rgba(255,255,255,.55);
  margin-bottom: 28px !important;
  font-style: italic;
}

/* Tocchi di blu sparsi */
.step-number {
  -webkit-text-stroke-color: var(--blue) !important;
}
.pricing-card--optional .pricing-tag {
  background: var(--blue-light);
  color: var(--blue-dark);
}
.callout-solution {
  border-left: 4px solid var(--blue);
  background: var(--blue-light);
  border: 1px solid rgba(26,95,168,.15);
  border-left: 4px solid var(--blue);
}
.callout-solution strong { color: var(--blue-dark); }

/* Hero trust items — uno in blu */
.hero-trust .trust-item:nth-child(2) svg { color: #6ab0f5; }

/* Benefit summary background — aggiunge tocco blu */
.benefit-summary {
  background: linear-gradient(135deg, #053339 0%, var(--blue-dark) 100%);
}

/* ============================================================
   CHECKOUT STATUS — feedback chiamata API
============================================================ */
.checkout-status {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.5;
  margin-top: 8px;
  text-align: center;
}
.checkout-status--success {
  background: var(--green-light);
  color: var(--green-dark);
  border: 1px solid rgba(29,184,126,.25);
}
.checkout-status--error {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fca5a5;
}
#btnCheckout:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}
