/* Shared form spacing; keep Cloudflare's own light widget unmodified. */
.turnstile-widget {
  clear: both;
  margin-top: 1.75rem;
  max-width: 100%;
}
form p[data-turnstile-status] {
  margin: .55rem 0 1.5rem;
  font-size: .8rem;
  line-height: 1.5;
  color: #52613e;
}

.footer.site-footer {
  padding: 3.5rem 0 1.75rem;
  color: #52613e;
}
.site-footer__main {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 3rem;
  padding-bottom: 2.5rem;
}
.site-footer__main > * { min-width: 0; }
.site-footer__company,
.site-footer__contacts {
  display: block;
  min-height: 0;
}
.footer.site-footer > .boxed { padding-inline: 1.5rem; }
.site-footer p { margin: 0; }
.site-footer .site-footer__brand {
  font-size: 1.25rem;
  line-height: 1.5;
  margin-bottom: 1rem;
  color: #526b30;
}
.site-footer__details {
  font-size: .8125rem;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.site-footer .site-footer__label {
  font-size: .75rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin: .35rem 0 1.15rem;
}
.footer.site-footer a {
  color: #526b30;
  font-size: inherit;
  font-style: normal;
  line-height: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
  overflow-wrap: anywhere;
}
.footer.site-footer a:hover,
.footer.site-footer button:hover { color: #263a10; }
.site-footer__contacts { font-size: 1rem; line-height: 1.9; }
.site-footer__contacts a { display: inline-block; }
.site-footer__links { font-size: .875rem; line-height: 1.7; }
.footer.site-footer ul { margin: 0; padding: 0; }
.footer.site-footer ul li {
  float: none;
  list-style: none;
  margin: 0 0 .7rem;
}
.footer.site-footer .site-footer__links p { font-size: inherit; }
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 2rem;
  padding-top: 1.5rem;
  font-size: .75rem;
  line-height: 1.7;
}
.footer.site-footer .site-footer__copyright { font-size: inherit; }
.site-footer__privacy { display: flex; flex-wrap: wrap; gap: .6rem 1.25rem; }
.site-footer__privacy [role="status"]:empty { display: none; }
.footer.site-footer button[data-privacy-settings] {
  appearance: none;
  border: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #526b30;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: .2em;
  cursor: pointer;
}
.site-footer__top { margin-left: auto; white-space: nowrap; }
.site-footer__top span { padding-left: .3rem; font-size: 1.2rem; }

@media (max-width: 900px) {
  .site-footer__main { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 2rem; }
  .site-footer__company { grid-row: span 2; }
}
@media (max-width: 600px) {
  .footer.site-footer { padding-top: 2.25rem; }
  .site-footer__main { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .site-footer__company { grid-row: auto; }
  .site-footer__bottom { align-items: flex-start; flex-direction: column; gap: 1rem; }
  .site-footer__top { margin-left: 0; }
}

/* Match the existing 1em right gutter on desktop contact-form fields. */
@media screen and (min-width: 64em) {
  .form-contatto .turnstile-widget { width: calc(100% - 1em); }
}
