:root {
  --page: #f8fbf6;
  --surface: #ffffff;
  --soft: #eaf9f0;
  --ink: #132026;
  --muted: #607078;
  --line: #dce8df;
  --green: #03a84e;
  --green-dark: #02763a;
  --gold: #e9c46a;
  --coral: #e76f51;
  --blue: #335c67;
  --shadow: 0 20px 52px rgba(19, 32, 38, 0.1);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  top: -120px;
  left: 16px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(248, 251, 246, 0.92);
  box-shadow: 0 1px 0 rgba(19, 32, 38, 0.08);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: min(var(--max), calc(100% - 40px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 850;
  font-size: 1.08rem;
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  font-weight: 900;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-menu a {
  color: rgba(19, 32, 38, 0.76);
  font-weight: 750;
  font-size: 0.94rem;
  text-decoration: none;
}

.nav-menu a:hover,
.nav-menu a:focus {
  color: var(--green-dark);
}

.nav-menu .nav-cta {
  padding: 10px 16px;
  border: 1px solid rgba(3, 168, 78, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--green-dark);
}

.menu-toggle {
  width: 42px;
  height: 42px;
  display: none;
  place-items: center;
  gap: 4px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  cursor: pointer;
}

.menu-toggle span {
  width: 19px;
  height: 2px;
  display: block;
  border-radius: 999px;
  background: var(--ink);
}

.hero {
  min-height: 82svh;
  display: grid;
  align-items: center;
  padding: 104px 0 56px;
  background:
    linear-gradient(90deg, rgba(248, 251, 246, 0.98) 0%, rgba(248, 251, 246, 0.96) 56%, rgba(223, 248, 233, 0.72) 56%, rgba(255, 250, 239, 0.72) 100%),
    repeating-linear-gradient(90deg, rgba(3, 168, 78, 0.055) 0 1px, transparent 1px 78px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.72fr);
  gap: 52px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.7rem, 5.8vw, 5.25rem);
  font-weight: 900;
}

.hero-copy p {
  max-width: 580px;
  margin: 22px 0 0;
  color: #3b4a51;
  font-size: clamp(1.06rem, 2vw, 1.28rem);
}

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

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 850;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.btn:hover,
.btn:focus {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--green);
  color: #fff;
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--green-dark);
}

.btn-soft {
  border-color: rgba(19, 32, 38, 0.14);
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
}

.hero-visual {
  padding: 10px;
}

.hero-visual img {
  width: 100%;
  filter: drop-shadow(0 24px 40px rgba(3, 118, 58, 0.14));
}

.section {
  padding: 84px 0;
}

.compact-section {
  padding-top: 58px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.center-heading {
  margin-inline: auto;
  text-align: center;
}

.service-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.mini-card,
.product-card,
.timeline-cards article,
.contact-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 10px 24px rgba(20, 32, 38, 0.05);
}

.mini-card {
  min-height: 210px;
  padding: 26px;
}

.mini-card span,
.timeline-cards span {
  display: inline-grid;
  place-items: center;
  min-width: 38px;
  height: 32px;
  margin-bottom: 22px;
  padding: 0 10px;
  border-radius: 8px;
  background: var(--soft);
  color: var(--green-dark);
  font-weight: 900;
  font-size: 0.8rem;
}

.mini-card h3,
.product-card h3 {
  font-size: 1.35rem;
}

.mini-card p,
.product-card p,
.timeline-cards p,
.contact-box p,
.site-footer {
  color: var(--muted);
}

.products-section {
  background: #fff;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.product-card {
  overflow: hidden;
}

.product-visual {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}

.product-content {
  padding: 26px;
}

.product-label {
  margin: 0 0 10px;
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-card p:not(.product-label) {
  margin: 12px 0 18px;
}

.text-link {
  color: var(--green-dark);
  font-weight: 900;
  text-decoration: none;
}

.text-link:hover,
.text-link:focus {
  text-decoration: underline;
}

.process-section {
  background: #f0f8f2;
}

.process-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}

.timeline-cards {
  display: grid;
  gap: 12px;
}

.timeline-cards article {
  padding: 22px;
}

.timeline-cards span {
  margin-bottom: 10px;
}

.timeline-cards p {
  margin: 0;
}

.contact-section {
  padding: 76px 0;
}

.contact-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 34px;
  background: var(--ink);
}

.contact-box h2,
.contact-box .eyebrow,
.contact-box p {
  color: #fff;
}

.contact-box p {
  opacity: 0.78;
}

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

.contact-actions .btn-soft {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.site-footer {
  padding: 34px 0;
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-links {
  display: flex;
  gap: 18px;
}

.footer-links a {
  color: var(--muted);
  font-weight: 750;
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus {
  color: var(--green-dark);
}

@media (max-width: 920px) {
  .hero-grid,
  .process-layout,
  .contact-box {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    max-width: 560px;
  }

  .service-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  .container,
  .nav-shell {
    width: min(100% - 28px, var(--max));
  }

  .nav-shell {
    min-height: 68px;
  }

  .menu-toggle {
    display: grid;
  }

  .nav-menu {
    position: fixed;
    inset: 68px 14px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-menu a {
    padding: 14px;
    border-radius: 8px;
  }

  .nav-menu .nav-cta {
    margin-top: 6px;
    text-align: center;
  }

  .hero {
    min-height: auto;
    padding: 96px 0 54px;
    background:
      linear-gradient(180deg, rgba(248, 251, 246, 0.98) 0%, rgba(248, 251, 246, 0.9) 58%, rgba(223, 248, 233, 0.78) 100%),
      repeating-linear-gradient(90deg, rgba(3, 168, 78, 0.055) 0 1px, transparent 1px 70px);
  }

  h1 {
    font-size: clamp(2.35rem, 11vw, 3.65rem);
  }

  .hero-actions,
  .contact-actions,
  .footer-links {
    flex-direction: column;
  }

  .hero-actions .btn,
  .contact-actions .btn {
    width: 100%;
  }

  .hero-visual {
    padding: 0;
  }

  .section {
    padding: 64px 0;
  }

  .service-strip,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .mini-card {
    min-height: auto;
  }

  .contact-box {
    padding: 28px;
  }
}

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