@charset "UTF-8";
/* ==========================================================================
   GUANJIAO MACHINERY — Глобальный B2B сайт
   main.css  |  Mobile-first, глобальная типографика оптимизирована
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  --brand:        #123A63;
  --brand-2:      #1E5A94;
  --brand-3:      #2E7CC4;
  --brand-soft:   #EAF2FA;
  --accent:       #F59628;
  --accent-2:     #E07F0C;
  --accent-soft:  #FFF3E3;

  --ink:          #16233A;
  --ink-2:        #33415C;
  --muted:        #5F6B7F;
  --muted-2:      #8894A5;

  --bg:           #FFFFFF;
  --bg-soft:      #F5F8FB;
  --bg-soft-2:    #EDF2F8;
  --line:         #E3E9F1;
  --line-2:       #D3DCE7;

  --ok:           #2E9E5B;
  --wechat:       #07C160;
  --fb:           #1877F2;
  --wa:           #25D366;

  --radius:       12px;
  --radius-lg:    18px;
  --radius-sm:    8px;

  --shadow-xs:    0 1px 2px rgba(18, 58, 99, .06);
  --shadow-sm:    0 2px 10px rgba(18, 58, 99, .07);
  --shadow-md:    0 8px 26px rgba(18, 58, 99, .10);
  --shadow-lg:    0 18px 48px rgba(18, 58, 99, .14);

  --container:    1240px;
  --header-h:     68px;

  --ease:         cubic-bezier(.4, 0, .2, 1);
  --font: "Be Vietnam Pro", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
          Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;                /* Vietnamese diacritics need taller leading */
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  word-wrap: break-word;
}

body.is-locked { overflow: hidden; }

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 .6em;
  font-weight: 700;
  line-height: 1.32;
  color: var(--brand);
  letter-spacing: -.01em;
}
h1 { font-size: 1.7rem; }
h2 { font-size: 1.4rem; }
h3 { font-size: 1.12rem; }
h4 { font-size: 1.05rem; }

p  { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--brand-2); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--accent-2); }

img, svg { max-width: 100%; height: auto; display: block; border: 0; }
img { background: var(--bg-soft); }

ul, ol { margin: 0 0 1em; padding-left: 1.35em; }
/* li { margin-bottom: .35em; } — 已注释：全局生效会撑高导航栏/抽屉/mobile bar 的 li 高度 */

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }

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

::selection { background: var(--accent); color: #fff; }

.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; left: -9999px; top: 0; z-index: 200;
  background: var(--brand); color: #fff; padding: 12px 20px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* --------------------------------------------------------------------------
   3. Layout helpers
   -------------------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 900px; }

.section        { padding: clamp(44px, 6vw, 84px) 0; }
.section--soft  { background: var(--bg-soft); }
.section--soft2 { background: var(--bg-soft-2); }
.section--tight { padding: clamp(32px, 4vw, 56px) 0; }
.section--nopad { padding: 0; }

.section-head { max-width: 760px; margin: 0 auto clamp(28px, 4vw, 48px); text-align: center; }
.section-head .eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--accent-2); margin-bottom: 12px;
}
.section-head h2 { margin-bottom: .45em; }
.section-head p  { color: var(--muted); font-size: 1.02rem; }
.section-head--left { margin-left: 0; text-align: left; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
/* 应用行业：偶数行图文左右交替（图右文左）——仅桌面端；≤992px 单列时按 DOM 顺序（图在上） */
@media (min-width: 993px) {
  .split--rev > div:first-child { grid-column: 2; grid-row: 1; }
  .split--rev > div:last-child  { grid-column: 1; grid-row: 1; }
}


.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.text-center { text-align: center; }
.text-accent { color: var(--accent-2); }

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 26px; border: 1px solid transparent; border-radius: 999px;
  font-size: .96rem; font-weight: 600; line-height: 1.3; text-align: center;
  cursor: pointer; transition: all .22s var(--ease); white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: 0 0 auto; }

.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(245, 150, 40, .28); }
.btn--primary:hover { background: var(--accent-2); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(245, 150, 40, .34); }

.btn--brand { background: var(--brand); color: #fff; }
.btn--brand:hover { background: var(--brand-2); color: #fff; transform: translateY(-2px); }

.btn--ghost { background: #fff; color: var(--brand); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--brand-2); color: var(--brand-2); transform: translateY(-2px); }

.btn--outline-light { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.45); backdrop-filter: blur(4px); }
.btn--outline-light:hover { background: #fff; color: var(--brand); border-color: #fff; }

.btn--sm { padding: 9px 18px; font-size: .88rem; }
.btn--lg { padding: 16px 34px; font-size: 1.03rem; }
.btn--block { display: flex; width: 100%; }

.btn-group { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-group--center { justify-content: center; }

.link-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .94rem; color: var(--brand-2); }
.link-more svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.link-more:hover svg { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   5. Top bar
   -------------------------------------------------------------------------- */
.topbar { background: var(--brand); color: rgba(255,255,255,.85); font-size: .86rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar__tag { flex: 1 1 auto; min-width: 0; font-weight: 500; letter-spacing: .01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar__right { flex: 0 0 auto; display: flex; align-items: center; gap: 18px; }
.topbar__item { display: inline-flex; align-items: center; gap: 7px; color: rgba(255,255,255,.88); }
.topbar__item:hover { color: #fff; }
.topbar__item svg { width: 15px; height: 15px; }
.topbar__item strong { color: #fff; font-weight: 700; letter-spacing: .02em; }

/* Topbar 响应式：中等宽度隐藏次要项，保证单行不换行 */
@media (max-width: 1199px) {
  .topbar__item--email, .topbar__item--clock { display: none; }
}
@media (max-width: 992px) {
  .topbar__tag { display: none; }
}

.lang-switch { position: relative; }
.lang-switch__btn {
  display: inline-flex; align-items: center; gap: 6px; background: none; border: 0;
  color: rgba(255,255,255,.9); font-size: .86rem; font-weight: 600; padding: 6px 4px;
}
.lang-switch__btn svg { width: 14px; height: 14px; }
.lang-switch__btn .flag { font-size: 14px; line-height: 1; }
.lang-switch__list {
  position: absolute; right: 0; top: 100%; z-index: 95; min-width: 150px; margin: 6px 0 0;
  padding: 6px; list-style: none; background: #fff; border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: all .2s var(--ease);
}
.lang-switch:hover .lang-switch__list,
.lang-switch__btn:focus + .lang-switch__list { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-switch__list a {
  display: flex; align-items: center; gap: 9px; padding: 8px 12px; border-radius: 6px;
  color: var(--ink-2); font-size: .9rem;
}
.lang-switch__list a:hover { background: var(--brand-soft); color: var(--brand); }
.lang-switch__list a[aria-current="true"] { color: var(--brand); font-weight: 700; background: var(--brand-soft); }
.lang-switch__list img { width: 20px; height: 14px; object-fit: cover; border-radius: 2px; }

/* --------------------------------------------------------------------------
   6. Header
   -------------------------------------------------------------------------- */
.header {
  position: sticky; top: 0; z-index: 80; background: #fff;
  border-bottom: 1px solid var(--line); transition: box-shadow .25s var(--ease);
}
.header.is-stuck { box-shadow: var(--shadow-sm); }
.header__inner {
  display: flex; align-items: center; gap: 24px; min-height: var(--header-h);
}
.header__logo { flex: 0 0 auto; display: flex; align-items: center; }
.header__logo svg { height: 46px; width: auto; display: block; }
.drawer__logo { height: 38px; width: auto; display: block; }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__list > li { position: relative; }
.nav__list > li > a {
  display: flex; align-items: center; gap: 5px; padding: 24px 13px;
  font-size: .95rem; font-weight: 600; color: var(--ink); white-space: nowrap;
}
.nav__list > li > a .caret { width: 13px; height: 13px; transition: transform .2s var(--ease); opacity: .65; }
.nav__list > li:hover > a, .nav__list > li > a.is-active { color: var(--brand-2); }
.nav__list > li:hover > a .caret { transform: rotate(180deg); }
.nav__list > li > a.is-active::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 14px;
  height: 3px; border-radius: 3px; background: var(--accent);
}

.nav__drop {
  position: absolute; left: 0; top: 100%; z-index: 70; min-width: 240px; margin: 0; padding: 10px;
  list-style: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all .22s var(--ease);
}
.nav__list > li:hover > .nav__drop,
.nav__list > li:focus-within > .nav__drop { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__drop a {
  display: block; padding: 9px 12px; border-radius: var(--radius-sm);
  font-size: .92rem; color: var(--ink-2); line-height: 1.5;
}
.nav__drop a:hover { background: var(--brand-soft); color: var(--brand); }
.nav__drop--mega { min-width: 660px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 18px; padding: 18px; }
.nav__drop--mega .mega__col > span {
  display: block; padding: 6px 12px 10px; font-size: .78rem; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase; color: var(--accent-2);
  border-bottom: 1px solid var(--line); margin-bottom: 8px;
}
.nav__drop--mega .mega__col a { font-size: .9rem; }
.nav__drop--mega .mega__col a::before { content: "› "; color: var(--muted-2); }

.header__actions { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.header__phone {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700;
  color: var(--brand); font-size: 1rem; letter-spacing: .01em;
}
.header__phone svg { width: 18px; height: 18px; color: var(--accent-2); }

.hamburger {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line-2);
  border-radius: var(--radius-sm); background: #fff; padding: 0;
  align-items: center; justify-content: center; flex-direction: column; gap: 4px;
}
.hamburger span { display: block; width: 20px; height: 2px; background: var(--brand); border-radius: 2px; transition: all .25s var(--ease); }
.hamburger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0 0 0 auto; z-index: 120; width: min(88vw, 380px);
  background: #fff; transform: translateX(100%); transition: transform .3s var(--ease);
  display: flex; flex-direction: column; box-shadow: var(--shadow-lg);
}
.drawer.is-open { transform: translateX(0); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.drawer__head img { height: 38px; }
.drawer__close { width: 40px; height: 40px; border: 0; background: var(--bg-soft); border-radius: 50%; display: grid; place-items: center; }
.drawer__close svg { width: 18px; height: 18px; }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 20px 28px; -webkit-overflow-scrolling: touch; }
.drawer__nav { list-style: none; margin: 0; padding: 0; }
.drawer__nav > li { border-bottom: 1px solid var(--line); }
.drawer__nav a { display: block; padding: 15px 0; font-weight: 600; color: var(--ink); font-size: 1rem; }
.drawer__nav a:hover { color: var(--brand-2); }
.drawer__sub { list-style: none; margin: 0 0 12px; padding: 0 0 6px 14px; border-left: 2px solid var(--brand-soft); display: none; }
.drawer__sub.is-open { display: block; }
.drawer__sub a { padding: 8px 0; font-size: .92rem; font-weight: 500; color: var(--muted); }
.drawer__sub a strong { display: block; color: var(--brand); font-size: .95rem; margin-top: 8px; }
.drawer__toggle { flex: 1; display: flex; align-items: center; justify-content: space-between; }
.drawer__nav a.drawer__toggle { display: flex; align-items: center; justify-content: flex-start; gap: 6px; }
.drawer__toggle svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.drawer__toggle.is-open svg { transform: rotate(180deg); }
.drawer__cta { margin-top: 22px; display: grid; gap: 10px; }
.drawer__contact { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .92rem; color: var(--muted); }
.drawer__contact a { display: flex; align-items: center; gap: 9px; padding: 7px 0; color: var(--ink); font-weight: 600; }
.drawer__contact svg { width: 17px; height: 17px; color: var(--accent-2); }

.backdrop {
  position: fixed; inset: 0; z-index: 110; background: rgba(11, 26, 45, .5);
  opacity: 0; visibility: hidden; transition: all .28s var(--ease);
}
.backdrop.is-open { opacity: 1; visibility: visible; }

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(115deg, #0E3155 0%, #17456F 46%, #1E5A94 100%);
}
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .17; mix-blend-mode: luminosity; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(900px 460px at 88% 18%, rgba(245,150,40,.30), transparent 62%);
}
.hero__inner { position: relative; z-index: 2; padding: clamp(52px, 8vw, 104px) 0 clamp(46px, 6vw, 78px); }
.hero__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(30px, 5vw, 60px); align-items: center; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 16px; margin-bottom: 20px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.24);
  border-radius: 999px; font-size: .82rem; font-weight: 600; letter-spacing: .04em;
}
.hero__eyebrow svg { width: 15px; height: 15px; }
.hero h1 { color: #fff; font-size: clamp(1.8rem, 4.4vw, 3rem); line-height: 1.24; margin-bottom: 18px; }
.hero h1 .hl { color: var(--accent); }
.hero__lead { font-size: clamp(1rem, 1.7vw, 1.14rem); color: rgba(255,255,255,.9); max-width: 620px; margin-bottom: 12px; }
.hero__list { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 9px; }
.hero__list li { display: flex; align-items: flex-start; gap: 10px; font-size: .98rem; color: rgba(255,255,255,.92); margin: 0; }
.hero__list svg { width: 19px; height: 19px; flex: 0 0 auto; margin-top: 3px; color: var(--accent); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 13px; margin-bottom: 30px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 26px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.18); }
.hero__trust span { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; color: rgba(255,255,255,.88); }
.hero__trust svg { width: 17px; height: 17px; color: var(--accent); }

/* Hero quick-inquiry card */
.hero__card {
  background: #fff; color: var(--ink); border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 32px); box-shadow: var(--shadow-lg);
}
.hero__card h3 { font-size: 1.22rem; margin-bottom: 6px; }
.hero__card > p { color: var(--muted); font-size: .94rem; margin-bottom: 18px; }
.hero__card .form__row { margin-bottom: 13px; }
.hero__card .form__note { font-size: .8rem; color: var(--muted-2); margin-top: 12px; text-align: center; }

/* --------------------------------------------------------------------------
   8. Stats strip
   -------------------------------------------------------------------------- */
.stats { background: var(--brand); color: #fff; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats__item { padding: clamp(24px, 3.5vw, 38px) 18px; text-align: center; border-left: 1px solid rgba(255,255,255,.14); }
.stats__item:first-child { border-left: 0; }
.stats__num { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; line-height: 1.1; color: var(--accent); }
.stats__label { font-size: .92rem; color: rgba(255,255,255,.85); margin-top: 4px; }

/* --------------------------------------------------------------------------
   9. Cards — category / product / application
   -------------------------------------------------------------------------- */
.cat-card {
  position: relative; display: block; overflow: hidden; border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--line); transition: all .28s var(--ease);
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--brand-3); }
.cat-card__media { aspect-ratio: 4 / 3; overflow: hidden; background: #fff; }
.cat-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.cat-card:hover .cat-card__media img { transform: scale(1.06); }
.cat-card__body { padding: 16px 18px 20px; background: #fff; }
.cat-card__body h3 { font-size: 1.06rem; margin-bottom: 4px; }
.cat-card__body p { font-size: .9rem; color: var(--muted); margin: 0; }

.pcard {
  display: flex; flex-direction: column; height: 100%; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  transition: all .26s var(--ease);
}
.pcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--brand-3); }
.pcard__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-soft); }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.06); }
.pcard__tag {
  position: absolute; left: 12px; top: 12px; padding: 4px 11px; border-radius: 999px;
  background: var(--accent); color: #fff; font-size: .74rem; font-weight: 700; letter-spacing: .03em;
}
.pcard__badge {
  position: absolute; right: 12px; top: 12px; padding: 4px 10px; border-radius: 999px;
  background: rgba(18,58,99,.86); color: #fff; font-size: .72rem; font-weight: 600;
}
.pcard__body { display: flex; flex-direction: column; flex: 1; padding: 18px; }
.pcard__cat { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 7px; }
.pcard__title { font-size: 1.02rem; line-height: 1.45; margin-bottom: 10px; }
.pcard__title a { color: var(--brand); }
.pcard__title a:hover { color: var(--brand-2); }
.pcard__desc { font-size: .9rem; color: var(--muted); margin-bottom: 14px; }
.pcard__specs { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 6px; }
.pcard__specs li { display: flex; gap: 8px; font-size: .86rem; color: var(--ink-2); margin: 0; }
.pcard__specs svg { width: 15px; height: 15px; flex: 0 0 auto; margin-top: 4px; color: var(--ok); }
.pcard__foot { margin-top: auto; display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.pcard__price { font-size: .9rem; color: var(--muted); }
.pcard__price strong { display: block; color: var(--accent-2); font-size: 1.02rem; }

/* Application tiles */
.app-tile {
  position: relative; display: block; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4 / 3; background: var(--brand-soft);
}
.app-tile img { width: 100%; height: 100%; object-fit: cover; margin: 0; transition: transform .5s var(--ease); }
.app-tile:hover img { transform: scale(1.08); }
.app-tile__label {
  position: absolute; inset: auto 0 0 0; padding: 34px 14px 13px; color: #fff; font-weight: 700;
  font-size: .98rem; text-align: center;
  background: linear-gradient(to top, rgba(11,32,56,.92), rgba(11,32,56,.45) 55%, transparent);
}
.app-tile:hover .app-tile__label { color: var(--accent); }

/* Feature (why us) */
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 22px; height: 100%; transition: all .26s var(--ease); }
.feature:hover { border-color: var(--brand-3); box-shadow: var(--shadow-sm); transform: translateY(-4px); }
.feature__icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand); margin-bottom: 16px; transition: all .26s var(--ease);
}
.feature:hover .feature__icon { background: var(--accent); color: #fff; }
.feature__icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.05rem; margin-bottom: 6px; }
.feature p { font-size: .92rem; color: var(--muted); margin: 0; }

/* Process steps */
.steps { counter-reset: step; display: grid; gap: 22px; }
.step { position: relative; padding-left: 62px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%;
  background: var(--brand); color: #fff; font-weight: 800; font-size: 1.05rem;
  display: grid; place-items: center;
}
.step h4 { margin-bottom: 4px; font-size: 1.02rem; }
.step p { font-size: .93rem; color: var(--muted); margin: 0; }

/* --------------------------------------------------------------------------
   10. News cards
   -------------------------------------------------------------------------- */
.ncard { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: all .26s var(--ease); }
.ncard:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--brand-3); }
.ncard__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); }
.ncard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.ncard:hover .ncard__media img { transform: scale(1.06); }
.ncard__body { display: flex; flex-direction: column; flex: 1; padding: 20px; }
.ncard__meta { display: flex; align-items: center; gap: 12px; font-size: .8rem; color: var(--muted-2); margin-bottom: 9px; }
.ncard__meta svg { width: 14px; height: 14px; }
.ncard__title { font-size: 1.04rem; line-height: 1.48; margin-bottom: 9px; }
.ncard__title a { color: var(--brand); }
.ncard__excerpt { font-size: .92rem; color: var(--muted); margin-bottom: 15px; }
.ncard__foot { margin-top: auto; }

.ncard--row { flex-direction: row; }
.ncard--row .ncard__media { flex: 0 0 300px; aspect-ratio: auto; }

/* --------------------------------------------------------------------------
   11. Testimonials
   -------------------------------------------------------------------------- */
.quote-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; height: 100%; position: relative; }
.quote-card::before {
  content: ""; position: absolute; left: 26px; top: 18px; width: 34px; height: 34px;
  background: var(--accent-soft); border-radius: 50%;
}
.quote-card__mark { position: relative; width: 26px; height: 26px; color: var(--accent); margin-bottom: 14px; }
.quote-card p { font-size: .96rem; color: var(--ink-2); margin-bottom: 18px; }
.quote-card__author { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.quote-card__avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-weight: 800; flex: 0 0 auto; }
.quote-card__name { font-weight: 700; font-size: .95rem; color: var(--brand); }
.quote-card__role { font-size: .84rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   12. FAQ accordion
   -------------------------------------------------------------------------- */
.faq { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.faq__item + .faq__item { border-top: 1px solid var(--line); }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; background: none; border: 0; text-align: left;
  font-size: 1rem; font-weight: 600; color: var(--brand);
}
.faq__q:hover { background: var(--bg-soft); }
.faq__q svg { width: 20px; height: 20px; flex: 0 0 auto; transition: transform .26s var(--ease); color: var(--brand-3); }
.faq__item.is-open .faq__q { background: var(--brand-soft); }
.faq__item.is-open .faq__q svg { transform: rotate(45deg); }
.faq__a { display: none; padding: 0 22px 20px; }
.faq__item.is-open .faq__a { display: block; }
.faq__a p { font-size: .95rem; color: var(--ink-2); }

/* --------------------------------------------------------------------------
   13. CTA banner
   -------------------------------------------------------------------------- */
.cta-banner { position: relative; overflow: hidden; background: linear-gradient(120deg, #0E3155, #1E5A94 62%, #2E7CC4); color: #fff; text-align: center; }
.cta-banner__bg { position: absolute; inset: 0; }
.cta-banner__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .13; }
.cta-banner::after { content: ""; position: absolute; inset: 0; background: radial-gradient(680px 300px at 50% 100%, rgba(245,150,40,.3), transparent 70%); }
.cta-banner__inner { position: relative; z-index: 2; padding: clamp(40px, 6vw, 70px) 0; }
.cta-banner h2 { color: #fff; }
.cta-banner p { color: rgba(255,255,255,.88); max-width: 640px; margin: 0 auto 24px; }

/* --------------------------------------------------------------------------
   14. Breadcrumb + page header
   -------------------------------------------------------------------------- */
.page-head { background: linear-gradient(120deg, var(--brand-soft), #F3F8FD 60%, #FFF8EF); border-bottom: 1px solid var(--line); padding: clamp(30px, 4.5vw, 52px) 0; }
.page-head h1 { margin-bottom: .3em; }
.page-head p { color: var(--muted); max-width: 780px; margin: 0; }

.breadcrumb { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin: 0 0 14px; padding: 0; font-size: .86rem; color: var(--muted); }
.breadcrumb li { margin: 0; display: flex; align-items: center; gap: 7px; }
.breadcrumb li + li::before { content: "›"; color: var(--muted-2); font-size: 1.05rem; line-height: 1; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--brand-2); }
.breadcrumb [aria-current="page"] { color: var(--brand); font-weight: 600; }

/* --------------------------------------------------------------------------
   15. Forms
   -------------------------------------------------------------------------- */
.form__row { margin-bottom: 14px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.form__label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: 6px; color: var(--ink-2); }
.form__label .req { color: #E23C3C; }
.form__control {
  width: 100%; padding: 11px 14px; border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  background: #fff; font-size: .95rem; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.form__control::placeholder { color: var(--muted-2); }
.form__control:focus { outline: 0; border-color: var(--brand-3); box-shadow: 0 0 0 3px rgba(46,124,196,.14); }
textarea.form__control { min-height: 108px; resize: vertical; }
select.form__control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235F6B7F' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; padding-right: 38px; }
.form__hint { font-size: .8rem; color: var(--muted-2); margin-top: 5px; }
.form__note { font-size: .82rem; color: var(--muted-2); }
.form__consent { display: flex; gap: 9px; align-items: flex-start; font-size: .84rem; color: var(--muted); margin: 12px 0 16px; }
.form__consent input { margin-top: 3px; }
.form__result[hidden] { display: none; }

.inquiry-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 28px); box-shadow: var(--shadow-sm); }
.inquiry-box h3 { margin-bottom: 4px; }
.inquiry-box > p { font-size: .92rem; color: var(--muted); margin-bottom: 18px; }

/* --------------------------------------------------------------------------
   16. Sidebar
   -------------------------------------------------------------------------- */
.sidebar { position: sticky; top: 108px; display: grid; gap: 22px; }
.side-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; }
.side-box__title { font-size: 1rem; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 2px solid var(--brand-soft); }
/* 侧栏搜索框：放大镜内嵌在输入框右侧（不占额外一行，无独立按钮） */
.search-field { position: relative; }
.search-field .form__control { padding-right: 44px; }
.search-field .form__control::-webkit-search-cancel-button { -webkit-appearance: none; }  /* 去掉原生的清空叉，避免与放大镜重叠 */
.search-field__btn {
  position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; display: grid; place-items: center;
  padding: 0; border: 0; border-radius: 50%; background: none; color: var(--muted); cursor: pointer;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.search-field__btn svg { width: 18px; height: 18px; }
.search-field__btn:hover { color: var(--brand); background: var(--bg-soft); }
.search-field__btn:focus-visible { outline: 2px solid var(--brand-3); outline-offset: 1px; }
/* Боковая входная карточка (например, на странице новостей «Нужна консультация по конфигурации?»): пояснительный текст + полноширинная оранжевая кнопка */
.side-cta__desc { font-size: .92rem; color: var(--muted); margin-bottom: 16px; }
.side-cta .btn { gap: 8px; }
.side-nav { list-style: none; margin: 0; padding: 0; }
.side-nav li { margin: 0; }
.side-nav a {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 10px 12px; border-radius: var(--radius-sm); font-size: .94rem; color: var(--ink-2);
}
.side-nav a:hover { background: var(--bg-soft); color: var(--brand-2); }
.side-nav a.is-active { background: var(--brand); color: #fff; font-weight: 600; }
.side-nav .count { font-size: .8rem; color: var(--muted-2); }
.side-nav a.is-active .count { color: rgba(255,255,255,.7); }

.side-post { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.side-post:last-child { border-bottom: 0; padding-bottom: 0; }
.side-post__media { flex: 0 0 76px; aspect-ratio: 1/1; border-radius: var(--radius-sm); overflow: hidden; background: var(--bg-soft); }
.side-post__media img { width: 100%; height: 100%; object-fit: cover; }
.side-post__title { font-size: .9rem; font-weight: 600; line-height: 1.45; margin-bottom: 3px; }
.side-post__title a { color: var(--ink); }
.side-post__date { font-size: .78rem; color: var(--muted-2); }

.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud a { padding: 6px 13px; border: 1px solid var(--line-2); border-radius: 999px; font-size: .84rem; color: var(--ink-2); }
.tag-cloud a:hover { border-color: var(--brand-3); background: var(--brand-soft); color: var(--brand); }
.tag-cloud__label { font-weight: 600; color: var(--muted); margin-right: 6px; font-size: .9rem; }

.layout-main-side { display: grid; grid-template-columns: 1fr 330px; gap: clamp(26px, 4vw, 46px); align-items: start; }
.layout-side-main { display: grid; grid-template-columns: 300px 1fr; gap: clamp(26px, 4vw, 46px); align-items: start; }

/* Toolbar */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.toolbar__count { font-size: .94rem; color: var(--muted); }
.toolbar__count strong { color: var(--brand); }
.toolbar__sort { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--muted); }
.toolbar__sort select { padding: 8px 34px 8px 12px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background-color: #fff; }

.filter-chips { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 26px; }
.filter-chips a { padding: 8px 17px; border: 1px solid var(--line-2); border-radius: 999px; font-size: .9rem; color: var(--ink-2); background: #fff; }
.filter-chips a:hover { border-color: var(--brand-3); color: var(--brand-2); }
.filter-chips a.is-active { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }

/* --------------------------------------------------------------------------
   17. Pagination
   -------------------------------------------------------------------------- */
.pagination { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 7px; margin-top: 40px; }
.pagination a, .pagination span {
  min-width: 40px; height: 40px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-2); border-radius: var(--radius-sm); font-size: .92rem; color: var(--ink-2); background: #fff;
}
.pagination a:hover { border-color: var(--brand-3); color: var(--brand-2); background: var(--brand-soft); }
.pagination .is-current { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 700; }
.pagination .is-disabled { opacity: .45; }

/* --------------------------------------------------------------------------
   18. Product detail
   -------------------------------------------------------------------------- */
.pd { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(26px, 4vw, 54px); align-items: start; }
.gallery__main { position: relative; aspect-ratio: 4/3; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-soft); margin-bottom: 12px; }
.gallery__main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs { display: flex; flex-wrap: wrap; gap: 10px; }
.gallery__thumbs button { width: 100px; height: 100px; padding: 0; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; background: var(--bg-soft); flex: 0 0 auto; }
.gallery__thumbs button.is-active { border-color: var(--brand-3); box-shadow: 0 0 0 2px rgba(46,124,196,.2); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }

.pd__cat { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 8px; }
.pd__title { font-size: clamp(1.4rem, 3vw, 1.95rem); margin-bottom: 12px; }
.pd__meta { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 14px 0; margin-bottom: 18px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.pd__meta span { display: inline-flex; align-items: center; gap: 7px; }
.pd__meta svg { width: 16px; height: 16px; color: var(--brand-3); }
.pd__lead { font-size: 1.02rem; color: var(--ink-2); }
.pd__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; padding: 18px; margin: 20px 0; background: var(--accent-soft); border-radius: var(--radius); }
.pd__price .label { font-size: .9rem; color: var(--ink-2); }
.pd__price .value { font-size: 1.5rem; font-weight: 800; color: var(--accent-2); }
.pd__price .note { font-size: .84rem; color: var(--muted); }
.pd__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.pd__quick { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 20px; }
.pd__quick li { display: flex; align-items: flex-start; gap: 8px; font-size: .92rem; color: var(--ink-2); margin: 0; }
.pd__quick svg { width: 17px; height: 17px; flex: 0 0 auto; margin-top: 3px; color: var(--ok); }

.cat-recommended { margin-top: 18px; font-size: .92rem; color: var(--ink-2); }
.cat-recommended strong { font-weight: 700; color: var(--brand); }
.cat-recommended a { color: var(--brand-2); text-decoration: underline; text-underline-offset: 3px; }
.cat-recommended a:hover { color: var(--accent-2); }

.spec-table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.spec-table th, .spec-table td { padding: 13px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.spec-table thead th { background: var(--brand-soft); color: var(--brand); font-size: .88rem; letter-spacing: .03em; }
.spec-table tbody th { width: 34%; font-weight: 600; color: var(--ink-2); background: #FBFCFE; }
.spec-table tbody tr:hover { background: #FBFCFE; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); }

.tabs { margin-top: clamp(32px, 5vw, 54px); }
.tabs__nav { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 2px solid var(--line); margin-bottom: 26px; }
.tabs__btn { padding: 13px 22px; border: 0; background: none; font-size: .98rem; font-weight: 600; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -2px; white-space: nowrap; }
.tabs__btn:hover { color: var(--brand-2); }
.tabs__btn.is-active { color: var(--brand); border-bottom-color: var(--accent); }
.tabs__panel { display: none; }
.tabs__panel.is-active { display: block; animation: fadeUp .35s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.prose { font-size: 1rem; line-height: 1.8; color: var(--ink-2); }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.3em; }
.prose li { margin-bottom: .5em; }
.prose img { border-radius: var(--radius); margin: 22px auto; }
/* 内容图片默认居中（2026-09-21）：img 是 display:block，容器的 text-align 管不到块级图片，
   必须给图片自身左右 auto 外边距（margin: 22px auto），否则宽度小于列宽的图一律靠左。
   ⚠️ 编辑器里显式选「左 / 右对齐」的图仍按所选对齐（下面三条特异性更高）；三条顺序有意义：center 最优先、right 次之、left 最低。 */
.prose [style*="text-align:left"] img, .prose [style*="text-align: left"] img, .prose [align="left"] img { margin-left: 0; margin-right: auto; }
.prose [style*="text-align:right"] img, .prose [style*="text-align: right"] img, .prose [align="right"] img { margin-left: auto; margin-right: 0; }
.prose [style*="text-align:center"] img, .prose [style*="text-align: center"] img, .prose [align="center"] img, .prose center img { margin-left: auto; margin-right: auto; }
.prose .app-tile img { margin: 0; border-radius: 0; }
.prose figure { margin: 24px 0; }
.prose figcaption { font-size: .86rem; color: var(--muted); text-align: center; margin-top: 8px; }
.prose blockquote { margin: 22px 0; padding: 16px 22px; background: var(--brand-soft); border-left: 4px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: .94rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 11px 14px; }
.prose th { background: var(--brand-soft); color: var(--brand); }

.download-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.download-list a { display: flex; align-items: center; gap: 14px; padding: 15px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.download-list a:hover { border-color: var(--brand-3); background: var(--brand-soft); }
.download-list svg:first-child { width: 30px; height: 30px; color: var(--brand-3); flex: 0 0 auto; }
.download-list .dl__meta { flex: 1; }
.download-list .dl__title { display: block; font-weight: 600; color: var(--ink); font-size: .96rem; }
.download-list .dl__sub { display: block; font-size: .82rem; color: var(--muted-2); }
.download-list svg:last-child { width: 18px; height: 18px; color: var(--muted-2); }

/* --------------------------------------------------------------------------
   19. Video
   -------------------------------------------------------------------------- */
.vcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: all .26s var(--ease); }
.vcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--brand-3); }
.vcard__media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--bg-soft); }
.vcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.vcard:hover .vcard__media img { transform: scale(1.05); }
.vcard__play {
  position: absolute; inset: 0; display: grid; place-items: center; border: 0; background: rgba(11,32,56,.28);
  transition: background .25s var(--ease);
}
.vcard__play:hover { background: rgba(11,32,56,.45); }
.vcard__play span { width: 58px; height: 58px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 22px rgba(0,0,0,.28); transition: transform .25s var(--ease); }
.vcard__play:hover span { transform: scale(1.1); }
.vcard__play svg { width: 22px; height: 22px; margin-left: 3px; }
.vcard__dur { position: absolute; right: 10px; bottom: 10px; padding: 3px 9px; border-radius: 5px; background: rgba(11,32,56,.82); color: #fff; font-size: .78rem; font-weight: 600; }
.vcard__body { padding: 16px 18px 20px; }
.vcard__title { font-size: 1rem; line-height: 1.48; margin-bottom: 6px; }
.vcard__title a { color: var(--brand); }
.vcard__meta { font-size: .84rem; color: var(--muted-2); }

.video-modal { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(6,18,32,.86); }
.video-modal.is-open { display: flex; }
.video-modal__box { position: relative; width: min(960px, 100%); background: #000; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.video-modal__box iframe { width: 100%; aspect-ratio: 16/9; border: 0; display: block; }
.video-modal__close { position: absolute; top: -46px; right: 0; width: 38px; height: 38px; border: 0; border-radius: 50%; background: rgba(255,255,255,.16); color: #fff; display: grid; place-items: center; }
.video-modal__close:hover { background: var(--accent); }
.video-modal__close svg { width: 18px; height: 18px; }

/* --------------------------------------------------------------------------
   20. Contact page
   -------------------------------------------------------------------------- */
.contact-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; padding: 26px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); height: 100%; transition: all .26s var(--ease); }
.contact-card:hover { border-color: var(--brand-3); box-shadow: var(--shadow-sm); }
.contact-card__icon { flex: 0 0 auto; width: 56px; height: 56px; border-radius: 16px; background: linear-gradient(135deg, var(--brand-2), var(--brand-3)); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 16px rgba(30, 90, 148, .26); transition: transform .26s var(--ease), box-shadow .26s var(--ease); }
.contact-card__icon svg { width: 26px; height: 26px; }
.contact-card:hover .contact-card__icon { transform: translateY(-3px) scale(1.05); box-shadow: 0 10px 22px rgba(30, 90, 148, .34); }
.contact-card h3 { font-size: 1rem; margin-bottom: 4px; }
.contact-card p, .contact-card address { font-size: .94rem; color: var(--muted); font-style: normal; margin: 0; }
.contact-card a { font-weight: 700; color: var(--brand); font-size: 1.05rem; }
/* 文本块（原先写成 .contact-card > div，会连图标格一起命中，把 display:grid 覆盖成
   flex+column，导致图标垂直方向贴顶不居中 —— 2026-09-14 改为专用类） */
.contact-card__body { display: flex; flex-direction: column; align-items: center; }

.map-box { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-soft); min-height: 340px; display: grid; place-items: center; text-align: center; padding: 30px; }
.map-box__inner svg { width: 54px; height: 54px; color: var(--brand-3); margin: 0 auto 14px; }
.map-box__inner h3 { font-size: 1.1rem; }
.map-box__inner p { color: var(--muted); font-size: .94rem; }

/* 地图嵌入（Google / 高德 / OpenStreetMap 等任意服务）：有 iframe 时去掉占位态的内边距与居中，让地图铺满整块 */
.map-box--embed { display: block; padding: 0; min-height: 0; text-align: left; position: relative; --map-h: clamp(300px, 44vw, 460px); }
/* iframe 背景必须透明，下层地址占位层才能在地图空白时露出来 */
.map-box__frame { position: relative; z-index: 1; display: block; width: 100%; height: var(--map-h); border: 0; background: transparent; }
/* 地址占位层：常驻在 iframe 之下。地图正常渲染（Maps 页面自带不透明底）会完全盖住它；
   网络不可达时露出，避免整块空白。main.js 判定超时加载失败后再加 .is-failed 直接隐藏 iframe。 */
.map-box__fallback {
  position: absolute; top: 0; left: 0; right: 0; height: var(--map-h); z-index: 0;
  display: grid; place-items: center; gap: 10px; text-align: center;
  padding: 32px 24px; background: var(--bg-soft);
}
.map-box__fallback svg { width: 42px; height: 42px; color: var(--brand-3); }
.map-box__fallback p { margin: 0; max-width: 46ch; color: var(--muted); font-size: .95rem; }
.map-box__fallback strong { color: var(--ink); }
.map-box--embed.is-failed .map-box__frame { display: none; }

/* --------------------------------------------------------------------------
   21. Logos / certs / partners
   -------------------------------------------------------------------------- */
.cert-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cert-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; text-align: center; transition: all .26s var(--ease); }
.cert-item:hover { border-color: var(--brand-3); transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.cert-item img { width: 100%; aspect-ratio: 5/7; object-fit: cover; border-radius: var(--radius-sm); margin-bottom: 10px; }
.cert-item span { font-size: .88rem; font-weight: 600; color: var(--ink-2); }

/* --------------------------------------------------------------------------
   22. Footer
   -------------------------------------------------------------------------- */
.footer { background: #0E2743; color: rgba(255,255,255,.72); font-size: .93rem; }
.footer__top { padding: clamp(42px, 5.5vw, 70px) 0 clamp(30px, 4vw, 46px); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: clamp(24px, 3.5vw, 48px); }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.footer .footer__logo { height: 44px; width: auto; margin-bottom: 18px; filter: brightness(0) invert(1); opacity: .95; }
.footer p { color: rgba(255,255,255,.7); }
.footer__list { list-style: none; margin: 0; padding: 0; }
.footer__list li { margin-bottom: 10px; }
.footer .footer__list a { color: rgba(255,255,255,.72); }
.footer .footer__list a:hover { color: var(--accent); padding-left: 4px; }
.footer__contact { list-style: none; margin: 0; padding: 0; }
.footer__contact li { display: flex; gap: 11px; margin-bottom: 14px; line-height: 1.6; }
.footer__contact svg { width: 17px; height: 17px; flex: 0 0 auto; margin-top: 4px; color: var(--accent); }
/* ПРИМЕЧАНИЕ: приведённые ниже правила цвета текста применяются только внутри .footer.
   .footer__contact также используется в боковой панели на белом фоне (страницы продукции / новостей / контактов). */
.footer .footer__contact a,
.footer .footer__contact address { color: rgba(255,255,255,.82); font-style: normal; }
.footer .footer__contact strong { color: #fff; }
.footer .footer__contact a:hover { color: var(--accent); }
.footer__social { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.footer__social a,
.footer__social > span { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); color: #fff; transition: all .24s var(--ease); }
.footer__social a:hover,
.footer__social > span:hover { transform: translateY(-3px); background: var(--c, #123A63); }
.footer__social svg { width: 19px; height: 19px; }
/* Вариант для использования на светлом фоне (боковая панель страницы контактов) */
.side-box .footer__social a,
.side-box .footer__social > span { background: var(--brand-soft); color: var(--brand); }
.side-box .footer__social a:hover,
.side-box .footer__social > span:hover { background: var(--c, var(--brand)); }
/* Xiaohongshu: chu "thu" dung currentColor nhu cac icon khac (khong hardcode mau).
   Footer nen toi -> da co color:#fff tu rule chung (.footer__social a).
   Sidebar nen sang -> phai phuc hoi mau brand, neu khong se bi rule chung ghi de. */
.side-box .footer__social a.xhs,
.side-box .footer__social > span.xhs { color: var(--brand) !important; }
/* 图片型渠道（二维码）：仅悬停/聚焦时在按钮上方浮出图片，不跳转、不可点击 */
.footer__social a,
.footer__social > span { position: relative; }
.footer__social > span.has-qr { cursor: default; }
.footer__social .social-qr {
  position: absolute; left: 50%; bottom: calc(100% + 12px);
  transform: translate(-50%, 6px);
  width: 120px; padding: 6px; border-radius: 10px;
  background: #fff; box-shadow: 0 8px 28px rgba(0,0,0,.28);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
  z-index: 30;
}
/* 小三角（指向按钮） */
.footer__social .social-qr::after {
  content: ''; position: absolute; left: 50%; top: 100%;
  transform: translateX(-50%);
  border: 7px solid transparent; border-top-color: #fff;
}
.footer__social .social-qr img { width: 100%; height: auto; display: block; border-radius: 5px; }
.footer__social a.has-qr:hover .social-qr,
.footer__social a.has-qr:focus-visible .social-qr,
.footer__social > span.has-qr:hover .social-qr { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
/* 靠左的按钮避免浮层出界 */
.footer__social a.has-qr:first-child .social-qr,
.footer__social > span.has-qr:first-child .social-qr { left: 0; transform: translate(0, 6px); }
.footer__social a.has-qr:first-child:hover .social-qr,
.footer__social a.has-qr:first-child:focus-visible .social-qr,
.footer__social > span.has-qr:first-child:hover .social-qr { transform: translate(0, 0); }
.footer__social a.has-qr:first-child .social-qr::after,
.footer__social > span.has-qr:first-child .social-qr::after { left: 20px; }
.side-box .footer__contact a { color: var(--brand); font-weight: 600; }
.side-box .footer__logo { filter: none; opacity: 1; }


/* Кнопка CTA, ведущая на страницу запроса коммерческого предложения (вместо прежнего фиктивного поля подписки на email) */
.footer .footer__cta { display: inline-flex; align-items: center; gap: 9px; margin-top: 12px; padding: 11px 18px; border-radius: var(--radius-sm); background: var(--accent); color: #fff; font-weight: 700; font-size: .92rem; line-height: 1.2; }
.footer .footer__cta:hover { background: var(--accent-2); color: #fff; }
.footer .footer__cta svg { width: 17px; height: 17px; flex: 0 0 auto; }
.footer .footer__cta .footer__cta-arrow { transition: transform .22s var(--ease); }
.footer .footer__cta:hover .footer__cta-arrow { transform: translateX(3px); }

.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0; font-size: .86rem; }
.footer__bottom .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; }
.footer .footer__bottom a { color: rgba(255,255,255,.65); }
.footer .footer__bottom a:hover { color: var(--accent); }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 18px; }

/* --------------------------------------------------------------------------
   23. Floating buttons & mobile bar  (Vietnam browsing habits)
   -------------------------------------------------------------------------- */
.fab { position: fixed; right: 8px; bottom: 84px; z-index: 90; display: grid; gap: 10px; }
.fab__btn {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; box-shadow: var(--shadow-md); position: relative; transition: transform .24s var(--ease);
}
.fab__btn:hover { transform: scale(1.08); color: #fff; }
.fab__btn svg { width: 23px; height: 23px; }
.fab__btn--wechat { background: var(--wechat); color: #fff; }
.fab__btn--phone  { background: var(--accent); }
.fab__btn--wa     { background: var(--wa); }
.fab__btn--tg    { background: #229ED9; color: #fff; }
.fab__btn--line  { background: #06C755; color: #fff; }
.fab__btn--zalo  { background: #0068FF; color: #fff; }
.fab__btn--kakao { background: #FFE812; color: #3C1E1E; }
.fab__btn--max   { background: #7C3AED; color: #fff; }
.fab__btn--mail  { background: var(--brand); color: #fff; }
.fab__btn--top    { background: rgba(18,58,99,.82); opacity: 0; visibility: hidden; transition: all .3s var(--ease); }
.fab__btn--top.is-visible { opacity: 1; visibility: visible; }
.fab__btn::after {
  content: attr(data-label); position: absolute; right: calc(100% + 10px); top: 50%; transform: translateY(-50%);
  background: var(--ink); color: #fff; font-size: .78rem; font-weight: 600; padding: 5px 11px;
  border-radius: 6px; white-space: nowrap; opacity: 0; visibility: hidden; transition: all .22s var(--ease);
}
.fab__btn:hover::after { opacity: 1; visibility: visible; }

.mbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; display: none;
  background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(18,58,99,.12);
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
}
.mbar__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.mbar__btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  padding: 7px 4px; border-radius: var(--radius-sm); font-size: .74rem; font-weight: 600;
  color: var(--ink-2); line-height: 1.25; text-align: center;
}
.mbar__btn svg { width: 21px; height: 21px; }
.mbar__btn--wechat { color: var(--wechat); }
.mbar__btn--wa    { color: var(--wa); }
.mbar__btn--tg    { color: #229ED9; }
.mbar__btn--line  { color: #06C755; }
.mbar__btn--zalo  { color: #0068FF; }
.mbar__btn--kakao { color: #B8860B; }
.mbar__btn--max   { color: #7C3AED; }
.mbar__btn--call  { color: #fff; background: var(--accent); }
.mbar__btn--quote { color: #fff; background: var(--brand); }
.mbar__btn--mail  { color: var(--brand); }

/* --------------------------------------------------------------------------
   24. Misc
   -------------------------------------------------------------------------- */
.notice-bar { background: var(--accent-soft); border: 1px solid #FBDDB4; border-radius: var(--radius); padding: 14px 18px; font-size: .93rem; color: #8A5406; display: flex; gap: 11px; align-items: flex-start; }
.notice-bar svg { width: 19px; height: 19px; flex: 0 0 auto; margin-top: 2px; }
.notice-bar--ok { background: #EAF7EF; border-color: #BFE5CC; color: #1E6B3A; }
.notice-bar--err { background: #FBEAE5; border-color: #F0C6BB; color: #A93226; }

.scroll-x { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; -webkit-overflow-scrolling: touch; }
.scroll-x > * { scroll-snap-align: start; flex: 0 0 clamp(240px, 30vw, 300px); }
.scroll-x::-webkit-scrollbar { height: 6px; }
.scroll-x::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 3px; }

.anim { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.anim.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .anim { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* --------------------------------------------------------------------------
   25. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__card { max-width: 520px; }
  .container { max-width: 100%; }
}

@media (max-width: 1080px) {
  .nav { display: none; }
  .hamburger {
    display: flex; margin-left: 8px;
    position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  }
  .header__phone { display: none; }
  .header__actions .btn { display: none; }
  .layout-main-side, .layout-side-main { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: static; }
  .layout-side-main .sidebar { order: 2; }
  .pd { grid-template-columns: minmax(0, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 992px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-6 { grid-template-columns: repeat(3, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split  { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .nav__drop--mega { min-width: 520px; }
}

@media (max-width: 768px) {
  body { font-size: 15.5px; padding-bottom: 66px; }   /* space for mobile action bar */
  .topbar { display: none; }
  .mbar { display: block; }
  .fab { bottom: 82px; right: 12px; }
  /* Mobile FAB: hide what the bottom bar already carries (primary channel + phone),
     plus WhatsApp / WeChat (WeChat is a QR modal the phone cannot scan for itself) */
  .fab__btn.is-mbar { display: none; }
  .section { padding: 40px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-6 { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__item:nth-child(odd) { border-left: 0; }
  .stats__item:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.14); }
  .cert-strip { grid-template-columns: repeat(2, 1fr); }
  .ncard--row { flex-direction: column; }
  .ncard--row .ncard__media { flex: none; aspect-ratio: 16/9; }
  .form__grid { grid-template-columns: minmax(0, 1fr); }
  .pd__quick { grid-template-columns: minmax(0, 1fr); }
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .footer__bottom .container { justify-content: center; text-align: center; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero { min-height: auto; }
  .scroll-x > * { flex: 0 0 78%; }
  .table-wrap { border-radius: var(--radius); }
}

@media (max-width: 560px) {
  h1 { font-size: 1.55rem; }
  .grid-2, .grid-3, .grid-4, .grid-6 { grid-template-columns: minmax(0, 1fr); }
  .gallery__thumbs button { width: 84px; height: 84px; }
  .hero__trust { gap: 8px 16px; }
  .btn { padding: 12px 20px; }
  .fab__btn { width: 44px; height: 44px; }
  .mbar__btn { font-size: .7rem; }
  .tabs__btn { padding: 11px 15px; font-size: .92rem; }
}

/* Print */
@media print {
  .header, .footer, .fab, .mbar, .hero__card, .cta-banner { display: none !important; }
  body { color: #000; }
}

/* LOGO 图片（后台站点设置上传，/logo.png 按域名分发）；LOGO 是透明图，豁免全局 img 的灰色占位底 */
.header__logo img, .drawer__logo { height: 46px; width: auto; display: block; background: transparent; }
.footer__logo { display: block; background: transparent; }
.drawer__logo { height: 38px; }

/* Solution category list (used in themes/vi/solution_category.php) */
.solution-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }


/* 语言切换器国旗：Windows 的 Segoe UI Emoji 没有国旗字形，会把区域指示符
   （U+1F1E6–U+1F1FF）画成两个「方块字母」（看起来正好是 CN / GB / RU…）。
   下面这个本地字体只接管区域指示符码位，把 emoji 真正绘制成国旗，
   其余字符自动走 var(--font)，不依赖任何外部 CDN（78KB，走 public/assets/fonts）。 */
@font-face {
  font-family: "Twemoji Country Flags";
  unicode-range: U+1F1E6-1F1FF, U+1F3F4, U+E0062-E0063, U+E0065, U+E0067, U+E006C, U+E006E, U+E0073-U0074, U+E0077, U+E007F;
  src: url("/assets/fonts/TwemojiCountryFlags.woff2") format("woff2");
  font-display: swap;
}
.lang-switch .flag {
  font-family: "Twemoji Country Flags", var(--font);
  font-style: normal; font-size: 1.15em; line-height: 1;
  display: inline-block; vertical-align: -.12em;
}
.lang-switch .flag:empty { display: none; }
.lang-switch__name { white-space: nowrap; }

/* --------------------------------------------------------------------------
   22. Showcase 快捷入口（关于我们页 · 企业展示）
   -------------------------------------------------------------------------- */
.sc-quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sc-quick__item {
  display: block; padding: 24px 22px; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--bg); box-shadow: var(--shadow-xs);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .25s var(--ease);
}
.sc-quick__item:hover { transform: translateY(-3px); border-color: var(--brand-3); box-shadow: var(--shadow-md); }
.sc-quick__item h3 { margin: 0 0 8px; font-size: 1.06rem; color: var(--ink); }
.sc-quick__item p { margin: 0; font-size: .9rem; line-height: 1.65; color: var(--muted); }
.sc-quick__more { display: inline-block; margin-top: 12px; font-size: .88rem; font-weight: 600; color: var(--brand-2); }
@media (max-width: 900px) { .sc-quick { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .sc-quick { grid-template-columns: minmax(0, 1fr); } }

/* --------------------------------------------------------------------------
   23. Showcase 列表卡片（中文站企业展示）
   - .sc-certs + .cert-item：荣誉资质列表沿用「认证与标准」证书卡样式（竖版 5:7 + 居中标题）
   - .vcard--center：工厂实拍 / 合作客户保留横版图文卡，文字改为图上居中的单行标题
   -------------------------------------------------------------------------- */
.sc-certs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
a.cert-item { display: block; color: inherit; text-decoration: none; }
.sc-certs .cert-item img { background: var(--bg-soft); }
.vcard--center .vcard__body { text-align: center; }
.vcard--center .vcard__title { margin: 0; font-size: .95rem; font-weight: 600; line-height: 1.5; }
.vcard--center .vcard__title a { color: var(--ink-2); }
.vcard--center:hover .vcard__title a { color: var(--brand-2); }
@media (max-width: 1024px) { .sc-certs { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px)  { .sc-certs { grid-template-columns: repeat(2, 1fr); } }

/* === apptile-label-compact :: begin (docs/_apply_apptile_css.php) === */
/* 应用行业卡片：文字背景黑色渐变高度压缩（原 ≈74px → 桌面约 50px；移动端保持原样） */
@media (min-width: 769px){
.app-tile__label{
  padding: 15px 14px 13px;
  line-height: 1.4;
}
}
/* === apptile-label-compact :: end === */

/* ===== 摘要框 .vsum：与正文区分（2026-09-19）===== */
.vsum { display: flex; gap: 12px; align-items: flex-start; margin: 16px 0 0; padding: 14px 20px; background: #fafcff; border: 1px solid var(--line); border-radius: var(--radius); }
.vsum__ico { flex: 0 0 auto; width: 20px; height: 20px; margin-top: 3px; color: var(--accent); }
.vsum__txt { margin: 0; color: var(--ink-2); font-size: 1.02rem; line-height: 1.75; }

/* 详情页标签 .tag-line：纯文本 # 超链接（字号与标签标题一致） */
.tag-line { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; }
.tag-line a { font-size: .9rem; color: var(--ink-2); }
.tag-line a::before { content: "#"; margin-right: 1px; }
.tag-line a:hover { color: var(--brand); }