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

body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  line-height: 1.7;
  color: #2f2f2f;
  background-color: #faf9f6;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem;
}

/* HEADER */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid #ddd;
}

.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.logo-img {
  width: 90px;
  height: 90px;
  align-items: left;
  object-fit: contain;
}

.brand-name {
  font-weight: bold;
  font-size: 1.1rem;
}

.main-nav a {
  margin-left: 1rem;
  text-decoration: none;
  color: #2f2f2f;
  font-size: 0.9rem;
}

/* HERO */
.hero {
  position: relative;
  height: 80vh;
  min-height: 500px;
  overflow: hidden;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #ffffff;
  background: none;
  padding: 3rem;
}

.hero h1 {
  font-size: 2.6rem;
}

.payoff {
  font-size: 1.3rem;
  margin: 1.2rem 0 2rem;
}

.btn {
  padding: 0.7rem 1.6rem;
  background: #2f2f2f;
  color: #ffffff;
  text-decoration: none;
}

/* SEZIONI */
.section {
  padding: 4rem 0;
}

.section.alt {
  background: #f0efe9;
}

.section h1 {
  font-size: 2.2rem;
  margin-bottom: 2rem;
}

.section h2 {
  font-size: 1.35rem;
  margin-top: 2.5rem;
}

/* TERRITORIO */
.territory-hero img {
  max-width: 760px;
  width: 100%;
  display: block;
  margin: 2rem auto 3rem;
}

/* PRODOTTI */
.product-row {
  display: flex;
  align-items: flex-start;
  gap: 3rem;
  margin: 3.5rem 0;
}

.product-text {
  flex: 1;
}

.product-media {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.8rem;
}

.oil-bottle {
  max-width: 220px;
  width: 100%;
  height: auto;
}

.product-field {
  max-width: 420px;
  width: 100%;
  height: auto;
  border-radius: 2px;
}

/* SERVIZI */
.services-hero {
  background-image: url("dji-agras-t50-drone-servizi-fitofly.png");
  background-size: cover;
  background-position: center;
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.services-hero .container {
  background: rgba(60, 60, 60, 0.55);
  color: #ffffff;
  padding: 2.5rem 3rem;
  border-radius: 4px;
  max-width: 720px;
}

/* FOOTER */
.site-footer {
  background: #ffffff;
  border-top: 1px solid #ddd;
}

.footer-flex {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.85rem;
}

.logo-footer {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

/* =========================
   RESPONSIVE — MOBILE
   ========================= */

@media (max-width: 768px) {

  /* HEADER */
  .header-flex {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .brand {
    justify-content: center;
  }

  .main-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .main-nav a {
    margin: 0.3rem 0;
    font-size: 1rem;
  }

  /* HERO */
  .hero-content {
    padding: 2rem 1.5rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .payoff {
    font-size: 1.1rem;
  }

  /* SEZIONI */
  .section {
    padding: 3rem 0;
  }

  .section h1 {
    font-size: 1.8rem;
  }

  .section h2 {
    font-size: 1.25rem;
  }

  /* PRODOTTI */
  .product-row {
    flex-direction: column;
    gap: 2rem;
  }

  .product-media {
    order: -1; /* immagini sopra al testo su mobile */
  }

  .oil-bottle {
    max-width: 180px;
  }

  .product-field {
    max-width: 100%;
  }

  /* SERVIZI */
  .services-hero {
    min-height: auto;
    padding: 3rem 0;
  }

  .services-hero .container {
    padding: 2rem;
  }

  /* FOOTER */
  .footer-flex {
    flex-direction: column;
    text-align: center;
  }

}