/* ===================================================
   NEXLEVEL SRL — style.css
   Colori: #000000 nero, #0066FF blu elettrico, #FFFFFF bianco, #1a1a2e blu scuro
   =================================================== */

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

:root {
  --blue: #0066FF;
  --blue-light: #3385ff;
  --blue-dark: #0044cc;
  --blue-glow: rgba(0, 102, 255, 0.3);
  --black: #000000;
  --dark: #0a0a0f;
  --dark2: #0d0d1a;
  --dark3: #111122;
  --white: #ffffff;
  --gray: #8892a4;
  --gray-light: #c8d0dc;
  --green-wa: #25D366;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-blue: 0 4px 24px rgba(0, 102, 255, 0.25);
  --transition: 0.3s ease;
}

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

body {
  font-family: var(--font);
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.blue { color: var(--blue); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover {
  background: var(--blue-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 102, 255, 0.4);
}

.btn-whatsapp {
  background: var(--green-wa);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}
.btn-whatsapp:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}
.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-full { width: 100%; justify-content: center; }

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(10, 10, 20, 0.97);
  border-top: 1px solid rgba(0, 102, 255, 0.3);
  z-index: 9999;
  padding: 16px 24px;
  backdrop-filter: blur(10px);
  display: none;
}
.cookie-banner.visible { display: block; }
.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-content p { font-size: 0.875rem; color: var(--gray-light); flex: 1; min-width: 200px; }
.cookie-content a { color: var(--blue); text-decoration: underline; }
.cookie-buttons { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-cookie-accept {
  background: var(--blue); color: var(--white);
  border: none; padding: 8px 20px; border-radius: 8px;
  font-size: 0.875rem; font-weight: 600; cursor: pointer;
}
.btn-cookie-reject {
  background: transparent; color: var(--gray-light);
  border: 1px solid rgba(255,255,255,0.2); padding: 8px 20px;
  border-radius: 8px; font-size: 0.875rem; cursor: pointer;
}
.btn-cookie-manage {
  color: var(--blue); font-size: 0.875rem; padding: 8px 0;
  text-decoration: underline; cursor: pointer;
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 102, 255, 0.15);
  transition: var(--transition);
}
.header.scrolled {
  background: rgba(0, 0, 0, 0.97);
  border-bottom-color: rgba(0, 102, 255, 0.3);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}
.nav-logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.nav-logo-text small {
  font-size: 0.65rem;
  font-weight: 400;
  color: var(--gray);
  letter-spacing: 2px;
  display: block;
  line-height: 1;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-light);
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: var(--white);
  background: rgba(0, 102, 255, 0.1);
}
.nav-link.nav-cta {
  background: var(--blue);
  color: var(--white);
  font-weight: 600;
}
.nav-link.nav-cta:hover {
  background: var(--blue-light);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 0 60px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0, 102, 255, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 80%, rgba(0, 102, 255, 0.06) 0%, transparent 60%),
    linear-gradient(180deg, #000000 0%, #050510 100%);
  z-index: 0;
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  background: rgba(0, 102, 255, 0.15);
  border: 1px solid rgba(0, 102, 255, 0.3);
  color: var(--blue-light);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 20px;
  text-shadow: 0 0 60px rgba(0, 102, 255, 0.3);
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--gray-light);
  max-width: 600px;
  margin: 0 auto 16px;
  line-height: 1.7;
}

.hero-tagline {
  font-size: 1rem;
  color: var(--gray);
  margin-bottom: 36px;
  font-style: italic;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-pills {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  color: var(--gray-light);
}
.pill svg { color: var(--blue); }

.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.hero-scroll span {
  display: block;
  width: 2px;
  height: 40px;
  background: linear-gradient(to bottom, var(--blue), transparent);
  margin: 0 auto;
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { opacity: 0.3; transform: scaleY(0.5); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ===== SECTION BASE ===== */
.section { padding: 96px 0; }
.dark-section { background: var(--dark2); }

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-label {
  display: inline-block;
  background: rgba(0, 102, 255, 0.12);
  border: 1px solid rgba(0, 102, 255, 0.25);
  color: var(--blue-light);
  padding: 4px 16px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== CHI SIAMO ===== */
.chi-siamo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.chi-siamo-text p {
  color: var(--gray-light);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.chi-siamo-stats {
  display: flex;
  gap: 32px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.stat { text-align: center; }
.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 0.8rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.chi-siamo-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.visual-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: var(--transition);
}
.visual-card:hover {
  border-color: rgba(0, 102, 255, 0.3);
  background: rgba(0, 102, 255, 0.05);
  transform: translateX(4px);
}

.visual-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: rgba(0, 102, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
}

.visual-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.visual-card p {
  font-size: 0.875rem;
  color: var(--gray);
  line-height: 1.6;
}

/* ===== SERVIZI ===== */
.servizi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.service-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  opacity: 0;
  transition: var(--transition);
}
.service-card:hover {
  border-color: rgba(0, 102, 255, 0.3);
  background: rgba(0, 102, 255, 0.05);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 102, 255, 0.15);
}
.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 60px;
  height: 60px;
  background: rgba(0, 102, 255, 0.12);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  margin-bottom: 18px;
  transition: var(--transition);
}
.service-card:hover .service-icon {
  background: rgba(0, 102, 255, 0.2);
  box-shadow: 0 0 20px rgba(0, 102, 255, 0.3);
}

.service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.service-card p {
  font-size: 0.875rem;
  color: var(--gray);
  line-height: 1.7;
}

/* ===== SETTORI ===== */
.settori-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}

.settore-item {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  transition: var(--transition);
  cursor: default;
}
.settore-item:hover {
  border-color: rgba(0, 102, 255, 0.35);
  background: rgba(0, 102, 255, 0.07);
  transform: translateY(-3px);
}

.settore-icon {
  width: 52px;
  height: 52px;
  background: rgba(0, 102, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  margin: 0 auto 12px;
}

.settore-item span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-light);
}

/* ===== PERCHE NOI ===== */
.perche-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}

.perche-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 24px;
  transition: var(--transition);
}
.perche-item:hover {
  border-color: rgba(0, 102, 255, 0.25);
  background: rgba(0, 102, 255, 0.04);
}

.perche-num {
  font-size: 2rem;
  font-weight: 900;
  color: rgba(0, 102, 255, 0.25);
  line-height: 1;
  flex-shrink: 0;
  min-width: 48px;
}

.perche-text h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.perche-text p {
  font-size: 0.875rem;
  color: var(--gray);
  line-height: 1.6;
}

.perche-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== PREVENTIVO ===== */
.preventivo-wrapper {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
}

.preventivo-form {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-light);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 12px 16px;
  color: var(--white);
  font-family: var(--font);
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
  -webkit-appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.25);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  background: rgba(0, 102, 255, 0.05);
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.15);
}

.form-group select option {
  background: #0d0d1a;
  color: var(--white);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--blue);
}
.form-check label {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.5;
  margin-bottom: 0;
}
.form-check a { color: var(--blue); text-decoration: underline; }

.form-actions { margin-top: 8px; }

.form-note {
  font-size: 0.78rem;
  color: var(--gray);
  margin-top: 16px;
  line-height: 1.5;
}
.form-note code {
  background: rgba(255,255,255,0.08);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.75rem;
}

.aside-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 16px;
}
.aside-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.aside-card p {
  font-size: 0.875rem;
  color: var(--gray);
  margin-bottom: 16px;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 0.875rem;
  color: var(--gray-light);
}
.contact-list li:last-child { border-bottom: none; }
.contact-list svg { color: var(--blue); flex-shrink: 0; margin-top: 2px; }
.contact-list a:hover { color: var(--blue); }

/* ===== CONTATTI ===== */
.contatti-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.contatto-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
}
.contatto-card.featured {
  border-color: rgba(37, 211, 102, 0.3);
  background: rgba(37, 211, 102, 0.04);
}
.contatto-card:hover { transform: translateY(-4px); }

.contatto-icon {
  width: 64px;
  height: 64px;
  background: rgba(0, 102, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  margin: 0 auto 16px;
}
.contatto-card.featured .contatto-icon {
  background: rgba(37, 211, 102, 0.1);
  color: var(--green-wa);
}

.contatto-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.contatto-card p {
  font-size: 0.9rem;
  color: var(--gray);
  margin-bottom: 20px;
}

.contatti-info {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 24px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
}

.info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--gray-light);
}
.info-item svg { color: var(--blue); flex-shrink: 0; }

/* ===== FOOTER ===== */
.footer {
  background: #050508;
  border-top: 1px solid rgba(0, 102, 255, 0.15);
  padding: 64px 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-logo {
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  display: block;
  margin-bottom: 12px;
}
.footer-slogan {
  font-size: 0.95rem;
  color: var(--gray-light);
  margin-bottom: 6px;
}
.footer-tagline-small {
  font-size: 0.8rem;
  color: var(--gray);
  letter-spacing: 1px;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gray);
  margin-bottom: 16px;
}

.footer-links ul li,
.footer-contact ul li {
  margin-bottom: 10px;
  font-size: 0.875rem;
  color: var(--gray-light);
  line-height: 1.5;
}
.footer-links ul a:hover { color: var(--blue); }
.footer-contact ul a:hover { color: var(--blue); }

.footer-legal {
  padding: 24px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.legal-note {
  font-size: 0.78rem;
  color: var(--gray);
  line-height: 1.6;
  font-style: italic;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: var(--gray);
}
.footer-bottom-links {
  display: flex;
  gap: 20px;
}
.footer-bottom-links a {
  font-size: 0.8rem;
  color: var(--gray);
  transition: var(--transition);
}
.footer-bottom-links a:hover { color: var(--blue); }

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 58px;
  height: 58px;
  background: var(--green-wa);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  transition: var(--transition);
  animation: waPulse 3s ease-in-out infinite;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.6);
}
@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5); }
  50% { box-shadow: 0 4px 32px rgba(37, 211, 102, 0.8), 0 0 0 8px rgba(37, 211, 102, 0.1); }
}

/* ===== PRIVACY / COOKIE PAGES ===== */
.page-content {
  padding: 120px 0 80px;
  max-width: 800px;
  margin: 0 auto;
}
.page-content h1 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.page-content .page-date {
  font-size: 0.875rem;
  color: var(--gray);
  margin-bottom: 40px;
}
.page-content h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 32px 0 12px;
  color: var(--blue-light);
}
.page-content p, .page-content li {
  font-size: 0.95rem;
  color: var(--gray-light);
  line-height: 1.8;
  margin-bottom: 12px;
}
.page-content ul { padding-left: 20px; }
.page-content ul li { list-style: disc; }
.page-content a { color: var(--blue); text-decoration: underline; }
.page-content .warning-box {
  background: rgba(255, 200, 0, 0.08);
  border: 1px solid rgba(255, 200, 0, 0.25);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 24px 0;
  font-size: 0.875rem;
  color: #ffd700;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .chi-siamo-grid { grid-template-columns: 1fr; gap: 40px; }
  .preventivo-wrapper { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: rgba(0,0,0,0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px;
    gap: 4px;
    border-bottom: 1px solid rgba(0,102,255,0.2);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
  }
  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .nav-link { padding: 12px 16px; width: 100%; }

  .section { padding: 64px 0; }
  .hero-title { font-size: 2.8rem; }
  .hero-buttons { flex-direction: column; align-items: center; }

  .contatti-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .perche-grid { grid-template-columns: 1fr; }
  .settori-grid { grid-template-columns: repeat(2, 1fr); }
  .servizi-grid { grid-template-columns: 1fr; }
  .chi-siamo-stats { gap: 16px; }

  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .contatti-info { flex-direction: column; gap: 16px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.2rem; }
  .section-title { font-size: 1.6rem; }
  .preventivo-form { padding: 24px 16px; }
  .settori-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-pills { gap: 6px; }
  .pill { font-size: 0.75rem; padding: 5px 10px; }
  .whatsapp-float { bottom: 20px; right: 20px; width: 52px; height: 52px; }
}

/* ===================================================
   AGGIORNAMENTO: Immagini, Copertura Nazionale, Layout Visivo
   =================================================== */

/* ===== HERO CON IMMAGINE DI SFONDO ===== */
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0,0,0,0.85) 0%,
    rgba(0,0,15,0.75) 50%,
    rgba(0,20,60,0.6) 100%
  );
  z-index: 0;
}

.btn-lg { padding: 16px 32px; font-size: 1rem; }

/* ===== NUMERI BAR ===== */
.numeri-bar {
  background: rgba(0, 102, 255, 0.06);
  border-top: 1px solid rgba(0, 102, 255, 0.15);
  border-bottom: 1px solid rgba(0, 102, 255, 0.15);
  padding: 28px 0;
}
.numeri-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.numero-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 48px;
  text-align: center;
}
.numero-val {
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 4px;
}
.numero-label {
  font-size: 0.8rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.numero-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.1);
}

/* ===== CHI SIAMO CON IMMAGINE ===== */
.chi-siamo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.chi-siamo-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.chi-siamo-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
}
.chi-siamo-badge-float {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 102, 255, 0.3);
  border-radius: var(--radius);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--blue);
}
.chi-siamo-badge-float div {
  display: flex;
  flex-direction: column;
}
.chi-siamo-badge-float strong {
  font-size: 0.9rem;
  color: var(--white);
  line-height: 1.2;
}
.chi-siamo-badge-float span {
  font-size: 0.75rem;
  color: var(--gray);
}

.chi-siamo-text .section-label { margin-bottom: 12px; }
.chi-siamo-text .section-title { margin-bottom: 20px; }
.chi-siamo-text p {
  color: var(--gray-light);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.chi-siamo-features {
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--gray-light);
}
.feature-dot {
  width: 8px;
  height: 8px;
  background: var(--blue);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 8px var(--blue);
}

.chi-siamo-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

/* ===== SERVIZI FEATURED CON IMMAGINI ===== */
.servizi-featured {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.service-featured-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.service-featured-card:hover {
  border-color: rgba(0, 102, 255, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 102, 255, 0.15);
}

.service-featured-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
}
.service-featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.service-featured-card:hover .service-featured-img img {
  transform: scale(1.05);
}

.service-featured-body {
  padding: 20px;
}
.service-icon-sm {
  width: 44px;
  height: 44px;
  background: rgba(0, 102, 255, 0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  margin-bottom: 12px;
}
.service-featured-body h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.service-featured-body p {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.6;
}

.servizi-altri-title {
  text-align: center;
  margin-bottom: 24px;
  position: relative;
}
.servizi-altri-title::before,
.servizi-altri-title::after {
  content: '';
  position: absolute;
  top: 50%;
  width: calc(50% - 80px);
  height: 1px;
  background: rgba(255,255,255,0.08);
}
.servizi-altri-title::before { left: 0; }
.servizi-altri-title::after { right: 0; }
.servizi-altri-title span {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gray);
  background: var(--dark2);
  padding: 0 16px;
  position: relative;
  z-index: 1;
}

/* ===== COPERTURA NAZIONALE ===== */
.copertura-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.copertura-text .section-label { margin-bottom: 12px; }
.copertura-text .section-title { margin-bottom: 20px; }
.copertura-text p {
  color: var(--gray-light);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.copertura-features {
  margin: 28px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.copertura-feat {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.copertura-feat-icon {
  width: 40px;
  height: 40px;
  background: rgba(0, 102, 255, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
}
.copertura-feat div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.copertura-feat strong {
  font-size: 0.95rem;
  color: var(--white);
}
.copertura-feat span {
  font-size: 0.82rem;
  color: var(--gray);
}

.copertura-map {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.italia-map {
  width: 100%;
  border-radius: var(--radius-lg);
  display: block;
}
.map-overlay-text {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 102, 255, 0.3);
  border-radius: var(--radius);
  padding: 12px 18px;
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.map-overlay-text strong {
  font-size: 1rem;
  color: var(--blue-light);
}
.map-overlay-text span {
  font-size: 0.75rem;
  color: var(--gray);
}

/* ===== RESPONSIVE AGGIORNAMENTI ===== */
@media (max-width: 1024px) {
  .servizi-featured { grid-template-columns: repeat(2, 1fr); }
  .copertura-grid { grid-template-columns: 1fr; gap: 40px; }
  .chi-siamo-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .servizi-featured { grid-template-columns: 1fr; }
  .numeri-grid { gap: 0; }
  .numero-item { padding: 8px 24px; }
  .numero-divider { display: none; }
  .chi-siamo-img { height: 280px; }
  .copertura-grid { grid-template-columns: 1fr; }
  .btn-lg { padding: 14px 24px; font-size: 0.95rem; }
}

@media (max-width: 480px) {
  .numeri-grid { grid-template-columns: repeat(2, 1fr); display: grid; }
  .numero-item { padding: 12px; }
  .numero-divider { display: none; }
}

/* ===== NUMERI TEL NELL'HEADER ===== */
.nav-tel-group {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  margin-right: 20px;
}
.nav-tel {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--blue-light);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-tel:hover { color: var(--white); }
.nav-tel-sep {
  color: rgba(255,255,255,0.2);
  font-size: 0.8rem;
}
@media (max-width: 900px) {
  .nav-tel-group { display: none; }
}
