:root {
  --green: #1e5b3a;
  --green-dark: #143e2a;
  --green-soft: #6f8f46;
  --earth: #a66d43;
  --green-soft-accessible: #557238;
  --earth-accessible: #9b6039;
  --sand: #eae4d7;
  --sand-light: #f6f3ed;
  --graphite: #26302b;
  --muted: #66716b;
  --white: #ffffff;
  --line: rgba(38, 48, 43, 0.16);
  --heading: "Sora", Arial, sans-serif;
  --body: "Inter", Arial, sans-serif;
  --container: min(1180px, calc(100% - 40px));
  --section-space: clamp(88px, 10vw, 150px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  color: var(--graphite);
  background: var(--white);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid #9abd58;
  outline-offset: 4px;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  color: var(--white);
  background: var(--green);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--heading);
  letter-spacing: -0.045em;
  line-height: 1.08;
}

h1 {
  max-width: 760px;
  margin-bottom: 28px;
  font-size: clamp(3.2rem, 7vw, 6.9rem);
  font-weight: 600;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.4rem, 4.8vw, 4.75rem);
  font-weight: 600;
}

h3 {
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-weight: 600;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 26px;
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 30px;
  height: 2px;
  background: var(--earth);
  content: "";
}

.eyebrow-light {
  color: #cddbbf;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

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

.button-primary:hover {
  background: var(--green-dark);
}

.button-light {
  color: var(--green-dark);
  background: var(--white);
}

.button-light:hover {
  background: var(--sand);
}

.button-accent {
  color: var(--white);
  background: var(--earth-accessible);
  cursor: pointer;
}

.button-accent:hover {
  background: #8f5936;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 24px rgba(20, 62, 42, 0.05);
}

.header-inner {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: block;
  width: 150px;
  height: 75px;
}

.brand img {
  width: 150px;
  height: 75px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 34px);
}

.main-nav a {
  color: #46504b;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-decoration: none;
  text-transform: uppercase;
}

.main-nav a:hover {
  color: var(--green);
}

.main-nav .nav-cta {
  padding: 11px 16px;
  border: 1px solid var(--green);
  color: var(--green);
}

.main-nav .nav-cta:hover {
  color: var(--white);
  background: var(--green);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  background: transparent;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 24px;
  height: 2px;
  margin: 6px auto;
  background: var(--green-dark);
  transition: transform 180ms ease;
}

.hero {
  position: relative;
  min-height: 800px;
  padding-top: 82px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(30, 91, 58, 0.035) 1px, transparent 1px) 0 0 / 96px 96px,
    linear-gradient(rgba(30, 91, 58, 0.035) 1px, transparent 1px) 0 0 / 96px 96px,
    var(--white);
}

.hero::after {
  position: absolute;
  top: 82px;
  right: -220px;
  width: 640px;
  height: 640px;
  border: 1px solid rgba(30, 91, 58, 0.1);
  border-radius: 50%;
  content: "";
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 650px;
  grid-template-columns: minmax(0, 1.25fr) minmax(350px, 0.75fr);
  align-items: center;
  gap: clamp(40px, 6vw, 90px);
  padding-block: 70px 55px;
}

.hero-copy {
  min-width: 0;
  animation: hero-arrive 700ms cubic-bezier(0.2, 0.72, 0.2, 1) both;
}

.hero h1 span {
  display: block;
  color: var(--green);
}

.hero-lead {
  max-width: 660px;
  margin-bottom: 36px;
  color: #59645e;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--graphite);
  font-size: 0.79rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.text-link span {
  color: var(--earth);
  font-size: 1.15rem;
}

.hero-system {
  position: relative;
  width: min(100%, 470px);
  aspect-ratio: 1;
  justify-self: end;
  animation: system-arrive 900ms 120ms cubic-bezier(0.2, 0.72, 0.2, 1) both;
}

.hero-system::before,
.hero-system::after {
  position: absolute;
  inset: 8%;
  border: 1px solid rgba(30, 91, 58, 0.24);
  border-radius: 50%;
  content: "";
}

.hero-system::after {
  inset: 18%;
  border-style: dashed;
  border-color: rgba(166, 109, 67, 0.35);
}

.system-core {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: flex;
  width: 46%;
  aspect-ratio: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--green);
  text-align: center;
  transform: translate(-50%, -50%);
}

.core-kicker {
  margin-bottom: 12px;
  color: #b7cf82;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.system-core strong {
  font-family: var(--heading);
  font-size: clamp(1.15rem, 2vw, 1.65rem);
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.core-line {
  width: 38px;
  height: 3px;
  margin-top: 15px;
  background: var(--earth);
}

.system-label {
  position: absolute;
  z-index: 3;
  display: flex;
  min-width: 126px;
  flex-direction: column;
  padding: 15px 18px;
  border-left: 3px solid var(--green-soft);
  background: var(--white);
  box-shadow: 0 12px 34px rgba(38, 48, 43, 0.1);
}

.system-label span {
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.system-label strong {
  font-family: var(--heading);
  font-size: 0.95rem;
}

.system-label-industry {
  top: 12%;
  left: 1%;
}

.system-label-field {
  right: 0;
  bottom: 16%;
  border-color: var(--earth);
}

.system-caption {
  position: absolute;
  right: 10%;
  bottom: -2%;
  color: var(--green);
  font-family: var(--heading);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: right;
}

.hero-index {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.8);
}

.hero-index .container {
  display: grid;
  min-height: 66px;
  grid-template-columns: repeat(4, auto 1fr);
  align-items: center;
  gap: 12px;
}

.hero-index span:nth-child(odd) {
  color: var(--earth-accessible);
  font-family: var(--heading);
  font-size: 0.68rem;
  font-weight: 600;
}

.hero-index span:nth-child(even) {
  padding-right: 25px;
  border-right: 1px solid var(--line);
  color: #59645e;
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-index span:last-child {
  border-right: 0;
}

.cycle-section,
.solutions-section,
.process-section,
.agro-section,
.about-section {
  padding-block: var(--section-space);
}

.section-heading-split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.55fr);
  align-items: end;
  gap: 60px;
  margin-bottom: clamp(56px, 7vw, 90px);
}

.section-heading-split > p {
  max-width: 500px;
  margin-bottom: 6px;
  color: var(--muted);
}

.cycle-route {
  position: relative;
  padding: 56px 34px 28px;
  border: 1px solid rgba(30, 91, 58, 0.18);
  background: linear-gradient(135deg, #f8faf6, #f1f4ec);
  overflow: hidden;
}

.cycle-route::after {
  position: absolute;
  right: -40px;
  bottom: -210px;
  width: 430px;
  height: 430px;
  border: 68px solid rgba(111, 143, 70, 0.08);
  border-radius: 50%;
  content: "";
}

.route-line {
  position: absolute;
  top: 86px;
  right: 7%;
  left: 7%;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--green-soft) 68%, var(--earth));
}

.route-line::after {
  position: absolute;
  top: 50%;
  right: -1px;
  width: 10px;
  height: 10px;
  border-top: 3px solid var(--earth);
  border-right: 3px solid var(--earth);
  content: "";
  transform: translateY(-50%) rotate(45deg);
}

.cycle-route ol {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cycle-route li {
  min-width: 0;
}

.route-number {
  display: flex;
  width: 62px;
  height: 62px;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  border: 3px solid var(--white);
  border-radius: 50%;
  color: var(--white);
  background: var(--green);
  box-shadow: 0 0 0 1px rgba(30, 91, 58, 0.25);
  font-family: var(--heading);
  font-size: 0.73rem;
  font-weight: 600;
}

.cycle-route li:nth-child(5) .route-number,
.cycle-route li:nth-child(6) .route-number {
  background: var(--green-soft-accessible);
}

.cycle-route li:last-child .route-number {
  background: var(--earth-accessible);
}

.cycle-route strong,
.cycle-route small {
  display: block;
}

.cycle-route strong {
  min-height: 42px;
  margin-bottom: 7px;
  font-family: var(--heading);
  font-size: 0.86rem;
  letter-spacing: -0.025em;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.cycle-route small {
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.4;
}

.route-return {
  position: relative;
  z-index: 2;
  margin: 42px 0 0;
  padding-top: 22px;
  border-top: 1px solid rgba(30, 91, 58, 0.16);
  color: var(--green);
  font-family: var(--heading);
  font-size: clamp(0.85rem, 1.4vw, 1.05rem);
  font-weight: 600;
  text-align: right;
}

.solutions-section {
  background: var(--sand-light);
}

.solutions-list {
  border-top: 1px solid var(--line);
}

.solution-row {
  display: grid;
  grid-template-columns: 60px minmax(250px, 1fr) minmax(260px, 0.85fr) 128px;
  align-items: center;
  gap: 28px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
  transition: padding 180ms ease, background 180ms ease;
}

.solution-row:hover {
  padding-inline: 18px;
  background: var(--white);
}

.solution-number {
  color: var(--earth-accessible);
  font-family: var(--heading);
  font-size: 0.76rem;
  font-weight: 600;
}

.solution-row h3,
.solution-row p {
  margin-bottom: 0;
}

.solution-row p {
  color: var(--muted);
  font-size: 0.92rem;
}

.solution-tag {
  justify-self: end;
  padding: 7px 10px;
  border: 1px solid rgba(30, 91, 58, 0.22);
  color: var(--green);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.segments-section {
  padding: var(--section-space) 0 0;
  color: var(--white);
  background: var(--green);
}

.segments-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.75fr) minmax(450px, 1.25fr);
  gap: clamp(60px, 9vw, 130px);
  padding-bottom: 80px;
}

.segments-intro {
  align-self: start;
}

.segments-intro h2 {
  margin-bottom: 28px;
}

.segments-intro > p:not(.eyebrow) {
  margin-bottom: 36px;
  color: #c8d5ce;
}

.segment-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  list-style: none;
}

.segment-list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  font-family: var(--heading);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  letter-spacing: -0.025em;
}

.segment-list span {
  color: #b8d39e;
  font-family: var(--body);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
}

.segment-question {
  display: flex;
  min-height: 112px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.segment-question p {
  margin: 0;
  font-family: var(--heading);
  font-size: clamp(1rem, 1.7vw, 1.3rem);
  font-weight: 600;
}

.segment-question a {
  color: #d9e7ce;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.segment-question a span {
  margin-left: 14px;
  color: var(--white);
  font-size: 1.15rem;
}

.process-grid {
  display: grid;
  grid-template-columns: minmax(290px, 0.7fr) minmax(460px, 1.1fr);
  gap: clamp(60px, 9vw, 140px);
}

.process-intro {
  position: sticky;
  top: 135px;
  align-self: start;
}

.process-intro h2 {
  margin-bottom: 28px;
}

.process-intro > p:last-child {
  max-width: 440px;
  color: var(--muted);
}

.process-list {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list::before {
  position: absolute;
  top: 34px;
  bottom: 34px;
  left: 24px;
  width: 2px;
  background: linear-gradient(var(--green), var(--green-soft), var(--earth));
  content: "";
}

.process-list li {
  position: relative;
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 26px;
  padding: 0 0 44px;
}

.process-list li:last-child {
  padding-bottom: 0;
}

.process-list li > span {
  position: relative;
  z-index: 2;
  display: flex;
  width: 50px;
  height: 50px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(30, 91, 58, 0.32);
  border-radius: 50%;
  color: var(--green);
  background: var(--white);
  font-family: var(--heading);
  font-size: 0.7rem;
  font-weight: 600;
}

.process-list h3 {
  margin: 3px 0 8px;
}

.process-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.circular-section {
  padding-block: clamp(70px, 8vw, 110px);
  color: var(--white);
  background: var(--graphite);
}

.circular-grid {
  display: grid;
  grid-template-columns: minmax(340px, 1fr) minmax(300px, 0.72fr);
  align-items: end;
  gap: clamp(50px, 9vw, 130px);
}

.circular-statement {
  position: relative;
  padding-left: 86px;
}

.circular-mark {
  position: absolute;
  top: -20px;
  left: 0;
  color: #9fbc6e;
  font-size: 4.5rem;
  line-height: 1;
}

.circular-statement h2 {
  font-size: clamp(2.25rem, 4.3vw, 4.2rem);
}

.circular-copy {
  padding-left: 30px;
  border-left: 1px solid rgba(255, 255, 255, 0.24);
  color: #c9d1cd;
}

.circular-copy p:last-child {
  margin-bottom: 0;
}

.agro-section {
  background: #f3f4ed;
}

.agro-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(420px, 1.2fr);
  align-items: center;
  gap: clamp(60px, 10vw, 150px);
}

.agro-copy h2 {
  margin-bottom: 30px;
}

.agro-copy > p:not(.eyebrow) {
  color: var(--muted);
}

.agro-copy ul {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.agro-copy li {
  position: relative;
  padding: 12px 0 12px 26px;
  border-bottom: 1px solid var(--line);
}

.agro-copy li::before {
  position: absolute;
  top: 50%;
  left: 2px;
  width: 8px;
  height: 8px;
  border: 2px solid var(--green-soft);
  border-radius: 50%;
  content: "";
  transform: translateY(-50%);
}

.soil-system {
  position: relative;
  min-height: 490px;
  padding: 46px 44px 0;
  border: 1px solid rgba(38, 48, 43, 0.14);
  background: var(--white);
  overflow: hidden;
}

.soil-labels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.soil-labels span {
  position: relative;
  padding-top: 16px;
  border-top: 2px solid var(--green);
  color: var(--green-dark);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
}

.soil-labels span:nth-child(2) {
  border-color: var(--green-soft);
}

.soil-labels span:nth-child(3) {
  border-color: var(--earth);
}

.soil-field {
  position: absolute;
  right: 0;
  bottom: 148px;
  left: 0;
  height: 210px;
  overflow: hidden;
}

.soil-field::before {
  position: absolute;
  right: -10%;
  bottom: -180px;
  left: -10%;
  height: 300px;
  border-radius: 50% 50% 0 0;
  background: #dce8c7;
  content: "";
}

.soil-field p {
  position: absolute;
  right: 44px;
  bottom: 13px;
  z-index: 2;
  color: var(--green);
  font-family: var(--heading);
  font-size: 1.1rem;
  font-weight: 600;
}

.field-line {
  position: absolute;
  z-index: 2;
  display: block;
  width: 120%;
  height: 1px;
  background: rgba(30, 91, 58, 0.24);
  transform: rotate(-8deg);
  transform-origin: left center;
}

.field-line-one { top: 110px; left: -10%; }
.field-line-two { top: 138px; left: -10%; }
.field-line-three { top: 166px; left: -10%; }

.soil-horizon {
  position: absolute;
  right: 0;
  left: 0;
}

.soil-horizon-one {
  bottom: 72px;
  height: 76px;
  background: #bd8a62;
}

.soil-horizon-two {
  bottom: 0;
  height: 72px;
  background: #815035;
}

.soil-caption {
  position: absolute;
  right: 30px;
  bottom: 18px;
  z-index: 2;
  margin: 0;
  color: var(--white);
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(340px, 1fr) minmax(340px, 0.8fr);
  gap: clamp(60px, 9vw, 140px);
}

.about-copy > p {
  color: var(--muted);
  font-size: 1.05rem;
}

.about-equation {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.about-equation span {
  color: var(--green);
  font-family: var(--heading);
  font-size: 0.83rem;
  font-weight: 600;
}

.about-equation b {
  color: var(--earth-accessible);
  font-size: 0.9rem;
}

.contact-section {
  padding-block: var(--section-space);
  color: var(--white);
  background: var(--green-dark);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(330px, 0.75fr) minmax(500px, 1.25fr);
  gap: clamp(60px, 9vw, 130px);
}

.contact-intro h2 {
  margin-bottom: 30px;
  font-size: clamp(2.35rem, 4.6vw, 4.5rem);
}

.contact-intro > p:last-child {
  color: #bdcbc4;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px 22px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field-full {
  grid-column: 1 / -1;
}

.field label {
  color: #d3ddd8;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.field input,
.field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 0;
  color: var(--white);
  background: transparent;
  outline: none;
  transition: border-color 180ms ease, background 180ms ease;
}

.field input {
  height: 47px;
}

.field textarea {
  min-height: 110px;
  padding: 10px 0;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #82938a;
}

.field input:focus,
.field textarea:focus {
  border-color: #afcb7a;
  background: rgba(255, 255, 255, 0.025);
}

.form-submit {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 8px;
}

.form-status {
  margin: 0;
  color: #dbe7d5;
  font-size: 0.78rem;
}

.site-footer {
  color: #d0d8d4;
  background: #101a15;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(300px, 1.3fr) 0.55fr 0.8fr;
  gap: 80px;
  padding-block: 72px;
}

.footer-logo-wrap {
  display: flex;
  width: 200px;
  height: 100px;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  background: var(--white);
}

.footer-logo-wrap img {
  width: 180px;
  height: 90px;
  object-fit: contain;
}

.footer-brand > p {
  max-width: 400px;
  margin-bottom: 0;
  color: #9caaa3;
}

.footer-links,
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}

.footer-links p,
.footer-contact p {
  margin-bottom: 12px;
  color: var(--white);
  font-family: var(--heading);
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-links a,
.footer-contact a,
.footer-contact span {
  color: #9caaa3;
  font-size: 0.83rem;
  text-decoration: none;
}

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

.footer-contact a {
  margin-top: 8px;
  color: #b6cb8b;
}

.footer-bottom {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #829088;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
}

.whatsapp-placeholder {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: flex;
  min-height: 46px;
  align-items: center;
  gap: 9px;
  padding: 5px 14px 5px 6px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 24px;
  color: var(--white);
  background: var(--green);
  box-shadow: 0 9px 28px rgba(20, 62, 42, 0.25);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.whatsapp-placeholder span:first-child {
  display: flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--green);
  background: var(--white);
  font-size: 0.58rem;
  letter-spacing: 0;
}

@keyframes hero-arrive {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes system-arrive {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

@media (max-width: 1040px) {
  .main-nav {
    gap: 16px;
  }

  .main-nav a {
    font-size: 0.64rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) 350px;
  }

  .cycle-route {
    overflow-x: auto;
  }

  .cycle-route ol {
    min-width: 970px;
  }

  .route-line {
    width: 850px;
    right: auto;
    left: 66px;
  }

  .solution-row {
    grid-template-columns: 45px minmax(220px, 0.8fr) minmax(250px, 1fr);
  }

  .solution-tag {
    display: none;
  }

  .contact-grid {
    grid-template-columns: 0.7fr 1fr;
    gap: 60px;
  }
}

@media (max-width: 820px) {
  :root {
    --container: min(100% - 32px, 720px);
    --section-space: 90px;
  }

  .header-inner {
    min-height: 74px;
  }

  .site-header {
    backdrop-filter: none;
  }

  .brand {
    width: 132px;
    height: 66px;
  }

  .brand img {
    width: 132px;
    height: 66px;
  }

  .menu-toggle {
    position: relative;
    z-index: 102;
    display: block;
  }

  .menu-toggle[aria-expanded="true"] span:not(.sr-only):nth-child(2) {
    transform: translateY(4px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:not(.sr-only):nth-child(3) {
    transform: translateY(-4px) rotate(-45deg);
  }

  .main-nav {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 18px;
    padding: 90px 32px 40px;
    color: var(--white);
    background: var(--green-dark);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    visibility: hidden;
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .main-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
  }

  .main-nav a {
    color: var(--white);
    font-family: var(--heading);
    font-size: clamp(1.4rem, 5vw, 2rem);
    letter-spacing: -0.02em;
    text-transform: none;
  }

  .main-nav .nav-cta {
    margin-top: 12px;
    border-color: #a9c37b;
    color: #cfe1b1;
  }

  .hero {
    min-height: auto;
    padding-top: 74px;
  }

  .hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 58px;
    padding-block: 80px 70px;
  }

  .hero-system {
    width: min(100%, 430px);
    justify-self: center;
  }

  .hero-index .container {
    grid-template-columns: repeat(2, auto 1fr);
    padding-block: 12px;
    row-gap: 8px;
  }

  .section-heading-split,
  .segments-grid,
  .process-grid,
  .circular-grid,
  .agro-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .section-heading-split {
    gap: 30px;
  }

  .solution-row {
    grid-template-columns: 42px 0.9fr 1fr;
    gap: 20px;
  }

  .segments-grid,
  .process-grid,
  .agro-grid,
  .about-grid,
  .contact-grid {
    gap: 60px;
  }

  .process-intro {
    position: static;
  }

  .circular-statement {
    padding-left: 74px;
  }

  .circular-copy {
    padding: 30px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.24);
    border-left: 0;
  }

  .soil-system {
    min-height: 450px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 580px) {
  :root {
    --container: calc(100% - 30px);
    --section-space: 76px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.7rem, 12vw, 3.6rem);
  }

  h2 {
    font-size: clamp(2.15rem, 11vw, 3.35rem);
  }

  .hero-grid {
    padding-top: 64px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }

  .hero-system {
    width: 100%;
  }

  .system-label {
    min-width: 110px;
    padding: 12px 14px;
  }

  .system-label-industry {
    top: 5%;
  }

  .system-label-field {
    bottom: 11%;
  }

  .system-caption {
    display: none;
  }

  .hero-index span:nth-child(even) {
    padding-right: 10px;
    font-size: 0.6rem;
  }

  .cycle-route {
    padding: 40px 24px 28px;
    overflow: hidden;
  }

  .route-line {
    top: 50px;
    bottom: 124px;
    left: 48px;
    width: 3px;
    height: auto;
    background: linear-gradient(var(--green), var(--green-soft) 68%, var(--earth));
  }

  .route-line::after {
    top: auto;
    right: auto;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%) rotate(135deg);
  }

  .cycle-route ol {
    min-width: 0;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .cycle-route li {
    display: grid;
    grid-template-columns: 50px 1fr;
    column-gap: 22px;
    min-height: 104px;
  }

  .route-number {
    width: 50px;
    height: 50px;
    grid-row: 1 / 3;
    margin: 0;
  }

  .cycle-route strong {
    min-height: auto;
    align-self: end;
    margin-bottom: 3px;
    font-size: 1rem;
  }

  .route-return {
    margin-top: 10px;
    text-align: left;
  }

  .solution-row {
    grid-template-columns: 36px 1fr;
    gap: 12px 14px;
    padding: 28px 0;
  }

  .solution-row h3 {
    font-size: 1.32rem;
  }

  .solution-row p {
    grid-column: 2;
  }

  .solution-row:hover {
    padding-inline: 0;
    background: transparent;
  }

  .segments-section {
    padding-top: 76px;
  }

  .segments-grid {
    padding-bottom: 56px;
  }

  .segment-question {
    min-height: 150px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
  }

  .process-list li {
    gap: 18px;
  }

  .circular-statement {
    padding-left: 0;
    padding-top: 64px;
  }

  .circular-mark {
    top: -10px;
  }

  .soil-system {
    min-height: 420px;
    padding: 35px 20px 0;
  }

  .soil-labels {
    gap: 6px;
  }

  .soil-labels span {
    font-size: 0.56rem;
  }

  .soil-caption {
    right: 16px;
    left: 16px;
    font-size: 0.58rem;
    text-align: right;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .field-full {
    grid-column: auto;
  }

  .form-submit {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-block: 22px;
  }

  .whatsapp-placeholder {
    right: 14px;
    bottom: 14px;
    padding-right: 7px;
  }

  .whatsapp-placeholder span:last-child {
    display: none;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
