:root {
  --bg: #f7f9f3;
  --surface: #ffffff;
  --text: #2b3731;
  --muted: #66736d;
  --primary: #748744;
  --primary-dark: #53672f;
  --primary-soft: #edf1df;
  --secondary: #6683a8;
  --secondary-dark: #4b698e;
  --secondary-soft: #eaf0f6;
  --earth: #9a6b50;
  --peach: #d2a077;
  --line: #dde5d9;
  --warm: #f4efe7;
  --shadow: 0 18px 46px rgba(61, 79, 62, 0.11);
  --radius: 22px;
  --max: 1160px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family:
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
button,
input,
textarea {
  font: inherit;
}
.container {
  width: min(calc(100% - 36px), var(--max));
  margin: auto;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 249, 243, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(221, 229, 217, 0.92);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 24px;
}
.brand {
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
}
.brand-logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(75, 105, 142, 0.08);
}
.nav-links {
  display: flex;
  gap: 7px;
  align-items: center;
}
.nav-links a {
  padding: 10px 13px;
  border-radius: 12px;
  color: var(--muted);
  font-weight: 650;
  font-size: 0.94rem;
  transition: 0.2s;
}
.nav-links a:hover,
.nav-links a.active {
  background: var(--surface);
  color: var(--primary-dark);
  box-shadow: 0 6px 18px rgba(61, 79, 62, 0.07);
}
.nav-links a.active {
  box-shadow:
    inset 0 -2px 0 var(--secondary),
    0 6px 18px rgba(61, 79, 62, 0.07);
}
.menu-btn {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--secondary-dark);
  border-radius: 12px;
  padding: 10px 12px;
  cursor: pointer;
}
.hero {
  padding: 88px 0 68px;
  background:
    radial-gradient(
      circle at 88% 20%,
      rgba(102, 131, 168, 0.1),
      transparent 31%
    ),
    radial-gradient(
      circle at 12% 78%,
      rgba(116, 135, 68, 0.09),
      transparent 30%
    );
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 52px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--secondary-soft);
  color: var(--secondary-dark);
  border: 1px solid #d8e2ee;
  padding: 7px 12px;
  border-radius: 999px;
  font-weight: 750;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin: 0 0 18px;
}
h1 {
  font-size: clamp(2.5rem, 6vw, 5.15rem);
  max-width: 920px;
}
h2 {
  font-size: clamp(2rem, 4vw, 3.35rem);
}
h3 {
  font-size: 1.3rem;
}
.lead {
  font-size: clamp(1.05rem, 2vw, 1.24rem);
  color: var(--muted);
  max-width: 760px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border-radius: 14px;
  font-weight: 750;
  border: 1px solid transparent;
  transition: 0.2s;
}
.btn-primary {
  background: #5f7035;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(83, 103, 47, 0.14);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}
.btn-secondary {
  background: var(--surface);
  border-color: #cfdbe8;
  color: var(--secondary-dark);
}
.btn-secondary:hover {
  border-color: var(--secondary);
  background: var(--secondary-soft);
}
.hero-card {
  background: linear-gradient(145deg, var(--surface), #f1f5ec 54%, #edf2f7);
  padding: 30px 34px 34px;
  border-radius: 32px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(221, 229, 217, 0.9);
}
.hero-card:after {
  content: "";
  position: absolute;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(116, 135, 68, 0.11),
    rgba(102, 131, 168, 0.13)
  );
  right: -78px;
  bottom: -88px;
}
.hero-logo-wrap {
  display: flex;
  justify-content: center;
  margin: -4px 0 8px;
  position: relative;
  z-index: 1;
}
.hero-logo {
  width: 170px;
  height: 170px;
  object-fit: contain;
  border-radius: 30px;
  mix-blend-mode: multiply;
}
.hero-card h2,
.hero-card p,
.hero-card ul {
  position: relative;
  z-index: 1;
}
.hero-card ul {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
}
.hero-card li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  padding-left: 26px;
}
.hero-card li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-dark);
  font-weight: 900;
}
.section {
  padding: 78px 0;
}
.section.alt {
  background: var(--surface);
}
.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}
.section-head p {
  color: var(--muted);
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.card {
  background: var(--surface);
  padding: 26px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-2px);
  border-color: #cfd9c5;
  box-shadow: 0 12px 28px rgba(61, 79, 62, 0.07);
}
.alt .card {
  background: var(--bg);
}
.icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  font-size: 1.25rem;
  font-weight: 800;
}
.grid-3 .card:nth-child(even) .icon {
  background: var(--secondary-soft);
  color: var(--secondary-dark);
}
.card p {
  color: var(--muted);
  margin-bottom: 0;
}
.steps {
  counter-reset: step;
  display: grid;
  gap: 14px;
}
.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 22px 22px 74px;
  position: relative;
}
.step:before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 20px;
  top: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  box-shadow: 0 5px 12px rgba(83, 103, 47, 0.14);
}
.step:nth-child(even):before {
  background: var(--secondary);
}
.quote {
  padding: 36px;
  border-radius: 26px;
  background: linear-gradient(
    135deg,
    var(--primary-dark),
    var(--secondary-dark)
  );
  color: #fff;
  box-shadow: var(--shadow);
}
.quote p {
  font-size: 1.2rem;
  margin: 0;
  color: #f3f6ef;
}
.band {
  background: linear-gradient(
    115deg,
    var(--primary-soft),
    var(--secondary-soft)
  );
  border: 1px solid #d8e2d3;
  border-radius: 28px;
  padding: 38px;
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
}
.band p {
  margin: 4px 0 0;
  color: #5d695f;
  max-width: 720px;
}
.page-hero {
  padding: 72px 0 38px;
  background: linear-gradient(
    180deg,
    rgba(234, 240, 246, 0.55),
    transparent 80%
  );
}
.page-hero p {
  max-width: 780px;
  color: var(--muted);
  font-size: 1.12rem;
}
.list-clean {
  padding-left: 20px;
}
.list-clean li {
  margin: 9px 0;
}
.list-clean li::marker {
  color: var(--primary);
}
.notice {
  background: #fff9ef;
  border: 1px solid #ead8bc;
  padding: 20px 22px;
  border-radius: 16px;
  color: #665a43;
}
.contact-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  background: var(--surface);
  padding: 28px;
  border-radius: 28px;
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(61, 79, 62, 0.05);
}
.contact-box-single {
  grid-template-columns: 1fr;
}
.contact-link {
  color: var(--secondary-dark);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.contact-link:hover {
  color: var(--primary-dark);
}
.privacy-note {
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.92rem;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  color: #5c6e65;
  font-size: 0.92rem;
}
.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-links a:hover {
  color: var(--secondary-dark);
}
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
@media (max-width: 860px) {
  .hero-grid,
  .grid-3,
  .grid-2,
  .contact-box {
    grid-template-columns: 1fr;
  }
  .hero {
    padding-top: 58px;
  }
  .nav-links {
    display: none;
    position: absolute;
    left: 18px;
    right: 18px;
    top: 78px;
    background: var(--surface);
    padding: 12px;
    border-radius: 18px;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
  }
  .nav-links.open {
    display: flex;
  }
  .menu-btn {
    display: block;
  }
  .band,
  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }
  .section {
    padding: 58px 0;
  }
}
@media (max-width: 520px) {
  .container {
    width: min(calc(100% - 24px), var(--max));
  }
  .hero-card,
  .band {
    padding: 24px;
  }
  .card {
    padding: 22px;
  }
  .nav {
    min-height: 72px;
  }
  .brand-logo {
    width: 46px;
    height: 46px;
    border-radius: 13px;
  }
  .brand {
    font-size: 0.96rem;
    gap: 8px;
  }
  h1 {
    font-size: 2.55rem;
  }
  .hero-logo {
    width: 145px;
    height: 145px;
  }
}
/* =========================
   FOOTER
   ========================= */

.site-footer {
  margin-top: 5rem;
  padding: 3.5rem 0 1.5rem;
  background: #edf3ee;
  border-top: 1px solid rgba(72, 104, 86, 0.15);
  color: #30463c;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

.footer-logo {
  width: 90px;
  height: auto;
  display: block;
  margin-bottom: 1rem;
}

.footer-title {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #496b58;
}

.footer-description {
  max-width: 340px;
  margin: 0;
  line-height: 1.7;
  color: #5c6e65;
}

.footer-heading {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 700;
  color: #496b58;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-nav a,
.footer-contact a {
  color: #4b698e;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-nav a:hover,
.footer-contact a:hover {
  color: #496b58;
}

.footer-contact p {
  margin-top: 0;
  line-height: 1.7;
  color: #5c6e65;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(72, 104, 86, 0.15);

  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;

  font-size: 0.85rem;
  color: #5c6e65;
}

.footer-bottom p {
  margin: 0;
}

.footer-note {
  max-width: 570px;
  text-align: right;
  line-height: 1.5;
}

/* Smartphone */
@media (max-width: 800px) {

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
  }

  .footer-note {
    text-align: left;
  }

}
/* Freccia torna su */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 46px;
  height: 46px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #5f7f68;
  color: #ffffff;

  border-radius: 50%;
  text-decoration: none;

  font-size: 1.5rem;
  font-weight: 700;

  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    background 0.2s ease,
    transform 0.2s ease,
    opacity 0.2s ease;
}

.back-to-top:hover {
  background: #557795;
  transform: translateY(-3px);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

html {
  scroll-behavior: smooth;
}
/* Pulsante WhatsApp */
.whatsapp-button {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 9999;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 12px 18px;

  background: #5f7f68;
  color: #ffffff;

  border-radius: 30px;
  text-decoration: none;

  font-size: 0.95rem;
  font-weight: 600;

  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);

  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.whatsapp-button:hover {
  background: #557795;
  transform: translateY(-3px);
}
/* Pulsante WhatsApp */
.whatsapp-button {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 9999;

  width: 68px;
  height: 68px;
  padding: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  background: transparent;
  color: #25d366;

  border: 0;
  border-radius: 0;
  box-shadow: none;
  text-decoration: none;

  transition: transform 0.2s ease;
}

.whatsapp-button svg {
  display: block;
  width: 68px;
  height: 68px;
  fill: currentColor;
}

.whatsapp-button:hover {
  transform: translateY(-3px) scale(1.06);
}