:root {
  --green-900: #12352a;
  --green-800: #173f30;
  --green-700: #1d4a38;
  --green-600: #235844;
  --green-prod: #19614c;
  --teal: #2f7d61;
  --teal-dark: #1f5a44;
  --gold: #d6ab63;
  --gold-2: #c99a4f;
  --gold-light: #e6d09b;
  --gold-soft: #efe0bd;
  --cream: #f5f0e4;
  --cream-2: #efe7d6;
  --cream-card: #eadfc6;
  --ink: #132318;
  --ink-2: #33413a;
  --line: #dcd2bb;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(18, 53, 42, .10);
  --shadow-lg: 0 18px 50px rgba(18, 53, 42, .16);
  --maxw: 1180px;
}

/* Fallback-шрифты с подгонкой метрик под Inter/Montserrat: пока woff2 не загрузился,
   текст рисуется Arial с теми же габаритами строк — своп не сдвигает layout (CLS).
   Значения из fallback-генератора (fontaine/capsize) для пары Arial↔Inter/Montserrat. */
@font-face {
  font-family: 'Inter-fb';
  src: local('Arial');
  size-adjust: 107%;
  ascent-override: 90.44%;
  descent-override: 22.52%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'Montserrat-fb';
  src: local('Arial');
  size-adjust: 112.84%;
  ascent-override: 85.79%;
  descent-override: 22.25%;
  line-gap-override: 0%;
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  font-family: 'Inter', 'Inter-fb', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}


h1,
h2,
h3,
h4 {
  font-family: 'Montserrat', 'Montserrat-fb', sans-serif;
  line-height: 1.12;
  margin: 0
}

p {
  margin: 0 0 1em
}

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

img {
  max-width: 100%
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: .2s ease;
  white-space: nowrap;
  font-family: 'Montserrat', 'Montserrat-fb', sans-serif;
}

.btn-sm {
  padding: 9px 18px;
  font-size: 13px
}

.btn-full {
  width: 100%
}

.btn-gold {
  background: var(--gold);
  color: var(--green-900)
}

.btn-gold:hover {
  background: var(--gold-2)
}

.btn-dark {
  background: var(--green-900);
  color: var(--white)
}

.btn-dark:hover {
  background: var(--green-700)
}

.btn-ghost {
  border-color: rgba(255, 255, 255, .55);
  color: #fff
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, .12)
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  /* Сплошной непрозрачный фон без border-bottom и backdrop-filter — iOS 26 Safari берёт цвет статус-бара из background-color этого элемента.
     border-bottom Safari семплирует вместо фона, поэтому линию делаем через box-shadow */
  background-color: #12352a;
  box-shadow: inset 0 -1px 0 rgba(214, 171, 99, .25);
  padding-top: env(safe-area-inset-top, 0px);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gold);
  flex-shrink: 0
}

.brand img {
  height: 60px;
  width: auto;
  display: block;
}

/* СЧИТАТЬ ТАК (грабли: в бюджет входят ДВА зазора самой .header-inner,
   про них легко забыть и получить меню, которое «влезает» на бумаге):

     бюджет меню = 1180 (max-width контейнера) - 48 (его padding)
                        - 255 (логотип) - 209.3 (языки + телефон)
                        - 2 x 24 (gap у .header-inner)
                 = 619.7 px

   Шесть пунктов при gap 22 занимают 610.9 — запас 8.8 px. Именно поэтому
   шапка такая тесная. Русская версия с седьмым пунктом («Поставщикам»)
   не помещается совсем и ужимается отдельно — см. блок .lang-ru ниже.

   Порог бургера — 1200, а не прежние 1150: медиазапросы меряют вьюпорт
   ВМЕСТЕ с вертикальным скроллбаром, а раскладке достаётся ширина без
   него (на Windows -15…-17 px). При пороге 1180 на экране ровно 1180
   контейнер получал 1165, телефон вылезал за край и появлялся
   горизонтальный скролл. 1200 закрывает скроллбар любой ширины. */
.main-nav {
  display: flex;
  gap: 22px;
  margin-inline-start: auto
}

.main-nav a {
  color: #e9e3d4;
  font-size: 14px;
  /* 600, а не 500: вес 500 больше нигде не используется, а меню отрендерено всегда
     (max-height:0) — держать inter-500-*.woff2 (~65 КБ) ради одного веса невыгодно */
  font-weight: 600;
  transition: .15s;
  position: relative;
  padding: 4px 0;
  white-space: nowrap
}

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

.main-nav a::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: .2s
}

.main-nav a:hover::after {
  width: 100%
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px
}

/* Language switch: an icon button that drops the language list down as a
   menu, on every screen size (previously an inline pill row on wide
   screens + this dropdown only below 490px — unified so the header stays
   compact everywhere). .lang-menu wraps just the icon (not the whole
   header-actions row) so the dropdown anchors under the icon itself —
   anchoring to header-actions made it drift under the wide phone-number
   button on desktop, since that button also lives in header-actions. */
.lang-menu {
  position: relative;
  display: flex;
  align-items: center
}

.lang-switch {
  position: absolute;
  top: calc(100% + 10px);
  inset-inline-end: 0;
  display: none;
  flex-direction: column;
  align-items: stretch;
  min-width: 168px;
  border: 1px solid rgba(214, 171, 99, .4);
  border-radius: 12px;
  background: #12352a;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .45);
  overflow: hidden;
  z-index: 60
}

.lang-toggle[aria-expanded="true"] + .lang-switch {
  display: flex
}

.lang-switch a {
  display: flex;
  align-items: center;
  width: 100%;
  background: transparent;
  color: #e9e3d4;
  border: 0;
  padding: 12px 16px;
  font-size: 0;
  font-weight: 600;
  line-height: 1;
  text-align: start;
  text-decoration: none;
  cursor: pointer;
  transition: .15s;
  font-family: 'Montserrat', 'Montserrat-fb'
}

.lang-switch a + a {
  border-top: 1px solid rgba(214, 171, 99, .18)
}

.lang-switch a::after {
  content: attr(data-full);
  font-size: 14.5px;
  font-weight: 600
}

.lang-switch a.active {
  background: var(--gold);
  color: var(--green-900)
}

.lang-switch a:not(.active):hover {
  background: rgba(214, 171, 99, .22);
  color: var(--gold-light)
}

/* Translate icon that toggles the language menu. */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 34px;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(214, 171, 99, .5);
  border-radius: 10px;
  color: #e9e3d4;
  cursor: pointer;
  transition: color .15s, border-color .15s
}

.lang-toggle:hover,
.lang-toggle[aria-expanded="true"] {
  color: var(--gold);
  border-color: var(--gold)
}

.lang-toggle svg {
  width: 22px;
  height: 22px;
  display: block
}

.header-phone {
  flex-shrink: 0
}

/* Icon-only call button: replaces the full "+7 (993) 105-33-74" pill on
   narrow screens (< 1200px), where the burger takes over the nav row and
   there isn't room for the full number. Hidden by default (desktop shows
   the text pill instead) — shown in the max-width:1199px block below. */
.header-call {
  display: none;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 38px;
  height: 34px;
  padding: 0;
  border: 1px solid rgba(214, 171, 99, .5);
  border-radius: 10px;
  color: #e9e3d4;
  transition: color .15s, border-color .15s
}

.header-call:hover {
  color: var(--gold);
  border-color: var(--gold)
}

.header-call svg {
  width: 19px;
  height: 19px;
  display: block
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px
}

.burger span {
  width: 24px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: .25s
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  min-height: calc(100svh - 72px);
  min-height: calc(100dvh - 72px - env(safe-area-inset-top, 0px));
  display: flex;
  align-items: flex-start;
  background: radial-gradient(120% 130% at 80% 10%, #1c4735 0%, #12352a 55%, #0f2c23 100%);
  color: #fff;
  overflow: hidden
}

.hero-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(closest-side, rgba(214, 171, 99, .16), transparent 70%) 90% 20%/460px 460px no-repeat,
    radial-gradient(closest-side, rgba(214, 171, 99, .10), transparent 70%) 15% 90%/380px 380px no-repeat;
}

.hero-decor::after {
  content: "";
  position: absolute;
  inset-inline-end: -140px;
  top: -80px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  border: 2px solid rgba(214, 171, 99, .25);
  box-shadow: inset 0 0 0 40px rgba(214, 171, 99, .05);
}

/* Фото + зелёная панель. Только на десктопе — на планшете/мобиле контент встаёт в колонку, фото и панель скрыты */
.hero-media,
.hero-photo {
  display: none
}

.hero-inner {
  position: relative;
  width: 100%;
  padding: 56px 24px 96px
}

.hero-copy {
  max-width: 820px
}

.hero-title {
  font-weight: 900;
  font-size: clamp(46px, 8vw, 104px);
  letter-spacing: -.01em
}

.hero-title .line-white {
  display: block;
  color: #fff
}

.hero-title .line-gold {
  display: block;
  color: var(--gold)
}

.hero-lead {
  font-size: clamp(18px, 2.4vw, 24px);
  color: #e9e3d4;
  margin: 22px 0 30px;
  max-width: 800px;
  border-inline-start: 4px solid var(--gold);
  padding-inline-start: 18px
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none
}

.chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(214, 171, 99, .35);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600
}

.chip-ic {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--gold-soft)
}

.chip-ic::before {
  content: "";
  display: block;
  width: 26px;
  height: 26px;
  background-color: var(--green-900);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain
}

.chip-ic--purchases::before {
  -webkit-mask-image: url("../img/icon-hero-purchases.webp");
  mask-image: url("../img/icon-hero-purchases.webp")
}

.chip-ic--quality::before {
  -webkit-mask-image: url("../img/icon-hero-quality.webp");
  mask-image: url("../img/icon-hero-quality.webp")
}

.chip-ic--export::before {
  -webkit-mask-image: url("../img/icon-hero-export.webp");
  mask-image: url("../img/icon-hero-export.webp")
}

.hero-route {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: #0e2a21;
  border: 1px solid rgba(214, 171, 99, .4);
  border-radius: 999px;
  padding: 14px 28px;
  font-family: 'Montserrat', 'Montserrat-fb';
  font-weight: 800;
  letter-spacing: .05em;
  font-size: clamp(13px, 1.6vw, 17px);
  margin-bottom: 34px
}

.hero-route .arrow {
  color: var(--gold);
  display: inline-flex;
  align-items: center
}

.hero-route .arrow svg {
  width: 24px;
  height: auto;
  display: block
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px
}

.hero-cta .btn-gold:hover,
.header-phone:hover,
.factory-link:hover,
.supplier-cta:hover,
.wa-group .btn:hover {
  background: var(--gold-light);
  box-shadow: 0 0 0 3px rgba(230, 208, 155, .35)
}

@media(min-width:1081px) {
  /* фото на всю ширину hero, но масштаб по ВЫСОТЕ (auto 100%) и прижато вправо.
     Так у фото нет прямой кромки в кадре (единственная граница — дуга круга),
     а резкость не зависит от ширины экрана: исходник 1048×718 не растягивается
     по ширине (это и давало «шакал»), только по высоте (~1.4×). */
  .hero-photo {
    display: block;
    position: absolute;
    top: -60px;
    right: 0;
    bottom: -60px;
    left: 0;
    background: url("../img/bg-hero.webp") right center / auto 100% no-repeat;
    z-index: 0
  }

  /* зелёный круг слева: настоящий круг (равные радиусы), диаметр 100vw.
     Правый край дугой пересекает экран у отметки ~2/3, всё остальное — за обрезом. */
  .hero-media {
    display: block;
    position: absolute;
    width: 100vw;
    height: 100vw;
    left: -34vw;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    background: radial-gradient(80% 80% at 40% 45%, #1c4735 0%, #12352a 55%, #0f2c23 100%);
    border: 2px solid rgba(214, 171, 99, .8);
    /* тень вправо — отрывает круг от фото */
    box-shadow: 24px 0 70px rgba(15, 44, 35, .5);
    z-index: 1
  }

  /* текст поверх зелёной панели */
  .hero-inner {
    z-index: 2
  }

  /* декоративные блики убираем — фон теперь фото */
  .hero-decor {
    display: none
  }

  /* текст держим в пределах круга, не залезая на дугу */
  .hero-copy {
    max-width: 600px
  }

  .hero-title {
    font-size: clamp(46px, 5.2vw, 82px)
  }

  /* «GRAIN DESK» — всегда одной строкой (места в круге хватает) */
  .hero-title .line-white,
  .hero-title .line-gold {
    white-space: nowrap
  }

  .hero-lead {
    max-width: 460px
  }
}

/* На широких экранах три чипа — в одну строку (выходят за 600px блока текста,
   места до дуги круга хватает) */
@media(min-width:1280px) {
  .hero-chips {
    flex-wrap: nowrap;
    width: max-content;
    max-width: none
  }

  .chip {
    flex-shrink: 0
  }
}

.section {
  padding: 82px 0
}

.section-cream {
  background: var(--cream)
}

.section-cream-alt {
  background: var(--cream-2)
}

.section-green {
  background: radial-gradient(120% 120% at 85% 0%, #1c4735, #12352a 60%);
  color: #fff
}

.section-head {
  margin-bottom: 14px
}

.section-head h2 {
  font-weight: 800;
  font-size: clamp(30px, 4.4vw, 52px);
  color: var(--green-900)
}

.section-head.on-dark h2 {
  color: #fff
}

.head-rule {
  display: block;
  width: 115px;
  height: 5px;
  border-radius: 3px;
  background: var(--gold);
  margin-top: 16px
}

.section-lead {
  font-size: clamp(16px, 1.9vw, 19px);
  color: var(--ink-2);
  margin: 22px 0 40px
}

.section-lead.light {
  color: #d9e2db
}

.subhead {
  font-size: 22px;
  margin: 14px 0 20px
}

.teal {
  color: var(--teal)
}

.gold {
  color: #e9c382;
}

.footnote {
  font-size: 13.5px;
  color: #7c7663;
  font-style: italic;
  margin-top: 26px
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  margin-bottom: 44px
}

.about-grid h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  background: var(--green-900);
  border-radius: var(--radius);
  padding: 20px 20px;
  margin: 0 0 46px;
  list-style: none
}

.stat {
  display: flex;
  align-items: center;
  text-align: start;
  gap: 12px;
  padding: 6px 14px;
  border-inline-end: 1px solid rgba(255, 255, 255, .12)
}

.stat:last-child {
  border-inline-end: 0
}

.stat-ic {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold-soft);
  display: flex;
  align-items: center;
  justify-content: center
}

.stat-ic::before {
  content: "";
  display: block;
  width: 24px;
  height: 24px;
  background-color: var(--green-900);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain
}

.stat-ic--experience::before {
  -webkit-mask-image: url("../img/icon-about-experience.webp");
  mask-image: url("../img/icon-about-experience.webp")
}

.stat-ic--deals::before {
  -webkit-mask-image: url("../img/icon-about-deals.webp");
  mask-image: url("../img/icon-about-deals.webp")
}

.stat-ic--volume::before {
  -webkit-mask-image: url("../img/icon-about-volume.webp");
  mask-image: url("../img/icon-about-volume.webp")
}

.stat-ic--location::before {
  -webkit-mask-image: url("../img/icon-about-location.webp");
  mask-image: url("../img/icon-about-location.webp")
}

.stat-ic--calendar::before {
  -webkit-mask-image: url("../img/icon-about-calendar.webp");
  mask-image: url("../img/icon-about-calendar.webp")
}

.stat-body {
  display: flex;
  flex-direction: column;
  min-width: 0
}

.stat b {
  font-family: 'Montserrat', 'Montserrat-fb';
  font-weight: 800;
  color: var(--gold);
  font-size: clamp(19px, 2.1vw, 28px);
  line-height: 1.15;
  white-space: nowrap
}

.stat-label {
  color: #d9e2db;
  font-size: 13px
}

.reg-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none
}

.reg-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  font-size: 13.5px;
  color: var(--ink-2)
}

.reg-item i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--gold-soft);
  font-style: normal;
  flex: 0 0 auto
}

.reg-item i::before {
  content: "";
  display: block;
  width: 24px;
  height: 24px;
  background-color: var(--green-700);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain
}

.reg-ic--network::before {
  -webkit-mask-image: url("../img/icon-partners-network.webp");
  mask-image: url("../img/icon-partners-network.webp")
}

.reg-ic--map::before {
  -webkit-mask-image: url("../img/icon-partners-map.webp");
  mask-image: url("../img/icon-partners-map.webp")
}

.reg-ic--audit::before {
  -webkit-mask-image: url("../img/icon-partners-audit.webp");
  mask-image: url("../img/icon-partners-audit.webp")
}

.reg-ic--document::before {
  -webkit-mask-image: url("../img/icon-partners-document.webp");
  mask-image: url("../img/icon-partners-document.webp")
}

.reg-ic--wheat::before {
  -webkit-mask-image: url("../img/icon-partners-wheat.webp");
  mask-image: url("../img/icon-partners-wheat.webp")
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px
}

.team-card {
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow)
}

.team-card.green {
  background: var(--green-800);
  color: #eef2ee
}

.team-card.gold {
  background: var(--gold-light);
  color: var(--ink)
}

.team-card h3 {
  font-size: 21px;
  font-weight: 800;
  margin-bottom: 6px
}

.team-card.green h3 {
  color: #fff
}

.team-card.gold h3 {
  color: var(--green-800)
}

.team-card .role {
  color: var(--gold);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 16px
}

.team-card.gold .role {
  color: var(--teal-dark)
}

.team-card p {
  font-size: 14px;
  margin-bottom: 12px
}

.team-card b {
  color: var(--gold)
}

.team-card.gold b {
  color: var(--teal-dark)
}

.team-card-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px
}

.team-card-head .avatar-photo {
  margin-bottom: 0;
  flex-shrink: 0
}

.team-card-heading h3 {
  margin-bottom: 4px
}

.team-card-heading .role {
  margin-bottom: 0
}

.avatar-photo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin-bottom: 16px;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .18);
}

.team-card.gold .avatar-photo {
  box-shadow: 0 0 0 3px rgba(23, 63, 48, .18);
}

@media(min-width:1081px) {
  .team-card.team-card-specialists {
    background-repeat: no-repeat, no-repeat;
    background-origin: content-box, content-box;
    background-position: right 15px bottom 15px, right bottom;
    background-size: 28px auto, 58px 58px;
    background-image:
      url('../img/icon-team-specialists.webp'),
      radial-gradient(circle closest-side, var(--gold) 96%, transparent 100%);
  }
}

.products-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none
}

.prod {
  position: relative;
  flex: 0 0 calc(25% - 13.5px);
  border-radius: var(--radius);
  padding: 22px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  background-image: var(--prod-img);
  background-repeat: no-repeat;
  background-position: right -1px bottom -1px;
  background-size: 118px auto
}

/* 4-per-row checkerboard (desktop). Overridden per breakpoint below,
   since the alternation pattern depends on column count. */
.prod:nth-child(8n+1),
.prod:nth-child(8n+3),
.prod:nth-child(8n+6),
.prod:nth-child(8n) {
  background-color: var(--green-prod);
  color: #e9efe9
}

.prod:nth-child(8n+1) h3,
.prod:nth-child(8n+3) h3,
.prod:nth-child(8n+6) h3,
.prod:nth-child(8n) h3 {
  color: #fff
}

.prod:nth-child(8n+2),
.prod:nth-child(8n+4),
.prod:nth-child(8n+5),
.prod:nth-child(8n+7) {
  background-color: var(--gold-light);
  color: var(--ink)
}

.prod:nth-child(8n+2) h3,
.prod:nth-child(8n+4) h3,
.prod:nth-child(8n+5) h3,
.prod:nth-child(8n+7) h3 {
  color: var(--green-800)
}

.prod-wheat {
  --prod-img: url('../img/img-products-wheat.webp');
  background-size: 100px auto
}

.prod-barley {
  --prod-img: url('../img/img-products-barley.webp');
  background-size: 109px auto
}

.prod-corn {
  --prod-img: url('../img/img-products-corn.webp');
  background-size: 112px auto
}

.prod-peas {
  --prod-img: url('../img/img-products-peas.webp');
  background-size: 108px auto
}

.prod-chickpea {
  --prod-img: url('../img/img-products-chickpeas.webp');
  background-size: 123px auto
}

.prod-sunflower {
  --prod-img: url('../img/img-products-sunflower.webp');
  background-size: 115px auto
}

.prod-rapeseed {
  --prod-img: url('../img/img-products-rapeseed.webp');
  background-size: 124px auto
}

.prod-flax {
  --prod-img: url('../img/img-products-flax.webp');
  background-size: 115px auto
}

.prod-flour {
  --prod-img: url('../img/img-products-flour.webp');
  background-size: 109px auto
}

.prod-sugar {
  --prod-img: url('../img/img-products-sugar.webp');
  background-size: 110px auto
}

.prod-flour,
.prod-sugar {
  flex-basis: calc(50% - 9px)
}

.prod h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 10px
}

.prod p,
.prod-desc {
  font-size: 13.5px;
  margin-bottom: 16px
}

.prod-desc {
  line-height: 1.35
}

.prod-list {
  list-style: disc;
  margin: 2px 0 0;
  padding-inline-start: 16px
}

.prod-list li {
  margin-bottom: 0
}

.prod .vol {
  margin-top: auto;
  align-self: flex-start;
  background: #fff;
  color: var(--green-prod);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  font-family: 'Montserrat', 'Montserrat-fb'
}

.onrequest {
  margin-top: 24px;
  font-size: 15px;
  color: var(--ink-2)
}

.onrequest b {
  color: var(--green-800)
}

.regions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none
}

.region {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 16px
}

.region-ic {
  flex: 0 0 auto;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center
}

.region-ic::before {
  content: "";
  display: block;
  width: 34px;
  height: 34px;
  background-color: currentColor;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain
}

.region-ic--sun::before {
  -webkit-mask-image: url("../img/icon-sourcing-sun.webp");
  mask-image: url("../img/icon-sourcing-sun.webp")
}

.region-ic--tree::before {
  -webkit-mask-image: url("../img/icon-sourcing-tree.webp");
  mask-image: url("../img/icon-sourcing-tree.webp")
}

.region-ic--pin::before {
  -webkit-mask-image: url("../img/icon-sourcing-pin.webp");
  mask-image: url("../img/icon-sourcing-pin.webp")
}

.region-ic--altai::before {
  -webkit-mask-image: url("../img/icon-sourcing-altai.webp");
  mask-image: url("../img/icon-sourcing-altai.webp")
}

.region-ic--city::before {
  -webkit-mask-image: url("../img/icon-sourcing-city.webp");
  mask-image: url("../img/icon-sourcing-city.webp")
}

.region-ic--caucasus::before {
  -webkit-mask-image: url("../img/icon-sourcing-caucasus.webp");
  mask-image: url("../img/icon-sourcing-caucasus.webp")
}

.region-ic--ural::before {
  -webkit-mask-image: url("../img/icon-sourcing-ural.webp");
  mask-image: url("../img/icon-sourcing-ural.webp")
}

.region-ic--arrows::before {
  -webkit-mask-image: url("../img/icon-sourcing-arrows.webp");
  mask-image: url("../img/icon-sourcing-arrows.webp")
}

/* checkerboard for the 2-column desktop/tablet layout;
   overridden for 1-column mobile below. Icon fill (currentColor)
   flips with the circle so it stays legible on both. */
.region:nth-child(4n+1) .region-ic,
.region:nth-child(4n) .region-ic {
  background: var(--green-prod);
  color: #fff
}

.region:nth-child(4n+2) .region-ic,
.region:nth-child(4n+3) .region-ic {
  background: var(--gold-light);
  color: var(--green-800)
}

.region.region-note .region-ic {
  background: var(--gold-light);
  color: var(--green-800)
}

.region-body {
  flex: 0 0 184px
}

.region h3 {
  font-size: 17px;
  color: var(--green-800);
  font-weight: 800
}

.reg-cities {
  font-size: 13.5px;
  color: var(--teal-dark);
  margin: 4px 0 0
}

.reg-crops {
  font-size: 13.5px;
  margin: 0;
  flex: 1;
  border-inline-start: 1px solid var(--line);
  padding-inline-start: 16px;
  color: var(--green-800)
}

.reg-crops b {
  color: var(--green-800);
  display: block;
  margin-bottom: 2px
}

.region-note {
  background: var(--green-900);
  border-color: var(--green-900);
  color: #fff
}

.region-note b {
  color: #fff
}

.region-note p {
  margin: 0;
  font-size: 14px
}

/* Производство — карточки площадок на тёмной секции. Сетка сделана с расчётом
   на рост: сейчас площадка одна и модификатор --solo кладёт карточку в строку
   (фото + текст), когда площадок станет две и больше — модификатор снимается
   с <ul> и включается обычный auto-fit-грид, менять стили не нужно.
   Направление задаётся flex-row без left/right, поэтому на da/fa фото само
   уезжает вправо. */
.factory-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none
}

/* Две и больше карточек встают рядом только от 900px: уже карточка выходит
   ~340px, заголовок в три строки и плашки по одной в ряд. До 900px — одна
   под другой: 681–899 в строку (фото + текст, как у --solo), ≤680 стопкой. */
@media(min-width:900px) {
  .factory-grid:not(.factory-grid--solo) {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr))
  }
}

@media(min-width:681px) and (max-width:899px) {
  .factory-grid .factory {
    flex-direction: row;
    align-items: stretch
  }

  .factory-grid .factory-media {
    flex: 0 0 42%
  }

  .factory-grid .factory-body {
    padding: 30px 34px
  }
}

.factory {
  display: flex;
  flex-direction: column;
  background: var(--cream);
  border: 1px solid rgba(214, 171, 99, .5);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: border-color .25s ease, box-shadow .25s ease
}

.factory:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-lg), 0 0 0 3px rgba(214, 171, 99, .16), 0 0 32px rgba(214, 171, 99, .2)
}

.factory-grid--solo .factory {
  flex-direction: row;
  align-items: stretch
}

.factory-media {
  flex-shrink: 0;
  background: var(--cream-2)
}

.factory-grid--solo .factory-media {
  flex: 0 0 42%
}

/* В строке высоту задаёт текстовая колонка и картинка тянется по ней (height:100%
   перебивает aspect-ratio); в стопке height схлопывается в auto и работает 4/3. */
.factory-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 3/2
}

/* Одиночная карточка в стопке (≤680px) — прежние 4/3. В сетке из двух и более
   карточек 3/2: на 4/3 фото шириной 555px занимало полэкрана. */
.factory-grid--solo .factory-media img {
  aspect-ratio: 4/3
}

/* flex:1 + margin-top:auto у кнопки — кнопки соседних карточек на одной линии,
   даже если описание в одной из них на строку длиннее. */
.factory-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 26px 28px 28px
}

.factory-grid--solo .factory-body {
  justify-content: center;
  padding: 34px 38px
}

.factory-kicker {
  font-family: 'Montserrat', 'Montserrat-fb', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--teal)
}

.factory h3 {
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 800;
  color: var(--green-900);
  margin: 8px 0 0
}

.factory-desc {
  font-size: 15px;
  color: var(--ink-2);
  margin: 12px 0 0
}

.factory-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 22px;
  padding: 0;
  list-style: none
}

.factory-facts li {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--green-prod);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  font-family: 'Montserrat', 'Montserrat-fb', sans-serif
}

/* Обычная .btn.btn-gold, как первая кнопка в hero — отдельного вида у ссылки
   на производство нет, ховер подключён к общему правилу золотых кнопок
   (подсветка gold-light + кольцо), а не к дефолтному затемнению .btn-gold:hover.
   Растягивать ссылку на всю карточку нельзя: ховер тогда срабатывает от
   наведения на карточку, а не на саму кнопку. */
.factory-link {
  margin-top: auto
}

.factory-grid--solo .factory-link {
  margin-top: 0
}

.steps-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0 0 34px;
  padding: 0;
  list-style: none
}

.step {
  background: #fff;
  border: 1px solid var(--gold-light);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: stretch;
  gap: 16px
}

.step-badge {
  flex: 0 0 84px;
  background: var(--green-prod);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 18px 8px
}

.step-num {
  display: block;
  font-family: 'Montserrat', 'Montserrat-fb';
  font-weight: 800;
  font-size: 30px;
  color: #e9c382;
  line-height: 1
}

.step-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center
}

.step h3 {
  font-size: 19px;
  color: var(--green-prod);
  margin-bottom: 10px
}

.step p {
  font-size: 14px;
  color: var(--green-800);
  margin: 0
}

.step-ic {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center
}

.step-ic img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block
}

.transparency {
  background: var(--green-900);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  align-items: center;
  gap: 25px
}

.transparency-badge {
  flex: 0 0 auto;
  width: 120px;
  height: auto;
  display: block
}

.transparency-body {
  flex: 1;
  min-width: 0
}

.transparency h3 {
  font-size: 30px;
  color: #e9c382;
  margin-bottom: 22px
}

.trans-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0
}

.trans-grid li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #e2e9e3;
  font-size: 14px
}

.trans-ic {
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--gold-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-style: normal
}

.trans-ic img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  display: block
}

.modes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  list-style: none;
  margin: 0 0 40px;
  padding: 0
}

/* da/ has 3 transport modes, not 4 — give it a 3-column desktop row. Scoped
   to desktop only so the shared responsive rules below still collapse it to
   2 then 1 column on tablet/mobile. (Was an inline style, which overrode the
   media queries and kept 3 columns on phones — text then overflowed.) */
@media(min-width:1081px) {
  .modes-grid--3 {
    grid-template-columns: repeat(3, 1fr)
  }
}

.mode {
  background: #fff;
  border: 1px solid var(--gold-light);
  border-radius: var(--radius);
  padding: 8px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: stretch;
  gap: 16px;
  min-width: 0
}

.mode-ic {
  flex: 0 0 80px;
  background: var(--green-prod);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px
}

.mode-ic img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  display: block
}

.mode-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center
}

.mode h3 {
  font-size: 18px;
  color: var(--green-prod);
  margin-bottom: 10px
}

.mode p {
  font-size: 13px;
  margin: 0;
  color: var(--ink-2)
}

.log-bottom {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 0.7fr;
  gap: 22px;
  align-items: start
}

.ports h3 {
  margin-bottom: 16px
}

.ports h3.teal,
.incoterms h3.teal {
  color: var(--green-800)
}

.tbl {
  width: 100%;
  border-collapse: collapse;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff
}

.tbl th {
  background: var(--green-800);
  color: #fff;
  text-align: start;
  padding: 13px 18px;
  font-family: 'Montserrat', 'Montserrat-fb';
  font-size: 14px
}

.ports .tbl th {
  text-align: center
}

.ports .tbl th,
.ports .tbl td {
  padding: 8px 8px
}

.tbl td {
  padding: 12px 18px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  vertical-align: top
}

.tbl tbody tr:nth-child(even) {
  background: #faf7ef
}

.tbl td:first-child {
  font-weight: 700;
  color: var(--green-prod)
}

.basin-cell {
  display: flex;
  align-items: flex-start;
  gap: 10px
}

.incoterms h3 {
  margin-bottom: 14px
}

.inco-badges {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 0 0 8px;
  padding: 0;
  list-style: none
}

.inco-badges li {
  background: var(--gold-light);
  color: var(--green-800);
  font-family: 'Montserrat', 'Montserrat-fb';
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  text-align: center
}

.mini {
  font-size: 13px;
  color: #8a8471;
  font-style: italic;
  margin-bottom: 20px
}

.route-illustration {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 20px
}

.insurance {
  background: var(--green-900);
  border-radius: 14px;
  padding: 22px;
  color: #e2e9e3
}

.insurance h3 {
  margin-bottom: 12px
}

.insurance-head {
  display: flex;
  align-items: center;
  gap: 10px
}

.insurance-ic {
  width: 30px;
  height: 30px;
  object-fit: contain;
  display: block
}

.insurance p {
  font-size: 13.5px;
  margin-bottom: 12px
}

.insurance p:last-child {
  margin: 0
}

.geo-tables {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px
}

.geo-note {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 30px
}

.geo-note-ic {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center
}

.geo-note-ic img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  display: block
}

.geo-note p {
  margin: 0;
  font-size: 15px;
  color: var(--teal-dark)
}

.doc-cats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 0 0 34px;
  padding: 0;
  list-style: none
}

.doc-cat {
  background: var(--green-prod);
  border-radius: var(--radius);
  padding: 24px;
  color: #e9efe9
}

.doc-cat h3 {
  background: #fff;
  color: var(--green-prod);
  display: inline-block;
  padding: 7px 16px;
  border-radius: 8px;
  font-size: 15px;
  margin-bottom: 16px
}

.doc-cat ul {
  margin: 0;
  padding-inline-start: 18px
}

.doc-cat li {
  font-size: 14px;
  margin-bottom: 3px
}

.doc-table-row {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 18px;
  align-items: stretch
}

.doc-photo-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--green-800);
  box-shadow: var(--shadow);
  min-height: 200px
}

.doc-photo-img {
  position: absolute;
  inset-inline-end: 0;
  bottom: 0;
  width: auto;
  max-width: 260px;
  height: auto;
  display: block
}

.doc-photo-ic {
  position: absolute;
  top: 16px;
  inset-inline-start: 16px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1
}

.doc-photo-ic::before {
  content: "";
  display: block;
  width: 32px;
  height: 32px;
  background-color: var(--green-800);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-image: url("../img/icon-partners-document.webp");
  mask-image: url("../img/icon-partners-document.webp")
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none
}

.flow-card {
  position: relative;
  overflow: hidden;
  background: var(--cream);
  border-radius: var(--radius);
  padding: 24px;
  min-height: 190px;
  box-shadow: var(--shadow);
  background-repeat: no-repeat;
  background-position: right -1px bottom -1px
}

.flow-card--folders {
  background-image: url('../img/img-docs-folders.webp');
  background-size: 140px auto
}

.flow-card--clipboard {
  background-image: url('../img/img-docs-clipboard.webp');
  background-size: 110px auto
}

.flow-card--hopper {
  background-image: url('../img/img-docs-hopper.webp');
  background-size: 150px auto
}

.flow-card--notebook {
  background-image: url('../img/img-docs-notebook.webp');
  background-size: 110px auto
}

.flow-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px
}

.flow-num {
  display: inline-block;
  flex-shrink: 0;
  background: var(--green-prod);
  color: var(--gold);
  font-family: 'Montserrat', 'Montserrat-fb';
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 20px
}

.flow-card h3 {
  color: var(--green-800);
  font-size: 18px
}

.flow-card p {
  font-size: 13.5px;
  margin: 0;
  max-width: 80%;
  color: var(--ink-2)
}

.guarantee {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--gold-light);
  border-radius: var(--radius);
  padding: 30px
}

.guarantee-head {
  display: flex;
  align-items: center;
  gap: 14px
}

.guarantee-badge {
  flex-shrink: 0;
  width: 48px;
  height: auto;
  display: block
}

.guarantee h3 {
  font-size: 22px;
  margin: 0;
  color: var(--green-800)
}

.guarantee p {
  margin: 0;
  font-size: 15px;
  color: var(--ink)
}

@media(min-width:1081px) {
  .guarantee {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "badge title"
      "badge text";
    column-gap: 24px;
    row-gap: 10px;
    align-items: center
  }

  .guarantee-head {
    display: contents
  }

  .guarantee-badge {
    grid-area: badge;
    width: 86px
  }

  .guarantee h3 {
    grid-area: title
  }

  .guarantee p {
    grid-area: text
  }
}

.deal-head-row {
  display: flex;
  gap: 26px;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap
}

.deal-head-row .section-lead {
  margin: 0;
  flex: 1 1 460px
}

.term-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 2px solid var(--gold);
  border-radius: 14px;
  padding-block: 6px;
  padding-inline: 12px 22px;
  font-size: 14px;
  flex: 0 0 auto
}

.term-badge b {
  color: var(--green-800);
  font-family: 'Montserrat', 'Montserrat-fb'
}

.term-ic {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0
}

.term-ic img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block
}

/* Mobile-first: простой стек в одну колонку.
   3-в-ряд грид с размещением по колонкам — в @media(min-width:1081px) ниже,
   чтобы явные grid-column/grid-row не ломали раскладку на узкой ширине. */
.phases {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 16px
}

.phase-head {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--green-800);
  color: #fff;
  padding-block: 16px;
  padding-inline: 62px 22px;
  border-radius: 999px;
  font-family: 'Montserrat', 'Montserrat-fb';
  font-weight: 800;
  font-size: 17px
}

.phase-num {
  position: absolute;
  inset-inline-start: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--green-800);
  border: 2px solid #fff;
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  font-weight: 700;
  flex-shrink: 0;
  z-index: 2
}

.phase-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow)
}

.party {
  display: flex;
  flex-direction: column
}

/* Only the section header (a direct-child <b>) gets the plaque styling.
   Translated pages sometimes wrap emphasised words in <b> inside <li> —
   the child combinator keeps those as plain inline bold, not a gold bar. */
.party > b {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--green-800);
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13px;
  margin-bottom: 14px;
  font-family: 'Montserrat', 'Montserrat-fb';
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .02em
}

.party.us > b {
  background: var(--gold-light);
  color: var(--green-900)
}

.party-ic {
  width: 16px;
  height: 16px;
  object-fit: contain;
  display: block
}

.party ul {
  margin: 0;
  padding-inline-start: 18px
}

.party li {
  font-size: 13px;
  margin-bottom: 9px;
  color: var(--ink-2)
}

@media(min-width:1081px) {
  .phases {
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto 1fr;
    column-gap: 48px;
    row-gap: 24px
  }

  .phase-head.p1, .phase-body.p1 { grid-column: 1 }
  .phase-head.p2, .phase-body.p2 { grid-column: 2 }
  .phase-head.p3, .phase-body.p3 { grid-column: 3 }

  .phase-head { grid-row: 1 }
  .phase-body { grid-row: 2 }
}

.channels {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
  background: var(--cream-card);
  border-radius: 14px;
  padding: 14px 22px
}

.channels-label {
  display: flex;
  align-items: center;
  gap: 12px
}

.channels-ic {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--green-800);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0
}

.channels-ic img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: block
}

.channels b {
  color: var(--green-800);
  font-family: 'Montserrat', 'Montserrat-fb'
}

.channels-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px
}

.channels-list>a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 13px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600
}

.channel-ic {
  width: 16px;
  height: 16px;
  object-fit: contain;
  display: block
}

.channels .muted {
  background: none;
  border: 0;
  color: #8a8471;
  font-style: italic;
  font-size: 12.5px;
  padding: 0
}

.why-banner {
  background: rgba(214, 171, 99, .12);
  border: 1px solid rgba(214, 171, 99, .4);
  border-radius: 14px;
  padding: 16px 22px;
  margin-bottom: 26px;
  font-size: 14.5px;
  color: #e9e3d4
}

.why-banner b {
  color: var(--gold)
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none
}

.why-card {
  background: var(--teal);
  border-radius: var(--radius);
  padding: 28px
}

.why-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px
}

.why-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-light);
  color: var(--teal);
  font-family: 'Montserrat', 'Montserrat-fb';
  font-weight: 700;
  font-size: 26px;
  line-height: 1;
  padding: 14px 14px;
  border-radius: 10px;
  flex-shrink: 0
}

.why-card h3 {
  color: #fff;
  font-size: 19px;
  margin: 0
}

.why-card p {
  font-size: 14px;
  margin: 0;
  color: #cdd8d0
}

.tbl-terms td:first-child {
  width: 38%
}

.contacts-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 24px;
  align-items: stretch
}

.contacts-grid>* {
  min-width: 0
}

.contact-card {
  border-radius: var(--radius);
  padding: 32px;
  min-width: 0
}

.gold-card {
  background: var(--cream-card);
  color: var(--ink)
}

.req-card {
  background: linear-gradient(160deg, var(--green-600), var(--green-800));
  border: 1px solid rgba(214, 171, 99, .28);
  color: #e9efe9
}

.c-line {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px
}

.c-ic {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--green-800);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0
}

.ic-svg {
  width: 22px;
  height: 22px;
  display: block
}

.req-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px
}

.c-line small {
  display: block;
  font-size: 12px;
  color: var(--ink-2)
}

.c-line b {
  font-size: 20px;
  color: var(--green-900);
  font-family: 'Montserrat', 'Montserrat-fb';
  overflow-wrap: anywhere
}

.c-line span {
  min-width: 0
}

/* реквизиты скрыты по просьбе заказчика (09.2026) — карточка с формой на всю ширину */
.contacts-grid--single {
  grid-template-columns: 1fr
}

/* телефоны и email: в ряд, пока помещаются, дальше сами уходят в колонку */
.c-lines {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 32px;
  margin-bottom: 24px
}

.c-lines .c-line {
  flex: 1 1 auto;
  margin-bottom: 0
}

/* номер не рвется посередине; email переносится только после @ (<wbr> в разметке) */
.c-lines .c-line b {
  overflow-wrap: normal
}

.c-lines a[href^="tel:"] b {
  white-space: nowrap
}

.lead-form {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  min-width: 0
}

.lead-form .btn {
  white-space: normal;
  min-width: 0;
  grid-column: 1/-1;
  margin-top: 4px
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0
}

.field label {
  /* по дабл-клику на лейбл выделялся его текст */
  -webkit-user-select: none;
  user-select: none;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--green-800)
}

.field input {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 14px;
  font-family: inherit;
  background: #fff
}

.field input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(214, 171, 99, .25)
}

.field select.lead-select {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding-block: 11px;
  padding-inline: 14px 40px;
  font-size: 14px;
  font-family: inherit;
  color: inherit;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' stroke='%2312352a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer
}

.field select.lead-select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(214, 171, 99, .25)
}

/* muted look while the disabled placeholder option is selected */
.field select.lead-select:invalid {
  color: #8a8a8a
}

/* personal-data consent checkbox (152-ФЗ) — spans the form width */
.field-consent {
  grid-column: 1/-1;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-2);
  cursor: pointer
}

.field-consent input {
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  accent-color: var(--green-800);
  flex-shrink: 0;
  cursor: pointer
}

.field-consent a {
  color: var(--green-800);
  text-decoration: underline;
  transition: color .15s ease
}

.field-consent a:hover {
  color: var(--teal)
}

/* legal pages (/privacy/): plain prose on the site palette */
.legal {
  max-width: 860px
}

.legal h1 {
  font-size: clamp(26px, 3.6vw, 40px);
  color: var(--green-900);
  margin-bottom: 8px
}

.legal h2 {
  font-size: 19px;
  color: var(--green-800);
  margin: 30px 0 10px
}

.legal p,
.legal li {
  font-size: 15px;
  color: var(--ink-2)
}

.legal ul {
  padding-inline-start: 20px;
  margin: 0 0 1em
}

.legal .doc-date {
  color: #7c7663;
  font-size: 13px;
  font-style: italic;
  margin-bottom: 26px
}

.form-note {
  grid-column: 1/-1;
  background: var(--green-800);
  color: var(--gold-light);
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 13.5px;
  margin: 0
}

.form-note.form-error {
  background: #5b2320;
  color: #f3c9c4
}

.req-card h3 {
  font-size: 22px
}

.req {
  margin: 0
}

.req div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .12)
}

.req div:last-child {
  border-bottom: 0
}

.req dt {
  color: #a9bcae;
  font-size: 13px;
  min-width: 0
}

.req dd {
  margin: 0;
  font-weight: 600;
  font-size: 13.5px;
  text-align: end;
  overflow-wrap: anywhere;
  min-width: 0
}

.site-footer {
  background: var(--green-900);
  color: #c7d3ca;
  padding: 46px 0
}

.footer-inner {
  display: grid;
  gap: 16px
}

.foot-brand {
  display: flex;
  flex-direction: column;
  gap: 4px
}

.foot-brand strong {
  color: #fff;
  font-family: 'Montserrat', 'Montserrat-fb';
  font-weight: 800;
  letter-spacing: .08em
}

.foot-brand span {
  font-size: 13.5px;
  color: var(--gold-light)
}

.disclaimer {
  font-size: 12.5px;
  color: #8fa093;
  max-width: 900px;
  margin: 0
}

.copy {
  font-size: 13px;
  margin: 0;
  color: #8fa093
}

.copy a {
  text-decoration: underline;
  transition: color .15s ease
}

.copy a:hover {
  color: var(--gold-light)
}

.to-top {
  position: fixed;
  inset-inline-end: 22px;
  bottom: 22px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold-light);
  color: var(--green-900);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: .25s;
  z-index: 40;
  font-weight: 700
}

.to-top.show {
  opacity: 1;
  pointer-events: auto
}

.to-top:hover {
  background: var(--gold);
}

/* anchor offset = sticky-header height (72px, 64px on ≤560px) minus 1px:
   larger values leave a strip of the previous section visible between the
   header and the target; the -1px tucks the section edge under the header
   so fractional-DPR rounding can't leave a hairline seam either */
section[id] {
  scroll-margin-top: calc(71px + env(safe-area-inset-top, 0px))
}

.chip {
  transition: transform .2s ease, background .2s ease
}

.channels-list>a {
  transition: background .2s ease, border-color .2s ease, color .2s ease
}

.channels-list>a:hover {
  background: var(--gold-light);
  border-color: var(--gold);
  color: var(--green-800)
}

/* progressive enhancement — needs JS to add .js/.reveal classes */
.js .reveal {
  opacity: 0
}

.js .reveal.is-visible {
  opacity: 1;
  animation: revealUp .7s cubic-bezier(.2, .7, .2, 1) backwards
}

@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(26px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

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

  .js .reveal {
    opacity: 1
  }

  .js .reveal.is-visible {
    animation: none
  }

  .main-nav {
    transition: none
  }
}

@media(max-width:1080px) {

  .phases {
    margin-top: 30px
  }

  .stats-band,
  .reg-grid,
  .doc-cats,
  .trans-grid,
  .modes-grid,
  .flow-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .doc-table-row {
    grid-template-columns: 1fr
  }

  .prod {
    flex-basis: calc(50% - 9px)
  }

  /* 2-per-row checkerboard */
  .prod:nth-child(4n+1),
  .prod:nth-child(4n) {
    background-color: var(--green-prod);
    color: #e9efe9
  }

  .prod:nth-child(4n+1) h3,
  .prod:nth-child(4n) h3 {
    color: #fff
  }

  .prod:nth-child(4n+2),
  .prod:nth-child(4n+3) {
    background-color: var(--gold-light);
    color: var(--ink)
  }

  .prod:nth-child(4n+2) h3,
  .prod:nth-child(4n+3) h3 {
    color: var(--green-800)
  }

  .stat {
    border-inline-end: 0
  }

  .team-grid,
  .steps-3,
  .why-grid {
    grid-template-columns: 1fr
  }

  .log-bottom,
  .geo-tables,
  .contacts-grid,
  .about-grid {
    grid-template-columns: 1fr
  }

  .regions-grid {
    grid-template-columns: 1fr
  }

  /* 1-per-row: simple alternation */
  .region:nth-child(odd) .region-ic {
    background: var(--green-prod);
    color: #fff
  }

  .region:nth-child(even) .region-ic {
    background: var(--gold-light);
    color: var(--green-800)
  }

  .transparency h3 {
    font-size: 22px
  }
}

@media(max-width:1199px) {
  /* Порог 1200, а не 1150: ниже этой ширины контейнер шапки перестаёт быть
     максимальным, и семь пунктов меню в него не влезают (см. расчёт со
     скроллбаром у .main-nav). Always rendered (not display:none) so max-height/opacity
     can transition on open — toggling display outright would jump instead
     of animate. */
  .main-nav {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--green-900);
    padding: 0 24px;
    gap: 16px;
    border-bottom: 1px solid rgba(214, 171, 99, .25);
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transition: max-height .3s ease, opacity .22s ease, padding .3s ease
  }

  .main-nav.open {
    /* потолок для анимации, а не реальная высота. С седьмым пунктом
       («Поставщикам» в RU) меню занимает 345 px — при 360 запас был 15 px
       и любой чуть более крупный системный шрифт обрезал бы последний пункт. */
    max-height: 440px;
    opacity: 1;
    padding: 18px 24px;
    pointer-events: auto
  }

  .header-phone {
    display: none
  }

  .header-call {
    display: inline-flex
  }

  .burger {
    display: flex
  }

  .brand img {
    height: 48px
  }
}

@media(max-width:680px) {

  /* Одиночная карточка производства — из строки в стопку: фото сверху 4/3 */
  .factory-grid--solo .factory {
    flex-direction: column
  }

  .factory-grid--solo .factory-media {
    flex: 0 0 auto
  }

  .factory-grid--solo .factory-body {
    padding: 24px 22px 26px
  }

  .modes-grid,
  .trans-grid,
  .reg-grid,
  .flow-grid {
    grid-template-columns: 1fr
  }

  .reg-grid {
    gap: 10px
  }

  .region {
    flex-wrap: wrap;
    gap: 10px
  }

  .region-body {
    flex: 1
  }

  .reg-crops {
    flex: 1 1 100%;
    border-inline-start: none;
    border-top: 1px solid var(--line);
    padding-inline-start: 0;
    padding-top: 10px
  }

  .region-note p {
    flex: 1 1 100%;
    border-top: none;
    padding-top: 0
  }

  .reg-crops b {
    display: inline;
    margin-bottom: 0;
    margin-inline-end: 4px
  }

  .hero-route {
    flex-wrap: wrap;
    gap: 8px 14px;
    padding: 14px 20px
  }

  .transparency {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px
  }

  .transparency-badge {
    width: 88px;
    margin: 0 auto
  }

  .transparency h3 {
    font-size: 19px
  }
}

@media(max-width:640px) {
  .section {
    padding: 48px 0
  }

  .channels .muted {
    font-size: 11px
  }

  .phase-head {
    padding-inline-start: 54px
  }

  .phase-num {
    inset-inline-start: -12px;
    width: 58px;
    height: 58px;
    font-size: 26px;
    border-width: 2px
  }

  .about-grid {
    gap: 28px;
    margin-bottom: 28px
  }

  .stats-band,
  .doc-cats {
    grid-template-columns: 1fr
  }

  .stats-band {
    padding: 16px 14px
  }

  .prod {
    flex-basis: 100%
  }

  /* 1-per-row: simple alternation */
  .prod:nth-child(odd) {
    background-color: var(--green-prod);
    color: #e9efe9
  }

  .prod:nth-child(odd) h3 {
    color: #fff
  }

  .prod:nth-child(even) {
    background-color: var(--gold-light);
    color: var(--ink)
  }

  .prod:nth-child(even) h3 {
    color: var(--green-800)
  }

  .phase-body {
    grid-template-columns: 1fr
  }

  .lead-form {
    grid-template-columns: 1fr
  }

  .req dd {
    font-size: 12.5px
  }

  .container {
    padding: 0 18px
  }

  .hero-inner {
    padding: 32px 18px 32px
  }

  .hero-chips {
    gap: 10px;
    margin-bottom: 24px
  }

  .chip {
    gap: 8px;
    padding: 8px 14px;
    font-size: 13px
  }

  .chip-ic {
    width: 34px;
    height: 34px
  }

  .chip-ic::before {
    width: 20px;
    height: 20px
  }

  .hero-cta {
    flex-direction: column
  }

  /* Одиночная кнопка в блоке на мобильном тянется на всю ширину — так же
     ведут себя обе кнопки hero и «Отправить заявку» (.btn-full). */
  .hero-cta .btn,
  .factory-link,
  .supplier-cta,
  .wa-group .btn {
    width: 100%
  }

  .deal-head-row {
    gap: 16px
  }

  .term-badge {
    width: 100%
  }
}

.contact-channels {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin: 2px 0 20px
}

.contact-channels .chan {
  flex: 1 1 0;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--green-900);
  color: var(--cream);
  font-family: 'Montserrat', 'Montserrat-fb';
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: .15s
}

.contact-channels .chan span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap
}

.contact-channels .chan:hover {
  background: var(--green-700)
}

.contact-channels .chan-ic {
  width: 20px;
  height: 20px;
  flex-shrink: 0
}

/* Четвёртая кнопка «WhatsApp-группа» (только RU и EN): в один ряд четыре
   равные кнопки влезают от 1081px, ниже — 2×2, на ≤560 общий столбик.
   :has — чтобы zh/da/fa с тремя кнопками остались как были. */
@media(min-width:561px) and (max-width:1080px) {
  .contact-channels:has(> .chan:nth-child(4)) {
    flex-wrap: wrap
  }

  .contact-channels:has(> .chan:nth-child(4)) .chan {
    flex: 1 1 calc(50% - 4px)
  }
}

/* WhatsApp-группа с ценами и лотами — под вводным абзацем «Свяжитесь с нами»,
   только RU и EN. Кнопка — обычная .btn.btn-gold, ховер и ширина на мобильном
   дописаны поимённо к общим правилам золотых кнопок. */
.wa-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 18px;
  margin: -14px 0 32px;
  padding: 16px 18px;
  background: rgba(230, 208, 155, .06);
  border: 1px solid rgba(214, 171, 99, .35);
  border-inline-start: 3px solid var(--gold);
  border-radius: 12px
}

.wa-group-ic {
  width: 42px;
  height: 42px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08)
}

.wa-group-ic img {
  width: 24px;
  height: 24px
}

.wa-group-t {
  flex: 1 1 220px;
  margin: 0;
  color: var(--cream);
  font-family: 'Montserrat', 'Montserrat-fb', sans-serif;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.45
}

.wa-group .btn {
  flex: none;
  padding: 11px 26px
}

/* Honeypot: off-screen, catches bots that auto-fill every field.
   inline-start: the "before start" side never creates scrollable
   overflow — physical left:-9999px gave RTL pages a 10000px scrollbar */
.hp-field {
  position: absolute;
  inset-inline-start: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none
}

@media(max-width:560px) {
  .header-inner {
    gap: 12px;
    height: 64px
  }

  section[id] {
    scroll-margin-top: calc(63px + env(safe-area-inset-top, 0px))
  }

  .brand img {
    height: 40px
  }

  .hero {
    min-height: calc(100vh - 64px);
    min-height: calc(100svh - 64px);
    min-height: calc(100dvh - 64px - env(safe-area-inset-top, 0px))
  }

  .hero-route {
    font-size: 12px;
    gap: 10px;
    padding: 12px 18px
  }

  .contact-card {
    padding: 24px
  }

  .c-line {
    gap: 12px
  }

  .c-line b {
    font-size: 17px
  }

  .c-ic {
    width: 42px;
    height: 42px;
    font-size: 19px
  }

  .contact-channels {
    flex-direction: column
  }

  .contact-channels .chan {
    width: 100%;
    padding: 11px 14px
  }
}

/* ============================================================
   Вход для поставщиков (раздел /purchase/). Только RU-версия: страница
   отдела закупок русская, в en/zh/da/fa этих элементов нет (в разметке
   они помечены data-ru-only, генератор локалей их вырезает).

   Два входа: седьмой пункт меню «Поставщикам» и блок в конце раздела
   «Происхождение и закупка». Плюс ссылка в подвале.
   ============================================================ */

/* Золотым — потому что это вход для другой аудитории: остальные шесть
   пунктов написаны для покупателя.

   Селектор обязательно с `.main-nav a` впереди. Одного `.nav-supplier`
   не хватает: у него специфичность (0,1,0), а у `.main-nav a` выше —
   (0,1,1), и порядок в файле роли не играет. С коротким селектором пункт
   молча рендерился кремовым, как остальные шесть, — так и уехало на боевой
   30.08, поймано только в браузере (в CSS ошибка не видна). */
.main-nav a.nav-supplier {
  color: var(--gold)
}

/* Ховер. Остальным шести пунктам ховер даёт как раз золото — для этого
   пункта такой сигнал вырожденный, он золотой и так, и на наведение
   осталась бы только золотая подчёркивающая линия под золотым текстом.
   Поэтому светлеем до --gold-light: контраст к шапке растёт с 6.29 до
   8.84 (в 1.41 раза), это заметно, но пункт остаётся золотым и не
   притворяется обычной ссылкой. Линию ведём тем же цветом, иначе она
   темнее текста и выглядит грязно. */
.main-nav a.nav-supplier:hover {
  color: var(--gold-light)
}

.main-nav a.nav-supplier:hover::after {
  background: var(--gold-light)
}

/* Ужимаем шапку ТОЛЬКО на русских страницах (`body.lang-ru`) — у остальных
   локалей шесть пунктов и трогать их незачем.
   Одного переименования «О компании» -> «О нас» (-44.8 px) не хватило:
   семь пунктов при gap 16 занимают 650 px против бюджета 619.7 (расчёт
   у .main-nav), телефон вылезал за контейнер на 30 px. Замерено в браузере:
     gap 16 + «О нас»            -> -30.4  (не влезает)
     + gap шапки 16, меню 14     ->  -2.4  (не влезает)
     + шрифт меню 13.5           -> +15.5  (влезает, это и стоит)
   Для сравнения: шесть пунктов жили с запасом 8.8 px, так что 15.5 —
   не хуже прежнего. Альтернатива, если полпикселя шрифта смущают:
   логотип 60 -> 48 px даёт +27.8 без правки шрифта, но заметно меняет
   вес шапки.

   Ужатие ограничено десктопом: ниже 1200 меню уходит в бургер, там оно
   вертикальное и в ширину не упирается — незачем делать шрифт мельче на
   телефоне. */
@media(min-width:1200px) {
  .lang-ru .header-inner {
    gap: 16px
  }

  .lang-ru .main-nav {
    gap: 14px
  }

  .lang-ru .main-nav a {
    font-size: 13.5px
  }
}

/* Блок в конце раздела «Происхождение и закупка»: рамка и фон — как у
   .callout, кнопка — обычная .btn.btn-gold (её ховер дописан поимённо
   рядом с .hero-cta .btn-gold:hover, иначе на неё падает дефолтный
   .btn-gold:hover с затемнением). */
.supplier-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 26px;
  padding: 22px 28px;
  border: 1px solid var(--gold);
  border-radius: 14px;
  background: #fbf6ea
}

.supplier-band h3 {
  font-family: 'Montserrat', 'Montserrat-fb', sans-serif;
  font-size: 19px;
  color: var(--green-800);
  margin-bottom: 6px
}

.supplier-band p {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.6
}

.supplier-band .btn {
  flex: 0 0 auto
}

@media(max-width:760px) {
  .supplier-band {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 20px
  }
}

/* ============================================================
   i18n additions (v49): RTL support for /da/ (Dari) and /fa/ (Farsi)
   + CJK font stack for /zh/. LTR pages (/, /en/) are not affected:
   logical properties above resolve to the same sides in LTR, and
   everything below is scoped to [dir="rtl"] / body.lang-zh.
   ============================================================ */

/* Latin fragments inside RTL text (phones, ranges, Incoterms):
   isolate so bidi doesn't reorder them. Same recipe as the approved
   translation package (inline-block => deterministic inner LTR base).
   Don't put this class on elements whose display other rules control
   (e.g. .header-phone) — use the dir="ltr" attribute there instead. */
.ltr {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block
}

/* Arabic-script font stack. Montserrat/Inter have no Arabic glyphs. */
[dir="rtl"] body {
  font-family: 'Vazirmatn', 'Noto Naskh Arabic', 'Segoe UI', Tahoma, sans-serif;
  line-height: 1.8
}

[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] h4,
[dir="rtl"] .btn,
[dir="rtl"] .lang-switch a,
[dir="rtl"] .hero-route,
[dir="rtl"] .stat b,
[dir="rtl"] .tbl th,
[dir="rtl"] .inco-badges li,
[dir="rtl"] .step-num,
[dir="rtl"] .flow-num,
[dir="rtl"] .why-num,
[dir="rtl"] .party b,
[dir="rtl"] .prod .vol,
[dir="rtl"] .factory-kicker,
[dir="rtl"] .factory-facts li,
[dir="rtl"] .c-line b,
[dir="rtl"] .channels b,
[dir="rtl"] .term-badge b,
[dir="rtl"] .foot-brand strong,
[dir="rtl"] .contact-channels .chan {
  font-family: 'Vazirmatn', 'Noto Naskh Arabic', 'Segoe UI', Tahoma, sans-serif
}

/* cursive script: letter-spacing breaks Arabic ligatures */
[dir="rtl"] .hero-title,
[dir="rtl"] .hero-route,
[dir="rtl"] .party b,
[dir="rtl"] .foot-brand strong {
  letter-spacing: 0
}

/* headings need extra leading in Arabic script */
[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] h4 {
  line-height: 1.35
}

/* The brand name stays Latin on every locale, so the hero wordmark and the
   footer brand opt back out of the Arabic-script stack — Vazirmatn's Latin
   glyphs are narrower and its leading taller, which made fa/da look off next
   to ru/en/zh. Must stay after the two rules above to win on source order. */
[dir="rtl"] .hero-title,
[dir="rtl"] .foot-brand strong {
  font-family: 'Montserrat', 'Montserrat-fb', sans-serif;
  line-height: 1.12
}

[dir="rtl"] .hero-title {
  letter-spacing: -.01em
}

[dir="rtl"] .foot-brand strong {
  letter-spacing: .08em
}

/* arrows/chevrons don't auto-mirror in bidi — flip them */
[dir="rtl"] .hero-route .arrow svg {
  transform: scaleX(-1)
}

/* letter-spacing на кикере ломает арабские лигатуры */
[dir="rtl"] .factory-kicker {
  letter-spacing: 0
}

/* decorative corner images: move to the free (left) corner in RTL */
[dir="rtl"] .flow-card {
  background-position: left -1px bottom -1px
}

/* Product cards: the corner grain image is drawn with its volume/shadow
   flowing toward the card corner, so in RTL it must be mirrored, not just
   repositioned. A background-image can't be flipped on its own, so paint it
   on an ::after that we scaleX(-1). Positioned at the right corner + flip =>
   it lands mirrored in the free left corner. Text sits above via z-index. */
[dir="rtl"] .prod {
  background-image: none
}

[dir="rtl"] .prod::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: var(--prod-img);
  background-repeat: no-repeat;
  background-position: right -1px bottom -1px;
  background-size: inherit;
  transform: scaleX(-1);
  pointer-events: none
}

[dir="rtl"] .prod > * {
  position: relative;
  z-index: 1
}

/* doc photo: inset-inline-end already moves it to the free left corner in RTL,
   but the stack/pen has depth flowing toward the corner — mirror it too so it
   sits naturally, same as the product/hero photos. It's a real <img>, so a
   direct scaleX flip is enough (no ::after trick needed). */
[dir="rtl"] .doc-photo-img {
  transform: scaleX(-1)
}

[dir="rtl"] .field select.lead-select {
  background-position: left 14px center
}

@media(min-width:1081px) {
  [dir="rtl"] .team-card.team-card-specialists {
    background-position: left 15px bottom 15px, left bottom
  }

  /* hero: green circle sits right, photo hugs the left edge.
     The photo is mirrored (scaleX), not just repositioned — its subject
     (wagons, elevator) lives on the right half of the source image, so a
     plain `background-position: left` would show empty fields instead */
  [dir="rtl"] .hero-photo {
    transform: scaleX(-1)
  }

  [dir="rtl"] .hero-media {
    left: auto;
    right: -34vw;
    box-shadow: -24px 0 70px rgba(15, 44, 35, .5)
  }
}

/* wide screens: LTR keeps the single-row chips (fits until the arc),
   but Persian chip labels are longer — let them wrap inside the copy
   block instead of sliding over the arc onto the photo */
@media(min-width:1280px) {
  [dir="rtl"] .hero-chips {
    flex-wrap: wrap;
    width: auto
  }
}

/* CJK stack for the Chinese page: Latin stays Montserrat/Inter,
   hanzi render in Noto Sans SC instead of random system fallback */
body.lang-zh {
  font-family: 'Inter', 'Inter-fb', 'Noto Sans SC', system-ui, sans-serif
}

body.lang-zh h1,
body.lang-zh h2,
body.lang-zh h3,
body.lang-zh .btn,
body.lang-zh .lang-switch a,
body.lang-zh .hero-route,
body.lang-zh .stat b,
body.lang-zh .tbl th,
body.lang-zh .inco-badges li,
body.lang-zh .party b,
body.lang-zh .prod .vol,
body.lang-zh .c-line b,
body.lang-zh .channels b,
body.lang-zh .term-badge b,
body.lang-zh .contact-channels .chan {
  font-family: 'Montserrat', 'Montserrat-fb', 'Noto Sans SC', sans-serif
}

/* callout: localized emphasis blocks (routes, halal, transshipment note) */
.callout {
  border: 1px solid var(--gold);
  background: #fbf6ea;
  border-radius: 14px;
  padding: 16px 22px;
  margin: 18px 0;
  font-size: 15px;
  color: var(--ink-2)
}

.callout b {
  color: var(--green-800)
}

.section-green .callout {
  background: rgba(214, 171, 99, .12);
  border-color: rgba(214, 171, 99, .4);
  color: #e9e3d4
}

.section-green .callout b {
  color: var(--gold)
}

/* recommended Incoterm badge (DAP for Afghanistan, CIF for Iran) */
.inco-badges li.rec {
  background: var(--green-prod);
  color: #fff
}

/* /da/: three transport modes (landlocked — no sea card), so a 4-col
   grid would leave a hole; desktop-scoped so the 2-col/1-col mobile
   rules below keep working */
@media(min-width:1081px) {
  .modes-grid--3 {
    grid-template-columns: repeat(3, 1fr)
  }
}

/* da/fa price lists: flour/sugar sit mid-list, so reset their crop-based
   wide sizing to quarter-width; instead the actual last row (2 cards)
   stretches to fill the width, matching RU/EN */
@media(min-width:1081px) {
  .products-grid--flat .prod-flour,
  .products-grid--flat .prod-sugar {
    flex-basis: calc(25% - 13.5px)
  }

  .products-grid--flat .prod:nth-last-child(-n+2) {
    flex-basis: calc(50% - 9px)
  }
}

@media(max-width:380px) {
  .header-inner {
    gap: 8px
  }

  .hero-route {
    font-size: 11px;
    gap: 8px;
    padding: 10px 14px
  }

  .team-card-head {
    gap: 12px
  }

  .team-card-head .avatar-photo {
    width: 56px;
    height: 56px
  }

  .team-card-heading h3 {
    font-size: 18px
  }
}
