/* ─── Reset & Base ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --white:        #ffffff;
  --surface:      #f2f7ee;
  --surface-2:    #e6f0dc;
  --green-900:    #173404;
  --green-800:    #27500a;
  --green-700:    #3b6d11;
  --green-600:    #639922;
  --green-400:    #97c459;
  --green-200:    #c0dd97;
  --green-100:    #daedc0;
  --green-50:     #eaf3de;
  --gray-800:     #2c2c2a;
  --gray-600:     #5f5e5a;
  --gray-400:     #888780;
  --gray-200:     #d3d1c7;
  --gray-100:     #e8e6df;
  --radius-sm:    4px;
  --radius-md:    8px;
  --radius-lg:    14px;
  --font:         'Montserrat', system-ui, sans-serif;
  --transition:   0.25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* ─── Utility ───────────────────────────────────────────────── */
.kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-700);
  margin-bottom: 0.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.7rem 1.5rem;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  cursor: pointer;
  border: 1.5px solid transparent;
  white-space: nowrap;
}

.button.primary {
  background: var(--green-700);
  color: var(--white);
  border-color: var(--green-700);
}
.button.primary:hover {
  background: var(--green-800);
  border-color: var(--green-800);
}

.button.secondary {
  background: transparent;
  color: var(--green-700);
  border-color: var(--green-700);
}
.button.secondary:hover {
  background: var(--green-50);
}

/* ─── Header ────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0 5vw;
  height: 68px;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-100);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}
.brand span {
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--gray-800);
}
.brand strong {
  font-weight: 700;
  color: var(--green-700);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex: 1;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-600);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.nav-links a:hover { color: var(--gray-800); background: var(--surface); }
.nav-links a.is-active { color: var(--green-700); font-weight: 600; }

.nav-action {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 600;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-md);
  background: var(--green-700);
  color: var(--white);
  transition: background var(--transition);
}
.nav-action:hover { background: var(--green-800); }

/* ─── Hero ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  grid-template-columns: 1fr;
  align-items: end;
  overflow: hidden;
  background: var(--green-900);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0.32;
}

/* dot-grid overlay — the signature element */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(99,153,34,0.22) 1px, transparent 1px);
  background-size: 28px 28px;
  animation: grid-pulse 6s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes grid-pulse {
  0%, 100% { opacity: 0.6; }
  50%       { opacity: 1; }
}

/* green gradient at bottom of hero */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(23,52,4,0.9) 0%, rgba(23,52,4,0.5) 45%, transparent 100%);
  pointer-events: none;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 760px;
  padding: 8rem 5vw 3rem;
}

.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-200);
  border: 1px solid rgba(192,221,151,0.35);
  border-radius: 20px;
  padding: 0.35rem 0.9rem;
  margin-bottom: 1.5rem;
  background: rgba(59,109,17,0.3);
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.13;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.hero > .hero-content > p {
  font-size: 1.05rem;
  font-weight: 400;
  color: rgba(255,255,255,0.72);
  max-width: 560px;
  margin-bottom: 2rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* hero panel (stats bar) */
.hero-panel {
  position: relative;
  z-index: 3;
  display: flex;
  gap: 0;
  border-top: 1px solid rgba(192,221,151,0.2);
  background: rgba(23,52,4,0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0 5vw;
}

.hero-panel > div {
  display: flex;
  flex-direction: column;
  padding: 1.25rem 2.5rem 1.25rem 0;
  border-right: 1px solid rgba(192,221,151,0.15);
  margin-right: 2.5rem;
}
.hero-panel > div:last-child { border-right: none; margin-right: 0; }

.hero-panel span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(192,221,151,0.65);
}
.hero-panel strong {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-top: 2px;
}

/* ─── Sections ──────────────────────────────────────────────── */
.section {
  padding: 6rem 5vw;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 4rem;
  align-items: start;
  margin-bottom: 3.5rem;
}

.section-head h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--gray-800);
}

.section-head > p {
  font-size: 1rem;
  color: var(--gray-600);
  padding-top: 0.25rem;
  line-height: 1.75;
}

/* ─── Info Cards (service grid) ─────────────────────────────── */
.system-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--gray-200);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.info-card {
  background: var(--white);
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: background var(--transition);
}
.info-card:hover { background: var(--surface); }

.card-icon {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--green-600);
  font-family: var(--font);
}

.info-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--gray-800);
}

.info-card p {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.7; 
}

/* ─── Precision / CTA ───────────────────────────────────────── */
.precision {
  background: var(--surface);
  padding: 5rem 5vw;
}

.precision-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3rem;
  padding: 3.5rem;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
}

.precision-mark {
  font-size: 5rem;
  line-height: 1;
  color: var(--green-200);
  font-weight: 700;
  user-select: none;
  flex-shrink: 0;
}

.precision-copy h2 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--gray-800);
  margin-bottom: 0.75rem;
}

.precision-copy > p {
  color: var(--gray-600);
  font-size: 0.95rem;
  margin-bottom: 1.75rem;
}

/* ─── Footer ────────────────────────────────────────────────── */
.site-footer {
  background: var(--green-900);
  color: rgba(255,255,255,0.65);
  padding: 4rem 5vw 2.5rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
}

.footer-brand { margin-bottom: 1rem; }
.footer-brand span { color: rgba(255,255,255,0.9); }
.footer-brand strong { color: var(--green-400); }

.site-footer p {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  line-height: 1.6;
}

.site-footer h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 1rem;
}

.site-footer a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 0.5rem;
  transition: color var(--transition);
}
.site-footer a:hover { color: var(--white); }

/* ─── Reveal animation ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Responsive ────────────────────────────────────────────── */
@media (max-width: 900px) {
  .section-head { grid-template-columns: 1fr; }
  .system-grid  { grid-template-columns: 1fr; }
  .precision-card { grid-template-columns: 1fr; gap: 1.5rem; }
  .precision-mark { font-size: 3rem; }
  .site-footer  { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 640px) {
  .nav-links  { display: none; }
  .hero-panel { flex-wrap: wrap; }
  .hero-panel > div { margin-right: 1.5rem; padding-right: 1.5rem; }
  .site-footer { grid-template-columns: 1fr; }
  .hero-content { padding-top: 5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero::before { animation: none; }
}
