/* ============================================================
   EUPRAS.IT — La giusta prassi!
   ============================================================ */

:root {
  --primary:       #16a34a;
  --primary-dark:  #15803d;
  --primary-light: #4ade80;
  --primary-glow:  rgba(22,163,74,0.16);

  --navy:          #0b1c12;
  --navy-mid:      #0d2018;
  --navy-light:    #14301e;

  --white:         #ffffff;
  --gray-50:       #f8fafc;
  --gray-100:      #f1f5f9;
  --gray-200:      #e2e8f0;
  --gray-300:      #cbd5e1;
  --gray-400:      #94a3b8;
  --gray-500:      #64748b;
  --gray-600:      #475569;
  --gray-700:      #334155;
  --gray-800:      #1e293b;
  --gray-900:      #0f172a;

  --gradient-hero:    linear-gradient(140deg, #071410 0%, #0b1c12 40%, #0f2a1a 100%);
  --gradient-primary: linear-gradient(135deg, #16a34a 0%, #15803d 100%);

  --shadow-sm:   0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:   0 4px 16px rgba(0,0,0,0.1);
  --shadow-lg:   0 8px 32px rgba(0,0,0,0.12);
  --shadow-green: 0 8px 32px rgba(22,163,74,0.22);

  --radius-sm: 8px;
  --radius:    12px;
  --radius-lg: 18px;
  --t: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font-family: inherit; }

/* ─── UTILITIES ─────────────────────────────────────────────── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.section    { padding: 96px 0; }
.section-dark { background: var(--navy); color: var(--white); }
.section-tinted { background: var(--gray-50); }
.text-center { text-align: center; }

.badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(22,163,74,0.09);
  color: var(--primary-dark);
  border: 1px solid rgba(22,163,74,0.22);
  border-radius: 50px;
  padding: 5px 15px;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.7px; text-transform: uppercase;
  margin-bottom: 20px;
}
.badge::before { content: '◆'; font-size: 7px; color: var(--primary); }
.badge-dark {
  background: rgba(74,222,128,0.1);
  color: #86efac;
  border-color: rgba(74,222,128,0.2);
}
.badge-dark::before { color: #4ade80; }

/* ─── BUTTONS ────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-weight: 700; font-size: 14.5px;
  cursor: pointer; border: none;
  transition: var(--t);
  letter-spacing: 0.1px;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(22,163,74,0.38);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-green);
}
.btn-outline {
  background: transparent; color: var(--white);
  border: 2px solid rgba(255,255,255,0.32);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.6);
}
.btn-ghost-green {
  background: rgba(22,163,74,0.08);
  color: var(--primary-dark);
  border: 1px solid rgba(22,163,74,0.2);
}
.btn-ghost-green:hover {
  background: rgba(22,163,74,0.14);
  border-color: rgba(22,163,74,0.4);
}
.btn-white {
  background: var(--white); color: var(--primary-dark);
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}
.btn-white:hover {
  background: var(--gray-50);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}
.btn-lg { padding: 15px 32px; font-size: 15.5px; }

/* ─── PROMO BANNER ───────────────────────────────────────────── */
.promo-banner {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1001;
  background: var(--gradient-primary);
  color: var(--white);
}
.promo-banner-inner {
  max-width: 1240px; margin: 0 auto;
  padding: 11px 46px 11px 16px;
  display: flex; align-items: center; justify-content: center;
  gap: 10px; flex-wrap: nowrap;
  overflow: hidden;
  text-align: center;
  font-size: 13.5px; font-weight: 600;
  color: var(--white); text-decoration: none;
}
.promo-banner-inner:hover .promo-banner-cta { text-decoration: underline; }
.promo-banner-tag {
  flex-shrink: 0;
  background: rgba(255,255,255,0.2);
  padding: 3px 9px; border-radius: 20px;
  font-size: 11.5px; font-weight: 800; letter-spacing: 0.3px;
  text-transform: uppercase; white-space: nowrap;
}
.promo-banner-desc {
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.promo-banner-cta {
  flex-shrink: 0;
  color: var(--white); white-space: nowrap; font-weight: 700;
}
.promo-banner-close {
  position: absolute; right: 10px; top: 0; bottom: 0;
  display: flex; align-items: center;
  background: none; border: none; color: rgba(255,255,255,0.8);
  font-size: 20px; line-height: 1; cursor: pointer; padding: 4px 6px;
}
@media (max-width: 640px) {
  .promo-banner-inner { padding: 9px 40px 9px 12px; gap: 8px; font-size: 12.5px; }
  .promo-banner-desc { display: none; }
}
@media (max-width: 360px) {
  .promo-banner-tag { display: none; }
}
.promo-banner-close:hover { color: var(--white); }
body.promo-hidden .promo-banner { display: none; }

/* ─── HEADER + MEGA MENU ─────────────────────────────────────── */
#header {
  position: fixed; top: var(--banner-h, 0px); left: 0; right: 0;
  z-index: 1000;
  background: rgba(10,24,16,0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: box-shadow 0.3s;
}
#header.scrolled { box-shadow: 0 4px 28px rgba(0,0,0,0.3); }

.nav-wrap {
  display: flex; align-items: center;
  justify-content: space-between;
  height: 70px;
}

/* Logo */
.logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 20px; font-weight: 900;
  color: var(--white); letter-spacing: -0.5px;
  flex-shrink: 0;
}
.logo-mark {
  width: 38px; height: 38px;
  background: var(--gradient-primary);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 900; color: white;
  box-shadow: 0 4px 12px rgba(22,163,74,0.4);
  flex-shrink: 0;
}
.logo-name { color: var(--white); }
.logo-name em { font-style: normal; color: var(--primary-light); }

/* Nav items */
.nav-main {
  display: flex; align-items: center;
  gap: 2px;
  flex: 1; justify-content: flex-start; margin-left: 40px;
}

.nav-item { position: relative; }

.nav-btn {
  display: flex; align-items: center; gap: 4px;
  padding: 8px 13px;
  background: none; border: none; cursor: pointer;
  font-size: 13.5px; font-weight: 500;
  color: rgba(255,255,255,0.75);
  border-radius: 7px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.nav-btn svg { width: 13px; height: 13px; transition: transform 0.25s; flex-shrink: 0; }
.nav-btn:hover,
.nav-item.open > .nav-btn { color: var(--white); background: rgba(255,255,255,0.07); }
.nav-item.open > .nav-btn svg { transform: rotate(180deg); }

.nav-link {
  display: block;
  padding: 8px 13px;
  font-size: 13.5px; font-weight: 500;
  color: rgba(255,255,255,0.75);
  border-radius: 7px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.nav-link:hover { color: var(--white); background: rgba(255,255,255,0.07); }

/* Mega menu panel */
.mega-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%; transform: translateX(-50%);
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  box-shadow: 0 20px 60px rgba(0,0,0,0.14), 0 4px 16px rgba(0,0,0,0.07);
  padding: 28px;
  z-index: 500;
  min-width: 320px;

  /* Hidden state */
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-8px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  pointer-events: none;
}
.nav-item.open > .mega-panel {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

/* Mega panel — servizi (wide) */
.mega-panel.mega-wide {
  width: 900px;
  left: 50%;
}
/* Mega panel — medium */
.mega-panel.mega-med {
  width: 560px;
}
/* Mega panel — small */
.mega-panel.mega-sm {
  width: 280px;
  left: 0;
  transform: none;
}
.nav-item.open > .mega-panel.mega-sm {
  transform: none;
}
/* Ponte invisibile tra bottone e pannello (copre il gap 8px) */
.mega-panel::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0; right: 0;
  height: 12px;
}

/* Mega panel — full width (5 categorie servizi) */
.mega-panel.mega-full {
  position: fixed;
  top: 70px;
  left: 50%;
  width: 1340px;
}
.mega-4col-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0 18px;
}
.mega-4col-list > div {
  border-right: 1px solid var(--gray-100);
  padding-right: 20px;
}
.mega-4col-list > div:last-child {
  border-right: none;
  padding-right: 0;
}

/* Mega section label */
.mega-label {
  font-size: 10px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 1px;
  color: var(--gray-400);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--gray-100);
}

/* Service cards grid inside mega */
.mega-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.mega-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.mega-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.mega-grid-footer {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--gray-100);
}

.mega-card {
  display: flex; flex-direction: column;
  padding: 14px 14px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: var(--t);
  cursor: pointer;
}
.mega-card:hover {
  background: rgba(22,163,74,0.05);
  border-color: rgba(22,163,74,0.18);
}
.mega-card-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(22,163,74,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 17px;
  margin-bottom: 9px;
  transition: background 0.2s;
}
.mega-card:hover .mega-card-icon { background: rgba(22,163,74,0.18); }
.mega-card-title {
  font-size: 13px; font-weight: 700;
  color: var(--gray-800); margin-bottom: 4px;
  line-height: 1.3;
}
.mega-card:hover .mega-card-title { color: var(--primary-dark); }
.mega-card-desc {
  font-size: 11.5px; color: var(--gray-500);
  line-height: 1.5; flex: 1;
}

/* Simple list items in mega */
.mega-list { display: flex; flex-direction: column; gap: 4px; }
.mega-list-item {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 12px;
  border-radius: 7px;
  font-size: 13.5px; color: var(--gray-700); font-weight: 500;
  transition: var(--t);
}
.mega-list-item:hover {
  background: rgba(22,163,74,0.06);
  color: var(--primary-dark);
  padding-left: 16px;
}
.mega-list-item-icon { font-size: 16px; flex-shrink: 0; }
.mega-list-item-icon .ti { font-size: 17px; color: var(--primary); line-height: 1; }

/* Mega with sidebar */
.mega-with-sidebar { display: grid; grid-template-columns: 180px 1fr; gap: 24px; }
.mega-sidebar {
  border-right: 1px solid var(--gray-100);
  padding-right: 20px;
}

/* CTA strip at bottom of mega */
.mega-cta-strip {
  margin-top: 20px; padding-top: 18px;
  border-top: 1px solid var(--gray-100);
  display: flex; align-items: center; justify-content: space-between;
}
.mega-cta-strip p { font-size: 13px; color: var(--gray-500); }
.mega-cta-strip strong { color: var(--gray-800); }

/* Nav actions */
.nav-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-tel {
  font-size: 13px; font-weight: 600;
  color: rgba(255,255,255,0.65);
  display: flex; align-items: center; gap: 6px;
  transition: color 0.2s;
}
.nav-tel:hover { color: var(--primary-light); }

/* Hamburger */
.menu-toggle {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 6px; background: none; border: none;
}
.menu-toggle span {
  display: block; width: 22px; height: 2px;
  background: rgba(255,255,255,0.85); border-radius: 2px;
  transition: var(--t);
}

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed; top: calc(var(--banner-h, 0px) + 70px); left: 0; right: 0; bottom: 0;
  background: var(--navy);
  overflow-y: auto;
  padding: 24px 20px;
  z-index: 999;
  flex-direction: column; gap: 8px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a, .mobile-nav button {
  display: block; width: 100%; text-align: left;
  padding: 14px 16px;
  font-size: 15px; font-weight: 600;
  color: rgba(255,255,255,0.85);
  border-radius: 8px;
  background: none; border: none; cursor: pointer;
  font-family: inherit;
  transition: background 0.2s;
}
.mobile-nav a:hover, .mobile-nav button:hover {
  background: rgba(255,255,255,0.07);
  color: white;
}
.mobile-nav-section {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 16px; margin-top: 8px;
}
.mobile-nav-label {
  font-size: 10px; font-weight: 800; letter-spacing: 1px;
  text-transform: uppercase; color: rgba(255,255,255,0.3);
  padding: 0 16px; margin-bottom: 4px;
}

/* ─── HERO ───────────────────────────────────────────────────── */
.hero {
  background: var(--gradient-hero);
  padding: calc(148px + var(--banner-h, 0px)) 0 100px;
  position: relative; overflow: hidden;
}
.hero-decor-1 {
  position: absolute; top: -200px; right: -150px;
  width: 650px; height: 650px; border-radius: 50%;
  background: radial-gradient(circle, rgba(22,163,74,0.15) 0%, transparent 65%);
  pointer-events: none;
}
.hero-decor-2 {
  position: absolute; bottom: -150px; left: -100px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(22,163,74,0.08) 0%, transparent 65%);
  pointer-events: none;
}
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}

.hero-layout {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 64px;
  align-items: center;
}

.hero-content {}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(74,222,128,0.12);
  border: 1px solid rgba(74,222,128,0.22);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 12px; font-weight: 700;
  color: #86efac;
  letter-spacing: 0.7px; text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-eyebrow::before { content: '●'; font-size: 8px; color: var(--primary-light); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.4} }

.hero h1 {
  font-size: clamp(38px, 4.8vw, 58px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 22px;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, #4ade80, #86efac);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  font-size: 17.5px; line-height: 1.75;
  color: rgba(255,255,255,0.68);
  max-width: 520px; margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-proof {
  display: flex; gap: 36px;
  margin-top: 52px; padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.proof-item {}
.proof-val {
  font-size: 32px; font-weight: 900;
  color: var(--white); line-height: 1;
  letter-spacing: -0.5px;
}
.proof-val span { color: var(--primary-light); }
.proof-lbl {
  font-size: 12px; color: rgba(255,255,255,0.45);
  font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.5px; margin-top: 5px;
}

/* Hero card */
.hero-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  backdrop-filter: blur(12px);
}
.hero-card-title {
  font-size: 17px; font-weight: 800;
  color: var(--white); margin-bottom: 6px;
}
.hero-card-sub {
  font-size: 13.5px; color: rgba(255,255,255,0.55);
  margin-bottom: 26px; line-height: 1.55;
}
.contact-form { display: flex; flex-direction: column; gap: 10px; }
.contact-form > input,
.contact-form > select,
.contact-form > textarea {
  width: 100%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: 8px;
  padding: 11px 14px;
  font-size: 13.5px;
  color: var(--white);
  outline: none; font-family: inherit;
  transition: border-color 0.2s, background 0.2s;
  -webkit-appearance: none;
}
.contact-form > input::placeholder,
.contact-form > select::placeholder,
.contact-form > textarea::placeholder { color: rgba(255,255,255,0.3); }
.contact-form > input:focus,
.contact-form > select:focus,
.contact-form > textarea:focus {
  border-color: rgba(74,222,128,0.5);
  background: rgba(255,255,255,0.1);
}
.contact-form > select option { background: #0d2018; }
.contact-form > textarea { resize: none; height: 72px; }
.contact-form .btn { width: 100%; justify-content: center; margin-top: 4px; }
.form-note { font-size: 11.5px; color: rgba(255,255,255,0.3); text-align: center; margin-top: 8px; }

/* ─── TRUST BAR ──────────────────────────────────────────────── */
.trust-bar { background: var(--navy-mid); padding: 36px 0; }
.trust-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  overflow: hidden;
}
.trust-item {
  padding: 24px 20px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.06);
  position: relative;
}
.trust-item:last-child { border-right: none; }
.trust-val {
  font-size: 36px; font-weight: 900;
  color: var(--primary-light); line-height: 1;
  letter-spacing: -0.5px;
}
.trust-lbl {
  font-size: 11.5px; color: rgba(255,255,255,0.45);
  font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.5px; margin-top: 5px;
}

/* ─── SECTION HEADERS ────────────────────────────────────────── */
.sec-hd { margin-bottom: 56px; }
.sec-hd h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 900;
  letter-spacing: -0.8px; line-height: 1.15;
  margin-bottom: 14px;
}
.sec-hd p {
  font-size: 16.5px; color: var(--gray-500);
  max-width: 560px; line-height: 1.72;
}
.sec-hd.center { text-align: center; }
.sec-hd.center p { margin: 0 auto; }
.section-dark .sec-hd p { color: rgba(255,255,255,0.55); }

/* ─── SERVICES GRID ──────────────────────────────────────────── */
.srv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.srv-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px 26px 24px;
  position: relative; overflow: hidden;
  transition: var(--t);
  display: flex; flex-direction: column;
}
.srv-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s ease;
}
.srv-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(22,163,74,0.12);
  border-color: rgba(22,163,74,0.2);
}
.srv-card:hover::before { transform: scaleX(1); }

.srv-ico {
  width: 50px; height: 50px; border-radius: 10px;
  background: rgba(22,163,74,0.09);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 18px; color: var(--primary);
  transition: background 0.2s;
}
.srv-card:hover .srv-ico { background: rgba(22,163,74,0.16); }
.srv-card h3 { font-size: 16.5px; font-weight: 800; margin-bottom: 8px; color: var(--gray-800); }
.srv-card p  { font-size: 13.5px; color: var(--gray-500); line-height: 1.65; flex: 1; margin-bottom: 18px; }
.srv-link {
  font-size: 13px; font-weight: 700;
  color: var(--primary); display: inline-flex; align-items: center; gap: 5px;
  transition: gap 0.2s;
}
.srv-link:hover { gap: 9px; }

/* ─── WHY US ─────────────────────────────────────────────────── */
.why-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
.why-item {
  padding: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  border-right: 1px solid rgba(255,255,255,0.05);
  transition: background 0.3s;
}
.why-item:hover { background: rgba(255,255,255,0.03); }
.why-item:nth-child(2n) { border-right: none; }
.why-item:nth-last-child(-n+2) { border-bottom: none; }
.why-ico {
  font-size: 28px; margin-bottom: 14px; color: var(--primary);
  display: block;
}
.why-item h3 { font-size: 17px; font-weight: 800; color: var(--white); margin-bottom: 10px; }
.why-item p  { font-size: 14px; color: rgba(255,255,255,0.58); line-height: 1.7; }

/* ─── PROCESS ────────────────────────────────────────────────── */
.process-steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 28px; left: 60px; right: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  z-index: 0;
}
.process-step {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 0 20px;
  position: relative; z-index: 1;
}
.step-num {
  width: 56px; height: 56px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 900; color: white;
  margin-bottom: 20px;
  box-shadow: 0 4px 14px rgba(22,163,74,0.4);
}
.process-step h4 { font-size: 15px; font-weight: 800; margin-bottom: 8px; color: var(--gray-800); }
.process-step p  { font-size: 13px; color: var(--gray-500); line-height: 1.6; }

/* ─── TESTIMONIALS ───────────────────────────────────────────── */
.rating-hero {
  display: flex; align-items: center; gap: 24px;
  justify-content: center; margin-bottom: 52px;
}
.rating-big {
  font-size: 80px; font-weight: 900;
  color: var(--white); line-height: 1;
  letter-spacing: -2px;
}
.rating-meta {}
.rating-stars { font-size: 28px; color: #fbbf24; letter-spacing: 3px; }
.rating-count { font-size: 13px; color: rgba(255,255,255,0.4); margin-top: 4px; }

.reviews-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.review-card {
  background: rgba(255,255,255,0.042);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  padding: 26px;
  transition: var(--t);
}
.review-card:hover {
  background: rgba(255,255,255,0.065);
  border-color: rgba(74,222,128,0.14);
}
.rv-stars { color: #fbbf24; font-size: 13px; letter-spacing: 2px; margin-bottom: 12px; }
.rv-text {
  font-size: 14px; color: rgba(255,255,255,0.78);
  line-height: 1.72; font-style: italic; margin-bottom: 20px;
}
.rv-author { display: flex; align-items: center; gap: 10px; }
.rv-av {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--gradient-primary);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; color: white; font-size: 14px; flex-shrink: 0;
}
.rv-name { font-weight: 700; font-size: 13px; color: var(--white); }
.rv-role { font-size: 11.5px; color: rgba(255,255,255,0.38); }

/* ─── INDUSTRIES / SOLUZIONI ─────────────────────────────────── */
.industry-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.industry-card {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px 24px;
  background: var(--white);
  transition: var(--t);
  display: flex; flex-direction: column;
}
.industry-card:hover {
  border-color: rgba(22,163,74,0.3);
  box-shadow: 0 8px 28px rgba(22,163,74,0.1);
  transform: translateY(-3px);
}
.ind-ico { font-size: 28px; margin-bottom: 14px; color: var(--primary); }
.industry-card h3 { font-size: 16px; font-weight: 800; margin-bottom: 8px; }
.industry-card p  { font-size: 13.5px; color: var(--gray-500); line-height: 1.65; flex: 1; margin-bottom: 16px; }
.ind-link { font-size: 13px; font-weight: 700; color: var(--primary); }

/* ─── PRICING ────────────────────────────────────────────────── */
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 22px; align-items: stretch;
}
.plan {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: 16px;
  padding: 36px 28px;
  position: relative; display: flex; flex-direction: column;
  transition: var(--t);
}
.plan:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(22,163,74,0.1); }
.plan.featured {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(22,163,74,0.08);
}
.plan-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--gradient-primary); color: white;
  font-size: 10.5px; font-weight: 800; padding: 4px 16px;
  border-radius: 20px; white-space: nowrap;
  text-transform: uppercase; letter-spacing: 0.8px;
}
.plan-tier { font-size: 10.5px; font-weight: 800; color: var(--primary); text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 5px; }
.plan-name { font-size: 22px; font-weight: 900; margin-bottom: 6px; }
.plan-price { font-size: 46px; font-weight: 900; color: var(--primary); line-height: 1; margin-bottom: 3px; }
.plan-price sup { font-size: 22px; font-weight: 700; vertical-align: super; }
.plan-price sub { font-size: 16px; font-weight: 500; color: var(--gray-400); }
.plan-period { font-size: 12.5px; color: var(--gray-400); margin-bottom: 14px; }
.plan-desc { font-size: 13.5px; color: var(--gray-600); padding-bottom: 20px; border-bottom: 1px solid var(--gray-200); margin-bottom: 20px; line-height: 1.6; }
.plan-feats { flex: 1; display: flex; flex-direction: column; gap: 10px; margin-bottom: 26px; }
.plan-feat { display: flex; align-items: flex-start; gap: 9px; font-size: 13px; color: var(--gray-700); line-height: 1.45; }
.plan-feat .ck { color: var(--primary); font-weight: 900; flex-shrink: 0; font-size: 14px; }
.plan .btn { width: 100%; justify-content: center; }

/* ─── FAQ ────────────────────────────────────────────────────── */
.faq-wrap { max-width: 740px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--gray-200); border-radius: 10px;
  margin-bottom: 10px; overflow: hidden; transition: border-color 0.2s;
}
.faq-item.open { border-color: rgba(22,163,74,0.32); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 22px; background: none; border: none; cursor: pointer; text-align: left;
  font-size: 15px; font-weight: 700; color: var(--gray-800);
  transition: background 0.2s; font-family: inherit;
}
.faq-q:hover { background: var(--gray-50); }
.faq-ico { font-size: 20px; color: var(--primary); flex-shrink: 0; transition: transform 0.3s; font-style: normal; line-height: 1; }
.faq-item.open .faq-ico { transform: rotate(45deg); }
.faq-body { max-height: 0; overflow: hidden; transition: max-height 0.38s cubic-bezier(0.4,0,0.2,1); }
.faq-item.open .faq-body { max-height: 340px; }
.faq-body p { padding: 0 22px 20px; font-size: 14.5px; color: var(--gray-600); line-height: 1.74; }

/* ─── CTA ────────────────────────────────────────────────────── */
.cta-section {
  background: var(--gradient-primary);
  padding: 96px 0; text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
}
.cta-inner { position: relative; z-index: 1; }
.cta-section h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 900; color: white; letter-spacing: -0.8px; margin-bottom: 14px; }
.cta-section p { font-size: 18px; color: rgba(255,255,255,0.82); max-width: 520px; margin: 0 auto 36px; line-height: 1.7; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ─── FOOTER ─────────────────────────────────────────────────── */
footer { background: var(--navy); color: rgba(255,255,255,0.55); padding: 72px 0 28px; }
.footer-top {
  display: grid; grid-template-columns: 2.5fr 1fr 1fr 1.2fr;
  gap: 56px; padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.055);
}
.footer-logo-name { font-size: 20px; font-weight: 900; color: var(--white); margin-bottom: 5px; }
.footer-logo-name em { font-style: normal; color: var(--primary-light); }
.footer-tagline { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--primary-light); margin-bottom: 14px; }
.footer-about { font-size: 13.5px; line-height: 1.72; margin-bottom: 22px; max-width: 320px; }
.footer-contacts { display: flex; flex-direction: column; gap: 9px; }
.footer-contacts a {
  font-size: 13px; color: rgba(255,255,255,0.5);
  display: flex; align-items: center; gap: 8px;
  transition: color 0.2s;
}
.footer-contacts a:hover { color: var(--primary-light); }

.footer-col h4 {
  font-size: 11px; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.8px; color: var(--white); margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: 13.5px; color: rgba(255,255,255,0.48); transition: color 0.2s; }
.footer-col ul a:hover { color: var(--primary-light); }

.footer-bottom {
  margin-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; flex-wrap: wrap; gap: 10px;
}
.footer-legal { display: flex; gap: 18px; }
.footer-legal a { color: rgba(255,255,255,0.32); transition: color 0.2s; }
.footer-legal a:hover { color: var(--primary-light); }

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1340px) {
  .mega-panel.mega-full { width: calc(100vw - 40px); left: 20px; transform: none; }
  .nav-item.open > .mega-panel.mega-full { transform: translateY(0); }
}
@media (max-width: 1100px) {
  .mega-panel.mega-wide { width: 720px; }
  .mega-4col-list { grid-template-columns: repeat(3, 1fr); }
  .mega-grid-4 { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 1024px) {
  .hero-layout { grid-template-columns: 1fr; }
  .hero-card { display: none; }
  .srv-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .process-steps::before { display: none; }
}
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .hero { padding: 108px 0 64px; }
  .nav-main { display: none; }
  .nav-tel { display: none; }
  .menu-toggle { display: flex; }
  .trust-row { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: none; }
  .trust-item:nth-child(3) { border-top: 1px solid rgba(255,255,255,0.06); border-right: 1px solid rgba(255,255,255,0.06); }
  .trust-item:nth-child(4) { border-top: 1px solid rgba(255,255,255,0.06); }
  .srv-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .why-item { border-right: none !important; }
  .industry-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cta-btns { flex-direction: column; align-items: center; }
  .hero-proof { flex-wrap: wrap; gap: 22px; }
}

/* ─── ANIMATIONS ─────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}
.fu  { animation: fadeUp 0.65s ease both; }
.d1  { animation-delay: 0.1s; }
.d2  { animation-delay: 0.2s; }
.d3  { animation-delay: 0.3s; }
.d4  { animation-delay: 0.42s; }

.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ─── PAGE INNER ─────────────────────────────────────────────── */
.page-hero {
  background: var(--gradient-hero);
  padding: calc(130px + var(--banner-h, 0px)) 0 80px;
  position: relative; overflow: hidden;
}
/* ─── AURORA ──────────────────────────────────────────────────── */
/* ─── AURORA ──────────────────────────────────────────────────── */
.aurora-b1, .aurora-b2, .aurora-b3,
.page-hero::before, .page-hero::after {
  position: absolute; pointer-events: none; border-radius: 50%;
}
/* Blob 1 — verde, in alto a sinistra */
.aurora-b1 {
  width: 80vw; height: 60vw;
  background: radial-gradient(ellipse at center,
    rgba(74,222,128,0.50) 0%,
    rgba(34,197,94,0.22) 40%,
    transparent 70%);
  top: -8vw; left: -12vw; z-index: 0;
  animation: aub1 18s ease-in-out infinite alternate;
}
/* Blob 2 — teal, in alto a destra */
.aurora-b2 {
  width: 65vw; height: 50vw;
  background: radial-gradient(ellipse at center,
    rgba(45,212,191,0.42) 0%,
    rgba(20,184,166,0.18) 40%,
    transparent 70%);
  top: -6vw; right: -10vw; z-index: 0;
  animation: aub2 22s ease-in-out infinite alternate;
}
/* Blob 3 — verde scuro, in basso al centro */
.aurora-b3 {
  width: 55vw; height: 40vw;
  background: radial-gradient(ellipse at center,
    rgba(22,163,74,0.30) 0%,
    rgba(16,122,56,0.12) 40%,
    transparent 70%);
  bottom: -5vw; left: 25vw; z-index: 0;
  animation: aub3 20s ease-in-out infinite alternate;
}
.hero > .container,
.page-hero > .container { position: relative; z-index: 1; }
@keyframes aub1 {
  0%   { transform: translate(0,0)        scale(1); }
  50%  { transform: translate(60px,-40px) scale(1.10); }
  100% { transform: translate(20px,35px)  scale(0.92); }
}
@keyframes aub2 {
  0%   { transform: translate(0,0)        scale(1); }
  50%  { transform: translate(-50px,38px) scale(1.07); }
  100% { transform: translate(14px,-26px) scale(0.95); }
}
@keyframes aub3 {
  0%   { transform: translate(0,0)         scale(1); }
  50%  { transform: translate(38px,48px)   scale(1.12); }
  100% { transform: translate(-42px,-12px) scale(0.88); }
}

.page-hero .hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(74,222,128,0.12); border: 1px solid rgba(74,222,128,0.22);
  border-radius: 50px; padding: 5px 15px;
  font-size: 11.5px; font-weight: 700; color: #86efac;
  letter-spacing: 0.7px; text-transform: uppercase; margin-bottom: 20px;
}
.page-hero h1 {
  font-size: clamp(32px, 4vw, 52px); font-weight: 900;
  color: white; letter-spacing: -1px; margin-bottom: 16px; line-height: 1.12;
}
.page-hero .hero-sub {
  font-size: 17px; color: rgba(255,255,255,0.7);
  max-width: 620px; line-height: 1.72; margin-bottom: 30px;
}
.page-hero .hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Breadcrumb */
.breadcrumb-nav {
  background: var(--gray-50); border-bottom: 1px solid var(--gray-200); padding: 10px 0;
}
.breadcrumb { display: flex; align-items: center; gap: 0; font-size: 13px; color: var(--gray-500); flex-wrap: wrap; }
.breadcrumb li { display: flex; align-items: center; }
.breadcrumb li + li::before { content: '›'; margin: 0 8px; color: var(--gray-300); }
.breadcrumb a { color: var(--gray-500); } .breadcrumb a:hover { color: var(--primary); }
.breadcrumb [aria-current] { color: var(--gray-800); font-weight: 600; }

/* Benefits grid */
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.benefit-box {
  background: white; border: 1px solid var(--gray-200);
  border-radius: var(--radius); padding: 28px; transition: var(--t);
}
.benefit-box:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(22,163,74,0.1); border-color: rgba(22,163,74,0.2); }
.benefit-ico { font-size: 28px; margin-bottom: 14px; color: var(--primary); line-height: 1; }
.benefit-box h3 { font-size: 16px; font-weight: 800; margin-bottom: 8px; }
.benefit-box p { font-size: 13.5px; color: var(--gray-500); line-height: 1.65; }

/* Spese ammissibili — card con tag */
.spend-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.spend-card {
  background: white; border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 32px; transition: var(--t);
}
.spend-card:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(22,163,74,0.1); border-color: rgba(22,163,74,0.2); }
.spend-card-ico {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--primary-glow); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 18px;
}
.spend-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.spend-card .spend-sub { font-size: 13.5px; color: var(--gray-500); margin-bottom: 22px; }
.spend-tags { display: flex; flex-wrap: wrap; gap: 9px; }
.spend-tag {
  display: flex; align-items: center; gap: 7px;
  background: var(--gray-50); border: 1px solid var(--gray-200);
  border-radius: 20px; padding: 8px 14px;
  font-size: 12.5px; font-weight: 600; color: var(--gray-700);
  transition: var(--t);
}
.spend-tag:hover { background: var(--primary-glow); border-color: rgba(22,163,74,0.25); color: var(--primary-dark); }
.spend-tag i { color: var(--primary); font-size: 15px; }
.spend-note {
  font-size: 13px; color: var(--gray-500); margin-top: 22px;
  padding-top: 20px; border-top: 1px solid var(--gray-200);
}
@media (max-width: 768px) { .spend-grid { grid-template-columns: 1fr; } }

/* Feature list */
.feature-list { display: flex; flex-direction: column; gap: 14px; }
.feature-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 18px 20px; background: var(--gray-50);
  border-radius: 10px; border: 1px solid var(--gray-200);
}
.feature-item .fi-ico { font-size: 22px; flex-shrink: 0; margin-top: 1px; color: var(--primary); }
.feature-item h4 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.feature-item p { font-size: 13.5px; color: var(--gray-500); line-height: 1.6; }

/* Two-col layout */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }

/* Stat boxes */
.stat-boxes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.stat-box {
  background: rgba(22,163,74,0.07); border: 1px solid rgba(22,163,74,0.16);
  border-radius: var(--radius); padding: 24px; text-align: center;
}
.stat-box .sb-val { font-size: 40px; font-weight: 900; color: var(--primary); line-height: 1; }
.stat-box .sb-lbl { font-size: 12px; color: var(--gray-600); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-top: 6px; }

/* Dark stat boxes */
.stat-boxes-dark .stat-box {
  background: rgba(74,222,128,0.08); border-color: rgba(74,222,128,0.15);
}
.stat-boxes-dark .stat-box .sb-val { color: var(--primary-light); }
.stat-boxes-dark .stat-box .sb-lbl { color: rgba(255,255,255,0.5); }

/* Steps numbered */
.steps-list { display: flex; flex-direction: column; gap: 0; }
.step-row {
  display: flex; gap: 24px; padding: 28px 0;
  border-bottom: 1px solid var(--gray-200);
}
.step-row:last-child { border-bottom: none; }
.step-n {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--gradient-primary); color: white;
  font-size: 18px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.step-row h4 { font-size: 16px; font-weight: 800; margin-bottom: 6px; }
.step-row p { font-size: 14px; color: var(--gray-500); line-height: 1.65; }

/* Check list */
.check-list { display: flex; flex-direction: column; gap: 12px; }
.check-list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 14.5px; color: var(--gray-700); line-height: 1.5;
  background: var(--gray-50); border: 1px solid var(--gray-200);
  border-radius: 10px; padding: 11px 14px 11px 12px;
  transition: var(--t);
}
.check-list li:hover { background: var(--primary-glow); border-color: rgba(22,163,74,0.25); transform: translateX(2px); }
.check-list li::before {
  content: '✓'; flex-shrink: 0; margin-top: 1px;
  width: 19px; height: 19px; border-radius: 50%;
  background: var(--primary); color: var(--white);
  font-size: 11px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
}

/* Zone hero map placeholder */
.zone-highlight {
  background: rgba(22,163,74,0.06); border: 1px solid rgba(22,163,74,0.18);
  border-radius: var(--radius); padding: 32px;
}
.zone-towns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.zone-tag {
  background: white; border: 1px solid var(--gray-200);
  border-radius: 50px; padding: 5px 14px;
  font-size: 13px; font-weight: 600; color: var(--gray-700);
}

/* Case study cards */
.cs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.cs-card {
  background: white; border: 1px solid var(--gray-200);
  border-radius: var(--radius); overflow: hidden; transition: var(--t);
}
.cs-card:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(22,163,74,0.1); }
.cs-card-top { background: var(--gradient-primary); padding: 24px; }
.cs-card-sector { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,0.7); margin-bottom: 6px; }
.cs-card-top h3 { font-size: 18px; font-weight: 900; color: white; }
.cs-card-body { padding: 24px; }
.cs-label { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--gray-400); margin-bottom: 6px; margin-top: 16px; }
.cs-label:first-child { margin-top: 0; }
.cs-card-body p { font-size: 14px; color: var(--gray-600); line-height: 1.65; }
.cs-results { display: flex; gap: 20px; margin-top: 20px; }
.cs-result { text-align: center; }
.cs-result-val { font-size: 28px; font-weight: 900; color: var(--primary); line-height: 1; }
.cs-result-lbl { font-size: 11px; color: var(--gray-400); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-top: 4px; }

/* Pricing comparison table */
.pricing-table { width: 100%; border-collapse: collapse; margin-top: 40px; }
.pricing-table th { background: var(--navy); color: white; padding: 16px 20px; text-align: left; font-size: 13px; font-weight: 700; }
.pricing-table th:first-child { border-radius: 10px 0 0 0; }
.pricing-table th:last-child { border-radius: 0 10px 0 0; }
.pricing-table td { padding: 14px 20px; border-bottom: 1px solid var(--gray-200); font-size: 14px; vertical-align: top; }
.pricing-table tr:last-child td { border-bottom: none; }
.pricing-table tr:hover td { background: var(--gray-50); }
.pricing-table .check-y { color: var(--primary); font-weight: 900; font-size: 16px; }
.pricing-table .check-n { color: var(--gray-300); }
.pricing-table .col-feat { font-weight: 600; color: var(--gray-800); }
.pricing-table .col-featured { background: rgba(22,163,74,0.04); }

/* Team grid */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card { text-align: center; }
.team-av {
  width: 88px; height: 88px; border-radius: 50%;
  background: var(--gradient-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; font-weight: 900; color: white;
  margin: 0 auto 16px;
}
.team-card h4 { font-size: 16px; font-weight: 800; margin-bottom: 4px; }
.team-card p { font-size: 13.5px; color: var(--gray-500); }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: 1fr 420px; gap: 72px; }
.contact-info-item { display: flex; gap: 16px; margin-bottom: 28px; }
.ci-icon { font-size: 24px; flex-shrink: 0; }
.ci-text h4 { font-size: 15px; font-weight: 800; margin-bottom: 4px; }
.ci-text p, .ci-text a { font-size: 14.5px; color: var(--gray-600); line-height: 1.6; }
.ci-text a:hover { color: var(--primary); }
.contact-form-box {
  background: var(--gray-50); border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 36px;
}
.contact-form-box h3 { font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.contact-form-box p { font-size: 14px; color: var(--gray-500); margin-bottom: 24px; }
.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.form-field label { font-size: 13px; font-weight: 700; color: var(--gray-700); }
.form-field input, .form-field select, .form-field textarea {
  padding: 11px 14px; border: 1px solid var(--gray-300);
  border-radius: 8px; font-size: 14px; font-family: inherit;
  outline: none; transition: border-color 0.2s;
  background: white;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color: var(--primary);
}
.form-field textarea { resize: vertical; min-height: 100px; }

@media (max-width: 1024px) {
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .cs-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .benefits-grid { grid-template-columns: 1fr; }
  .stat-boxes { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   FORM — consensi GDPR, honeypot, stati di invio
   ============================================================ */

/* Honeypot: nascosto agli utenti (anche agli screen reader), visibile ai bot. */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

.consent-block { display: flex; flex-direction: column; gap: 10px; margin: 14px 0 4px; }

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--gray-600);
  cursor: pointer;
}
.consent-row input[type="checkbox"] {
  flex: 0 0 auto;
  width: 16px; height: 16px;
  margin-top: 1px;
  accent-color: var(--primary);
  cursor: pointer;
}
.consent-row a { color: var(--primary-dark); text-decoration: underline; }
.consent-row abbr { color: var(--primary-dark); text-decoration: none; font-weight: 700; }
.consent-row em { font-style: normal; color: var(--gray-400); }

/* Variante su sfondo scuro (hero) */
.consent-dark .consent-row { color: rgba(255,255,255,0.55); }
.consent-dark .consent-row a { color: var(--primary-light); }
.consent-dark .consent-row abbr { color: var(--primary-light); }
.consent-dark .consent-row em { color: rgba(255,255,255,0.35); }

/* Errori per campo */
.field-error { font-size: 12px; color: #dc2626; margin: 5px 0 0; }
.contact-form .has-error,
.form-field .has-error { border-color: #dc2626 !important; }
.consent-row input.has-error { outline: 2px solid #dc2626; outline-offset: 2px; }

/* Esito invio */
.form-status { font-size: 13px; line-height: 1.5; margin: 10px 0 0; text-align: center; }
.form-status:empty { display: none; }
.form-status.is-ok { color: var(--primary-dark); font-weight: 600; }
.form-status.is-error { color: #dc2626; font-weight: 600; }
.contact-form .form-status.is-ok { color: var(--primary-light); }
.contact-form .form-status.is-error { color: #fca5a5; }

/* ============================================================
   PAGINE LEGALI — informativa privacy, cookie, termini
   ============================================================ */

.legal-doc { max-width: 780px; margin: 0 auto; font-size: 15px; line-height: 1.75; color: var(--gray-700); }
.legal-doc .legal-meta { font-size: 13px; color: var(--gray-400); margin-bottom: 36px; }
.legal-doc h2 {
  font-size: 20px; font-weight: 800; color: var(--gray-900);
  margin: 40px 0 12px; padding-top: 20px;
  border-top: 1px solid var(--gray-200);
}
.legal-doc h2:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }
.legal-doc p { margin-bottom: 14px; }
.legal-doc ul { margin: 0 0 16px 20px; }
.legal-doc li { margin-bottom: 8px; }
.legal-doc a { color: var(--primary-dark); text-decoration: underline; }
.legal-doc strong { color: var(--gray-900); font-weight: 700; }

.legal-table { width: 100%; border-collapse: collapse; margin: 8px 0 20px; font-size: 13.5px; }
.legal-table th, .legal-table td {
  border: 1px solid var(--gray-200);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
.legal-table th { background: var(--gray-50); font-weight: 700; color: var(--gray-800); }

@media (max-width: 640px) {
  .legal-table, .legal-table thead, .legal-table tbody, .legal-table tr, .legal-table th, .legal-table td { display: block; }
  .legal-table thead { display: none; }
  .legal-table tr { margin-bottom: 14px; border: 1px solid var(--gray-200); border-radius: var(--radius-sm); overflow: hidden; }
  .legal-table td { border: none; border-bottom: 1px solid var(--gray-100); }
  .legal-table td:last-child { border-bottom: none; }
}
