:root {
  --gold: #d4af37;
  --gold-2: #f0d184;
  --navy: #0d1b2a;
  --navy-2: #081421;
  --steel: #415a77;
}

:root[data-theme="dark"] {
  --bg: #0a1522;
  --surface: #0f2236;
  --surface-2: #132c45;
  --text: #f8fafc;
  --muted: rgba(248, 250, 252, 0.68);
  --line: rgba(255, 255, 255, 0.13);
  --header: rgba(8, 20, 33, 0.8);
  --header-solid: rgba(8, 20, 33, 0.96);
  --card: rgba(255, 255, 255, 0.06);
  --card-solid: #10243a;
  --shadow: 0 26px 70px rgba(0, 0, 0, 0.34);
  --hero-overlay: linear-gradient(90deg, rgba(8, 20, 33, 0.74), rgba(8, 20, 33, 0.38) 44%, rgba(8, 20, 33, 0.05));
}

:root[data-theme="light"] {
  --bg: #f8f9fa;
  --surface: #ffffff;
  --surface-2: #eef2f5;
  --text: #1b263b;
  --muted: #667085;
  --line: rgba(13, 27, 42, 0.13);
  --header: rgba(255, 255, 255, 0.86);
  --header-solid: rgba(255, 255, 255, 0.96);
  --card: #ffffff;
  --card-solid: #ffffff;
  --shadow: 0 24px 64px rgba(13, 27, 42, 0.12);
  --hero-overlay: linear-gradient(90deg, rgba(8, 20, 33, 0.7), rgba(8, 20, 33, 0.32) 42%, rgba(8, 20, 33, 0.04));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, Manrope, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  transition: background 180ms ease, color 180ms ease;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.site-header {
  align-items: center;
  background: var(--header);
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 22px;
  grid-template-columns: auto 1fr auto;
  left: 0;
  padding: 15px clamp(18px, 5vw, 72px);
  position: fixed;
  right: 0;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
}
.site-header.is-scrolled { background: var(--header-solid); box-shadow: 0 12px 34px rgba(0,0,0,.14); }

.brand {
  align-items: center;
  color: var(--text);
  display: inline-flex;
  min-width: 168px;
}
.brand-logo {
  height: 50px;
  object-fit: contain;
  width: auto;
}
:root[data-theme="light"] .site-header .brand-logo {
  filter: drop-shadow(0 8px 18px rgba(13, 27, 42, .12));
}

.nav { display: flex; gap: clamp(16px, 2.4vw, 30px); justify-content: center; }
.nav a, .header-action {
  color: var(--muted);
  font-size: .86rem;
  font-weight: 850;
}
.nav a:hover, .header-action:hover { color: var(--gold); }
.header-controls {
  align-items: center;
  display: flex;
  gap: 10px;
}
.segmented {
  border: 1px solid var(--line);
  border-radius: 999px;
  display: inline-flex;
  padding: 3px;
}
.segmented button {
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: .72rem;
  font-weight: 900;
  min-height: 30px;
  padding: 6px 10px;
}
.segmented button[aria-pressed="true"] {
  background: var(--gold);
  color: var(--navy);
}
.header-action {
  border: 1px solid rgba(212,175,55,.65);
  border-radius: 4px;
  color: var(--text);
  padding: 10px 15px;
  text-transform: uppercase;
}

.hero {
  background: var(--navy);
  min-height: 100vh;
  overflow: hidden;
  position: relative;
}
.hero-bg {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
}
:root[data-theme="light"] .hero-bg { filter: saturate(.96) brightness(1.08); }
.hero::after {
  background: var(--hero-overlay);
  content: "";
  inset: 0;
  position: absolute;
}
.hero-routes span {
  animation: routePulse 5.2s ease-in-out infinite;
  background: radial-gradient(circle, var(--gold-2), rgba(212,175,55,0));
  border-radius: 50%;
  height: 9px;
  position: absolute;
  width: 9px;
  z-index: 2;
}
.hero-routes span:nth-child(1) { left: 33%; top: 30%; }
.hero-routes span:nth-child(2) { animation-delay: 1.1s; left: 53%; top: 35%; }
.hero-routes span:nth-child(3) { animation-delay: 2.1s; left: 75%; top: 42%; }
@keyframes routePulse { 0%,100% { transform: scale(.8); opacity: .35; } 50% { transform: scale(2.2); opacity: 1; } }

.hero-content {
  color: #fff;
  max-width: 850px;
  padding: clamp(145px, 19vh, 210px) clamp(22px, 6vw, 86px) 120px;
  position: relative;
  z-index: 3;
}
.eyebrow, .section-kicker {
  color: var(--gold);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0 0 16px;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  font-size: clamp(3.1rem, 6.2vw, 4.6rem);
  line-height: 1.03;
  margin-bottom: 24px;
  max-width: 820px;
}
h2 { font-size: clamp(2rem, 4.6vw, 3rem); line-height: 1.1; margin-bottom: 22px; }
h3 { font-size: 1.12rem; line-height: 1.25; margin-bottom: 10px; }
.hero-content p {
  color: rgba(255,255,255,.82);
  font-size: clamp(1.08rem, 1.8vw, 1.32rem);
  max-width: 690px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.button {
  align-items: center;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 900;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  text-transform: uppercase;
}
.button.primary { background: linear-gradient(135deg, var(--gold), #b88a24); color: var(--navy); }
.button.ghost { border: 1px solid rgba(255,255,255,.35); color: #fff; }
.button:hover { transform: translateY(-1px); }
.hero-panel {
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 8px;
  bottom: 42px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  position: absolute;
  right: clamp(22px, 6vw, 86px);
  width: min(680px, 58vw);
  z-index: 4;
}
.hero-panel div { padding: 22px 24px; }
.hero-panel strong { color: var(--navy); display: block; font-size: 1.15rem; }
.hero-panel span { color: #667085; font-size: .92rem; }

.section { padding: clamp(70px, 10vw, 132px) clamp(20px, 5vw, 76px); }
.about {
  align-items: center;
  display: grid;
  gap: clamp(36px, 6vw, 82px);
  grid-template-columns: .88fr 1fr;
}
.section-copy { max-width: 650px; }
.section-copy p, .request-info p { color: var(--muted); font-size: 1.05rem; }
.about-visual { border-radius: 8px; box-shadow: var(--shadow); overflow: hidden; }

.metrics {
  background: var(--surface);
  border-block: 1px solid var(--line);
  color: var(--text);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0 clamp(20px, 5vw, 76px);
}
.metrics div {
  border-left: 1px solid var(--line);
  min-height: 152px;
  padding: 34px 28px;
}
.metrics div:last-child { border-right: 1px solid var(--line); }
.metrics span { color: var(--gold); display: block; font-weight: 900; margin-bottom: 10px; }
.metrics strong { display: block; font-size: clamp(1rem, 2vw, 1.25rem); }

.center-heading { margin: 0 auto 42px; max-width: 820px; text-align: center; }
.product-grid { display: grid; gap: 18px; grid-template-columns: repeat(5, 1fr); }
.product-card, .why-grid article {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.product-card { min-height: 250px; padding: 28px; }
.product-card p, .why-grid p { color: var(--muted); margin-bottom: 0; }
.icon {
  border: 1px solid rgba(212,175,55,.55);
  border-radius: 50%;
  display: grid;
  height: 58px;
  margin-bottom: 28px;
  place-items: center;
  width: 58px;
}
.icon::before { color: var(--gold); font-size: 1.65rem; font-weight: 900; }
.grain::before { content: "G"; }
.pulses::before { content: "P"; }
.oilseed::before { content: "S"; }
.oil::before { content: "O"; }
.feed::before { content: "F"; }

.network, .solutions {
  background: linear-gradient(135deg, var(--navy-2), var(--surface-2));
  color: #fff;
  display: grid;
  gap: clamp(32px, 5vw, 72px);
  padding: clamp(72px, 10vw, 128px) clamp(20px, 5vw, 76px);
}
:root[data-theme="light"] .network,
:root[data-theme="light"] .solutions {
  background: linear-gradient(135deg, #eef2f5, #ffffff);
  color: var(--text);
}
.network { grid-template-columns: minmax(0, .62fr) minmax(0, 1fr); }
.network > * { min-width: 0; }
.network-copy p:last-child { color: var(--muted); font-size: 1.05rem; }
.map-card {
  aspect-ratio: 1.6;
  background:
    radial-gradient(circle at 50% 48%, rgba(212,175,55,.18), transparent 22%),
    radial-gradient(circle at 78% 23%, rgba(65,90,119,.24), transparent 24%),
    linear-gradient(135deg, #081421, #10243a 48%, #07111d);
  border: 1px solid rgba(212,175,55,.22);
  border-radius: 8px;
  box-shadow: 0 34px 90px rgba(0,0,0,.28);
  min-height: 460px;
  overflow: hidden;
  position: relative;
  width: 100%;
}
:root[data-theme="light"] .map-card {
  background:
    radial-gradient(circle at 50% 48%, rgba(212,175,55,.22), transparent 23%),
    radial-gradient(circle at 76% 24%, rgba(65,90,119,.15), transparent 24%),
    linear-gradient(135deg, #ffffff, #eef2f5 48%, #dfe7ee);
}
.map-card::before {
  background-image: radial-gradient(rgba(255,255,255,.18) 1px, transparent 1px);
  background-size: 18px 18px;
  content: "";
  inset: 0;
  opacity: .55;
  position: absolute;
}
:root[data-theme="light"] .map-card::before { background-image: radial-gradient(rgba(13,27,42,.13) 1px, transparent 1px); }
.globe-svg {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
  z-index: 2;
}
.land { fill: rgba(212,175,55,.22); stroke: rgba(240,209,132,.24); stroke-width: 1.2; }
.land.soft { fill: rgba(65,90,119,.2); }
.route {
  animation: routeDash 7s linear infinite;
  fill: none;
  stroke: url(#routeGold);
  stroke-dasharray: 12 13;
  stroke-linecap: round;
  stroke-width: 2.6;
}
.route.main { stroke-width: 4.2; }
.node { fill: #f0d184; stroke: #0d1b2a; stroke-width: 3; }
.node.major { fill: #d4af37; r: 12; }
.node.small { opacity: .72; }
@keyframes routeDash { to { stroke-dashoffset: -220; } }
.globe-orbit {
  border: 1px solid rgba(212,175,55,.28);
  border-radius: 50%;
  height: 72%;
  left: 16%;
  position: absolute;
  top: 13%;
  width: 68%;
  z-index: 1;
}
.orbit-one { transform: rotate(-16deg); }
.orbit-two { transform: rotate(24deg) scale(.9); }
.orbit-three { transform: rotate(64deg) scale(.72); opacity: .65; }
.globe-label {
  align-items: center;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(212,175,55,.46);
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(0,0,0,.18);
  color: var(--navy);
  display: inline-flex;
  font-size: .78rem;
  font-weight: 900;
  gap: 7px;
  padding: 8px 11px;
  position: absolute;
  white-space: nowrap;
  z-index: 4;
}
.globe-label::before {
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(212,175,55,.75);
  content: "";
  height: 8px;
  width: 8px;
}
.label-russia,
.label-uae {
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: var(--navy);
  font-size: .94rem;
  padding: 10px 14px;
}
.label-russia { left: 39%; top: 27%; }
.label-uae { right: 24%; top: 33%; }
.label-china { right: 29%; bottom: 25%; }
.label-kz { left: 31%; bottom: 26%; }
.label-eu { left: 27%; top: 45%; }
.label-sea { right: 7%; bottom: 14%; }
.network-caption {
  background: rgba(8,20,33,.78);
  border: 1px solid rgba(212,175,55,.32);
  border-radius: 8px;
  bottom: 24px;
  box-shadow: 0 24px 60px rgba(0,0,0,.24);
  color: #fff;
  display: grid;
  gap: 2px;
  left: 24px;
  max-width: 310px;
  padding: 18px 20px;
  position: absolute;
  z-index: 5;
}
:root[data-theme="light"] .network-caption { background: rgba(255,255,255,.88); color: var(--text); }
.network-caption span {
  color: var(--gold);
  font-size: .75rem;
  font-weight: 900;
  text-transform: uppercase;
}
.network-caption strong {
  font-size: 1.55rem;
  line-height: 1.1;
}
.network-caption small {
  color: var(--muted);
  font-size: .86rem;
}

.compact { max-width: 760px; }
.why-grid { display: grid; gap: 14px; grid-template-columns: repeat(4, 1fr); }
.why-grid article { min-height: 210px; padding: 24px; }
.why-grid span { color: var(--gold); font-weight: 900; }
.solutions {
  align-items: start;
  grid-template-columns: .8fr 1fr;
}
.solution-list { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
.solution-list p {
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  margin: 0;
  padding: 18px 20px;
}

.request { display: grid; gap: clamp(34px, 6vw, 80px); grid-template-columns: .55fr 1fr; }
.contact-lines { display: grid; gap: 10px; margin-top: 26px; }
.contact-lines a { color: var(--text); font-weight: 900; }
.request-form {
  background: var(--card-solid);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0,1fr));
  padding: clamp(22px, 4vw, 34px);
}
label { color: var(--text); display: grid; font-size: .84rem; font-weight: 900; gap: 8px; }
input, select, textarea {
  background: color-mix(in srgb, var(--bg) 78%, var(--surface) 22%);
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--text);
  font: inherit;
  min-height: 48px;
  padding: 12px 13px;
  width: 100%;
}
select option { color: #1b263b; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--gold); outline: 3px solid rgba(212,175,55,.18); }
.wide { grid-column: 1 / -1; }
.form-note { color: var(--muted); font-size: .9rem; grid-column: 1 / -1; margin: 0; }

.office {
  background: var(--surface-2);
  display: grid;
  gap: clamp(28px, 5vw, 70px);
  grid-template-columns: .72fr 1fr;
  padding: clamp(64px, 9vw, 112px) clamp(20px, 5vw, 76px);
}
address { color: var(--muted); font-style: normal; font-size: 1.08rem; }
iframe { border: 0; border-radius: 8px; box-shadow: var(--shadow); height: 390px; width: 100%; }
.footer {
  background: var(--navy-2);
  color: rgba(255,255,255,.72);
  display: grid;
  gap: 34px;
  grid-template-columns: 1fr .7fr .8fr;
  padding: 42px clamp(20px, 5vw, 76px);
}
.footer .brand { color: #fff; margin-bottom: 18px; }
.footer .brand-logo { height: 76px; }
.footer nav, .legal { display: grid; gap: 9px; }
.footer a:hover { color: var(--gold-2); }

@media (max-width: 1180px) {
  .site-header { grid-template-columns: auto 1fr; }
  .header-controls { grid-column: 1 / -1; justify-content: flex-start; }
}
@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr; }
  .nav { display: none; }
  .hero-panel { bottom: 24px; left: 20px; right: 20px; width: auto; }
  .about, .network, .solutions, .request, .office, .footer { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .site-header { padding: 13px 16px; }
  .brand { min-width: 128px; }
  .brand-logo { height: 38px; }
  .footer .brand-logo { height: 58px; }
  .header-controls { gap: 7px; }
  .segmented button { min-height: 28px; padding: 5px 8px; }
  .header-action { display: none; }
  .hero { min-height: 850px; }
  .hero-content { padding: 148px 18px 230px; }
  h1 { font-size: 2.35rem; }
  h2 { font-size: 1.9rem; }
  .hero-panel, .metrics, .product-grid, .why-grid, .solution-list, .request-form { grid-template-columns: 1fr; }
  .hero-panel div { padding: 16px 18px; }
  .product-card, .why-grid article { min-height: 0; }
  .map-card { aspect-ratio: auto; min-height: 560px; }
  .globe-label { font-size: .68rem; padding: 6px 8px; }
  .label-russia { left: 28%; top: 28%; }
  .label-uae { right: 13%; top: 35%; }
  .label-china { right: 18%; bottom: 30%; }
  .label-kz { left: 22%; bottom: 31%; }
  .label-eu { left: 14%; top: 48%; }
  .label-sea { right: 6%; bottom: 19%; }
  .network-caption { bottom: 16px; left: 16px; right: 16px; max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; transition: none !important; }
}
