:root {
  --green-900: #0f3a22;
  --green-700: #1f6b3a;
  --green-500: #3aa264;
  --green-300: #8fd3a8;
  --green-100: #e8f5ec;
  --cream: #f7f5ef;
  --ink: #1a2b22;
  --muted: #5d6b63;
  --line: #e3e8e4;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px rgba(15, 58, 34, 0.06), 0 2px 8px rgba(15, 58, 34, 0.06);
  --shadow-md: 0 6px 24px rgba(15, 58, 34, 0.10);
  --radius: 14px;
  --radius-lg: 22px;
  --maxw: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--green-700); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 245, 239, 0.85);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--green-900);
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
}
.logo-mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--green-100);
  color: var(--green-700);
}
.logo-text { letter-spacing: -0.01em; }
.logo-text strong { color: var(--green-700); }
.logo-text em { font-style: normal; color: var(--muted); font-weight: 500; }
.logo-light { color: #fff; }
.logo-light .logo-text strong { color: var(--green-300); }
.logo-light .logo-text em { color: #cfd8d2; }
.logo-light .logo-mark { background: rgba(255,255,255,0.12); color: var(--green-300); }

.primary-nav { display: flex; align-items: center; gap: 28px; }
.primary-nav a {
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
}
.primary-nav a:hover { color: var(--green-700); text-decoration: none; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, background .2s ease, box-shadow .2s ease;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-primary {
  background: var(--green-700);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--green-900); }
.btn-ghost {
  background: transparent;
  color: var(--green-900);
  border-color: var(--green-700);
}
.btn-ghost:hover { background: var(--green-100); }
.btn-lg { padding: 14px 26px; font-size: 1rem; }

/* ===== Nav toggle (mobile) ===== */
.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 40px;
  height: 40px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  margin: 6px auto;
  width: 22px;
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 10vw, 120px);
  overflow: hidden;
  background:
    radial-gradient(60% 60% at 90% 10%, rgba(58,162,100,0.20), transparent 60%),
    radial-gradient(40% 40% at 0% 20%, rgba(143,211,168,0.30), transparent 60%),
    var(--cream);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--green-700);
  text-transform: uppercase;
  padding: 6px 12px;
  background: var(--green-100);
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  line-height: 1.08;
  margin: 0 0 18px;
  letter-spacing: -0.02em;
  color: var(--green-900);
}
.accent { color: var(--green-700); }
.lede {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 56ch;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 26px 0 32px;
}
.hero-stats {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.hero-stats strong {
  display: block;
  font-size: 1.6rem;
  color: var(--green-900);
  letter-spacing: -0.02em;
}
.hero-stats span {
  font-size: 0.85rem;
  color: var(--muted);
}

.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 320px;
}
.leaf-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, var(--green-300), transparent 60%),
    radial-gradient(circle at 70% 70%, var(--green-500), transparent 65%);
  filter: blur(40px);
  opacity: 0.55;
  z-index: 0;
}
.truck {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 460px;
  filter: drop-shadow(0 18px 30px rgba(15,58,34,0.18));
}

/* ===== Sections ===== */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-alt {
  background:
    linear-gradient(180deg, var(--green-100), #fff);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-head {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-head h2,
.engagement-grid h2,
.contact-grid h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: 12px 0 10px;
  color: var(--green-900);
  letter-spacing: -0.02em;
}
.section-head p { color: var(--muted); }

/* ===== Cards ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--green-300);
}
.card.highlight {
  background: linear-gradient(180deg, #fff 0%, var(--green-100) 100%);
  border-color: var(--green-300);
}
.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--green-100);
  color: var(--green-700);
  margin-bottom: 16px;
}
.card h3 { margin: 0 0 8px; color: var(--green-900); font-size: 1.2rem; }
.card p { color: var(--muted); margin: 0 0 14px; }
.card ul { margin: 0; padding-left: 18px; color: var(--ink); }
.card li { margin-bottom: 4px; }

/* ===== Engagement ===== */
.engagement-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 48px;
  align-items: start;
}
.pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 28px;
}
.pillar {
  background: #fff;
  border-radius: var(--radius);
  padding: 22px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.pillar h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: var(--green-900);
}
.pillar p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.impact-card {
  background: var(--green-900);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  position: sticky;
  top: 96px;
  box-shadow: var(--shadow-md);
}
.impact-card h3 { margin: 0 0 18px; color: #fff; font-size: 1.25rem; }
.impact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.impact-list li { display: flex; flex-direction: column; }
.impact-num {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--green-300);
  letter-spacing: -0.02em;
}
.impact-list span:last-child { color: #cfe1d6; font-size: 0.9rem; }
.badge-line { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.badge {
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 0.78rem;
  color: #e7f3eb;
}

/* ===== Features ===== */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 22px;
  text-align: left;
}
.feature h4 { margin: 0 0 6px; color: var(--green-900); }
.feature p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* ===== Testimonials ===== */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
blockquote {
  margin: 0;
  background: #fff;
  border-left: 4px solid var(--green-500);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
}
blockquote p { margin: 0 0 12px; font-size: 1rem; color: var(--ink); }
blockquote footer { color: var(--muted); font-size: 0.9rem; }

/* ===== FAQ ===== */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: border-color .2s ease, box-shadow .2s ease;
  overflow: hidden;
}
.faq-item[open] {
  border-color: var(--green-300);
  box-shadow: var(--shadow-md);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 600;
  color: var(--green-900);
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color .15s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--green-700);
  font-weight: 400;
  transition: transform .2s ease;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item summary:hover { color: var(--green-700); }
.faq-item summary:focus-visible {
  outline: 3px solid rgba(58,162,100,0.35);
  outline-offset: 2px;
  border-radius: 8px;
}
.faq-answer {
  padding: 0 22px 18px;
  color: var(--muted);
  line-height: 1.7;
}
.faq-answer p { margin: 0; }

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.contact-info { list-style: none; padding: 0; margin: 22px 0 0; }
.contact-info li { margin-bottom: 10px; color: var(--ink); }

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: var(--shadow-sm);
  transition: transform .12s ease, background .2s ease, box-shadow .2s ease;
}
.btn-whatsapp:hover {
  background: #128C7E;
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-whatsapp:focus-visible {
  outline: 3px solid rgba(37, 211, 102, 0.45);
  outline-offset: 2px;
}

.quote-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: 16px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field label { font-size: 0.85rem; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  font: inherit;
  background: var(--cream);
  color: var(--ink);
  transition: border-color .15s ease, background .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--green-500);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(58,162,100,0.15);
}
.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--muted);
}
.checkbox input { margin-top: 4px; }
.form-feedback { margin: 0; min-height: 1.4em; font-size: 0.9rem; color: var(--green-700); }

/* ===== Footer ===== */
.site-footer {
  background: var(--green-900);
  color: #d5e3da;
  padding: 64px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.site-footer h4 { color: #fff; margin: 0 0 12px; font-size: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #cfe1d6; }
.site-footer a:hover { color: #fff; }
.copyright {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 22px;
  font-size: 0.88rem;
  color: #a9bdb1;
}

.legal-info {
  padding-top: 22px;
  font-size: 0.82rem;
  line-height: 1.7;
  color: #a9bdb1;
}
.legal-info p { margin: 0 0 8px; }
.legal-info strong { color: #cfe1d6; letter-spacing: 0.01em; }
.legal-info a { color: var(--green-300); }
.legal-info a:hover { color: #fff; }
.legal-info .mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  background: rgba(255,255,255,0.06);
  padding: 1px 7px;
  border-radius: 4px;
  color: #e7f3eb;
  font-size: 0.92em;
  white-space: nowrap;
}

/* ===== Responsive ===== */
@media (max-width: 920px) {
  .hero-grid,
  .engagement-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .impact-card { position: static; }
  .cards { grid-template-columns: 1fr 1fr; }
  .features { grid-template-columns: 1fr 1fr; }
  .testimonials { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .primary-nav {
    position: absolute;
    top: 72px;
    right: 16px;
    left: 16px;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform .18s ease, opacity .18s ease;
  }
  .primary-nav a {
    padding: 10px 12px;
    border-radius: 8px;
  }
  .primary-nav a:hover { background: var(--green-100); }
  .primary-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-toggle { display: block; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .cards { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
