:root {
  --green: #1F4D3A;
  --green-dark: #163829;
  --green-darker: #0E1A14;
  --green-tint: #E8F0EB;
  --silver: #D4D4D4;
  --silver-light: #F2F2F0;
  --ink: #14201A;
  --ink-soft: #4B5A52;
  --white: #FFFFFF;
  --shadow-sm: 0 2px 8px rgba(14, 26, 20, 0.06);
  --shadow-md: 0 12px 32px rgba(14, 26, 20, 0.10);
  --shadow-lg: 0 24px 60px rgba(14, 26, 20, 0.18);
  --radius: 14px;
  --radius-sm: 10px;
  --max: 1180px;
  --pad: clamp(20px, 4vw, 32px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { font-family: 'Inter', sans-serif; line-height: 1.15; color: var(--ink); margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw + 1rem, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 2.5vw + 1rem, 2.4rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }

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

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green);
  background: var(--green-tint);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.eyebrow.light { color: #B5E4C8; background: rgba(255,255,255,.08); }

.accent { color: var(--green); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, background .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
  text-decoration: none !important;
  white-space: nowrap;
  min-height: 44px;
  font-family: inherit;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--green); color: var(--white); box-shadow: var(--shadow-md); }
.btn-primary:hover { background: var(--green-dark); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.4); }
.btn-ghost:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.7); }
.btn-sm { padding: 9px 16px; font-size: .92rem; min-height: 40px; }
.btn-lg { padding: 15px 28px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* Header / Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid rgba(14,26,20,.06);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); font-weight: 800; }
.brand:hover { text-decoration: none; }
.brand-logo {
  height: 44px; width: 44px; object-fit: cover; border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,.18);
}
.brand-text { font-size: 1.05rem; letter-spacing: -.01em; }
.brand-text span { color: var(--ink-soft); font-weight: 500; }

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

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 44px; height: 44px;
  cursor: pointer;
  padding: 0;
  position: relative;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--ink);
  margin: 5px auto;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 500px at 80% -10%, rgba(31,77,58,.18), transparent 60%),
    radial-gradient(900px 400px at -10% 110%, rgba(31,77,58,.10), transparent 60%),
    linear-gradient(180deg, #FAFBF9 0%, #F2F4F0 100%);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
  padding: clamp(56px, 9vw, 110px) 0 clamp(56px, 9vw, 100px);
}
.hero-copy h1 { color: var(--ink); }
.hero-copy .lede {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 560px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0 28px;
}
.hero-actions .btn-ghost { color: var(--green); border-color: rgba(31,77,58,.25); }
.hero-actions .btn-ghost:hover { background: var(--green-tint); border-color: var(--green); }

.hero-trust {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .95rem;
  color: var(--ink);
  font-weight: 500;
}
.hero-trust svg { width: 18px; height: 18px; fill: var(--green); flex-shrink: 0; }

.hero-art {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-card {
  width: min(420px, 100%);
  aspect-ratio: 1 / 1;
  border-radius: 24px;
  background: linear-gradient(180deg, #1F4D3A 0%, #0E1A14 100%);
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.hero-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,.12), transparent 30%);
  pointer-events: none;
}
.hero-card img {
  width: 78%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0,0,0,.35);
}

/* Sections */
.section {
  padding: clamp(64px, 9vw, 100px) 0;
}
.section-alt { background: var(--silver-light); }
.section-dark {
  background:
    radial-gradient(800px 400px at 10% -10%, rgba(255,255,255,.06), transparent 60%),
    linear-gradient(180deg, #0E1A14 0%, #163829 100%);
  color: var(--white);
}
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark p { color: rgba(255,255,255,.82); }

.section-head {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-head p { font-size: 1.05rem; }

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.card {
  background: var(--white);
  border: 1px solid rgba(14,26,20,.06);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(31,77,58,.18);
}
.card-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--green-tint);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.card-icon svg { width: 28px; height: 28px; fill: var(--green); }
.card h3 { margin-bottom: 8px; }
.card p { margin-bottom: 14px; }
.card-link {
  font-weight: 600;
  color: var(--green);
}
.card-link:hover { color: var(--green-dark); }

.card-feature {
  position: relative;
  border-color: rgba(31,77,58,.22);
  background: linear-gradient(180deg, #FFFFFF 0%, #F5FAF7 100%);
}
.card-feature::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(31,77,58,.18);
}
.card-tag {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--green);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.card-feature strong { color: var(--ink); font-weight: 700; }

/* Steps */
.steps {
  list-style: none;
  padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}
.steps li {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid rgba(14,26,20,.06);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.step-num {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  font-size: 1.05rem;
}
.steps h3 { margin-bottom: 6px; }

/* Why grid */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.why-item {
  background: var(--white);
  border: 1px solid rgba(14,26,20,.06);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.why-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--green-tint);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.why-icon svg { width: 24px; height: 24px; fill: var(--green); }
.why-item h3 { font-size: 1.05rem; margin-bottom: 6px; }
.why-item p { font-size: .95rem; margin: 0; }

/* Form */
.form-wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: start;
  position: relative;
}
.form-copy h2 { color: var(--white); }
.form-trust {
  list-style: none;
  padding: 0; margin: 20px 0 0;
  display: grid;
  gap: 8px;
}
.form-trust li {
  color: rgba(255,255,255,.9);
  font-weight: 500;
  font-size: .98rem;
}

.lead-form, .form-success {
  background: var(--white);
  border-radius: 20px;
  padding: 32px;
  color: var(--ink);
  box-shadow: var(--shadow-lg);
}
.section-dark .lead-form h3,
.section-dark .form-success h3 { color: var(--ink); }
.section-dark .lead-form p,
.section-dark .form-success p { color: var(--ink-soft); }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: block;
  margin-bottom: 16px;
}
.field > span {
  display: block;
  font-weight: 600;
  font-size: .92rem;
  margin-bottom: 6px;
  color: var(--ink);
}
.field em { color: #b32d2d; font-style: normal; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  font-size: 16px; /* prevent iOS zoom */
  font-family: inherit;
  border: 1.5px solid rgba(14,26,20,.14);
  border-radius: var(--radius-sm);
  background: #FBFCFA;
  color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
  -webkit-appearance: none;
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'><path fill='%231F4D3A' d='M1 1l5 5 5-5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px;
  padding-right: 38px;
}
.field textarea {
  resize: vertical;
  min-height: 100px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(31,77,58,.12);
  background: var(--white);
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: #b32d2d;
  box-shadow: 0 0 0 4px rgba(179,45,45,.10);
}
.error {
  display: block;
  color: #b32d2d;
  font-size: .82rem;
  margin-top: 5px;
  min-height: 0;
}

.form-fineprint {
  font-size: .8rem;
  color: var(--ink-soft);
  margin: 12px 0 0;
  text-align: center;
}

.form-error {
  margin-top: 14px;
  padding: 12px 14px;
  background: #FDECEC;
  border: 1px solid #f4c0c0;
  color: #8a1f1f;
  border-radius: var(--radius-sm);
  font-size: .92rem;
}

.btn-spinner {
  display: none;
  width: 18px; height: 18px;
  border: 2.5px solid rgba(255,255,255,.4);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
.btn.is-loading .btn-spinner { display: inline-block; }
.btn.is-loading .btn-label { opacity: .75; }
.btn.is-loading { pointer-events: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-success { text-align: center; }
.success-check {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--green-tint);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.success-check svg { width: 36px; height: 36px; fill: var(--green); }

/* Footer */
.site-footer {
  background: #0B1410;
  color: rgba(255,255,255,.7);
  padding: 40px 0;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer-logo {
  height: 52px; width: 52px;
  border-radius: 10px;
  object-fit: cover;
  margin-bottom: 10px;
}
.footer-tag { margin: 0; color: rgba(255,255,255,.85); font-weight: 500; }
.footer-meta { text-align: right; }
.footer-meta p { margin: 0; color: rgba(255,255,255,.7); }
.footer-meta .small { font-size: .82rem; color: rgba(255,255,255,.5); margin-top: 4px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .cards { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .form-wrap { grid-template-columns: 1fr; gap: 32px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-art { order: -1; }
  .hero-card { width: min(280px, 100%); }
}

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .primary-nav {
    position: absolute;
    top: 70px;
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 14px var(--pad) 22px;
    gap: 6px;
    border-bottom: 1px solid rgba(14,26,20,.08);
    box-shadow: var(--shadow-md);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform .18s ease, opacity .18s ease;
  }
  .primary-nav a {
    padding: 12px 4px;
    border-bottom: 1px solid rgba(14,26,20,.06);
  }
  .primary-nav a:last-child { border-bottom: 0; margin-top: 8px; }
  .primary-nav .btn { width: 100%; }
  .site-header.is-open .primary-nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .cards, .steps, .why-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .lead-form, .form-success { padding: 24px; }
  .footer-grid { flex-direction: column; align-items: flex-start; text-align: left; }
  .footer-meta { text-align: left; }
  .hero-actions .btn { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
