/* ==========================================================================
   КЫРГЫЗ ЖЕМ · AXERON-1 — лендинг
   Токены и типографика взяты из дизайна (design/AXERON-1 Landing.dc.html).
   ========================================================================== */

:root {
  --ink: #0B1B2A;
  --ink-2: #16304A;
  --green: #3F8F4E;
  --green-dark: #2F6E3C;
  --green-bright: #4FA35F;
  --green-light: #7FBF8B;
  --muted: #5C6B76;
  --muted-2: #7A8791;
  --body: #4A5C69;
  --paper: #F4F4F0;
  --paper-2: #EFEFEA;
  --white: #FFFFFF;

  --line: rgba(11, 27, 42, .12);
  --line-strong: rgba(11, 27, 42, .22);
  --line-soft: rgba(11, 27, 42, .08);

  --font: Onest, "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --pad-x: clamp(16px, 4vw, 56px);
  --pad-y: clamp(52px, 7vw, 104px);
  --wrap: 1240px;
  --radius: 22px;
  --radius-sm: 14px;

  --ease: cubic-bezier(.4, 0, .2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-wrap: pretty;
  overflow-x: hidden;
}

/* Пока грузится первое видео — страница не скроллится */
body.is-loading { overflow: hidden; }

img, video { max-width: 100%; display: block; }
a { color: var(--green-dark); text-decoration: none; transition: color .18s var(--ease); }
a:hover { color: var(--ink); }
input, select, button, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap { max-width: var(--wrap); margin: 0 auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ==========================================================================
   1. Экран загрузки — прорастающая гидропоника
   ========================================================================== */

.loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 4vh, 40px);
  padding: 28px 20px calc(28px + env(safe-area-inset-bottom));
  background:
    radial-gradient(120% 90% at 50% 108%, rgba(63, 143, 78, .34) 0%, rgba(63, 143, 78, 0) 62%),
    linear-gradient(168deg, #0B1B2A 0%, #0F2739 58%, #123047 100%);
  color: var(--white);
  transition: opacity .55s var(--ease), visibility .55s var(--ease);
}

.loader[hidden] { display: none; }
.loader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }

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

.loader__logo {
  width: 46px; height: 46px;
  border-radius: 11px;
  object-fit: cover;
  flex: none;
  background: rgba(255, 255, 255, .1);
}

.loader__names { display: flex; flex-direction: column; line-height: 1.05; }
.loader__name {
  font-weight: 800; font-size: 15px; letter-spacing: .04em;
}
.loader__product {
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em;
  color: var(--green-light);
}

/* --- Сцена: лоток с прорастающим ячменём --- */
.grow {
  --p: 0;                       /* 0…1 — реальный прогресс загрузки видео */
  width: min(420px, 86vw);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.grow__scene {
  position: relative;
  width: 100%;
  height: clamp(130px, 22vh, 190px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

/* мягкое свечение фитосвета сверху */
.grow__light {
  position: absolute;
  left: 50%; top: -6%;
  width: 78%; height: 118%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(127, 191, 139, .30) 0%, rgba(127, 191, 139, 0) 72%);
  filter: blur(10px);
  opacity: calc(.35 + var(--p) * .65);
  transition: opacity .5s linear;
  pointer-events: none;
}

.grow__blades {
  position: relative;
  z-index: 1;
  width: 88%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2px;
  padding: 0 10px;
}

.grow__blade {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  height: calc(14% + var(--p) * var(--k, 1) * 86%);
  border-radius: 40% 40% 3px 3px / 22% 22% 3px 3px;
  background: linear-gradient(180deg, var(--green-light) 0%, var(--green-bright) 46%, var(--green-dark) 100%);
  transform-origin: 50% 100%;
  transition: height .45s var(--ease);
  animation: sway 3.4s ease-in-out infinite;
  animation-delay: var(--d, 0s);
  opacity: .92;
}

/* зерно у основания — исчезает по мере прорастания */
.grow__blade::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -3px;
  width: 7px; height: 5px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: #C8B487;
  opacity: calc(1 - var(--p) * 1.4);
  transition: opacity .45s linear;
}

@keyframes sway {
  0%, 100% { transform: rotate(-1.6deg); }
  50%      { transform: rotate(1.6deg); }
}

/* лоток */
.grow__tray {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 16px;
  margin-top: -2px;
  border-radius: 4px 4px 12px 12px;
  background: linear-gradient(180deg, #E8E8E0 0%, #C9CDC7 100%);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .38);
}

.grow__tray::before {
  content: "";
  position: absolute;
  inset: 0 6px auto 6px;
  height: 3px;
  border-radius: 3px;
  background: rgba(11, 27, 42, .16);
}

/* --- Прогресс --- */
.grow__meter {
  width: 100%;
  height: 4px;
  margin-top: 26px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  overflow: hidden;
}

.grow__bar {
  height: 100%;
  width: calc(var(--p) * 100%);
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green) 0%, var(--green-light) 100%);
  transition: width .4s var(--ease);
}

.grow__status {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  margin-top: 12px;
}

.grow__stage {
  font-size: 14px;
  color: rgba(255, 255, 255, .74);
}

.grow__pct {
  font-family: var(--mono);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  color: var(--green-light);
}

.loader__text { text-align: center; max-width: 34ch; }
.loader__title {
  font-size: clamp(22px, 3.6vw, 30px);
  font-weight: 800;
  letter-spacing: -.02em;
}
.loader__subtitle {
  margin-top: 8px;
  font-size: 15px;
  color: rgba(255, 255, 255, .62);
}

/* Загрузка завершена — экран уходит сам, ничего нажимать не нужно */
.loader.is-ready .grow__stage { color: var(--green-light); }

/* ==========================================================================
   2. Шапка
   ========================================================================== */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
  padding: 12px var(--pad-x);
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}

.header__brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.header__logo { width: 46px; height: 46px; border-radius: 10px; object-fit: cover; flex: none; }
.header__names { display: flex; flex-direction: column; line-height: 1.05; min-width: 0; }
.header__name { font-weight: 800; font-size: 15px; letter-spacing: .04em; color: var(--ink); }
.header__product { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; color: var(--muted); }

.header__nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 28px);
  justify-content: flex-end;
}

.header__links { display: flex; align-items: center; gap: clamp(12px, 1.6vw, 26px); }
.header__links a { font-size: 14px; font-weight: 500; color: var(--body); white-space: nowrap; }
.header__links a:hover { color: var(--ink); }

.langs {
  display: flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(11, 27, 42, .18);
  border-radius: 999px;
  flex: none;
}

.langs a {
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--ink);
  transition: background .18s var(--ease), color .18s var(--ease);
}
.langs a:hover { background: rgba(11, 27, 42, .06); }
.langs a[aria-current="true"] { background: var(--ink); color: var(--white); }

/* ==========================================================================
   3. Кнопки
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  padding: 17px 28px;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: background .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease), transform .12s var(--ease);
}

.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--green); color: var(--white); }
.btn--primary:hover { background: var(--green-dark); color: var(--white); }
.btn--ghost { border: 1.5px solid var(--line-strong); color: var(--ink); background: transparent; font-weight: 600; }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--on-dark { border: 1.5px solid rgba(255, 255, 255, .3); color: var(--white); background: transparent; font-weight: 600; }
.btn--on-dark:hover { border-color: var(--white); color: var(--white); }
.btn--block { width: 100%; }
.btn--sm { padding: 12px 20px; font-size: 14px; }
.btn[disabled] { opacity: .6; cursor: default; }

/* ==========================================================================
   4. Общие элементы секций
   ========================================================================== */

.section { padding: var(--pad-y) var(--pad-x); }
.section--paper { background: var(--paper); }
.section--dark { background: var(--ink); color: var(--white); }

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.section--dark .eyebrow { color: var(--green-light); }

.section__title {
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.08;
  letter-spacing: -.02em;
  font-weight: 800;
  margin-top: 14px;
  max-width: 22ch;
}

.section__lead {
  font-size: 17px;
  line-height: 1.55;
  color: var(--body);
  margin-top: 18px;
  max-width: 62ch;
}
.section--dark .section__lead { color: rgba(255, 255, 255, .72); }

.stat__value {
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 600;
}
.stat__label { font-size: 13px; color: var(--muted); }

/* ==========================================================================
   5. Первый экран
   ========================================================================== */

.hero { padding: clamp(36px, 5vw, 72px) var(--pad-x) clamp(44px, 5vw, 80px); }

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid rgba(11, 27, 42, .16);
  border-radius: 999px;
  padding: 7px 14px;
}

.hero__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  flex: none;
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .45; transform: scale(.82); }
}

.hero__title {
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.03;
  letter-spacing: -.025em;
  font-weight: 800;
  margin-top: 22px;
  max-width: 20ch;
}

.hero__lead {
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.5;
  color: var(--body);
  margin-top: 20px;
  max-width: 50ch;
}

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

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 32px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.hero__stats > div { display: flex; flex-direction: column; gap: 2px; }

/* Вертикальное видео 9:16 */
.hero__media { display: flex; justify-content: center; }

.vframe {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 9 / 16;
  border-radius: 26px;
  overflow: hidden;
  background: var(--ink);
  box-shadow: 0 30px 70px rgba(11, 27, 42, .22);
}

.vframe video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vframe__sound {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px 10px 13px;
  border: 0;
  border-radius: 999px;
  background: rgba(11, 27, 42, .62);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .18s var(--ease);
}
.vframe__sound:hover { background: rgba(11, 27, 42, .8); }

/* Браузер не дал звук автоматически — подсказываем, что его можно включить */
.vframe__sound.is-attention {
  background: var(--green);
  animation: soundpulse 2s ease-in-out infinite;
}
.vframe__sound.is-attention:hover { background: var(--green-bright); }

@keyframes soundpulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(63, 143, 78, .55); }
  60%      { box-shadow: 0 0 0 14px rgba(63, 143, 78, 0); }
}
.vframe__sound svg { width: 17px; height: 17px; flex: none; }
.vframe__sound .icon-off { display: none; }
.vframe__sound.is-muted .icon-off { display: block; }
.vframe__sound.is-muted .icon-on { display: none; }
.vframe__sound .label-unmute { display: none; }
.vframe__sound.is-muted .label-unmute { display: inline; }
.vframe__sound.is-muted .label-mute { display: none; }

/* ==========================================================================
   6. Ценность продукта
   ========================================================================== */

.value__head { max-width: 42ch; }

/* ==========================================================================
   5b. Манифест бренда (WHY) и история основания
   ========================================================================== */

.creed {
  position: relative;
  margin-top: 22px;
  padding: clamp(26px, 3.4vw, 46px) clamp(22px, 3vw, 44px) clamp(26px, 3.4vw, 40px);
  border-radius: var(--radius);
  border: 1px solid rgba(63, 143, 78, .28);
  background:
    radial-gradient(120% 130% at 0% 0%, rgba(63, 143, 78, .10) 0%, rgba(63, 143, 78, 0) 58%),
    linear-gradient(160deg, var(--paper) 0%, #FBFCFA 100%);
  overflow: hidden;
}

/* Зелёная грань слева — «это наша позиция», а не очередной абзац */
.creed::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, var(--green-light) 0%, var(--green) 45%, var(--green-dark) 100%);
}

/* Крупная кавычка фоном */
.creed::after {
  content: "”";
  position: absolute;
  right: clamp(12px, 2vw, 30px);
  top: -18px;
  font-size: clamp(120px, 16vw, 200px);
  line-height: 1;
  font-weight: 800;
  color: rgba(63, 143, 78, .10);
  pointer-events: none;
  user-select: none;
}

.creed__eyebrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--green-dark);
}
.creed__eyebrow::before {
  content: "";
  width: 20px; height: 1.5px;
  background: var(--green);
  flex: none;
}

.creed__text {
  position: relative;
  margin-top: 18px;
  font-size: clamp(20px, 2.5vw, 31px);
  line-height: 1.32;
  letter-spacing: -.015em;
  font-weight: 600;
  color: var(--ink);
  max-width: 30ch;
  text-wrap: balance;
}

/* Ключевая мысль — зелёной подложкой, как маркером */
.creed__accent {
  font-style: normal;
  font-weight: 700;
  background: linear-gradient(180deg, transparent 62%, rgba(127, 191, 139, .45) 62%);
  padding: 0 2px;
}

.creed__sign {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: clamp(20px, 2.4vw, 30px);
  padding-top: 18px;
  border-top: 1px solid rgba(11, 27, 42, .1);
  max-width: 30ch;
}
.creed__sign img {
  width: 38px; height: 38px;
  border-radius: 9px;
  object-fit: cover;
  flex: none;
}
.creed__author { font-size: 14px; font-weight: 700; }
.creed__role { font-size: 13px; color: var(--muted); }


.value__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 3vw, 48px);
  align-items: start;
  margin-top: clamp(32px, 4vw, 56px);
}

.value__card h3 {
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -.015em;
  max-width: 20ch;
}

.value__card p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--body);
  margin-top: 16px;
  max-width: 54ch;
}

.value__figures {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.value__figures .stat__value { font-size: clamp(19px, 2vw, 24px); }

.value__media { display: grid; gap: 14px; align-items: start; }
.value__thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.value__thumbs .media { aspect-ratio: 1 / 1; }

/* --- Вертикальные ролики про гидропонику: стоят вместо фото в блоке 2 --- */
.growstrip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(10px, 1.2vw, 14px);
}

.growstrip__item {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--ink);
  box-shadow: 0 16px 40px rgba(11, 27, 42, .16);
}

.growstrip__item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.growstrip__caption {
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: clamp(32px, 4vw, 56px);
}

.benefit {
  padding: clamp(20px, 2.2vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
}

.benefit__value {
  font-family: var(--mono);
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 600;
  color: var(--green-dark);
}
.benefit h4 { font-size: 16px; font-weight: 700; margin-top: 10px; }
.benefit p { font-size: 14px; line-height: 1.55; color: var(--muted); margin-top: 8px; }

/* ==========================================================================
   7. Установка (тёмная секция)
   ========================================================================== */

.axeron { padding: var(--pad-y) var(--pad-x); }
.axeron .section__title { max-width: 18ch; }
.axeron .section__lead { max-width: 68ch; }

.axeron__video {
  margin-top: clamp(28px, 3.5vw, 44px);
  max-width: 380px;          /* вертикальный ролик не растягиваем на всю ширину */
  margin-inline: auto;
}

/* Дополнительные ролики про установку — мельче главного, в ряд под ним */
.axeron__more {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 1.4vw, 18px);
  max-width: 700px;
  margin: clamp(14px, 1.8vw, 22px) auto 0;
}

/* auto-fit: сетка сама подстраивается под число характеристик в локали */
.specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  margin-top: clamp(28px, 3.5vw, 44px);
}

.spec {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .05);
}
.spec__value { font-family: var(--mono); font-size: clamp(19px, 2vw, 24px); font-weight: 600; color: var(--green-light); }
.spec__label { font-size: 13px; color: rgba(255, 255, 255, .66); margin-top: 6px; }

.axeron__photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 14px;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: clamp(28px, 3.5vw, 44px);
}

.feature {
  padding: clamp(20px, 2.2vw, 26px);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius-sm);
}
.feature__title { font-size: 16px; font-weight: 700; }
.feature p { font-size: 14px; line-height: 1.55; color: rgba(255, 255, 255, .66); margin-top: 8px; }

/* ==========================================================================
   8. Медиа-карточки: фото-заглушки и видео по клику
   ========================================================================== */

.media {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--paper-2);
  aspect-ratio: 4 / 3;
}
.media--wide { aspect-ratio: 16 / 9; }
.media--tall { aspect-ratio: 3 / 4; }
.media--vertical { aspect-ratio: 9 / 16; }
.media > img,
.media > video { width: 100%; height: 100%; object-fit: cover; }

/* Видео вписываем целиком: съёмка 9:16, кадрировать её под рамку нельзя */
.vcard > video {
  object-fit: contain;
  background: var(--ink);
}

/* Брендовая заглушка вместо фото */
.stub {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px;
  text-align: center;
  background:
    repeating-linear-gradient(135deg, rgba(63, 143, 78, .05) 0 12px, rgba(63, 143, 78, 0) 12px 24px),
    linear-gradient(160deg, var(--paper) 0%, var(--paper-2) 100%);
  border: 1px dashed rgba(11, 27, 42, .16);
  border-radius: inherit;
  color: var(--muted);
}
.section--dark .stub {
  background:
    repeating-linear-gradient(135deg, rgba(127, 191, 139, .07) 0 12px, rgba(127, 191, 139, 0) 12px 24px),
    linear-gradient(160deg, rgba(255, 255, 255, .07) 0%, rgba(255, 255, 255, .03) 100%);
  border-color: rgba(255, 255, 255, .18);
  color: rgba(255, 255, 255, .6);
}

.stub__icon { width: 30px; height: 30px; opacity: .5; }
.stub__label { font-size: 13px; line-height: 1.4; max-width: 24ch; }
.stub__note {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .65;
}

/* Видео, которое включается по кнопке */
.vcard { position: relative; }

.vcard__cover {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 0;
  width: 100%;
  padding: 18px;
  cursor: pointer;
  background:
    radial-gradient(90% 80% at 50% 30%, rgba(63, 143, 78, .22) 0%, rgba(63, 143, 78, 0) 70%),
    linear-gradient(160deg, #12293C 0%, #0B1B2A 100%);
  color: var(--white);
  transition: background .25s var(--ease);
}
.vcard__cover:hover { background: linear-gradient(160deg, #16304A 0%, #0F2436 100%); }
.vcard__cover[hidden] { display: none; }

/* Кадр из ролика виден целиком; затемняет его отдельный слой,
   иначе кнопка и подпись теряются на светлых кадрах. */
.vcard--has-poster .vcard__cover { background: var(--ink); }

.vcard__cover img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s var(--ease);
}
.vcard__cover:hover img { transform: scale(1.04); }

.vcard--has-poster .vcard__cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 27, 42, .30) 0%, rgba(11, 27, 42, .18) 45%, rgba(11, 27, 42, .78) 100%);
}

.vcard__play {
  position: relative;
  display: grid;
  place-items: center;
  width: 62px; height: 62px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 10px 30px rgba(63, 143, 78, .4);
  transition: transform .2s var(--ease), background .2s var(--ease);
}
.vcard__cover:hover .vcard__play { transform: scale(1.07); background: var(--green-bright); }
.vcard__play svg { width: 20px; height: 20px; margin-left: 3px; }

.vcard__label {
  position: relative;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  max-width: 26ch;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .55);
}

/* С превью подпись уходит вниз кадра, чтобы не перекрывать картинку */
.vcard--has-poster .vcard__cover {
  justify-content: flex-end;
  padding-bottom: 16px;
}
.vcard--has-poster .vcard__play { margin-top: auto; }

/* --- Просмотр ролика во весь экран --- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: clamp(14px, 3vw, 40px);
  background: rgba(8, 18, 28, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: lbin .22s var(--ease);
}
.lightbox[hidden] { display: none; }

@keyframes lbin { from { opacity: 0; } to { opacity: 1; } }

.lightbox__frame {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: min(460px, 100%);
  width: 100%;
}

.lightbox__frame video {
  width: 100%;
  max-height: 80vh;
  aspect-ratio: 9 / 16;
  object-fit: contain;
  border-radius: 16px;
  background: #000;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
}

.lightbox__caption {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, .8);
  text-align: center;
}

.lightbox__close {
  position: absolute;
  top: clamp(12px, 2vw, 26px);
  right: clamp(12px, 2vw, 26px);
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: var(--white);
  cursor: pointer;
  transition: background .18s var(--ease), border-color .18s var(--ease);
}
.lightbox__close:hover { background: rgba(255, 255, 255, .18); border-color: rgba(255, 255, 255, .4); }
.lightbox__close svg { width: 20px; height: 20px; }

/* ==========================================================================
   9. Квиз
   ========================================================================== */

.quiz__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.quiz__box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 36px);
  box-shadow: 0 18px 50px rgba(11, 27, 42, .07);
}

.quiz__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.quiz__step {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

.quiz__back {
  border: 0;
  background: transparent;
  padding: 6px 8px;
  margin-right: -8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  border-radius: 8px;
  transition: color .18s var(--ease), background .18s var(--ease);
}
.quiz__back:hover { color: var(--ink); background: rgba(11, 27, 42, .05); }
.quiz__back[hidden] { display: none; }

.quiz__meter {
  height: 4px;
  margin-top: 14px;
  border-radius: 999px;
  background: rgba(11, 27, 42, .1);
  overflow: hidden;
}
.quiz__bar {
  height: 100%;
  border-radius: 999px;
  background: var(--green);
  transition: width .35s var(--ease);
}

.quiz__panel { margin-top: 26px; }
.quiz__panel[hidden] { display: none; }
.quiz__panel h3 {
  font-size: clamp(20px, 2.2vw, 25px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.01em;
}
.quiz__hint { font-size: 14px; color: var(--muted); margin-top: 8px; }

.quiz__options { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

.chip {
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  background: var(--white);
  padding: 13px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: border-color .18s var(--ease), background .18s var(--ease), color .18s var(--ease);
}
.chip:hover { border-color: var(--ink); }
.chip.is-active,
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }

.quiz__field { margin-top: 20px; display: grid; gap: 10px; }

.input {
  width: 100%;
  padding: 16px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--white);
  /* Цвет задан явно: на тёмной секции input наследовал белый и текст пропадал */
  color: var(--ink);
  font-size: 16px;
  transition: border-color .18s var(--ease);
}
.input::placeholder { color: var(--muted-2); opacity: 1; }
.input:focus { outline: none; border-color: var(--green); }
.input.is-error { border-color: #C0392B; }

.quiz__consent { font-size: 12px; line-height: 1.5; color: var(--muted); margin-top: 12px; }

.formerror {
  font-size: 13px;
  color: #C0392B;
  margin-top: 10px;
}
.formerror[hidden] { display: none; }

.quiz__done { text-align: center; padding: 12px 0 4px; }
.quiz__done[hidden] { display: none; }
.quiz__check {
  width: 62px; height: 62px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(63, 143, 78, .12);
  color: var(--green-dark);
  font-size: 28px;
}
.quiz__done h3 { font-size: 23px; font-weight: 800; margin-top: 18px; }
.quiz__done p { font-size: 15px; line-height: 1.55; color: var(--body); margin-top: 12px; max-width: 40ch; margin-inline: auto; }
.quiz__done a { display: inline-flex; margin-top: 20px; }

/* ==========================================================================
   10. Обучающие видео
   ========================================================================== */

.lessons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.6vw, 20px);
  margin-top: clamp(32px, 4vw, 52px);
}

/* 3:4 — компромисс: плитки не вырастают в полосу, а видео внутри
   всё равно показывается целиком (object-fit: contain). */
.lesson .media { aspect-ratio: 3 / 4; }

.lesson {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--white);
  display: flex;
  flex-direction: column;
}

.lesson__body { padding: 16px 18px 20px; display: flex; gap: 12px; align-items: flex-start; }
.lesson__num {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--green-dark);
  padding-top: 2px;
  flex: none;
}
.lesson__body h3 { font-size: 15px; font-weight: 700; line-height: 1.35; }

.lesson--soon .media { background: var(--paper); }
.lesson__soon {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(160deg, var(--paper) 0%, var(--paper-2) 100%);
  color: var(--muted-2);
}
.lesson__soon svg { width: 26px; height: 26px; opacity: .45; }
.lesson__soon span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* ==========================================================================
   11. FAQ
   ========================================================================== */

.faq__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: clamp(28px, 3.5vw, 44px);
}

.faq__item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: clamp(22px, 2.6vw, 30px);
}
.faq__item h3 { font-size: clamp(17px, 1.9vw, 21px); font-weight: 700; line-height: 1.25; }
.faq__item p { font-size: 15px; line-height: 1.6; color: var(--body); margin-top: 12px; }
.faq__item .btn { margin-top: 18px; }

.faq__geo { margin-top: clamp(32px, 4vw, 52px); }
.faq__geo h3 { font-size: clamp(20px, 2.2vw, 26px); font-weight: 700; }

.geo {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.geo__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
}
.geo__item::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  flex: none;
}

/* ==========================================================================
   12. Короткая форма (тёмная секция)
   ========================================================================== */

.lead__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.lead__box {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 36px);
}

.lead__box .input {
  background: rgba(255, 255, 255, .95);
  border-color: transparent;
}
.lead__box .input:focus { border-color: var(--green-light); }

.lead__fields { display: grid; gap: 10px; }
.lead__quizhint { font-size: 13px; color: rgba(255, 255, 255, .6); margin-top: 14px; text-align: center; }
.lead__quizhint a { color: var(--green-light); text-decoration: underline; }
.lead__quizhint a:hover { color: var(--white); }

.lead__done {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 20px 0;
  text-align: center;
}
.lead__done[hidden] { display: none; }
.lead__done .quiz__check { background: rgba(127, 191, 139, .16); color: var(--green-light); }
.lead__done p { font-size: 17px; font-weight: 600; }

/* ==========================================================================
   13. Экономика
   ========================================================================== */

.economy { text-align: center; }
.economy .section__title { margin-inline: auto; max-width: 24ch; }
.economy .section__lead { margin-inline: auto; text-align: center; max-width: 64ch; }

.economy__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: clamp(28px, 3.5vw, 44px);
  text-align: left;
}

.economy__card {
  padding: clamp(24px, 3vw, 34px);
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--paper);
}
.economy__card:last-child { background: var(--ink); border-color: var(--ink); color: var(--white); }
.economy__value { font-family: var(--mono); font-size: clamp(30px, 4vw, 46px); font-weight: 600; letter-spacing: -.02em; }

/* Рыночная цена зачёркнута — это то, что фермер платит сейчас */
.economy__value--strike {
  position: relative;
  display: inline-block;
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-color: #C0392B;
  text-decoration-thickness: 3px;
}
.economy__card:last-child .economy__value { color: var(--green-light); }
.economy__label { font-size: 14px; line-height: 1.5; color: var(--muted); margin-top: 10px; max-width: 34ch; }
.economy__card:last-child .economy__label { color: rgba(255, 255, 255, .7); }

.economy__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: clamp(28px, 3.5vw, 40px);
}

/* ==========================================================================
   14. Подвал и мобильная панель
   ========================================================================== */

.footer {
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: clamp(32px, 4vw, 52px) var(--pad-x);
}

.footer__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 32px;
  align-items: center;
  justify-content: space-between;
}
.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer__brand img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
.footer__company { font-weight: 700; font-size: 14px; }
.footer__tagline { font-size: 13px; color: var(--muted); margin-top: 2px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 14px; font-weight: 600; }

.bottombar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
}
.bottombar .btn { flex: 1; padding: 14px 16px; font-size: 15px; }

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

@media (max-width: 1080px) {
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .lessons { grid-template-columns: repeat(3, 1fr); }
  .header__links { display: none; }
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { order: -1; }
  .vframe { max-width: 340px; }
  .hero__title { max-width: none; }
  .value__grid,
  .quiz__grid,
  .lead__grid,
  .faq__grid { grid-template-columns: 1fr; }
  .growstrip { max-width: 620px; margin-inline: auto; }
  .axeron__photos { grid-template-columns: 1fr 1fr; }
  .features { grid-template-columns: 1fr; }
  .economy__cards { grid-template-columns: 1fr; }
  .lessons { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  body { padding-bottom: 76px; }        /* место под нижнюю панель */
  .bottombar { display: flex; }

  /* Три вертикальных ролика в колонку не влезают — листаем горизонтально.
     Заодно в кадре остаётся один-два, а не три сразу: меньше трафика. */
  .growstrip {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-inline: calc(var(--pad-x) * -1);
    padding-inline: var(--pad-x);
  }
  .growstrip::-webkit-scrollbar { display: none; }
  .growstrip__item {
    flex: 0 0 auto;
    width: min(68vw, 260px);
    scroll-snap-align: center;
  }
  .header { padding: 10px var(--pad-x); }
  .header__cta { display: none; }
  .header__logo { width: 40px; height: 40px; }
  .specs { grid-template-columns: repeat(2, 1fr); }
  .lessons { grid-template-columns: repeat(2, 1fr); }
  .value__figures { grid-template-columns: 1fr; gap: 12px; }
  .hero__actions .btn { width: 100%; }
  .economy__actions .btn { width: 100%; }
  .footer__grid { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
  .axeron__photos { grid-template-columns: 1fr; }
  .chip { padding: 12px 16px; font-size: 14px; }
  .grow__blade:nth-child(n+13) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
