/* ==========================================================================
   CHINIQ.com — design system
   Display: Source Serif 4 · Text: Inter · Utility: JetBrains Mono
   ========================================================================== */

/* ---------- Fonts (self-hosted, работает без внешних CDN) ---------- */
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-cyrillic.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Source Serif';
  src: url('../fonts/serif-latin.woff2') format('woff2');
  font-weight: 200 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+2074, U+20AC, U+2122, U+2212;
}
@font-face {
  font-family: 'Source Serif';
  src: url('../fonts/serif-cyrillic.woff2') format('woff2');
  font-weight: 200 900;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('../fonts/mono-latin.woff2') format('woff2');
  font-weight: 100 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+2074, U+20AC, U+2122;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('../fonts/mono-cyrillic.woff2') format('woff2');
  font-weight: 100 800;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* ---------- Tokens ---------- */
:root {
  --ink: #0a121c;
  --ink-soft: #4c5866;
  --ink-mute: #77828f;
  --navy: #071726;
  --navy-deep: #04101c;
  --navy-soft: #0c2138;
  --blue: #3d6fd8;
  --blue-bright: #6d97f2;
  --blue-tint: #eef2fd;
  --brass: #c2a06a;
  --paper: #f6f5f2;
  --paper-2: #efeeea;
  --white: #fff;
  --line: #e2e1dc;
  --line-dark: rgba(255, 255, 255, 0.1);

  --shell: 1340px;
  --gutter: clamp(20px, 4vw, 56px);
  --radius: 14px;
  --radius-lg: 20px;

  --font-display: 'Source Serif', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --font-text: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.4, 0.5, 1);
  --dur: 0.5s;
}

body.lang-zh {
  --font-display: 'Source Serif', 'Songti SC', 'Noto Serif CJK SC', 'Source Han Serif SC', serif;
  --font-text: 'Inter', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans CJK SC', sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 1.55;
  font-feature-settings: 'cv05', 'ss01';
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, picture { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, blockquote, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}
::selection { background: rgba(61, 111, 216, 0.18); }

.shell { width: min(var(--shell), 100% - var(--gutter) * 2); margin-inline: auto; }
.section { padding: clamp(72px, 9vw, 132px) 0; }
.skip {
  position: fixed; top: -60px; left: 16px; z-index: 200;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px;
  transition: top 0.25s var(--ease);
}
.skip:focus { top: 14px; }

/* ---------- Typography ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.04;
  text-wrap: balance;
}
body.lang-zh .display { letter-spacing: 0; line-height: 1.22; font-weight: 500; }

h1.display { font-size: clamp(2.45rem, 5.5vw, 4.4rem); }
h2.display { font-size: clamp(2.05rem, 4.1vw, 3.4rem); }
h3.display { font-size: clamp(1.5rem, 2.4vw, 2.05rem); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
}
.lead {
  font-size: clamp(1rem, 1.15vw, 1.12rem);
  line-height: 1.66;
  color: var(--ink-soft);
  max-width: 62ch;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
  padding-bottom: clamp(34px, 4vw, 54px);
  margin-bottom: clamp(34px, 4vw, 54px);
  border-bottom: 1px solid var(--line);
}
.section-head .eyebrow { margin-bottom: 14px; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 14px;
  font-weight: 550;
  letter-spacing: -0.005em;
  cursor: pointer;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition: transform 0.35s var(--ease-spring), background 0.3s var(--ease),
    border-color 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.35s var(--ease);
  will-change: transform;
}
.btn .arr { transition: transform 0.4s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn:active { transform: scale(0.985); }

.btn-primary {
  --btn-bg: var(--blue);
  --btn-fg: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18) inset, 0 12px 30px -14px rgba(28, 62, 140, 0.85);
}
.btn-primary::after {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.22), transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.75s var(--ease);
}
.btn-primary:hover { background: #3565cd; box-shadow: 0 18px 38px -16px rgba(28, 62, 140, 0.95); }
.btn-primary:hover::after { transform: translateX(120%); }

.btn-line { border-color: var(--line); background: transparent; }
.btn-line:hover { border-color: var(--ink); }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.22); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.09); border-color: rgba(255, 255, 255, 0.4); }

/* ---------- Progress ---------- */
.progress {
  position: fixed; inset: 0 0 auto; height: 2px; z-index: 120;
  pointer-events: none;
}
.progress span {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--brass), var(--blue-bright));
  transition: width 0.1s linear;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
  background: rgba(6, 19, 33, 0.82);
  backdrop-filter: saturate(140%) blur(16px);
  -webkit-backdrop-filter: saturate(140%) blur(16px);
  border-bottom-color: var(--line-dark);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; height: 78px; color: #fff;
}
.brand { display: inline-flex; align-items: baseline; gap: 1px; }
.brand-word {
  font-size: 26px; font-weight: 700; letter-spacing: -0.045em; line-height: 1;
}
.brand-word em { font-style: normal; color: var(--blue-bright); }
.brand-tld {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0; opacity: 0.62;
}
.nav { display: flex; gap: clamp(14px, 1.8vw, 30px); font-size: 13.5px; color: rgba(255,255,255,0.78); }
.nav a { position: relative; padding: 6px 0; transition: color 0.25s var(--ease); }
.nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--blue-bright); transform: scaleX(0); transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.nav a:hover { color: #fff; }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header-right { display: flex; align-items: center; gap: 16px; }
.langs { display: flex; gap: 4px; }
.lang {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em;
  padding: 5px 8px; border-radius: 6px; color: rgba(255,255,255,0.6);
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}
.lang:hover { color: #fff; background: rgba(255,255,255,0.08); }
.lang.is-active { color: #fff; background: rgba(255,255,255,0.12); }

.burger {
  display: none; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,0.2);
  border-radius: 10px; background: transparent; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.burger span {
  display: block; width: 16px; height: 1.5px; background: #fff; border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease);
}
.burger[aria-expanded='true'] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.burger[aria-expanded='true'] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 78px 0 auto; z-index: 99;
  background: rgba(5, 16, 28, 0.97);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line-dark);
  padding: 20px var(--gutter) 28px;
  display: grid; gap: 18px; color: #fff;
  animation: sheet 0.45s var(--ease) both;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: grid; gap: 2px; }
.mobile-menu nav a {
  padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.07); font-size: 17px;
}
.mobile-langs { display: flex; gap: 6px; }
@keyframes sheet { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: clamp(640px, 96svh, 940px);
  display: flex; align-items: center;
  background: var(--navy-deep);
  color: #fff;
  overflow: hidden;
  padding: 120px 0 64px;
}
.hero-bg { position: absolute; inset: 0; }
.hero-image { position: absolute; inset: 0; height: 100%; }
.hero-image img {
  width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%;
  transform: scale(1.06);
  animation: heroZoom 22s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(4, 14, 26, 0.97) 8%, rgba(4, 14, 26, 0.86) 38%, rgba(4, 14, 26, 0.34) 68%, rgba(4, 14, 26, 0.62) 100%),
    radial-gradient(120% 80% at 12% 40%, rgba(11, 34, 62, 0.7), transparent 60%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.028) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(115deg, rgba(0,0,0,0.9), transparent 62%);
  -webkit-mask-image: linear-gradient(115deg, rgba(0,0,0,0.9), transparent 62%);
}
.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 48px; align-items: center;
}
.hero .eyebrow { color: #8fadf5; }
.hero h1 { margin: 20px 0 26px; max-width: 17ch; }
.hero-lead { font-size: clamp(1.02rem, 1.35vw, 1.19rem); line-height: 1.62; color: #c2cfdd; max-width: 54ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-actions .btn-line { border-color: rgba(255,255,255,0.24); color: #fff; }
.hero-actions .btn-line:hover { border-color: rgba(255,255,255,0.55); background: rgba(255,255,255,0.06); }
.hero-notes {
  display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 46px;
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.02em; color: #8496a9;
}
.hero-notes li { display: flex; align-items: center; gap: 9px; }
.hero-notes li::before {
  content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--brass);
}

/* Signature: коридор Китай ↔ Россия */
.corridor {
  align-self: end; justify-self: end;
  width: min(420px, 100%);
  padding: 20px 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(6, 18, 32, 0.42);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.corridor-label {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--brass);
}
.corridor-rail {
  position: relative; height: 1px; margin: 26px 0 14px;
  background: linear-gradient(90deg, rgba(194,160,106,0.55), rgba(143,178,255,0.55));
}
.corridor-rail .dot {
  position: absolute; top: 50%; width: 7px; height: 7px; border-radius: 50%;
  transform: translate(-50%, -50%); background: #dbe6ff;
  box-shadow: 0 0 0 4px rgba(143, 178, 255, 0.16);
}
.corridor-rail .dot:first-child { left: 0; background: var(--brass); box-shadow: 0 0 0 4px rgba(194,160,106,0.16); }
.corridor-rail .dot:nth-child(2) { left: 100%; }
.corridor-rail .pulse {
  position: absolute; top: 50%; left: 0; width: 5px; height: 5px; border-radius: 50%;
  background: #fff; transform: translate(-50%, -50%);
  box-shadow: 0 0 12px 3px rgba(160, 195, 255, 0.75);
  animation: corridorFlow 5.2s cubic-bezier(0.6, 0, 0.4, 1) infinite;
}
@keyframes corridorFlow {
  0% { left: 0; opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}
.corridor-nodes {
  display: flex; justify-content: space-between; gap: 12px;
  font-family: var(--font-mono); font-size: 10.5px; color: #9fb0c4; letter-spacing: 0.04em;
}

/* ---------- Trust bar ---------- */
.trust { background: var(--navy); color: #fff; border-bottom: 1px solid var(--line-dark); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 26px clamp(18px, 2.2vw, 30px) 26px 0;
  border-right: 1px solid var(--line-dark);
}
.trust-item:last-child { border-right: 0; }
.trust-item:not(:first-child) { padding-left: clamp(18px, 2.2vw, 30px); }
.trust-item b { display: block; font-size: 14px; font-weight: 550; }
.trust-item span { display: block; margin-top: 3px; font-size: 12.5px; color: #8b9bad; line-height: 1.45; }
.ico { width: 24px; height: 24px; flex: none; fill: none; stroke: var(--blue-bright); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- About ---------- */
.about { background: var(--white); }
.about-grid {
  display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(36px, 6vw, 92px);
}
.about-left .eyebrow { margin-bottom: 16px; }
.statement {
  margin-top: 32px; padding-left: 22px;
  border-left: 2px solid var(--brass);
  font-family: var(--font-display); font-size: clamp(1.22rem, 1.9vw, 1.6rem);
  line-height: 1.38; color: #16202d;
}
.about-right .lead + .lead { margin-top: 18px; }
.proof-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px; margin-top: 38px;
}
.proof {
  padding: 24px; border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(165deg, #fbfbfa, #f4f4f1);
  transition: transform 0.5s var(--ease), border-color 0.4s var(--ease), box-shadow 0.5s var(--ease);
}
.proof:hover {
  transform: translateY(-3px);
  border-color: #cfd6e2;
  box-shadow: 0 22px 40px -32px rgba(10, 25, 50, 0.5);
}
.proof-n {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; color: var(--brass);
  display: block; margin-bottom: 30px;
}
.proof h3 { font-size: 15.5px; font-weight: 600; margin-bottom: 7px; }
.proof p { font-size: 13.4px; line-height: 1.55; color: var(--ink-mute); }

/* ---------- Cycle rail (signature) ---------- */
.cycle { background: var(--paper); }
.rail { position: relative; }
.rail-line {
  position: absolute; left: 0; right: 0; top: 34px; height: 1px;
  background: var(--line);
}
.rail-line span {
  display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--brass), var(--blue));
  transition: width 0.25s linear;
}
.steps {
  display: grid; grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 22px);
}
.step { position: relative; padding-top: 64px; }
.step-n {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; color: var(--ink-mute);
  position: absolute; top: 0; left: 0;
}
.step-dot {
  position: absolute; top: 30px; left: 0; width: 9px; height: 9px; border-radius: 50%;
  background: var(--paper); border: 1px solid #c8ccd3;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.4s var(--ease-spring);
}
.step.is-active .step-dot { background: var(--blue); border-color: var(--blue); transform: scale(1.25); }
.step.is-active .step-n { color: var(--blue); }
.step h3 { font-size: 14.5px; font-weight: 600; margin-bottom: 8px; letter-spacing: -0.01em; }
.step p { font-size: 12.8px; line-height: 1.55; color: var(--ink-mute); }

/* ---------- Focus bento ---------- */
.focus { background: var(--white); }
.focus-grid {
  display: grid; grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}
.focus-card {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  min-height: 380px; color: #fff; isolation: isolate;
  background: #0a121c;
}
.focus-card:nth-child(1) { grid-column: span 5; }
.focus-card:nth-child(2) { grid-column: span 7; }
.focus-card:nth-child(3) { grid-column: span 4; }
.focus-card:nth-child(4) { grid-column: span 4; }
.focus-card:nth-child(5) { grid-column: span 4; }
.focus-media { position: absolute; inset: 0; height: 100%; }
.focus-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s var(--ease), filter 0.6s var(--ease);
}
.focus-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(4, 12, 22, 0.92) 4%, rgba(4, 12, 22, 0.5) 34%, rgba(4, 12, 22, 0.04) 68%);
}
.focus-card:hover .focus-media img { transform: scale(1.045); }
.focus-copy {
  position: absolute; z-index: 2; inset: auto 26px 24px; 
}
.focus-index {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.16em; color: var(--brass);
  display: block; margin-bottom: 10px;
}
.focus-card h3 {
  font-family: var(--font-display); font-weight: 400; letter-spacing: -0.02em;
  font-size: clamp(1.35rem, 2vw, 1.78rem); line-height: 1.1; margin-bottom: 8px;
}
body.lang-zh .focus-card h3 { letter-spacing: 0; }
.focus-card p { font-size: 13.2px; line-height: 1.55; color: #ccd6e0; max-width: 44ch; }

/* ---------- Market / CHINIQ.ru ---------- */
.market { background: var(--navy); color: #fff; overflow: hidden; }
.market-grid {
  display: grid; grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(36px, 5vw, 76px); align-items: center;
}
.market .eyebrow { color: #8fadf5; }
.market h2 { margin: 14px 0 20px; }
.market .lead { color: #b9c6d5; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 30px; }
.chips li {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.02em;
  padding: 8px 12px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.04); color: #cdd9e6;
}
.showcase {
  position: relative; margin: 0; border-radius: 18px; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 60px 90px -50px rgba(0,0,0,0.9);
  transition: transform 0.9s var(--ease), border-color 0.6s var(--ease);
}
.showcase::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, rgba(255,255,255,0.09), transparent 42%);
}
.showcase:hover { transform: translateY(-4px); border-color: rgba(143,178,255,0.34); }
.showcase img { width: 100%; height: auto; }
.showcase figcaption {
  position: absolute; left: 16px; bottom: 14px; z-index: 2;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.16em;
  text-transform: uppercase; color: rgba(255,255,255,0.62);
}

/* ---------- Team ---------- */
.team { background: var(--paper-2); }
.team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.team-panel {
  position: relative; overflow: hidden;
  padding: clamp(28px, 3.4vw, 46px);
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, var(--navy-soft), var(--navy-deep));
  color: #fff;
}
.team-panel::after {
  content: ''; position: absolute; width: 420px; height: 420px; right: -170px; top: -200px;
  border-radius: 50%; background: radial-gradient(circle, rgba(85,127,224,0.3), transparent 62%);
}
.team-panel .eyebrow { color: #8fadf5; }
.team-panel h3 { margin: 14px 0 18px; }
.team-panel p { color: #c1cddb; font-size: 15px; line-height: 1.62; max-width: 46ch; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; position: relative; z-index: 2; }
.tags li {
  font-size: 12.5px; padding: 9px 13px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.16); background: rgba(255,255,255,0.05); color: #e2e9f2;
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease-spring);
}
.tags li:hover { border-color: rgba(255,255,255,0.4); transform: translateY(-2px); }
.disclaimer { margin-top: 22px; font-size: 11.5px !important; color: #8090a3 !important; line-height: 1.5; }
.competencies { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.competency {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; display: flex; flex-direction: column;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.4s var(--ease);
}
.competency:hover { transform: translateY(-3px); box-shadow: 0 26px 44px -34px rgba(10,25,50,0.5); border-color: #d3d9e4; }
.competency .ico { stroke: var(--blue); margin-bottom: auto; }
.competency h3 { font-size: 15.5px; font-weight: 600; margin: 34px 0 7px; }
.competency p { font-size: 13.2px; line-height: 1.55; color: var(--ink-mute); }

/* ---------- Partnership + form ---------- */
.partner {
  background: linear-gradient(140deg, #061625 0%, #0b2138 58%, #071a2c 100%);
  color: #fff; position: relative; overflow: hidden;
}
.partner::before {
  content: ''; position: absolute; width: 640px; height: 640px; right: -240px; bottom: -320px;
  border: 1px solid rgba(93,135,230,0.16); border-radius: 50%;
  box-shadow: 0 0 0 80px rgba(93,135,230,0.03), 0 0 0 170px rgba(93,135,230,0.02);
}
.partner-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(36px, 5vw, 82px);
}
.partner .eyebrow { color: #8fadf5; }
.partner h2 { margin: 14px 0 20px; }
.partner .lead { color: #bccadb; }
.points { display: grid; gap: 16px; margin-top: 34px; }
.point { display: flex; gap: 16px; align-items: flex-start; }
.point-n { font-family: var(--font-mono); font-size: 11px; color: var(--brass); padding-top: 2px; }
.point b { display: block; font-size: 14.5px; font-weight: 550; margin-bottom: 2px; }
.point span { display: block; font-size: 13.4px; color: #a9b8c9; line-height: 1.5; }
.mail {
  display: inline-flex; flex-direction: column; gap: 3px; margin-top: 34px;
  font-size: 17px; color: #fff; border-bottom: 1px solid rgba(255,255,255,0.22); padding-bottom: 6px;
  transition: border-color 0.3s var(--ease);
}
.mail span { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: #8496a9; }
.mail:hover { border-color: var(--blue-bright); }

.form-card {
  background: var(--white); color: var(--ink);
  border-radius: var(--radius-lg); padding: clamp(22px, 2.6vw, 36px);
  box-shadow: 0 50px 90px -50px rgba(0,0,0,0.7);
  position: relative;
}
.form-title { font-size: 17px; font-weight: 600; margin-bottom: 20px; letter-spacing: -0.01em; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field > span { font-size: 12px; font-weight: 550; color: #46525f; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px;
  border: 1px solid #dcdfe4; background: #fbfbfa;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
  font-size: 14.5px;
}
.field textarea { resize: vertical; min-height: 108px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #c6cbd3; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; background: #fff; border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(61,111,216,0.12);
}
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #cf4747; box-shadow: 0 0 0 3px rgba(207,71,71,0.1); }
.err { display: none; font-style: normal; font-size: 11.5px; color: #c23c3c; }
.has-error .err, .consent.has-error .err { display: block; }

.consent { margin-top: 2px; }
.checkbox { display: flex; gap: 11px; align-items: flex-start; cursor: pointer; }
.checkbox input { position: absolute; opacity: 0; width: 0; height: 0; }
.box {
  flex: none; width: 19px; height: 19px; border-radius: 6px; border: 1px solid #ccd1d8;
  background: #fbfbfa; display: grid; place-items: center; margin-top: 1px;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.3s var(--ease-spring);
}
.box svg { width: 12px; height: 12px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 18; stroke-dashoffset: 18; transition: stroke-dashoffset 0.32s var(--ease) 0.04s; }
.checkbox input:checked + .box { background: var(--blue); border-color: var(--blue); transform: scale(1.04); }
.checkbox input:checked + .box svg { stroke-dashoffset: 0; }
.checkbox input:focus-visible + .box { outline: 2px solid var(--blue); outline-offset: 3px; }
.consent.has-error .box { border-color: #cf4747; }
.consent-text { font-size: 12.4px; line-height: 1.5; color: #5b6673; }
.policy-open {
  background: none; border: 0; padding: 0; cursor: pointer;
  color: var(--blue); text-decoration: underline; text-underline-offset: 2px;
  font-size: inherit; text-align: left;
}
.policy-open:hover { color: #2b56b0; }

.form-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 4px; }
.required-mark { font-size: 11.5px; color: var(--ink-mute); }
.btn-submit .spinner {
  position: absolute; width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.35); border-top-color: #fff;
  opacity: 0; animation: spin 0.7s linear infinite;
}
.btn-submit.is-busy .btn-label, .btn-submit.is-busy .arr { opacity: 0; }
.btn-submit.is-busy .spinner { opacity: 1; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-done { text-align: center; padding: clamp(26px, 4vw, 52px) 12px; animation: doneIn 0.6s var(--ease) both; }
.form-done[hidden] { display: none; }
.done-mark {
  width: 54px; height: 54px; border-radius: 50%; margin: 0 auto 20px;
  background: rgba(31,110,100,0.1); display: grid; place-items: center;
}
.done-mark svg { width: 26px; height: 26px; fill: none; stroke: #1f6e64; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 30; animation: draw 0.6s var(--ease) 0.15s both; }
@keyframes draw { from { stroke-dashoffset: 30; } to { stroke-dashoffset: 0; } }
@keyframes doneIn { from { opacity: 0; transform: translateY(10px) scale(0.985); } to { opacity: 1; transform: none; } }
.form-done h3 { font-size: 19px; font-weight: 600; margin-bottom: 8px; }
.form-done p { font-size: 14px; color: var(--ink-soft); max-width: 42ch; margin-inline: auto; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #8496a9; padding: 52px 0 40px; }
.footer-grid {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px; align-items: start;
}
.footer-brand { color: #fff; }
.footer-tagline { margin-top: 10px; font-size: 13px; max-width: 34ch; line-height: 1.55; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 20px; font-size: 13px; }
.footer-links a:hover, .footer-links button:hover { color: #fff; }
.footer-links button {
  background: none; border: 0; padding: 0; cursor: pointer; font-size: 13px; color: inherit;
}
.footer-legal { font-size: 12px; line-height: 1.6; }
.footer-legal p + p { margin-top: 4px; }
.footer-langs { display: flex; gap: 4px; margin-top: 14px; }

/* ---------- Policy dialog ---------- */
.policy {
  width: min(760px, calc(100% - 32px));
  max-height: min(86vh, 900px);
  padding: 0; border: 0; border-radius: 18px;
  background: var(--white); color: var(--ink);
  box-shadow: 0 60px 120px -40px rgba(0,0,0,0.55);
  overflow: hidden;
}
.policy::backdrop { background: rgba(5, 14, 24, 0.55); backdrop-filter: blur(6px); }
.policy[open] { display: flex; flex-direction: column; animation: dialogIn 0.42s var(--ease) both; }
.policy[open]::backdrop { animation: fadeIn 0.35s var(--ease) both; }
@keyframes dialogIn { from { opacity: 0; transform: translateY(14px) scale(0.985); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.policy-head {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 20px;
  padding: 24px 26px 18px; border-bottom: 1px solid var(--line);
}
.policy-head h2 { font-family: var(--font-display); font-size: 21px; font-weight: 500; letter-spacing: -0.015em; line-height: 1.25; }
.policy-head p { font-size: 12.5px; color: var(--ink-mute); margin-top: 4px; }
.policy-close {
  flex: none; width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line);
  background: transparent; cursor: pointer; display: grid; place-items: center;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}
.policy-close:hover { background: var(--paper); border-color: #cfd4dc; }
.policy-close svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.policy-body { overflow-y: auto; padding: 22px 26px; font-size: 13.6px; line-height: 1.66; color: #3d4855; }
.policy-body h3 { font-size: 14.5px; font-weight: 600; color: var(--ink); margin: 22px 0 8px; }
.policy-body h3:first-child { margin-top: 0; }
.policy-body p + p { margin-top: 8px; }
.policy-body ul { margin: 8px 0 8px 4px; display: grid; gap: 5px; }
.policy-body li { padding-left: 16px; position: relative; }
.policy-body li::before { content: ''; position: absolute; left: 2px; top: 9px; width: 4px; height: 4px; border-radius: 50%; background: var(--brass); }
.policy-updated { margin-top: 22px; font-style: italic; color: var(--ink-mute); }
.policy-foot {
  display: flex; justify-content: flex-end; gap: 10px;
  padding: 16px 26px; border-top: 1px solid var(--line); background: var(--paper);
}

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 300;
  transform: translate(-50%, 16px);
  background: rgba(10, 20, 32, 0.96); color: #fff;
  padding: 13px 20px; border-radius: 12px; font-size: 13.5px;
  box-shadow: 0 22px 50px -20px rgba(0,0,0,0.6);
  opacity: 0; transition: opacity 0.35s var(--ease), transform 0.45s var(--ease-spring);
  max-width: calc(100% - 32px);
}
.toast[hidden] { display: none; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Image blur-up ---------- */
.ph { position: relative; overflow: hidden; background-size: cover; background-position: center; }
.ph::after {
  content: ''; position: absolute; inset: 0;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: opacity 0.6s var(--ease);
}
.ph.is-loaded::after { opacity: 0; }
.ph img { opacity: 0; transition: opacity 0.7s var(--ease); }
.ph.is-loaded img { opacity: 1; }

/* ---------- Motion primitives ---------- */
[data-motion] { will-change: transform, opacity; }
[data-motion='rise'], [data-motion='fade'] { opacity: 0; }
[data-motion='rise'] { transform: translateY(22px); filter: blur(6px); }
[data-motion='fade'] { filter: blur(8px); }
[data-motion].is-in {
  opacity: 1; transform: none; filter: none;
  transition: opacity 0.85s var(--ease), transform 0.95s var(--ease), filter 0.9s var(--ease);
}
.line-wrap { display: block; overflow: hidden; padding: 0.03em 0.16em; margin: -0.03em -0.16em; }
.line-inner { display: block; transform: translateY(105%); }
[data-motion='lines'].is-in .line-inner {
  transform: none;
  transition: transform 1.05s var(--ease);
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .corridor { justify-self: start; }
  .hero h1 { max-width: 20ch; }
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 34px; }
  .rail-line { display: none; }
  .step { padding-top: 30px; border-top: 1px solid var(--line); }
  .step-n { top: 12px; }
  .step-dot { display: none; }
  .step:nth-child(n) { padding-top: 42px; }
}

@media (max-width: 980px) {
  .nav { display: none; }
  .burger { display: flex; }
  .header-cta { display: none; }
  .header-inner { height: 68px; }
  .mobile-menu { top: 68px; }
  .section-head { grid-template-columns: 1fr; align-items: start; gap: 20px; }
  .about-grid, .market-grid, .team-grid, .partner-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line-dark); }
  .trust-item:nth-child(3) { padding-left: 0; }
  .focus-card:nth-child(1), .focus-card:nth-child(2) { grid-column: span 12; }
  .focus-card:nth-child(n+3) { grid-column: span 6; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
}

@media (max-width: 720px) {
  .hero { min-height: auto; padding: 108px 0 56px; }
  .hero-image img { object-position: 66% 50%; }
  .hero-notes { flex-direction: column; gap: 8px; margin-top: 34px; }
  .hero-actions .btn { width: 100%; }
  .langs { display: none; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { border-right: 0 !important; border-bottom: 1px solid var(--line-dark); padding-left: 0 !important; }
  .trust-item:last-child { border-bottom: 0; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof-grid, .competencies, .form-grid { grid-template-columns: 1fr; }
  .focus-card:nth-child(n) { grid-column: span 12; min-height: 330px; }
  .focus-copy { inset: auto 20px 20px; }
  .statement { font-size: 1.16rem; }
  .policy-head, .policy-body, .policy-foot { padding-inline: 18px; }
  .policy-foot .btn { flex: 1; }
  .form-actions { flex-direction: column; align-items: stretch; }
  .form-actions .btn { width: 100%; }
  .required-mark { text-align: center; }
}

@media (max-width: 420px) {
  .steps { grid-template-columns: 1fr; }
  .brand-word { font-size: 23px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-motion] { opacity: 1 !important; transform: none !important; filter: none !important; }
  .line-inner { transform: none !important; }
  .hero-image img { transform: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .mobile-menu, .progress, .toast, .form-card, .policy { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ---------- Тонкая настройка для китайской версии ---------- */
html[lang="zh"] .eyebrow,
html[lang="zh"] .corridor-label,
html[lang="zh"] .corridor-nodes,
html[lang="zh"] .step-num,
html[lang="zh"] .card-num { letter-spacing: 0.1em; }
html[lang="zh"] .display { letter-spacing: -0.01em; }

@media (max-width: 420px) {
  .eyebrow { letter-spacing: 0.14em; }
  .hero-notes { font-size: 11px; }
}
