/* =========================================================
   Jinshi Composite - Fiberglass B2B Trade Site
   Stylesheet (BEM + Mobile First + Responsive)
   Author: Frontend Designer
   ========================================================= */

/* ---------- 1. Design Tokens ---------- */
:root {
  /* Colors */
  --color-primary: #0A2540;
  --color-primary-hover: #1B3A5C;
  --color-accent: #FF6B35;
  --color-accent-hover: #E55525;
  --color-text-dark: #1A1A2E;
  --color-text-body: #3D3D4E;
  --color-text-muted: #6C6C7C;
  --color-line: #E5E5EA;
  --color-bg: #F7F8FA;
  --color-success: #2ECC71;
  --color-warning: #F39C12;
  --color-error: #E74C3C;
  --color-white: #FFFFFF;

  /* Typography */
  --font-head: "Montserrat", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Open Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", Consolas, monospace;

  /* Spacing scale (8px base) */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 64px;
  --space-7: 96px;
  --space-8: 128px;

  /* Container */
  --container-max: 1440px;
  --container-pad: 16px;

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  /* Shadow */
  --shadow-sm: 0 1px 3px rgba(10, 37, 64, 0.08);
  --shadow-md: 0 4px 12px rgba(10, 37, 64, 0.10);
  --shadow-lg: 0 12px 32px rgba(10, 37, 64, 0.14);

  /* Transition */
  --tr-fast: 0.15s ease;
  --tr-base: 0.25s ease;
  --tr-slow: 0.4s ease;

  /* Header height */
  --header-h: 72px;
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-body);
  background: var(--color-white);
  overflow-wrap: break-word;
  word-break: break-word;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--color-text-dark);
  margin: 0 0 var(--space-2);
  line-height: 1.25;
  font-weight: 700;
}

p { margin: 0 0 var(--space-2); }

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--tr-fast);
}
a:hover { color: var(--color-accent); }

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

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

button { font-family: inherit; cursor: pointer; }

table { border-collapse: collapse; width: 100%; }

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* ---------- 3. Layout helpers ---------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.section {
  padding: var(--space-7) 0;
}
.section--tight { padding: var(--space-6) 0; }
.section--bg { background: var(--color-bg); }
.section--dark {
  background: var(--color-primary);
  color: var(--color-white);
}
.section--dark h1,
.section--dark h2,
.section--dark h3 { color: var(--color-white); }

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

/* Section heading */
.section__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--space-5);
}
.section__eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-2);
}
.section__title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: var(--space-2);
}
.section__desc {
  color: var(--color-text-muted);
  font-size: 17px;
}

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  padding: 14px 28px;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: transform var(--tr-fast), box-shadow var(--tr-fast),
              background var(--tr-base), color var(--tr-base), border-color var(--tr-base);
  text-align: center;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
  box-shadow: 0 4px 14px rgba(255, 107, 53, 0.30);
}
.btn--primary:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  color: var(--color-white);
  box-shadow: 0 8px 20px rgba(255, 107, 53, 0.40);
}

.btn--dark {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}
.btn--dark:hover {
  background: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
  color: var(--color-white);
}

.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn--outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn--ghost {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.4);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.10);
  color: var(--color-white);
}

.btn--lg { padding: 18px 36px; font-size: 16px; }
.btn--sm { padding: 10px 20px; font-size: 14px; }
.btn--block { width: 100%; }

.btn[disabled] {
  opacity: 0.5;
  pointer-events: none;
}

/* ---------- 5. Header / Navigation ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 1000;
  background: rgba(10, 37, 64, 0.20);
  backdrop-filter: blur(8px);
  transition: background var(--tr-base), box-shadow var(--tr-base);
}
.header--scrolled {
  background: var(--color-white);
  box-shadow: var(--shadow-md);
}
.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-width: 0;
}
.nav { display: flex; align-items: center; gap: var(--space-4); min-width: 0; }
.nav__actions { display: flex; align-items: center; gap: var(--space-2); flex-shrink: 0; }
.header__logo {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
  color: var(--color-white);
  letter-spacing: 0.02em;
  flex-shrink: 0;
  white-space: nowrap;
  min-width: 0;
}
.header__logo > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.header--scrolled .header__logo { color: var(--color-primary); }
.header__logo-mark {
  width: 36px;
  height: 36px;
  background: var(--color-accent);
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-weight: 800;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.nav__link {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-white);
  padding: 6px 0;
  position: relative;
}
.header--scrolled .nav__link { color: var(--color-text-dark); }
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width var(--tr-base);
}
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { width: 100%; }
.nav__link:hover { color: var(--color-accent); }

.nav__lang {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
}
.header--scrolled .nav__lang {
  color: var(--color-text-dark);
  border-color: var(--color-line);
}

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav__toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-white);
  transition: transform var(--tr-base), opacity var(--tr-base);
}
.header--scrolled .nav__toggle span { background: var(--color-text-dark); }
.nav__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(10, 37, 64, 0.92) 0%, rgba(10, 37, 64, 0.70) 100%),
    radial-gradient(ellipse at top right, rgba(255, 107, 53, 0.18), transparent 60%),
    url("https://trae-api-cn.mchost.guru/api/ide/v1/text_to_image?prompt=Modern%20fiberglass%20manufacturing%20factory%20interior%20with%20glass%20fiber%20strands%20production%20line%20industrial%20photography%20blue%20tone&image_size=landscape_16_9") center/cover no-repeat;
  color: var(--color-white);
  padding: calc(var(--header-h) + var(--space-6)) 0 var(--space-6);
}
.hero__grid {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: var(--space-5);
  align-items: center;
}
.hero__eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-2);
  font-weight: 600;
}
.hero__title {
  font-size: 56px;
  line-height: 1.1;
  margin-bottom: var(--space-3);
  color: var(--color-white);
}
.hero__desc {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.86);
  margin-bottom: var(--space-4);
  max-width: 560px;
}
.hero__cta { display: flex; gap: var(--space-2); flex-wrap: wrap; margin-bottom: var(--space-4); }
.hero__badges {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: var(--space-3);
}
.hero__badge { display: flex; flex-direction: column; gap: 2px; }
.hero__badge-num {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 700;
  color: var(--color-accent);
}
.hero__badge-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
}

.hero__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__float-card {
  position: absolute;
  left: var(--space-3);
  bottom: var(--space-3);
  background: var(--color-white);
  color: var(--color-text-dark);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  max-width: 260px;
}
.hero__float-card strong {
  display: block;
  font-family: var(--font-head);
  font-size: 22px;
  color: var(--color-primary);
}
.hero__float-card span { font-size: 13px; color: var(--color-text-muted); }

/* ---------- 7. Trust Bar ---------- */
.trust {
  background: var(--color-primary);
  color: var(--color-white);
  padding: var(--space-4) 0;
}
.trust__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
}
.trust__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: var(--space-2);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}
.trust__item:last-child { border-right: 0; }
.trust__num {
  font-family: var(--font-head);
  font-size: 32px;
  font-weight: 700;
  color: var(--color-accent);
}
.trust__label { font-size: 14px; color: rgba(255, 255, 255, 0.80); }

/* ---------- 8. Cards ---------- */
.card {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--tr-base), box-shadow var(--tr-base);
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--tr-slow);
}
.card:hover .card__media img { transform: scale(1.05); }
.card__body {
  padding: var(--space-3);
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  flex: 1;
}
.card__title {
  font-size: 20px;
  font-weight: 600;
  margin: 0;
}
.card__desc {
  font-size: 14px;
  color: var(--color-text-muted);
  margin: 0;
}
.card__meta {
  display: flex;
  gap: var(--space-2);
  align-items: center;
  margin-top: auto;
  padding-top: var(--space-2);
}
.card__link {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.card__link::after { content: "→"; transition: transform var(--tr-fast); }
.card__link:hover::after { transform: translateX(4px); }

/* Feature card */
.feature-card {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  text-align: left;
  transition: transform var(--tr-base), box-shadow var(--tr-base);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent);
}
.feature-card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(255, 107, 53, 0.10);
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: var(--space-2);
}
.feature-card__title {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 var(--space-1);
}
.feature-card__desc {
  font-size: 14px;
  color: var(--color-text-muted);
  margin: 0;
}

/* Product card */
.product-card { position: relative; }
.product-card__badge {
  position: absolute;
  top: var(--space-2);
  left: var(--space-2);
  background: var(--color-accent);
  color: var(--color-white);
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 2;
}
.product-card__moq {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-bg);
  color: var(--color-text-body);
  font-size: 12px;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

/* ---------- 9. Applications tabs ---------- */
.apps__tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-1);
  margin-bottom: var(--space-4);
}
.apps__tab {
  background: transparent;
  border: 1px solid var(--color-line);
  color: var(--color-text-body);
  padding: 10px 20px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  transition: all var(--tr-base);
}
.apps__tab:hover { border-color: var(--color-accent); color: var(--color-accent); }
.apps__tab[aria-selected="true"] {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}
.apps__panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  align-items: center;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-line);
}
.apps__panel[hidden] { display: none; }
.apps__media { aspect-ratio: 4/3; overflow: hidden; }
.apps__media img { width: 100%; height: 100%; object-fit: cover; }
.apps__content { padding: var(--space-4); }
.apps__content h3 { font-size: 24px; margin-bottom: var(--space-2); }
.apps__content ul { margin-bottom: var(--space-3); }
.apps__content li {
  position: relative;
  padding-left: 24px;
  margin-bottom: var(--space-1);
  list-style: none;
  font-size: 15px;
}
.apps__content li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-accent);
  font-weight: 700;
}

/* ---------- 10. Testimonials ---------- */
.testi__logos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}
.testi__logo {
  height: 64px;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: filter var(--tr-base), opacity var(--tr-base);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  color: var(--color-text-muted);
  padding: 0 var(--space-2);
  text-align: center;
}
.testi__logo:hover { filter: grayscale(0); opacity: 1; color: var(--color-primary); }

.testi__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}
.testi-card {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.testi-card__stars { color: #FFB400; font-size: 16px; letter-spacing: 2px; }
.testi-card__quote {
  font-size: 15px;
  color: var(--color-text-body);
  margin: 0;
  flex: 1;
}
.testi-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding-top: var(--space-2);
  border-top: 1px solid var(--color-line);
}
.testi-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
}
.testi-card__name { font-family: var(--font-head); font-weight: 600; font-size: 14px; }
.testi-card__role { font-size: 12px; color: var(--color-text-muted); }

/* ---------- 11. CTA Banner ---------- */
.cta-banner {
  background:
    linear-gradient(135deg, rgba(10, 37, 64, 0.95), rgba(27, 58, 92, 0.85)),
    url("https://trae-api-cn.mchost.guru/api/ide/v1/text_to_image?prompt=Fiberglass%20rovings%20close%20up%20texture%20macro%20industrial%20blue%20tone&image_size=landscape_16_9") center/cover no-repeat;
  color: var(--color-white);
  padding: var(--space-7) 0;
  text-align: center;
}
.cta-banner__title { font-size: 40px; color: var(--color-white); margin-bottom: var(--space-2); }
.cta-banner__desc { font-size: 18px; color: rgba(255, 255, 255, 0.85); margin-bottom: var(--space-4); }

/* ---------- 12. Footer ---------- */
.footer {
  background: var(--color-primary);
  color: rgba(255, 255, 255, 0.80);
  padding: var(--space-6) 0 var(--space-3);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}
.footer__brand-name {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: var(--space-2);
}
.footer__about { font-size: 14px; line-height: 1.7; }
.footer__col h4 {
  color: var(--color-white);
  font-size: 14px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  margin-bottom: var(--space-2);
}
.footer__col li { margin-bottom: var(--space-1); }
.footer__col a { color: rgba(255, 255, 255, 0.80); font-size: 14px; }
.footer__col a:hover { color: var(--color-accent); }
.footer__contact li {
  display: flex;
  gap: var(--space-1);
  font-size: 14px;
  margin-bottom: var(--space-1);
}
.footer__contact span { color: var(--color-accent); font-weight: 700; }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  padding-top: var(--space-3);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-2);
  font-size: 13px;
}
.footer__social { display: flex; gap: var(--space-1); }
.footer__social a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--color-white);
}
.footer__social a:hover { background: var(--color-accent); border-color: var(--color-accent); }

/* ---------- 13. Breadcrumb ---------- */
.breadcrumb {
  padding: calc(var(--header-h) + var(--space-3)) 0 var(--space-3);
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-line);
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
  font-size: 14px;
  color: var(--color-text-muted);
}
.breadcrumb li { display: flex; align-items: center; gap: var(--space-1); }
.breadcrumb li::after { content: "/"; color: var(--color-text-muted); }
.breadcrumb li:last-child::after { content: ""; }
.breadcrumb li[aria-current="page"] { color: var(--color-text-dark); font-weight: 600; }

/* ---------- 14. Page Hero (inner) ---------- */
.page-hero {
  background:
    linear-gradient(135deg, rgba(10, 37, 64, 0.92), rgba(10, 37, 64, 0.78)),
    url("https://trae-api-cn.mchost.guru/api/ide/v1/text_to_image?prompt=Fiberglass%20woven%20roving%20roll%20texture%20industrial%20blue%20background&image_size=landscape_16_9") center/cover no-repeat;
  color: var(--color-white);
  padding: calc(var(--header-h) + var(--space-6)) 0 var(--space-6);
  text-align: center;
}
.page-hero__title { font-size: 48px; color: var(--color-white); margin-bottom: var(--space-2); }
.page-hero__desc { font-size: 18px; color: rgba(255, 255, 255, 0.85); max-width: 720px; margin: 0 auto; }

/* ---------- 15. Products list layout ---------- */
.products-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--space-4);
  align-items: start;
  padding: var(--space-5) 0 var(--space-7);
}
.filter {
  position: sticky;
  top: calc(var(--header-h) + var(--space-2));
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  padding: var(--space-3);
}
.filter__title {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--color-text-dark);
  border-bottom: 1px solid var(--color-line);
  padding-bottom: var(--space-1);
  margin-bottom: var(--space-2);
}
.filter__group { margin-bottom: var(--space-3); }
.filter__group h4 {
  font-size: 14px;
  margin-bottom: var(--space-1);
}
.filter__option {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  padding: 4px 0;
  cursor: pointer;
}
.filter__option input { accent-color: var(--color-accent); }
.filter__actions {
  display: flex;
  gap: var(--space-1);
  border-top: 1px solid var(--color-line);
  padding-top: var(--space-2);
  margin-top: var(--space-2);
}

.products-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  padding: var(--space-2) var(--space-3);
  margin-bottom: var(--space-3);
}
.products-toolbar__count { font-size: 14px; color: var(--color-text-muted); }
.products-toolbar__count strong { color: var(--color-text-dark); }
.products-toolbar__actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.products-toolbar select {
  padding: 8px 12px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 14px;
}
.view-toggle { display: flex; gap: 4px; }
.view-toggle button {
  width: 36px;
  height: 36px;
  background: var(--color-bg);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
}
.view-toggle button[aria-pressed="true"] {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}
.products-grid--list { grid-template-columns: 1fr; }
.products-grid--list .product-card { flex-direction: row; }
.products-grid--list .product-card .card__media { flex: 0 0 280px; aspect-ratio: 4/3; }

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: var(--space-1);
  margin-top: var(--space-5);
}
.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--color-text-body);
}
.pagination a:hover { border-color: var(--color-accent); color: var(--color-accent); }
.pagination .is-current {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

/* ---------- 16. Product Detail ---------- */
.pd-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  padding: var(--space-5) 0;
}
.gallery__main {
  aspect-ratio: 1/1;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-bg);
  position: relative;
}
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__zoom {
  position: absolute;
  right: var(--space-2);
  bottom: var(--space-2);
  background: rgba(255, 255, 255, 0.92);
  border: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  font-size: 18px;
}
.gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-1);
  margin-top: var(--space-2);
}
.gallery__thumb {
  aspect-ratio: 1/1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  background: var(--color-bg);
  cursor: pointer;
}
.gallery__thumb[aria-selected="true"] { border-color: var(--color-accent); }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }

.pd-info__title { font-size: 32px; margin-bottom: var(--space-1); }
.pd-info__desc { color: var(--color-text-muted); margin-bottom: var(--space-3); }
.pd-info__specs {
  background: var(--color-bg);
  border-radius: var(--radius-md);
  padding: var(--space-2) var(--space-3);
  margin-bottom: var(--space-3);
}
.pd-info__specs dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2);
  margin: 0;
}
.pd-info__specs dt { font-size: 12px; color: var(--color-text-muted); margin: 0; }
.pd-info__specs dd { font-family: var(--font-head); font-weight: 700; color: var(--color-text-dark); margin: 0; }

.pd-info__price {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  padding: var(--space-2) 0;
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
  margin-bottom: var(--space-3);
}
.pd-info__price-label { font-size: 13px; color: var(--color-text-muted); }
.pd-info__price-value { font-family: var(--font-head); font-size: 26px; font-weight: 700; color: var(--color-primary); }
.pd-info__price-moq { font-size: 14px; color: var(--color-text-body); }

.pd-info__badges {
  display: flex;
  gap: var(--space-1);
  flex-wrap: wrap;
  margin-bottom: var(--space-3);
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  background: rgba(46, 204, 113, 0.12);
  color: #1d8a4d;
  border: 1px solid rgba(46, 204, 113, 0.30);
}

.pd-info__cta {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-bottom: var(--space-3);
}
.pd-quick-form {
  background: var(--color-bg);
  border-radius: var(--radius-md);
  padding: var(--space-3);
}
.pd-quick-form h3 { font-size: 18px; margin-bottom: var(--space-2); }
.pd-quick-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-1);
}
.pd-quick-form .form-field { margin-bottom: var(--space-1); }
.pd-quick-form textarea { min-height: 80px; }

/* Spec table */
.spec-table {
  width: 100%;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: var(--space-3) 0;
}
.spec-table th,
.spec-table td {
  padding: var(--space-2) var(--space-3);
  text-align: left;
  font-size: 14px;
  border-bottom: 1px solid var(--color-line);
}
.spec-table th {
  background: var(--color-bg);
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--color-text-dark);
  width: 40%;
}
.spec-table tr:last-child th,
.spec-table tr:last-child td { border-bottom: 0; }
.spec-table td code {
  font-family: var(--font-mono);
  background: var(--color-bg);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  font-size: 13px;
}

/* FAQ */
.faq { max-width: 880px; margin: 0 auto; }
.faq__item {
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-1);
  overflow: hidden;
  background: var(--color-white);
}
.faq__q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: transparent;
  border: 0;
  padding: var(--space-3);
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  color: var(--color-text-dark);
  cursor: pointer;
}
.faq__q::after {
  content: "+";
  font-size: 24px;
  color: var(--color-accent);
  transition: transform var(--tr-base);
  margin-left: var(--space-2);
  flex-shrink: 0;
}
.faq__item[aria-expanded="true"] .faq__q::after { transform: rotate(45deg); }
.faq__a {
  padding: 0 var(--space-3) var(--space-3);
  font-size: 15px;
  color: var(--color-text-body);
  display: none;
}
.faq__item[aria-expanded="true"] .faq__a { display: block; }

/* ---------- 17. About ---------- */
.timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: var(--space-3) 0;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-line);
  transform: translateX(-1px);
}
.timeline__item {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  align-items: center;
  margin-bottom: var(--space-3);
}
.timeline__dot {
  width: 16px;
  height: 16px;
  background: var(--color-accent);
  border: 4px solid var(--color-white);
  box-shadow: 0 0 0 2px var(--color-accent);
  border-radius: 50%;
  margin: 0 auto;
  z-index: 1;
}
.timeline__card {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  box-shadow: var(--shadow-sm);
}
.timeline__year {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: var(--space-1);
}
.timeline__item:nth-child(odd) .timeline__card:first-child { text-align: right; }
.timeline__item:nth-child(even) .timeline__card:last-child { grid-column: 3; }
.timeline__item:nth-child(even) .timeline__card:first-child { display: none; }
.timeline__item:nth-child(odd) .timeline__card:last-child { display: none; }

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
}
.stats__item {
  text-align: center;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  padding: var(--space-3);
}
.stats__num {
  font-family: var(--font-head);
  font-size: 44px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}
.stats__label {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-top: var(--space-1);
}

/* Certifications grid */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
}
.cert-card {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  text-align: center;
  transition: transform var(--tr-base), box-shadow var(--tr-base);
}
.cert-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.cert-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-2);
  background: rgba(255, 107, 53, 0.10);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
}
.cert-card__title { font-size: 16px; font-weight: 600; margin: 0 0 4px; }
.cert-card__desc { font-size: 13px; color: var(--color-text-muted); margin: 0; }

/* ---------- 18. Contact ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 60fr 40fr;
  gap: var(--space-4);
  padding: var(--space-5) 0 var(--space-7);
}
.contact-form { padding: var(--space-4); background: var(--color-white); border: 1px solid var(--color-line); border-radius: var(--radius-md); }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2);
}
.form-field { margin-bottom: var(--space-2); }
.form-field label {
  display: block;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: 6px;
}
.form-field label .req { color: var(--color-error); }
.input,
.select,
.textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 15px;
  color: var(--color-text-dark);
  background: var(--color-white);
  transition: border-color var(--tr-base), box-shadow var(--tr-base);
}
.input:focus,
.select:focus,
.textarea:focus {
  outline: 0;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.15);
}
.textarea { min-height: 130px; resize: vertical; }
.form-field--error .input { border-color: var(--color-error); }
.form-field__error { color: var(--color-error); font-size: 12px; margin-top: 4px; }

.file-upload {
  border: 2px dashed var(--color-line);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  text-align: center;
  cursor: pointer;
  transition: border-color var(--tr-base), background var(--tr-base);
}
.file-upload:hover { border-color: var(--color-accent); background: rgba(255, 107, 53, 0.04); }
.file-upload input { display: none; }
.file-upload__icon { font-size: 28px; color: var(--color-accent); margin-bottom: var(--space-1); }
.file-upload__hint { font-size: 13px; color: var(--color-text-muted); }

.contact-info {
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius-md);
  padding: var(--space-4);
}
.contact-info h2 { color: var(--color-white); font-size: 22px; margin-bottom: var(--space-3); }
.contact-info__item {
  display: flex;
  gap: var(--space-2);
  padding: var(--space-2) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}
.contact-info__item:last-child { border-bottom: 0; }
.contact-info__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255, 107, 53, 0.18);
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.contact-info__label { font-size: 12px; color: rgba(255, 255, 255, 0.60); }
.contact-info__value { font-size: 15px; color: var(--color-white); font-weight: 600; }
.contact-info__social { display: flex; gap: var(--space-1); margin-top: var(--space-3); }
.contact-info__social a {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
}
.contact-info__social a:hover { background: var(--color-accent); border-color: var(--color-accent); }
.contact-map {
  margin-top: var(--space-3);
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16/10;
}
.contact-map iframe { width: 100%; height: 100%; border: 0; }

/* ---------- 19. Toast & utilities ---------- */
.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  background: var(--color-text-dark);
  color: var(--color-white);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 2000;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--tr-base), transform var(--tr-base);
  max-width: 320px;
}
.toast.is-visible { opacity: 1; transform: translateY(0); }
.toast--success { background: var(--color-success); }
.toast--error { background: var(--color-error); }

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  border: 0;
  font-size: 20px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--tr-base), visibility var(--tr-base);
  z-index: 900;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--color-primary-hover); }

/* ---------- 20. AOS-like scroll animations ---------- */
[data-aos] {
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}
[data-aos="fade-up"] { transform: translateY(30px); }
[data-aos="fade-down"] { transform: translateY(-30px); }
[data-aos="fade-left"] { transform: translateX(30px); }
[data-aos="fade-right"] { transform: translateX(-30px); }
[data-aos="zoom-in"] { transform: scale(0.92); }
[data-aos].is-visible { opacity: 1; transform: none; }

/* ---------- 21. Utilities ---------- */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }

/* Mobile filter toggle (hidden on desktop) */
.filter-toggle {
  display: none;
  margin-bottom: var(--space-2);
}

/* ---------- Language switcher ---------- */
.lang-switch {
  position: relative;
  display: inline-block;
}
.lang-switch__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.30);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--tr-base), border-color var(--tr-base);
}
.header--scrolled .lang-switch__btn {
  color: var(--color-text-dark);
  background: var(--color-bg);
  border-color: var(--color-line);
}
.lang-switch__btn:hover { border-color: var(--color-accent); }
.lang-switch__globe { font-size: 14px; }
.lang-switch__caret { font-size: 10px; transition: transform var(--tr-base); }
.lang-switch__btn[aria-expanded="true"] .lang-switch__caret { transform: rotate(180deg); }

.lang-switch__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 180px;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 6px;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--tr-base), transform var(--tr-base), visibility var(--tr-base);
  z-index: 1200;
}
.lang-switch__menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.lang-switch__option {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--tr-fast);
  list-style: none;
}
.lang-switch__link {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: 10px 12px;
  width: 100%;
  color: var(--color-text-dark);
  text-decoration: none;
  border-radius: var(--radius-sm);
}
.lang-switch__option:hover { background: var(--color-bg); }
.lang-switch__option.is-active { background: rgba(255, 107, 53, 0.10); }
.lang-switch__code {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12px;
  color: var(--color-accent);
  background: var(--color-bg);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  min-width: 28px;
  text-align: center;
}
.lang-switch__label {
  font-size: 14px;
  color: var(--color-text-dark);
  font-weight: 500;
}

/* Mobile drawer language switcher */
.mobile-nav .lang-switch { width: 100%; margin-bottom: var(--space-2); }
.mobile-nav .lang-switch__btn {
  width: 100%;
  justify-content: center;
  color: var(--color-text-dark);
  background: var(--color-bg);
  border-color: var(--color-line);
}
.mobile-nav .lang-switch__menu {
  position: static;
  opacity: 1;
  visibility: visible;
  transform: none;
  box-shadow: none;
  border: 0;
  padding: 0;
}
.mobile-nav .lang-switch__menu:not(.is-open) {
  display: none;
}

/* ---------- RTL Support (Arabic) ---------- */
html.is-rtl {
  direction: rtl;
}
html.is-rtl body {
  font-family: "Noto Naskh Arabic", "Montserrat", sans-serif;
}
html.is-rtl .header__inner,
html.is-rtl .nav__list,
html.is-rtl .hero__cta,
html.is-rtl .hero__badges,
html.is-rtl .trust__list,
html.is-rtl .products-toolbar,
html.is-rtl .footer__bottom,
html.is-rtl .apps__tabs,
html.is-rtl .pagination {
  direction: rtl;
}
html.is-rtl .nav__actions {
  flex-direction: row-reverse;
}
html.is-rtl .card__link::after { content: "←"; }
html.is-rtl .breadcrumb ol {
  direction: rtl;
}
html.is-rtl .breadcrumb li::after { content: "/"; }
html.is-rtl .lang-switch__menu {
  right: auto;
  left: 0;
}
html.is-rtl .toast { right: auto; left: 24px; }
html.is-rtl .back-to-top { right: auto; left: 24px; }
html.is-rtl .mobile-nav {
  right: auto;
  left: 0;
  transform: translateX(-100%);
}
html.is-rtl .mobile-nav.is-open { transform: none; }
html.is-rtl .footer__contact li span:first-child { margin-left: 6px; margin-right: 0; }

/* Noto Naskh Arabic font preload */
html.is-rtl .hero__title,
html.is-rtl .section__title,
html.is-rtl h1, html.is-rtl h2, html.is-rtl h3,
html.is-rtl h4, html.is-rtl h5, html.is-rtl h6 {
  font-family: "Noto Naskh Arabic", "Montserrat", sans-serif;
  font-weight: 700;
}

/* ---------- 22. Responsive ---------- */
@media (max-width: 1200px) {
  .hero__title { font-size: 48px; }
  .testi__logos { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 992px) {
  :root { --space-7: 72px; --space-8: 96px; }
  .header__inner { gap: var(--space-2); }
  .header__logo { font-size: 16px; }
  .header__logo-mark { width: 32px; height: 32px; }
  .nav { gap: var(--space-1); }
  .nav__list { display: none; }
  .nav__toggle { display: flex; }
  .nav__lang { display: none; }
  /* 隐藏桌面端 CTA 按钮（已在移动抽屉中） */
  .nav__actions .btn--primary.btn--sm:not(.mobile-nav__cta) { display: none; }
  .nav__actions { gap: 6px; }
  /* 语言切换器紧凑显示：仅显示代码 */
  .lang-switch__btn { padding: 6px 8px; }
  .lang-switch__globe,
  .lang-switch__caret { display: none; }
  .lang-switch__current { font-size: 12px; }

  .hero__grid { grid-template-columns: 1fr; }
  .hero__title { font-size: 40px; }
  .hero__media { display: none; }
  .hero__badges { gap: var(--space-3); }

  .trust__list { grid-template-columns: repeat(2, 1fr); }
  .trust__item:nth-child(2) { border-right: 0; }

  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }

  .apps__panel { grid-template-columns: 1fr; }
  .testi__logos { grid-template-columns: repeat(3, 1fr); }
  .testi__grid { grid-template-columns: 1fr; }

  .footer__grid { grid-template-columns: 1fr 1fr; }

  .products-layout { grid-template-columns: 1fr; }
  .filter {
    position: static;
    display: none;
  }
  .filter.is-open { display: block; }
  .filter-toggle { display: block !important; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }

  .pd-top { grid-template-columns: 1fr; gap: var(--space-3); }
  .pd-info__specs dl { grid-template-columns: repeat(2, 1fr); }

  .stats { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }

  .contact-layout { grid-template-columns: 1fr; }
  .timeline::before { left: 20px; }
  .timeline__item { grid-template-columns: 40px 1fr; }
  .timeline__item:nth-child(odd) .timeline__card:first-child,
  .timeline__item:nth-child(even) .timeline__card:first-child { display: none; }
  .timeline__item:nth-child(odd) .timeline__card:last-child,
  .timeline__item:nth-child(even) .timeline__card:last-child { display: block; text-align: left; grid-column: 2; }
}

@media (max-width: 768px) {
  .section__title { font-size: 28px; }
  .page-hero__title { font-size: 32px; }
  .cta-banner__title { font-size: 28px; }
  .pd-info__title { font-size: 24px; }
}

@media (max-width: 540px) {
  :root { --container-pad: 12px; }
  .header__logo { font-size: 14px; gap: 6px; }
  .header__logo-mark { width: 28px; height: 28px; font-size: 13px; }
  .nav__actions { gap: 4px; }
  .lang-switch__btn { padding: 4px 6px; }
  .hero__title { font-size: 32px; }
  .hero__desc { font-size: 16px; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
  .hero__badges { gap: var(--space-2); }
  .hero__badge-num { font-size: 22px; }

  .grid--4, .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .trust__list { grid-template-columns: 1fr 1fr; }
  .testi__logos { grid-template-columns: repeat(2, 1fr); }

  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }

  .products-toolbar { flex-direction: column; align-items: stretch; gap: var(--space-2); }
  .products-grid { grid-template-columns: 1fr; }
  .products-grid--list .product-card { flex-direction: column; }
  .products-grid--list .product-card .card__media { flex: none; }

  .form-row { grid-template-columns: 1fr; }
  .pd-quick-form .form-row { grid-template-columns: 1fr; }
  .pd-info__specs dl { grid-template-columns: 1fr; }
  .pd-info__cta { flex-direction: column; align-items: stretch; }
  .pd-info__cta .btn { width: 100%; }

  .stats { grid-template-columns: 1fr 1fr; }
  .stats__num { font-size: 32px; }
  .cert-grid { grid-template-columns: 1fr; }

  /* 移动端规格表：水平滚动，避免列换行 */
  .spec-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
  }
  .spec-table th, .spec-table td { padding: var(--space-1); font-size: 13px; white-space: nowrap; }
  .spec-table th { width: 45%; }

  .back-to-top { right: 16px; bottom: 16px; width: 44px; height: 44px; }
  .toast { left: 16px; right: 16px; bottom: 16px; max-width: none; }
}

/* Mobile nav drawer */
.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: min(85vw, 360px);
  height: 100vh;
  background: var(--color-white);
  z-index: 1100;
  transform: translateX(100%);
  transition: transform var(--tr-base);
  padding: calc(var(--header-h) + var(--space-2)) var(--space-3) var(--space-3);
  box-shadow: var(--shadow-lg);
  overflow-y: auto;
}
.mobile-nav.is-open { transform: none; }
.mobile-nav__link {
  display: block;
  padding: var(--space-2) 0;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 18px;
  color: var(--color-text-dark);
  border-bottom: 1px solid var(--color-line);
}
.mobile-nav__link:hover { color: var(--color-accent); }
.mobile-nav__cta { margin-top: var(--space-3); }

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 37, 64, 0.50);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--tr-base), visibility var(--tr-base);
}
.overlay.is-open { opacity: 1; visibility: visible; }

/* Print */
@media print {
  .header, .footer, .back-to-top, .nav__toggle, .cta-banner { display: none; }
  body { color: #000; }
  .card, .feature-card { box-shadow: none; border: 1px solid #ccc; }
}
