/* ============================================================
   ASIA CONSOLIDATION — HR-лендинг «Руководитель отдела логистики»
   Дизайн-система: светлый фон · глубокий синий · голубые акценты
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Brand blues */
  --navy-900: #06183a;
  --navy-800: #0a2350;
  --navy-700: #0e2f66;
  --navy-600: #143c82;
  --blue-700: #1559c9;
  --blue-600: #1a6cf0;   /* primary CTA */
  --blue-500: #2f83ff;
  --blue-400: #5aa0ff;
  --blue-300: #8fbcff;
  --sky-50:  #eff5ff;
  --sky-100: #e2ecff;
  --sky-200: #cfe0ff;

  /* Ink / neutrals */
  --ink-900: #0b1b34;
  --ink-800: #162945;
  --ink-700: #24374f;
  --ink-600: #3c5069;
  --ink-500: #5c6d86;
  --ink-400: #8394ab;
  --line:    #dbe6f6;
  --line-2:  #e9f0fb;

  --white: #ffffff;
  --bg:      #ffffff;
  --bg-soft: #f4f8ff;
  --bg-soft2:#eef4fe;

  /* Semantic */
  --danger:    #e0463a;
  --danger-700:#b8281d;
  --danger-bg: #fdeeec;
  --danger-line:#f6cfc9;
  --success:   #17976a;
  --success-bg:#e8f6ef;
  --success-line:#bfe6d4;

  /* Effects */
  --shadow-sm: 0 2px 8px rgba(13, 38, 84, .06);
  --shadow-md: 0 12px 30px rgba(13, 38, 84, .10);
  --shadow-lg: 0 26px 60px rgba(9, 27, 64, .16);
  --glow-blue: 0 18px 46px rgba(26, 108, 240, .40);

  /* Radii */
  --r-sm: 10px;
  --r:    16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --pill: 999px;

  /* Layout */
  --container: 1180px;
  --gutter: clamp(18px, 4vw, 40px);
  --section-y: clamp(58px, 8.5vw, 116px);

  /* Type */
  --font-head: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-700);
  background: var(--bg);
  line-height: 1.62;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* Clip stray horizontal overflow WITHOUT creating a scroll container
   (overflow-x:hidden would force overflow-y:auto and break window.scrollTo). */
html { overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink-900); line-height: 1.1; margin: 0; font-weight: 800; letter-spacing: -0.02em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 3px; border-radius: 6px; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--soft { background: var(--bg-soft); }
.section--tint { background: linear-gradient(180deg, var(--bg-soft2), var(--bg-soft)); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-head); font-weight: 700; font-size: .82rem;
  letter-spacing: .10em; text-transform: uppercase;
  color: var(--blue-600);
  background: var(--sky-50);
  border: 1px solid var(--sky-200);
  padding: 7px 15px; border-radius: var(--pill);
}
.section__head { max-width: 780px; margin-bottom: clamp(32px, 5vw, 56px); }
.section__head .eyebrow { margin-bottom: 18px; }
.section__title { font-size: clamp(1.75rem, 3.8vw, 2.85rem); }
.section__lead { margin-top: 18px; font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: var(--ink-600); max-width: 68ch; }

/* ---------- Buttons ---------- */
.btn {
  --_bg: var(--blue-600);
  display: inline-flex; align-items: center; justify-content: center; gap: 11px;
  font-family: var(--font-head); font-weight: 700; font-size: 1.02rem;
  color: #fff; background: var(--_bg);
  padding: 16px 30px; border: 0; border-radius: var(--pill);
  box-shadow: var(--glow-blue);
  transition: transform .18s ease, box-shadow .22s ease, background .2s ease;
  text-align: center; line-height: 1.15;
}
.btn svg { flex: none; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 22px 54px rgba(26,108,240,.5); background: var(--blue-500); }
.btn:active { transform: translateY(0); }
.btn--lg { padding: 19px 38px; font-size: 1.1rem; }
.btn--onDark { box-shadow: 0 18px 46px rgba(0,0,0,.35); }
.btn--block { display: flex; width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; box-shadow: none; }

.cta-note { margin-top: 14px; font-size: .95rem; color: var(--ink-500); max-width: 52ch; }
.cta-note--onDark { color: #9fb6d8; }

/* ============================================================
   HERO
   ============================================================ */
.hero__logo {
  display: inline-flex; align-items: center;
  background: #fff; border-radius: 16px; padding: 10px 18px;
  box-shadow: var(--shadow-md);
  margin-bottom: 28px;
}
.hero__logo img { height: 46px; width: auto; display: block; }
.hero {
  position: relative; overflow: hidden; color: #eaf1ff;
  background:
    radial-gradient(1200px 620px at 78% -8%, rgba(47,131,255,.32), transparent 60%),
    radial-gradient(900px 600px at 8% 110%, rgba(20,60,130,.55), transparent 55%),
    linear-gradient(150deg, var(--navy-900) 0%, var(--navy-800) 45%, var(--navy-700) 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 30px 30px; opacity: .6; pointer-events: none;
}
.hero__inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 4vw, 60px);
  align-items: center;
  padding-block: clamp(48px, 7vw, 92px);
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(90,160,255,.12); border: 1px solid rgba(120,175,255,.32);
  color: #cfe0ff; font-family: var(--font-head); font-weight: 700; font-size: .84rem;
  letter-spacing: .06em; padding: 8px 16px; border-radius: var(--pill); margin-bottom: 24px;
}
.hero__badge b { color: #fff; }
.hero h1 {
  color: #fff; font-size: clamp(2.3rem, 5.4vw, 4rem); letter-spacing: -0.03em;
  margin-bottom: 6px;
}
.hero h1 .accent { color: var(--blue-400); display: block; font-size: .62em; font-weight: 800; letter-spacing: -0.01em; margin-top: 14px; line-height: 1.18; }
.hero__underline { width: 74px; height: 5px; border-radius: var(--pill); background: linear-gradient(90deg, var(--blue-500), var(--blue-300)); margin: 26px 0 22px; }
.hero__sub { font-size: clamp(1.04rem, 1.5vw, 1.2rem); color: #c4d6f2; max-width: 54ch; }
.hero__sub b { color: #fff; font-weight: 600; }

.hero__chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 30px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .9rem; font-weight: 600; font-family: var(--font-head);
  color: #d8e6ff; background: rgba(255,255,255,.06);
  border: 1px solid rgba(140,190,255,.22); padding: 8px 14px; border-radius: var(--pill);
}
.chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue-400); }

.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.hero__ctaNote { margin-top: 16px; }

/* hero visual (truck) */
.hero__visual { position: relative; }
.hero__frame {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(150,195,255,.25);
  aspect-ratio: 349 / 460;
}
.hero__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 40% center; }
.hero__frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(6,24,58,.35));
}
.hero__floatcard {
  position: absolute; left: -26px; bottom: 26px; z-index: 3;
  background: rgba(255,255,255,.96); color: var(--ink-800);
  border-radius: var(--r); padding: 15px 18px; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 13px; max-width: 260px;
}
.hero__floatcard .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--sky-50); color: var(--blue-600); display: grid; place-items: center; flex: none; }
.hero__floatcard b { display: block; font-family: var(--font-head); color: var(--ink-900); font-size: 1.02rem; }
.hero__floatcard span { font-size: .84rem; color: var(--ink-500); }

/* ============================================================
   PROCESS CHAIN (О компании)
   ============================================================ */
.company__grid { display: grid; grid-template-columns: 1fr; gap: clamp(28px, 4vw, 44px); }
.chain { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; }
.chain__item {
  display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--pill);
  padding: 11px 18px 11px 14px; font-family: var(--font-head); font-weight: 600; color: var(--ink-800);
  box-shadow: var(--shadow-sm); font-size: .96rem;
}
.chain__item .n { width: 26px; height: 26px; flex: none; border-radius: 50%; background: var(--sky-50); color: var(--blue-600); font-size: .8rem; font-weight: 800; display: grid; place-items: center; }
.chain__item.is-end { background: var(--navy-800); color: #fff; border-color: var(--navy-700); }
.chain__item.is-end .n { background: rgba(90,160,255,.25); color: #cfe0ff; }
.chain__arrow { align-self: center; color: var(--blue-300); }

.callout {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--sky-50); border: 1px solid var(--sky-200);
  border-left: 5px solid var(--blue-500);
  border-radius: var(--r); padding: 22px 26px; color: var(--ink-800);
}
.callout .ic { color: var(--blue-600); flex: none; margin-top: 2px; }
.callout p { font-size: 1.06rem; }
.callout strong { color: var(--navy-800); }
.callout--navy { background: var(--navy-800); color: #dbe8ff; border-color: var(--navy-700); border-left-color: var(--blue-400); }
.callout--navy strong { color: #fff; }
.callout--navy .ic { color: var(--blue-300); }

.factlist { display: grid; gap: 12px; }
.factlist li { display: flex; gap: 12px; align-items: flex-start; }
.factlist .tick { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; margin-top: 1px; }
.factlist .tick--blue { background: var(--sky-50); color: var(--blue-600); }
.card-head { font-family: var(--font-head); font-weight: 800; color: var(--navy-800); font-size: 1.2rem; margin-bottom: 16px; }

/* ============================================================
   PRODUCT (navy band)
   ============================================================ */
.band {
  position: relative; overflow: hidden; color: #dceaff;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(47,131,255,.26), transparent 60%),
    linear-gradient(160deg, var(--navy-900), var(--navy-800) 60%, var(--navy-700));
}
.band::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 32px 32px; opacity: .5;
}
.band .container { position: relative; z-index: 2; }
.band .section__title { color: #fff; }
.band .section__lead { color: #b9cdec; }
.band .eyebrow { color: #cfe0ff; background: rgba(90,160,255,.12); border-color: rgba(120,175,255,.28); }

.product__statement {
  font-family: var(--font-head); font-weight: 800; color: #fff;
  font-size: clamp(1.35rem, 2.6vw, 2rem); line-height: 1.24; letter-spacing: -0.02em;
  max-width: 22ch; margin: 6px 0 34px;
}
.product__statement .hl { color: var(--blue-400); }

.fin-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 26px; }
.fin {
  background: linear-gradient(160deg, rgba(47,131,255,.18), rgba(20,60,130,.15));
  border: 1px solid rgba(140,190,255,.28); border-radius: var(--r); padding: 22px;
}
.fin b { display: block; font-family: var(--font-head); font-weight: 800; color: #fff; font-size: clamp(1.5rem, 3vw, 2.2rem); letter-spacing: -0.02em; }
.fin span { color: #b9cdec; font-size: .96rem; }

/* ============================================================
   MANAGER (full cycle)
   ============================================================ */
.split-panel {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; margin-top: 34px;
  background: #fff; box-shadow: var(--shadow-sm);
}
.split-panel > div { padding: clamp(22px, 3vw, 34px); }
.split-panel .p-do { background: var(--sky-50); }
.split-panel .p-dont { background: #fff; border-left: 1px solid var(--line); }

/* ============================================================
   TASKS
   ============================================================ */
.tasks-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.task {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.task:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--sky-200); }
.task__top { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.task__num { font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; color: var(--blue-600); background: var(--sky-50); border-radius: 12px; width: 46px; height: 46px; display: grid; place-items: center; flex: none; }
.task__ic { color: var(--navy-700); }
.task h3 { font-size: 1.16rem; color: var(--navy-800); }
.task ul { display: grid; gap: 9px; margin-top: 4px; }
.task li { position: relative; padding-left: 20px; font-size: .98rem; color: var(--ink-600); }
.task li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 7px; height: 7px; border-radius: 50%; background: var(--blue-400); }

/* ============================================================
   FIT / NOT-FIT comparison
   ============================================================ */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.fit {
  border-radius: var(--r-lg); padding: clamp(24px, 3vw, 34px); border: 1px solid;
}
.fit--yes { background: var(--success-bg); border-color: var(--success-line); }
.fit--no  { background: var(--danger-bg); border-color: var(--danger-line); }
.fit__title { display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 800; font-size: 1.24rem; margin-bottom: 20px; }
.fit--yes .fit__title { color: #0f6f4d; }
.fit--no  .fit__title { color: var(--danger-700); }
.fit__badge { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; color: #fff; }
.fit--yes .fit__badge { background: var(--success); }
.fit--no  .fit__badge { background: var(--danger); }
.fit ul { display: grid; gap: 12px; }
.fit li { display: flex; gap: 11px; align-items: flex-start; font-size: 1rem; color: var(--ink-700); }
.fit li svg { flex: none; margin-top: 3px; }
.fit--yes li svg { color: var(--success); }
.fit--no  li svg { color: var(--danger); }

.ask-callout {
  margin-top: 26px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  background: linear-gradient(120deg, var(--navy-800), var(--navy-700));
  color: #eaf2ff; border-radius: var(--r-lg); padding: 26px 30px;
}
.ask-callout .q { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.1rem, 2vw, 1.4rem); color: #fff; flex: 1 1 340px; line-height: 1.3; }
.ask-callout .ic { width: 54px; height: 54px; border-radius: 14px; background: rgba(90,160,255,.2); color: #9fc2ff; display: grid; place-items: center; flex: none; }

/* ============================================================
   TIMELINE (90 days)
   ============================================================ */
.timeline { position: relative; display: grid; gap: 20px; }
.tl {
  display: grid; grid-template-columns: 150px 1fr; gap: clamp(16px, 3vw, 34px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(22px, 3vw, 30px); box-shadow: var(--shadow-sm); position: relative;
}
.tl__phase { position: relative; }
.tl__day { font-family: var(--font-head); font-weight: 800; color: var(--blue-600); font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -0.02em; line-height: 1; }
.tl__day span { display: block; font-size: .8rem; font-weight: 700; color: var(--ink-400); text-transform: uppercase; letter-spacing: .08em; margin-top: 6px; }
.tl__title { font-family: var(--font-head); font-weight: 800; color: var(--navy-800); font-size: 1.15rem; margin-bottom: 14px; }
.tl__list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.tl__list li { background: var(--sky-50); border: 1px solid var(--sky-100); color: var(--ink-700); border-radius: var(--pill); padding: 6px 13px; font-size: .9rem; }
.tl__result { display: flex; gap: 10px; align-items: flex-start; font-size: .98rem; color: var(--ink-700); background: var(--bg-soft); border-radius: var(--r-sm); padding: 13px 16px; }
.tl__result b { color: var(--success); font-family: var(--font-head); }
.tl__result svg { color: var(--success); flex: none; margin-top: 3px; }

/* ============================================================
   POWERS + ORG
   ============================================================ */
.powers { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 4vw, 44px); align-items: start; }
.power-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.power-chips li {
  background: #fff; border: 1px solid var(--line); border-radius: var(--pill);
  padding: 10px 16px; font-size: .95rem; color: var(--ink-700); box-shadow: var(--shadow-sm);
  display: inline-flex; gap: 8px; align-items: center;
}
.power-chips li svg { color: var(--blue-500); flex: none; }
.org {
  background: var(--navy-800); color: #d7e6ff; border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 32px); box-shadow: var(--shadow-md);
}
.org h3 { color: #fff; font-size: 1.2rem; margin-bottom: 8px; }
.org .lead-line { color: #9fb6d8; font-size: .96rem; margin-bottom: 20px; }
.org__boss { display: flex; align-items: center; gap: 12px; background: rgba(47,131,255,.16); border: 1px solid rgba(140,190,255,.3); border-radius: var(--r); padding: 14px 16px; margin-bottom: 16px; }
.org__boss .ic { color: #9fc2ff; }
.org__boss b { color: #fff; font-family: var(--font-head); }
.org__boss span { display: block; font-size: .82rem; color: #9fb6d8; }
.org__peers { display: grid; gap: 8px; }
.org__peers li { display: flex; gap: 10px; align-items: center; font-size: .94rem; color: #c7d8f2; }
.org__peers li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue-400); flex: none; }

/* ============================================================
   OFFER + honest note
   ============================================================ */
.offer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.offer {
  display: flex; gap: 14px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px;
  box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s;
}
.offer:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.offer .ic { width: 42px; height: 42px; border-radius: 11px; background: var(--sky-50); color: var(--blue-600); display: grid; place-items: center; flex: none; }
.offer p { font-size: 1rem; color: var(--ink-700); font-weight: 500; }

/* ---------- Conditions table ---------- */
.conditions { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; margin-top: 12px; }
.cond {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px;
  box-shadow: var(--shadow-sm);
}
.cond dt { font-family: var(--font-head); font-weight: 700; color: var(--ink-400); font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.cond dd { margin: 0; font-family: var(--font-head); font-weight: 700; color: var(--navy-800); font-size: 1.08rem; }

/* ============================================================
   SELECTION STEPS (отбор)
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px;
  box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
}
.step__n { font-family: var(--font-head); font-weight: 800; font-size: 2.4rem; color: var(--sky-100); line-height: 1; letter-spacing: -0.02em; }
.step h3 { font-size: 1.1rem; color: var(--navy-800); margin: 8px 0 8px; }
.step p { font-size: .95rem; color: var(--ink-600); }

/* ============================================================
   FAQ
   ============================================================ */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 12px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-sm); overflow: hidden; }
.faq__q {
  width: 100%; text-align: left; background: none; border: 0; padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: var(--font-head); font-weight: 700; font-size: 1.06rem; color: var(--navy-800);
}
.faq__q .plus { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--sky-50); color: var(--blue-600); display: grid; place-items: center; transition: transform .28s, background .2s; }
.faq__item.is-open .faq__q .plus { transform: rotate(45deg); background: var(--blue-600); color: #fff; }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .32s ease; }
.faq__a p { padding: 0 24px 22px; color: var(--ink-600); font-size: 1rem; }

/* ============================================================
   FINAL CTA
   ============================================================ */
.final .band-inner { text-align: center; max-width: 760px; margin-inline: auto; }

/* ============================================================
   FORM
   ============================================================ */
.form-wrap { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.form-aside { position: sticky; top: 96px; }
.form-aside .eyebrow { margin-bottom: 18px; }
.form-aside h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
.form-aside .lead { margin-top: 16px; color: var(--ink-600); font-size: 1.08rem; }
.form-flow { margin-top: 26px; display: grid; gap: 14px; }
.form-flow li { display: flex; gap: 13px; align-items: flex-start; }
.form-flow .fn { width: 30px; height: 30px; border-radius: 50%; background: var(--navy-800); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: .9rem; display: grid; place-items: center; flex: none; }
.form-flow b { font-family: var(--font-head); color: var(--navy-800); display: block; }
.form-flow span { font-size: .92rem; color: var(--ink-500); }

.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: clamp(24px, 3.4vw, 40px); box-shadow: var(--shadow-md);
}
.form-progress { display: flex; align-items: center; gap: 10px; margin-bottom: 26px; font-size: .88rem; color: var(--ink-500); font-family: var(--font-head); font-weight: 600; }
.form-progress .bar { flex: 1; height: 6px; border-radius: var(--pill); background: var(--line-2); overflow: hidden; }
.form-progress .bar i { display: block; height: 100%; width: 50%; background: linear-gradient(90deg, var(--blue-500), var(--blue-400)); border-radius: inherit; }

.form-legend { font-family: var(--font-head); font-weight: 800; color: var(--navy-800); font-size: 1.16rem; margin: 0 0 4px; }
.form-legend + .sub { color: var(--ink-500); font-size: .94rem; margin-bottom: 20px; }

.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field.col-2 { grid-column: span 2; }
.field label { font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--ink-700); }
.field label .req { color: var(--danger); }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--ink-900);
  background: var(--bg-soft); border: 1.5px solid var(--line); border-radius: var(--r-sm);
  padding: 13px 15px; transition: border-color .18s, box-shadow .18s, background .18s;
}
.field textarea { resize: vertical; min-height: 108px; line-height: 1.55; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue-500); background: #fff; box-shadow: 0 0 0 4px rgba(47,131,255,.14);
}
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--danger); background: #fff; }
.field .err { display: none; font-size: .84rem; color: var(--danger-700); font-weight: 500; }
.field.invalid .err { display: block; }
.counter { align-self: flex-end; font-size: .8rem; color: var(--ink-400); }
.counter.over { color: var(--danger); }

.form-section-title { font-family: var(--font-head); font-weight: 800; color: var(--navy-800); font-size: 1.02rem; margin: 26px 0 14px; padding-top: 22px; border-top: 1px solid var(--line-2); }

.consent { display: grid; gap: 12px; margin: 8px 0 22px; }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: .95rem; color: var(--ink-600); }
.check input { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; flex: none; margin-top: 1px; border: 1.5px solid var(--line); border-radius: 6px; background: var(--bg-soft); display: grid; place-items: center; transition: background .16s, border-color .16s; }
.check input:checked { background: var(--blue-600); border-color: var(--blue-600); }
.check input:checked::after { content: "✓"; color: #fff; font-size: .82rem; font-weight: 800; }
.check.invalid input { border-color: var(--danger); }

.form-foot-note { margin-top: 14px; font-size: .86rem; color: var(--ink-400); text-align: center; }

/* success state */
.form-success { display: none; text-align: center; }
.form-success.is-visible { display: block; animation: fadeUp .5s ease both; }
.form-success .badge { width: 78px; height: 78px; border-radius: 50%; background: var(--success-bg); color: var(--success); display: grid; place-items: center; margin: 0 auto 22px; }
.form-success h3 { font-size: clamp(1.4rem, 3vw, 2rem); color: var(--navy-800); margin-bottom: 12px; }
.form-success p { color: var(--ink-600); max-width: 48ch; margin: 0 auto 10px; }
.next-list { text-align: left; max-width: 460px; margin: 24px auto; display: grid; gap: 12px; }
.next-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-700); font-size: .98rem; }
.next-list .fn { width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--sky-50); color: var(--blue-600); font-family: var(--font-head); font-weight: 800; font-size: .85rem; display: grid; place-items: center; }
.anketa-box { background: var(--sky-50); border: 1px dashed var(--blue-300); border-radius: var(--r); padding: 22px; margin-top: 8px; }
.anketa-box .lbl { font-size: .86rem; color: var(--ink-500); margin-top: 12px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--navy-900); color: #a9c1e6; padding-block: clamp(44px, 6vw, 72px) 30px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 34px; }
.footer__brand img { height: 42px; margin-bottom: 16px; }
.footer__brand p { color: #8ea8cf; font-size: .95rem; max-width: 40ch; }
.footer h4 { color: #fff; font-size: .88rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; font-family: var(--font-head); }
.footer ul { display: grid; gap: 10px; }
.footer a { color: #a9c1e6; font-size: .95rem; transition: color .16s; }
.footer a:hover { color: #fff; }
.footer__contact li { font-size: .95rem; }
.footer__bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(140,190,255,.15); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .86rem; color: #6f8bb4; }

/* ============================================================
   DECK MODE — секции появляются из глубины при скролле
   (включается JS-ом; без JS и при prefers-reduced-motion
   страница остаётся обычным документом)
   ============================================================ */
body.deck-on .deck {
  position: fixed; inset: 0; z-index: 1; overflow: hidden;
  background:
    radial-gradient(1000px 620px at 72% 18%, rgba(26, 60, 130, .45), transparent 62%),
    var(--navy-900);
}
body.deck-on .layer {
  /* opacity вместо visibility: контент остаётся доступным скринридерам и поиску.
     overflow: clip (не hidden!) — слой нельзя проскроллить ни Tab-фокусом, ни Ctrl+F */
  position: absolute; inset: 0; overflow: hidden; overflow: clip;
  background: var(--bg);
  transform-origin: 50% 42%;
  opacity: 0; pointer-events: none;
}
/* секция растягивается на всю высоту слоя — её собственный фон
   закрывает слой целиком, без белых полос сверху и снизу */
body.deck-on .layer__inner { min-height: 100%; display: flex; flex-direction: column; }
body.deck-on .layer__inner > section { flex: 1 0 auto; }
body.deck-on .form-aside { position: static; } /* sticky не работает внутри fixed-слоя */
.deck-spacer { width: 1px; }

/* оживление блоков внутри слоя: каскадное появление по мере скролла */
body.deck-on .blk {
  opacity: 0; transform: translateY(30px);
  transition: opacity .6s cubic-bezier(.22, .7, .3, 1), transform .6s cubic-bezier(.22, .7, .3, 1);
}
body.deck-on .blk-in { opacity: 1; transform: none; }
/* параллакс фото на герое: запас масштаба, чтобы сдвиг не оголял края */
body.deck-on [data-parallax] { scale: 1.16; }

/* плавающая CTA-кнопка (появляется после первого экрана) */
.fab {
  position: fixed; right: clamp(14px, 3vw, 28px); bottom: clamp(14px, 3vw, 26px);
  z-index: 70;
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem;
  color: #fff; background: var(--blue-600);
  padding: 14px 22px; border-radius: var(--pill);
  box-shadow: var(--glow-blue);
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity .35s ease, transform .35s ease, background .2s ease;
}
.fab.is-on { opacity: 1; transform: none; pointer-events: auto; }
.fab:hover { background: var(--blue-500); }

/* индикатор «листайте» */
.deck-hint {
  position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%);
  z-index: 6; pointer-events: none;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 18px; border-radius: var(--pill);
  background: rgba(6, 24, 58, .55); color: #dbe8ff;
  font-family: var(--font-head); font-size: .78rem; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase;
  border: 1px solid rgba(140, 190, 255, .28);
  backdrop-filter: blur(8px);
  transition: opacity .4s ease;
}
.deck-hint svg { display: block; animation: hintBob 1.6s ease-in-out infinite; }
@keyframes hintBob {
  0%, 100% { transform: translateY(-1px); opacity: .45; }
  50%      { transform: translateY(4px);  opacity: 1; }
}
.deck-hint.is-hidden { opacity: 0; }

/* печать: колода раскладывается обратно в обычный документ */
@media print {
  .deck-spacer, .deck-hint, .fab { display: none; }
  body.deck-on .deck { position: static; background: none; }
  body.deck-on .layer {
    position: static; overflow: visible;
    opacity: 1 !important; transform: none !important; pointer-events: auto !important;
  }
  body.deck-on .layer__inner { transform: none !important; padding-top: 0; }
}

/* ============================================================
   Reveal animation
   ============================================================ */
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { order: -1; max-width: 460px; }
  .hero__floatcard { left: 12px; }
  .compare, .powers, .form-wrap, .split-panel { grid-template-columns: 1fr; }
  .split-panel .p-dont { border-left: 0; border-top: 1px solid var(--line); }
  .form-aside { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: span 2; }
}
@media (max-width: 760px) {
  .fin-row { grid-template-columns: 1fr; }
  .tl { grid-template-columns: 1fr; gap: 16px; }
  .tl__day { display: flex; align-items: baseline; gap: 12px; }
  .tl__day span { margin-top: 0; }
  .grid2 { grid-template-columns: 1fr; }
  .field.col-2 { grid-column: span 1; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__brand { grid-column: span 1; }
}
@media (max-width: 460px) {
  .chain__arrow { display: none; }
}

/* ============================================================
   ЛЕВАЯ НАВИГАЦИЯ-РЕЙКА (иконки по секциям, прозрачный фон)
   ============================================================ */
.railnav {
  position: fixed;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 60;
  display: none;
  flex-direction: column;
  gap: 4px;
}
@media (min-width: 1240px) { .railnav { display: flex; } }

.railnav__item {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--ink-900);      /* тёмный значок — по умолчанию (светлые секции) */
  text-decoration: none;
  border-radius: 12px;
  transition: color .2s ease;
}
/* иконка над тёмной секцией (hero / navy band) — белая */
.railnav__item.on-dark { color: #fff; }

.railnav__item svg {
  width: 25px;
  height: 25px;
  /* лёгкая тень для читаемости на пёстрых участках/стыках */
  filter: drop-shadow(0 1px 1.5px rgba(0, 0, 0, .12));
  transition: transform .18s ease;
}
.railnav__item.on-dark svg { filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .35)); }
.railnav__item:hover svg { transform: scale(1.12); }
.railnav__item.is-active { color: var(--blue-600); }
.railnav__item.is-active.on-dark { color: var(--blue-300); }
.railnav__item.is-active::before { background: var(--blue-500); }

/* акцентная полоска у активного раздела */
.railnav__item.is-active::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 50%;
  margin-top: -11px;
  width: 3px;
  height: 22px;
  border-radius: 3px;
  background: var(--blue-500);
}

/* подсказка с названием раздела */
.railnav__item::after {
  content: attr(data-tip);
  position: absolute;
  left: calc(100% + 8px);
  top: 50%;
  transform: translateY(-50%) translateX(-4px);
  white-space: nowrap;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .78rem;
  color: #fff;
  background: rgba(6, 24, 58, .92);
  padding: 5px 9px;
  border-radius: 7px;
  box-shadow: 0 6px 18px rgba(6, 24, 58, .28);
  opacity: 0;
  pointer-events: none;
  transition: opacity .16s ease, transform .16s ease;
}
.railnav__item:hover::after,
.railnav__item:focus-visible::after {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* ---- Правая рейка (внешние ссылки), тот же стиль что и левая ---- */
.railside {
  position: fixed;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 60;
  display: none;
  flex-direction: column;
  gap: 4px;
}
@media (min-width: 1240px) { .railside { display: flex; } }

/* подсказки у правой рейки раскрываются влево */
.railside .railnav__item::after {
  left: auto;
  right: calc(100% + 8px);
  transform: translateY(-50%) translateX(4px);
}
.railside .railnav__item:hover::after,
.railside .railnav__item:focus-visible::after {
  transform: translateY(-50%) translateX(0);
}

/* ============================================================
   Финальная CTA-карточка (вместо формы) — только кнопка на анкету
   ============================================================ */
.cta-final {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(28px, 5vw, 52px);
  box-shadow: var(--shadow-md);
}
.cta-final .eyebrow { margin-bottom: 16px; }
.cta-final h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
.cta-final .lead {
  margin: 16px auto 0;
  max-width: 60ch;
  color: var(--ink-600);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
}
.cta-final__steps {
  display: grid;
  gap: 12px;
  max-width: 460px;
  margin: 26px auto;
  text-align: left;
}
.cta-final__steps > div { display: flex; align-items: center; gap: 12px; }
.cta-final__steps .fn {
  flex: none;
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--sky-50);
  border: 1px solid var(--sky-200);
  color: var(--blue-600);
  font-family: var(--font-head); font-weight: 700; font-size: .9rem;
}
.cta-final__steps p { color: var(--ink-600); font-size: .98rem; }
.cta-final .cta-note { margin-top: 16px; max-width: 52ch; margin-inline: auto; }
