html { scroll-behavior: smooth; }
* { box-sizing: border-box; }
body { color:#222; font-family: Arial, Helvetica, sans-serif; }

/* Header compatibile */
header {
  position: fixed; top:0; left:0; right:0; z-index: 999;
  background:#fff; box-shadow:0 2px 6px rgba(0,0,0,.06);
  display:flex; align-items:center; justify-content:space-between;
  padding:10px 40px;
}
.logo img { height:46px; }
header nav ul { list-style:none; display:flex; gap:20px; }
header nav a { text-decoration:none; color:#111; font-weight:600; }
header nav a:hover { text-decoration:underline; }

/* Spaziature sezioni */
section { padding: 100px 40px; margin-top:20px; }
.wrap { max-width:1100px; margin:0 auto; }
.titolo { font-size:2.2rem; margin-bottom:10px; }
.sottotitolo { font-size:1.1rem; color:#444; max-width:820px; }

/* HERO */
.hero {
  min-height:100vh; display:flex; align-items:center; text-align:left; color:#0b1742;
  background: url('images/hero_manutentix.jpg') center/cover no-repeat;

  padding:100px 60px;
}
.hero .box {
  background:rgba(255,255,255,.78); backdrop-filter: blur(3px);
  padding:42px; border-radius:12px; max-width:700px;
}
.hero .btn {
  display:inline-block; background:#ff6600; color:#fff; border-radius:8px;
  padding:14px 22px; font-weight:700; text-decoration:none;
}
.hero .btn:hover { background:#e65c00; }

/* Sezioni “come funziona” */
.light { background:#f6f7fb; border-radius:12px; }
.cards3 { display:flex; flex-wrap:wrap; gap:26px; margin-top:34px; }
.card {
  flex:1 1 280px; background:#fff; border-radius:12px; padding:22px;
  box-shadow:0 6px 20px rgba(0,0,0,.06); text-align:left;
}
.card img { width:64px; height:64px; object-fit:contain; margin-bottom:12px; }
.card h3 { color:#0a2fd7; margin-bottom:6px; }
.card p { color:#444; font-size:.98rem; }

/* Griglia moduli */
.grid { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; margin-top:30px; }
.mod { background:#fff; border-radius:12px; padding:22px; box-shadow:0 6px 20px rgba(0,0,0,.06); }
.mod h4 { margin-bottom:8px; color:#0b1742; }
.mod ul { margin-left:18px; color:#444; }
.badge { display:inline-block; background:#0a2fd7; color:#fff; border-radius:999px; font-size:.8rem; padding:6px 10px; margin-top:10px; }

/* Call to action demo */
.call { background:linear-gradient(135deg,#0a26c1,#2a55d7); color:#fff; border-radius:14px; text-align:center; padding:42px; }
.call .btn { background:#fff; color:#0a26c1; }
.call .btn:hover { background:#f2f2f2; }

/* Contatti */
.contatti { background:#f4f5f9; border-radius:12px; }
.cont-flex { display:flex; gap:40px; flex-wrap:wrap; margin-top:24px; }
form { flex:1 1 460px; display:flex; flex-direction:column; gap:14px; }
.row { display:flex; gap:14px; }
input, textarea {
  width:100%; padding:12px; border:1px solid #cfd5e1; border-radius:8px; background:#fff; font-size:1rem;
}
textarea { min-height:120px; resize:vertical; }
.privacy { font-size:.92rem; color:#444; }
.submit { background:#ff6600; color:#fff; border:0; border-radius:8px; padding:12px 18px; font-weight:700; cursor:pointer; }
.submit:hover { background:#e65c00; }
.info { flex:1 1 280px; }
.info a { color:#0a2fd7; text-decoration:none; font-weight:bold; }

/* Footer */
footer { text-align:center; padding:24px; background:#eee; color:#333; margin-top:20px; }

/* Responsive */
@media (max-width:900px){ .grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:640px){ .grid{ grid-template-columns:1fr; } .row{ flex-direction:column; } }
