:root {
  --brand: #006838;
  --brand-deep: #0b3b26;
  --brand-soft: #dcefe5;
  --ink: #101714;
  --muted: #51615a;
  --line: rgba(16, 23, 20, 0.1);
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: rgba(255, 255, 255, 0.94);
  --panel: #f4f7f4;
  --shadow-lg: 0 24px 80px rgba(15, 38, 28, 0.12);
  --shadow-md: 0 18px 40px rgba(15, 38, 28, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  overflow-x: hidden;
  background:
    radial-gradient(circle at top left, rgba(0, 104, 56, 0.08), transparent 30%),
    radial-gradient(circle at top right, rgba(11, 59, 38, 0.08), transparent 22%),
    linear-gradient(180deg, #fcfdfc 0%, #f5f8f5 54%, #eef4f0 100%);
}

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

a {
  color: inherit;
}

.page-shell {
  position: relative;
  min-height: 100vh;
}

.page-shell::before,
.page-shell::after {
  content: "";
  position: fixed;
  inset: auto;
  z-index: -1;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(60px);
}

.page-shell::before {
  top: 8rem;
  right: -8rem;
  width: 24rem;
  height: 24rem;
  background: rgba(0, 104, 56, 0.1);
}

.page-shell::after {
  bottom: 6rem;
  left: -10rem;
  width: 22rem;
  height: 22rem;
  background: rgba(11, 59, 38, 0.08);
}

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  backdrop-filter: blur(20px);
  background: rgba(252, 253, 252, 0.78);
  border-bottom: 1px solid rgba(16, 23, 20, 0.06);
}

.nav-card,
.hero-card,
.glass-card,
.pricing-highlight,
.cta-panel,
.preview-panel {
  backdrop-filter: blur(18px);
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-md);
}

.nav-card {
  background: rgba(255, 255, 255, 0.75);
}

.hero-card {
  box-shadow: var(--shadow-lg);
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  color: var(--brand-deep);
  background: rgba(0, 104, 56, 0.08);
  border: 1px solid rgba(0, 104, 56, 0.12);
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.grain {
  position: relative;
}

.grain::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.06)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cg fill='none' opacity='.06'%3E%3Cpath fill='%23006838' d='M0 0h1v1H0zM48 22h1v1h-1zM87 114h1v1h-1zM126 79h1v1h-1zM144 34h1v1h-1zM23 86h1v1h-1zM67 55h1v1h-1zM110 140h1v1h-1z'/%3E%3C/g%3E%3C/svg%3E");
  mix-blend-mode: multiply;
  border-radius: inherit;
  pointer-events: none;
}

.button-primary,
.button-secondary,
.button-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.3rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
  box-shadow: 0 16px 30px rgba(0, 104, 56, 0.24);
}

.button-primary:hover,
.button-secondary:hover,
.button-ghost:hover {
  transform: translateY(-2px);
}

.button-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(16, 23, 20, 0.08);
}

.button-ghost {
  color: var(--brand-deep);
  background: rgba(0, 104, 56, 0.08);
  border: 1px solid rgba(0, 104, 56, 0.12);
}

.stat-pill,
.logo-pill {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  border-radius: 999px;
}

.feature-card,
.contact-card,
.pricing-card,
.testimonial-card {
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.feature-card:hover,
.contact-card:hover,
.pricing-card:hover,
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 104, 56, 0.22);
}

.pricing-highlight {
  background:
    linear-gradient(180deg, rgba(0, 104, 56, 0.08) 0%, rgba(255, 255, 255, 0.9) 36%, rgba(255, 255, 255, 0.96) 100%);
  border-color: rgba(0, 104, 56, 0.22);
}

.service-icon,
.contact-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-deep);
  background: linear-gradient(135deg, rgba(0, 104, 56, 0.14), rgba(0, 104, 56, 0.04));
}

.hero-grid {
  background:
    linear-gradient(transparent 0, transparent calc(100% - 1px), rgba(16, 23, 20, 0.05) calc(100% - 1px)),
    linear-gradient(90deg, transparent 0, transparent calc(100% - 1px), rgba(16, 23, 20, 0.05) calc(100% - 1px));
  background-size: 100% 4rem, 4rem 100%;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-orb {
  position: absolute;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, rgba(0, 104, 56, 0.22), rgba(0, 104, 56, 0));
  filter: blur(8px);
  opacity: 0.8;
}

.hero-orb.orb-a {
  width: 18rem;
  height: 18rem;
  top: -4rem;
  right: -2rem;
}

.hero-orb.orb-b {
  width: 14rem;
  height: 14rem;
  bottom: -3rem;
  left: -2rem;
}

.footer-grid {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent),
    linear-gradient(90deg, rgba(4, 19, 13, 0.96) 0%, rgba(7, 31, 21, 0.9) 32%, rgba(11, 59, 38, 0.7) 100%);
}

.mobile-nav {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.mobile-nav.is-open {
  max-height: 18rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(16, 23, 20, 0.12);
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  padding: 0.95rem 1rem;
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: rgba(0, 104, 56, 0.45);
  box-shadow: 0 0 0 4px rgba(0, 104, 56, 0.12);
}

.form-textarea {
  min-height: 11rem;
  resize: vertical;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .feature-card,
  .contact-card,
  .pricing-card,
  .testimonial-card,
  .button-primary,
  .button-secondary,
  .button-ghost {
    transition: none;
  }
}
