:root {
  --brand: #85AA4A;
  --brand-dark: #6d8f3a;
  --brand-light: #a8c97a;
  --brand-tint: #eef3e6;

  --ink: #14170f;
  --ink-2: #1c2116;
  --paper: #fbfbf9;
  --paper-2: #f2f4ee;
  --muted: #6b7268;
  --muted-light: #b7bdb0;

  --line: rgba(20, 23, 15, 0.1);
  --line-dark: rgba(255, 255, 255, 0.12);

  --font-head: "Archivo", sans-serif;
  --font-body: "Montserrat", sans-serif;

  --radius: 14px;
  --shadow: 0 20px 40px -20px rgba(20, 23, 15, 0.25);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 .5em;
}

p { margin: 0 0 1em; color: var(--muted); }

a { color: inherit; text-decoration: none; }

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--brand);
  color: #fff;
  padding: 10px 16px;
  z-index: 200;
}
.skip-link:focus { left: 16px; top: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  border-radius: 999px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(133, 170, 74, 0.6);
}
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-2px); }
.btn-dark {
  background: var(--ink);
  color: #fff;
}
.btn-dark:hover { background: #000; transform: translateY(-2px); }
.btn-small { padding: 10px 20px; font-size: .85rem; }
.btn-large { padding: 16px 32px; font-size: 1rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition: background .3s ease, backdrop-filter .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.site-header.scrolled {
  background: rgba(251, 251, 249, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px -16px rgba(20, 23, 15, 0.4);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand { display: flex; align-items: center; }
.brand-logo { height: 56px; width: auto; display: block; }

.main-nav { display: flex; gap: 32px; }
.main-nav a {
  font-size: .92rem;
  font-weight: 600;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.main-nav a:hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 20px; }

.header-social {
  list-style: none;
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0;
  padding-right: 4px;
  border-right: 1px solid var(--line);
}
.header-social a {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  background: var(--paper-2);
  border-radius: 50%;
  transition: background .2s ease, transform .2s ease;
}
.header-social a:hover { background: var(--brand); transform: translateY(-2px); }
.header-social svg { width: 15px; height: 15px; fill: var(--ink); transition: fill .2s ease; }
.header-social a:hover svg { fill: #fff; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  padding: 120px 0 90px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .35;
}
.glow-a {
  width: 520px; height: 520px;
  background: var(--brand);
  top: -180px; right: -120px;
}
.glow-b {
  width: 420px; height: 420px;
  background: var(--brand-light);
  bottom: -220px; left: -100px;
  opacity: .2;
}
.hero-mark {
  position: absolute;
  right: -60px;
  bottom: -40px;
  width: 620px;
  height: auto;
  color: var(--brand);
  opacity: .1;
}
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent 75%);
}

.hero-inner { position: relative; z-index: 1; max-width: 760px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--brand-light);
  background: rgba(133, 170, 74, 0.14);
  border: 1px solid rgba(133, 170, 74, 0.35);
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  max-width: 14ch;
}

.hero-lead {
  color: rgba(255,255,255,0.72);
  font-size: 1.15rem;
  max-width: 52ch;
  margin-bottom: 36px;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.hero-email {
  font-weight: 600;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.35);
  padding-bottom: 2px;
  transition: border-color .2s ease, color .2s ease;
}
.hero-email:hover { border-color: var(--brand-light); color: var(--brand-light); }

.trust-strip {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin: 0;
  padding: 24px 0 0;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.trust-strip li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .88rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
}
.trust-strip svg {
  width: 20px; height: 20px;
  flex-shrink: 0;
  fill: none;
  stroke: var(--brand-light);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-tint { background: var(--paper-2); }

.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.light h2, .section-head.light .kicker { color: #fff; }
.section-head.light .section-sub { color: rgba(255,255,255,0.7); }

.kicker {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--brand-dark);
  margin-bottom: 12px;
}
.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}
.section-sub { font-size: 1.05rem; }

/* Service cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.service-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand-tint);
  border-radius: 12px;
  margin-bottom: 20px;
}
.service-icon svg {
  width: 24px; height: 24px;
  fill: none;
  stroke: var(--brand-dark);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.service-card p { font-size: .92rem; margin: 0; }

.services-note {
  margin-top: 36px;
  font-size: .92rem;
  font-style: italic;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 760px;
}
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 24px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  line-height: 1;
  color: var(--brand-dark);
  transition: transform .2s ease;
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-answer {
  padding: 0 24px 22px;
  font-size: .95rem;
  color: var(--muted);
  margin: 0;
}

/* Steps */
.steps {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.steps li {
  position: relative;
  padding-top: 20px;
  border-top: 2px solid var(--line);
}
.step-num {
  display: block;
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  color: var(--brand);
  margin-bottom: 16px;
}
.steps h3 { font-size: 1.1rem; margin-bottom: 8px; }
.steps p { font-size: .92rem; margin: 0; }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}
.about-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.about-content .kicker { margin-bottom: 12px; }
.about-content h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin-bottom: 22px;
}
.about-content p {
  font-size: 1.02rem;
  margin-bottom: 1.1em;
}
.about-content p:last-child { margin-bottom: 0; }

/* Why */
.why {
  background: var(--ink-2);
  color: #fff;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.why-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: background .2s ease, transform .2s ease;
}
.why-card:hover { background: rgba(133,170,74,0.12); transform: translateY(-4px); }
.why-card h3 { color: #fff; font-size: 1.05rem; margin-bottom: 8px; }
.why-card p { color: rgba(255,255,255,0.65); font-size: .9rem; margin: 0; }

/* CTA band */
.cta-band {
  background: var(--brand);
  color: #fff;
  padding: 80px 0;
}
.cta-inner { text-align: center; max-width: 620px; margin: 0 auto; }
.cta-inner h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.2rem); }
.cta-inner p { color: rgba(255,255,255,0.85); font-size: 1.05rem; }
.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.cta-email {
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,0.4);
  padding-bottom: 2px;
}
.cta-email:hover { border-color: #fff; }

/* ---------- Footer (minimal single bar) ---------- */
.site-footer {
  background: var(--ink-2);
  color: rgba(255,255,255,0.6);
}

.footer-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 32px;
  padding: 28px 0;
}

.footer-brand { flex-shrink: 0; }
.footer-brand .brand-logo { height: 34px; filter: brightness(0) invert(1); opacity: .9; }

.footer-links {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-right: auto;
}
.footer-links a,
.footer-links button {
  font: inherit;
  font-size: .84rem;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: color .2s ease;
}
.footer-links a:hover,
.footer-links button:hover { color: var(--brand-light); }

.footer-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.social-list {
  list-style: none;
  display: flex;
  gap: 8px;
  margin: 0; padding: 0;
}
.social-list a {
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: color .2s ease;
}
.social-list a:hover { color: var(--brand-light); }
.social-list svg { width: 15px; height: 15px; fill: currentColor; }

.footer-copy {
  font-size: .78rem;
  color: rgba(255,255,255,0.4);
  white-space: nowrap;
}
.footer-copy a { color: rgba(255,255,255,0.55); font-weight: 600; transition: color .2s ease; }
.footer-copy a:hover { color: var(--brand-light); }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-image { max-width: 420px; }
}

@media (max-width: 800px) {
  .main-nav {
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: var(--paper);
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 20px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
  }
  .main-nav.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .header-actions .btn-small { display: none; }
  .header-social { display: none; }
  .nav-toggle { display: flex; }

  .hero { padding: 100px 0 64px; }
  .card-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-bar { flex-direction: column; align-items: flex-start; }
  .footer-links { margin-right: 0; }
  .footer-meta { justify-content: space-between; width: 100%; }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; align-items: flex-start; gap: 16px; }
  .cta-actions { flex-direction: column; }
}

/* ---------- Legal pages ---------- */
.legal-hero {
  background: var(--ink);
  color: #fff;
  padding: 72px 0 48px;
}
.legal-hero .kicker { color: var(--brand-light); }
.legal-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 10px; }
.legal-hero p { color: rgba(255,255,255,0.6); font-size: .9rem; margin: 0; }

.legal-body {
  padding: 64px 0 96px;
}
.legal-content {
  max-width: 68ch;
  margin: 0 auto;
}
.legal-content h2 {
  font-size: 1.25rem;
  margin-top: 2.2em;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { font-size: .98rem; }
.legal-content ul { padding-left: 1.2em; margin: 0 0 1em; }
.legal-content li { margin-bottom: .5em; color: var(--muted); }
.legal-content a { color: var(--brand-dark); font-weight: 600; border-bottom: 1px solid var(--brand-light); }
.legal-content a:hover { color: var(--brand); }
.legal-content code {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: .85em;
  background: var(--paper-2);
  padding: .15em .4em;
  border-radius: 4px;
  color: var(--ink);
}

.legal-address {
  background: var(--paper-2);
  border-left: 3px solid var(--brand);
  border-radius: 8px;
  padding: 18px 22px;
  margin: 0 0 1.4em;
}
.legal-address p {
  font-size: .92rem;
  line-height: 1.7;
  margin: 0;
}

/* ---------- Cookie consent banner ---------- */
.cookie-banner {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 300;
  width: 380px;
  max-width: calc(100vw - 40px);
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line-dark);
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.55);
  padding: 22px;
  transform: translateY(calc(100% + 32px));
  opacity: 0;
  transition: transform .5s cubic-bezier(.16,1,.3,1), opacity .4s ease;
}
.cookie-banner.show { transform: translateY(0); opacity: 1; }

.cookie-banner-top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}
.cookie-mark {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 8px;
  background: rgba(133, 170, 74, 0.16);
  display: flex; align-items: center; justify-content: center;
}
.cookie-mark svg { width: 16px; height: 16px; color: var(--brand-light); }
.cookie-banner h3 {
  color: #fff;
  font-size: .95rem;
  margin: 0 0 4px;
}
.cookie-banner p {
  font-size: .82rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.6);
  margin: 0;
}
.cookie-banner a {
  color: var(--brand-light);
  font-weight: 600;
  border-bottom: 1px solid rgba(168, 201, 122, 0.4);
}
.cookie-banner a:hover { border-color: var(--brand-light); }

.cookie-actions {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.cookie-actions .btn { padding: 9px 18px; font-size: .82rem; }

.btn-ghost {
  background: transparent;
  color: rgba(255,255,255,0.6);
  border: 1px solid var(--line-dark);
}
.btn-ghost:hover { background: rgba(255,255,255,0.06); color: #fff; }

@media (prefers-reduced-motion: reduce) {
  .cookie-banner { transition: opacity .3s ease; transform: none; }
}
