/* ============================================================================
   鑫涂帆 XINTUFAN — design system
   ----------------------------------------------------------------------------
   Sections
     01  Tokens
     02  Reset & base
     03  Layout primitives
     04  Typography
     05  Buttons
     06  Badges & pills
     07  Header / navigation
     08  Hero
     09  Cards (product, advantage, testimonial, capability)
     10  Tables (specs, comparison)
     11  Forms (enquiry)
     12  Sections & special blocks
     13  Footer
     14  Utilities & animations
     15  Responsive
     16  Print
   Single stylesheet, no build step. Colours are driven by the tokens in 01.
   ==========================================================================*/

/* ============================ 01 Tokens ================================== */
:root {
  /* brand */
  --navy-900: #0e1620;
  --navy-800: #14202e;
  --navy-700: #1b2a3b;
  --navy-600: #24384d;
  --navy-500: #2f4a63;

  --accent-600: #d94f13;
  --accent-500: #f2611f;
  --accent-400: #ff7a3d;
  --accent-050: #fff2ea;

  --steel-50:  #f6f8fa;
  --steel-100: #eef1f5;
  --steel-200: #e0e5eb;
  --steel-300: #cbd3dc;
  --steel-400: #9aa7b4;
  --steel-500: #6b7a89;
  --steel-600: #4c5a68;

  --white: #ffffff;
  --body: #33414f;

  --ok: #1f8f5f;
  --ok-bg: #e8f7ef;
  --warn: #b26a00;
  --warn-bg: #fff7e6;

  /* type */
  --font-sans: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;

  /* spacing scale */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --sp-9: 96px;

  /* radius */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 14px;
  --r-xl: 22px;

  /* shadow */
  --sh-1: 0 1px 2px rgba(14, 22, 32, 0.06), 0 1px 3px rgba(14, 22, 32, 0.08);
  --sh-2: 0 4px 12px rgba(14, 22, 32, 0.08), 0 2px 4px rgba(14, 22, 32, 0.05);
  --sh-3: 0 14px 34px rgba(14, 22, 32, 0.14), 0 4px 10px rgba(14, 22, 32, 0.07);
  --sh-accent: 0 10px 24px rgba(242, 97, 31, 0.28);

  /* layout */
  --wrap: 1240px;
  --wrap-tight: 980px;
  --header-h: 72px;

  /* offset that centres an 18px icon on the first line of 16px body text */
  --icon-drop: 4px;

  --t-fast: 140ms cubic-bezier(.4, 0, .2, 1);
  --t-med: 240ms cubic-bezier(.4, 0, .2, 1);
}

/* ======================= 02 Reset & base ================================= */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* no horizontal scrolling on any device — long strings and wide tables
     scroll inside their own containers instead */
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  max-width: 100%;
}

img { max-width: 100%; display: block; }
a { color: var(--navy-600); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--accent-500); }
button, input, select, textarea { font: inherit; color: inherit; max-width: 100%; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
svg { display: block; }

/* Inline SVG icons have no intrinsic size — a default is required so a bare
   <svg class="icon"> can never expand to fill its container. Components that
   need a larger icon override width/height (see .acard__icon, .apptile__icon,
   .infoblock__icon, .float-wa …). */
.icon { width: 18px; height: 18px; flex: 0 0 auto; }

/* long product names, URLs and certificate codes must never widen the layout */
h1, h2, h3, h4, h5, p, li, td, th, span, a { overflow-wrap: break-word; }

:focus-visible {
  outline: 3px solid var(--accent-400);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--navy-800);
  color: var(--white);
  padding: var(--sp-3) var(--sp-4);
}
.skip-link:focus { left: var(--sp-4); top: var(--sp-4); color: var(--white); }

/* ======================= 03 Layout primitives ============================ */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--sp-5);
}
.wrap--tight { max-width: var(--wrap-tight); }

.section { padding-block: var(--sp-8); }
.section--tight { padding-block: var(--sp-7); }
.section--dark { background: var(--navy-800); color: rgba(255,255,255,.82); }
.section--dark h2, .section--dark h3, .section--dark h4 { color: var(--white); }
.section--steel { background: var(--steel-50); }
.section--steelline { background: var(--steel-100); border-block: 1px solid var(--steel-200); }

.grid { display: grid; gap: var(--sp-5); }
.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)); }
.grid--sidebar { grid-template-columns: minmax(0, 1fr) 360px; gap: var(--sp-6); }
.grid--sidebar-left { grid-template-columns: 300px minmax(0, 1fr); gap: var(--sp-6); }

.stack > * + * { margin-top: var(--sp-4); }
.stack--lg > * + * { margin-top: var(--sp-6); }

/* ======================= 04 Typography =================================== */
h1, h2, h3, h4, h5 {
  margin: 0;
  color: var(--navy-800);
  line-height: 1.2;
  letter-spacing: -0.015em;
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 4.6vw, 3.35rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.55rem, 2.9vw, 2.3rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.15rem, 1.9vw, 1.5rem); }
h4 { font-size: 1.08rem; }
h5 { font-size: 0.95rem; }

p { margin: 0; }
p + p { margin-top: var(--sp-4); }
strong { color: var(--navy-800); font-weight: 650; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-500);
  margin-bottom: var(--sp-3);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--accent-500);
  display: block;
}
.section--dark .eyebrow { color: var(--accent-400); }
.section--dark .eyebrow::before { background: var(--accent-400); }

.lede { font-size: 1.075rem; color: var(--steel-600); max-width: 66ch; }
.section--dark .lede { color: rgba(255,255,255,.74); }
.muted { color: var(--steel-500); }
.small { font-size: 0.875rem; }
.xsmall { font-size: 0.78rem; }
.tiny { font-size: 0.72rem; }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.nowrap { white-space: nowrap; }

.section-head { max-width: 780px; margin-bottom: var(--sp-6); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

.divider { height: 1px; background: var(--steel-200); border: 0; margin-block: var(--sp-6); }

/* icon inside a body-copy list (certifications, feature bullets) */
.icon--inline { color: var(--accent-500); margin-top: var(--icon-drop); }

/* ======================= 05 Buttons ====================================== */
.btn {
  --btn-bg: var(--navy-700);
  --btn-fg: var(--white);
  --btn-bd: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 13px 24px;
  border: 1.5px solid var(--btn-bd);
  border-radius: var(--r-md);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.2;
  cursor: pointer;
  text-align: center;
  transition: transform var(--t-fast), background var(--t-fast), box-shadow var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}
.btn:hover { color: var(--btn-fg); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 18px; height: 18px; }

.btn--accent { --btn-bg: var(--accent-500); --btn-fg: var(--white); box-shadow: var(--sh-accent); }
.btn--accent:hover { --btn-bg: var(--accent-600); }

.btn--primary { --btn-bg: var(--navy-700); --btn-fg: var(--white); box-shadow: var(--sh-2); }
.btn--primary:hover { --btn-bg: var(--navy-600); }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--navy-700); --btn-bd: var(--steel-300); }
.btn--ghost:hover { --btn-bg: var(--steel-100); --btn-fg: var(--navy-800); --btn-bd: var(--steel-400); }

.btn--light { --btn-bg: var(--white); --btn-fg: var(--navy-800); }
.btn--light:hover { --btn-bg: var(--steel-100); }

.btn--outline-light { --btn-bg: transparent; --btn-fg: var(--white); --btn-bd: rgba(255,255,255,.42); }
.btn--outline-light:hover { --btn-bg: rgba(255,255,255,.12); --btn-fg: var(--white); --btn-bd: var(--white); }

.btn--sm { padding: 9px 16px; font-size: 0.86rem; }
.btn--lg { padding: 16px 30px; font-size: 1.02rem; }
.btn--block { width: 100%; }
.btn--whatsapp { --btn-bg: #25d366; --btn-fg: #08331a; }
.btn--whatsapp:hover { --btn-bg: #1fb857; --btn-fg: #08331a; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-3); }

/* text link with arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 650;
  color: var(--accent-600);
}
.link-arrow .icon { width: 16px; height: 16px; transition: transform var(--t-fast); }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ======================= 06 Badges & pills =============================== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  white-space: nowrap;
  background: var(--steel-100);
  color: var(--steel-600);
  border: 1px solid var(--steel-200);
}
.badge--pending { background: var(--warn-bg); color: var(--warn); border-color: #ffe0a8; }
.badge--soft { background: var(--steel-100); color: var(--steel-600); }
.badge--accent { background: var(--accent-050); color: var(--accent-600); border-color: #ffd9c4; }
.badge--ok { background: var(--ok-bg); color: var(--ok); border-color: #bfe6d3; }
.badge--dark { background: rgba(255,255,255,.12); color: var(--white); border-color: rgba(255,255,255,.2); }

.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  border-radius: var(--r-sm);
  background: var(--steel-100);
  border: 1px solid var(--steel-200);
  font-size: 0.78rem;
  color: var(--steel-600);
}

.pill-group { display: flex; flex-wrap: wrap; gap: var(--sp-2); }

/* report/notice callout */
.notice {
  display: flex;
  gap: var(--sp-3);
  padding: var(--sp-4);
  border-radius: var(--r-md);
  border: 1px solid #ffe0a8;
  background: var(--warn-bg);
  color: #7a4a00;
  font-size: 0.88rem;
}
.notice--info { border-color: var(--steel-200); background: var(--steel-50); color: var(--steel-600); }
.notice__icon { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 2px; }

/* ======================= 07 Header / navigation ========================== */
.topbar {
  background: var(--navy-900);
  color: rgba(255,255,255,.78);
  font-size: 0.8rem;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  min-height: 38px;
  flex-wrap: wrap;
}
.topbar a { color: rgba(255,255,255,.86); display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: var(--accent-400); }
.topbar__list { display: flex; align-items: center; gap: var(--sp-4); flex-wrap: wrap; }
.topbar .icon { width: 15px; height: 15px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--steel-200);
}
.site-header.is-stuck { box-shadow: var(--sh-2); }

.header__inner {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  min-height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; gap: var(--sp-3); flex: 0 0 auto; }
.brand__mark {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-500));
  color: var(--white);
  display: grid; place-items: center;
  font-weight: 800; font-size: 1.05rem;
  letter-spacing: -0.02em;
  box-shadow: var(--sh-1);
}
.brand__mark span { color: var(--accent-400); }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-weight: 750; color: var(--navy-800); font-size: 1.06rem; letter-spacing: -0.02em; }
.brand__sub { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.13em; color: var(--steel-500); }

.nav { display: flex; align-items: center; gap: var(--sp-1); margin-left: auto; }
.nav__link {
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  border-radius: var(--r-md);
  font-size: 0.94rem;
  font-weight: 620;
  color: var(--navy-700);
}
.nav__link:hover { background: var(--steel-100); color: var(--navy-800); }
.nav__link.is-active { color: var(--accent-600); background: var(--accent-050); }

.header__actions { display: flex; align-items: center; gap: var(--sp-2); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--steel-300);
  background: var(--white);
  border-radius: var(--r-md);
  cursor: pointer;
  padding: 0;
  place-items: center;
}
.nav-toggle span {
  display: block;
  width: 20px; height: 2px;
  background: var(--navy-700);
  position: relative;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0;
  width: 20px; height: 2px; background: var(--navy-700);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* mobile drawer */
.mobile-menu {
  display: none;
  border-top: 1px solid var(--steel-200);
  background: var(--white);
  padding: var(--sp-4) 0 var(--sp-5);
}
.mobile-menu.is-open { display: block; }
.mobile-menu__link {
  display: block;
  padding: 12px 4px;
  font-size: 1.02rem;
  font-weight: 620;
  color: var(--navy-700);
  border-bottom: 1px solid var(--steel-100);
}
.mobile-menu__link.is-active { color: var(--accent-600); }
.mobile-menu .btn { margin-top: var(--sp-4); }

/* breadcrumb */
.crumbs { font-size: 0.82rem; color: var(--steel-500); padding-block: var(--sp-4); }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.crumbs li { display: inline-flex; align-items: center; gap: 7px; }
.crumbs li + li::before { content: "/"; color: var(--steel-400); }
.crumbs a { color: var(--steel-500); }
.crumbs a:hover { color: var(--accent-500); }
.crumbs [aria-current] { color: var(--navy-700); font-weight: 600; }

/* ======================= 08 Hero ========================================= */
.hero {
  position: relative;
  background: linear-gradient(140deg, var(--navy-900) 0%, var(--navy-700) 48%, var(--navy-600) 100%);
  color: rgba(255,255,255,.84);
  overflow: hidden;
  padding-block: var(--sp-9);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 56px 56px, 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 78% 18%, black 12%, transparent 72%);
  mask-image: radial-gradient(ellipse at 78% 18%, black 12%, transparent 72%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  width: 620px; height: 620px;
  right: -180px; top: -220px;
  background: radial-gradient(circle, rgba(242,97,31,.30) 0%, transparent 62%);
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 1; }
.hero h1 { color: var(--white); max-width: 19ch; }.hero__lede { font-size: 1.12rem; color: rgba(255,255,255,.78); max-width: 58ch; margin-top: var(--sp-5); }
.hero__cta { margin-top: var(--sp-6); }
.hero__trust {
  margin-top: var(--sp-7);
  padding-top: var(--sp-5);
  border-top: 1px solid rgba(255,255,255,.14);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-6);
  font-size: 0.85rem;
}
.hero__trust-item { display: flex; align-items: center; gap: var(--sp-2); color: rgba(255,255,255,.8); }
.hero__trust-item .icon { width: 18px; height: 18px; color: var(--accent-400); }

.hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: var(--sp-7); align-items: center; }

/* hero product mosaic */
.mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); overflow: hidden; }
.mosaic__tile {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.16);
  background: var(--navy-800);
  aspect-ratio: 1 / 1;
  box-shadow: var(--sh-3);
}
.mosaic__tile:nth-child(1) { transform: translateY(-14px); }
.mosaic__tile:nth-child(4) { transform: translateY(14px); }
.mosaic__tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 420ms cubic-bezier(.2,.7,.3,1); }
.mosaic__tile:hover img { transform: scale(1.06); }
.mosaic__label {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 22px 12px 9px;
  background: linear-gradient(to top, rgba(8,14,20,.88), transparent);
  color: #fff; font-size: 0.74rem; font-weight: 600;
}

/* page banner (inner pages) */
.page-hero {
  background: linear-gradient(120deg, var(--navy-900), var(--navy-700));
  color: rgba(255,255,255,.8);
  padding-block: var(--sp-8);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; right: -120px; bottom: -160px;
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(242,97,31,.24), transparent 62%);
}
.page-hero h1 { color: var(--white); max-width: 26ch; }
.page-hero p { color: rgba(255,255,255,.76); max-width: 64ch; margin-top: var(--sp-4); }
.page-hero__inner { position: relative; z-index: 1; }

/* ======================= 09 Cards ======================================== */
.card {
  background: var(--white);
  border: 1px solid var(--steel-200);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color var(--t-med), box-shadow var(--t-med), transform var(--t-med);
}
.card--pad { padding: var(--sp-5); }
.card--hover:hover { border-color: var(--steel-300); box-shadow: var(--sh-3); transform: translateY(-3px); }

/* --- product card --- */
.pcard { display: flex; flex-direction: column; height: 100%; }
.pcard__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--steel-100);
  overflow: hidden;
}
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 420ms cubic-bezier(.2,.7,.3,1); }
.pcard:hover .pcard__media img { transform: scale(1.05); }
.pcard__flags {
  position: absolute; top: var(--sp-3); left: var(--sp-3);
  display: flex; flex-direction: column; gap: 6px; align-items: flex-start;
}
.pcard__body { padding: var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-3); flex: 1; }
.pcard__model {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: var(--steel-500);
  text-transform: uppercase;
}
.pcard__title { font-size: 1.13rem; line-height: 1.3; }
.pcard__title a { color: inherit; }
.pcard__title a:hover { color: var(--accent-600); }
.pcard__zh { font-size: 0.82rem; color: var(--steel-500); }
.pcard__tagline { font-size: 0.9rem; color: var(--steel-600); }
.pcard__meta { display: flex; flex-direction: column; gap: 7px; font-size: 0.83rem; color: var(--steel-600); }
.pcard__meta-row { display: flex; gap: 8px; }
.pcard__meta-row .icon { width: 15px; height: 15px; color: var(--steel-400); flex: 0 0 auto; margin-top: 3px; }
.pcard__meta-label { color: var(--steel-500); min-width: 82px; }
.pcard__foot {
  margin-top: auto;
  padding-top: var(--sp-4);
  border-top: 1px dashed var(--steel-200);
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3);
}
.pcard__compare { display: inline-flex; align-items: center; gap: 7px; font-size: 0.83rem; color: var(--steel-600); cursor: pointer; }
.pcard__compare input { accent-color: var(--accent-500); width: 16px; height: 16px; cursor: pointer; }

/* --- advantage card --- */
.acard { padding: var(--sp-5); border-radius: var(--r-lg); border: 1px solid var(--steel-200); background: var(--white); height: 100%; }
.acard__icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--accent-050);
  color: var(--accent-600);
  display: grid; place-items: center;
  margin-bottom: var(--sp-4);
}
.acard__icon .icon { width: 24px; height: 24px; }
.acard h3 { font-size: 1.05rem; margin-bottom: var(--sp-2); }
.acard p { font-size: 0.9rem; color: var(--steel-600); }

.section--dark .acard { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.14); }
.section--dark .acard p { color: rgba(255,255,255,.72); }
.section--dark .acard__icon { background: rgba(242,97,31,.18); color: var(--accent-400); }

/* --- application tile --- */
.apptile {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding: var(--sp-5);
  border: 1px solid var(--steel-200);
  border-radius: var(--r-lg);
  background: var(--white);
  transition: border-color var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast);
  height: 100%;
}
.apptile:hover { border-color: var(--accent-400); box-shadow: var(--sh-2); transform: translateY(-2px); color: inherit; }
.apptile__icon { width: 40px; height: 40px; border-radius: 10px; background: var(--navy-700); color: #fff; display: grid; place-items: center; }
.apptile__icon .icon { width: 20px; height: 20px; }
.apptile__title { font-weight: 650; color: var(--navy-800); font-size: 0.98rem; }
.apptile__text { font-size: 0.84rem; color: var(--steel-500); }

/* --- testimonial --- */
.tcard {
  padding: var(--sp-5);
  border: 1px solid var(--steel-200);
  border-radius: var(--r-lg);
  background: var(--white);
  display: flex; flex-direction: column; gap: var(--sp-4);
  height: 100%;
}
.tcard__quote { font-size: 0.96rem; color: var(--navy-700); line-height: 1.6; }
.tcard__quote::before { content: "\201C"; font-size: 2.6rem; line-height: 0; color: var(--accent-400); vertical-align: -0.35em; margin-right: 4px; }
.stars { display: inline-flex; gap: 2px; color: var(--steel-300); }
.stars__item { font-size: 0.95rem; }
.stars__item.is-on { color: #f5a524; }
.tcard__who { margin-top: auto; padding-top: var(--sp-4); border-top: 1px solid var(--steel-100); font-size: 0.84rem; }
.tcard__who strong { display: block; color: var(--navy-800); }
.tcard__who span { color: var(--steel-500); }

/* --- capability / stat card --- */
.stat { text-align: left; }
.stat__value { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 750; color: var(--white); letter-spacing: -0.03em; line-height: 1.1; }
.stat__label { font-size: 0.86rem; color: rgba(255,255,255,.7); margin-top: 6px; }
.stat__note { font-size: 0.7rem; color: rgba(255,255,255,.42); margin-top: 4px; }

.capcard { padding: var(--sp-5); border: 1px solid var(--steel-200); border-radius: var(--r-lg); background: var(--white); }
.capcard__label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--steel-500); }
.capcard__value { font-size: 1.35rem; font-weight: 720; color: var(--navy-800); margin-top: 6px; letter-spacing: -0.02em; }

/* ======================= 10 Tables ======================================= */
.table-wrap { overflow-x: auto; border: 1px solid var(--steel-200); border-radius: var(--r-lg); background: var(--white); }
.table-wrap--flush { border-radius: 0; border: 0; }

table.spec { width: 100%; border-collapse: collapse; font-size: 0.9rem; min-width: 420px; }
table.spec th, table.spec td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--steel-200); }
table.spec tbody tr:last-child th, table.spec tbody tr:last-child td { border-bottom: 0; }
table.spec th {
  width: 46%;
  font-weight: 600;
  color: var(--navy-700);
  background: var(--steel-50);
}
table.spec td { color: var(--steel-600); }
table.spec tbody tr:hover th, table.spec tbody tr:hover td { background: var(--accent-050); }

/* comparison table */
table.compare { width: 100%; border-collapse: collapse; font-size: 0.87rem; min-width: 720px; }
table.compare th, table.compare td { padding: 12px 14px; border-bottom: 1px solid var(--steel-200); text-align: left; vertical-align: top; }
table.compare thead th {
  background: var(--navy-800);
  color: #fff;
  font-size: 0.82rem;
  position: sticky; top: 0; z-index: 2;
}
table.compare thead th:first-child { background: var(--navy-900); }
table.compare tbody th {
  font-weight: 600;
  color: var(--navy-700);
  background: var(--steel-50);
  position: sticky; left: 0;
  min-width: 168px;
  box-shadow: inset -1px 0 0 var(--steel-200);
}
table.compare td { color: var(--steel-600); }
table.compare tbody tr:hover td { background: var(--steel-50); }
table.compare .unset { color: var(--steel-400); font-style: italic; }
.compare__head-name { font-weight: 680; font-size: 0.9rem; display: block; }
.compare__head-model { font-family: var(--font-mono); font-size: 0.72rem; color: var(--accent-400); letter-spacing: 0.05em; }
.compare__thumb { width: 100%; max-width: 130px; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--r-md); margin-bottom: 8px; }

.compare-bar {
  position: sticky;
  bottom: 0;
  z-index: 40;
  background: var(--navy-800);
  color: #fff;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  box-shadow: 0 -6px 20px rgba(14,22,32,.2);
}
.compare-bar__inner { display: flex; align-items: center; gap: var(--sp-4); padding: var(--sp-4) 0; flex-wrap: wrap; }
.compare-bar__count { font-weight: 650; }
.compare-bar__hint { color: rgba(255,255,255,.6); font-size: 0.82rem; }
.compare-bar__items { display: flex; gap: 7px; flex-wrap: wrap; margin-left: auto; }
.compare-chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 11px;
  border-radius: 100px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  font-size: 0.78rem;
}
.compare-chip button { background: none; border: 0; color: rgba(255,255,255,.7); cursor: pointer; padding: 0; line-height: 1; font-size: 0.95rem; }
.compare-chip button:hover { color: var(--accent-400); }

/* ======================= 11 Forms ======================================== */
.form { display: grid; gap: var(--sp-4); }
.form-row { display: grid; gap: var(--sp-4); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.field { display: flex; flex-direction: column; gap: 7px; }
.field > label { font-size: 0.86rem; font-weight: 620; color: var(--navy-700); }
.field .req { color: var(--accent-500); }
.field__hint { font-size: 0.76rem; color: var(--steel-500); }
.field__error { font-size: 0.78rem; color: #c0392b; display: none; }
.field.has-error .field__error { display: block; }
.checkbox.has-error { color: #c0392b; }
.checkbox.has-error .field__error { display: block; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #d9534f; background: #fff6f5; }

input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--steel-300);
  border-radius: var(--r-md);
  background: var(--white);
  font-size: 0.94rem;
  color: var(--navy-800);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
input::placeholder, textarea::placeholder { color: var(--steel-400); }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent-500);
  box-shadow: 0 0 0 3px rgba(242,97,31,.14);
}
textarea { resize: vertical; min-height: 132px; }
select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236b7a89' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}

.checkbox { display: flex; gap: var(--sp-3); align-items: flex-start; font-size: 0.86rem; color: var(--steel-600); }
.checkbox input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--accent-500); flex: 0 0 auto; }

.form-success {
  display: none;
  padding: var(--sp-5);
  border-radius: var(--r-md);
  background: var(--ok-bg);
  border: 1px solid #bfe6d3;
  color: #14603f;
}
.form-success.is-visible { display: block; }
.form-success h4 { color: #14603f; margin-bottom: var(--sp-2); }

/* contact info blocks */
.infoblock { display: flex; gap: var(--sp-4); padding: var(--sp-5) 0; border-bottom: 1px solid var(--steel-200); }
.infoblock:last-child { border-bottom: 0; }
.infoblock__icon {
  flex: 0 0 auto;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--navy-700);
  color: #fff;
  display: grid; place-items: center;
}
.infoblock__icon .icon { width: 20px; height: 20px; }
/* the text column must stack label / value / note on separate lines */
.infoblock__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.infoblock__label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--steel-500); }
.infoblock__value { font-weight: 650; color: var(--navy-800); word-break: break-word; }
.infoblock__note { font-size: 0.8rem; color: var(--steel-500); }

/* ======================= 12 Sections & special blocks ==================== */
/* filter bar */
.filters { background: var(--white); border: 1px solid var(--steel-200); border-radius: var(--r-lg); padding: var(--sp-5); }
.filters__group + .filters__group { margin-top: var(--sp-5); padding-top: var(--sp-5); border-top: 1px dashed var(--steel-200); }
.filters__label { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--steel-500); margin-bottom: var(--sp-3); }
.filters__head { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); flex-wrap: wrap; margin-bottom: var(--sp-4); }
.filters__count { font-size: 0.88rem; color: var(--steel-600); }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 100px;
  border: 1.5px solid var(--steel-200);
  background: var(--white);
  color: var(--navy-700);
  font-size: 0.86rem;
  cursor: pointer;
  transition: all var(--t-fast);
}
.chip:hover { border-color: var(--steel-400); }
.chip.is-active { background: var(--navy-700); border-color: var(--navy-700); color: #fff; }
.chip__count { font-size: 0.72rem; opacity: .68; }

/* detail page gallery */
.gallery__main {
  border: 1px solid var(--steel-200);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--steel-100);
  aspect-ratio: 1 / 1;
  position: relative;
}
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs { display: flex; gap: var(--sp-3); margin-top: var(--sp-3); flex-wrap: wrap; }
.gallery__thumb {
  width: 78px; height: 78px;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 2px solid var(--steel-200);
  background: var(--steel-100);
  cursor: pointer;
  padding: 0;
  transition: border-color var(--t-fast);
}
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb:hover { border-color: var(--steel-400); }
.gallery__thumb.is-active { border-color: var(--accent-500); }

/* key spec strip on detail page */
.keyspecs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--steel-200); border: 1px solid var(--steel-200); border-radius: var(--r-lg); overflow: hidden; }
.keyspec { background: var(--white); padding: var(--sp-4) var(--sp-5); }
.keyspec__label { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--steel-500); }
.keyspec__value { font-weight: 680; color: var(--navy-800); margin-top: 4px; font-size: 0.95rem; }

/* accordion (construction / FAQ) */
.acc { border: 1px solid var(--steel-200); border-radius: var(--r-lg); overflow: hidden; background: var(--white); }
.acc__item + .acc__item { border-top: 1px solid var(--steel-200); }
.acc__btn {
  width: 100%;
  display: flex; align-items: center; gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-5);
  background: none; border: 0; cursor: pointer;
  text-align: left;
  font-weight: 620; color: var(--navy-800);
  transition: background var(--t-fast);
}
.acc__btn:hover { background: var(--steel-50); }
.acc__num {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent-500);
  font-weight: 700;
}
.acc__chev { margin-left: auto; width: 20px; height: 20px; color: var(--steel-400); transition: transform var(--t-med); flex: 0 0 auto; }
.acc__item.is-open .acc__chev { transform: rotate(180deg); }
.acc__panel { display: none; padding: 0 var(--sp-5) var(--sp-5); color: var(--steel-600); font-size: 0.93rem; }
.acc__item.is-open .acc__panel { display: block; }

/* steps list (construction on detail page) */
.steps { counter-reset: step; display: grid; gap: var(--sp-4); }
.step {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: var(--sp-4);
  padding: var(--sp-5);
  border: 1px solid var(--steel-200);
  border-radius: var(--r-lg);
  background: var(--white);
}
.step__num {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--navy-700);
  color: #fff;
  display: grid; place-items: center;
  font-weight: 700;
  font-family: var(--font-mono);
  font-size: 0.95rem;
}
.step h4 { margin-bottom: 5px; }
.step p { font-size: 0.9rem; color: var(--steel-600); }

/* CTA band */
.ctaband {
  background: linear-gradient(120deg, var(--navy-900), var(--navy-600));
  border-radius: var(--r-xl);
  padding: var(--sp-7);
  color: rgba(255,255,255,.82);
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr);
  gap: var(--sp-6);
  align-items: center;
}
.ctaband::after {
  content: ""; position: absolute; right: -100px; top: -140px;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(242,97,31,.32), transparent 64%);
}
.ctaband h2 { color: #fff; position: relative; }
.ctaband p { position: relative; margin-top: var(--sp-3); }
.ctaband__actions { position: relative; display: flex; flex-direction: column; gap: var(--sp-3); }

/* trust strip */
.truststrip { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-6); }
.truststrip__item { display: flex; align-items: center; gap: var(--sp-3); }
.truststrip__mark {
  width: 44px; height: 44px;
  border-radius: 10px;
  border: 1.5px solid var(--steel-200);
  background: var(--white);
  display: grid; place-items: center;
  font-weight: 750; font-size: 0.76rem; color: var(--navy-700);
  letter-spacing: -0.01em;
  flex: 0 0 auto;
}
.truststrip__body { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.truststrip__label { font-size: 0.82rem; font-weight: 650; color: var(--navy-800); line-height: 1.35; }
.truststrip__note { font-size: 0.72rem; color: var(--steel-500); line-height: 1.35; }

/* inline icon + label list (e.g. "what we manufacture") */
.icon-list li { display: flex; align-items: flex-start; gap: 9px; font-size: 0.875rem; }
.icon-list li + li { margin-top: 10px; }
.icon-list .icon { width: 16px; height: 16px; margin-top: 4px; color: var(--accent-500); }
.icon-list a { color: var(--navy-700); }
.icon-list a:hover { color: var(--accent-600); }

/* timeline (QC) */
.timeline { display: grid; gap: var(--sp-4); }
.tl-item { display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: var(--sp-4); }
.tl-item__num {
  font-family: var(--font-mono);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent-500);
  line-height: 1;
  padding-top: 3px;
}
.tl-item h4 { margin-bottom: 5px; }
.tl-item p { font-size: 0.9rem; color: var(--steel-600); }
.tl-item__body { padding-bottom: var(--sp-4); border-bottom: 1px dashed var(--steel-200); }
.tl-item:last-child .tl-item__body { border-bottom: 0; padding-bottom: 0; }

/* empty state */
.empty { text-align: center; padding: var(--sp-8) var(--sp-5); color: var(--steel-500); }
.empty h3 { color: var(--navy-700); margin-bottom: var(--sp-2); }

/* floating WhatsApp */
.float-wa {
  position: fixed;
  right: 20px; bottom: 20px;
  z-index: 70;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #08331a;
  display: grid; place-items: center;
  box-shadow: 0 10px 26px rgba(37,211,102,.42);
  transition: transform var(--t-med);
}
.float-wa:hover { transform: scale(1.08); color: #08331a; }
.float-wa .icon { width: 28px; height: 28px; }

/* ======================= 13 Footer ======================================= */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.66); font-size: 0.88rem; padding-top: var(--sp-8); }
.site-footer h4 { color: #fff; font-size: 0.92rem; margin-bottom: var(--sp-4); letter-spacing: 0.02em; }
.site-footer a { color: rgba(255,255,255,.7); }
.site-footer a:hover { color: var(--accent-400); }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: var(--sp-6); padding-bottom: var(--sp-7); }
.footer__list { display: grid; gap: 10px; }
.footer__brand { display: flex; align-items: center; gap: var(--sp-3); margin-bottom: var(--sp-4); }
.footer__brand .brand__mark { background: linear-gradient(135deg, var(--accent-500), var(--accent-600)); }
.footer__brand .brand__name { color: #fff; }
.footer__brand .brand__sub { color: rgba(255,255,255,.5); }
.footer__badges { display: flex; flex-wrap: wrap; gap: 7px; margin-top: var(--sp-4); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-block: var(--sp-5);
  display: flex;
  justify-content: space-between;
  gap: var(--sp-4);
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: rgba(255,255,255,.48);
}

/* ======================= 14 Utilities & animations ======================= */
.mt-0 { margin-top: 0 !important; }
.mt-3 { margin-top: var(--sp-3) !important; }
.mt-4 { margin-top: var(--sp-4) !important; }
.mt-5 { margin-top: var(--sp-5) !important; }
.mt-6 { margin-top: var(--sp-6) !important; }
.mt-7 { margin-top: var(--sp-7) !important; }
.mb-4 { margin-bottom: var(--sp-4) !important; }
.mb-5 { margin-bottom: var(--sp-5) !important; }
.text-center { text-align: center; }
.hide { display: none !important; }
.flex-between { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); flex-wrap: wrap; }
.flex { display: flex; align-items: center; gap: var(--sp-3); flex-wrap: wrap; }
.full-span { grid-column: 1 / -1; }

.route { display: none; }
.route.is-active { display: block; }

/* Scroll reveal — progressive enhancement only.
   The hidden start state is scoped to html.js-reveal, which js/app.js adds at
   runtime. If JavaScript is unavailable or the observer never fires, content
   stays fully visible instead of being stuck at opacity 0. */
.reveal { opacity: 1; transform: none; }
html.js-reveal .reveal { opacity: 0; transform: translateY(14px); }
html.js-reveal .reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity 520ms ease, transform 520ms cubic-bezier(.2,.7,.3,1);
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  html.js-reveal .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ======================= 15 Responsive =================================== */
@media (max-width: 1080px) {
  .grid--sidebar, .grid--sidebar-left { grid-template-columns: minmax(0, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: var(--sp-7); }
  .mosaic { max-width: 520px; }
  .ctaband { grid-template-columns: minmax(0, 1fr); padding: var(--sp-6); }
  .ctaband__actions { flex-direction: row; flex-wrap: wrap; }
}

@media (max-width: 900px) {
  .nav, .header__actions .btn { display: none; }
  .nav-toggle { display: grid; }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section { padding-block: var(--sp-7); }
  .hero { padding-block: var(--sp-8); }
}

@media (max-width: 720px) {
  :root { --sp-8: 48px; --sp-9: 64px; }
  .wrap { padding-inline: var(--sp-4); }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); }
  .form-row, .form-row--3 { grid-template-columns: minmax(0, 1fr); }
  .keyspecs { grid-template-columns: minmax(0, 1fr); }
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__trust { gap: var(--sp-4); }
  .topbar__inner { justify-content: center; }
  .topbar__list { justify-content: center; }
  .step { grid-template-columns: minmax(0, 1fr); }
  .tl-item { grid-template-columns: 44px minmax(0, 1fr); }
  .compare-bar__items { margin-left: 0; }
  .float-wa { width: 50px; height: 50px; right: 14px; bottom: 14px; }
  table.spec th { width: 40%; }
  .ctaband { border-radius: var(--r-lg); }
}

@media (max-width: 420px) {
  .btn { width: 100%; }
  .btn-row .btn { width: 100%; }
  .ctaband__actions { flex-direction: column; }
}

/* ======================= 16 Print ======================================== */
@media print {
  .site-header, .topbar, .float-wa, .compare-bar, .site-footer, .btn { display: none !important; }
  body { font-size: 11pt; color: #000; }
  .section, .card, .table-wrap { break-inside: avoid; }
  .route { display: block !important; }
}


/* ---------------------------------------------------------------------------
   xintufan: no-wrap nav
   导航项不许折成三行（「OEM & Private label」「How to order」原本会被挤断）。
   桌面端保持单行，空间不够时由设计自己的响应式断点收起为汉堡菜单。
   ------------------------------------------------------------------------- */
.nav__link,
.mobile-menu__link { white-space: nowrap; }
@media (min-width: 1100px) {
  .nav__list { gap: clamp(.35rem, .8vw, .9rem); }
  .brand__sub { display: none; }          /* 窄一点时先收掉品牌副标题 */
}


/* ---------------------------------------------------------------------------
   xintufan: buttons never break
   「Get a Quote」这类按钮在 1200px 附近会被折成两行，桌面端强制单行。
   ------------------------------------------------------------------------- */
@media (min-width: 700px) {
  .btn { white-space: nowrap; }
}
