:root {
  color-scheme: light;
  --ink: #14221d;
  --muted: #617069;
  --green: #176449;
  --green-deep: #0d392f;
  --gold: #c9971b;
  --blue: #255f7c;
  --paper: #f7f9f5;
  --surface: #ffffff;
  --line: #dfe8e2;
  --shadow: 0 22px 70px rgba(17, 42, 33, 0.14);
  --radius: 8px;
  --header-height: 78px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  line-height: 1.55;
  overflow-x: clip;
}

body.nav-open {
  overflow: hidden;
}

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

img,
svg {
  display: block;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: var(--header-height);
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(223, 232, 226, 0.8);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--green-deep);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.05;
}

.brand strong {
  font-size: 1rem;
}

.brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.main-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 30px);
  color: #35453f;
  font-size: 0.95rem;
  font-weight: 650;
}

.main-nav a {
  padding: 10px 0;
  border-bottom: 2px solid transparent;
}

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

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 100%;
  min-width: 0;
  min-height: 46px;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  white-space: normal;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease;
}

.header-cta {
  padding: 0 18px;
  background: var(--green);
  color: #fff;
  box-shadow: 0 12px 28px rgba(23, 100, 73, 0.2);
}

.button {
  padding: 0 20px;
}

.button:hover,
.header-cta:hover {
  transform: translateY(-1px);
}

.button svg,
.header-cta svg,
.nav-toggle svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
}

.button-primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 16px 36px rgba(23, 100, 73, 0.24);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.92);
  color: var(--green-deep);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--green-deep);
}

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-height));
  overflow: clip;
  isolation: isolate;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media {
  background:
    image-set(url("assets/hero-agro-b2b.png") type("image/png")) center right 35% /
      cover no-repeat;
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(
      90deg,
      rgba(11, 34, 28, 0.86) 0%,
      rgba(11, 34, 28, 0.68) 38%,
      rgba(11, 34, 28, 0.32) 68%,
      rgba(11, 34, 28, 0.12) 100%
    ),
    linear-gradient(0deg, rgba(11, 34, 28, 0.46), rgba(11, 34, 28, 0));
}

.hero-content {
  width: min(760px, calc(100% - 36px));
  padding: clamp(72px, 10vw, 132px) 0 44px;
  margin-left: clamp(18px, 7vw, 92px);
  color: #fff;
}

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

.hero h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(2.5rem, 7vw, 5.7rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 630px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.02rem, 1.7vw, 1.3rem);
  overflow-wrap: break-word;
}

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

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(760px, 100%);
  margin: clamp(42px, 8vw, 76px) 0 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(16px);
}

.hero-facts div {
  min-width: 0;
  padding: 18px;
  background: rgba(9, 34, 27, 0.24);
}

.hero-facts dt {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-facts dd {
  margin: 5px 0 0;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  font-weight: 900;
}

.section {
  padding: clamp(64px, 8vw, 112px) 0;
}

.section-inner {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-heading.compact {
  margin-bottom: 0;
}

.section-heading h2,
.request-copy h2,
.contacts-layout h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.section-heading p,
.request-copy p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.product-section {
  background: var(--surface);
}

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

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 430px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 16px 40px rgba(19, 38, 30, 0.06);
}

.product-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: rgba(23, 100, 73, 0.1);
  color: var(--green);
}

.product-icon svg {
  width: 26px;
  height: 26px;
}

.product-card h3,
.advantage-item h3 {
  margin: 22px 0 10px;
  font-size: 1.35rem;
  line-height: 1.15;
}

.product-card p,
.advantage-item p {
  margin: 0;
  color: var(--muted);
}

.product-card ul {
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 22px 0 26px;
  list-style: none;
}

.product-card li {
  position: relative;
  padding-left: 22px;
  color: #394a43;
}

.product-card li::before {
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--gold);
  content: "";
}

.product-card a {
  margin-top: auto;
  color: var(--green);
  font-weight: 900;
}

.logistics-section,
.company-section {
  background: var(--paper);
}

.logistics-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 1fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: center;
}

.route-panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.route-step {
  display: flex;
  align-items: center;
  gap: 16px;
}

.route-step > span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: var(--radius);
  background: var(--green-deep);
  color: #fff;
  flex: 0 0 auto;
}

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

.route-step strong {
  font-size: 1.05rem;
}

.route-step small {
  margin-top: 3px;
  color: var(--muted);
}

.route-line {
  width: 2px;
  height: 42px;
  margin: 10px 0 10px 26px;
  background: linear-gradient(var(--green), var(--gold));
}

.logistics-list {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.logistics-list div {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px;
  border-left: 4px solid var(--blue);
  background: #fff;
  color: #364941;
}

.logistics-list svg {
  width: 22px;
  height: 22px;
  color: var(--blue);
  flex: 0 0 auto;
}

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.advantage-item {
  min-height: 260px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.advantage-item svg {
  width: 30px;
  height: 30px;
  color: var(--green);
}

.request-section {
  background: var(--green-deep);
  color: #fff;
}

.request-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
}

.request-copy {
  position: sticky;
  top: calc(var(--header-height) + 28px);
}

.request-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.contact-strip a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  max-width: 100%;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.92);
  overflow-wrap: anywhere;
}

.request-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: clamp(18px, 4vw, 30px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}

.request-form label {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.request-form label.full,
.request-form .full,
.form-status {
  grid-column: 1 / -1;
}

.request-form span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
  font-weight: 800;
}

.request-form input,
.request-form select,
.request-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  outline: none;
  padding: 0 14px;
}

.request-form textarea {
  min-height: 112px;
  resize: vertical;
  padding-top: 12px;
}

.request-form input:focus,
.request-form select:focus,
.request-form textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 151, 27, 0.28);
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: #dbeee7;
  font-weight: 800;
}

.company-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
}

.company-metrics {
  display: grid;
  gap: 14px;
}

.company-metrics div {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.company-metrics strong,
.company-metrics span {
  display: block;
}

.company-metrics strong {
  color: var(--blue);
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1;
}

.company-metrics span {
  margin-top: 8px;
  color: var(--muted);
}

.contacts-section {
  padding: clamp(42px, 6vw, 72px) 0;
}

.contacts-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.contacts-layout h2 {
  max-width: 620px;
}

.contacts {
  display: grid;
  gap: 12px;
  min-width: min(100%, 330px);
  font-style: normal;
}

.contacts a,
.contacts span {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  max-width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: #33453e;
  overflow-wrap: anywhere;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 4vw, 56px);
  background: #101d19;
  color: rgba(255, 255, 255, 0.78);
}

.site-footer span:first-child {
  color: #fff;
  font-weight: 900;
}

@media (max-width: 1020px) {
  .site-header {
    grid-template-columns: auto auto auto;
    justify-content: space-between;
  }

  .main-nav {
    position: fixed;
    inset: var(--header-height) 0 auto 0;
    display: none;
    grid-auto-flow: row;
    justify-items: start;
    gap: 0;
    padding: 18px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 22px 60px rgba(17, 42, 33, 0.16);
  }

  .main-nav.is-open {
    display: grid;
  }

  .main-nav a {
    width: 100%;
    padding: 14px 0;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header-cta {
    display: none;
  }

  .logistics-layout,
  .request-layout,
  .company-layout {
    grid-template-columns: 1fr;
  }

  .request-copy {
    position: static;
  }

  .product-grid,
  .advantage-grid,
  .logistics-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 70px;
  }

  .site-header {
    padding-inline: 16px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .brand strong {
    font-size: 0.95rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    background-position: center right 42%;
  }

  .hero-overlay {
    background:
      linear-gradient(
        90deg,
        rgba(11, 34, 28, 0.9) 0%,
        rgba(11, 34, 28, 0.78) 56%,
        rgba(11, 34, 28, 0.42) 100%
      ),
      linear-gradient(0deg, rgba(11, 34, 28, 0.42), rgba(11, 34, 28, 0));
  }

  .hero-content {
    width: calc(100% - 32px);
    max-width: calc(100% - 32px);
    margin-inline: 16px;
    padding: 56px 0 34px;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 16vw, 3.8rem);
  }

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

  .hero-actions .button,
  .contact-strip a {
    width: 100%;
  }

  .hero-actions .button {
    padding-inline: 14px;
  }

  .hero-facts,
  .product-grid,
  .advantage-grid,
  .logistics-list,
  .request-form {
    grid-template-columns: 1fr;
  }

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

  .advantage-item {
    min-height: auto;
  }

  .contacts-layout,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
