/* ===== styles/base.css ===== */
/* ===== EuroFarm Base Styles ===== */

/* Reset, html/body, CSS-переменные, темы, типографика, утилиты, анимации */

/* === Base === */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-dm-sans), sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

:root {
  --amber-500: #DD8A4A;
  --amber-600: #C8733A;
  --box-blur: blur(8px);
  --error: #fa4747;
  --gold-400: #ECC94B;
  --gold-500: #D4A017;
  --green-100: #D8F3DC;
  --green-200: #499304;
  --green-400: #529b0f;
  --green-500: #447e0d;
  --green-700: #40916C;
  --green-800: #2D6A4F;
  --info: #63B3ED;
  --radius-2xl: 24px;
  --radius-full: 100px;
  --radius-lg: 18px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --radius-xl: 20px;
  --shadow-green: 0 12px 32px rgba(45, 106, 79, 0.35);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.10);
  --shadow-xl: 0 20px 48px rgba(0, 0, 0, 0.15);
  --transition-default: all 0.25s ease;
  --transition-slow: all 0.4s ease;
  --warning: #eeac00;
  /* ---- Зелёные (основные) ---- */
  --green-900: #1B4332;
  /* ---- Золотой ---- */
  --gold-600: #B7791F;
  /* ---- Переходы ---- */
  --transition-fast: all 0.2s ease;
  /* ---- Радиусы ---- */
  --radius-xs: 8px;
  /* ---- Статусы ---- */
  --success: #03ba65;
  /* ---- Тени ---- */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  /* ---- Янтарный ---- */
  --amber-700: #A05A2C;
}

/* ===== ТЁМНАЯ ТЕМА — главная страница, лендинг ===== */

[data-theme="dark"] {
  --bg-elevated: #010d05;
  --bg-primary: #0A1A0F;
  --bg-secondary: #0F2218;
  --bg-tertiary: #1A2E22;
  --border-default: rgba(116, 198, 157, 0.2);
  --border-strong: rgba(116, 198, 157, 0.4);
  --border-subtle: rgba(116, 198, 157, 0.1);
  --price-color: var(--gold-500);
  --stat-color: var(--green-400);
  --text-disabled: #3D5C4A;
  --text-muted: #6B8F7A;
  --text-primary: #F0FFF4;
  --text-secondary: #A7C4B5;
}

/* ===== СВЕТЛАЯ ТЕМА — кабинеты (на будущее) ===== */

[data-theme="light"] {
  --bg-elevated: #E8F5EE;
  --bg-primary: #F8F4ED;
  --bg-secondary: #FFFFFF;
  --bg-tertiary: #F0FBF4;
  --border-default: rgba(45, 106, 79, 0.15);
  --border-strong: rgba(45, 106, 79, 0.3);
  --border-subtle: rgba(45, 106, 79, 0.08);
  --price-color: var(--amber-600);
  --stat-color: var(--green-800);
  --text-disabled: #A7C4B5;
  --text-muted: #6B8F7A;
  --text-primary: #1A2E22;
  --text-secondary: #4A6741;
}

/* ===== Типографика ===== */

:root {
  --body-default: 16px;
  --body-large: 18px;
  --body-small: 14px;
  --caption-size: 12px;
  --h1-size: 48px;
  --h2-size: clamp(32px, 4vw, 52px);
  --h3-size: 24px;
  --hero-size: clamp(48px, 7vw, 88px);
  --price-size: 22px;
  --stat-size: clamp(36px, 5vw, 52px);
}

/* ===== Утилитарные классы ===== */

.section-label {
  color: var(--green-700);
  font-family: var(--font-dm-sans), sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.section-title {
  color: var(--text-primary);
  font-family: var(--font-fraunces), serif;
  font-size: var(--h2-size);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.05;
  margin-bottom: 48px;
}

.section-title em {
  color: var(--green-400);
  font-style: italic;
  font-weight: 300;
}

/* ===== Анимации ===== */

@keyframes fadeUp {

  from {
    opacity: 0;
    transform: translateY(32px);
  }

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

@keyframes pulse {

  0% {
    opacity: 1;
    transform: scale(1);
  }

  100% {
    opacity: 0;
    transform: scale(1.8);
  }
}

@keyframes slideInRight {

  from {
    opacity: 0;
    transform: translateX(36px);
  }

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

@keyframes slideInUp {

  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

/* Универсальные классы анимации — использовать на любых элементах */

.anim-slide-right {
  animation: slideInRight 0.5s ease-out both;
}

.anim-slide-up {
  animation: slideInUp 0.5s ease-out both;
}

.anim-delay-1 {
  animation-delay: 0.10s;
}

.anim-delay-2 {
  animation-delay: 0.20s;
}

.anim-delay-3 {
  animation-delay: 0.30s;
}

.anim-delay-4 {
  animation-delay: 0.40s;
}

.anim-delay-5 {
  animation-delay: 0.50s;
}

.anim-delay-6 {
  animation-delay: 0.60s;
}

.anim-delay-7 {
  animation-delay: 0.70s;
}

/* ===== styles/ui/icon.css ===== */
.icon {
  color: inherit;
  display: inline-block;
  flex-shrink: 0;
  vertical-align: middle;
}

/* ===== styles/ui/button.css ===== */
.btn {
  align-items: center;
  /* primary (default variant) */
  background: var(--green-400);
  border: none;
  border-radius: var(--radius-md);
  color: #FFFFFF;
  cursor: pointer;
  display: inline-flex;
  font-size: 14px;
  font-weight: 500;
  gap: 8px;
  justify-content: center;
  min-height: 44px;
  /* default size */
  padding: 10px 24px;
  text-decoration: none;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.btn:hover {
  background: var(--green-800);
  box-shadow: var(--shadow-green);
  transform: translateY(-2px);
}

/* Sizes */

.btn.is-small {
  font-size: 13px;
  min-height: 38px;
  padding: 8px 18px;
}

.btn.is-hero {
  font-size: 16px;
  min-height: 48px;
  padding: 16px 36px;
}

/* Variants */

.btn.is-outline {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.3);
  color: #FFFFFF;
}

.btn.is-outline:hover {
  background: rgba(255,255,255,0.08);
  box-shadow: none;
  transform: translateY(-2px);
}

.btn.is-ghost {
  background: transparent;
  color: var(--green-400);
}

.btn.is-ghost:hover {
  background: var(--bg-elevated);
  box-shadow: none;
  transform: translateY(-2px);
}

.btn.is-danger {
  background: #E53E3E;
  color: #FFFFFF;
}

.btn.is-danger:hover {
  background: #C53030;
  box-shadow: none;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .btn.is-hero {
    font-size: 15px;
    padding: 14px 28px;
  }

  .btn {
    min-height: 48px;
  }
}

/* ===== styles/ui/page-loader.css ===== */
.page-loader {
  align-items: center;
  background: #000503;
  display: flex;
  inset: 0;
  justify-content: center;
  position: fixed;
  z-index: 1000;
}

.page-loader--spinner {
  animation: page-loader-spin 0.8s linear infinite;
  border: 3px solid rgba(116, 198, 157, 0.2);
  border-radius: 50%;
  border-top-color: var(--green-400);
  height: 46px;
  width: 46px;
}

@keyframes page-loader-spin {

to {
  transform: rotate(360deg);
}
}

/* Не выключаем индикатор полностью — замедляем, чтобы не было ощущения зависания */

@media (prefers-reduced-motion: reduce) {
  .page-loader--spinner {
    animation-duration: 2s;
  }
}

/* ===== styles/ui/page-placeholder.css ===== */
.page-placeholder {
  align-items: center;
  background: #000503;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
  min-height: 100vh;
  padding: 120px 24px;
  text-align: center;
}

.page-placeholder--title {
  color: #ffffff;
  font-family: var(--font-fraunces), serif;
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 700;
  letter-spacing: -1px;
}

.page-placeholder--note {
  color: var(--green-400);
  font-family: var(--font-dm-sans), sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* ===== styles/ui/modal.css ===== */
/* ===== Модальные окна — единая система ===== */

.modal {
  align-items: center;
  animation: modal-overlay-in 0.2s ease;
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 24px;
  position: fixed;
  z-index: 1000;
}

.modal.is-closing {
  animation: modal-overlay-out 0.22s ease forwards;
}

.modal.is-dragging {
  user-select: none;
}

.modal--window {
  animation: modal-window-in 0.26s cubic-bezier(0.16, 1, 0.3, 1);
  background: #0d120f;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  box-shadow:
    0 40px 100px -24px rgba(0, 0, 0, 0.6),
    0 16px 48px -16px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  max-height: 85vh;
  max-width: 480px;
  overflow: hidden;
  width: 100%;
}

.modal.is-closing .modal--window {
  animation: modal-window-out 0.22s ease forwards;
}

.modal--head {
  align-items: center;
  border-bottom: 1px solid var(--border-subtle);
  cursor: grab;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 18px 22px;
}

.modal.is-dragging .modal--head {
  cursor: grabbing;
}

.modal--title {
  color: #89998e;
  font-family: var(--font-fraunces), serif;
  font-size: var(--h3-size);
  font-weight: 800;
  line-height: 1.2;
}

.modal--close {
  align-items: center;
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  display: flex;
  flex-shrink: 0;
  height: 34px;
  justify-content: center;
  margin-left: auto;
  transition: var(--transition-fast);
  width: 34px;
}

.modal--close:hover {
  background: var(--bg-tertiary);
  color: var(--text-primary);
}

.modal--body {
  color: #66736d;
  line-height: 1.6;
  overflow-y: auto;
  padding: 22px;
}

/* --- Анимации --- */

@keyframes modal-overlay-in {

from {
  opacity: 0;
}
}

@keyframes modal-overlay-out {

to {
  opacity: 0;
}
}

@keyframes modal-window-in {

from {
  opacity: 0;
  transform: translateY(16px) scale(0.96);
}
}

@keyframes modal-window-out {

to {
  opacity: 0;
  transform: translateY(16px) scale(0.96);
}
}

@media (prefers-reduced-motion: reduce) {
  .modal,
  .modal--window {
    animation: none !important;
  }
}

/* ===== styles/ui/toast.css ===== */
/* ===== Уведомления (тосты) — единая система ===== */

.toast-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: calc(100vw - 48px);
  pointer-events: none;
  position: fixed;
  right: 24px;
  top: 88px;
  width: 360px;
  z-index: 1100;
}

.toast {
  align-items: center;
  animation: toast-in 0.46s cubic-bezier(0.22, 1, 0.36, 1);
  background: var(--bg-elevated);
  border: 1px solid var(--border-default);
  border-left: 3px solid var(--text-muted);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  color: var(--text-primary);
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  pointer-events: auto;
}

.toast.is-closing {
  animation: toast-out 0.38s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.toast.is-success {
  background: color-mix(in srgb, #014827 30%, var(--bg-elevated));
  border-color: color-mix(in srgb, var(--success) 48%, var(--border-default));
  border-left-color: var(--success);
}

.toast.is-error {
  background: color-mix(in srgb, #971111 30%, var(--bg-elevated));
  border-color: color-mix(in srgb, var(--error) 48%, var(--border-default));
  border-left-color: var(--error);
}

.toast.is-warning {
  background: color-mix(in srgb, #624906 38%, var(--bg-elevated));
  border-color: color-mix(in srgb, var(--warning) 55%, var(--border-default));
  border-left-color: var(--warning);
}

.toast.is-info {
  background: color-mix(in srgb, #09416bfa 30%, #010d05);
  border-color: color-mix(in srgb, #1f9bf6 48%, var(--border-default));
  border-left-color: #0076cd;
}

.toast--icon {
  flex-shrink: 0;
}

.toast.is-success .toast--icon {
  color: var(--success);
}

.toast.is-error .toast--icon {
  color: var(--error);
}

.toast.is-warning .toast--icon {
  color: var(--warning);
}

.toast.is-info .toast--icon {
  color: var(--info);
}

.toast--message {
  flex: 1;
  font-size: var(--body-small);
  line-height: 1.45;
}

.toast--close {
  color: #c6dbcf;
  flex-shrink: 0;
  font-size: 26px;
  line-height: 1;
  transition: var(--transition-fast);
  width: 26px;
}

.toast--close:hover {
  color: var(--text-primary);
}

/* --- Анимации --- */

@keyframes toast-in {

from {
  opacity: 0;
  transform: translateX(110%);
}
}

@keyframes toast-out {

to {
  opacity: 0;
  transform: translateX(110%);
}
}

@media (prefers-reduced-motion: reduce) {
  .toast {
    animation: none !important;
  }
}

/* ===== styles/layout/nav.css ===== */
.nav {
  align-items: center;
  -webkit-backdrop-filter: var(--box-blur);
  backdrop-filter: var(--box-blur);
  background: rgb(11 16 11 / 80%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  display: flex;
  height: 100%;
  justify-content: space-between;
  left: 0;
  margin: 0 auto;
  max-height: 78px;
  max-width: 1400px;
  min-height: 64px;
  padding: 0 48px;
  position: fixed;
  right: 0;
  top: 6px;
  transition: .4s;
  z-index: 100;
}

.nav.is-scrolled {
  align-items: center;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  display: flex;
  flex-shrink: 0;
  max-height: 62px;
  text-decoration: none;
  top: 0;
}

/* ---- Логотип ---- */

.nav--logo {
  align-items: center;
  display: flex;
  flex-shrink: 0;
  height: 100%;
  max-height: 72px;
  min-width: 200px;
  padding: 6px 0;
  text-decoration: none;
}

.nav--logo.is-current {
  cursor: default;
}

.nav--logo-img {
  height: 100%;
  width: auto;
}

/* ---- Меню ---- */

.nav--menu {
  align-items: center;
  display: flex;
  gap: 4px;
}

.nav--link {
  border-bottom: 2px solid transparent;
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  font-weight: 400;
  padding: 28px 14px;
  text-decoration: none;
  transition: .5s;
  white-space: nowrap;
}

.nav--link:hover {
  background: rgba(255,255,255,0.06);
  color: #ffffff;
}

.is-scrolled .nav--link {
  padding: 20px 14px;
}

.nav--link.is-active {
  border-bottom: 2px solid #30ad04;
  border-radius: 0 0 2px 2px;
  box-shadow: 0 16px 15px -15px #31ad03;
  color: #ffffff;
}

/* ---- Правый блок ---- */

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

.nav--lang {
  align-items: center;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-full);
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  display: flex;
  font-family: var(--font-dm-sans), sans-serif;
  font-size: 13px;
  font-weight: 500;
  gap: 4px;
  padding: 6px 12px;
  transition: var(--transition-fast);
}

.nav--lang:hover {
  border-color: rgba(255,255,255,0.5);
  color: #ffffff;
}

.nav--lang-wrapper {
  position: relative;
}

.nav--lang-drop {
  animation: langFadeIn 0.15s ease;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  background: rgba(15, 22, 24, 0.96);
  border: 1px solid rgba(116, 198, 157, 0.2);
  border-radius: var(--radius-md);
  min-width: 80px;
  padding: 4px;
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  z-index: 200;
}

@keyframes langFadeIn {

from {
  opacity: 0;
  transform: translateY(-4px);
}

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

.nav--lang-option {
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  display: block;
  font-family: var(--font-dm-sans), sans-serif;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 12px;
  text-align: left;
  transition: var(--transition-fast);
  width: 100%;
}

.nav--lang-option:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.nav--lang-option.is-active {
  background: rgba(116, 198, 157, 0.1);
  color: var(--green-400);
}

.nav--btn-login {
  border: 1px solid rgb(68 126 14);
  border-radius: 12px;
  color: #ffffff;
  font-family: var(--font-dm-sans), sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 6px 22px;
  text-decoration: none;
  transition: var(--transition-fast);
}

.nav--btn-login:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
}

/* ---- Мобайл ---- */

@media (max-width: 1024px) {

  .nav--menu {
    display: none;
  }
}

@media (max-width: 768px) {

  .nav {
    padding: 0 20px;
  }
}

/* ===== Бегущий огонёк по нижней кромке навбара ===== */

.nav:after {
  animation: nav-dot-travel 10s infinite;
  background: #299f00;
  border-radius: 50%;
  bottom: -1px;
  box-shadow: 0 0 15px 5px #30ad04;
  content: "";
  height: 1px;
  pointer-events: none;
  position: absolute;
  width: 4px;
  z-index: 10;
}

/* Проход 4s (0–40%), пауза 6s (40–100%); быстрый старт → замедление → ускорение */

@keyframes nav-dot-travel {

0% {
  animation-timing-function: ease-out;
  left: 15px;
  opacity: 0;
}

22% {
  animation-timing-function: ease-in;
  left: calc(50% - 2px);
  opacity: 1;
}

40% {
  left: calc(100% - 19px);
  opacity: 0;
}

100% {
  left: calc(100% - 19px);
  opacity: 0;
}
}

@media (prefers-reduced-motion: reduce) {
  .nav:after {
    animation: none;
    opacity: 0;
  }
}

/* ===== styles/layout/footer.css ===== */
/* ===== Footer ===== */

.footer {
  background: #070f0a;
  overflow: hidden;
  position: relative;
}

/* Background image layer */

.footer--bg-image {
  inset: 0;
  position: absolute;
  z-index: 0;
}

.footer--bg-overlay {
  background: linear-gradient(to bottom,
      rgb(4 9 6 / 58%) 0%,
      rgb(7 15 10 / 69%) 100%);
  inset: 0;
  position: absolute;
}

/* Watermark */

.footer--watermark {
  animation: footer-watermark-shine 18s ease-in-out infinite;
  -webkit-background-clip: text;
  background-clip: text;
  background-image:
    linear-gradient(105deg,
      rgba(17, 25, 26, 0.3) 0%,
      rgba(17, 25, 26, 0.3) 42%,
      rgba(37, 58, 49, 0.4) 50%,
      rgba(17, 25, 26, 0.3) 58%,
      rgba(17, 25, 26, 0.3) 100%),
    linear-gradient(110deg,
      rgba(17, 25, 26, 0.5) 0%,
      rgba(37, 58, 49, 0.8) 25%,
      rgba(82, 155, 15, 0.5) 50%,
      rgba(37, 58, 49, 0.8) 75%,
      rgba(17, 25, 26, 0.5) 100%);
  background-repeat: no-repeat, no-repeat;
  background-size: 300% 100%, 100% 100%;
  bottom: 52px;
  color: transparent;
  font-size: clamp(80px, 12vw, 190px);
  font-weight: 800;
  left: 50%;
  letter-spacing: .1em;
  line-height: 1;
  opacity: .8;
  pointer-events: none;
  position: absolute;
  -webkit-text-fill-color: transparent;
  transform: translateX(-50%);
  -webkit-user-select: none;
  user-select: none;
  white-space: nowrap;
  z-index: 1;
}

@keyframes footer-watermark-shine {

  0% {
    background-position: 100% 0, 0 0;
  }

  45% {
    background-position: 0% 0, 0 0;
  }

  100% {
    background-position: 0% 0, 0 0;
  }
}

@media (prefers-reduced-motion: reduce) {

  .footer--watermark {
    animation: none;
  }
}

/* Main content */

.footer--inner {
  margin: 0 auto;
  max-width: 1380px;
  padding: 64px 48px 190px;
  position: relative;
  z-index: 2;
}

/* 4-column grid */

.footer--grid {
  align-items: flex-start;
  display: flex;
  gap: 48px;
}

/* ---- Brand column ---- */

.footer--brand-col {
  flex: 0 0 260px;
  min-width: 0;
}

.footer--logo {
  margin: 0 0 20px;
  position: relative;
  top: -14px;
}

.footer--logo img {
  height: 56px;
  width: auto;
}

.footer--desc {
  color: rgba(255, 255, 255, 0.45);
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 24px;
}

/* Contacts */

.footer--contacts {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.footer--contact-item {
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  font-size: 13px;
  gap: 10px;
  line-height: 1.4;
  text-decoration: none;
  transition: color 0.2s;
}

.footer--contact-item:hover {
  color: var(--green-400);
}

.footer--contact-icon {
  align-items: center;
  color: var(--green-400);
  display: flex;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Social icons */

.footer--socials {
  display: flex;
  gap: 10px;
}

.footer--social-btn {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  height: 36px;
  justify-content: center;
  text-decoration: none;
  transition: var(--transition-fast);
  width: 36px;
}

.footer--social-btn:hover {
  background: rgba(82, 155, 15, 0.08);
  border-color: var(--green-400);
  color: var(--green-400);
}

/* ---- Nav columns ---- */

.footer--nav-cols-wrapper {
  display: flex;
  flex: 2;
  gap: 48px;
}

.footer--nav-col {
  display: flex;
  flex: 1;
  justify-content: center;
  min-width: 120px;
}

.footer--nav-col-inner {
  text-align: left;
}

.footer--nav-title {
  color: var(--green-400);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.footer--nav-link {
  align-items: center;
  color: rgba(255, 255, 255, 0.45);
  display: flex;
  font-size: 13.5px;
  gap: 8px;
  line-height: 1.4;
  margin-bottom: 10px;
  text-decoration: none;
  transition: color 0.2s;
}

.footer--nav-link:hover {
  color: #fff;
}

.footer--nav-link-icon {
  color: var(--green-400);
  flex-shrink: 0;
  opacity: 0.7;
}

.footer--nav-link:hover .footer--nav-link-icon {
  opacity: 1;
}

/* ---- Stats column ---- */

.footer--stats-col {
  flex: 0 0 200px;
  min-width: 0;
}

.footer--stats {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer--stat-item {
  align-items: center;
  display: flex;
  gap: 12px;
}

.footer--stat-icon {
  align-items: center;
  background: #070f0a;
  border-radius: var(--radius-sm);
  color: var(--green-400);
  display: flex;
  flex-shrink: 0;
  height: 40px;
  justify-content: center;
  width: 40px;
}

.footer--stat-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer--stat-value {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.1;
}

.footer--stat-label {
  color: rgba(255, 255, 255, 0.4);
  font-size: 11px;
  line-height: 1.4;
}

/* ---- Bottom bar ---- */

.footer--bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  z-index: 2;
}

.footer--bottom-inner {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1280px;
  padding: 18px 48px;
}

.footer--copyright {
  color: rgba(255, 255, 255, 0.3);
  font-size: 12px;
}

.footer--legal {
  align-items: center;
  display: flex;
  gap: 6px;
}

.footer--legal-group {
  align-items: center;
  display: flex;
  gap: 6px;
}

.footer--legal-link {
  align-items: center;
  color: rgba(255, 255, 255, 0.3);
  display: flex;
  font-size: 12px;
  gap: 5px;
  text-decoration: none;
  transition: color 0.2s;
}

.footer--legal-link:hover {
  color: rgba(255, 255, 255, 0.6);
}

.footer--legal-icon {
  color: var(--green-400);
  flex-shrink: 0;
  opacity: 0.6;
}

.footer--legal-dot {
  background: rgba(255, 255, 255, 0.2);
  display: inline-block;
  height: 3px;
  width: 3px;
}

/* ===== Responsive ===== */

@media (max-width: 1024px) {

  .footer--inner {
    padding: 56px 32px 36px;
  }

  .footer--grid {
    gap: 32px;
  }

  .footer--brand-col {
    flex: 0 0 220px;
  }

  .footer--stats-col {
    flex: 0 0 180px;
  }

  .footer--bottom-inner {
    padding: 16px 32px;
  }
}

@media (max-width: 768px) {

  .footer--watermark {
    bottom: 42px;
    font-size: 60px;
  }

  .footer--inner {
    padding: 48px 20px 32px;
  }

  .footer--grid {
    flex-direction: column;
    gap: 36px;
  }

  .footer--brand-col,
  .footer--stats-col {
    flex: none;
    width: 100%;
  }

  .footer--nav-col {
    min-width: 0;
  }

  /* Nav columns side by side on tablet/mobile */

  .footer--nav-cols-wrapper {
    display: flex;
    gap: 24px;
    width: 100%;
  }

  .footer--stats {
    display: grid;
    gap: 16px;
    grid-template-columns: 1fr 1fr;
  }

  .footer--bottom-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding: 16px 20px;
  }

  .footer--legal {
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {

  .footer--watermark {
    font-size: 40px;
  }

  .footer--stats {
    grid-template-columns: 1fr;
  }
}

/* ===== styles/layout/page-transition.css ===== */
/* Анимированные переходы между страницами */

body {
  overflow-x: hidden;
}

/* will-change включаем только на время анимации */

.nav.is-exiting,
.nav.is-entering,
.t-content.is-exiting,
.t-content.is-entering,
.t-footer.is-exiting,
.t-footer.is-entering {
  will-change: transform, opacity;
}

/* --- Выход (перед сменой маршрута) --- */

.nav.is-exiting {
  animation: t-nav-out 0.42s ease forwards;
}

.t-content.is-exiting {
  animation: t-content-out 0.42s ease forwards;
}

.t-footer.is-exiting {
  animation: t-footer-out 0.42s ease forwards;
}

/* --- Появление (после смены маршрута) --- */

.nav.is-entering {
  animation: t-nav-in 0.52s ease;
}

.t-content.is-entering {
  animation: t-content-in 0.52s ease;
}

.t-footer.is-entering {
  animation: t-footer-in 0.52s ease;
}

/* Меню — уезжает вверх / проявляется сверху */

@keyframes t-nav-out {

to {
  transform: translateY(-130px);
}
}

@keyframes t-nav-in {

from {
  transform: translateY(-130px);
}
}

/* Контент — сдвигается влево и гаснет / приходит справа */

@keyframes t-content-out {

opacity: 0;
  to {
  transform: translateX(-60px);
}
}

@keyframes t-content-in {

from {
  opacity: 0;
  transform: translateX(60px);
}
}

/* Низ (трактор + footer) — опускается вниз / поднимается снизу */

@keyframes t-footer-out {

opacity: 0;
  to {
  transform: translateY(120%);
}
}

@keyframes t-footer-in {

from {
  opacity: 0;
  transform: translateY(120%);
}
}

@media (prefers-reduced-motion: reduce) {

  .nav,
  .t-content,
  .t-footer {
    animation: none !important;
  }
}

/* ===== styles/sections/trust-bar.css ===== */
.trust {
  background: #000503;
  padding: 20px 48px 30px;
  position: relative;
}

.trust--divider {
  background: linear-gradient(to right, transparent, rgba(116,198,157,0.35), transparent);
  height: 1px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.trust--heading {
  color: var(--green-400);
  font-family: var(--font-dm-sans), sans-serif;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 28px;
  text-align: center;
}

.trust--logos {
  align-items: center;
  display: flex;
  gap: 32px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1280px;
}

.trust--logo {
  display: flex;
  filter: grayscale(1);
  flex-direction: column;
  gap: 2px;
  opacity: 0.5;
  transition: var(--transition-fast);
}

.trust--logo:hover {
  opacity: 0.85;
}

.trust--logo-img {
  filter: brightness(0) invert(1);
  height: 38px;
  max-width: 160px;
  object-fit: contain;
  opacity: 0.55;
  transition: var(--transition-fast);
  width: auto;
}

.trust--logo-img:hover {
  opacity: 0.9;
}

.trust--logo-img.is-flag {
  filter: grayscale(1);
  opacity: 0.7;
}

.trust--logo-img.is-flag:hover {
  opacity: 1;
}

.trust--logo-name {
  color: #ffffff;
  font-family: var(--font-dm-sans), sans-serif;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 1.1;
}

.trust--logo-sub {
  color: rgba(255,255,255,0.6);
  font-family: var(--font-dm-sans), sans-serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.5px;
}

@media (max-width: 1024px) {

  .trust--logos {
    flex-wrap: wrap;
    gap: 28px 40px;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .trust {
    padding: 28px 20px 36px;
  }
}

/* ===== styles/sections/network-map.css ===== */
/* ===== Секция «Карта сети» — NetworkMap ===== */

.net-map {
  background: #050d08;
  display: flex;
  flex-direction: column;
  min-height: 1080px;
  overflow: hidden;
  padding: 40px 48px;
  position: relative;
}

.net-map--bg {
  height: 100%;
  inset: 0;
  object-fit: cover;
  /* object-position: 72% center; */
  position: absolute;
  width: auto;
}

.net-map--scrim {
  background:
    radial-gradient(60% 50% at 22% 30%, rgba(5, 13, 8, 0.92), transparent),
    linear-gradient(to bottom, rgba(5, 13, 8, 0.6), transparent 30%, rgba(5, 13, 8, 0.85));
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.net-map--inner {
  flex: 1;
  margin: 0 auto;
  max-width: 1400px;
  position: relative;
  width: 100%;
  z-index: 1;
}

/* ===== Левая панель ===== */

.net-map--panel {
  display: flex;
  flex-direction: column;
  left: 0;
  position: relative;
  top: 0;
  width: 380px;
}

.net-map--label {
  color: var(--green-400);
  font-family: var(--font-dm-sans), sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2.5px;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.net-map--title {
  color: var(--text-primary);
  font-family: var(--font-fraunces), sans-serif;
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.08;
  margin-bottom: 18px;
}

.net-map--desc {
  color: var(--text-secondary);
  font-family: var(--font-dm-sans), sans-serif;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 340px;
}

/* ===== Поиск ===== */

.net-map--search {
  align-items: center;
  backdrop-filter: var(--box-blur);
  background: rgba(10, 22, 14, 0.7);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  display: flex;
  gap: 10px;
  margin-bottom: 28px;
  padding: 13px 16px;
  transition: var(--transition-fast);
}

.net-map--search:focus-within {
  border-color: var(--green-700);
}

.net-map--search-icon {
  color: var(--text-muted);
  flex-shrink: 0;
}

.net-map--search-input {
  background: none;
  border: none;
  color: var(--text-primary);
  flex: 1;
  font-family: var(--font-dm-sans), sans-serif;
  font-size: 14px;
  outline: none;
  width: 100%;
}

.net-map--search-input::placeholder {
  color: var(--text-muted);
}

/* ===== Список категорий ===== */

.net-map--cats-title {
  color: var(--text-primary);
  font-family: var(--font-dm-sans), sans-serif;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
}

.net-map--cats {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.net-map--cat {
  align-items: center;
  backdrop-filter: var(--box-blur);
  background: rgba(10, 22, 14, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  gap: 12px;
  padding: 9px 12px;
  text-align: left;
  transition: var(--transition-fast);
  width: 100%;
}

.net-map--cat:hover {
  border-color: var(--border-default);
  color: var(--text-primary);
}

.net-map--cat.is-active {
  background: rgba(82, 183, 136, 0.16);
  border-color: var(--green-700);
  color: var(--text-primary);
}

.net-map--cat-icon {
  align-items: center;
  border-radius: var(--radius-xs);
  display: flex;
  flex-shrink: 0;
  font-size: 16px;
  height: 32px;
  justify-content: center;
  width: 32px;
}

.net-map--cat-name {
  flex: 1;
  font-family: var(--font-dm-sans), sans-serif;
  font-size: 14px;
  font-weight: 500;
}

.net-map--cat-count {
  color: var(--text-muted);
  font-family: var(--font-dm-sans), sans-serif;
  font-size: 13px;
  font-weight: 600;
}

.net-map--cat.is-active .net-map--cat-count {
  color: var(--green-400);
}

/* ===== Верхние плашки статистики ===== */

.net-map--stats {
  align-items: stretch;
  backdrop-filter: var(--box-blur);
  background: rgba(10, 22, 14, 0.72);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  display: flex;
  position: absolute;
  right: 0;
  top: 0;
  width: 600px;
}

.net-map--stat {
  align-items: center;
  display: flex;
  flex: 1;
  gap: 10px;
  padding: 15px 16px;
}

.net-map--stat + .net-map--stat {
  border-left: 1px solid var(--border-subtle);
}

.net-map--stat-icon {
  align-items: center;
  background: rgba(82, 183, 136, 0.14);
  border-radius: var(--radius-xs);
  color: var(--green-400);
  display: flex;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.net-map--stat-body {
  display: flex;
  flex-direction: column;
}

.net-map--stat-value {
  color: var(--text-primary);
  font-family: var(--font-dm-sans), sans-serif;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.2;
}

.net-map--stat-label {
  color: var(--text-muted);
  font-family: var(--font-dm-sans), sans-serif;
  font-size: 12px;
}

.net-map--stat-arrow {
  color: var(--text-muted);
}

/* ===== Контролы карты ===== */

.net-map--controls {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: absolute;
  right: 0;
  top: 52%;
  transform: translateY(-50%);
}

.net-map--ctrl-zoom {
  display: flex;
  flex-direction: column;
}

.net-map--ctrl {
  align-items: center;
  backdrop-filter: var(--box-blur);
  background: rgba(10, 22, 14, 0.78);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  height: 44px;
  justify-content: center;
  transition: var(--transition-fast);
  width: 44px;
}

.net-map--ctrl:hover {
  border-color: var(--green-700);
  color: var(--green-400);
}

.net-map--ctrl-zoom .net-map--ctrl:first-child {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.net-map--ctrl-zoom .net-map--ctrl:last-child {
  border-top: none;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

/* ===== Нижняя плашка ===== */

.net-map--footer {
  align-items: center;
  backdrop-filter: var(--box-blur);
  background: rgba(8, 18, 12, 0.82);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  column-gap: 32px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 24px;
  padding: 22px 28px;
  position: relative;
  row-gap: 20px;
  z-index: 1;
}

.net-map--features {
  column-gap: 36px;
  display: flex;
  flex-wrap: nowrap;
  row-gap: 18px;
}

.net-map--feature {
  align-items: center;
  display: flex;
  gap: 12px;
  max-width: 280px;
}

.net-map--feature-icon {
  align-items: center;
  background: rgba(82, 183, 136, 0.12);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  color: var(--green-400);
  display: flex;
  flex-shrink: 0;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.net-map--feature-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.net-map--feature-title {
  color: var(--text-primary);
  font-family: var(--font-dm-sans), sans-serif;
  font-size: 14px;
  font-weight: 600;
}

.net-map--feature-text {
  color: var(--text-muted);
  font-family: var(--font-dm-sans), sans-serif;
  font-size: 12px;
  line-height: 1.4;
}

/* ===== Легенда объёма ===== */

.net-map--legend {
  background: rgba(5, 13, 8, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 18px;
}

.net-map--legend-title {
  color: var(--text-secondary);
  font-family: var(--font-dm-sans), sans-serif;
  font-size: 12px;
  font-weight: 600;
}

.net-map--legend-items {
  column-gap: 18px;
  display: flex;
  flex-wrap: wrap;
  row-gap: 8px;
}

.net-map--legend-item {
  align-items: center;
  color: var(--text-muted);
  display: flex;
  font-family: var(--font-dm-sans), sans-serif;
  font-size: 12px;
  gap: 7px;
}

.net-map--legend-dot {
  border-radius: var(--radius-full);
  box-shadow: 0 0 8px currentColor;
  height: 9px;
  width: 9px;
}

/* ===== Адаптив ===== */

@media (max-width: 1320px) {
  .net-map--stats,
  .farm-card {
    right: 64px;
    width: clamp(440px, 42vw, 560px);
  }
}

@media (max-width: 1100px) {
  .net-map {
    min-height: 0;
    padding: 32px 24px;
  }

  .net-map--inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .net-map--panel,
  .net-map--stats,
  .net-map--controls,
  .farm-card {
    position: static;
    transform: none;
    width: 100%;
  }

  .net-map--stats {
    order: -1;
  }

  .net-map--controls {
    flex-direction: row;
    justify-content: flex-end;
  }
}

@media (max-width: 768px) {
  .net-map {
    padding: 28px 16px;
  }

  .net-map--title {
    font-size: 34px;
  }

  .net-map--stats {
    flex-direction: column;
  }

  .net-map--stat + .net-map--stat {
    border-left: none;
    border-top: 1px solid var(--border-subtle);
  }

  .net-map--footer {
    padding: 20px 18px;
  }

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

  .farm-card--actions {
    flex-direction: column;
  }
}

/* ===== Карточка фермера ===== */

.farm-card {
  backdrop-filter: var(--box-blur);
  background: rgba(8, 18, 12, 0.86);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-2xl);
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 20px;
  position: absolute;
  right: 75px;
  top: calc(50% - 250px);
  width: 600px;
}

.farm-card--head {
  display: flex;
  gap: 16px;
}

.farm-card--photo {
  border-radius: var(--radius-md);
  flex-shrink: 0;
  height: 96px;
  object-fit: cover;
  width: 132px;
}

.farm-card--head-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.farm-card--name-row {
  align-items: center;
  display: flex;
  gap: 8px;
}

.farm-card--name {
  color: var(--text-primary);
  font-family: var(--font-fraunces), sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.farm-card--verified {
  color: var(--green-400);
  flex-shrink: 0;
}

.farm-card--location {
  color: var(--text-secondary);
  font-family: var(--font-dm-sans), sans-serif;
  font-size: 14px;
}

.farm-card--rating {
  align-items: center;
  color: var(--text-primary);
  display: flex;
  font-family: var(--font-dm-sans), sans-serif;
  font-size: 14px;
  font-weight: 600;
  gap: 6px;
  margin-top: 2px;
}

.farm-card--star {
  color: var(--gold-400);
}

.farm-card--reviews {
  color: var(--text-muted);
  font-weight: 400;
}

.farm-card--close {
  align-items: center;
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-full);
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  flex-shrink: 0;
  height: 32px;
  justify-content: center;
  transition: var(--transition-fast);
  width: 32px;
}

.farm-card--close:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
}

/* ---- Инфо-чипы ---- */

.farm-card--info {
  display: flex;
  gap: 10px;
}

.farm-card--chip {
  align-items: center;
  background: rgba(5, 13, 8, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  display: flex;
  flex: 1;
  gap: 10px;
  padding: 12px 14px;
}

.farm-card--chip-icon {
  color: var(--green-400);
  flex-shrink: 0;
}

.farm-card--chip-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.farm-card--chip-label {
  color: var(--text-muted);
  font-family: var(--font-dm-sans), sans-serif;
  font-size: 11px;
}

.farm-card--chip-value {
  color: var(--text-primary);
  font-family: var(--font-dm-sans), sans-serif;
  font-size: 14px;
  font-weight: 700;
}

/* ---- Что выращивается ---- */

.farm-card--subtitle {
  color: var(--text-primary);
  font-family: var(--font-dm-sans), sans-serif;
  font-size: 15px;
  font-weight: 600;
}

.farm-card--crops {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(6, 1fr);
}

.farm-card--crop {
  align-items: center;
  background: rgba(5, 13, 8, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 6px;
  text-align: center;
}

.farm-card--crop.is-more {
  background: rgba(82, 183, 136, 0.1);
  justify-content: center;
}

.farm-card--crop-emoji {
  font-size: 24px;
  line-height: 1;
}

.farm-card--crop-name {
  color: var(--text-primary);
  font-family: var(--font-dm-sans), sans-serif;
  font-size: 12px;
  font-weight: 600;
}

.farm-card--crop-volume {
  color: var(--text-muted);
  font-family: var(--font-dm-sans), sans-serif;
  font-size: 11px;
}

.farm-card--crop.is-more .farm-card--crop-name {
  color: var(--green-400);
  font-size: 18px;
}

/* ---- Мини-статистика ---- */

.farm-card--stats {
  display: flex;
  gap: 10px;
}

.farm-card--stat {
  align-items: center;
  display: flex;
  flex: 1;
  gap: 10px;
}

.farm-card--stat-icon {
  color: var(--green-400);
  flex-shrink: 0;
}

.farm-card--stat-body {
  display: flex;
  flex-direction: column;
}

.farm-card--stat-value {
  color: var(--text-primary);
  font-family: var(--font-dm-sans), sans-serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
}

.farm-card--stat-label {
  color: var(--text-muted);
  font-family: var(--font-dm-sans), sans-serif;
  font-size: 12px;
}

/* ---- Кнопки ---- */

.farm-card--actions {
  display: flex;
  gap: 12px;
}

.farm-card--btn {
  flex: 1;
}

/* ===== styles/sections/join.css ===== */
/* ===== JoinSection ===== */

.join {
  border-bottom: 2px solid #144e00e0;
  min-height: 480px;
  position: relative;
}

.join:after {
  background: #299f00;
  border-radius: 50%;
  bottom: -1px;
  box-shadow: 0 0 15px 5px #30ad04;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  width: 4px;
  z-index: 10;
}

/* ---- Full-width background ---- */

.join--bg {
  inset: 0;
  position: absolute;
  z-index: 0;
}

.join--bg-overlay {
  /* Диагональный градиент: тёмный сверху-слева → прозрачный снизу-справа */
  background: linear-gradient(20deg, #040906d9 0%, #050b07e0 30%, #060d087d 60%, #070e0926 100%);
  inset: 0;
  position: absolute;
}

/* ---- Content ---- */

.join--content {
  margin: 0 auto;
  max-width: 1420px;
  padding: 80px 80px;
  position: relative;
  z-index: 2;
}

.join--title {
  color: #fff;
  font-family: var(--font-fraunces), serif;
  font-size: clamp(26px, 3.2vw, 44px);
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.18;
  margin-bottom: 14px;
}

.join--title-brand {
  color: var(--green-400);
  font-style: italic;
}

.join--subtitle {
  color: rgba(255, 255, 255, 0.5);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.5;
  margin-bottom: 36px;
}

/* ---- Feature chips ---- */

.join--features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-bottom: 40px;
}

.join--feature {
  align-items: center;
  display: flex;
  gap: 10px;
}

.join--feature-icon {
  align-items: center;
  background: rgba(82, 155, 15, 0.1);
  border: 1px solid rgba(82, 155, 15, 0.22);
  border-radius: var(--radius-sm);
  color: var(--green-400);
  display: flex;
  flex-shrink: 0;
  height: 40px;
  justify-content: center;
  width: 40px;
}

.join--feature-label {
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  white-space: pre-line;
}

/* ---- Buttons ---- */

.join--ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ===== Responsive ===== */

@media (max-width: 1024px) {

  .join--content {
    padding: 64px 48px;
  }
}

@media (max-width: 768px) {

  .join {
    min-height: 420px;
  }

  .join--content {
    padding: 52px 20px;
  }

  .join--bg-overlay {
    background: linear-gradient(
        135deg,
        rgba(4, 9, 6, 0.96) 0%,
        rgba(5, 11, 7, 0.85) 40%,
        rgba(6, 13, 8, 0.6) 70%,
        rgba(7, 14, 9, 0.2) 100%
      );
  }
}

@media (max-width: 480px) {

  .join--content {
    padding: 44px 16px;
  }

  .join--ctas {
    flex-direction: column;
  }

  .join--ctas .btn {
    justify-content: center;
    width: 100%;
  }
}

/* ===== Dot animation ===== */

/*
  Маршрут: левый край → правый край → 55% (стоп).
  Opacity: тускло на старте → пик в середине пути → затухает к финишу.
  Delay 2s — чтобы к моменту начала пользователь уже доскроллил до секции.
  fill-mode: both — в период delay огонёк уже стоит в 0% (левый край, dim).
*/

@keyframes join-dot-travel {

0% {
  left: 0%;
  opacity: 0;
}

50% {
  left: calc(50% - 2px);
  opacity: 1;
}

100% {
  left: calc(100% - 4px);
  opacity: 0;
}
}

.join:after {
  animation: join-dot-travel 9s ease-in-out 2s both;
}

/* ===== styles/sections/hero.css ===== */
.hero {
  /* высота Nav */;
  align-items: center;
  display: flex;
  min-height: 100vh;
  overflow: hidden;
  padding-top: 72px;
  position: relative;
}

/* ---- Слайды фона ---- */

.hero--bg-slide {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  inset: 0;
  opacity: 0;
  position: absolute;
  transform: scale(1);
  transition: opacity 1.5s ease-in-out, transform 8s ease-out;
  z-index: 0;
}

.hero--bg-slide.is-active {
  opacity: 1;
  transform: scale(1.08);
}

.hero--bg-overlay {
  background: linear-gradient(to right, rgb(0 0 0 / 90%) 0%, rgb(0 0 0 / 60%) 55%, rgb(0 0 0 / 35%) 100%);
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.hero--inner {
  align-items: center;
  display: flex;
  gap: 48px;
  margin: 0 auto;
  max-width: 1280px;
  padding: 60px 48px;
  position: relative;
  width: 100%;
  z-index: 2;
}

/* ---- Левая колонка ---- */

.hero--content {
  flex: 1;
  min-width: 0;
}

.hero--breadcrumb {
  align-items: center;
  color: rgba(255,255,255,0.4);
  display: flex;
  font-family: var(--font-dm-sans), sans-serif;
  font-size: 12px;
  font-weight: 400;
  gap: 6px;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
}

.hero--breadcrumb span {
  color: var(--green-400);
}

.hero--breadcrumb-icon {
  color: var(--green-400);
  flex-shrink: 0;
}

.hero--title {
  color: #fff;
  font-family: var(--font-fraunces), serif;
  font-size: clamp(42px, 7vw, 50px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero--em {
  font-weight: 600;
}

.hero--em-euro {
  color: var(--green-900);
}

.hero--em-farm {
  color: var(--green-400);
}

.hero--green {
  color: var(--green-400);
}

.hero--sub {
  color: rgba(255,255,255,0.7);
  font-family: var(--font-dm-sans), sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 36px;
}

.hero--ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px;
}

.hero--btn-primary {
  align-items: center;
  background: var(--green-500);
  border-radius: var(--radius-md);
  color: #ffffff;
  column-gap: 20px;
  display: inline-flex;
  font-family: var(--font-dm-sans), sans-serif;
  font-size: 15px;
  font-weight: 500;
  padding: 14px 28px;
  text-decoration: none;
  transition: var(--transition-fast);
}

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

.hero--btn-icon {
  margin-right: -10px;
}

.hero--btn-ghost {
  align-items: center;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: var(--radius-md);
  color: #ffffff;
  display: inline-flex;
  font-family: var(--font-dm-sans), sans-serif;
  font-size: 15px;
  font-weight: 500;
  padding: 14px 28px;
  text-decoration: none;
  transition: var(--transition-fast);
}

.hero--btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
}

/* ---- Фичи внизу ---- */

.hero--features {
  display: flex;
  flex-wrap: wrap;
}

.hero--feature {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 30px;
}

.hero--feature:first-child {
  padding-left: 0;
}

.hero--feature:not(:first-child) {
  border-left: 1px solid rgba(255,255,255,0.12);
}

.hero--feature-icon {
  color: var(--green-200);
}

.hero--feature-label {
  color: rgba(255,255,255,0.6);
  font-family: var(--font-dm-sans), sans-serif;
  font-size: 13px;
  line-height: 1.35;
  text-align: center;
  white-space: pre-line;
}

/* ---- Правая колонка ---- */

.hero--aside {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  gap: 20px;
}

.hero--stats {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero--stat-card {
  align-items: center;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  background: rgb(16 20 11 / 63%);
  border: 1px solid rgb(222 255 233 / 9%);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: row;
  gap: 16px;
  min-width: 250px;
  padding: 8px 16px;
}

.hero--stat-icon {
  color: var(--green-200);
  flex-shrink: 0;
}

.hero--stat-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero--stat-value {
  color: #ffffffbf;
  font-family: var(--font-fraunces), serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.1;
}

.hero--stat-label {
  color: rgba(255,255,255,0.55);
  font-family: var(--font-dm-sans), sans-serif;
  font-size: 13px;
  line-height: 1.4;
}

/* ---- Карусель / стрелки ---- */

.hero--carousel {
  align-items: center;
  display: flex;
  gap: 8px;
}

.hero--arrow {
  align-items: center;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  display: flex;
  height: 40px;
  justify-content: center;
  transition: var(--transition-fast);
  width: 40px;
}

.hero--arrow:hover {
  border-color: var(--green-400);
  color: var(--green-400);
}

.hero--dots {
  display: flex;
  gap: 6px;
  margin-left: 8px;
}

.hero--dot {
  background: rgba(255,255,255,0.3);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  height: 6px;
  padding: 0;
  transition: width 0.35s ease, border-radius 0.35s ease, background 0.35s ease;
  width: 6px;
}

.hero--dot.is-active {
  background: var(--green-400);
  border-radius: 4px;
  width: 24px;
}

/* ---- Адаптив ---- */

@media (max-width: 1024px) {

  .hero--inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 60px 32px;
  }

  .hero--aside {
    align-items: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
  }

  .hero--stats {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .hero--stat-card {
    min-width: 160px;
  }
}

@media (max-width: 768px) {
  .hero--inner {
    padding: 40px 20px;
  }

  .hero--title {
    font-size: 36px;
  }

  .hero--features {
    gap: 16px;
  }
}

/* ===== styles/sections/logistics.css ===== */
.logistics {
  background: #04100a;
  padding: 40px 32px 48px;
}

/* ── Карточка-обёртка ── */

.logistics--card {
  background: #091610;
  border: 1px solid rgba(116, 198, 157, 0.12);
  border-radius: 20px;
  margin: 0 auto;
  max-width: 1400px;
  overflow: hidden;
  padding: 40px 48px 0;
}

.logistics--inner {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* ══════════════════════════════════
   ── Шапка (3 колонки) ──
   ══════════════════════════════════ */

.logistics--head {
  align-items: flex-start;
  display: flex;
  gap: 24px;
  margin-bottom: 36px;
}

/* Левая колонка */

.logistics--head-left {
  flex: 0 0 340px;
}

.logistics--label {
  color: var(--green-400);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.logistics--title {
  color: var(--text-primary);
  font-family: var(--font-fraunces), serif;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.1;
  margin-bottom: 16px;
}

.logistics--sub {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.65;
}

/* Центральная колонка */

.logistics--head-center {
  align-items: flex-start;
  display: flex;
  flex: 1;
  gap: 20px;
  justify-content: center;
  padding-top: 8px;
}

.logistics--leaf-icon {
  color: var(--green-400);
  filter: drop-shadow(0 0 16px rgba(82, 155, 15, 0.6));
  flex-shrink: 0;
}

.logistics--head-center-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.logistics--farmer-title {
  color: var(--green-400);
  font-family: var(--font-fraunces), serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
}

.logistics--farmer-desc {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.6;
}

/* Правая колонка — Nova Post */

.logistics--head-right {
  flex: 0 0 auto;
}

.logistics--nova-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.logistics--nova-logo {
  align-items: center;
  display: flex;
  gap: 12px;
}

.logistics--nova-svg {
  flex-shrink: 0;
}

.logistics--nova-name-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logistics--nova-name {
  color: #ffffff;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.logistics--nova-partner {
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
}

.logistics--nova-tags {
  align-items: center;
  color: var(--text-secondary);
  display: flex;
  font-size: 12px;
  gap: 8px;
}

.logistics--nova-dot {
  background: var(--green-400);
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
  height: 8px;
  width: 8px;
}

/* ══════════════════════════════════
   ── Цепочка доставки ──
   ══════════════════════════════════ */

.logistics--chain-section {
  margin-bottom: 0;
  padding-bottom: 40px;
}

.logistics--chain-header {
  align-items: center;
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
  margin-left: 40%;
}

.logistics--chain-header-line {
  background: rgba(116, 198, 157, 0.25);
  flex: 1;
  height: 1px;
}

.logistics--chain-label {
  color: rgba(116, 198, 157, 0.6);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Цепочка */

.logistics--chain {
  align-items: flex-start;
  display: flex;
  justify-content: space-between;
}

.logistics--step-wrap {
  align-items: center;
  display: flex;
  flex: 1;
}

.logistics--step {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  text-align: center;
  width: 100%;
}

/* Номер-бейдж */

.logistics--step-num {
  align-items: center;
  border-radius: 50%;
  border-style: solid;
  border-width: 1px;
  display: flex;
  font-size: 12px;
  font-weight: 700;
  height: 26px;
  justify-content: center;
  margin-bottom: 12px;
  width: 26px;
}

.logistics--step-num-is-green {
  background: rgba(82, 155, 15, 0.15);
  border-color: var(--green-400);
  color: var(--green-400);
}

.logistics--step-num-is-neutral {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.7);
}

.logistics--step-num-is-amber {
  background: rgba(221, 138, 74, 0.15);
  border-color: var(--amber-500);
  color: var(--amber-500);
}

.logistics--step-num-is-blue {
  background: rgba(99, 179, 237, 0.15);
  border-color: var(--info);
  color: var(--info);
}

/* Круг с иконкой */

.logistics--step-circle {
  align-items: center;
  border-radius: 50%;
  border-style: solid;
  border-width: 2px;
  display: flex;
  height: 120px;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
  width: 120px;
}

.logistics--step-is-green .logistics--step-circle {
  background: radial-gradient(circle at 40% 40%, rgba(82, 155, 15, 0.18), rgba(82, 155, 15, 0.04));
  border-color: var(--green-400);
  box-shadow: 0 0 24px rgba(82, 155, 15, 0.25), inset 0 0 20px rgba(82, 155, 15, 0.06);
}

.logistics--step-is-neutral .logistics--step-circle {
  background: radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.01));
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.3);
}

.logistics--step-is-amber .logistics--step-circle {
  background: radial-gradient(circle at 40% 40%, rgba(221, 138, 74, 0.2), rgba(221, 138, 74, 0.04));
  border-color: var(--amber-500);
  border-width: 2.5px;
  box-shadow: 0 0 32px rgba(221, 138, 74, 0.35), inset 0 0 20px rgba(221, 138, 74, 0.08);
}

.logistics--step-is-blue .logistics--step-circle {
  background: radial-gradient(circle at 40% 40%, rgba(99, 179, 237, 0.15), rgba(99, 179, 237, 0.03));
  border-color: var(--info);
  box-shadow: 0 0 24px rgba(99, 179, 237, 0.2), inset 0 0 20px rgba(99, 179, 237, 0.04);
}

.logistics--step-is-green .logistics--step-icon { color: var(--green-400); }

.logistics--step-is-neutral .logistics--step-icon { color: rgba(255, 255, 255, 0.65); }

.logistics--step-is-amber .logistics--step-icon { color: var(--amber-500); }

.logistics--step-is-blue .logistics--step-icon { color: var(--info); }

.logistics--step-title {
  color: var(--text-primary);
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.logistics--step-desc {
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 1.55;
  max-width: 140px;
}

/* Коннектор между шагами */

.logistics--connector {
  align-items: center;
  display: flex;
  flex-shrink: 0;
  gap: 0;
  margin-bottom: 76px;
  margin-left: -2px;
  margin-right: -2px;
  position: relative;
  width: 52px;
}

.logistics--connector-dot {
  border-radius: 50%;
  flex-shrink: 0;
  height: 10px;
  width: 10px;
}

.logistics--connector-line {
  flex: 1;
  height: 2px;
}

.logistics--connector-arrow {
  flex-shrink: 0;
  margin-left: -2px;
}

.logistics--connector-is-green {
  color: var(--green-400);
}

.logistics--connector-is-green .logistics--connector-dot {
  background: var(--green-400);
  box-shadow: 0 0 8px rgba(82, 155, 15, 0.8);
}

.logistics--connector-is-green .logistics--connector-line {
  background: var(--green-400);
}

.logistics--connector-is-amber {
  color: var(--amber-500);
}

.logistics--connector-is-amber .logistics--connector-dot {
  background: var(--amber-500);
  box-shadow: 0 0 8px rgba(221, 138, 74, 0.8);
}

.logistics--connector-is-amber .logistics--connector-line {
  background: var(--amber-500);
}

.logistics--connector-is-blue {
  color: var(--info);
}

.logistics--connector-is-blue .logistics--connector-dot {
  background: var(--info);
  box-shadow: 0 0 8px rgba(99, 179, 237, 0.8);
}

.logistics--connector-is-blue .logistics--connector-line {
  background: var(--info);
}

/* ══════════════════════════════════
   ── Нижняя полоса ──
   ══════════════════════════════════ */

.logistics--bottom {
  align-items: center;
  background: rgba(0, 0, 0, 0.25);
  border-top: 1px solid rgba(116, 198, 157, 0.12);
  display: flex;
  gap: 32px;
  margin: 0 -48px;
  padding: 28px 48px;
}

/* Левый блок */

.logistics--integration {
  flex: 0 0 220px;
}

.logistics--integration-title {
  color: var(--green-400);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.4;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.logistics--integration-sub {
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 1.6;
}

/* Цепочка фич */

.logistics--features {
  align-items: center;
  display: flex;
  flex: 1;
  gap: 0;
  justify-content: center;
}

.logistics--feature-wrap {
  align-items: center;
  display: flex;
  gap: 0;
}

.logistics--feature {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
  width: 88px;
}

.logistics--feature-circle {
  align-items: center;
  background: rgba(82, 155, 15, 0.08);
  border: 1px solid rgba(82, 155, 15, 0.3);
  border-radius: 50%;
  display: flex;
  flex-shrink: 0;
  height: 58px;
  justify-content: center;
  width: 58px;
}

.logistics--feature-icon {
  color: var(--green-400);
}

.logistics--feature-label {
  color: var(--text-secondary);
  font-size: 11px;
  line-height: 1.4;
}

.logistics--feature-connector {
  align-items: center;
  display: flex;
  flex-shrink: 0;
  gap: 0;
  margin-bottom: 20px;
}

.logistics--feature-check {
  align-items: center;
  background: rgba(82, 155, 15, 0.15);
  border: 1px solid var(--green-400);
  border-radius: 50%;
  display: flex;
  height: 18px;
  justify-content: center;
  width: 18px;
}

.logistics--feature-check-icon {
  color: var(--green-400);
}

.logistics--feature-arrow {
  color: rgba(116, 198, 157, 0.5);
  margin-left: -2px;
}

/* Статы */

.logistics--stats {
  display: grid;
  flex-shrink: 0;
  gap: 12px 24px;
  grid-template-columns: 1fr 1fr;
  width: 280px;
}

.logistics--stat {
  align-items: flex-start;
  display: flex;
  gap: 10px;
}

.logistics--stat-icon {
  color: var(--green-400);
  flex-shrink: 0;
  margin-top: 2px;
}

.logistics--stat-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logistics--stat-value {
  color: var(--green-400);
  font-family: var(--font-fraunces), serif;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}

.logistics--stat-label {
  color: var(--text-secondary);
  font-size: 11px;
  line-height: 1.35;
}

/* ══════════════════════════════════
   ── Адаптив ──
   ══════════════════════════════════ */

@media (max-width: 1200px) {
  .logistics--chain-header {
    margin-left: 0;
  }

  .logistics--step-circle {
    height: 88px;
    width: 88px;
  }

  .logistics--connector {
    width: 32px;
  }
}

@media (max-width: 1024px) {
  .logistics--card {
    padding: 32px 28px 0;
  }

  .logistics--head {
    flex-direction: column;
    gap: 28px;
  }

  .logistics--head-left {
    flex: none;
  }

  .logistics--head-center,
  .logistics--head-right {
    flex: none;
  }

  .logistics--chain {
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
  }

  .logistics--step-wrap {
    flex: 0 0 auto;
  }

  .logistics--connector {
    display: none;
  }

  .logistics--step {
    width: 140px;
  }

  .logistics--bottom {
    flex-direction: column;
    gap: 28px;
    margin: 0 -28px;
    padding: 28px;
  }

  .logistics--integration {
    flex: none;
  }

  .logistics--features {
    flex-wrap: wrap;
    gap: 16px;
  }

  .logistics--feature-connector {
    display: none;
  }

  .logistics--stats {
    width: auto;
  }
}

@media (max-width: 768px) {
  .logistics {
    padding: 24px 12px 32px;
  }

  .logistics--card {
    border-radius: 14px;
    padding: 24px 20px 0;
  }

  .logistics--step {
    width: 120px;
  }

  .logistics--step-circle {
    height: 80px;
    width: 80px;
  }

  .logistics--stats {
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }
}
