:root {
  --green: #0f4d35;
  --green-dark: #0a3525;
  --warm: #f7f8f5;
  --ink: #0d1f17;
  --muted: #5a6b62;
  --line: rgba(15, 77, 53, 0.14);
  --soft: #e8ebe6;
  --white: #ffffff;
  --shadow: 0 16px 40px rgba(13, 31, 23, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--warm);
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.nav-inner,
.section-inner {
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 0 48px;
}

.nav-inner {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  min-width: 156px;
}

.logo img {
  width: auto;
  height: 46px;
  object-fit: contain;
  object-position: left center;
  transform: translateY(1px);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  transition: color 160ms ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--green);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 0;
  color: var(--ink);
  background: transparent;
}

.mobile-menu {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.mobile-menu.open {
  display: block;
}

.mobile-menu-inner {
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 16px 24px 24px;
  display: grid;
  gap: 8px;
}

.mobile-menu .nav-link,
.mobile-menu .button {
  width: 100%;
  justify-content: center;
  padding: 12px;
}

.main {
  flex: 1;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--green);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  background: #0d432e;
  transform: translateY(-1px);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.34);
  color: var(--white);
  backdrop-filter: blur(8px);
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

.hero {
  position: relative;
  min-height: calc(90vh - 80px);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
}

.hero::before {
  background-image: url("https://images.unsplash.com/photo-1506528388886-73c3a762ae8a?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&q=80&w=2000");
  background-size: cover;
  background-position: center;
}

.hero::after {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.66), rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.04));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 96px 48px;
}

.hero-copy {
  max-width: 720px;
}

.hero h1 {
  margin: 0 0 24px;
  color: var(--white);
  font-size: clamp(48px, 7vw, 84px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero p {
  max-width: 680px;
  margin: 0 0 40px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.48;
}

.hero-actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.section {
  padding: 80px 0;
}

.section.white {
  background: var(--white);
}

.section.alt {
  background: var(--warm);
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0;
  background: linear-gradient(135deg, rgba(15, 77, 53, 0.08), rgba(255, 255, 255, 0));
  text-align: center;
}

.page-hero .section-inner {
  max-width: 980px;
}

.page-hero h1,
.section-title {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: 0;
}

.page-hero p,
.section-kicker {
  margin: 0 auto;
  color: rgba(13, 31, 23, 0.72);
  font-size: 20px;
  line-height: 1.65;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-heading .section-title {
  font-size: clamp(34px, 4vw, 52px);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.feature {
  text-align: center;
}

.icon-box {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(15, 77, 53, 0.1);
  color: var(--green);
}

.feature h3,
.card h3,
.service h3 {
  margin: 0 0 8px;
  color: var(--ink);
}

.feature p,
.card p,
.service p,
.copy p,
.contact-copy p {
  margin: 0;
  color: rgba(13, 31, 23, 0.72);
  line-height: 1.65;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.innovation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.card {
  overflow: hidden;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 2px 16px rgba(13, 31, 23, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.card-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--soft);
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.card:hover .card-image img {
  transform: scale(1.06);
}

.card-body {
  padding: 24px;
}

.category {
  margin-bottom: 10px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  border: 0;
  background: transparent;
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
  padding: 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

.copy h2 {
  margin: 0 0 24px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.1;
}

.check-list {
  display: grid;
  gap: 16px;
  margin: 32px 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.check {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  color: var(--green);
}

.image-frame {
  position: relative;
}

.image-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.content-narrow {
  max-width: 900px;
  margin: 0 auto;
}

.content-block {
  margin-bottom: 56px;
}

.content-block h2 {
  margin: 0 0 20px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.15;
}

.content-block p + p {
  margin-top: 18px;
}

.wide-image {
  width: 100%;
  height: 390px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.focus-grid,
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.focus,
.service {
  padding: 24px;
  border: 1px solid rgba(15, 77, 53, 0.18);
  border-radius: 8px;
  background: var(--warm);
}

.service {
  background: var(--white);
  box-shadow: 0 2px 16px rgba(13, 31, 23, 0.07);
}

.service .icon-box {
  margin: 0 0 18px;
  border-radius: 8px;
}

.filters {
  position: sticky;
  top: 80px;
  z-index: 10;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.filter-button {
  min-height: 40px;
  padding: 8px 18px;
  border: 0;
  border-radius: 999px;
  background: var(--soft);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.filter-button.active {
  background: var(--green);
  color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
}

.contact-list {
  display: grid;
  gap: 24px;
  margin: 32px 0;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-item .icon-box {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  margin: 0;
  border-radius: 8px;
}

.contact-image {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.form-panel {
  padding: 40px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.form-panel h2,
.contact-copy h2 {
  margin: 0 0 20px;
  font-size: 32px;
}

.form {
  display: grid;
  gap: 20px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-size: 14px;
  font-weight: 700;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  padding: 13px 14px;
  outline: 0;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(15, 77, 53, 0.14);
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.form-status {
  min-height: 22px;
  color: var(--green);
  font-size: 14px;
  font-weight: 700;
}

.footer {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  color: var(--white);
}

.footer-inner {
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 60px 48px 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
}

.footer-logo {
  width: auto;
  height: 42px;
  object-fit: contain;
  object-position: left center;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.footer p,
.footer a,
.footer li {
  color: rgba(255, 255, 255, 0.8);
}

.footer p {
  max-width: 480px;
  line-height: 1.7;
}

.footer h4 {
  margin: 0 0 16px;
}

.footer ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer a:hover {
  color: var(--white);
}

.socials {
  display: flex;
  gap: 12px;
  margin-top: 22px;
}

.social {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.copyright {
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  text-align: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
}

.empty {
  grid-column: 1 / -1;
  padding: 80px 0;
  text-align: center;
  color: var(--muted);
}

svg {
  width: 1em;
  height: 1em;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 980px) {
  .nav-inner,
  .section-inner,
  .hero-content,
  .footer-inner {
    padding-left: 24px;
    padding-right: 24px;
  }

  .nav-links,
  .nav-actions {
    display: none;
  }

  .menu-button {
    display: inline-flex;
  }

  .feature-grid,
  .card-grid,
  .innovation-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid,
  .split {
    gap: 40px;
  }
}

@media (max-width: 640px) {
  .nav-inner {
    height: 72px;
  }

  .logo img {
    height: 38px;
  }

  .hero {
    min-height: 76vh;
  }

  .hero-content {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .section {
    padding: 56px 0;
  }

  .page-hero {
    padding: 72px 0;
  }

  .feature-grid,
  .card-grid,
  .innovation-grid,
  .focus-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .form-panel {
    padding: 24px;
  }

  .wide-image {
    height: 260px;
  }
}
