* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  color: #333;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

/* HEADER */
.header {
  background: #fff;
  border-bottom: 1px solid #eee;
}

.header .container {
  padding: 15px 0;
}

.logo {
  font-weight: bold;
  color: #0a3d62;
}

/* HERO */
.hero {
  background: url('img/hero-idraulico.jpg') center/cover no-repeat;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}

.hero-content {
  position: relative;
  max-width: 600px;
}

.hero h1 {
  font-size: 2.5rem;
}

.hero p {
  margin: 15px 0;
}

.btn-primary {
  background: #e67e22;
  color: #fff;
  padding: 12px 20px;
  border-radius: 6px;
  text-decoration: none;
  display: inline-block;
}

/* SERVIZI */
.servizi {
  padding: 60px 0;
  text-align: center;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
  gap: 20px;
  margin-top: 30px;
}

.card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  overflow: hidden;
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card h3 {
  margin: 10px;
  color: #0a3d62;
}

.card p {
  margin: 0 10px 15px;
}

/* CONTATTI */
.contatti {
  background: #f5f7fa;
  padding: 60px 20px;
  text-align: center;
}

form {
  max-width: 500px;
  margin: 20px auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

input,
textarea {
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
  font-family: inherit;
}

textarea {
  resize: vertical;
  min-height: 120px;
}

button {
  background: #0a3d62;
  color: #fff;
  padding: 12px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.2s ease;
}

button:hover {
  background: #08314a;
}

/* GDPR */
.privacy {
  font-size: 0.85rem;
  display: block;
  text-align: left;
  line-height: 1.4;
  margin-top: 5px;
  color: #333;
}

.privacy input {
  margin-right: 8px;
  vertical-align: top;
}

.privacy a {
  color: #0a3d62;
  text-decoration: underline;
}

/* MOBILE */
@media (max-width: 600px) {
  form {
    width: 100%;
  }
}

/* CTA */
.cta {
  padding: 60px 20px;
  text-align: center;
  background: #0a3d62;
  color: #fff;
}

.cta p {
  margin: 10px 0 20px;
}

/* FOOTER */
footer {
  padding: 20px;
  text-align: center;
  background: #f1f1f1;
}

/* RESPONSIVE */
@media (max-width: 600px) {
  .hero h1 {
    font-size: 2rem;
  }
}

/* SEO TEXT */
.seo-text {
  padding: 60px 20px;
  background: #fff;
}

.seo-box {
  max-width: 800px;
  margin: 0 auto;
  background: #f9fbfd;
  padding: 30px 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  text-align: left;
}

.seo-box p {
  margin-bottom: 15px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #333;
}

.seo-box strong {
  color: #0a3d62;
}

.seo-text {
  text-align: center;
}