:root {
  --bg: #fffdf4;
  --surface: #ffffff;
  --panel: #ffffff;
  --text: #123722;
  --muted: #667469;
  --accent: #4fab18;
  --accent-strong: #075c35;
  --accent-2: #ffb400;
  --border: #dce9d9;
  --shadow: 0 18px 50px rgba(22, 82, 48, 0.10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
*:focus-visible { outline: 3px solid #ffb400; outline-offset: 3px; }
body {
  margin: 0;
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 4%, rgba(255, 180, 0, 0.13), transparent 24rem),
    radial-gradient(circle at 92% 12%, rgba(79, 171, 24, 0.12), transparent 26rem),
    var(--bg);
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 1000; padding: 10px 14px; border-radius: 10px; color: white; background: var(--accent-strong); transform: translateY(-160%); transition: transform 0.2s ease; }
.skip-link:focus { transform: translateY(0); }
.container { width: min(1160px, calc(100% - 32px)); margin: 0 auto; }
[data-site-header] { display: block; min-height: 85px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(255, 253, 244, 0.92);
  border-bottom: 1px solid rgba(7, 92, 53, 0.12);
  box-shadow: 0 8px 30px rgba(22, 82, 48, 0.05);
}
.nav-backdrop { display: none; }
.nav { position: relative; display: flex; align-items: center; justify-content: space-between; padding: 10px 0; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand img { width: 64px; height: 64px; object-fit: contain; border-radius: 16px; }
.brand-copy { display: grid; line-height: 1.15; }
.brand-copy strong { color: var(--accent-strong); font-size: 1.22rem; letter-spacing: 0.08em; }
.brand-copy small { margin-top: 4px; color: var(--muted); font-size: 0.7rem; font-weight: 600; }
.nav-links { display: flex; flex-wrap: wrap; gap: 20px; color: #486053; align-items: center; font-weight: 650; }
.nav-links > a:not(.nav-btn) { position: relative; padding: 8px 0; }
.nav-links > a:not(.nav-btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 2px;
  height: 2px;
  background: var(--accent);
  transition: right 0.2s ease;
}
.nav-links > a:hover::after,
.nav-links > a[aria-current="page"]::after { right: 0; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 1px solid #d4e3cf; border-radius: 12px; background: white; cursor: pointer; }
.menu-toggle span { display: block; width: 100%; height: 2px; margin: 5px 0; border-radius: 2px; background: var(--accent-strong); transition: transform 0.2s ease, opacity 0.2s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-btn, .btn, .btn-alt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border-radius: 14px;
  font-weight: 750;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.nav-btn:hover, .btn:hover, .btn-alt:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(24, 100, 51, 0.15); }
.nav-btn, .btn { background: linear-gradient(135deg, var(--accent), var(--accent-strong)); color: white; border: 0; }
.btn-alt { border: 1px solid #c8dcc4; background: rgba(255, 255, 255, 0.82); color: var(--accent-strong); }

/* Keep the shared header CTA identical even when a page has local button styles. */
.site-header .nav-btn {
  display: inline-flex;
  flex: 0 0 120px;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 48px;
  padding: 0 16px;
  border: 0;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 10px 26px rgba(24, 100, 51, 0.16);
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  font-weight: 750;
  font-style: normal;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.site-header .nav-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(24, 100, 51, 0.15);
}

.hero { padding: 68px 0 44px; display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 34px; align-items: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid rgba(79, 171, 24, 0.28);
  background: #eff9e8;
  color: var(--accent-strong);
  font-weight: 700;
  margin-bottom: 16px;
}
h1, h2, h3 { line-height: 1.2; color: var(--text); }
h1 { font-size: clamp(2.15rem, 4vw, 3.4rem); margin: 0 0 18px; letter-spacing: -0.035em; }
.lead { color: var(--muted); font-size: 1.04rem; max-width: 680px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0; }
.stats { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.stat { min-width: 140px; padding: 14px 16px; border-radius: 16px; background: white; border: 1px solid var(--border); box-shadow: 0 10px 30px rgba(22, 82, 48, 0.06); }
.stat strong { display: block; font-size: 1.15rem; color: var(--accent-strong); }
.trust-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.trust-badges span { padding: 8px 12px; border-radius: 999px; border: 1px solid #d4e7cf; background: #f4faef; color: #275c38; font-size: 0.92rem; }

.hero-card, .card, .info-card, .form-card, .contact-item, .faq-item, .feature-card {
  padding: 22px;
  border-radius: 20px;
  background: var(--panel);
  border: 1px solid var(--border);
  box-shadow: 0 12px 34px rgba(22, 82, 48, 0.07);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.hero-card:hover, .card:hover, .info-card:hover, .form-card:hover, .contact-item:hover, .faq-item:hover, .feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(79, 171, 24, 0.45);
  box-shadow: var(--shadow);
}
.hero-card { box-shadow: var(--shadow); }
.highlight-card { background: linear-gradient(145deg, #f5fbe9, #fff9df); border-color: #d6e6ba; }

.grid-3, .grid-2, .feature-grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.feature-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.section { padding: 30px 0 10px; }
[id] { scroll-margin-top: 96px; }
.section-title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; gap: 12px; }
.section-title h2 { margin: 0; font-size: 1.45rem; }
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.tag-list span { padding: 8px 12px; border-radius: 999px; background: #eaf7df; color: #266239; font-size: 0.9rem; font-weight: 650; }
.info-list { list-style: none; padding: 0; margin: 12px 0 0; }
.info-list li { padding: 10px 0; border-bottom: 1px solid #e8eee5; color: var(--muted); }
.contact-list { display: grid; gap: 12px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }

.form-card input, .form-card textarea {
  width: 100%;
  border: 1px solid #ceddca;
  background: #fbfdf9;
  color: var(--text);
  padding: 12px 14px;
  border-radius: 12px;
  margin-bottom: 12px;
  font: inherit;
  outline: none;
}
.form-card input:focus, .form-card textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(79, 171, 24, 0.12); }
.form-card textarea { min-height: 110px; resize: vertical; }
.form-card button { border: 0; cursor: pointer; font: inherit; }
.form-status { margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: #eaf7df; color: #235b36; border: 1px solid #cce4c1; display: none; }
.form-status.show { display: block; }
.form-status.error { background: #fff1ed; color: #9b3126; border-color: #f1c5bd; }

.map-card { min-height: 220px; display: flex; align-items: center; justify-content: center; border-radius: 18px; background: linear-gradient(145deg, #eff9e8, #fff6d4); border: 1px dashed #bed5b5; text-align: center; padding: 20px; }
.map-frame { width: 100%; min-height: 290px; border: 0; border-radius: 20px; box-shadow: 0 14px 34px rgba(22, 82, 48, 0.10); }

.site-footer { padding: 32px 0 48px; color: var(--muted); border-top: 1px solid #dfe9dc; margin-top: 34px; background: rgba(246, 249, 238, 0.72); }
.footer-shell { padding: 22px; border-radius: 22px; background: rgba(255, 255, 255, 0.82); border: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 20px; align-items: start; }
.footer-grid p { margin-top: 0; }
.cert-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.cert-list span { padding: 7px 11px; border-radius: 999px; background: #eff8e8; border: 1px solid #d4e7cf; color: #275c38; font-size: 0.88rem; }
.site-footer .footer-card { padding: 18px 20px; border-radius: 18px; background: white; border: 1px solid var(--border); margin-bottom: 14px; }
.site-footer .footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 16px; margin-top: 0; color: var(--accent-strong); font-weight: 650; }

.legal-page { padding-bottom: 34px; }
.legal-hero { max-width: 820px; padding: 64px 0 26px; }
.legal-hero h1 { margin-bottom: 12px; }
.legal-updated { color: var(--muted); font-size: 0.92rem; }
.legal-section, .notice-card { max-width: 900px; padding: 24px; margin: 18px 0; border: 1px solid var(--border); border-radius: 20px; background: white; box-shadow: 0 12px 34px rgba(22, 82, 48, 0.06); }
.legal-section h2 { margin-top: 0; font-size: 1.25rem; }
.legal-section p:last-child, .notice-card p:last-child { margin-bottom: 0; }
.notice-card { background: linear-gradient(145deg, #f2fae9, #fff6d7); border-color: #d6e6ba; }
.legal-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.legal-section a:not(.btn):not(.btn-alt) { color: var(--accent-strong); text-decoration: underline; text-underline-offset: 3px; }

.thanks-main { min-height: 62vh; display: grid; place-items: center; padding: 56px 0; }
.thanks-card { width: min(720px, 100%); padding: 32px; border-radius: 24px; background: white; border: 1px solid var(--border); box-shadow: var(--shadow); text-align: center; }
.thanks-card h1 { margin-bottom: 12px; }
.thanks-card p { color: var(--muted); }
.thanks-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 20px; }

@media (max-width: 900px) {
  .hero, .hero-grid, .grid-3, .grid-2, .feature-grid, .promise-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 48px; }
  .brand-copy small { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .site-footer .footer-links { justify-content: flex-start; }
}
@media (max-width: 640px) {
  .container { width: min(100% - 24px, 1160px); }
  body.nav-open { overflow: hidden; }
  .site-header { background: rgba(255, 253, 244, 0.97); }
  .nav { min-height: 72px; padding: 8px 0; }
  .menu-toggle { position: relative; z-index: 2; display: block; flex: 0 0 44px; margin-left: auto; transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease; }
  .menu-toggle[aria-expanded="true"] { border-color: #b9d5b2; background: #f1f8ec; }
  .site-header .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: flex;
    visibility: hidden;
    flex-direction: column;
    align-items: stretch;
    gap: 5px;
    padding: 10px;
    border: 1px solid rgba(7, 92, 53, 0.14);
    border-radius: 22px;
    background: rgba(255, 253, 244, 0.98);
    box-shadow: 0 22px 60px rgba(18, 55, 34, 0.2);
    opacity: 0;
    transform: translateY(-8px) scale(0.985);
    transform-origin: top center;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }
  .site-header .nav-links.open { visibility: visible; opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
  .nav-links > a:not(.nav-btn) { display: flex; align-items: center; min-height: 48px; padding: 11px 14px; border-radius: 13px; }
  .nav-links > a:not(.nav-btn):hover,
  .nav-links > a[aria-current="page"] { color: var(--accent-strong); background: #edf7e8; }
  .nav-links > a:not(.nav-btn)::after { display: none; }
  .site-header .nav-btn { flex: none; width: 100%; height: 52px; margin-top: 5px; border-radius: 15px; }
  .nav-backdrop { position: fixed; inset: 0; z-index: 15; display: block; visibility: hidden; background: rgba(12, 35, 23, 0.32); opacity: 0; backdrop-filter: blur(3px); pointer-events: none; transition: opacity 0.2s ease, visibility 0.2s; }
  .nav-backdrop.open { visibility: visible; opacity: 1; pointer-events: auto; }
  .nav { justify-content: space-between; }
  .brand { gap: 9px; }
  .brand img { width: 52px; height: 52px; border-radius: 13px; }
  .brand-copy strong { font-size: 1.05rem; }
  .hero { padding-top: 30px; gap: 24px; }
  .eyebrow { max-width: 100%; margin-bottom: 14px; padding: 7px 11px; font-size: 0.9rem; line-height: 1.45; }
  h1 { margin-bottom: 14px; font-size: clamp(2rem, 10vw, 2.65rem); line-height: 1.12; }
  .lead { margin-top: 0; font-size: 1rem; line-height: 1.7; }
  .cta-row { gap: 10px; margin: 22px 0; }
  .cta-row .btn,
  .cta-row .btn-alt { flex: 1 1 145px; min-height: 52px; padding-inline: 14px; }
  .section-title { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
