* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  -webkit-font-smoothing: antialiased;
  background: #ffffff;
  color: #25301f;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}
input, textarea, select, button { font-family: inherit; }
p { font-size: 16px; line-height: 1.65; }
a { color: inherit; }

.header-shell {
  position: sticky;
  top: 0;
  z-index: 80;
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #e0ddd0;
  box-shadow: 0 4px 18px -14px rgba(30,45,25,0.4);
  overflow: visible;
}
body.admin-bar .header-shell {
  top: 32px;
}
.header-shell > .inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 10px 28px;
  display: flex;
  align-items: center;
  gap: 24px;
  position: relative;
  background: #fff;
}
.header-shell.is-scrolled {
  box-shadow: 0 8px 22px -18px rgba(30,45,25,0.42);
}
.header-logo {
  width: 140px;
  height: auto;
  display: block;
  position: relative;
  z-index: 2;
}
.header-desktop-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  flex-wrap: wrap;
  max-width: 100%;
}
.header-nav-link,
.header-contact-link {
  text-decoration: none;
  font-size: 15px;
}
.header-nav-link {
  color: #25301f;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 8px;
}
.header-nav-link.is-active {
  color: #4a8b35;
  font-weight: 700;
}
.header-contact-link {
  background: #4a8b35;
  color: #fff;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.header-mobile-toggle {
  display: none;
  margin-left: auto;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 1px solid #e0ddd0;
  background: #fff;
  color: #25301f;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 0;
}
.header-mobile-toggle .bar {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.header-mobile-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.38s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.26s ease;
  background: #fff;
  box-shadow: 0 12px 32px -12px rgba(30,45,25,0.22);
}
.header-mobile-panel[data-open="true"] {
  max-height: 600px;
  opacity: 1;
  border-top: 1px solid #e0ddd0;
}
.mob-nav-link,
.mob-contact-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  color: #25301f;
  border-radius: 12px;
  padding: 15px 16px;
}
.mob-nav-link.active {
  color: #4a8b35;
  background: rgba(74,139,53,0.08);
}
.mob-contact-link {
  background: #4a8b35;
  color: #fff;
  justify-content: center;
  gap: 12px;
}
.mob-phone-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 16px;
  margin-top: 2px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  color: #25301f;
}
.header-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20,30,16,0.42);
  z-index: 79;
}

.reveal-ready .reveal-on-scroll,
.desktop-reveal-enabled .reveal-stagger {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}
.reveal-ready .reveal-on-scroll.is-visible,
.desktop-reveal-enabled .reveal-stagger.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.faq-item[data-open="true"] .faq-icon {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
}
.faq-item[data-open="true"] .faq-answer {
  max-height: 320px;
}

@media (max-width: 900px) {
  .header-shell > .inner {
    padding-left: 16px;
    padding-right: 16px;
    gap: 12px;
  }
  .header-logo {
    width: 100px;
    height: auto;
  }
  .header-desktop-nav {
    display: none;
  }
  .header-mobile-toggle {
    display: inline-flex;
  }
}

@media (max-width: 782px) {
  body.admin-bar .header-shell {
    top: 46px;
  }
}

.site-footer {
  overflow: hidden;
}
.footer-contact-link {
  border: 1.5px solid rgba(74,139,53,0.95);
  box-shadow: 0 12px 26px -18px rgba(0,0,0,0.35);
}
.footer-contact-link:hover {
  filter: brightness(0.95);
}

@media (max-width: 900px) {
  .footer-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .footer-brand {
    max-width: none !important;
  }
  .footer-bottom {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  .footer-bottom-bar {
    align-items: flex-start !important;
  }
  .footer-socials {
    flex-wrap: wrap !important;
    gap: 12px !important;
  }
  .footer-grid > div {
    max-width: none !important;
  }
  .site-footer .footer-grid {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}

@media (max-width: 640px) {
  .header-shell > .inner {
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .header-logo {
    width: 92px;
  }
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    padding: 40px 20px 32px !important;
  }
  .footer-grid > div {
    max-width: none !important;
  }
  .site-footer .footer-grid > div > div:first-child {
    margin-bottom: 12px !important;
  }
  .site-footer .footer-grid p,
  .site-footer .footer-grid a {
    font-size: 14px !important;
    line-height: 1.55 !important;
  }
  .footer-contact-link {
    width: 100% !important;
    padding: 13px 18px !important;
  }
  .footer-bottom {
    padding: 12px 20px 18px !important;
  }
  .footer-bottom-bar {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
  .footer-socials {
    width: 100% !important;
    justify-content: flex-start !important;
  }
  .footer-socials span {
    font-size: 12px !important;
  }
}
