/* ArmLpg v2 — Concept C Full.
   Эталон: handoff_concept_c_full (preview/index.html, design/ArmLpg Concept C Full.dc.html, README.md). */

:root {
  --bg: #050608;
  --card: #0a0c10;
  --card-2: #0c0f15;
  --text: #f4f6fb;
  --lead: #aab4c8;
  --muted: #9aa6bd;
  --kicker: #7b8aa8;
  --dim: #7d89a3;          /* в макете #5b6680 — поднят до контраста ≥ 4.5:1 на фоне */
  --amber: #f9a52a;
  --orange: #f7931e;
  --red: #ed1c24;
  --violet: #b03ab8;
  --blue: #4a8df0;
  --warm: #f9c27a;
  --error: #ff8a7a;
  --ok: #3ec07b;
  --line: rgba(255, 255, 255, .06);
  --line-2: rgba(255, 255, 255, .12);

  --f-head: 'Inter Tight', 'Noto Sans Armenian', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-body: 'Inter', 'Noto Sans Armenian', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'JetBrains Mono', 'Noto Sans Armenian', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --pad-x: clamp(20px, 5vw, 64px);
  --hdr: 73px;             /* высота строки шапки (без демо-полосы); на desktop — 75px */
  --ease-up: cubic-bezier(.16, 1, .3, 1);
  --ease-wipe: cubic-bezier(.5, 0, .12, 1);
}
@media (min-width: 901px) { :root { --hdr: 75px; } }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 12px); -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  font-family: var(--f-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;   /* clip, не hidden: иначе animation-timeline: view() привяжется к неподвижному контейнеру */
}
html.menu-open, html.menu-open body { overflow: hidden; }
img, svg { display: block; }
a { color: var(--text); }
a:hover { color: var(--amber); }
ul, ol { list-style: none; }
input, textarea, button { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; border-radius: 4px; }
main:focus { outline: none; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 300; padding: 10px 16px; border-radius: 8px;
  background: var(--text); color: var(--bg); font-weight: 600; text-decoration: none;
  transform: translateY(-150%); transition: transform .2s;
}
.skip-link:focus { transform: none; color: var(--bg); }

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 14px 28px; border-radius: 100px;
  font-size: 15px; font-weight: 600; line-height: 1.2; text-decoration: none; text-align: center;
  border: 1px solid transparent; background: none;
  transition: background-color .2s, border-color .2s, color .2s;
}
.btn-light { background: var(--text); color: var(--bg); }
.btn-light:hover { background: #fff; color: var(--bg); }
.btn-outline { border-color: rgba(255, 255, 255, .22); color: var(--text); }
.btn-outline:hover { border-color: rgba(255, 255, 255, .5); color: var(--text); }
.btn-ghost { color: var(--lead); padding-inline: 16px; }
.btn-ghost:hover { color: var(--text); }
.btn-sm { min-height: 40px; padding: 10px 20px; font-size: 13px; }
.btn-block { width: 100%; }

/* ---------- демо-полоса и шапка ---------- */
.demo-banner {
  position: relative; z-index: 101;
  background: #1a1206; border-bottom: 1px solid rgba(247, 147, 30, .25);
  padding: 6px 16px; text-align: center;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; color: var(--warm);
}
.site-header {
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background-color .3s, border-color .3s;
}
.site-header.is-scrolled {
  background: rgba(5, 6, 8, .82);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-bottom-color: rgba(255, 255, 255, .07);
}
.header-inner {
  max-width: 1400px; margin: 0 auto; padding: 14px var(--pad-x);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: flex; align-items: center; text-decoration: none; border-radius: 6px; }
/* Логотип первой версии (сам знак не меняется, анимация — logo-v1.css).
   В viewBox знака сверху больше пустого места (там кончик пламени), а слева — поле перед «A».
   Оптическое выравнивание по геометрии знака: середина букв (y 1250…1575) — на ось строки шапки,
   левый край «A» (x 518.84) — на линию отступа:
     вверх  (1412.5 − 1310) / 840  = 12.2 % высоты,
     влево  (518.84 − 430) / 2150 = 4.13 % ширины. */
.brand .armlpg-logo { display: block; height: 42px; width: auto; overflow: visible; transform: translate(-4.13%, -12.2%); }
@media (min-width: 901px) {
  .brand .armlpg-logo { height: 52px; }
  .header-inner { padding-block: 11px; } /* высота шапки с логотипом 52 px — как была при 46 px */
}
.footer-logo { display: flex; align-items: center; }
.footer-logo .armlpg-logo { display: block; height: 32px; width: auto; overflow: visible; transform: translateX(-4.13%); }

.nav-desktop { margin-left: auto; }
.nav-desktop ul { display: flex; gap: 26px; align-items: center; }
.nav-desktop a { color: var(--muted); text-decoration: none; font-size: 13px; font-weight: 500; white-space: nowrap; }
.nav-desktop a:hover { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: 26px; }

.lang-switch { display: flex; gap: 2px; }
.lang-btn {
  min-width: 40px; min-height: 36px; padding: 6px 9px; border-radius: 6px;
  font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 12px; font-weight: 500; letter-spacing: .04em;
  color: var(--kicker); background: transparent; border: 1px solid transparent;
}
.lang-btn:hover { color: var(--text); }
.lang-btn[aria-pressed="true"] { color: var(--text); border-color: rgba(255, 255, 255, .25); }

.burger {
  display: none; width: 44px; height: 44px; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  background: none; border: 1px solid rgba(255, 255, 255, .14); border-radius: 10px;
}
.burger span { display: block; width: 18px; height: 1.5px; background: var(--text); }

@media (max-width: 859.98px) {
  .nav-desktop, .header-cta, .header-actions > .lang-switch { display: none; }
  .legal-page .header-actions > .lang-switch { display: flex; }
  .js .burger { display: flex; }
  /* без JS меню не откроется — показываем навигацию строкой */
  .no-js .nav-desktop { display: block; }
  .no-js .nav-desktop ul { gap: 16px; flex-wrap: wrap; }
}

/* ---------- мобильное меню ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 200; background: var(--bg);
  display: flex; flex-direction: column; padding: 20px 24px 32px;
  overflow-y: auto; overscroll-behavior: contain;
  animation: h-in .25s ease both;
}
.mm-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 36px; }
.mm-close {
  width: 44px; height: 44px; background: none; border: 1px solid rgba(255, 255, 255, .14); border-radius: 10px;
  color: var(--text); font-size: 26px; line-height: 1;
}
.mm-list a {
  display: block; padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, .08);
  color: var(--text); text-decoration: none;
  font-family: var(--f-head); font-weight: 600; font-size: 30px; letter-spacing: -.02em;
}
.mm-cta { margin-top: 32px; font-size: 16px; min-height: 52px; }
.mm-contacts { margin-top: auto; padding-top: 32px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.mm-contacts a { font-family: var(--f-mono); font-size: 13px; color: var(--muted); text-decoration: none; padding: 4px 0; }
.mm-contacts a:hover { color: var(--text); }

/* ---------- общие секции ---------- */
.section { padding: clamp(72px, 11vw, 150px) var(--pad-x); border-top: 1px solid var(--line); }
.container { max-width: 1100px; margin: 0 auto; }
.kicker {
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .28em; text-transform: uppercase;
  color: var(--kicker); margin-bottom: 32px;
}
.h2 {
  font-family: var(--f-head); font-weight: 600; font-size: clamp(28px, 4.4vw, 58px);
  line-height: 1.08; letter-spacing: -.025em; max-width: 880px; text-wrap: balance;
}
.lead { font-size: clamp(15px, 1.5vw, 18px); line-height: 1.7; color: var(--lead); max-width: 640px; text-wrap: pretty; }

/* ---------- 01 · первый экран ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column;
  margin-top: calc(-1 * var(--hdr));   /* фон первого экрана заходит под прозрачную шапку */
  overflow: clip;
}
.hero-glow {
  position: absolute; top: 46%; left: 66%; width: min(120vw, 1300px); height: min(120vw, 1300px);
  background: radial-gradient(circle, rgba(237, 28, 36, .20) 0%, rgba(247, 147, 30, .10) 24%, rgba(176, 58, 184, .08) 40%, rgba(74, 141, 240, .08) 52%, transparent 68%);
  filter: blur(24px); transform: translate(-50%, -50%); animation: h-drift 14s ease-in-out infinite; pointer-events: none;
}
.hero-vignette { position: absolute; inset: 0; background: radial-gradient(ellipse 90% 80% at 60% 45%, transparent 0%, var(--bg) 82%); pointer-events: none; }
.hero-gridlines {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 70% 65% at 65% 48%, #000 25%, transparent 80%);
  mask-image: radial-gradient(ellipse 70% 65% at 65% 48%, #000 25%, transparent 80%);
}
.hero-layout {
  position: relative; flex: 1; width: 100%; max-width: 1400px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 8px;
  padding: calc(var(--hdr) + 50px) 20px 24px;
}
.hero-text { position: relative; z-index: 5; max-width: 600px; }
.hero-kicker {
  display: flex; align-items: center; gap: 12px; margin-bottom: 28px;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--kicker);
}
.kicker-rule { width: 28px; height: 1px; background: var(--kicker); flex-shrink: 0; }
.hero-title {
  font-family: var(--f-head); font-weight: 800; font-size: clamp(52px, 7.4vw, 104px);
  line-height: .95; letter-spacing: -.035em; margin-bottom: 22px;
}
.wipe-wrap { position: relative; display: inline-block; }
.h-wipe { display: inline-block; }
.h-ink {
  position: absolute; top: 4%; bottom: 4%; left: 0; width: 3px; margin-left: -1px; border-radius: 2px;
  background: #fff; box-shadow: 0 0 14px 3px rgba(249, 165, 42, .55); pointer-events: none; opacity: 0;
}
.hero-tagline {
  font-family: var(--f-head); font-weight: 700; font-size: clamp(24px, 2.9vw, 40px);
  line-height: 1.1; letter-spacing: -.025em; margin-bottom: 22px; text-wrap: balance;
}
/* каждая строка переноса получает полный градиент */
.grad-inline {
  background: linear-gradient(100deg, var(--amber) 0%, var(--red) 36%, var(--violet) 66%, var(--blue) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.hero-lead { font-size: clamp(15px, 1.35vw, 17px); line-height: 1.7; color: var(--lead); max-width: 500px; margin-bottom: 26px; text-wrap: pretty; }
.hero-route {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 36px;
  font-family: var(--f-mono); font-size: 14px; color: var(--text);
}
.route-arrow { color: var(--orange); }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-map { position: relative; z-index: 2; width: 100%; aspect-ratio: 10 / 7; margin-top: 20px; }
.route-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.map-label { position: absolute; font-family: var(--f-mono); letter-spacing: .04em; pointer-events: none; display: flex; flex-direction: column; }
.lbl-name { font-size: clamp(11px, 1.1vw, 15px); font-weight: 500; color: var(--text); }
.lbl-desc { font-size: clamp(9px, .8vw, 11px); color: var(--kicker); margin-top: 2px; }
.lbl-ru { right: 13.4%; top: 12.9%; transform: translateY(calc(-100% - 4px)); text-align: right; align-items: flex-end; }
.lbl-ge { left: 62.6%; top: 44.3%; transform: translateY(-50%); }
.lbl-am { right: 79.4%; top: 82.9%; transform: translateY(-50%); text-align: right; align-items: flex-end; }
.lbl-am .lbl-name { font-size: clamp(13px, 1.3vw, 18px); }

.hero-scroll {
  position: relative; z-index: 5; width: 100%; max-width: 1400px; margin: 0 auto;
  padding: 0 var(--pad-x) 26px; display: flex; justify-content: flex-end;
}
.hero-scroll a {
  display: flex; align-items: center; gap: 8px; text-decoration: none;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--dim);
}
.hero-scroll svg { animation: h-bob 2.2s ease-in-out infinite; }

@media (min-width: 860px) {
  .hero-layout {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: center;
    gap: clamp(24px, 3vw, 48px); padding: calc(var(--hdr) + 60px) var(--pad-x) 40px;
  }
  .hero-map { max-width: calc(min(70vh, 640px) * 10 / 7); justify-self: center; margin-top: 0; }
}

/* движение первого экрана — одноразовое (кроме колец, свечения и стрелки), по таблице README */
.h-up { animation: h-up var(--dur, .9s) var(--ease-up) var(--d, 0s) both; }
.h-wipe { animation: h-wipe 1.2s var(--ease-wipe) .25s both; }
.h-ink { animation: h-ink 1.2s var(--ease-wipe) .25s both; }
.h-fade { animation: h-in .7s ease var(--d, 0s) both; }
.h-route { animation: h-draw 3.5s cubic-bezier(.45, .05, .25, 1) .6s forwards; }
.h-ring { animation: h-ring 2.4s ease-out infinite; }
.h-ring.ring-2 { animation-delay: .6s; }
.h-ring.ring-3 { animation-delay: 1.2s; }

/* ---------- 02 · сегодня ---------- */
.stats { margin-top: clamp(48px, 7vw, 88px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: clamp(28px, 4vw, 56px); }
.stat-value { font-family: var(--f-head); font-weight: 700; font-size: clamp(44px, 5.5vw, 72px); line-height: 1; letter-spacing: -.03em; color: var(--amber); }
.stat-unit { font-size: .4em; font-weight: 500; color: var(--kicker); margin-left: 4px; }
.stat-pct { font-size: .5em; }
.stat-pre { margin: 0 6px 0 0; }   /* «от» перед числом — в стиле единицы «т» */
.stat-label { font-size: 14px; line-height: 1.6; color: var(--lead); margin-top: 14px; max-width: 220px; }
.stats-source { font-family: var(--f-mono); font-size: 11px; color: var(--dim); margin-top: 36px; }
.cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 1px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .07); border-radius: 14px;
  overflow: clip; margin-top: clamp(56px, 8vw, 96px);
}
.card { background: var(--card); padding: clamp(26px, 3.5vw, 40px); }
.card-num { font-family: var(--f-mono); font-size: 12px; color: var(--kicker); margin-bottom: 18px; }
.card-title { font-family: var(--f-head); font-weight: 600; font-size: 21px; margin-bottom: 10px; }
.card-text { font-size: 14px; line-height: 1.7; color: var(--muted); }

/* ---------- 03–04 · будущий терминал и АГЗС ---------- */
.future { position: relative; overflow: clip; }
.future-glow { position: absolute; top: 30%; width: 900px; height: 700px; filter: blur(10px); pointer-events: none; }
.future-terminal .future-glow { right: -10%; background: radial-gradient(ellipse, rgba(247, 147, 30, .10), rgba(237, 28, 36, .05) 45%, transparent 70%); }
.future-station .future-glow { left: -12%; background: radial-gradient(ellipse, rgba(74, 141, 240, .10), rgba(176, 58, 184, .05) 45%, transparent 70%); }
.split {
  position: relative; max-width: 1100px; margin: 0 auto;
  display: grid; align-items: center; gap: clamp(36px, 5vw, 72px); grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 899.98px) { .future-station .render-slot { order: 2; } }
.kicker-orange { color: var(--orange); margin-bottom: 24px; }
.kicker-blue { color: var(--blue); margin-bottom: 24px; }
.h2-future {
  font-family: var(--f-head); font-weight: 700; font-size: clamp(30px, 4.2vw, 54px);
  line-height: 1.05; letter-spacing: -.03em; margin-bottom: 20px; text-wrap: balance;
}
.status-badge {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 24px; padding: 6px 14px; border-radius: 100px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
}
.status-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.badge-orange { border: 1px solid rgba(247, 147, 30, .4); color: var(--warm); }
.badge-orange .status-dot { background: var(--orange); }
.badge-blue { border: 1px solid rgba(74, 141, 240, .45); color: #a9c8f7; }
.badge-blue .status-dot { background: var(--blue); }
.future-lead { font-size: clamp(15px, 1.4vw, 17px); line-height: 1.7; color: var(--lead); margin-bottom: 28px; text-wrap: pretty; }
.plan-label { font-family: var(--f-mono); font-weight: 400; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--kicker); margin-bottom: 14px; }
.plan-list { display: flex; flex-direction: column; border-top: 1px solid rgba(255, 255, 255, .08); }
.plan-list li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 15px; color: #e3e8f2; }
.plan-num { flex-shrink: 0; white-space: nowrap; overflow-wrap: normal; min-width: 2ch; font-family: var(--f-mono); font-size: 12px; color: var(--orange); padding-top: 2px; }
.plan-blue .plan-num { color: var(--blue); }
.render-slot { margin: 0; }
.slot {
  position: relative; aspect-ratio: 4 / 3; border-radius: 16px; border: 1px dashed rgba(255, 255, 255, .18);
  background: repeating-linear-gradient(45deg, #0c0f15 0 14px, #090b10 14px 28px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 24px; text-align: center;
}
/* утверждённый концепт-рендер вместо заглушки (overflow: clip — не мешает view() у .reveal) */
.slot-image { padding: 0; overflow: clip; border: 1px solid rgba(255, 255, 255, .08); background: var(--card-2); }
.slot-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slot-title { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; color: var(--muted); }
.slot-note { font-family: var(--f-mono); font-size: 11px; color: var(--dim); }
.render-slot figcaption { font-family: var(--f-mono); font-size: 11px; color: var(--dim); margin-top: 12px; }

/* ---------- 05 · инвесторам ---------- */
#invest .h2 { max-width: 860px; margin-bottom: 24px; }
.roadmap { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: clamp(20px, 3vw, 32px); margin-top: clamp(48px, 7vw, 80px); }
.road { padding-top: 22px; border-top: 2px solid; }
.road-now { border-top-color: var(--ok); }
.road-project { border-top-color: rgba(247, 147, 30, .7); }
.road-plan { border-top-color: rgba(74, 141, 240, .7); }
.road-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.road-stage { font-family: var(--f-mono); font-size: 12px; color: var(--kicker); }
.pill { font-family: var(--f-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; border-radius: 100px; padding: 3px 9px; border: 1px solid; }
.pill-green { color: var(--ok); border-color: rgba(62, 192, 123, .4); }
.pill-orange { color: var(--warm); border-color: rgba(247, 147, 30, .4); }
.pill-blue { color: #a9c8f7; border-color: rgba(74, 141, 240, .45); }
.road-title { font-family: var(--f-head); font-weight: 600; font-size: 21px; margin-bottom: 8px; }
.road-text { font-size: 14px; line-height: 1.7; color: var(--muted); }

/* ---------- контакт: блок связи дизайна + форма заявки ---------- */
.contact-card {
  margin-top: clamp(64px, 9vw, 112px); padding: clamp(28px, 4vw, 56px);
  border: 1px solid rgba(255, 255, 255, .08); border-radius: 18px;
  background: radial-gradient(ellipse at 80% 0%, rgba(176, 58, 184, .10), transparent 60%), var(--card);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 28px clamp(28px, 4vw, 56px); align-items: start;
}
@media (min-width: 900px) { .contact-card { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); } } /* форма шире текста: поля не обрезают подсказки */
.contact-title { font-family: var(--f-head); font-weight: 600; font-size: clamp(24px, 3vw, 38px); line-height: 1.12; letter-spacing: -.02em; margin-bottom: 14px; text-wrap: balance; }
.contact-lead { font-size: 15px; line-height: 1.7; color: var(--muted); max-width: 460px; margin-bottom: 28px; }
.btn-write { min-height: 52px; padding: 15px 30px; }
.contact-list { margin-top: 32px; display: grid; gap: 18px; }
.contact-list dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--kicker); margin-bottom: 4px; }
.contact-list dd { font-family: var(--f-head); font-weight: 600; font-size: clamp(16px, 1.6vw, 19px); color: var(--text); overflow-wrap: anywhere; }
.contact-list dd a { color: var(--text); text-decoration: none; }
.contact-list dd a:hover { color: var(--amber); }

.form-card { background: var(--card-2); border: 1px solid rgba(255, 255, 255, .08); border-radius: 16px; padding: clamp(22px, 3vw, 32px); }
.noscript-note { display: none; font-size: 15px; color: var(--lead); }
.no-js .noscript-note { display: block; }
.no-js .lead-form { display: none; }

.form-notice {
  background: rgba(247, 147, 30, .07); border: 1px solid rgba(247, 147, 30, .25); border-radius: 10px;
  padding: 12px 14px; margin-bottom: 24px; font-size: 13px; line-height: 1.5; color: var(--warm);
}
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 16px; margin-bottom: 16px; }
.field { display: flex; flex-direction: column; min-width: 0; }
.lead-form > .field, .lead-form > fieldset { margin-bottom: 16px; }
.field > label, .field > legend {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--kicker); margin-bottom: 8px;
}
.field input, .field textarea {
  width: 100%; min-height: 48px; padding: 13px 15px; font-size: 16px; /* 16px — iOS не зумит */
  border: 1px solid var(--line-2); border-radius: 8px; background: rgba(255, 255, 255, .03); color: var(--text);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: #6f7b95; opacity: 1; }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--orange); outline-offset: 1px; border-radius: 8px; }
.field input[aria-invalid="true"] { border-color: var(--error); }
.field-error { font-size: 12px; color: var(--error); margin-top: 6px; }
#f-consent-err { margin: -4px 0 8px; }

fieldset.volume { border: 0; }
.vol-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 8px; }
@media (max-width: 480px) { .vol-grid { grid-template-columns: 1fr; } }
.vol-option {
  position: relative; display: flex; flex-direction: column; gap: 3px; min-height: 60px; padding: 12px 14px;
  border: 1px solid var(--line-2); border-radius: 8px; cursor: pointer;
}
.vol-option input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.vol-option:has(input:checked) { border-color: var(--orange); background: rgba(247, 147, 30, .08); }
.vol-option:has(input:focus-visible) { outline: 2px solid var(--orange); outline-offset: 2px; }
.vol-title { font-size: 14px; font-weight: 600; color: var(--text); overflow-wrap: anywhere; }
.vol-sub { font-family: var(--f-mono); font-size: 11px; line-height: 1.45; color: var(--kicker); }

.consent { display: flex; gap: 12px; align-items: flex-start; margin: 4px 0 12px; }
.consent input { flex-shrink: 0; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--orange); cursor: pointer; }
.consent label { font-size: 13px; line-height: 1.6; color: var(--lead); cursor: pointer; }
.consent.is-invalid input { outline: 2px solid var(--error); outline-offset: 2px; }
.btn-submit { margin-top: 12px; min-height: 52px; }
.form-status { font-size: 13px; line-height: 1.5; color: var(--error); margin-top: 12px; }
.form-status:empty { display: none; }
.form-terms { margin-top: 14px; font-size: 12px; line-height: 1.6; color: var(--kicker); }
.form-terms a, .consent label a { color: var(--lead); text-decoration: underline; text-underline-offset: 2px; }

/* отправка заявки на /v2/api/contact */
.btn-submit[disabled] { opacity: .65; cursor: progress; }
.lead-form[aria-busy="true"] .field input, .lead-form[aria-busy="true"] .field textarea { opacity: .8; }
.send-error {
  margin-top: 14px; padding: 14px 16px; border-radius: 10px;
  border: 1px solid rgba(255, 138, 122, .45); background: rgba(255, 138, 122, .07);
}
.send-error-text { font-size: 14px; line-height: 1.55; color: #ffc2b8; margin-bottom: 12px; }
.send-error-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.send-error-actions .btn { min-height: 44px; }
.form-success { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.success-title { font-family: var(--f-head); font-weight: 600; font-size: 22px; color: var(--ok); }
.success-title:focus { outline: none; }
.success-text { font-size: 15px; line-height: 1.6; color: var(--lead); }
.form-result { display: flex; flex-direction: column; gap: 14px; }
.result-title { font-family: var(--f-head); font-weight: 600; font-size: 22px; color: var(--warm); }
.result-title:focus { outline: none; }
.result-text { font-size: 15px; line-height: 1.6; color: var(--lead); }
.result-body {
  width: 100%; padding: 12px 14px; border-radius: 8px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03);
  color: var(--lead); font-family: var(--f-mono); font-size: 13px; line-height: 1.6; resize: vertical;
}
.result-actions { display: flex; flex-wrap: wrap; gap: 10px; }
#copy-status { color: var(--ok); }

/* ---------- подвал ---------- */
.site-footer { padding: clamp(36px, 5vw, 52px) var(--pad-x); border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-direction: column; gap: 22px; }
.footer-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.footer-brand { display: flex; flex-direction: column; gap: 10px; }
.footer-tagline { font-size: 13px; color: var(--kicker); max-width: 460px; }
.footer-legal { display: flex; gap: 8px 22px; flex-wrap: wrap; }
.footer-legal a { font-size: 13px; color: var(--kicker); text-decoration: none; padding: 6px 0; }
.footer-legal a:hover { color: var(--text); }
.footer-copy { font-family: var(--f-mono); font-size: 12px; color: var(--kicker); }
.footer-contacts { display: flex; flex-wrap: wrap; gap: 6px 12px; font-family: var(--f-mono); font-size: 12px; color: var(--kicker); }
.footer-contacts a { color: var(--kicker); text-decoration: none; }
.footer-contacts a:hover { color: var(--text); }
.footer-demo { font-family: var(--f-mono); font-size: 11px; color: var(--dim); letter-spacing: .04em; }

/* ---------- появление при прокрутке ---------- */
/* Только где есть animation-timeline: иначе блоки просто видны. Ни у одного предка .reveal нет overflow:hidden/auto. */
@supports (animation-timeline: view()) {
  .reveal { animation: c-reveal both linear; animation-timeline: view(); animation-range: entry 0% cover 28%; }
  .reveal.st-1 { animation-range: entry 7% cover 35%; }
  .reveal.st-2 { animation-range: entry 14% cover 42%; }
  .reveal.st-3 { animation-range: entry 21% cover 49%; }
}

/* ---------- ключевые кадры ---------- */
@keyframes h-drift { 0%, 100% { transform: translate(-50%, -50%) scale(1); } 50% { transform: translate(-46%, -53%) scale(1.08); } }
@keyframes h-draw { to { stroke-dashoffset: 0; } }
@keyframes h-ring { 0% { r: 7px; opacity: .85; stroke-width: 2px; } 100% { r: 26px; opacity: 0; stroke-width: .5px; } }
@keyframes h-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
@keyframes h-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes h-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes h-wipe { 0% { clip-path: inset(-10% 100% -10% 0); } 100% { clip-path: inset(-10% 0 -10% 0); } }
@keyframes h-ink { 0% { left: 0; opacity: 0; } 8% { opacity: 1; } 88% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
@keyframes c-reveal { from { opacity: 0; transform: translateY(36px); } to { opacity: 1; transform: none; } }

/* prefers-reduced-motion: всё сразу на месте — текст виден, маршрут дорисован, служебные блики скрыты */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .h-route { stroke-dashoffset: 0 !important; }
  .h-ink { display: none; }
  .armlpg-logo .ink { display: none; }   /* финальный кадр логотипа v1 */
}

/* ---------- правовые страницы (legal/) ---------- */
.legal-page .site-header { position: sticky; top: 0; }
.legal-actions { gap: 12px; }
a.lang-btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }   /* ссылки языка на всех страницах */
.lang-btn[aria-current="page"] { color: var(--text); border-color: rgba(255, 255, 255, .25); }
.legal-back { white-space: nowrap; }
.legal-main { padding: clamp(40px, 7vw, 88px) var(--pad-x) clamp(56px, 8vw, 110px); }
.legal-content { max-width: 760px; margin: 0 auto; color: var(--lead); font-size: 16px; line-height: 1.75; overflow-wrap: break-word; }
.legal-eyebrow { font-family: var(--f-mono); font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--kicker); margin-bottom: 20px; }
.legal-title { font-family: var(--f-head); font-weight: 700; font-size: clamp(32px, 5vw, 52px); line-height: 1.08; letter-spacing: -.03em; color: var(--text); margin-bottom: 14px; text-wrap: balance; }
.legal-updated { font-family: var(--f-mono); font-size: 12px; color: var(--dim); margin-bottom: 36px; }
.legal-toc { background: var(--card); border: 1px solid rgba(255, 255, 255, .08); border-radius: 14px; padding: 20px 24px; margin-bottom: 40px; }
.legal-toc-title { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--kicker); margin-bottom: 10px; }
.legal-toc ol { list-style: decimal; padding-left: 22px; display: grid; gap: 4px; }
.legal-toc a { color: var(--muted); text-decoration: none; }
.legal-toc a:hover { color: var(--text); text-decoration: underline; }
.legal-content h2 { font-family: var(--f-head); font-weight: 600; font-size: clamp(20px, 2.4vw, 26px); line-height: 1.25; letter-spacing: -.015em; color: var(--text); margin: 44px 0 14px; overflow-wrap: anywhere; }
.legal-content h2 .num { display: inline-block; margin-right: 14px; vertical-align: .2em; font-family: var(--f-mono); font-size: 12px; font-weight: 500; color: var(--orange); letter-spacing: .08em; }
.legal-content p { margin-bottom: 14px; }
.legal-content ul { list-style: disc; padding-left: 22px; margin-bottom: 16px; display: grid; gap: 6px; }
.legal-content strong { color: var(--text); font-weight: 600; }
.legal-content a { color: var(--text); text-underline-offset: 2px; }
.legal-page .footer-legal a[aria-current="page"] { color: var(--text); }
@media (max-width: 560px) {
  .legal-back { padding-inline: 0; width: 44px; min-height: 44px; }
  .legal-back-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .legal-actions { gap: 4px; }
  .legal-actions .lang-btn { min-width: 36px; padding-inline: 4px; }
}

/* длинные армянские и составные слова в узких колонках */
.card-text, .stat-label, .vol-sub, .legal-title, .road-text, .plan-list li, .h2-future { overflow-wrap: anywhere; }
/* «գազալցակայանների» (16 букв) не помещается в половину колонки при 54 px — для армянского заголовки блоков чуть меньше */
:lang(hy) .h2-future { font-size: clamp(26px, 3.6vw, 46px); }
