/* ============================================================
   VERUS 2020 — style.css
   ============================================================ */

:root {
  --bg: #111315;
  --surface: #1A1D20;
  --text: #E8E6E3;
  --muted: #9BA1A6;
  --line: #26292C;
  --accent: #C8952E;
  --steel: #6E8CA0;
  --bg-0: #0D0F11;
  --bg-1: #111315;
  --bg-2: #191D20;
  --hover: rgba(232, 230, 227, 0.05);

  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;

  --container: 1200px;
  --gutter: 32px;
  --section-y: 80px;

  --t-fast: 150ms;
  --t-reveal: 250ms;
  --t-draw: 1200ms;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body.is-locked { overflow: hidden; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
table { border-collapse: collapse; width: 100%; }
svg { display: block; }

/* ---------- preloader ---------- */
html.is-preloading, html.is-preloading body { overflow: hidden; }
.preloader {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: var(--bg-0);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  transition: opacity 450ms ease;
}
.preloader.is-hidden { opacity: 0; }
.preloader.is-done { display: none; }
.preloader .preloader__mark { width: 72px; height: 72px; align-self: center; }
.preloader__bar { position: relative; width: 160px; height: 2px; background: var(--line); overflow: hidden; }
.preloader__bar span {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0;
  background: var(--accent);
  animation: preloader-fill 2s cubic-bezier(0.35, 0, 0.2, 1) forwards;
}
@keyframes preloader-fill { to { width: 100%; } }

.mono { font-family: var(--font-mono); font-feature-settings: "tnum" 1, "zero" 0; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(17, 19, 21, 0.55);
  border-bottom: 1px solid transparent;
  transition: background-color var(--t-fast) linear, border-color var(--t-fast) linear;
}
.header.is-scrolled {
  background: rgba(17, 19, 21, 0.96);
  border-bottom-color: var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--text); }
.logo__mark { flex: 0 0 auto; align-self: center; }
@keyframes logo-spin { to { transform: rotate(360deg); } }
@keyframes logo-spin-back { to { transform: rotate(-360deg); } }
.ring-out {
  transform-box: view-box;
  transform-origin: 24px 24px;
  animation: logo-spin 14s linear infinite;
}
.ring-in {
  transform-box: view-box;
  transform-origin: 24px 24px;
  animation: logo-spin-back 20s linear infinite;
}
.logo__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  line-height: 1;
  letter-spacing: 0.14em;
}
.logo__year {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1;
  color: var(--muted);
  position: relative;
  top: 3px;
}
.logo--footer { gap: 14px; }
.logo--footer .logo__name { font-size: 30px; }
.logo--footer .logo__year { font-size: 13px; top: 5px; }

.header__right { display: flex; align-items: center; gap: 32px; }

/* language dropdown */
.lang { position: relative; }
.lang__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  transition: color var(--t-fast) linear;
}
@media (hover: hover) { .lang__btn:hover { color: var(--accent); } }
.lang__btn:active { color: var(--accent); }
.lang__list {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  min-width: 168px;
  margin: 0;
  padding: 6px 0;
  background: #16191C;
  border: 1px solid var(--line);
  z-index: 120;
}
.lang__list[hidden] { display: none; }
.lang__list button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 9px 16px;
  font-size: 13px;
  color: var(--muted);
  transition: color var(--t-fast) linear, background-color var(--t-fast) linear;
}
@media (hover: hover) { .lang__list button:hover { color: var(--text); background: var(--hover); } }
.lang__list button:active { color: var(--text); background: var(--hover); }
.lang__list button.is-active { color: var(--accent); }
.lang__list button:focus-visible { outline-offset: -3px; }

/* menu button */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  color: var(--text);
  transition: color var(--t-fast) linear;
}
@media (hover: hover) { .nav-toggle:hover { color: var(--accent); } }
.nav-toggle:active { color: var(--accent); }
.nav-toggle__label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; }
.menu__close {
  display: inline-flex;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  color: var(--text);
  margin-right: -9px;
}

/* ---------- full-screen menu ---------- */
.menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--bg-0);
  opacity: 0;
  visibility: hidden;
  transition: opacity 200ms ease, visibility 0s linear 200ms;
  overflow-y: auto;
}
.menu.is-open { opacity: 1; visibility: visible; transition: opacity 200ms ease; }
.menu__inner { display: flex; flex-direction: column; min-height: 100%; padding-bottom: 40px; }
.menu__head { display: flex; align-items: center; justify-content: space-between; height: 64px; flex: 0 0 auto; }
.menu__close { display: inline-flex; }
.menu__nav { display: flex; flex-direction: column; margin-top: 32px; flex: 1 0 auto; max-width: 720px; }
.menu__nav a {
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.menu__nav a:first-child { border-top: 1px solid var(--line); }
.menu__num { font-family: var(--font-mono); font-size: 13px; font-weight: 400; color: var(--muted); min-width: 32px; }
.menu__lang { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 40px; font-family: var(--font-mono); font-size: 13px; }
.menu__lang button { color: var(--muted); transition: color var(--t-fast) linear; }
@media (hover: hover) { .menu__lang button:hover { color: var(--text); } }
.menu__lang button:active { color: var(--text); }
.menu__lang button.is-active { color: var(--accent); }

/* ---------- buttons / links ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 24px;
  border: 1px solid var(--text);
  color: var(--text);
  transition: background-color var(--t-fast) linear, color var(--t-fast) linear;
}
@media (hover: hover) { .btn:hover { background: var(--text); color: var(--bg); } }
.btn:active { background: var(--text); color: var(--bg); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, [tabindex]:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 3px;
}
.link {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  transition: color var(--t-fast) linear, border-color var(--t-fast) linear;
}
@media (hover: hover) { .link:hover { color: var(--text); border-bottom-color: var(--text); } }
.link:active { color: var(--text); border-bottom-color: var(--text); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: calc(100vh - 64px);
  display: flex;
  overflow: hidden;
  background: var(--bg-0);
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.06) saturate(0.9) brightness(1.08);
  z-index: 0;
}
.hero__video {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero__video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  opacity: 0;
  transition: opacity 1.2s ease;
  filter: contrast(1.06) saturate(0.9);
  pointer-events: none;
}
.hero__video video.is-active { opacity: 1; }

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(13, 15, 17, 0.56) 0%, rgba(13, 15, 17, 0.62) 60%, rgba(13, 15, 17, 0.72) 100%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  padding-top: 64px;
  padding-bottom: 96px;
}
.hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 32px;
}
.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(40px, 4.7vw, 64px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.01em;
}
.hero__title span { display: block; }
.hero__title span:last-child { color: var(--muted); }
.hero__lead {
  max-width: 62ch;
  margin-top: 40px;
  color: var(--muted);
  font-size: 17px;
}
.hero__actions { display: flex; align-items: center; gap: 32px; margin-top: 40px; }
.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 48px;
  margin-top: 56px;
}
.hero__fact {
  border-left: 2px solid var(--accent);
  padding-left: 14px;
  min-width: 120px;
}
.hero__fact-value {
  display: block;
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  color: var(--text);
}
.hero__fact-label {
  display: block;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__cap {
  position: absolute;
  right: var(--gutter);
  bottom: 28px;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.5;
  color: var(--muted);
}


/* ---------- sections ---------- */
.section { padding: var(--section-y) 0; }
.section--routes { background: var(--bg-1); }
.section--crops {
  background: #F2F0ED;
  color: #1A1D20;
  --muted: #5A6066;
  --line: #D5D1CC;
  --accent: #A87722;
  --hover: rgba(26, 29, 32, 0.05);
  --surface: #E6E3DF;
}
.section--terms {
  background: #EDEBE8;
  color: #1A1D20;
  --muted: #5A6066;
  --line: #D5D1CC;
  --accent: #A87722;
  --hover: rgba(26, 29, 32, 0.05);
  padding: 56px 0 64px;
}
.section--steps { background: var(--bg-1); padding: 80px 0; }
.section--about { background: var(--bg-1); padding: 80px 0 0; }
.about { max-width: 640px; }
.about__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(32px, 3.6vw, 44px);
  letter-spacing: -0.01em;
  line-height: 1.05;
  margin-bottom: 20px;
}
.about p { font-size: 18px; line-height: 1.6; color: var(--text); }

.standards { background: var(--bg-0); padding: 0 0 80px; }
.standards__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.standards__row {
  display: flex;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.standards__row li {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.08em;
  padding: 18px 32px;
  border-left: 1px solid var(--line);
  color: var(--text);
}
.standards__row li:first-child { border-left: 0; padding-left: 0; }

.pause .media::after { background: linear-gradient(180deg, rgba(13, 15, 17, 0.3) 0%, rgba(13, 15, 17, 0.3) 55%, rgba(13, 15, 17, 0.6) 100%); }
.footer__date { margin-top: 10px; font-size: 12px; color: var(--muted); }
.section__title.section__title--xl { font-size: clamp(52px, 6.4vw, 84px); letter-spacing: -0.015em; }
.section--request { background: var(--bg-1); }
.section__head--offset { margin-left: 25%; }
.section__head {
  display: grid;
  grid-template-columns: 120px 1fr;
  grid-template-areas: "num title" ". desc";
  column-gap: 24px;
  row-gap: 20px;
  align-items: baseline;
  padding-top: 24px;
  margin-bottom: 48px;
  border-top: 1px solid var(--line);
}
.section__num {
  grid-area: num;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--muted);
}
.section__title {
  grid-area: title;
  font-family: var(--font-serif);
  font-size: clamp(34px, 4.2vw, 54px);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.05;
}
.section__desc {
  grid-area: desc;
  max-width: 60ch;
  color: var(--muted);
}

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(10px); transition: opacity var(--t-reveal) ease-out, transform var(--t-reveal) ease-out; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- tabs ---------- */
.tabs { display: inline-flex; border: 1px solid var(--line); margin-bottom: 40px; }
.tabs__btn {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 12px 28px;
  color: var(--muted);
  border-right: 1px solid var(--line);
  transition: color var(--t-fast) linear, box-shadow var(--t-fast) linear;
}
.tabs__btn:last-child { border-right: 0; }
@media (hover: hover) { .tabs__btn:hover { color: var(--text); } }
.tabs__btn:active { color: var(--text); }
.tabs__btn.is-active { color: var(--accent); box-shadow: inset 0 -1px 0 var(--accent); }
.tabs__btn[data-route="europe"].is-active { color: var(--steel); box-shadow: inset 0 -1px 0 var(--steel); }

/* ---------- route line ---------- */
.route { --route-accent: var(--accent); --lab: 240px; }
.route[data-dir="europe"] { --route-accent: var(--steel); }
.route__track {
  position: relative;
  height: 128px;
  margin-bottom: 40px;
}
.route__svg {
  position: absolute;
  left: calc(var(--lab) / 2); top: 0;
  width: calc(100% - var(--lab));
  height: 12px;
  overflow: visible;
}
.route__line {
  fill: none;
  stroke: var(--route-accent);
  stroke-width: 1;
  transition: stroke var(--t-fast) linear;
  stroke-dasharray: var(--len, 4000);
  stroke-dashoffset: var(--len, 4000);
  transition: stroke-dashoffset var(--t-draw) cubic-bezier(0.4, 0, 0.2, 1);
}
.route__line--v { display: none; }
.route__track.is-drawn .route__line { stroke-dashoffset: 0; }

.route__points { position: absolute; inset: 0; }
.route__point {
  position: absolute;
  top: 0;
  width: var(--lab);
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  opacity: 0;
  transition: opacity var(--t-reveal) ease-out;
}
.route__point:nth-child(1) { left: calc(var(--lab) / 2); }
.route__point:nth-child(2) { left: 50%; }
.route__point:nth-child(3) { left: calc(100% - var(--lab) / 2); }

.route__track.is-drawn .route__point { opacity: 1; }
.route__track.is-drawn .route__point:nth-child(1) { transition-delay: 0ms; }
.route__track.is-drawn .route__point:nth-child(2) { transition-delay: calc(var(--t-draw) * 0.5); }
.route__track.is-drawn .route__point:nth-child(3) { transition-delay: var(--t-draw); }

.route__dot {
  width: 12px; height: 12px;
  border: 1px solid var(--route-accent);
  background: var(--bg);
  flex: 0 0 auto;
}
.route__point:nth-child(3) .route__dot { background: var(--route-accent); }
.route__strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 0 0 40px;
}
.route__name { display: block; font-weight: 500; font-size: 17px; letter-spacing: -0.01em; line-height: 1.25; }
.route__cap {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
  line-height: 1.5;
}

/* ---------- media frames ---------- */
.figure { margin: 0; }
.media {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
}
.media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  filter: contrast(1.06) saturate(0.9);
}
.media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 60%, rgba(17, 19, 21, 0.5));
  pointer-events: none;
}
.media--16x9 { aspect-ratio: 16 / 9; }
.media--21x9 { aspect-ratio: 21 / 9; }
.media--4x3 { aspect-ratio: 4 / 3; }
.media--crop { aspect-ratio: 4 / 3; }
.media__cap {
  display: block;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.5;
  color: var(--muted);
}

/* ---------- spec tables ---------- */
.table-wrap { overflow-x: auto; }
.spec th {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: left;
  vertical-align: bottom;
  white-space: nowrap;
  padding: 0 24px 14px 0;
  border-bottom: 1px solid var(--line);
}
.spec td {
  padding: 20px 24px 20px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  position: relative;
  transition: box-shadow var(--t-fast) linear, background-color var(--t-fast) linear;
}
.spec td:first-child { padding-left: 16px; font-weight: 500; }
.spec th:first-child { padding-left: 16px; }
.spec td:last-child, .spec th:last-child { padding-right: 0; }
@media (hover: hover) { .spec tbody tr:hover td { background: var(--hover); } }
.spec tbody tr:active td { background: var(--hover); }
@media (hover: hover) { .spec tbody tr:hover td:first-child { box-shadow: inset 2px 0 0 var(--accent); } }
.spec tbody tr:active td:first-child { box-shadow: inset 2px 0 0 var(--accent); }
.spec__idx { font-family: var(--font-mono); font-size: 12px; color: var(--muted); margin-right: 16px; vertical-align: middle; }
.spec--crops tbody tr { cursor: pointer; }
.spec--crops tbody tr.is-active td { background: var(--hover); }
.spec--crops tbody tr.is-active td:first-child { box-shadow: inset 2px 0 0 var(--accent); }
.spec--crops tbody tr:focus-visible { outline-offset: -1px; }
.spec--routes tbody tr { cursor: pointer; }
@media (hover: hover) { .spec--routes tbody tr:hover td:first-child { box-shadow: inset 2px 0 0 var(--route-accent); } }
.spec--routes tbody tr:active td:first-child { box-shadow: inset 2px 0 0 var(--route-accent); }
.spec--routes tbody tr.is-active td { background: var(--hover); }
.spec--routes tbody tr.is-active td:first-child { box-shadow: inset 2px 0 0 var(--route-accent); }
.spec--routes tbody tr:focus-visible { outline-offset: -1px; }
.spec--crops td:nth-child(2) { color: var(--muted); font-size: 14px; white-space: nowrap; }
.spec--crops td:first-child { white-space: nowrap; }

.spec td.mono { font-size: 14px; }

.note {
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  max-width: 80ch;
}

/* ---------- quality blocks ---------- */
.blocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.block {
  padding: 32px 32px 40px 0;
  border-right: 1px solid var(--line);
}
.block + .block { padding-left: 32px; }
.block:last-child { border-right: 0; padding-right: 0; }
.block__title { font-size: 18px; font-weight: 500; letter-spacing: -0.01em; margin-bottom: 20px; }
.block__idx { display: block; font-family: var(--font-mono); font-size: 12px; font-weight: 400; color: var(--muted); margin-bottom: 20px; }
.block p { color: var(--muted); font-size: 15px; }

/* ---------- terms ---------- */
.terms {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 40px;
  border-top: 1px solid var(--line);
}
.terms__row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 20px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.section--terms .section__head { margin-bottom: 28px; padding-top: 20px; }
.section--terms .note { margin-top: 16px; }
.terms dt {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 3px;
}
.terms dd { font-size: 14px; line-height: 1.6; }
.terms dd .mono { color: var(--accent); font-size: 14px; }

/* ---------- form ---------- */
.request {
  display: grid;
  grid-template-columns: 3fr 2fr;
  column-gap: 64px;
  align-items: start;
}
.request__aside {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
  border-left: 1px solid var(--line);
  padding-left: 24px;
  margin-top: 6px;
}
.request__aside p + p { margin-top: 14px; }
.form {
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 32px;
}
.field { display: flex; flex-direction: column; }
.field label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.field input, .field select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 17px;
  padding: 12px 0;
  transition: border-color var(--t-fast) linear;
}
.field input.mono { font-family: var(--font-mono); font-size: 16px; }
.field input::placeholder { color: var(--muted); opacity: 0.6; }
.field input:focus, .field select:focus { border-bottom-color: var(--accent); }
.field input:focus-visible, .field select:focus-visible { outline-offset: 4px; }
.field select {
  padding-right: 28px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none' stroke='%239BA1A6' stroke-width='1'><path d='M3 6l5 5 5-5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0 center;
  cursor: pointer;
}
.field select:invalid, .field select option[value=""] { color: var(--muted); }
.field select option { background: var(--surface); color: var(--text); }
.field input[type=number]::-webkit-outer-spin-button,
.field input[type=number]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.field input[type=number] { -moz-appearance: textfield; }

.field.is-invalid input, .field.is-invalid select { border-bottom-color: var(--text); }
.field__error {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text);
  min-height: 18px;
  margin-top: 8px;
}

.form__footer {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  padding-top: 8px;
}
.form__footer .btn { width: 100%; text-align: center; padding: 18px 24px; font-size: 13px; }
.form__hint { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }

.form__success {
  max-width: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 40px 0;
}
.form__success-num { font-size: 24px; font-weight: 500; letter-spacing: -0.02em; }
.form__success-num .mono { color: var(--accent); }
.form__success-text { color: var(--muted); margin: 16px 0 28px; max-width: 64ch; }

/* ---------- footer ---------- */
.footer { background: var(--bg-1); border-top: 1px solid var(--line); padding: 40px 0 48px; }
.footer__col .logo { margin-bottom: 8px; }
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 0.9fr 1.6fr;
  gap: 40px;
  font-size: 13px;
}
.footer__col { display: flex; flex-direction: column; gap: 6px; }
@media (hover: hover) { .footer__col a:hover { color: var(--accent); } }
.footer__col a:active { color: var(--accent); }
.footer__muted { color: var(--muted); }
.footer .mono { font-size: 13px; }

/* ---------- crops: table + gallery ---------- */
.crops {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  column-gap: 48px;
  align-items: start;
}
.crops__gallery { position: sticky; top: 100px; }
.crops__gallery img { transition: opacity var(--t-reveal) ease-out; }
.crops__gallery.is-switching img { opacity: 0; }
.crops__note { margin-top: 24px; }

/* ---------- quality: full-bleed ---------- */
.section--bleed {
  background: var(--bg-0);
  padding: 160px 0;
}
.quality {
  display: grid;
  grid-template-columns: 2fr 3fr;
  column-gap: 64px;
  align-items: start;
}
.quality__media { position: sticky; top: 100px; }
.quality__media .media { max-height: 520px; }
.section__head--stack {
  grid-template-columns: 1fr;
  grid-template-areas: "num" "title";
  row-gap: 12px;
  border-top: 0;
  padding-top: 0;
  margin-bottom: 32px;
}
.blocks--stack { grid-template-columns: 1fr 1fr; column-gap: 40px; border-top: 1px solid var(--line); }
.blocks--stack .block, .blocks--stack .block + .block { padding: 28px 0 0; border-right: 0; border-bottom: 0; }
.blocks--stack .block--lead { grid-column: 1 / -1; padding: 32px 0 40px; border-bottom: 1px solid var(--line); }
.blocks--stack .block--lead p { font-size: 20px; line-height: 1.5; color: var(--text); max-width: 56ch; }
.blocks--stack .block--lead .block__title { margin-bottom: 24px; }

/* ---------- steps ---------- */
.steps__label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
}
.steps {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.step { padding: 32px 28px 36px; border-left: 1px solid var(--line); }
.step:first-child { border-left: 0; padding-left: 0; }
.step:last-child { padding-right: 0; }
.step__num {
  display: block;
  font-family: var(--font-mono);
  font-size: 40px;
  font-weight: 500;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 24px;
}
.step__title { font-size: 17px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.3; margin-bottom: 10px; }
.step__desc { font-size: 14px; color: var(--muted); }

/* ---------- pause ---------- */
.pause { background: var(--bg-2); padding-top: var(--section-y); }

/* ============================================================
   Breakpoints: 1200 / 768 / 480
   ============================================================ */
@media (max-width: 1200px) {
  :root { --gutter: 24px; --section-y: 80px; }
  .terms { column-gap: 40px; }
  .terms__row { grid-template-columns: 150px 1fr; }
  .request { column-gap: 40px; }
  .quality { column-gap: 40px; }
  .route { --lab: 200px; }
  .crops { grid-template-columns: minmax(0, 1fr) 280px; column-gap: 32px; }
  .header__right { gap: 24px; }
}

@media (max-width: 900px) {
  .section__head--offset { margin-left: 0; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step { padding: 24px 24px 28px; }
  .step:nth-child(odd) { border-left: 0; padding-left: 0; }
  .step:nth-child(n+3) { border-top: 1px solid var(--line); }
}

@media (max-width: 768px) {
  :root { --section-y: 48px; }
  .section--steps { padding: 48px 0; }
  .section--bleed { padding: 64px 0; }
  .section--terms { padding: 48px 0; }
  .section__head { grid-template-columns: 1fr; grid-template-areas: "num" "title" "desc"; row-gap: 12px; margin-bottom: 32px; }
  .tabs { margin-bottom: 32px; }

  /* header + menu */
  .header__inner { height: 56px; }
  .header__right { gap: 16px; }
  .logo { gap: 10px; }
  .logo__mark { align-self: center; width: 40px; height: 40px; }
  .logo--footer .logo__mark { width: 52px; height: 52px; }
  .logo__name { font-size: 20px; }
  .nav-toggle { width: 44px; height: 44px; justify-content: center; margin-right: -11px; }
  .nav-toggle__label { display: none; }
  .lang__btn { min-width: 44px; height: 44px; justify-content: center; }
  .menu__head { height: 56px; }
  .menu__nav { margin-top: 24px; }
  .menu__nav a { font-size: 26px; padding: 16px 0; gap: 16px; }
  .menu__lang { gap: 16px 24px; margin-top: 32px; }

  /* hero: by content, no empty screen */
  .hero { min-height: 0; }
  .hero__inner { justify-content: flex-start; padding-top: 48px; padding-bottom: 96px; }
  .hero__eyebrow { margin-bottom: 24px; }
  .hero__title { font-size: 36px; }
  .hero__lead { margin-top: 24px; font-size: 15px; }
  .hero__actions { flex-direction: column; align-items: stretch; gap: 12px; margin-top: 32px; }
  .hero__actions .btn { text-align: center; padding: 16px 24px; }
  .hero__actions .link { align-self: flex-start; margin-top: 8px; }
  .hero__cap { position: static; display: block; margin-top: 32px; }
  .hero__facts { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; align-items: stretch; gap: 20px 24px; margin-top: 40px; }
  .hero__fact { min-width: 0; display: flex; flex-direction: column; }
  .hero__fact-value { font-size: 24px; }
  .hero__fact-value--wide { font-size: clamp(14px, 4.2vw, 20px); letter-spacing: 0; }
  .section--about { padding-top: 48px; }
  .about p { font-size: 16px; }
  .standards { padding-bottom: 48px; }
  .standards__row li { padding: 14px 20px; font-size: 13px; }

  /* route becomes vertical: line from first dot centre to last */
  .route__track { height: auto; min-height: 0; margin-bottom: 40px; padding-left: 0; }
  .route__svg {
    left: 0;
    top: var(--v-top, 11px);
    width: 12px;
    height: var(--v-h, calc(100% - 22px));
  }
  .route__line--h { display: none; }
  .route__line--v { display: block; }
  .route__points { position: static; display: flex; flex-direction: column; gap: 32px; }
  .route__point {
    position: static;
    width: auto;
    flex-direction: row;
    align-items: flex-start !important;
    text-align: left !important;
    transform: none !important;
    gap: 20px;
  }
  .route__dot { position: relative; z-index: 1; margin-top: 5px; }
  .route__strip { display: grid; grid-template-columns: 1fr; gap: 16px; margin: 0 0 40px; overflow: visible; }

  /* tables stack into cards */
  .spec thead { display: none; }
  .spec, .spec tbody, .spec tr, .spec td { display: block; }
  .spec tr {
    border-bottom: 1px solid var(--line);
    padding: 16px 0 16px 16px;
    position: relative;
    transition: box-shadow var(--t-fast) linear, background-color var(--t-fast) linear;
  }
  .spec td { border: 0; padding: 5px 0; display: grid; grid-template-columns: 120px 1fr; gap: 12px; font-size: 15px; line-height: 1.45; }
  .spec td.mono { font-size: 15px; }
  .spec td:first-child { display: block; padding: 0 0 10px; font-size: 17px; font-weight: 500; }
  .spec td::before {
    content: attr(data-label);
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    padding-top: 4px;
  }
  .spec td:first-child::before { display: none; }
  .spec--crops td:first-child, .spec--crops td:nth-child(2) { white-space: normal; }
  .spec--crops td:nth-child(2) { font-size: 15px; }
  @media (hover: hover) { .spec tbody tr:hover td { background: transparent; } }
  .spec tbody tr:active td { background: transparent; }
  .spec tbody tr.is-active td, .spec--crops tbody tr.is-active td, .spec--routes tbody tr.is-active td { background: transparent; }
  @media (hover: hover) { .spec tbody tr:hover td:first-child, .spec--routes tbody tr:hover td:first-child { box-shadow: none; } }
  .spec tbody tr:active td:first-child, .spec--routes tbody tr:active td:first-child { box-shadow: none; }
  .spec--crops tbody tr.is-active td:first-child, .spec--routes tbody tr.is-active td:first-child { box-shadow: none; }
  .spec tbody tr.is-active { box-shadow: inset 2px 0 0 var(--accent); background: var(--hover); }
  .spec--routes tbody tr.is-active { box-shadow: inset 2px 0 0 var(--route-accent); }

  /* crops */
  .crops { grid-template-columns: 1fr; row-gap: 32px; }
  .crops__gallery { position: static; max-width: none; }

  /* quality */
  .quality { grid-template-columns: 1fr; row-gap: 32px; }
  .quality__media { position: static; }
  .section__title.section__title--xl { font-size: 46px; }
  .blocks--stack { grid-template-columns: 1fr; }
  .blocks--stack .block, .blocks--stack .block + .block { padding: 24px 0 0; }
  .blocks--stack .block--lead { padding: 24px 0 28px; }
  .blocks--stack .block--lead p { font-size: 17px; }

  /* steps: one column, number + title in a row */
  .steps { grid-template-columns: 1fr; }
  .step, .step:nth-child(odd), .step:nth-child(n+3) {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 16px;
    align-items: baseline;
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 20px 0;
  }
  .step:first-child { border-top: 0; padding-top: 0; }
  .step__num { font-size: 28px; margin: 0; }
  .step__title { margin: 0; font-size: 17px; }
  .step__desc { grid-column: 2; margin-top: 6px; }

  /* terms, form, footer */
  .terms { grid-template-columns: 1fr; column-gap: 0; }
  .terms__row { grid-template-columns: 1fr; gap: 6px; padding: 14px 0; }
  .request { grid-template-columns: 1fr; row-gap: 32px; }
  .request__aside { border-left: 0; padding-left: 0; margin-top: 0; border-top: 1px solid var(--line); padding-top: 20px; }
  .footer__inner { grid-template-columns: 1fr; gap: 20px; }
  .footer__col { gap: 6px; }
}

@media (max-width: 480px) {
  :root { --gutter: 16px; }
}

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
  .ring-out, .ring-in, .preloader__mark .ring-out, .preloader__mark .ring-in { animation: none; }
  .preloader__bar span { animation: none; width: 100%; }
  .hero__video video { opacity: 0; }
  .hero__video video.is-active { opacity: 1; }
  .route__line { stroke-dashoffset: 0; }
  .route__point { opacity: 1; }
}
