/* ==========================================================================
   湖南华邦互联网科技有限公司 · 官网设计系统
   HuaBang Internet Technology — Design System v1.0
   Palette / Type / Spacing / Components
   ========================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
  /* brand */
  --navy: #181a1e;
  --navy-deep: #12203A;
  --blue: #0052D9;
  --blue-soft: #3D7BF0;
  --blue-wash: rgba(0, 82, 217, 0.08);

  /* surfaces */
  --white: #ffffff;
  --section: #F3F7FF;
  --section-2: #F8FBFF;

  /* text */
  --ink: #26292f;
  --heading: #181a1e;
  --muted: #5A6B82;
  --muted-2: #8696AB;

  /* lines */
  --line: rgba(26, 43, 74, 0.1);
  --line-strong: rgba(26, 43, 74, 0.18);
  --line-light: rgba(255, 255, 255, 0.14);

  /* geometry */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --container: 1600px;
  --gutter: clamp(20px, 4vw, 40px);

  /* elevation */
  --shadow-1: 0 1px 2px rgba(26, 43, 74, 0.04);
  --shadow-2: 0 12px 32px -12px rgba(26, 43, 74, 0.16);
  --shadow-3: 0 32px 80px -32px rgba(26, 43, 74, 0.28);

  /* type */
  --font-sans: "Inter", "HarmonyOS Sans SC", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Source Han Sans SC", "Noto Sans SC", system-ui, -apple-system,
    "Segoe UI", Roboto, sans-serif;
  --font-mono: "SFMono-Regular", "JetBrains Mono", "Cascadia Mono", Consolas, monospace;

  /* rhythm */
  --section-y: clamp(40px, 4.4vw, 64px);
  --header-h: 72px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*,
*::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;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; }
li { list-style: none; }

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

::selection { background: rgba(0, 82, 217, 0.18); }

/* ---------- 2. Layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow { max-width: 880px; }
.container--wide { max-width: 1600px; }

.section { padding-block: var(--section-y); position: relative; }
.section--tint { background: var(--section); }
.section--soft { background: var(--section-2); }
.section--tight { padding-block: clamp(34px, 4vw, 52px); }
.section--flush-bottom { padding-bottom: 0; }

.grid { display: grid; gap: clamp(20px, 3vw, 36px); }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

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

.skip-link {
  position: absolute; top: -60px; left: 16px; z-index: 999;
  background: var(--navy); color: #fff; padding: 10px 18px; border-radius: 6px;
  font-size: 14px; transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ---------- 3. Typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--blue);
  font-family: var(--font-sans);
}
.eyebrow::before {
  content: ""; width: 24px; height: 1px; background: var(--blue); opacity: 0.7;
}
.eyebrow--light { color: #7FB2FF; }
.eyebrow--light::before { background: #7FB2FF; }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--heading);
}
h1 { font-size: clamp(32px, 4.1vw, 52px); line-height: 1.12; }
h2 { font-size: clamp(26px, 3.2vw, 40px); }
h3 { font-size: clamp(19px, 1.9vw, 24px); letter-spacing: -0.01em; }
h4 { font-size: 17px; }

.display {
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.035em;
  font-weight: 600;
}

.lead {
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.8;
  color: var(--muted);
  max-width: 62ch;
}
.body { color: var(--muted); }
.small { font-size: 14px; color: var(--muted); line-height: 1.7; }
.mono { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.02em; }

.section-head { max-width: 760px; margin-bottom: clamp(28px, 3vw, 40px); }
.section-head h2 { margin-block: 14px 18px; }
.section-head p { margin: 0; color: var(--muted); font-size: 16.5px; line-height: 1.8; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--split {
  max-width: none; display: grid; gap: 24px;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: end;
}
.section-head--split p { margin: 0; }

/* ---------- 4. Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px -18px rgba(26, 43, 74, 0.3);
}
.header__inner {
  height: 100%;
  display: flex; align-items: center; gap: 32px;
}

.brand {
  display: inline-flex; align-items: center; gap: 14px;
  flex-shrink: 0;
}
.brand__mark {
  width: 52px; height: 52px; flex-shrink: 0;
  display: grid; place-items: center;
  object-fit: contain;
}
.brand--light .brand__mark {
  background: #fff; border-radius: 10px; padding: 4px;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.12; }
.brand__name {
  font-size: 18.5px; font-weight: 600; color: var(--heading); letter-spacing: 0.01em;
}
.header .brand__name { font-size: 16.5px; max-width: 280px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand__en {
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted-2); margin-top: 5px;
}
.brand--light .brand__name { color: #fff; }
.brand--light .brand__en { color: rgba(255, 255, 255, 0.5); }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 6px;
  font-size: 14.5px; font-weight: 500; color: var(--ink);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
  white-space: nowrap;
}
.nav__link:hover { color: var(--blue); background: var(--blue-wash); }
.nav__link.is-active { color: var(--navy); font-weight: 600; }
.nav__link.is-active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px;
  height: 2px; background: var(--blue); border-radius: 2px;
}
.nav__caret {
  width: 9px; height: 9px; opacity: 0.5;
  transition: transform 0.25s var(--ease);
}
.nav__item:hover .nav__caret { transform: rotate(180deg); opacity: 0.9; }

.dropdown {
  position: absolute; top: calc(100% + 10px); left: -12px;
  min-width: 300px; padding: 10px;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-md); box-shadow: var(--shadow-2);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: all 0.22s var(--ease);
}
.nav__item:hover .dropdown,
.nav__item:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown__link {
  display: flex; flex-direction: column; gap: 2px;
  padding: 10px 12px; border-radius: 8px;
  transition: background 0.18s var(--ease);
}
.dropdown__link:hover { background: var(--section); }
.dropdown__title { font-size: 14px; font-weight: 600; color: var(--navy); }
.dropdown__desc { font-size: 12.5px; color: var(--muted-2); line-height: 1.5; }
.dropdown--cols { min-width: 520px; display: grid; grid-template-columns: 1fr 1fr; }

.header__actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.lang {
  display: inline-flex; align-items: center;
  border: 1px solid var(--line); border-radius: 999px;
  padding: 2px; font-size: 12px; font-weight: 600;
}
.lang a {
  padding: 5px 10px; border-radius: 999px; color: var(--muted);
  transition: all 0.2s var(--ease);
}
.lang a.is-on { background: var(--navy); color: #fff; }

/* mobile nav */
.burger {
  display: none; width: 40px; height: 40px; border: 0; background: transparent;
  align-items: center; justify-content: center; cursor: pointer;
}
.burger span { display: block; width: 22px; height: 2px; background: var(--navy); position: relative; }
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: var(--navy);
  transition: transform 0.25s var(--ease);
}
.burger span::before { top: -7px; }
.burger span::after { top: 7px; }

.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
  background: #fff; padding: 24px var(--gutter) 40px;
  overflow-y: auto; transform: translateY(-8px); opacity: 0;
  visibility: hidden; transition: all 0.28s var(--ease);
}
.mobile-nav.is-open { transform: none; opacity: 1; visibility: visible; }
.mobile-nav a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 0; border-bottom: 1px solid var(--line);
  font-size: 16px; color: var(--navy); font-weight: 500;
}
.mobile-nav .sub { padding-left: 16px; font-size: 14px; color: var(--muted); font-weight: 400; }
.mobile-nav .ic { width: 16px; height: 16px; flex-shrink: 0; }

/* ---------- 5. Buttons & CTA ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 24px; border-radius: 6px;
  font-size: 14.5px; font-weight: 600; letter-spacing: 0.01em;
  border: 1px solid transparent; cursor: pointer;
  transition: all 0.22s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 14px; height: 14px; transition: transform 0.22s var(--ease); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px -14px rgba(0, 82, 217, 0.5); }
.btn--primary:hover { background: #0046B8; transform: translateY(-1px); box-shadow: 0 16px 30px -14px rgba(0, 82, 217, 0.45); }
.btn--primary:hover svg { transform: translateX(3px); }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: #0046B8; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--navy); background: rgba(26, 43, 74, 0.04); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: #EAF2FF; }
.btn--on-dark { background: rgba(255, 255, 255, 0.1); color: #fff; border-color: rgba(255, 255, 255, 0.24); }
.btn--on-dark:hover { background: rgba(255, 255, 255, 0.18); }
.btn--sm { height: 40px; padding: 0 16px; font-size: 13.5px; }
.btn--lg { height: 54px; padding: 0 30px; font-size: 15px; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--navy);
  transition: gap 0.2s var(--ease), color 0.2s var(--ease);
}
.link-arrow:hover { gap: 12px; color: var(--blue); }
.link-arrow svg { width: 13px; height: 13px; }

/* ---------- 6. Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding-top: clamp(56px, 7vw, 96px);
  padding-bottom: clamp(56px, 7vw, 104px);
  background: linear-gradient(160deg, #EEF4FF 0%, #F6FAFF 42%, #FFFFFF 100%);
  border-bottom: 1px solid var(--line);
}
.hero__bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(72% 92% at 88% 6%, rgba(0, 82, 217, 0.14), transparent 62%),
    radial-gradient(52% 62% at 2% 100%, rgba(61, 123, 240, 0.1), transparent 70%);
}
.hero__grid {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.55;
  background-image:
    linear-gradient(to right, rgba(26, 43, 74, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(26, 43, 74, 0.055) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: radial-gradient(80% 70% at 50% 40%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(80% 70% at 50% 40%, #000 30%, transparent 100%);
}
.hero__inner {
  position: relative; display: grid; gap: clamp(32px, 5vw, 64px);
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
}
.hero__copy { max-width: 640px; }
.hero__title { margin-block: 22px 26px; }
.hero__title em {
  font-style: normal; color: var(--blue);
}
.hero__desc { font-size: clamp(16px, 1.5vw, 18px); color: var(--muted); line-height: 1.85; max-width: 56ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__meta {
  display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 44px;
  padding-top: 26px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--muted-2); letter-spacing: 0.01em;
}
.hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta i {
  width: 5px; height: 5px; background: var(--blue); border-radius: 50%;
  display: inline-block; opacity: 0.6;
}

/* hero visual: platform stack */
.stack {
  position: relative; padding: 20px;
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, #F0F6FF 0%, #E6F0FF 55%, #f8fbff 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-3);
}
.stack__bar {
  display: flex; align-items: center; gap: 8px;
  padding: 0 4px 16px;
}
.stack__dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(26, 43, 74, 0.18); }
.stack__bar-title {
  margin-left: 6px; font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.08em; color: var(--muted-2); text-transform: uppercase;
}
.stack__layers { display: grid; gap: 10px; }
.layer {
  position: relative; display: grid; grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center; gap: 14px;
  padding: 14px 16px; border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(26, 43, 74, 0.09);
  box-shadow: var(--shadow-1);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.layer:hover, .layer.is-hot {
  border-color: rgba(0, 82, 217, 0.45);
  transform: translateX(-4px);
  box-shadow: 0 10px 26px -16px rgba(0, 82, 217, 0.55);
}
.layer__tag {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em;
  color: var(--muted-2); border-right: 1px solid var(--line);
  padding-right: 12px; text-align: left;
}
.layer__name { font-size: 14px; font-weight: 600; color: var(--navy); }
.layer__sub { display: block; font-size: 11.5px; font-weight: 400; color: var(--muted-2); margin-top: 2px; }
.layer__chips { display: flex; gap: 4px; }
.layer__chip {
  width: 6px; height: 18px; border-radius: 2px; background: rgba(0, 82, 217, 0.16);
}
.layer__chip.is-live { background: var(--blue); opacity: 0.75; }
.stack__foot {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 16px; padding: 12px 6px 0; border-top: 1px dashed var(--line);
  font-family: var(--font-mono); font-size: 10.5px; color: var(--muted-2); letter-spacing: 0.06em;
}
.stack__foot strong { color: var(--blue); font-weight: 600; }

/* hero 变体：内页 banner */
.page-hero {
  position: relative; overflow: hidden;
  padding-top: clamp(40px, 5vw, 64px);
  padding-bottom: clamp(40px, 5vw, 64px);
  background: var(--section-2);
  border-bottom: 1px solid var(--line);
}
.page-hero__bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 100% at 100% 0%, rgba(0, 82, 217, 0.09), transparent 60%),
    linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.6));
}
.page-hero__grid {
  position: absolute; inset: 0; opacity: 0.4; pointer-events: none;
  background-image: linear-gradient(to right, rgba(26, 43, 74, 0.06) 1px, transparent 1px);
  background-size: 96px 100%;
}
.page-hero__inner { position: relative; display: grid; gap: 32px; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr); align-items: center; }
.page-hero h1 { margin-block: 15px 15px; font-size: clamp(30px, 3.8vw, 46px); }
.page-hero p { margin: 0; color: var(--muted); font-size: 16.5px; line-height: 1.8; max-width: 60ch; }
.page-hero__aside { display: flex; flex-direction: column; gap: 18px; align-items: stretch; }

.hero-visual svg { width: 100%; height: auto; display: block; }
.hero-visual img { width: 100%; height: auto; display: block; border-radius: 12px; }

/* dark hero for solution pages */
.hero-dark {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(150deg, #123E80 0%, #1A56A8 48%, #2E78D6 100%);
  padding-block: clamp(56px, 7vw, 104px);
}
.hero-dark__bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 80% at 78% 20%, rgba(0, 82, 217, 0.42), transparent 65%),
    radial-gradient(40% 50% at 10% 90%, rgba(61, 123, 240, 0.18), transparent 70%);
}
.hero-dark__lines {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.25;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(70% 80% at 60% 40%, #000 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(70% 80% at 60% 40%, #000 20%, transparent 100%);
}
.hero-dark__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 48px; align-items: center; }
.hero-dark h1 { color: #fff; font-size: clamp(30px, 4vw, 50px); margin-block: 16px 20px; }
.hero-dark p { color: rgba(255, 255, 255, 0.7); font-size: 16.5px; line-height: 1.8; max-width: 58ch; margin: 0; }
.hero-dark .eyebrow { color: #7FB2FF; }
.hero-dark .eyebrow::before { background: #7FB2FF; }

/* ---------- 7. Stats band ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.stat { padding: 30px 26px; border-right: 1px solid var(--line); }
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: 0; padding-right: 0; }
.stat__num {
  font-size: clamp(26px, 2.6vw, 34px); font-weight: 600; color: var(--navy);
  letter-spacing: -0.03em; line-height: 1.1;
}
.stat__num span { font-size: 0.6em; color: var(--blue); margin-left: 2px; }
.stat__label { font-size: 13.5px; color: var(--muted); margin-top: 8px; line-height: 1.6; }

/* ---------- 8. Capability list (numbered, no cards) ---------- */
.caps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.cap {
  padding: 34px 30px 34px 0;
  border-top: 1px solid var(--line);
  position: relative;
  transition: background 0.25s var(--ease);
}
.cap:not(:nth-child(3n)) { border-right: 1px solid var(--line); padding-right: 30px; }
.cap:not(:nth-child(3n)) + .cap { padding-left: 30px; }
.cap__no {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em;
  color: var(--blue); margin-bottom: 18px; display: block;
}
.cap__icon { width: 40px; height: 40px; margin-bottom: 16px; color: var(--navy); }
.cap h3 { margin-bottom: 12px; }
.cap p { margin: 0; font-size: 14.5px; color: var(--muted); line-height: 1.78; }
.cap__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.tag {
  font-size: 11.5px; padding: 4px 9px; border-radius: 4px;
  background: var(--blue-wash); color: #0052D9; letter-spacing: 0.01em;
}
.tag--line { background: transparent; border: 1px solid var(--line); color: var(--muted); }

/* ---------- 8b. Alternate layouts (de-template) ---------- */
/* A. Numbered rail list — replaces numbered cap grid on about/values */
.rail-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.rail-item {
  position: relative; display: grid; gap: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 26px 24px; transition: all 0.25s var(--ease);
}
.rail-item:hover { border-color: rgba(0, 82, 217, 0.3); box-shadow: var(--shadow-2); transform: translateY(-3px); }
.rail-no { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.08em; color: var(--blue); }
.rail-body { display: grid; gap: 8px; }
.rail-head { display: flex; align-items: center; gap: 12px; }
.rail-head svg { width: 26px; height: 26px; flex-shrink: 0; color: var(--blue); }
.rail-head h3 { font-size: 18px; }
.rail-body p { margin: 0; font-size: 14.5px; color: var(--muted); line-height: 1.78; max-width: 64ch; }
.rail-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }

/* B. Team cards — replaces cap grid on about/team */
.team-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.team-card {
  padding: 28px 26px; border: 1px solid var(--line); border-radius: var(--r-md);
  background: #fff; transition: all 0.25s var(--ease);
}
.team-card:hover { border-color: rgba(0, 82, 217, 0.3); box-shadow: var(--shadow-2); transform: translateY(-3px); }
.team-card__icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--blue-wash); color: var(--blue); margin-bottom: 18px;
}
.team-card__icon svg { width: 22px; height: 22px; }
.team-card h3 { margin-bottom: 8px; font-size: 17px; }
.team-card p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.75; }
.team-card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }

/* C. Scope grid — replaces cap grid on solutions/custom */
.scope-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.scope-item {
  position: relative; padding: 26px 26px 24px; border: 1px dashed var(--line-strong);
  border-radius: var(--r-md); background: var(--section-2); transition: all 0.25s var(--ease);
}
.scope-item:hover { border-color: rgba(0, 82, 217, 0.4); background: #fff; box-shadow: var(--shadow-1); }
.scope-item__no {
  position: absolute; top: 18px; right: 22px; font-family: var(--font-mono);
  font-size: 12px; color: var(--blue); opacity: 0.5; letter-spacing: 0.08em;
}
.scope-item__icon { width: 40px; height: 40px; color: var(--blue); margin-bottom: 16px; }
.scope-item h3 { margin-bottom: 8px; font-size: 17px; }
.scope-item p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.75; }

/* ---------- 9. Product cards ---------- */
.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.pcard {
  position: relative; display: flex; flex-direction: column;
  padding: 34px 30px 30px; border-radius: var(--r-md);
  background: #fff; border: 1px solid var(--line);
  transition: all 0.28s var(--ease); overflow: hidden;
}
.pcard::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue), rgba(0, 82, 217, 0)); opacity: 0;
  transition: opacity 0.28s var(--ease);
}
.pcard:hover { transform: translateY(-4px); border-color: rgba(0, 82, 217, 0.35); box-shadow: var(--shadow-2); }
.pcard:hover::before { opacity: 1; }
.pcard__badge {
  align-self: flex-start; font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--blue);
  border: 1px solid rgba(0, 82, 217, 0.3); padding: 3px 8px; border-radius: 3px;
  margin-bottom: 22px;
}
.pcard h3 { margin-bottom: 10px; }
.pcard__en { font-size: 12px; color: var(--muted-2); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 16px; }
.pcard p { margin: 0; font-size: 14.5px; color: var(--muted); line-height: 1.8; flex: 1; }
.pcard__list { margin-top: 22px; display: grid; gap: 10px; }
.pcard__list li {
  display: flex; gap: 9px; font-size: 13.5px; color: var(--ink); align-items: flex-start;
}
.pcard__list svg { width: 14px; height: 14px; flex-shrink: 0; margin-top: 5px; color: var(--blue); }
.pcard__foot {
  margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
}
.pcard__price { font-family: var(--font-mono); font-size: 12px; color: var(--muted-2); }

/* ---------- 10. Architecture diagram ---------- */
.arch {
  --arch-line: rgba(0, 82, 217, 0.35);
  position: relative;
  padding: clamp(20px, 3vw, 40px);
  border-radius: var(--r-lg);
  background:
    radial-gradient(120% 100% at 50% 0%, #ffffff 0%, #F6FAFF 55%, #EEF4FF 100%);
  border: 1px solid rgba(0, 82, 217, 0.14);
  box-shadow: var(--shadow-2);
  overflow: hidden;
}
.arch::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image:
    linear-gradient(to right, rgba(0, 82, 217, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 82, 217, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}
.arch__head {
  position: relative; display: flex; flex-wrap: wrap; gap: 12px 24px;
  align-items: center; justify-content: space-between;
  padding-bottom: 22px; margin-bottom: 26px; border-bottom: 1px solid rgba(0, 82, 217, 0.12);
}
.arch__title { display: flex; align-items: center; gap: 10px; font-size: 15.5px; font-weight: 600; color: var(--heading); }
.arch__title i { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgba(0, 82, 217, 0.12); }
.arch__legend { display: flex; gap: 18px; font-size: 12.5px; color: var(--muted-2); }
.arch__legend span { display: inline-flex; align-items: center; gap: 6px; }
.arch__legend b { width: 16px; height: 3px; border-radius: 2px; background: var(--blue); display: inline-block; }
.arch__legend b.is-dash { background: var(--line-strong); }

.arch__stack { position: relative; display: grid; gap: 14px; }
.arch__layer {
  position: relative;
  display: grid; grid-template-columns: 116px minmax(0, 1fr);
  gap: 18px; align-items: stretch;
  padding: 0;
}
.arch__label {
  display: flex; flex-direction: column; justify-content: center;
  padding: 16px 14px; border-radius: 8px;
  background: #fff; border: 1px solid rgba(0, 82, 217, 0.14);
  text-align: left;
}
.arch__label b { font-size: 15px; color: var(--heading); display: block; }
.arch__label small {
  font-family: var(--font-mono); font-size: 11px; color: var(--muted-2);
  letter-spacing: 0.08em; text-transform: uppercase; margin-top: 4px; display: block;
}
.arch__nodes { display: flex; flex-wrap: wrap; gap: 8px; align-content: center; }
.node {
  flex: 1 1 0; min-width: 104px;
  padding: 14px 16px; border-radius: 8px; text-align: left;
  background: #fff; border: 1px solid rgba(0, 82, 217, 0.16);
  box-shadow: 0 2px 6px rgba(26, 43, 74, 0.04);
  transition: all 0.22s var(--ease); cursor: default;
}
.node:hover, .node:focus-visible {
  border-color: var(--blue); background: #F6FAFF;
  box-shadow: 0 8px 20px -12px rgba(0, 82, 217, 0.5);
  transform: translateY(-2px);
}
.node b { display: block; font-size: 14.5px; color: var(--heading); font-weight: 600; }
.node small { display: block; font-size: 11.5px; color: var(--muted-2); margin-top: 3px; font-family: var(--font-mono); }
.arch__layer--accent .node { border-color: rgba(0, 82, 217, 0.28); background: linear-gradient(180deg, #fff, #F0F6FF); }
.arch__layer--accent .arch__label { background: rgba(0, 82, 217, 0.06); border-color: rgba(0, 82, 217, 0.24); }

.arch__flow {
  display: grid; grid-template-columns: 116px minmax(0, 1fr);
  gap: 18px; align-items: center; padding: 2px 0;
}
.arch__flow-line {
  grid-column: 2; position: relative; height: 22px;
  display: flex; align-items: center; gap: 10px;
}
.arch__flow-line::before {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 82, 217, 0.35) 20%, rgba(0, 82, 217, 0.35) 80%, transparent);
}
.arch__flow-line span {
  position: relative; font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.08em; color: var(--muted-2); background: #F0F6FF; padding: 0 8px;
  margin-inline: auto;
}
.arch__foot {
  margin-top: 24px; padding-top: 18px; border-top: 1px solid rgba(0, 82, 217, 0.14);
  display: flex; flex-wrap: wrap; gap: 10px 28px;
  font-size: 12.5px; color: var(--muted-2); font-family: var(--font-mono);
}

/* 小型架构条（用于内页） */
.arch-mini { display: grid; gap: 8px; }
.arch-mini__row {
  display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 12px;
  align-items: center; padding: 10px 14px; border-radius: 8px;
  background: #fff; border: 1px solid var(--line);
}
.arch-mini__row b { font-size: 11.5px; color: var(--muted-2); font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.06em; }
.arch-mini__row span { font-size: 13px; color: var(--navy); }

/* ---------- 11. Split feature block ---------- */
.split {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px); align-items: center;
}
.split--reverse .split__media { order: 2; }
.split__copy h2 { margin-block: 14px 18px; }
.split__copy p { color: var(--muted); font-size: 15.5px; line-height: 1.85; margin: 0 0 24px; }
.split__list { display: grid; gap: 16px; }
.split__list li { display: flex; gap: 14px; align-items: flex-start; }
.split__list .ic {
  width: 22px; height: 22px; flex-shrink: 0; margin-top: 3px;
  color: var(--blue);
}
.split__list b { display: block; font-size: 14.5px; color: var(--navy); font-weight: 600; margin-bottom: 3px; }
.split__list p { font-size: 13.5px; color: var(--muted); margin: 0; line-height: 1.7; }

/* 视觉面板（CSS 绘制的技术可视化，替代随机图库） */
.visual {
  position: relative; border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(165deg, #F8FBFF, #EAF2FF 60%, #ffffff);
  box-shadow: var(--shadow-2);
  padding: 22px; overflow: hidden;
  min-height: 320px;
}
.visual--dark {
  background: linear-gradient(160deg, #12407E, #1B579F 55%, #2A6FD0);
  border-color: rgba(255, 255, 255, 0.08);
}
.visual__label {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em;
  color: var(--muted-2); text-transform: uppercase; margin-bottom: 18px;
}
.visual--dark .visual__label { color: rgba(255, 255, 255, 0.45); }

/* isometric server array */
.racks { display: grid; gap: 14px; }
.rack {
  display: grid; grid-template-columns: repeat(16, 1fr); gap: 3px;
  padding: 10px; border-radius: 8px;
  background: rgba(255, 255, 255, 0.7); border: 1px solid rgba(26, 43, 74, 0.09);
}
.rack i {
  height: 26px; border-radius: 2px; display: block;
  background: linear-gradient(180deg, rgba(0, 82, 217, 0.16), rgba(0, 82, 217, 0.06));
  border-top: 1px solid rgba(0, 82, 217, 0.35);
}
.rack i.is-on { background: linear-gradient(180deg, rgba(0, 82, 217, 0.55), rgba(0, 82, 217, 0.2)); }
.visual--dark .rack { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.08); }
.visual--dark .rack i { background: linear-gradient(180deg, rgba(61, 123, 240, 0.5), rgba(61, 123, 240, 0.08)); border-top-color: rgba(143, 192, 255, 0.6); }

/* 节点拓扑 */
.topo { position: relative; display: grid; place-items: center; padding-block: 10px; }
.topo__svg { width: 100%; height: auto; }

/* 流程步骤 */
.flowsteps { display: grid; gap: 4px; }
.flowstep {
  display: grid; grid-template-columns: 40px minmax(0, 1fr) auto;
  gap: 16px; align-items: center; padding: 14px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
}
.flowstep:last-child { border-bottom: 0; }
.flowstep__no {
  font-family: var(--font-mono); font-size: 11px; color: rgba(255, 255, 255, 0.45);
}
.flowstep b { font-size: 13px; color: #fff; font-weight: 500; display: block; }
.flowstep small { font-size: 11px; color: rgba(255, 255, 255, 0.45); }
.flowstep__stat { font-family: var(--font-mono); font-size: 11px; color: #7FB2FF; }

/* 世界节点图 */
.world { position: relative; }
.world__svg { width: 100%; height: auto; }
.world__legend { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 18px; font-size: 12px; color: var(--muted-2); }
.world__legend span { display: inline-flex; align-items: center; gap: 7px; }
.world__legend i { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); display: inline-block; }
.world__legend i.is-plan { background: rgba(0, 82, 217, 0.4); }

/* ---------- 12. Table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; }
table.spec { width: 100%; border-collapse: collapse; min-width: 640px; }
table.spec th, table.spec td {
  padding: 15px 22px; text-align: left; font-size: 14px;
  border-bottom: 1px solid var(--line); vertical-align: top;
}
table.spec thead th {
  background: var(--section); font-size: 12.5px; font-weight: 600; color: var(--navy);
  letter-spacing: 0.03em; text-transform: uppercase;
}
table.spec tbody tr:last-child td { border-bottom: 0; }
table.spec td:first-child { font-weight: 500; color: var(--navy); width: 30%; }
table.spec td { color: var(--muted); }

/* ---------- 13. Tabs (product capabilities) ---------- */
.tabs { border-top: 1px solid var(--line); }
.tabs__nav { display: flex; flex-wrap: wrap; gap: 0; border-bottom: 1px solid var(--line); }
.tab-btn {
  position: relative; padding: 16px 22px; background: none; border: 0; cursor: pointer;
  font-size: 14px; font-weight: 500; color: var(--muted);
  transition: color 0.2s var(--ease);
}
.tab-btn[aria-selected="true"] { color: var(--navy); font-weight: 600; }
.tab-btn[aria-selected="true"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--blue);
}
.tab-panel { padding-top: 32px; display: none; }
.tab-panel.is-active { display: block; animation: fadeUp 0.4s var(--ease) both; }
.tab-panel__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 40px; }
.tab-panel__grid li { display: flex; gap: 12px; }
.tab-panel__grid li .ic { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; color: var(--blue); }
.tab-panel__grid li b { display: block; font-size: 14px; color: var(--heading); margin-bottom: 4px; }
.tab-panel__grid li p { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.7; }

/* ---------- 14. Accordion (FAQ) ---------- */
.acc { border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 0; background: none; border: 0; cursor: pointer; text-align: left;
  font-size: 15.5px; font-weight: 500; color: var(--navy);
  transition: color 0.2s var(--ease);
}
.acc__btn:hover { color: var(--blue); }
.acc__icon { position: relative; width: 16px; height: 16px; flex-shrink: 0; }
.acc__icon::before, .acc__icon::after {
  content: ""; position: absolute; background: currentColor; transition: transform 0.25s var(--ease);
}
.acc__icon::before { left: 0; top: 7px; width: 16px; height: 1.5px; }
.acc__icon::after { left: 7px; top: 0; width: 1.5px; height: 16px; }
.acc__item.is-open .acc__icon::after { transform: rotate(90deg); }
.acc__panel { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease); }
.acc__panel p { margin: 0; padding-bottom: 24px; color: var(--muted); font-size: 14.5px; line-height: 1.85; max-width: 80ch; }

/* ---------- 15. Cases ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.filter-btn {
  padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; font-size: 13px; color: var(--muted); cursor: pointer;
  transition: all 0.2s var(--ease);
}
.filter-btn:hover { border-color: var(--line-strong); color: var(--navy); }
.filter-btn.is-on { background: var(--navy); border-color: var(--navy); color: #fff; }

.cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.case-card {
  display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--r-md); background: #fff;
  transition: all 0.28s var(--ease);
}
.case-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: rgba(0, 82, 217, 0.3); }
.case-card__cover {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  background: linear-gradient(150deg, #12407E, #2A6FD0 55%, #1E5FB8);
  display: grid; place-items: center;
}
.case-card__cover .cv { position: absolute; inset: 0; opacity: 0.9; }
.case-card__cover .cv-txt {
  position: absolute; left: 20px; bottom: 18px; z-index: 2;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.7); text-transform: uppercase;
}
.case-card__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.case-card__meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.case-card h3 { font-size: 18px; margin-bottom: 10px; }
.case-card p { font-size: 13.5px; color: var(--muted); line-height: 1.75; margin: 0; flex: 1; }
.case-card__foot { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.case-card__demo {
  font-size: 10.5px; letter-spacing: 0.06em; color: var(--muted-2);
  border: 1px dashed var(--line-strong); padding: 2px 6px; border-radius: 3px;
}

/* ---------- 16. News ---------- */
.news { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.news-card {
  display: flex; flex-direction: column; gap: 14px;
  padding: 28px 26px; border: 1px solid var(--line); border-radius: var(--r-md);
  background: #fff; transition: all 0.25s var(--ease);
}
.news-card:hover { border-color: rgba(0, 82, 217, 0.35); box-shadow: var(--shadow-2); transform: translateY(-2px); }
.news-card__meta {
  display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--muted-2);
}
.news-card__cat { color: var(--blue); font-weight: 500; }
.news-card h3 { font-size: 17px; line-height: 1.45; }
.news-card p { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.75; flex: 1; }
.news-card__more { font-size: 13px; color: var(--muted-2); display: inline-flex; align-items: center; gap: 6px; }
.news-card__more svg { width: 13px; height: 13px; flex-shrink: 0; }
.news-card--soon { background: var(--section-2); border-style: dashed; }
.news-card--soon .news-card__cat { color: var(--muted-2); }

/* news pagination */
.news-pager { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 36px; }
.page-btn {
  min-width: 38px; height: 38px; padding: 0 12px;
  border: 1px solid var(--line); background: #fff; border-radius: 8px;
  font-size: 13.5px; font-weight: 500; color: var(--muted); cursor: pointer;
  transition: all 0.2s var(--ease);
}
.page-btn:hover:not(:disabled) { border-color: var(--blue); color: var(--blue); }
.page-btn.is-on { background: var(--blue); border-color: var(--blue); color: #fff; }
.page-btn:disabled { opacity: 0.4; cursor: default; }

.article-head { max-width: 960px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; color: var(--muted-2); margin-top: 20px; }
.article-body { max-width: 960px; }
.article-body h2 { font-size: 24px; margin-block: 44px 16px; }
.article-body h3 { font-size: 19px; margin-block: 32px 12px; }
.article-body p { margin: 0 0 18px; color: var(--muted); font-size: 15.5px; line-height: 1.9; }
.article-body ul { margin: 0 0 20px; padding-left: 0; display: grid; gap: 10px; }
.article-body ul li {
  display: flex; gap: 10px; color: var(--muted); font-size: 15px; line-height: 1.8;
}
.article-body ul li::before {
  content: ""; width: 5px; height: 5px; background: var(--blue); border-radius: 50%;
  margin-top: 12px; flex-shrink: 0;
}
.article-body blockquote {
  margin: 28px 0; padding: 20px 26px; border-left: 3px solid var(--blue);
  background: var(--section-2); color: var(--navy); font-size: 15.5px; line-height: 1.8;
}

/* ---------- 17. CTA band ---------- */
.cta {
  position: relative; overflow: hidden;
  border-radius: var(--r-lg);
  background: linear-gradient(120deg, #0A5BD8 0%, #1E72E8 55%, #3D8BF5 100%);
  padding: clamp(38px, 5vw, 64px);
  color: #fff;
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  gap: 36px; align-items: center;
}
.cta__bg {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(50% 100% at 92% 10%, rgba(89, 155, 255, 0.4), transparent 70%);
}
.cta__lines {
  position: absolute; inset: 0; opacity: 0.2; pointer-events: none;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.25) 1px, transparent 1px);
  background-size: 72px 100%;
  mask-image: linear-gradient(90deg, transparent, #000 60%);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%);
}
.cta__inner { position: relative; }
.cta h2 { color: #fff; font-size: clamp(26px, 3vw, 38px); margin-bottom: 14px; }
.cta p { color: rgba(255, 255, 255, 0.72); margin: 0; font-size: 15.5px; line-height: 1.8; max-width: 52ch; }
.cta__actions { position: relative; display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }

/* ---------- 18. Forms ---------- */
.form { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 13px; font-weight: 500; color: var(--navy); }
.field label .req { color: var(--blue); margin-left: 2px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; font: inherit; font-size: 14.5px;
  color: var(--ink); background: #fff;
  border: 1px solid var(--line-strong); border-radius: 6px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 82, 217, 0.12);
}
.field textarea { min-height: 130px; resize: vertical; }
.field__hint { font-size: 12px; color: var(--muted-2); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form__note { font-size: 12.5px; color: var(--muted-2); line-height: 1.6; }
.form__status {
  display: none; padding: 14px 16px; border-radius: 6px; font-size: 13.5px;
  background: rgba(0, 82, 217, 0.08); color: #0052D9; border: 1px solid rgba(0, 82, 217, 0.25);
}
.form__status.is-visible { display: block; }

.contact-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-item { padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact-item:first-child { padding-top: 0; }
.contact-item b { display: block; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 6px; }
.contact-item span { font-size: 15px; color: var(--navy); }
.contact-item .small { margin-top: 4px; }

/* ---------- 19. Footer ---------- */
.footer {
  position: relative; background: var(--navy-deep); color: rgba(255, 255, 255, 0.72);
  padding-top: clamp(56px, 6vw, 80px); overflow: hidden;
}
.footer__bg {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background: radial-gradient(60% 80% at 85% 0%, rgba(0, 82, 217, 0.22), transparent 60%);
}
.footer__inner { position: relative; }
.footer__top {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.9fr);
  gap: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--line-light);
}
.footer__brand { display: flex; flex-direction: column; gap: 18px; }
.footer__brand p { font-size: 13px; line-height: 1.8; color: rgba(255, 255, 255, 0.5); max-width: 34ch; margin: 0; }
.footer__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.footer__col h4 {
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45); margin-bottom: 16px; font-weight: 500;
}
.footer__col a {
  display: block; font-size: 13.5px; color: rgba(255, 255, 255, 0.72);
  padding: 5px 0; transition: color 0.2s var(--ease);
}
.footer__col a:hover { color: #fff; }
.footer__bottom {
  display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between;
  align-items: center; padding-block: 26px;
  font-size: 12px; color: rgba(255, 255, 255, 0.4);
}
.footer__bottom a { color: rgba(255, 255, 255, 0.5); }
.footer__bottom a:hover { color: #fff; }

/* ---------- 20. Breadcrumb ---------- */
.crumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: 12.5px; color: var(--muted-2); padding-block: 18px;
}
.crumb a { color: var(--muted-2); }
.crumb a:hover { color: var(--blue); }
.crumb span { opacity: 0.5; }

/* ---------- 21. Reveal animation ---------- */
.reveal { opacity: 1; transform: none; }
html.js .reveal { opacity: 0; transform: translateY(18px); }
html.js .reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

/* ---------- 22. Responsive ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: flex; }
  .brand__en { display: none; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__copy { max-width: none; }
  .stack { max-width: 560px; }
  .page-hero__inner { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .section-head--split { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .cta { grid-template-columns: 1fr; }
  .cta__actions { justify-content: flex-start; }
  .footer__top { grid-template-columns: 1fr; gap: 36px; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
  .hero-dark__inner { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { border-bottom: 1px solid var(--line); }
  .stat:nth-child(2n) { border-right: 0; padding-right: 0; }
  .caps { grid-template-columns: 1fr; }
  .cap { padding: 24px 0 !important; border-right: 0 !important; }
  .cap:last-child { border-bottom: 1px solid var(--line); }
  .products { grid-template-columns: 1fr; }
  .cases { grid-template-columns: 1fr; }
  .news { grid-template-columns: 1fr; }
  .team-cards, .scope-grid { grid-template-columns: 1fr; }
  .rail-item { gap: 8px; }
  .g-2, .g-3, .g-4 { grid-template-columns: 1fr; }
  .arch__layer { grid-template-columns: 1fr; gap: 8px; }
  .arch__label { flex-direction: row; align-items: center; gap: 10px; padding: 10px 12px; }
  .arch__label small { margin-top: 0; }
  .arch__flow { grid-template-columns: 1fr; }
  .arch__flow-line { grid-column: 1; }
  .node { min-width: calc(50% - 4px); flex: 1 1 calc(50% - 4px); }
  .tab-panel__grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .hero__meta { gap: 10px 18px; }
  .section-head { margin-bottom: 32px; }
}

@media (max-width: 480px) {
  .btn { width: 100%; }
  .header__actions .btn { display: none; }
  .header__actions { gap: 6px; }
  .lang { padding: 4px 6px; font-size: 11px; }
  .header__inner { padding-left: 14px; padding-right: 14px; gap: 8px; }
  .header .brand { flex: 1; min-width: 0; }
  .header .brand__text { min-width: 0; }
  .header .brand__name { font-size: 13.5px; max-width: 178px; }
  .header__actions { flex-shrink: 0; }
  .brand { gap: 10px; }
  .brand__mark { width: 40px; height: 40px; }
  .brand__name { font-size: 13.5px; max-width: 178px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .hero__actions .btn { width: 100%; }
  .rail-list { grid-template-columns: 1fr; }
  .stack { padding: 14px; }
  .layer { grid-template-columns: 46px 1fr; }
  .layer__chips { display: none; }
  .node { min-width: 100%; flex-basis: 100%; }
  .hero h1, .page-hero h1 { font-size: clamp(26px, 7.6vw, 34px); }
  .display { font-size: clamp(28px, 8vw, 36px); }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0 !important; padding-right: 0 !important; padding-left: 0 !important; }
  .footer__cols { grid-template-columns: 1fr; }
}

/* print */
@media print {
  .header, .mobile-nav, .footer, .cta { display: none; }
  body { color: #000; }
}

/* ---------- 2026-11-21 additions ---------- */
/* Home hero banner visual */
.hero-visual--home { width: 100%; }
/* Contact page: form-only single column */
.contact-grid--single { grid-template-columns: minmax(0, 1fr); max-width: 940px; margin-inline: auto; }
.case-card__foot .link-arrow { margin-left: auto; }
