/* =========================================================
/* =========================================================
   HEADER — BRAND GREEN VERSION (CONFAGRICOLTURA)
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 300;

  background: var(--color-primary);
  border-bottom: 1px solid rgba(255,255,255,0.08);

  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* TOPBAR */
.topbar {
  background: var(--color-primary-dark);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.topbar__inner {
  min-height: 40px;
  display: flex;
  align-items: center;
}

.topbar__left {
  display: flex;
  align-items: center;
  gap: 22px;
}

.topbar__left a {
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  font-weight: 600;
  transition: opacity .2s ease;
}

.topbar__left a:hover {
  opacity: 1;
}


/* MAIN HEADER */
.main-header {
  background: transparent;
}

.main-header__inner {
  min-height: 92px;
  display: grid;
  grid-template-columns: 240px 1fr auto;
  align-items: center;
  gap: 28px;
}


/* LOGO */
.site-logo__img {
  display: block;
  width: auto;
}


/* NAV */
.site-nav {
  display: flex;
  justify-content: center;
}

.primary-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-menu > li > a {
  display: inline-flex;
  align-items: center;

  min-height: 42px;
  padding: 10px 16px;

  border-radius: 999px;

  color: #ffffff !important;
  font-size: 15px;
  font-weight: 700;

  transition:
    transform .18s ease,
    color .2s ease;

}

/* hover elegante */
.primary-menu > li > a:hover {
  transform: translateY(-1px) scale(1.04);
  color: #ffffff;
}


/* active */
.primary-menu > li.current-menu-item > a,
.primary-menu > li.current_page_item > a {
  transform: scale(1.05);
  color: #ffffff;}




/* BURGER */
.nav-toggle {
  display: none;

  width: 46px;
  height: 46px;

  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.18);

  background: rgba(255,255,255,0.06);

  backdrop-filter: blur(6px);

  cursor: pointer;

  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: #ffffff; /* 🔥 BIANCO */
  border-radius: 999px;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1180px) {

  .topbar {
    display: none;
  }
  .site-logo__img{
    height: 150px;
  }

  .main-header__inner {
    grid-template-columns: 1fr auto;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header-cta {
    display: none;
  }

  .site-nav {
    display: none;
    grid-column: 1 / -1;
    width: 100%;
    padding-top: 12px;
  }

  .site-nav.is-open {
    display: block;
  }

  .primary-menu {
    flex-direction: column;
    gap: 10px;
  }

  .primary-menu > li > a {
    width: 100%;
    padding: 12px 16px;
    border-radius: 14px;

    background: rgba(255,255,255,0.06);
  }
}



/* =========================================================
   FOOTER — BRAND VERSION
   ========================================================= */

.site-footer {
  position: relative;
  padding: 80px 0 28px;
  background: #0d6822; /* ← IL TUO VERDE PIENO */
  color: rgba(255,255,255,0.9);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.02) 0, rgba(255,255,255,0.02) 1px, transparent 1px, transparent 100%);
  background-size: 120px 100%;
  opacity: 0.14;
  pointer-events: none;
}

.site-footer .container {
  position: relative;
  z-index: 2;
}

.site-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(180px, 1fr));
  gap: 32px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,0.18);
}

.site-footer__brand {
  min-width: 0;
}

.site-footer__eyebrow {
  color: #f3bc00;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.site-footer__title {
  margin: 0 0 16px;
  max-width: 16ch;
  color: #ffffff;
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.site-footer__title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  margin-top: 16px;
  border-radius: 999px;
  background: #f3bc00; /* GIALLO BRAND */
}

.site-footer__text {
  margin: 0;
  max-width: 56ch;
  color: rgba(255,255,255,0.76);
  font-size: 15px;
  line-height: 1.85;
}

.site-footer__col {
  min-width: 0;
}

.site-footer__heading {
  margin: 0 0 16px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.site-footer__address {
  margin: 0;
  font-style: normal;
}

.site-footer__address p {
  margin: 0 0 10px;
  color: rgba(255,255,255,0.78);
  font-size: 14px;
  line-height: 1.7;
}

.site-footer__nav,
.site-footer__social,
.site-footer__legal ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__nav li,
.site-footer__social li {
  margin-bottom: 10px;
}

.site-footer a {
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.site-footer a:hover {
  color: #ffd457;
}

/* nav e social più vivi */
.site-footer__nav a,
.site-footer__social a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.site-footer__nav a::before,
.site-footer__social a::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #f3bc00;
  margin-right: 8px;
  display: inline-block;
}

.site-footer__nav a:hover::before,
.site-footer__social a:hover::before {
  opacity: 1;
  transform: scale(1.2);
}

/* bottom */
.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 22px;
}

.site-footer__bottom-left p {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 0;
  color: rgba(255,255,255,0.64);
  font-size: 13px;
  line-height: 1.6;
}

.site-footer__legal ul {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.site-footer__legal a {
  color: rgba(255,255,255,0.72);
  font-size: 13px;
  font-weight: 600;
}

.site-footer__legal a:hover {
  color: #ffd457;
}

/* responsive */
@media (max-width: 1180px) {
  .site-footer__top {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer__title {
    max-width: none;
  }
}

@media (max-width: 767px) {
  .site-footer {
    padding: 60px 0 24px;
  }

  .site-footer__top {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer__legal ul {
    gap: 12px;
  }
}