:root {
  --ink: #122016;
  --muted: #607066;
  --line: #d9e2dc;
  --surface: #f8faf7;
  --paper: #ffffff;
  --green: #174c2f;
  --green-2: #0f3824;
  --leaf: #2f7d49;
  --gold: #d4a235;
  --sky: #d7ecf7;
  --shadow: 0 12px 30px rgba(18, 32, 22, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
}

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

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

button,
input {
  font: inherit;
}

.shell {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.section {
  padding: 56px 0;
}

.section-band {
  background: var(--paper);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(217, 226, 220, 0.72);
  backdrop-filter: blur(14px);
}

.brand {
  font-weight: 800;
  letter-spacing: 0;
}

.menu-toggle {
  display: inline-grid;
  gap: 4px;
  width: 40px;
  height: 40px;
  place-content: center;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: currentColor;
}

.site-nav {
  position: absolute;
  top: 64px;
  right: 16px;
  display: none;
  min-width: 220px;
  padding: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

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

.site-nav a {
  padding: 12px;
  color: var(--muted);
  font-size: 14px;
}

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

.site-nav a.is-active {
  color: var(--green);
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #11351f, #1b4f30 58%, #c6e3f2);
}

.hero__image {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 31, 18, 0.88), rgba(10, 31, 18, 0.34) 50%, rgba(10, 31, 18, 0.06)),
    url("../images/hero-field.png") center right / cover no-repeat;
}

.hero__content {
  position: relative;
  display: grid;
  align-content: center;
  min-height: 560px;
  padding: 44px 0;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--leaf);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #dcefe3;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: 44px;
  line-height: 1.08;
}

h2 {
  margin-bottom: 10px;
  font-size: 34px;
  line-height: 1.15;
}

h3 {
  margin-bottom: 8px;
  font-size: 19px;
  line-height: 1.2;
}

.hero__lead {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.page-hero {
  padding: 86px 0 58px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(13, 45, 27, 0.94), rgba(13, 45, 27, 0.76)),
    url("../images/hero-field.png") center / cover no-repeat;
}

.page-hero p:not(.eyebrow) {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
}

.page-hero .eyebrow {
  color: #dcefe3;
}

.page-hero--equipment {
  background:
    linear-gradient(90deg, rgba(13, 45, 27, 0.95), rgba(13, 45, 27, 0.7)),
    url("../images/dryer-hero.png") center right / cover no-repeat;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  font-size: 14px;
  white-space: nowrap;
}

.btn--primary {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
}

.btn--primary:hover {
  background: var(--green-2);
}

.btn--light {
  color: var(--ink);
  background: #fff;
  border-color: rgba(18, 32, 22, 0.12);
}

.button-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button-stack--inline {
  margin-top: 20px;
}

.market-strip {
  overflow: hidden;
  color: #fff;
  background: var(--green-2);
}

.ticker {
  display: flex;
  gap: 30px;
  width: max-content;
  min-width: 100%;
  padding: 12px 16px;
  font-size: 14px;
  animation: ticker 22s linear infinite;
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-35%);
  }
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 32px;
  padding-bottom: 32px;
}

.stat-card,
.product-card,
.crop-card,
.fert-card,
.service-card,
.ports-grid article,
.contact-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.stat-card {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.stat-card strong {
  font-size: 28px;
}

.stat-card span:last-child {
  color: var(--muted);
  font-size: 14px;
}

.icon {
  display: inline-block;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: var(--green);
  position: relative;
}

.icon::before,
.icon::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 2px solid #fff;
  border-radius: 3px;
}

.icon--grain::before {
  border-radius: 50%;
}

.icon--route::before {
  width: 12px;
  height: 12px;
  inset: 7px auto auto 7px;
  border-radius: 50%;
}

.icon--route::after {
  inset: auto 6px 6px auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.icon--shield,
.icon--port,
.icon--pin,
.icon--rail,
.icon--ship,
.icon--parts,
.icon--team,
.icon--monitor {
  background: transparent;
  border: 1px solid var(--leaf);
}

.icon--shield::before,
.icon--port::before,
.icon--pin::before,
.icon--rail::before,
.icon--ship::before,
.icon--parts::before,
.icon--team::before,
.icon--monitor::before {
  border-color: var(--leaf);
}

.section-head {
  max-width: 760px;
  margin-bottom: 24px;
}

.section-head p:last-child {
  color: var(--muted);
}

.section-head--row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  max-width: none;
}

.direction-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.direction-card {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 100%;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.direction-card img {
  width: 100%;
  height: 156px;
  object-fit: cover;
}

.direction-card .eyebrow,
.direction-card h3,
.direction-card p {
  margin-inline: 16px;
}

.direction-card p {
  margin-bottom: 18px;
  color: var(--muted);
}

.feature-panel {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 24px;
  align-items: center;
  padding: 28px;
  border-radius: 8px;
  overflow: hidden;
}

.feature-panel--dark {
  color: #fff;
  background: linear-gradient(135deg, #12351f, #1b4e30);
}

.feature-panel--dark p {
  color: rgba(255, 255, 255, 0.82);
}

.feature-panel img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 8px;
}

.catalog-grid,
.logistics-grid,
.service-grid,
.cards-row {
  display: grid;
  gap: 16px;
}

.catalog-grid {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 18px;
}

.product-card {
  overflow: hidden;
}

.product-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  background: #eef2ef;
}

.product-card div {
  padding: 18px;
}

.product-card p,
.crop-card p,
.fert-card p,
.service-card p,
.ports-grid p {
  color: var(--muted);
}

.table-wrap {
  margin-top: 24px;
  overflow-x: auto;
}

.table-wrap h3 {
  margin-bottom: 12px;
}

table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

th,
td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

th {
  background: #e9f0eb;
}

tr:last-child td {
  border-bottom: 0;
}

.search-box {
  position: relative;
  display: block;
  width: min(360px, 100%);
}

.search-box input {
  width: 100%;
  height: 44px;
  padding: 0 44px 0 16px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  outline: 0;
}

.search-box input:focus {
  border-color: var(--leaf);
  box-shadow: 0 0 0 3px rgba(47, 125, 73, 0.14);
}

.search-icon {
  position: absolute;
  top: 12px;
  right: 15px;
  width: 18px;
  height: 18px;
  border: 2px solid var(--green);
  border-radius: 50%;
}

.search-icon::after {
  content: "";
  position: absolute;
  right: -5px;
  bottom: -5px;
  width: 7px;
  height: 2px;
  background: var(--green);
  transform: rotate(45deg);
}

.cards-row {
  grid-template-columns: repeat(3, 1fr);
}

.crop-card,
.fert-card {
  overflow: hidden;
}

.crop-card img,
.fert-card img {
  width: 100%;
  height: 132px;
  object-fit: cover;
  background: #eef2ef;
}

.crop-card h3,
.crop-card dl,
.fert-card h3,
.fert-card p {
  margin-inline: 16px;
}

.crop-card h3,
.fert-card h3 {
  margin-top: 14px;
}

.crop-card dl {
  display: grid;
  gap: 6px;
  margin-bottom: 16px;
}

.crop-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}

.crop-card dt {
  color: var(--muted);
}

.crop-card dd {
  margin: 0;
  font-weight: 700;
  text-align: right;
}

.notice-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
  padding: 14px 16px;
  background: #f7fbf8;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 700;
}

.fertilizer-row {
  grid-template-columns: repeat(2, 1fr);
}

.map-panel {
  margin: 0 0 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--sky);
}

.map-panel img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.ports-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

.ports-grid article,
.service-card {
  padding: 18px;
}

.logistics-grid {
  grid-template-columns: repeat(2, 1fr);
}

.service-grid {
  grid-template-columns: repeat(3, 1fr);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 28px;
  align-items: start;
}

.plain-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.partners {
  background: #eef5f0;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.partner-grid span {
  display: grid;
  min-height: 66px;
  place-items: center;
  padding: 10px;
  color: var(--green-2);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 900;
  text-align: center;
}

.contact-band {
  background: linear-gradient(135deg, #173c25, #0f2d1c);
}

.contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
}

.seo-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.seo-tags span {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 14px;
  color: var(--green-2);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
}

.contact-card p {
  color: var(--muted);
}

.site-footer {
  padding: 24px 0;
  color: #dcefe3;
  background: #0b1f14;
}

.footer-inner,
.site-footer nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.site-footer nav {
  flex-wrap: wrap;
  font-size: 13px;
}

.is-hidden {
  display: none;
}

@media (min-width: 820px) {
  .menu-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    display: flex;
    min-width: auto;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
  }
}

@media (max-width: 819px) {
  .section {
    padding: 44px 0;
  }

  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 28px;
  }

  .stats,
  .catalog-grid,
  .cards-row,
  .fertilizer-row,
  .ports-grid,
  .logistics-grid,
  .service-grid,
  .direction-grid,
  .split-layout,
  .partner-grid {
    grid-template-columns: 1fr;
  }

  .feature-panel {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .feature-panel img,
  .product-card img,
  .map-panel img {
    height: 220px;
  }

  .section-head--row,
  .contact-card,
  .footer-inner {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-card .btn {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .shell {
    width: min(100% - 24px, 1120px);
  }

  .hero,
  .hero__content {
    min-height: 520px;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .stat-card strong {
    font-size: 24px;
  }
}
