/* ============================================================
   QIANDAO AUTOMATION — Industrial design system
   Palette: charcoal, steel, industrial blue, cold light grey
   ============================================================ */

:root {
  --ink: #111820;
  --ink-2: #0c1319;
  --steel: #243746;
  --blue: #1686a7;
  --blue-ink: #0f6b86;
  --blue-dark: #0e6b86;
  --blue-light: #4fb3cf;
  --mist: #edf3f5;
  --paper: #fafbfc;
  --text: #26323a;
  --muted: #5c6d79;
  --line: #d7e1e6;
  --line-soft: #e6edf0;
  --line-dark: rgba(255, 255, 255, 0.14);
  --white: #ffffff;

  --font: "Inter", "Manrope", -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-ar: "Noto Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  --font-zh: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Mono", "Roboto Mono", Consolas, monospace;

  --wrap: 1280px;
  --gutter: 32px;
  --header-h: 76px;
  --radius: 3px;
  --radius-lg: 4px;

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

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 64px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

html[dir="rtl"] body { font-family: var(--font-ar); letter-spacing: 0; }
html[lang="zh"] body { font-family: var(--font-zh); letter-spacing: 0; }

img { max-width: 100%; display: block; }
svg { display: block; }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

::selection { background: rgba(22, 134, 167, 0.22); }

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

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.12;
  color: var(--ink);
  text-wrap: balance;
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

html[lang="zh"] h1, html[lang="zh"] h2, html[lang="zh"] h3 { letter-spacing: 0; line-height: 1.25; }
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3 { letter-spacing: 0; line-height: 1.35; }

/* ---------- layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: 104px; position: relative; }
.section--tight { padding-block: 72px; }
.section--mist { background: var(--mist); }
.section--white { background: var(--white); }
.section--dark { background: var(--ink); color: rgba(255, 255, 255, 0.78); }
.section--steel { background: var(--steel); color: rgba(255, 255, 255, 0.78); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4,
.section--steel h1, .section--steel h2, .section--steel h3, .section--steel h4 { color: #fff; }

.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: start; }
.split--wide { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }
.section--dark .rule, .section--steel .rule { background: var(--line-dark); }

/* ---------- typography ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-ink);
  line-height: 1.4;
}
html[dir="rtl"] .eyebrow { letter-spacing: 0; font-size: 12px; }
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
  flex: none;
}
.eyebrow--plain::before { display: none; }
.section--dark .eyebrow, .section--steel .eyebrow { color: var(--blue-light); }

.h-display {
  font-size: clamp(2.7rem, 5.4vw, 4.35rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 600;
}
.h-1 { font-size: clamp(2.3rem, 4.2vw, 3.35rem); line-height: 1.06; letter-spacing: -0.03em; }
.h-2 { font-size: clamp(1.95rem, 3.2vw, 2.85rem); line-height: 1.1; letter-spacing: -0.03em; }
.h-3 { font-size: clamp(1.45rem, 2vw, 1.95rem); line-height: 1.18; }
.h-4 { font-size: 1.14rem; line-height: 1.35; letter-spacing: -0.015em; }

html[dir="rtl"] .h-display { letter-spacing: 0; line-height: 1.25; }
html[dir="rtl"] .h-1 { letter-spacing: 0; line-height: 1.3; }
html[dir="rtl"] .h-2 { letter-spacing: 0; line-height: 1.32; }
html[lang="zh"] .h-display { letter-spacing: -0.01em; line-height: 1.18; }

.lead {
  font-size: clamp(1.06rem, 1.4vw, 1.22rem);
  line-height: 1.6;
  color: var(--muted);
  letter-spacing: -0.012em;
}
.section--dark .lead, .section--steel .lead { color: rgba(255, 255, 255, 0.66); }

.text-muted { color: var(--muted); }
.text-blue { color: var(--blue-ink); }
.small { font-size: 13.5px; line-height: 1.6; }
.micro {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
html[dir="rtl"] .micro { letter-spacing: 0; }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

.stack > * + * { margin-top: 18px; }
.stack-sm > * + * { margin-top: 10px; }
.stack-lg > * + * { margin-top: 30px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 22px;
  background: var(--blue);
  color: #fff;
  border: 1px solid var(--blue);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
  text-align: center;
}
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.btn:active { transform: translateY(1px); }
.btn .ico { width: 15px; height: 15px; flex: none; }
html[dir="rtl"] .btn .ico--dir { transform: scaleX(-1); }

.btn--ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn--ghost:hover { background: transparent; border-color: var(--ink); color: var(--ink); }
.section--dark .btn--ghost, .section--steel .btn--ghost, .hero .btn--ghost {
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}
.section--dark .btn--ghost:hover, .section--steel .btn--ghost:hover, .hero .btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.06);
}
.btn--light { background: #fff; border-color: #fff; color: var(--ink); }
.btn--light:hover { background: var(--mist); border-color: var(--mist); color: var(--ink); }
.btn--sm { min-height: 40px; padding: 10px 16px; font-size: 12px; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.link-arrow svg { width: 14px; height: 14px; transition: transform 0.25s var(--ease); }
.link-arrow:hover { color: var(--blue-ink); border-color: var(--blue-ink); }
.link-arrow:hover svg { transform: translateX(3px); }
html[dir="rtl"] .link-arrow svg { transform: scaleX(-1); }
html[dir="rtl"] .link-arrow:hover svg { transform: scaleX(-1) translateX(3px); }
.section--dark .link-arrow, .section--steel .link-arrow { color: rgba(255, 255, 255, 0.88); }
.section--dark .link-arrow:hover, .section--steel .link-arrow:hover { color: #fff; border-color: var(--blue-light); }

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

/* ---------- tags / chips ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
}
html[dir="rtl"] .tag { letter-spacing: 0; font-size: 11.5px; }
.section--dark .tag, .section--steel .tag, .hero .tag { border-color: rgba(255, 255, 255, 0.2); color: rgba(255, 255, 255, 0.72); background: rgba(255, 255, 255, 0.04); }
.tag--blue { color: var(--blue-ink); border-color: rgba(22, 134, 167, 0.3); background: rgba(22, 134, 167, 0.06); }
.tag--warning { color: #8a6116; border-color: rgba(138, 97, 22, 0.28); background: rgba(197, 145, 42, 0.08); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(250, 251, 252, 0.94);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s;
}
.site-header.is-scrolled { box-shadow: 0 8px 30px rgba(17, 24, 32, 0.06); }
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand__mark {
  display: inline-flex;
  align-items: center;
  flex: none;
  height: 38px;
}
.brand__mark img { display: block; height: 100%; width: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-size: 17.5px; font-weight: 700; letter-spacing: 0.01em; color: var(--ink); }
.brand__sub {
  font-size: 8.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 5px;
  font-weight: 600;
}
html[dir="rtl"] .brand__sub { letter-spacing: 0.06em; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 9px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text);
  border-radius: 2px;
  white-space: nowrap;
  transition: color 0.18s;
}
.nav__link:hover { color: var(--blue-ink); }
.nav__link.is-active { color: var(--blue-ink); font-weight: 600; }
.nav__link.is-active::after {
  content: "";
  position: absolute;
  inset-inline: 9px;
  bottom: 2px;
  height: 1.5px;
  background: var(--blue);
}
.nav__caret { width: 9px; height: 9px; opacity: 0.5; }

.nav__menu {
  position: absolute;
  top: calc(100% + 10px);
  inset-inline-start: -14px;
  min-width: 260px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px;
  box-shadow: 0 24px 50px rgba(17, 24, 32, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  z-index: 10;
}
.nav__item:hover > .nav__menu,
.nav__item:focus-within > .nav__menu { opacity: 1; visibility: visible; transform: none; }
.nav__menu a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 2px;
  transition: background 0.18s;
}
.nav__menu a:hover { background: var(--mist); }
.nav__menu strong { font-size: 13px; font-weight: 600; color: var(--ink); }
.nav__menu span { font-size: 11px; color: var(--muted); }

.header__right { display: flex; align-items: center; gap: 14px; flex: none; }

.lang {
  display: flex;
  align-items: center;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 3px;
  background: #fff;
}
.lang a {
  padding: 5px 8px;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  border-radius: 1px;
  line-height: 1;
  letter-spacing: 0.02em;
}
.lang a:hover { color: var(--ink); background: var(--mist); }
.lang a.is-active { background: var(--ink); color: #fff; }
.lang a.lang-ar { font-family: var(--font-ar); }

.header-cta { min-height: 42px; padding: 10px 16px; font-size: 12px; }

.burger {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 2px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.burger span { display: block; width: 20px; height: 1.5px; background: var(--ink); transition: transform 0.25s, opacity 0.25s; }
body.nav-open .burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
body.nav-open .burger span:nth-child(2) { opacity: 0; }
body.nav-open .burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.drawer {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: var(--paper);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
  overflow-y: auto;
}
body.nav-open .drawer { opacity: 1; visibility: visible; }
.drawer__inner { padding-block: 24px 48px; display: flex; flex-direction: column; gap: 8px; }
.drawer__group { border-bottom: 1px solid var(--line); padding-block: 4px; }
.drawer__group > a, .drawer__group > button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 4px;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  background: none;
  border: 0;
  text-align: start;
  cursor: pointer;
}
.drawer__sub { padding: 0 4px 14px; display: grid; gap: 4px; }
.drawer__sub a { padding: 8px 0; font-size: 14px; color: var(--muted); border-bottom: 1px dashed var(--line-soft); }
.drawer__sub a:last-child { border-bottom: 0; }
.drawer__sub a:hover { color: var(--blue-ink); }
.drawer__footer { margin-top: 24px; display: grid; gap: 12px; }
.drawer__contact { font-size: 13px; color: var(--muted); }
.drawer__contact strong { display: block; color: var(--ink); font-size: 14px; margin-bottom: 2px; }
.drawer__lang { margin-top: 8px; }
.drawer .lang { width: fit-content; }

/* ---------- hero (home) ---------- */
.hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  min-height: min(88vh, 820px);
  display: flex;
  align-items: center;
  padding-block: 88px 72px;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 19, 25, 0.97) 0%, rgba(12, 19, 25, 0.86) 38%, rgba(12, 19, 25, 0.42) 72%, rgba(12, 19, 25, 0.3) 100%),
    linear-gradient(0deg, rgba(12, 19, 25, 0.75) 0%, rgba(12, 19, 25, 0) 42%);
}
html[dir="rtl"] .hero__bg::after {
  background:
    linear-gradient(270deg, rgba(12, 19, 25, 0.97) 0%, rgba(12, 19, 25, 0.86) 38%, rgba(12, 19, 25, 0.42) 72%, rgba(12, 19, 25, 0.3) 100%),
    linear-gradient(0deg, rgba(12, 19, 25, 0.75) 0%, rgba(12, 19, 25, 0) 42%);
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: 64px;
  align-items: end;
  width: 100%;
}
.hero__content { max-width: 760px; }
.hero .eyebrow { color: var(--blue-light); margin-bottom: 26px; }
.hero__title { font-size: clamp(2.9rem, 5.2vw, 4.3rem); line-height: 1.02; letter-spacing: -0.04em; font-weight: 600; color: #fff; }
.hero__title em { font-style: normal; color: var(--blue-light); }
.hero__lead {
  margin-top: 26px;
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  max-width: 620px;
}
.hero__meta {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.58);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}
.hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta i { width: 4px; height: 4px; background: var(--blue-light); display: inline-block; }
.hero .actions { margin-top: 32px; }

.hero__panel { border: 1px solid rgba(255, 255, 255, 0.16); background: rgba(17, 24, 32, 0.55); backdrop-filter: blur(8px); padding: 26px; border-radius: 2px; }
.hero__panel-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.hero__panel-head span { font-size: 10.5px; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); }
.hero__panel-head em { font-style: normal; font-size: 10.5px; color: var(--blue-light); font-family: var(--font-mono); }
.hero__stats { display: grid; gap: 0; margin-top: 4px; }
.hero__stat { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-block: 15px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.hero__stat:last-child { border-bottom: 0; }
.hero__stat strong { font-size: 1.65rem; font-weight: 600; letter-spacing: -0.02em; color: #fff; font-variant-numeric: tabular-nums; }
.hero__stat span { font-size: 11.5px; color: rgba(255, 255, 255, 0.55); text-align: end; max-width: 120px; line-height: 1.4; }
.hero__panel-note { margin-top: 14px; font-size: 10.5px; line-height: 1.5; color: rgba(255, 255, 255, 0.68); }

.hero__side {
  position: absolute;
  inset-inline-end: 26px;
  bottom: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
  writing-mode: vertical-rl;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}
.hero__side::after { content: ""; width: 1px; height: 48px; background: rgba(255, 255, 255, 0.4); }

/* ---------- page hero (inner) ---------- */
.page-hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  padding-block: 64px 68px;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(180deg, #000, transparent 92%);
  pointer-events: none;
}
.page-hero--image::after {
  content: "";
  position: absolute;
  inset-block: 0;
  inset-inline-end: 0;
  width: 46%;
  background: linear-gradient(90deg, var(--ink) 0%, rgba(17, 24, 32, 0.2) 100%);
  pointer-events: none;
}
html[dir="rtl"] .page-hero--image::after { background: linear-gradient(270deg, var(--ink) 0%, rgba(17, 24, 32, 0.2) 100%); }
.page-hero__media {
  position: absolute;
  inset-block: 0;
  inset-inline-end: 0;
  width: 46%;
  z-index: 0;
}
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.page-hero__media figcaption {
  position: absolute;
  inset-inline-end: 14px;
  bottom: 10px;
  font-size: 9.5px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.5);
  background: rgba(12, 19, 25, 0.6);
  padding: 3px 6px;
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero__content { max-width: 760px; }
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 30px;
}
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { opacity: 0.55; }
.breadcrumb .sep { opacity: 0.3; }
.page-hero .eyebrow { color: var(--blue-light); margin-bottom: 18px; }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 3.9vw, 3.15rem); line-height: 1.07; letter-spacing: -0.03em; }
.page-hero__lead { margin-top: 20px; font-size: 1.02rem; line-height: 1.65; color: rgba(255, 255, 255, 0.7); max-width: 620px; }
.page-hero__meta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- section head ---------- */
.section-head { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 48px; align-items: end; margin-bottom: 46px; }
.section-head__l .eyebrow { margin-bottom: 16px; }
.section-head__r { justify-self: end; max-width: 460px; }
.section-head__r p { font-size: 14.5px; line-height: 1.7; color: var(--muted); }
.section--dark .section-head__r p, .section--steel .section-head__r p { color: rgba(255, 255, 255, 0.68); }
.section-head__link { margin-top: 14px; }

/* ---------- cards ---------- */
.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s, transform 0.3s var(--ease), box-shadow 0.3s;
  overflow: hidden;
}
.card:hover { border-color: rgba(22, 134, 167, 0.55); box-shadow: 0 16px 36px rgba(17, 24, 32, 0.07); }
.card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #16232e; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.card:hover .card__media img { transform: scale(1.035); }
.card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(17, 24, 32, 0.32), rgba(17, 24, 32, 0) 55%);
}
.card__num {
  position: absolute;
  top: 12px;
  inset-inline-start: 12px;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.75);
  background: rgba(17, 24, 32, 0.5);
  padding: 4px 7px;
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.card__body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__body h3 { font-size: 1.12rem; }
.card__body p { font-size: 13.5px; line-height: 1.62; color: var(--muted); }
.card__foot { margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card__tag { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.card--flat:hover { transform: none; }

.card__list { display: grid; gap: 8px; margin-top: 2px; }
.card__list li { display: flex; gap: 8px; font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.card__list li::before { content: ""; width: 4px; height: 4px; background: var(--blue); margin-top: 8px; flex: none; }

.card--dark {
  background: var(--steel);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.72);
}
.card--dark:hover { border-color: rgba(79, 179, 207, 0.5); }
.card--dark h3 { color: #fff; }
.card--dark p { color: rgba(255, 255, 255, 0.6); }

/* industry cards */
.industry-card { display: block; position: relative; border: 1px solid var(--line); background: #fff; overflow: hidden; border-radius: var(--radius); transition: border-color 0.25s, box-shadow 0.3s; }
.industry-card:hover { border-color: rgba(22, 134, 167, 0.5); box-shadow: 0 18px 40px rgba(17, 24, 32, 0.08); }
.industry-card__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #16232e; }
.industry-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); filter: saturate(0.85); }
.industry-card:hover .industry-card__img img { transform: scale(1.04); }
.industry-card__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(17, 24, 32, 0.55), rgba(17, 24, 32, 0.05) 60%); }
.industry-card__label { position: absolute; inset-inline-start: 18px; bottom: 16px; z-index: 1; color: #fff; }
.industry-card__label span { display: block; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; opacity: 0.7; margin-bottom: 4px; }
.industry-card__label strong { font-size: 1.05rem; font-weight: 600; letter-spacing: -0.01em; }
.industry-card__body { padding: 18px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.industry-card__body p { font-size: 12.5px; color: var(--muted); line-height: 1.5; }

/* product cards */
.product-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color 0.25s, box-shadow 0.3s, transform 0.3s var(--ease); }
.product-card:hover { border-color: rgba(22, 134, 167, 0.55); box-shadow: 0 18px 42px rgba(17, 24, 32, 0.08); transform: translateY(-2px); }
.product-card__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--mist); position: relative; }
.product-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.product-card:hover .product-card__img img { transform: scale(1.04); }
.product-card__body { padding: 22px; border-top: 1px solid var(--line-soft); display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product-card__body h3 { font-size: 1.06rem; line-height: 1.3; }
.product-card__body p { font-size: 13px; color: var(--muted); line-height: 1.6; }
.product-card__meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.product-card__meta span { font-size: 10.5px; color: var(--muted); border: 1px solid var(--line-soft); padding: 3px 7px; border-radius: 1px; }
.product-card__foot { margin-top: auto; padding-top: 16px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line-soft); }

/* article cards */
.article-card { display: flex; flex-direction: column; gap: 12px; padding: 26px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color 0.25s, box-shadow 0.25s; height: 100%; }
.article-card:hover { border-color: rgba(22, 134, 167, 0.5); box-shadow: 0 14px 32px rgba(17, 24, 32, 0.06); }
.article-card__meta { display: flex; align-items: center; gap: 10px; font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.article-card__meta i { width: 14px; height: 1px; background: var(--line); }
.article-card h3 { font-size: 1.03rem; line-height: 1.4; letter-spacing: -0.015em; }
.article-card p { font-size: 13px; color: var(--muted); line-height: 1.6; }
.article-card__more { margin-top: auto; padding-top: 8px; }

/* tech modules */
.tech-card { padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; gap: 12px; height: 100%; transition: border-color 0.25s, background 0.25s; }
.tech-card:hover { border-color: rgba(22, 134, 167, 0.45); }
.tech-card__icon { width: 34px; height: 34px; color: var(--blue-ink); }
.tech-card__icon svg { width: 100%; height: 100%; stroke: currentColor; fill: none; stroke-width: 1.4; }
.tech-card h3 { font-size: 14px; line-height: 1.35; }
.tech-card p { font-size: 12.5px; color: var(--muted); line-height: 1.55; }

/* ---------- feature / value rows ---------- */
.value-row { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 0; border-top: 1px solid var(--line); }
.value-row:last-child { border-bottom: 1px solid var(--line); }
.value-row__need { padding: 30px 32px 30px 0; display: flex; gap: 18px; align-items: flex-start; }
.value-row__idx { font-family: var(--font-mono); font-size: 10.5px; color: var(--muted); padding-top: 5px; flex: none; }
.value-row__need h3 { font-size: 1rem; line-height: 1.4; font-weight: 500; color: var(--text); }
.value-row__answer { padding: 30px 0 30px 32px; border-inline-start: 1px solid var(--line); display: flex; gap: 12px; align-items: flex-start; }
.value-row__answer p { font-size: 13.5px; line-height: 1.65; color: var(--muted); }
.value-row__answer .dot { width: 6px; height: 6px; background: var(--blue); flex: none; margin-top: 7px; }

/* ---------- stats ---------- */
.stat-band { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 30px 26px; border-inline-start: 1px solid var(--line); }
.stat:first-child { border-inline-start: 0; padding-inline-start: 0; }
.stat strong { display: block; font-size: clamp(1.8rem, 2.6vw, 2.5rem); font-weight: 600; letter-spacing: -0.03em; color: var(--ink); line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 8px; font-size: 12px; line-height: 1.5; color: var(--muted); }
.section--dark .stat-band, .section--steel .stat-band { border-color: var(--line-dark); }
.section--dark .stat, .section--steel .stat { border-color: var(--line-dark); }
.section--dark .stat strong, .section--steel .stat strong { color: #fff; }
.section--dark .stat span, .section--steel .stat span { color: rgba(255, 255, 255, 0.62); }

/* ---------- process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.step { position: relative; padding: 32px 26px 30px 0; border-bottom: 1px solid var(--line); }
.step::before {
  content: "";
  position: absolute;
  top: -1px;
  inset-inline-start: 0;
  width: 34px;
  height: 2px;
  background: var(--blue);
}
.step__num { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; color: var(--blue-ink); margin-bottom: 14px; display: block; }
.step h3 { font-size: 1rem; margin-bottom: 8px; line-height: 1.35; }
.step p { font-size: 12.5px; line-height: 1.6; color: var(--muted); }
.section--dark .steps, .section--steel .steps { border-color: var(--line-dark); }
.section--dark .step, .section--steel .step { border-color: var(--line-dark); }
.section--dark .step p, .section--steel .step p { color: rgba(255, 255, 255, 0.62); }
.section--dark .step h3, .section--steel .step h3 { color: #fff; }

/* timeline vertical (workflow detail) */
.timeline { display: grid; gap: 0; }
.tl-item { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 26px; padding-block: 24px; border-top: 1px solid var(--line); }
.tl-item:last-child { border-bottom: 1px solid var(--line); }
.tl-item__num { font-family: var(--font-mono); font-size: 12px; color: var(--blue-ink); padding-top: 2px; }
.tl-item h3 { font-size: 1rem; margin-bottom: 6px; }
.tl-item p { font-size: 13px; color: var(--muted); line-height: 1.62; }

/* ---------- table ---------- */
.table-wrap { width: 100%; overflow-x: auto; border: 1px solid var(--line); background: #fff; border-radius: var(--radius); }
table.spec { width: 100%; border-collapse: collapse; min-width: 560px; }
table.spec caption { text-align: start; padding: 16px 20px; font-size: 12px; color: var(--muted); border-bottom: 1px solid var(--line); }
table.spec th, table.spec td { padding: 14px 20px; text-align: start; font-size: 13px; line-height: 1.55; vertical-align: top; border-bottom: 1px solid var(--line-soft); }
table.spec th { width: 34%; font-weight: 600; color: var(--ink); background: var(--mist); white-space: nowrap; }
table.spec td { color: var(--muted); }
table.spec tr:last-child th, table.spec tr:last-child td { border-bottom: 0; }
table.spec td .pending { color: var(--blue-ink); font-size: 12px; }
html[dir="rtl"] table.spec th { white-space: normal; }

table.data { width: 100%; border-collapse: collapse; min-width: 720px; }
table.data th { text-align: start; font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding: 12px 16px; border-bottom: 1px solid var(--line); }
table.data td { padding: 14px 16px; font-size: 13px; border-bottom: 1px solid var(--line-soft); color: var(--text); }
table.data tr:hover td { background: var(--mist); }
table.data td:first-child { font-weight: 500; }
.section--dark table.data th, .section--dark table.data td,
.section--steel table.data th, .section--steel table.data td { border-color: var(--line-dark); color: rgba(255, 255, 255, 0.82); }
.section--dark table.data th, .section--steel table.data th { color: rgba(255, 255, 255, 0.55); }
.section--dark table.data tr:hover td, .section--steel table.data tr:hover td { background: rgba(255, 255, 255, 0.05); }
.section--steel table.data td:first-child { color: #fff; }

/* ---------- checklist / bullet list ---------- */
.bullets { display: grid; gap: 10px; }
.bullets li { position: relative; padding-inline-start: 18px; font-size: 13.5px; line-height: 1.62; color: var(--muted); }
.bullets li::before { content: ""; position: absolute; inset-inline-start: 0; top: 9px; width: 5px; height: 5px; background: var(--blue); }
.bullets--check li::before { content: "✓"; background: none; color: var(--blue-ink); font-size: 12px; top: 0; width: auto; height: auto; font-weight: 600; }
.section--dark .bullets li, .section--steel .bullets li { color: rgba(255, 255, 255, 0.7); }

/* ---------- callout ---------- */
.callout {
  border: 1px solid var(--line);
  border-inline-start: 3px solid var(--blue);
  background: #fff;
  padding: 22px 24px;
  border-radius: 2px;
  display: grid;
  gap: 8px;
}
.callout strong { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-ink); font-weight: 600; }
.callout p { font-size: 13px; line-height: 1.65; color: var(--muted); }
.section--dark .callout, .section--steel .callout { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.14); border-inline-start-color: var(--blue-light); }
.section--dark .callout p, .section--steel .callout p { color: rgba(255, 255, 255, 0.6); }

/* ---------- quote / partner band ---------- */
.band { background: var(--steel); color: #fff; position: relative; overflow: hidden; }
.band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 25% 100%;
  pointer-events: none;
}
.band__inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 60px; align-items: center; padding-block: 72px; position: relative; }
.band h2 { color: #fff; max-width: 640px; }
.band p { margin-top: 16px; font-size: 14px; line-height: 1.65; color: rgba(255, 255, 255, 0.65); max-width: 560px; }
.band .actions { justify-content: flex-end; }

/* ---------- contact / office cards ---------- */
.office { border-top: 1px solid var(--line); padding-block: 22px; display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 20px; }
.office h3 { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue-ink); font-weight: 600; }
.office p { font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.office a { color: var(--text); border-bottom: 1px solid var(--line); }
.office a:hover { color: var(--blue-ink); border-color: var(--blue-ink); }

.wechat {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  margin-top: 4px;
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
}
.wechat img { width: 140px; height: 140px; object-fit: contain; border: 1px solid var(--line); background: #fff; padding: 6px; }
.wechat strong { display: block; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue-ink); font-weight: 600; }
.wechat p { font-size: 13px; color: var(--muted); line-height: 1.6; margin-top: 6px; }
.wechat-mini { display: block; width: 96px; height: 96px; margin-top: 8px; background: #fff; border: 1px solid var(--line); padding: 4px; object-fit: contain; }
@media (max-width: 520px) {
  .wechat { grid-template-columns: 1fr; justify-items: start; }
}

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%;
  background: none;
  border: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  text-align: start;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.45;
}
.faq__q:hover { color: var(--blue-ink); }
.faq__icon { flex: none; width: 16px; height: 16px; position: relative; margin-top: 3px; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; background: var(--muted); transition: transform 0.25s var(--ease), opacity 0.25s; }
.faq__icon::before { inset-inline: 0; top: 7px; height: 1.5px; }
.faq__icon::after { inset-block: 0; inset-inline-start: 7px; width: 1.5px; }
.faq__item.is-open .faq__icon::after { transform: scaleY(0); opacity: 0; }
.faq__a { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease); }
.faq__a p { padding-bottom: 24px; font-size: 13.5px; line-height: 1.7; color: var(--muted); max-width: 820px; }
.faq__item.is-open .faq__a { max-height: 600px; }

/* ---------- anchor subnav ---------- */
.subnav {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  background: rgba(250, 251, 252, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.subnav__inner { display: flex; gap: 26px; overflow-x: auto; scrollbar-width: none; }
.subnav__inner::-webkit-scrollbar { display: none; }
.subnav a { padding-block: 15px; font-size: 12px; color: var(--muted); white-space: nowrap; border-bottom: 2px solid transparent; transition: color 0.2s, border-color 0.2s; }
.subnav a:hover { color: var(--ink); }
.subnav a.is-current { color: var(--ink); border-color: var(--blue-ink); font-weight: 500; }

/* ---------- CTA footer section ---------- */
.cta-section { background: var(--mist); border-top: 1px solid var(--line); padding-block: 84px; }
.cta-section__inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 56px; align-items: center; }
.cta-section h2 { max-width: 620px; }
.cta-section p { margin-top: 16px; font-size: 14.5px; line-height: 1.65; color: var(--muted); max-width: 580px; }
.cta-section .actions { justify-content: flex-end; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink-2); color: rgba(255, 255, 255, 0.6); padding-top: 68px; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.1fr); gap: 44px; padding-bottom: 48px; }
.footer__brand .brand__name { color: #fff; }
.footer__brand .brand__sub { color: rgba(255, 255, 255, 0.4); }
.footer__brand .brand__mark { height: 35px; }
.footer__about { margin-top: 22px; font-size: 13px; line-height: 1.7; color: rgba(255, 255, 255, 0.48); max-width: 330px; }
.footer__col h4 { color: rgba(255, 255, 255, 0.85); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; margin-bottom: 16px; }
.footer__col ul { display: grid; gap: 9px; }
.footer__col a { font-size: 12.5px; color: rgba(255, 255, 255, 0.55); }
.footer__col a:hover { color: #fff; }
.footer__contact { display: grid; gap: 12px; margin-top: 18px; font-size: 12.5px; color: rgba(255, 255, 255, 0.5); }
.footer__contact strong { display: block; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.4); margin-bottom: 3px; font-weight: 600; }
.footer__contact a { color: rgba(255, 255, 255, 0.7); }
.footer__contact a:hover { color: var(--blue-light); }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.38);
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 18px; }
.footer__legal a:hover { color: #fff; }
.footer__lang { display: flex; gap: 12px; }
.footer__lang a:hover { color: #fff; }

/* ---------- forms ---------- */
.form-shell { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.form-head { padding: 24px 28px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 16px; background: var(--mist); }
.form-head h2 { font-size: 1.15rem; }
.form-head span { font-size: 11px; color: var(--muted); }
.form-progress { display: flex; gap: 0; border-bottom: 1px solid var(--line); }
.form-progress__step { flex: 1; padding: 14px 18px; font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); border-inline-end: 1px solid var(--line); display: flex; align-items: center; gap: 9px; }
.form-progress__step:last-child { border-inline-end: 0; }
.form-progress__step i { width: 20px; height: 20px; border: 1px solid var(--line); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 9.5px; font-style: normal; font-family: var(--font-mono); background: #fff; flex: none; }
.form-progress__step.is-active { color: var(--ink); background: rgba(22, 134, 167, 0.05); }
.form-progress__step.is-active i { background: var(--blue); border-color: var(--blue-ink); color: #fff; }
.form-progress__step.is-done i { background: var(--ink); border-color: var(--ink); color: #fff; }

.form-body { padding: 30px 28px; }
.form-step { display: none; }
.form-step.is-active { display: block; animation: fadeUp 0.35s var(--ease); }
.form-step h3 { font-size: 1.1rem; margin-bottom: 4px; }
.form-step__hint { font-size: 12.5px; color: var(--muted); margin-bottom: 22px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.form-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 12px; font-weight: 600; color: var(--ink); display: flex; gap: 4px; align-items: baseline; }
.field label .req { color: var(--blue-ink); font-size: 11px; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="url"],
.field input[type="number"], .field select, .field textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-family: inherit;
  font-size: 13.5px;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%235c6d79' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-inline-end: 32px;
}
html[dir="rtl"] .field select { background-position: left 12px center; }
.field textarea { min-height: 112px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-ink); box-shadow: 0 0 0 3px rgba(22, 134, 167, 0.1); }
.field input::placeholder, .field textarea::placeholder { color: #93a2ab; }
.field__error { font-size: 11.5px; color: #b4412f; display: none; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #b4412f; }
.field.has-error .field__error { display: block; }
.hint { font-size: 11px; color: var(--muted); line-height: 1.5; }
.section--dark .hint, .section--steel .hint { color: rgba(255, 255, 255, 0.55); }
.section--dark .text-muted, .section--steel .text-muted { color: rgba(255, 255, 255, 0.62); }
.section--dark .small, .section--steel .small { color: rgba(255, 255, 255, 0.72); }

.choice-group { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-size: 12px;
  color: var(--muted);
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.choice input:checked + span { border-color: var(--blue-ink); background: rgba(22, 134, 167, 0.07); color: var(--ink); font-weight: 500; }
.choice input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }

.upload {
  border: 1px dashed var(--line);
  background: var(--paper);
  border-radius: 3px;
  padding: 24px;
  text-align: center;
  transition: border-color 0.2s, background 0.2s;
  cursor: pointer;
  position: relative;
}
.upload:hover, .upload.is-drag { border-color: var(--blue-ink); background: rgba(22, 134, 167, 0.04); }
.upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.upload svg { width: 26px; height: 26px; margin: 0 auto 10px; stroke: var(--muted); }
.upload strong { display: block; font-size: 13px; font-weight: 600; color: var(--ink); }
.upload span { display: block; margin-top: 4px; font-size: 11.5px; color: var(--muted); }
.upload__files { display: grid; gap: 6px; margin-top: 12px; text-align: start; }
.upload__files div { font-size: 11.5px; color: var(--muted); display: flex; justify-content: space-between; gap: 10px; border-top: 1px dashed var(--line); padding-top: 6px; }

.form-foot { padding: 20px 28px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 16px; background: var(--paper); }
.form-foot__note { font-size: 11px; color: var(--muted); max-width: 420px; line-height: 1.5; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 12px; color: var(--muted); line-height: 1.55; }
.consent input { width: 16px; height: 16px; margin-top: 2px; accent-color: var(--blue-ink); flex: none; }
.consent a { color: var(--blue-ink); border-bottom: 1px solid rgba(22, 134, 167, 0.3); }
.form-success { display: none; padding: 44px 28px; text-align: center; }
.form-success.is-visible { display: block; }
.form-success__icon { width: 54px; height: 54px; border-radius: 50%; border: 1px solid rgba(22, 134, 167, 0.4); color: var(--blue-ink); display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }
.form-success h3 { font-size: 1.3rem; margin-bottom: 8px; }
.form-success p { font-size: 13.5px; color: var(--muted); max-width: 460px; margin: 0 auto; line-height: 1.65; }
.form-success__actions { margin-top: 22px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ---------- floating actions ---------- */
.wa-float {
  position: fixed;
  inset-inline-end: 22px;
  bottom: 22px;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #128c7e;
  color: #fff;
  padding: 11px 15px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 10px 26px rgba(17, 24, 32, 0.2);
  transition: transform 0.2s var(--ease), background 0.2s;
}
.wa-float:hover { background: #0f7a6d; transform: translateY(-2px); color: #fff; }
.wa-float svg { width: 17px; height: 17px; fill: currentColor; }

.back-top {
  position: fixed;
  inset-inline-end: 22px;
  bottom: 78px;
  z-index: 45;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s, border-color 0.2s;
  cursor: pointer;
}
.back-top.is-visible { opacity: 1; visibility: visible; }
.back-top:hover { border-color: var(--ink); color: var(--ink); }

/* ---------- cookie ---------- */
.cookie {
  position: fixed;
  inset-inline: 20px;
  bottom: 20px;
  z-index: 70;
  max-width: 640px;
  margin-inline: auto;
  background: rgba(17, 24, 32, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.7);
  padding: 18px 20px;
  border-radius: 3px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  display: none;
  gap: 16px;
  align-items: center;
  backdrop-filter: blur(10px);
}
.cookie.is-visible { display: flex; }
.cookie p { font-size: 12px; line-height: 1.6; }
.cookie a { color: var(--blue-light); border-bottom: 1px solid rgba(79, 179, 207, 0.4); }
.cookie__actions { display: flex; gap: 8px; flex: none; }
.cookie .btn { min-height: 36px; padding: 8px 12px; font-size: 11px; }
.cookie .btn--ghost { border-color: rgba(255, 255, 255, 0.25); color: #fff; }
.cookie .btn--ghost:hover { border-color: #fff; }

/* ---------- misc ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

.badge-concept {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line);
  padding: 3px 6px;
  border-radius: 1px;
}
.figure { margin: 0; }
.figure__img { position: relative; overflow: hidden; border-radius: 2px; background: var(--mist); }
.figure__img img { width: 100%; height: 100%; object-fit: cover; }
.figure figcaption { margin-top: 10px; font-size: 11px; color: var(--muted); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.figure--portrait .figure__img { aspect-ratio: 3 / 4; }
.figure--wide .figure__img { aspect-ratio: 16 / 9; }

.note-line { display: flex; gap: 10px; align-items: flex-start; font-size: 11.5px; line-height: 1.55; color: var(--muted); }
.note-line svg { width: 15px; height: 15px; flex: none; stroke: var(--blue); margin-top: 2px; }

.pending-value { color: var(--blue-ink); font-size: 12px; font-weight: 500; }

.cta-inline { margin-top: 28px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.cta-inline__text { font-size: 13px; color: var(--muted); }

/* article body */
.prose { max-width: 760px; }
.prose > * + * { margin-top: 22px; }
.prose h2 { font-size: 1.55rem; margin-top: 44px; }
.prose h3 { font-size: 1.18rem; margin-top: 32px; }
.prose p, .prose li { font-size: 15px; line-height: 1.75; color: #3a4852; }
.prose ul, .prose ol { padding-inline-start: 20px; display: grid; gap: 8px; }
.prose ul li { list-style: disc; }
.prose ol li { list-style: decimal; }
.prose blockquote { margin: 28px 0; padding: 20px 24px; border-inline-start: 3px solid var(--blue); background: var(--mist); font-size: 14.5px; line-height: 1.7; color: var(--steel); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--blue-ink); border-bottom: 1px solid rgba(22, 134, 167, 0.3); }

/* alert strip */
.alert {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border: 1px solid rgba(197, 145, 42, 0.28);
  background: rgba(197, 145, 42, 0.06);
  border-radius: 2px;
  font-size: 12px;
  line-height: 1.6;
  color: #6d5320;
}
.alert strong { color: #5c4518; }
.alert svg { width: 16px; height: 16px; flex: none; stroke: #a97c20; margin-top: 2px; }

/* utility */
.mt-0 { margin-top: 0 !important; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 14px; }
.mt-4 { margin-top: 22px; }
.mt-5 { margin-top: 32px; }
.mb-0 { margin-bottom: 0 !important; }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.hide { display: none !important; }
.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;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1180px) {
  :root { --gutter: 26px; }
  .nav, .header-cta { display: none; }
  .burger { display: flex; }
  .header__right { gap: 10px; }
  .hero__grid { grid-template-columns: 1fr; gap: 44px; align-items: start; }
  .hero__panel { max-width: 460px; }
  .hero { min-height: auto; padding-block: 72px 64px; }
  .hero__side { display: none; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; }
  .hero__bg img { object-position: 70% 50%; }
  .page-hero--image::after { display: none; }
  .page-hero__media { width: 40%; opacity: 0.35; }
  .page-hero__content { max-width: 640px; }
}

@media (max-width: 1024px) {
  .section { padding-block: 80px; }
  .split, .split--wide { grid-template-columns: 1fr; gap: 40px; }
  .section-head { grid-template-columns: 1fr; gap: 20px; align-items: start; }
  .section-head__r { justify-self: start; }
  .band__inner, .cta-section__inner { grid-template-columns: 1fr; gap: 32px; }
  .band .actions, .cta-section .actions { justify-content: flex-start; }
  .hero__title { font-size: clamp(2.5rem, 6vw, 3.4rem); }
  .stat-band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { padding-inline-start: 0; border-inline-start: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .section--dark .stat:nth-child(3) { border-inline-start: 0; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .value-row { grid-template-columns: 1fr; }
  .value-row__need { padding-bottom: 12px; }
  .value-row__answer { border-inline-start: 0; padding-inline-start: 0; padding-top: 12px; padding-bottom: 26px; border-top: 1px dashed var(--line-soft); }
  .page-hero__media { display: none; }
  .page-hero--image::after { display: none; }
  .form-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  :root { --gutter: 20px; --header-h: 66px; }
  .brand__name { font-size: 16px; }
  .brand__mark { height: 30px; }
  .brand__sub { font-size: 7.5px; letter-spacing: 0.18em; }
  .hero { padding-block: 56px 52px; }
  .hero__title { font-size: clamp(2.15rem, 8.2vw, 2.9rem); }
  .hero__lead { margin-top: 20px; font-size: 14.5px; }
  .hero__meta { font-size: 11.5px; gap: 8px 14px; }
  .hero__panel { padding: 20px; }
  .hero__bg img { object-position: 72% 50%; }
  .section { padding-block: 62px; }
  .section--tight { padding-block: 48px; }
  .h-2 { font-size: 1.72rem; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats, .stat-band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { padding: 22px 16px; }
  .step { padding-block: 24px; }
  .page-hero { padding-block: 44px 48px; }
  .page-hero h1 { font-size: 1.9rem; }
  .page-hero__lead { font-size: 14px; }
  .form-grid, .form-grid--3 { grid-template-columns: 1fr; gap: 16px; }
  .form-body { padding: 24px 18px; }
  .form-head { padding: 18px; flex-direction: column; align-items: flex-start; gap: 6px; }
  .form-progress__step { padding: 12px 10px; font-size: 9.5px; letter-spacing: 0.03em; }
  .form-progress__step span { display: none; }
  .form-progress__step i { width: 24px; height: 24px; font-size: 10px; }
  .form-foot { padding: 16px 18px; flex-direction: column; align-items: stretch; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__brand .footer__about { max-width: 100%; }
  .cookie { flex-direction: column; align-items: flex-start; gap: 12px; }
  .cookie__actions { width: 100%; }
  .cookie__actions .btn { flex: 1; }
  .wa-float { inset-inline-end: 14px; bottom: 14px; padding: 10px 12px; font-size: 11px; }
  .back-top { display: none; }
  .office { grid-template-columns: 1fr; gap: 8px; }
  .tl-item { grid-template-columns: 50px minmax(0, 1fr); gap: 16px; }
  .subnav__inner { gap: 18px; }
  .table-wrap { border-radius: 2px; }
  .cta-section { padding-block: 56px; }
  .section-head { margin-bottom: 32px; }
}

@media (max-width: 480px) {
  .actions { width: 100%; }
  .actions .btn { flex: 1; }
  .hero .actions .btn { flex: 1 1 100%; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
  .card__body { padding: 18px; }
  .stat strong { font-size: 1.5rem; }
}

/* ============================================================
   RTL adjustments
   ============================================================ */
html[dir="rtl"] .hero__side { inset-inline-end: auto; inset-inline-start: 26px; }
html[dir="rtl"] .nav__link.is-active::after { inset-inline: 9px; }
html[dir="rtl"] .value-row__need { padding-inline: 0 32px; }
html[dir="rtl"] .value-row__answer { padding-inline: 32px 0; }
html[dir="rtl"] .step { padding-inline: 26px 0; }
html[dir="rtl"] .bullets li::before { inset-inline-start: auto; inset-inline-end: 0; }
html[dir="rtl"] .bullets li { padding-inline: 0 18px; }
html[dir="rtl"] .upload__files div { text-align: start; }
html[dir="rtl"] .faq__q { text-align: start; }
html[dir="rtl"] .stat:first-child { padding-inline-start: 26px; padding-inline-end: 0; }
html[dir="rtl"] .table-wrap { direction: rtl; }

/* ============================================================
   Motion preferences
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

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