:root {
  --bg: #ffffff;
  --bg-soft: #f8f9f8;
  --text: #1f2721;
  --muted: #677169;
  --line: #e6ebe6;
  --accent: #4f6a45;
  --accent-dark: #31432c;
  --container: 1180px;
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.68;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

.narrow {
  width: min(860px, 100%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255,255,255,0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 20px;
}

.brand-logo {
  width: 166px;
  height: 56px;
  display: flex;
  align-items: center;
}

.brand-logo img {
  max-height: 56px;
  width: auto;
}

.logo-fallback {
  display: none;
  align-items: center;
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--accent-dark);
  letter-spacing: -0.03em;
}

.nav-links {
  display: flex;
  gap: 28px;
  color: var(--muted);
  font-size: 0.96rem;
}

.nav-links a:hover {
  color: var(--accent-dark);
}

.lang-switcher {
  display: flex;
  gap: 8px;
}

.lang-switcher button {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  border-radius: 999px;
  padding: 8px 12px;
  cursor: pointer;
}

.lang-switcher button.active,
.lang-switcher button:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.hero {
  padding: 86px 0 62px;
  background: #fff;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 46px;
  align-items: center;
}

.eyebrow,
.section-label {
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 700;
}

.hero h1 {
  margin: 12px 0 12px;
  font-size: clamp(2.6rem, 5vw, 4.9rem);
  line-height: 1.03;
  letter-spacing: -0.045em;
}

.hero-sub {
  margin: 0 0 18px;
  font-size: 1.06rem;
  color: var(--accent-dark);
  font-weight: 700;
}

.hero-text {
  max-width: 720px;
  font-size: 1.05rem;
  color: #364037;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.top-service-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.service-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--accent-dark);
  font-weight: 600;
}

.service-chip:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 600;
  transition: 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-dark);
}

.btn-secondary {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--line);
}

.btn-secondary:hover {
  border-color: #cfd8cf;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-image-frame {
  background: #f3f6f2;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  min-height: 420px;
}

.hero-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.placeholder {
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.placeholder-label {
  color: var(--accent-dark);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
  padding: 24px;
}

.section {
  padding: 78px 0;
}

.section-soft {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.two-col,
.grid-2,
.contact-wrap {
  display: grid;
  gap: 30px;
}

.two-col {
  grid-template-columns: 1.05fr 0.95fr;
}

.align-center {
  align-items: center;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 24px;
}

.paper-card,
.info-card,
.system-chain-card,
.contact-form,
.contact-details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.paper-card,
.info-card,
.contact-details {
  padding: 24px;
}

.info-card-title {
  font-weight: 700;
  margin-bottom: 10px;
}

.info-card ul {
  margin: 0;
  padding-left: 18px;
}

.solution-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.solution-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  align-items: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
}

.solution-item span {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--accent-dark);
  font-weight: 700;
}

.solution-item h3,
.paper-card h3 {
  margin: 0 0 8px;
}

.biochar-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 30px;
  align-items: start;
  margin-top: 22px;
}

.biochar-packshots {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.biochar-packshot {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
}

.biochar-packshot img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.biochar-copy .paper-card {
  height: 100%;
}

.biochar-benefits {
  margin: 18px 0;
  padding-left: 20px;
}

.biochar-benefits li {
  margin-bottom: 10px;
}

.biochar-mix {
  margin-top: 18px;
  font-size: 1.06rem;
}

.biochar-note {
  margin-top: 18px;
  color: var(--muted);
}

.system-chain-card {
  padding: 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 360px;
}

.chain-node {
  width: min(320px, 100%);
  text-align: center;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.chain-arrow {
  padding: 8px 0;
  color: var(--muted);
  font-size: 1.2rem;
}

.implementation-steps {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.implementation-step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.implementation-note {
  margin-top: 18px;
  color: var(--muted);
}

.contact-wrap {
  grid-template-columns: 0.95fr 1.05fr;
  align-items: start;
}

.contact-form {
  padding: 24px;
}

.contact-form label {
  display: block;
  margin-bottom: 16px;
}

.contact-form span {
  display: block;
  margin-bottom: 7px;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 14px 15px;
  font: inherit;
  color: var(--text);
}

.contact-form textarea {
  resize: vertical;
}

.form-note {
  margin: 12px 0 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 24px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.94rem;
}

@media (max-width: 1040px) {
  .hero-inner,
  .two-col,
  .grid-2,
  .grid-3,
  .contact-wrap,
  .biochar-layout,
  .biochar-packshots {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .nav {
    flex-wrap: wrap;
    padding: 12px 0;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
  }

  .hero {
    padding-top: 64px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(var(--container), calc(100% - 24px));
  }

  .section {
    padding: 62px 0;
  }

  .hero h1 {
    font-size: 2.35rem;
  }

  .hero-image-frame {
    min-height: 280px;
  }

  .solution-item {
    grid-template-columns: 1fr;
  }
}
