:root {
  --bg: #fafafa;
  --surface: #ffffff;
  --text: #1a1a1a;
  --text-muted: #5c5c5c;
  --accent: #0f766e;
  --accent-hover: #0d5d57;
  --accent-light: #ccfbf1;
  --border: #e5e5e5;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0,0,0,0.06);
  --shadow-hover: 0 12px 40px rgba(0,0,0,0.08);
  --font-sans: 'Inter', system-ui, sans-serif;
  --font-display: 'Manrope', 'Inter', system-ui, sans-serif;
  --space-unit: 8px;
  --section-padding: clamp(64px, 12vw, 120px);
  --section-padding-tight: clamp(40px, 6vw, 64px);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

/* ----- Header ----- */
.header {
  z-index: 100;
  background: rgba(250, 250, 250, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: calc(var(--space-unit) * 2) 0;
}

.header .wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.logo-img {
  display: block;
  height: 38px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}
.logo:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}
.logo-name {
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--text);
}
.logo:hover .logo-img {
  opacity: 0.9;
}

.header-value {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 8px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow);
  animation: fadeIn 0.6s ease both;
}
.header-value strong { color: var(--text); font-weight: 600; }
.header-value .ico { font-size: 1rem; }
.header-value .dot {
  width: 6px; height: 6px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  border: none;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: var(--accent-hover); }
.header .btn {
  padding: 8px 16px;
  font-size: 0.85rem;
}
.header-ctas {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.header .btn .cta-text-short { display: none; }
.header .btn .cta-call-long { display: inline; }
.header .btn .cta-call-short { display: none; }
.header .btn .cta-icon {
  width: 16px;
  height: 16px;
}
.header .btn .cta-icon-call {
  width: 16px;
  height: 16px;
}
.header-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
}
.header-nav a {
  color: var(--text-muted);
  text-decoration: none;
  padding: 4px 2px;
  transition: color 0.2s ease;
}
.header-nav a:hover {
  color: var(--accent);
}
.header-nav-register {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--accent);
}
.header-nav-register:hover {
  color: var(--accent-hover);
}
.header-nav-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.header-nav span {
  color: var(--border);
  user-select: none;
}

/* Menu contenitore (nav + ctas): desktop in riga */
.header-menu {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Hamburger: nascosto su desktop, compatto */
.header-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  margin: -4px 0;
  background: transparent;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  color: var(--text);
  transition: background 0.2s ease, color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  overflow: visible;
  position: relative;
  z-index: 101;
}
.header-hamburger:hover {
  background: var(--accent-light);
  color: var(--accent);
}
.header-hamburger:active {
  background: var(--accent-light);
}
/* Quando menu aperto: mostra X, nascondi le tre linee */
.header-hamburger[aria-expanded="true"] {
  color: var(--accent);
  background: var(--accent-light);
}
.header-hamburger-bars {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  transition: opacity 0.2s ease;
}
.header-hamburger[aria-expanded="true"] .header-hamburger-bars {
  opacity: 0;
  pointer-events: none;
  position: absolute;
}
.header-hamburger-line {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  flex-shrink: 0;
}
/* X per chiudere: due linee che si incrociano al centro (nessun SVG) */
.header-hamburger-close {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.header-hamburger[aria-expanded="true"] .header-hamburger-close {
  opacity: 1;
  pointer-events: auto;
}
.header-close-line {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 2.5px;
  margin-left: -10px;
  margin-top: -1.25px;
  background: var(--accent);
  border-radius: 2px;
}
.header-close-line:first-child {
  transform: rotate(45deg);
}
.header-close-line:last-child {
  transform: rotate(-45deg);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
}
.btn-ghost:hover { background: var(--accent-light); color: var(--accent); }

/* CTA Richiedi una chiamata: bianco con bordo/ombra */
.btn-call {
  background: var(--surface);
  color: var(--accent);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--border);
}
.btn-call:hover {
  background: var(--accent-light);
  color: var(--accent);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}
.btn-call .cta-icon-call {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
}

/* ----- Hero ----- */
.hero {
  padding: clamp(28px, 5vw, 48px) 24px clamp(32px, 6vw, 56px) 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 64px);
  align-items: center;
}

/* Seconda hero: WinScontrino, immagine a sinistra */
.hero-winscontrino .hero-image {
  order: 1;
}
.hero-winscontrino .hero-content {
  order: 2;
}
.hero-image img {
  display: block;
  width: 100%;
  max-width: 560px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 24px 48px rgba(0,0,0,0.1), 0 0 0 1px var(--border);
  object-fit: cover;
}

/* Immagine piccola/orizzontale: mostrata intera, centrata, in un riquadro valorizzato */
.hero-image-small {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--bg-soft, #f8f9fb);
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
  overflow: visible;
}
.hero-image-small img {
  width: auto;
  max-width: 100%;
  min-width: 200px;
  height: auto;
  object-fit: contain;
  max-height: 280px;
  transition: transform 0.35s ease;
}
.hero-image-small:hover img {
  transform: scale(1.12);
}
.hero-winscontrino-content {
  padding-left: 30px;
}
.hero-winscontrino .hero-content p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.hero-winscontrino .hero-content p:last-of-type {
  margin-bottom: 24px;
}
.hero-feature-list {
  list-style: none;
  margin: 0 0 20px 0;
  padding: 0;
}
.hero-feature-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text);
}
.hero-feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 18px;
  height: 18px;
  background: var(--accent);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
}
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.hero-buttons .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.hero-buttons .cta-icon {
  width: 20px;
  height: 20px;
}

.hero-content {
  animation: fadeInUp 0.7s ease both;
}

.hero-tension {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
  animation: fadeInUp 0.6s 0.05s ease both;
}

.hero h1,
.hero h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 20px;
  animation: fadeInUp 0.7s 0.1s ease both;
}

.hero .lead {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 28px;
  max-width: 480px;
  animation: fadeInUp 0.7s 0.15s ease both;
}

.hero .cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  animation: fadeInUp 0.7s 0.2s ease both;
}
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.hero .cta-main {
  padding: 16px 28px;
  font-size: 1.05rem;
  border-radius: var(--radius);
}
.cta-main .cta-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.25s ease;
}
.cta-main:hover .cta-icon {
  transform: translateX(4px);
}

.hero-micro {
  font-size: 0.9rem;
  color: var(--text-muted);
  animation: fadeIn 0.8s 0.35s ease both;
}

.hero-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
  animation: fadeInUp 0.6s 0.3s ease both;
}
.hero-bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text);
}
.hero-data-line {
  margin-top: 16px;
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 500;
}
.hero-bullets li::before {
  content: '';
  width: 20px;
  height: 20px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* Hero: immagine dashboard fatturazione */
.hero-mockup {
  position: relative;
  animation: fadeInUp 0.8s 0.2s ease both;
}
/* Mostra l'immagine al massimo 560px: così non viene mai ingrandita dal browser (evita sgranatura). Per qualità migliore usa un PNG da almeno 1100px di larghezza. */
/* Invito a chiamare sopra l'immagine hero: leggero, senza bordi */
.hero-call-invite {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px 16px;
  margin-bottom: 14px;
  background: rgba(204, 251, 241, 0.4);
  border-radius: 10px;
  text-decoration: none;
  color: var(--text);
  transition: background 0.2s ease, color 0.2s ease;
}
.hero-call-invite:hover {
  background: rgba(204, 251, 241, 0.65);
}
.hero-call-invite-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: transparent;
  color: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}
.hero-call-invite-icon svg {
  width: 18px;
  height: 18px;
}
.hero-call-invite-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  color: var(--accent);
}
.hero-call-invite:hover .hero-call-invite-num {
  color: var(--accent-hover);
}
.hero-call-invite-tagline {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 400;
}
@media (max-width: 480px) {
  .hero-call-invite {
    flex-direction: column;
    gap: 6px;
    text-align: center;
    padding: 12px;
  }
  .hero-call-invite-num { font-size: 1.05rem; }
}
.hero-dashboard-img {
  display: block;
  width: 100%;
  max-width: 560px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 24px 48px rgba(0,0,0,0.12), 0 0 0 1px var(--border);
  object-fit: contain;
  transition: transform 0.35s ease;
}
.hero-mockup:hover .hero-dashboard-img {
  transform: scale(1.12);
}
.hero-ade-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
  padding: 8px 0;
}
.hero-ade-logo {
  height: 28px;
  width: auto;
  object-fit: contain;
  display: block;
}
.hero-ade-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.4;
}
.hero-ade-text strong {
  color: var(--text);
  font-weight: 600;
}
.mockup-window {
  background: var(--surface);
  border-radius: 12px;
  box-shadow: 0 24px 48px rgba(0,0,0,0.12), 0 0 0 1px var(--border);
  overflow: hidden;
}
.mockup-titlebar {
  height: 40px;
  background: #e5e5e5;
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 8px;
}
.mockup-titlebar span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #d0d0d0;
}
.mockup-titlebar span:nth-child(1) { background: #ff5f57; }
.mockup-titlebar span:nth-child(2) { background: #febc2e; }
.mockup-titlebar span:nth-child(3) { background: #28c840; }
.mockup-body {
  padding: 20px;
  min-height: 280px;
}
.mockup-sidebar {
  width: 48px;
  height: 100%;
  float: left;
  background: var(--bg);
  border-radius: 8px;
  margin-right: 16px;
}
.mockup-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-top: 12px;
}
.mockup-card .row {
  height: 10px;
  background: var(--border);
  border-radius: 4px;
  margin-bottom: 10px;
  width: 100%;
}
.mockup-card .row:nth-child(1) { width: 70%; }
.mockup-card .row:nth-child(2) { width: 90%; }
.mockup-card .row:nth-child(3) { width: 50%; }
.mockup-card .row:nth-child(4) { width: 60%; margin-bottom: 0; }
.mockup-card-title {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}
.hero-mockup-value {
  margin-top: 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
}
.hero-mockup-value .ico {
  margin-right: 4px;
}
.hero-mockup-value strong {
  color: var(--text);
}
.mockup-btn {
  margin-top: 14px;
  height: 36px;
  background: var(--accent);
  border-radius: 8px;
  width: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
}

/* ----- Sections common ----- */
section {
  padding: var(--section-padding) 24px;
  max-width: 1120px;
  margin: 0 auto;
}
#per-chi-e {
  padding: var(--section-padding-tight) 24px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 12px;
  text-align: center;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto 48px;
}

/* ----- Features grid ----- */
.features {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--section-padding) 32px;
  margin: 0 24px;
  max-width: 1088px;
  margin-left: auto;
  margin-right: auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.feature-card {
  padding: 28px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent-light);
}

.feature-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--text);
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ----- Benefits ----- */
.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 640px;
  margin: 0 auto;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.benefit-item:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow);
}

.benefit-item .num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--accent);
  line-height: 1;
}

.benefit-item h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.benefit-item p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ----- CTA block ----- */
.cta-block {
  text-align: center;
  padding: var(--section-padding-tight) 24px;
  background: linear-gradient(180deg, var(--accent-light) 0%, var(--surface) 100%);
  border-radius: var(--radius-lg);
  margin: 0 24px;
  max-width: 1088px;
  margin-left: auto;
  margin-right: auto;
}

.cta-block h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 12px;
  color: var(--text);
}

.cta-block p {
  color: var(--text-muted);
  margin-bottom: 24px;
}
.cta-block-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;
}
.cta-block-buttons .btn {
  padding: 14px 24px;
}
.cta-block-bullets {
  margin-top: 20px;
  margin-left: auto;
  margin-right: auto;
  align-items: center;
}

/* ----- Partner / Trust logos ----- */
.partners {
  padding: clamp(24px, 4vw, 40px) 24px clamp(32px, 5vw, 48px) 24px;
  max-width: 1120px;
  margin: 0 auto;
  text-align: center;
}
.partners-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.trust-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px 56px;
}
.trust-logos img {
  height: 40px;
  width: auto;
  object-fit: contain;
  opacity: 1;
  filter: brightness(1) contrast(1.05) saturate(1.1);
  transition: transform 0.25s ease, filter 0.25s ease, box-shadow 0.25s ease;
}
.trust-logos img:hover {
  transform: scale(1.08);
  filter: brightness(1.05) contrast(1.1) saturate(1.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* ----- Commercialista & Esportazioni ----- */
.commercialista-section {
  padding: var(--section-padding-tight) 24px;
  max-width: 1120px;
  margin: 0 auto;
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
  border-radius: var(--radius-lg);
  margin-left: 24px;
  margin-right: 24px;
  margin-bottom: 0;
  max-width: 1088px;
  margin-left: auto;
  margin-right: auto;
}
.commercialista-section .section-title {
  margin-bottom: 8px;
}
.commercialista-intro {
  text-align: center;
  margin-bottom: 16px;
}
.commercialista-intro .badge {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-light);
  padding: 6px 14px;
  border-radius: 999px;
}
.commercialista-section .section-subtitle {
  margin-bottom: 24px;
}
.anti-obiezione {
  max-width: 640px;
  margin: 0 auto 40px;
  padding: 20px 24px;
  background: var(--accent-light);
  border: 1px solid rgba(15, 118, 110, 0.2);
  border-radius: var(--radius);
  text-align: center;
}
.anti-obiezione .ob-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 10px;
  font-style: italic;
}
.anti-obiezione .ob-risposta {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.5;
  font-weight: 500;
}
.anti-obiezione .ob-note {
  margin-top: 14px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.commercialista-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.commercialista-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.commercialista-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--accent-light);
}
.commercialista-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text);
  margin-bottom: 12px;
}
.commercialista-card .card-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}
.commercialista-card ul.steps {
  list-style: none;
  margin-bottom: 24px;
}
.commercialista-card ul.steps li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 10px;
}
.commercialista-card ul.steps li::before {
  content: '';
  width: 20px;
  height: 20px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 2px;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
}
.commercialista-mock {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 16px;
  font-size: 0.9rem;
}
.commercialista-mock .mock-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.commercialista-mock .mock-value {
  color: var(--text);
  font-weight: 500;
}
.commercialista-card .info-list {
  list-style: none;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.commercialista-card .info-list li {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}
.commercialista-card .info-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.commercialista-card .btn-wrap {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.commercialista-section .step-num {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--accent);
  margin-right: 4px;
}

@media (max-width: 900px) {
  .commercialista-grid {
    grid-template-columns: 1fr;
  }
}

/* ----- Cambio software / Fornitori - disinnesca paura "devo avvisare tutti" ----- */
.cambio-fornitori {
  padding: var(--section-padding-tight) 24px;
  max-width: 1088px;
  margin: 0 auto;
  margin-left: 24px;
  margin-right: 24px;
  margin-bottom: 0;
  margin-left: auto;
  margin-right: auto;
}
.cambio-fornitori .section-title {
  margin-bottom: 12px;
}
.cambio-fornitori .section-subtitle {
  margin-bottom: 28px;
}
.cambio-fornitori-box {
  max-width: 720px;
  margin: 0 auto;
  padding: 28px 32px;
  background: var(--surface);
  border: 2px solid var(--accent-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.cambio-fornitori-box .unica-cosa {
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 16px;
}
.cambio-fornitori-box .unica-cosa strong {
  color: var(--accent);
}
.cambio-fornitori-box .help-note {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ----- Pricing ----- */
.pricing {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--section-padding) 32px;
  margin: 0 24px;
  max-width: 1088px;
  margin-left: auto;
  margin-right: auto;
}
.pricing-intro {
  text-align: center;
  margin-bottom: 32px;
}
.pricing-intro .badge {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-light);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}
.price-card-free {
  border-color: var(--accent);
  background: linear-gradient(180deg, var(--accent-light) 0%, var(--bg) 60%);
}
.price-card-free .amount { color: var(--accent); }
.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
  padding: 12px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: background 0.2s ease, color 0.2s ease;
}
.btn-outline:hover {
  background: var(--accent-light);
  color: var(--accent);
}
.price-card {
  padding: 28px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.price-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.price-card.highlight {
  border-color: var(--accent);
  background: linear-gradient(180deg, var(--accent-light) 0%, var(--bg) 60%);
}
.price-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 4px;
  color: var(--text);
}
.price-card .period {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.price-card .amount {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 4px;
}
.price-card .amount-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.price-card ul {
  list-style: none;
}
.price-card li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 8px;
}
.price-card li::before {
  content: '';
  width: 18px;
  height: 18px;
  background: var(--accent);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
  flex-shrink: 0;
}
.pricing-disclaimer {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 20px;
  margin-bottom: 0;
}
.price-card .btn .cta-icon {
  width: 20px;
  height: 20px;
}

/* ----- Zona unica contatti + header: sticky insieme, niente buco in mezzo ----- */
.header-zone {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 101;
  /* Su mobile evita il buco in alto quando si scrolla: layer dedicato + sfondo esteso */
  background: #1a2332; /* stesso colore della contact-strip così un eventuale gap non traspare */
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
}

/* ----- Contact strip: colore autorevole, percezione sicurezza ----- */
.contact-strip {
  background: #1a2332;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 12px 24px;
}
.contact-strip .wrap {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px 32px;
}
.contact-strip a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}
.contact-strip a:hover {
  color: #fff;
}
.contact-strip .icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: 0.9;
}
/* ----- Contattaci: infobox orari e contatti ----- */
.contattaci-section {
  padding: var(--section-padding-tight) 24px;
  text-align: center;
  scroll-margin-top: 140px;
}
#contatti {
  scroll-margin-top: 140px;
}
.contattaci-section .section-title {
  margin-bottom: 8px;
}
.contattaci-section .section-subtitle {
  margin-bottom: 28px;
}
.contattaci-infobox {
  max-width: 520px;
  margin: 0 auto;
  padding: 32px 28px;
  background: linear-gradient(180deg, var(--accent-light) 0%, var(--surface) 100%);
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(15, 118, 110, 0.12);
  text-align: left;
}
.contattaci-infobox > div {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}
.contattaci-infobox > div:last-child {
  margin-bottom: 0;
}
.contattaci-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 2px;
}
.contattaci-infobox p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text);
}
.contattaci-infobox strong {
  color: var(--text);
}
.contattaci-link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease, text-decoration 0.2s ease;
}
.contattaci-link:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

/* ----- Sezione SEO testuale (densità keyword per Google) ----- */
.seo-section {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 56px;
  text-align: left;
}
.seo-section h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.35;
}
.seo-section p {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0;
}

.seo-section-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 20px;
}
.seo-section-nav a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease, text-decoration 0.2s ease;
}
.seo-section-nav a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

/* Guida freelance: voci con icone */
.seo-guida-intro {
  margin-bottom: 32px !important;
}
.seo-guida-item {
  margin-bottom: 32px;
  padding: 24px;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.seo-guida-item:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  border-color: var(--accent-light);
}
.seo-guida-item-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}
.seo-guida-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 12px;
  background: var(--accent-light);
  color: var(--accent);
}
.seo-guida-icon svg {
  width: 24px;
  height: 24px;
}
.seo-guida-item h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
  line-height: 1.3;
}
.seo-guida-item p {
  padding-left: 64px;
  margin: 0 !important;
}
@media (max-width: 600px) {
  .seo-guida-item-header { flex-wrap: wrap; }
  .seo-guida-item p { padding-left: 0; padding-top: 4px; }
}

/* ----- Footer ----- */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 48px 24px 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px 48px;
  margin-bottom: 40px;
}
.footer-col .footer-label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.footer-col ul {
  list-style: none;
}
.footer-col li {
  margin-bottom: 10px;
}
.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-col a:hover {
  color: var(--accent);
}
.footer-col .footer-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer-col .footer-contact-item .icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.footer-col .footer-trust {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text);
}
.footer-col .footer-trust + .footer-trust {
  margin-top: 8px;
}
.footer-col .footer-trust.muted {
  color: var(--text-muted);
  font-size: 0.85rem;
}
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 32px;
  }
  .footer-col {
    text-align: center;
  }
  .footer-col .footer-contact-item {
    justify-content: center;
  }
}

/* ----- Chi siamo ----- */
.chi-siamo {
  padding: var(--section-padding-tight) 24px;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.chi-siamo .section-title {
  margin-bottom: 20px;
}
.chi-siamo-identity {
  list-style: none;
}
.chi-siamo-identity li {
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.5;
}
.chi-siamo-identity li:last-of-type {
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0;
}
.chi-siamo-note {
  margin-top: 20px;
  font-size: 0.95rem;
  color: var(--text-muted);
}
.chi-siamo-chiusura {
  margin-top: 16px;
  font-size: 1rem;
  color: var(--text);
  line-height: 1.6;
}
.chi-siamo-chiusura strong {
  color: var(--accent);
}

/* ----- FAQ (accordion) ----- */
.faq-section {
  padding: var(--section-padding-tight) 24px;
  max-width: 720px;
  margin: 0 auto;
}
.faq-section .section-title {
  margin-bottom: 8px;
}
.faq-section .section-subtitle {
  margin-bottom: 36px;
}
.faq-list {
  list-style: none;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child {
  border-top: 1px solid var(--border);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  padding: 20px 0;
  border: none;
  background: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.4;
  transition: color 0.2s ease;
}
.faq-question:hover {
  color: var(--accent);
}
.faq-question .faq-question-text {
  flex: 1;
}
.faq-question .faq-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--accent);
  transition: transform 0.3s ease;
}
.faq-item.is-open .faq-icon {
  transform: rotate(180deg);
}
.faq-answer-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}
.faq-item.is-open .faq-answer-wrap {
  grid-template-rows: 1fr;
}
.faq-answer {
  overflow: hidden;
}
.faq-answer-inner {
  padding-bottom: 20px;
  padding-top: 0;
}
.faq-answer-inner p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ----- Modal Richiedi una chiamata (stile commercialista-card) ----- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2147483647;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
}
.modal-overlay.is-open {
  display: flex;
}
.modal-dialog {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hover);
  max-width: 420px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  z-index: 1;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 24px 16px;
  gap: 16px;
}
.modal-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text);
  margin: 0;
}
.modal-close {
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}
.modal-close:hover {
  background: var(--accent-light);
  color: var(--accent);
}
.modal-close svg {
  width: 20px;
  height: 20px;
}
.modal-body {
  padding: 0 24px 24px;
}
.modal-form .field {
  margin-bottom: 18px;
}
.modal-form label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 6px;
}
.modal-form label .optional {
  font-weight: 400;
  color: var(--text-muted);
}
.modal-form input {
  width: 100%;
  padding: 12px 14px;
  font-size: 1rem;
  font-family: var(--font-sans);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  background: var(--bg);
  box-sizing: border-box;
}
.modal-form input::placeholder {
  color: var(--text-muted);
}
.modal-form input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light);
}
.modal-form .hint {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 8px;
}
.modal-form .error {
  font-size: 0.85rem;
  color: #b91c1c;
  margin-top: 6px;
}
.modal-form .success {
  font-size: 0.95rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 16px;
}
.modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}
.modal-actions .btn {
  flex: 1;
  justify-content: center;
}
.modal-actions .btn-ghost {
  flex: 0;
}

/* ----- Cookie banner (solo tecnici, minimale) ----- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9998;
  padding: 14px 24px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.06);
  transition: transform 0.35s ease, opacity 0.35s ease;
}
.cookie-banner.cookie-banner--hidden {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.cookie-banner .cookie-ok {
  flex-shrink: 0;
  padding: 8px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s ease;
}
.cookie-banner .cookie-ok:hover {
  background: var(--accent-hover);
}

/* ----- Animations ----- */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Scroll-triggered fade-in */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.5s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.features-grid .feature-card { animation: fadeInUp 0.6s ease both; }
.features-grid .feature-card:nth-child(1) { animation-delay: 0.05s; }
.features-grid .feature-card:nth-child(2) { animation-delay: 0.1s; }
.features-grid .feature-card:nth-child(3) { animation-delay: 0.15s; }
.features-grid .feature-card:nth-child(4) { animation-delay: 0.2s; }
.features-grid .feature-card:nth-child(5) { animation-delay: 0.25s; }
.features-grid .feature-card:nth-child(6) { animation-delay: 0.3s; }

@media (max-width: 768px) {
  /* Copre il buco sopra l'header sticky su mobile (subpixel/safe-area) */
  .header-zone::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: -20px;
    height: 20px;
    background: #1a2332;
    pointer-events: none;
  }
  .contact-strip { padding: 6px 12px; }
  .contact-strip .wrap { flex-direction: row; justify-content: center; gap: 10px 16px; }
  .contact-strip a { font-size: 0.8rem; gap: 5px; }
  .contact-strip .icon { width: 14px; height: 14px; }
  .header { padding: 8px 0; }
  .header .wrap { flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: nowrap; padding: 0 16px; gap: 12px; position: relative; }
  .header .logo .logo-img { height: 32px; }
  .header .logo .logo-name { font-size: 1.15rem; }
  /* Hamburger visibile su mobile */
  .header-hamburger { display: flex; }
  /* Menu a tendina: dropdown compatto sotto l'header, meno invasivo */
  .header-menu {
    position: absolute;
    top: 100%;
    left: 12px;
    right: 12px;
    width: auto;
    max-width: calc(100vw - 24px);
    box-sizing: border-box;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 20px;
    margin-top: 6px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.3s ease, opacity 0.2s ease, visibility 0.2s ease, margin 0.2s ease, padding 0.2s ease;
    z-index: 99;
  }
  .header.is-open .header-menu {
    max-height: min(75vh, 420px);
    overflow-y: auto;
    opacity: 1;
    visibility: visible;
    -webkit-overflow-scrolling: touch;
  }
  .header-nav {
    flex-direction: column;
    align-items: stretch;
    font-size: 0.98rem;
    gap: 0;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--border);
  }
  .header-nav span { display: none; }
  .header-nav a {
    padding: 10px 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
  }
  .header-ctas {
    flex-direction: column;
    gap: 10px;
  }
  .header-ctas .btn { width: 100%; justify-content: center; box-sizing: border-box; }
  .header .header-menu .btn { padding: 12px 18px; font-size: 0.95rem; }
  .header .btn .cta-text-long { display: inline; }
  .header .btn .cta-text-short { display: none; }
  .header .btn .cta-call-long { display: inline; }
  .header .btn .cta-call-short { display: none; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero .lead { max-width: none; }
  .hero .cta-wrap { align-items: center; }
  .hero .cta-main { width: 100%; justify-content: center; }
  .hero-bullets { align-items: center; }
  .hero-mockup { max-width: 420px; margin: 0 auto; }
  .hero-winscontrino-content { padding-left: 0; text-align: left; }
  .hero-winscontrino .hero-content p { text-align: left; }
  .hero-winscontrino .hero-buttons { justify-content: flex-start; }
  .hero-winscontrino .hero-image { max-width: 420px; margin: 0 auto; }
  .hero-image-small { padding: 16px; }
  .hero-image-small img { max-height: 220px; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 100%; }
  .trust-logos { gap: 28px; }
  .trust-logos img { height: 32px; }
  /* Modal: sfondo solido dialog su mobile (evita trasparenza) */
  .modal-overlay { padding: 24px; align-items: center; justify-content: center; background: rgba(0,0,0,0.5); }
  .modal-dialog { max-width: 420px; width: 100%; background: #fff; }
  .modal-header { padding: 24px 24px 16px; }
  .modal-body { padding: 0 24px 24px; }
  .modal-form .field { margin-bottom: 18px; }
  .modal-form input { padding: 12px 14px; font-size: 16px; }
  .modal-actions { flex-direction: row; gap: 12px; margin-top: 24px; }
  .modal-actions .btn { flex: 1; }
}
