:root {
  --paper: #f4f7f5;
  --white: #ffffff;
  --ink: #141414;
  --muted: #5f6763;
  --line: #d5ded8;
  --green: #16745f;
  --deep-green: #0d3d35;
  --leaf: #d9eadf;
  --tech: #dfeee9;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
.wrap { width: min(var(--max), calc(100% - 44px)); margin: 0 auto; }

header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(244, 247, 245, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.nav {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand { font-weight: 760; font-size: 18px; }
.brand span { color: var(--green); }
.links { display: flex; gap: 24px; color: var(--muted); font-size: 14px; }
.btn {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 6px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 720;
}
.btn.primary { background: var(--deep-green); color: var(--white); border-left: 4px solid var(--green); }
.btn.ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn.soft { background: var(--leaf); color: var(--deep-green); border-color: var(--leaf); }

.page-hero {
  min-height: 420px;
  display: grid;
  align-items: end;
  padding: 82px 0 56px;
  background: linear-gradient(180deg, var(--paper), var(--tech));
  border-bottom: 1px solid var(--line);
}
.page-hero.dark {
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(13, 61, 53, 0.22), rgba(13, 61, 53, 0.82)),
    var(--hero-image, url("https://images.unsplash.com/photo-1600566753190-17f0baa2a6c3?auto=format&fit=crop&w=2200&q=82")) center/cover;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.kicker::before { content: ""; width: 30px; height: 2px; background: var(--green); }
.page-hero.dark .kicker::before { background: #a8dfca; }
h1 {
  max-width: 800px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 0.98;
  font-weight: 650;
}
.lead {
  max-width: 660px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}
.page-hero.dark .lead { color: rgba(255,255,255,.8); }

section { padding: 78px 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 36px;
  align-items: end;
  margin-bottom: 34px;
}
.section-title {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.04;
  font-weight: 640;
}
.section-copy {
  max-width: 470px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}
.split {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 54px;
  align-items: start;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}
.chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 13px;
  color: var(--muted);
  background: var(--white);
  font-size: 13px;
}
.chip.active { background: var(--deep-green); color: var(--white); border-color: var(--deep-green); }

.product-list { display: grid; border-top: 1px solid var(--line); }
.product-row {
  display: grid;
  grid-template-columns: 260px 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.product-row img {
  width: 260px;
  aspect-ratio: 1.25;
  object-fit: cover;
  border-radius: 6px;
}
.meta { color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.product-row h2, .product-row h3 { margin: 8px 0 10px; font-size: 28px; line-height: 1.08; }
.product-row p { max-width: 580px; color: var(--muted); line-height: 1.62; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tags span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--muted);
  font-size: 12px;
  background: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
}
.gallery-grid img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  border-radius: 8px;
}
.gallery-stack { display: grid; gap: 18px; }
.spec-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
}
.spec-list { display: grid; gap: 1px; margin-top: 18px; background: var(--line); }
.spec-list div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 0;
  background: var(--white);
}
.spec-list dt { color: var(--muted); }
.spec-list dd { margin: 0; font-weight: 700; text-align: right; }

.proof-grid, .card-grid, .article-grid, .video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.proof, .card, .article-card, .video-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}
.proof {
  min-height: 190px;
  display: grid;
  align-content: space-between;
}
.proof span, .article-card span, .video-card span {
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.proof p, .card p, .article-card p, .video-card p { color: var(--muted); line-height: 1.62; }
.card h3, .article-card h2, .article-card h3, .video-card h3 { margin: 12px 0; line-height: 1.12; }

.article-card {
  min-height: 290px;
  display: grid;
  align-content: space-between;
}
.article-card.featured {
  grid-column: span 2;
  min-height: 360px;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(13, 61, 53, 0.16), rgba(13, 61, 53, 0.82)),
    url("https://images.unsplash.com/photo-1600566753086-00f18fb6b3ea?auto=format&fit=crop&w=1200&q=82") center/cover;
}
.article-card.featured p, .article-card.featured span { color: rgba(255,255,255,.82); }
.article-body {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}
.article-body h2 {
  margin: 42px 0 14px;
  color: var(--ink);
  font-size: 34px;
  line-height: 1.1;
}

.video-grid { grid-template-columns: repeat(4, 1fr); }
.video-card { padding: 0; overflow: hidden; }
.video-thumb {
  position: relative;
  min-height: 180px;
  background: var(--deep-green);
}
.video-thumb img { width: 100%; height: 100%; min-height: 180px; object-fit: cover; }
.play {
  position: absolute;
  left: 18px;
  bottom: 18px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: var(--deep-green);
  font-weight: 800;
}
.video-card .body { padding: 18px; }

form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
}
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
label { display: grid; gap: 8px; font-size: 13px; font-weight: 720; }
input, select, textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}
textarea { min-height: 132px; resize: vertical; }
.wide { grid-column: 1 / -1; }
.consent {
  display: flex;
  gap: 10px;
  margin: 18px 0 24px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.consent input { width: 18px; min-height: 18px; margin-top: 2px; }

.contact-cards { display: grid; gap: 14px; }
.contact-line {
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.contact-line strong { display: block; margin-bottom: 7px; }
.contact-line span { color: var(--muted); }

footer {
  padding: 34px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.foot { display: flex; justify-content: space-between; gap: 24px; }
.foot strong { color: var(--ink); }

@media (max-width: 980px) {
  .links { display: none; }
  .split, .gallery-grid { grid-template-columns: 1fr; }
  .proof-grid, .card-grid, .article-grid { grid-template-columns: repeat(2, 1fr); }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .product-row { grid-template-columns: 180px 1fr; }
  .product-row .btn { grid-column: 2; justify-self: start; }
  .product-row img { width: 180px; }
}
@media (max-width: 640px) {
  .wrap { width: min(100% - 32px, var(--max)); }
  .nav { min-height: 64px; }
  .page-hero { min-height: 360px; padding: 56px 0 40px; }
  section { padding: 54px 0; }
  .section-head { display: grid; }
  .proof-grid, .card-grid, .article-grid, .video-grid, .form-grid, .product-row { grid-template-columns: 1fr; }
  .article-card.featured { grid-column: auto; }
  .product-row img { width: 100%; }
  .product-row .btn { grid-column: auto; }
  .foot { flex-direction: column; }
}
