/* ============================================
   CheMost Homepage & Inner Page Styles
   对标 Innospec + 12家竞品共识参数
   ============================================ */

/* --- Variables --- */
:root {
  --cm-brand-dark: #1a3a5c;
  --cm-brand-blue: #1a6fb5;
  --cm-brand-orange: #C2410C;
  --cm-text-dark: #2c2c2c;
  --cm-text-mid: #3d3d3d;
  --cm-text-light: #6B7280;
  --cm-bg-section: #f5f5f7;
  --cm-bg-white: #FFFFFF;
  --cm-border-light: #E8ECF1;
  --cm-trust-bg: #1a3a5c;
  /* Type system — "Technical Datasheet" (Pairing B), now site-wide. */
  --cm-font-head: 'Newsreader', Georgia, 'Times New Roman', serif;
  --cm-font-body: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --cm-font-mono: 'IBM Plex Mono', 'SFMono-Regular', Consolas, monospace;
  --cm-font: var(--cm-font-body); /* was Inter — legacy alias now points to the Plex Sans body stack */
  --cm-ink: #16243a;
  --cm-hair: #e1e7ee;
  --cm-hair2: #eef2f6;
  --cm-container: 1170px;
  --cm-section-pad: 80px;
}

/* ── Site-wide type system (Pairing B) — overrides the former Inter typography on
   every template, including blog/glossary pages driven by Astra. Newsreader for
   major headings, IBM Plex Sans for body/UI; IBM Plex Mono stays per-component. ── */
body,
button, input, select, textarea, optgroup {
  font-family: var(--cm-font-body) !important;
}
h1, h2,
.entry-title, .ast-archive-title, .cm-section-title {
  font-family: var(--cm-font-head) !important;
}
h3, h4, h5, h6 {
  font-family: var(--cm-font-body) !important;
}

/* --- Page-level reset (shared by homepage + inner templates) --- */
.cm-homepage,
.cm-contact-page,
.cm-category-page,
.cm-company-page,
.cm-policy-page,
.cm-product-page {
  font-family: var(--cm-font);
  color: var(--cm-text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.cm-homepage *, .cm-homepage *::before, .cm-homepage *::after,
.cm-contact-page *, .cm-contact-page *::before, .cm-contact-page *::after,
.cm-category-page *, .cm-category-page *::before, .cm-category-page *::after,
.cm-company-page *, .cm-company-page *::before, .cm-company-page *::after,
.cm-policy-page *, .cm-policy-page *::before, .cm-policy-page *::after,
.cm-product-page *, .cm-product-page *::before, .cm-product-page *::after {
  box-sizing: border-box;
}
.cm-homepage a, .cm-contact-page a, .cm-category-page a,
.cm-company-page a, .cm-policy-page a, .cm-product-page a { color: var(--cm-brand-blue); text-decoration: none; }
.cm-homepage a:hover, .cm-contact-page a:hover, .cm-category-page a:hover,
.cm-company-page a:hover, .cm-policy-page a:hover, .cm-product-page a:hover { text-decoration: underline; }
.cm-homepage img, .cm-contact-page img, .cm-category-page img,
.cm-company-page img, .cm-policy-page img, .cm-product-page img { max-width: 100%; height: auto; display: block; }

.cm-container {
  max-width: var(--cm-container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================
   1. TRUST TOP BAR
   ============================================ */
/* Trust bar + nav pin together as one sticky unit (set in header.php) — this
   avoids the old two-sticky offset drift that snapped the nav up ~8px on scroll. */
.cm-headwrap {
  position: sticky;
  top: 0;
  z-index: 101;
}
.cm-trust-topbar {
  background: #1a1a2e;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.cm-trust-topbar-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 8px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.2px;
  color: rgba(255,255,255,0.75);
}
.cm-trust-left {
  display: flex;
  align-items: center;
  gap: 0;
}
.cm-trust-sep {
  margin: 0 12px;
  opacity: 0.4;
}
.cm-trust-right a {
  color: var(--cm-brand-orange);
  font-weight: 600;
  font-size: 12.5px;
}
.cm-trust-right a:hover {
  color: #fff;
  text-decoration: none;
}

/* ============================================
   1b. HEADER
   ============================================ */
.cm-header {
  background: var(--cm-bg-white);
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  position: relative;
  z-index: 100;
}
.cm-header-main {
  display: flex;
  align-items: center;
  padding: 0 40px;
  max-width: 1400px;
  margin: 0 auto;
  height: 80px;
  position: relative;
}

/* Logo — hexagon mark + wordmark */
.cm-logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
  margin-right: 40px;
  flex-shrink: 0;
}
.cm-logo-mark {
  width: 42px;
  height: 46px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.cm-logo-wrap:hover .cm-logo-mark {
  transform: rotate(12deg) scale(1.05);
}
.cm-logo-text-group {
  display: flex;
  flex-direction: column;
}
.cm-logo-text {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.1;
  color: #1a1a2e;
  transition: color 0.2s;
}
.cm-logo-wrap:hover .cm-logo-text {
  color: #3166C6;
}
.cm-logo-tagline {
  font-size: 11px;
  color: #88929E;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-top: 2px;
}

/* Main Nav */
.cm-nav { flex: 1; display: flex; justify-content: center; }
.cm-mobile-only { display: none; }
.cm-main-nav {
  display: flex;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
.cm-main-nav > li { position: relative; }
/* Nav link hover underline animation */
.cm-main-nav > li > a {
  color: #4A5568;
  font-size: 15px;
  font-weight: 500;
  padding: 0 24px;
  line-height: 80px;
  display: block;
  transition: color 0.15s;
  position: relative;
}
.cm-main-nav > li > a::after {
  content: '';
  position: absolute;
  bottom: 20px;
  left: 24px;
  right: 24px;
  height: 2px;
  background: #3166C6;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.cm-main-nav > li:hover > a::after,
.cm-main-nav > li.active > a::after {
  transform: scaleX(1);
  transform-origin: left;
}
.cm-main-nav > li > a:hover,
.cm-main-nav > li:hover > a {
  color: #3166C6;
  text-decoration: none;
}

/* Simple Dropdown — animated */
.cm-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1), 0 0 0 1px rgba(0,0,0,0.04);
  padding: 8px 0;
  min-width: 220px;
  list-style: none;
  margin: 0;
  z-index: 200;
  /* Animation */
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}
.cm-has-dropdown.open .cm-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.cm-dropdown a {
  display: block;
  color: #4A5568;
  font-size: 14px;
  line-height: 1.4;
  padding: 9px 20px;
  border-left: 2px solid transparent;
  transition: all 0.15s;
}
.cm-dropdown a:hover {
  color: #3166C6;
  background: #F5F7FA;
  border-left-color: #3166C6;
  text-decoration: none;
}
.cm-dropdown-divider {
  height: 1px;
  background: var(--cm-border-light);
  margin: 6px 16px;
}
/* Staggered item reveal — matches the Products mega cascade across all header dropdowns */
.cm-dropdown li {
  opacity: 0;
  transition: opacity 0.25s ease;
}
.cm-has-dropdown.open .cm-dropdown li { opacity: 1; }
.cm-has-dropdown:hover .cm-dropdown li:nth-child(1) { transition-delay: 0.04s; }
.cm-has-dropdown:hover .cm-dropdown li:nth-child(2) { transition-delay: 0.08s; }
.cm-has-dropdown:hover .cm-dropdown li:nth-child(3) { transition-delay: 0.12s; }
.cm-has-dropdown:hover .cm-dropdown li:nth-child(4) { transition-delay: 0.16s; }
.cm-has-dropdown:hover .cm-dropdown li:nth-child(5) { transition-delay: 0.20s; }
.cm-has-dropdown:hover .cm-dropdown li:nth-child(6) { transition-delay: 0.24s; }

/* Mega Menu — animated */
.cm-mega-menu {
  position: absolute;
  top: 100%;
  left: -60px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.04);
  padding: 28px 32px;
  width: 820px;
  z-index: 200;
  grid-template-columns: 1fr 1fr 1.1fr;
  gap: 32px;
  /* Animation */
  display: grid;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              visibility 0.3s;
  pointer-events: none;
}
.cm-has-mega.open .cm-mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* Staggered link appearance */
.cm-mega-col li {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.cm-has-mega.open .cm-mega-col li {
  opacity: 1;
  transform: translateY(0);
}
.cm-has-mega:hover .cm-mega-col li:nth-child(1) { transition-delay: 0.05s; }
.cm-has-mega:hover .cm-mega-col li:nth-child(2) { transition-delay: 0.08s; }
.cm-has-mega:hover .cm-mega-col li:nth-child(3) { transition-delay: 0.11s; }
.cm-has-mega:hover .cm-mega-col li:nth-child(4) { transition-delay: 0.14s; }
.cm-has-mega:hover .cm-mega-col li:nth-child(5) { transition-delay: 0.17s; }
.cm-has-mega:hover .cm-mega-col li:nth-child(6) { transition-delay: 0.20s; }
.cm-has-mega:hover .cm-mega-col li:nth-child(7) { transition-delay: 0.23s; }
.cm-has-mega:hover .cm-mega-col li:nth-child(8) { transition-delay: 0.26s; }
.cm-has-mega:hover .cm-mega-col li:nth-child(9) { transition-delay: 0.28s; }
.cm-has-mega:hover .cm-mega-col li:nth-child(10) { transition-delay: 0.30s; }
.cm-has-mega:hover .cm-mega-col li:nth-child(11) { transition-delay: 0.32s; }
.cm-has-mega:hover .cm-mega-col li:nth-child(12) { transition-delay: 0.34s; }

.cm-mega-col {
  padding-right: 0;
  border-right: none;
}
.cm-mega-col:last-child { padding-right: 0; }

.cm-mega-col .cm-mega-h,
.cm-mega--ind .cm-mega-h {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #1a1a2e;
  margin: 0 0 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--cm-border-light);
}
.cm-mega-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.cm-mega-col li { margin-bottom: 5px; }
.cm-mega-col a,
.cm-mega--ind .cm-mega-h a {
  color: #4A5568;
  font-size: 14px;
  line-height: 1.5;
  transition: color 0.15s;
  display: block;
  padding: 2px 0;
}
.cm-mega-col a:hover,
.cm-mega--ind .cm-mega-h a:hover {
  color: #3166C6;
  text-decoration: none;
}
.cm-mega-viewall {
  display: inline-block;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #3166C6 !important;
}

/* Mega menu third column (industry) */
.cm-mega-highlight {
  background: none;
  margin: 0;
  padding: 0;
  border-radius: 0;
  border-right: none !important;
}
.cm-mega-industry { margin-bottom: 20px !important; }
.cm-mega-industry li {
  margin-bottom: 8px !important;
  border-bottom: 1px solid rgba(0,0,0,0.04);
  padding-bottom: 8px;
  transition: transform 0.2s ease, background 0.2s;
  border-radius: 4px;
}
.cm-mega-industry li:last-child { border-bottom: none; }
.cm-mega-industry li:hover {
  transform: translateX(4px);
  background: rgba(49,102,198,0.04);
}
.cm-mega-industry a {
  display: flex;
  flex-direction: column;
  padding: 4px 0 !important;
}
.cm-mega-industry strong {
  font-size: 14px;
  color: #1a1a2e;
  font-weight: 600;
}
.cm-mega-industry span {
  font-size: 12.5px;
  color: #88929E;
  margin-top: 1px;
}
.cm-mega-industry a:hover strong { color: #3166C6; }

.cm-mega-actions {
  padding-top: 16px;
  border-top: 1px solid var(--cm-border-light);
}
.cm-mega-cta {
  display: inline-block;
  background: #3166C6;
  color: #fff !important;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 5px;
  transition: background 0.2s;
  margin-bottom: 8px;
}
.cm-mega-cta:hover {
  background: #2654A8;
  text-decoration: none;
}
.cm-mega-link {
  display: block;
  font-size: 12px;
  color: #3166C6;
  font-weight: 500;
  margin-top: 4px;
}

/* ── Products mega: 2-column variant (industry dimension is now its own menu) ── */
.cm-mega-menu.cm-mega--2col {
  width: 600px;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
}
.cm-mega-menu.cm-mega--3col {
  width: 880px;
  grid-template-columns: 1.1fr 1.1fr 0.95fr;
  gap: 36px;
}
.cm-mega-col--browse { border-left: 1px solid #eef2f7; padding-left: 28px; }
.cm-mega-note { margin: 9px 0 0; font-size: 12px; color: #64748b; line-height: 1.45; }

/* ── Industries mega: element-tile grid (4.1 second nav dimension) ── */
.cm-mega-menu.cm-mega--ind {
  width: 680px;
  grid-template-columns: 1fr;
  padding: 28px 30px;
}
.cm-mega-ind-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.cm-mega-ind-tile {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 14px;
  border: 1px solid var(--cm-border-light);
  border-radius: 9px;
  background: #fff;
  opacity: 0;
  transition: opacity .25s ease, border-color .2s, background .2s, transform .2s, box-shadow .2s;
}
.cm-has-mega.open .cm-mega-ind-tile { opacity: 1; }
.cm-has-mega:hover .cm-mega-ind-tile:nth-child(1) { transition-delay: 0.04s; }
.cm-has-mega:hover .cm-mega-ind-tile:nth-child(2) { transition-delay: 0.07s; }
.cm-has-mega:hover .cm-mega-ind-tile:nth-child(3) { transition-delay: 0.10s; }
.cm-has-mega:hover .cm-mega-ind-tile:nth-child(4) { transition-delay: 0.13s; }
.cm-has-mega:hover .cm-mega-ind-tile:nth-child(5) { transition-delay: 0.16s; }
.cm-has-mega:hover .cm-mega-ind-tile:nth-child(6) { transition-delay: 0.19s; }
.cm-has-mega:hover .cm-mega-ind-tile:nth-child(7) { transition-delay: 0.22s; }
.cm-mega-ind-tile:hover {
  border-color: #3166C6;
  background: #f7faff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(49,102,198,0.12);
}
/* Kill the global body-class a:hover underline (0,2,1) on the tiles — same fix Products mega uses */
.cm-mega-ind-grid a:hover,
.cm-mega-ind-grid a:focus,
.cm-mega-ind-grid a:active { text-decoration: none; }
.cm-mega-ind-name {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a2e;
  line-height: 1.3;
}
.cm-mega-ind-desc {
  font-size: 12.5px;
  color: #88929E;
  line-height: 1.4;
}

/* Search */
.cm-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
  margin-right: 16px;
  z-index: 150;
  flex: 0 0 auto;
}
.cm-search-toggle {
  background: none;
  border: none;
  color: #4A5568;
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
  flex-shrink: 0;
}
.cm-search-toggle:hover {
  color: #3166C6;
  background: #F5F7FA;
}
/* Anchored to the right of the toggle, expands LEFTWARD as an overlay so the
   rest of the header never reflows/spreads (form is out of normal flow). */
.cm-search-form {
  position: absolute;
  top: 50%;
  right: 40px; /* just to the left of the toggle icon */
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #E0E4E8;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(15,23,42,0.14);
  overflow: hidden;
  width: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: width 0.32s cubic-bezier(.4,0,.2,1), opacity 0.22s ease, visibility 0.22s;
}
.cm-search-wrap.active .cm-search-form {
  width: 340px;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.cm-search-wrap.active .cm-search-toggle {
  color: #3166C6;
  background: #F5F7FA;
}
.cm-search-form input {
  border: none;
  outline: none;
  font-size: 14px;
  padding: 10px 14px;
  width: 100%;
  font-family: inherit;
}
.cm-search-form input::placeholder {
  color: #9CA3AF;
}
.cm-search-form button {
  background: none;
  border: none;
  color: #3166C6;
  cursor: pointer;
  padding: 10px 12px;
  flex-shrink: 0;
}
.cm-search-form button:hover {
  color: #1a1a2e;
}
/* When the header search is open, fade + nudge the nav left so the search
   panel takes its place — no overlap, no header reflow. */
.cm-header-main .cm-nav {
  transition: opacity 0.22s ease, transform 0.3s cubic-bezier(.4,0,.2,1);
}
.cm-header-main.cm-searching .cm-nav {
  opacity: 0;
  transform: translateX(-16px);
  pointer-events: none;
}
/* Mobile: the leftward overlay anchors to the wrap (which sits too far right)
   and runs off the left edge. Open it as a full-width bar inside the header
   row instead, leaving the toggle + hamburger tappable on the right. */
@media (max-width: 768px) {
  .cm-header-main { position: relative; }
  .cm-search-wrap { position: static; }
  .cm-search-form {
    left: 14px;
    right: 118px; /* clear the toggle (close) icon + hamburger on the right */
    width: auto;
    max-width: none;
    top: 50%;
    transform: translateY(-50%);
    z-index: 60;
  }
  .cm-search-wrap.active .cm-search-form { width: auto; }
  /* one magnifier on mobile: keep the standalone toggle (tap to close); the
     input submits via the keyboard's Enter/search key. */
  .cm-search-form button[type="submit"] { display: none; }
}

/* CTA Button in Nav */
.cm-nav-cta {
  background: #3166C6;
  color: #fff !important;
  border-radius: 6px;
  padding: 11px 24px;
  font-weight: 600;
  font-size: 14.5px;
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.cm-nav-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}
.cm-nav-cta:hover::before {
  transform: translateX(100%);
}
.cm-nav-cta:hover {
  background: #2654A8;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(49,102,198,0.3);
  text-decoration: none;
}

/* Mobile toggle */
.cm-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.cm-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cm-brand-dark);
  margin: 5px 0;
  transition: 0.3s;
}

/* Remove old quick-links (now integrated into mega menu) */
.cm-quick-links { display: none; }

/* ============================================
   2. HERO SLIDER
   ============================================ */
.cm-hero-slider {
  min-height: 590px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 0 20px 60px;
  overflow: hidden;
}
.cm-hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 70%;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  z-index: 0;
}
/* 响应式 hero 背景图(2026-06-30 手机性能):桌面大图、手机小图(≤768px)。
   相对路径(相对本 CSS 文件)兼容 localhost 子目录与线上根目录。 */
.cm-hero-slide--1 { background-image: url(../../../uploads/2026/05/chemsot-factroy.jpg); }
.cm-hero-slide--2 { background-image: url(../../../uploads/2026/05/chemical-liquid-ibc-bulk-containers-in-front-of-wa-2026-03-25-04-44-46-utc-1.jpg); }
@media (max-width: 768px) {
  .cm-hero-slide--1 { background-image: url(../../../uploads/2026/05/chemsot-factroy-mobile.jpg); }
  .cm-hero-slide--2 { background-image: url(../../../uploads/2026/05/chemical-liquid-ibc-bulk-containers-in-front-of-wa-2026-03-25-04-44-46-utc-1-mobile.jpg); }
}
.cm-hero-slide.active {
  opacity: 1;
}
.cm-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.45) 100%);
  z-index: 1;
}
.cm-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
}
.cm-hero-indicators {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}
.cm-hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.7);
  background: transparent;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s;
  padding: 0;
}
.cm-hero-dot.active {
  background: #fff;
  border-color: #fff;
}
.cm-hero-slider h1 {
  color: #fff;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 28px;
  text-shadow: 0 3px 12px rgba(0,0,0,0.6), 0 1px 3px rgba(0,0,0,0.4);
}
.cm-hero-brand {
  display: block;
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 6px;
  text-transform: none;
}
.cm-hero-tags {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.cm-hero-tags a {
  display: inline-block;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  padding: 7px 16px;
  border: 1px solid rgba(255,255,255,0.45);
  border-radius: 20px;
  backdrop-filter: blur(4px);
  background: rgba(255,255,255,0.08);
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  letter-spacing: 0.3px;
}
.cm-hero-tags a:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.8);
  transform: translateY(-1px);
  text-decoration: none;
}
.cm-hero p {
  color: rgba(255,255,255,0.9);
  font-size: 17px;
  line-height: 1.7;
  margin: 0 auto 20px;
  max-width: 720px;
}
.cm-hero-search { display: none; }

/* Stage Search — Lanxess style with premium animations */
.cm-stage-search {
  background: #fff;
  position: relative;
  z-index: 10;
  padding: 0 40px;
}
.cm-stage-search-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 36px 0 32px;
}
.cm-stage-search form {
  position: relative;
  display: flex;
  align-items: center;
}
.cm-stage-search input {
  width: 100%;
  background: none;
  border: none;
  border-bottom: 2px solid #E0E4E8;
  font-size: 1.6rem;
  font-weight: 300;
  line-height: 2.4em;
  padding: 0;
  padding-right: 60px;
  font-family: inherit;
  color: #000;
  outline: none;
  transition: border-color 0.4s ease;
}
.cm-stage-search input:focus {
  border-bottom-color: var(--cm-brand-orange);
}
.cm-stage-search input::placeholder {
  color: #000;
  opacity: 0.6;
  font-weight: 300;
}
.cm-stage-search input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}
/* Animated underline that expands from center on focus */
.cm-stage-search form::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--cm-brand-orange);
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1), left 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.cm-stage-search form:focus-within::after {
  width: 100%;
  left: 0;
}
/* Icon */
.cm-stage-search button {
  position: absolute;
  right: 0;
  top: calc(50% - 14px);
  width: 28px;
  height: 28px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.cm-stage-search form:focus-within button {
  transform: translateX(-4px);
}
.cm-stage-search button svg {
  width: 24px;
  height: 24px;
  transition: transform 0.2s;
}
.cm-stage-search button:hover svg {
  transform: scale(1.15);
}
/* Entrance animation */
.cm-stage-search-inner {
  animation: searchSlideIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) both;
  animation-delay: 0.3s;
}
@keyframes searchSlideIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.cm-hero-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 0;
}
.cm-hero-cta {
  display: inline-block;
  background: var(--cm-brand-orange);
  color: #fff !important;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 32px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background 0.2s, transform 0.2s;
}
.cm-hero-cta:hover {
  background: #e85a2c;
  transform: translateY(-2px);
  text-decoration: none;
}
.cm-hero-cta-secondary {
  display: inline-block;
  background: transparent;
  color: #fff !important;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 32px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 2px solid rgba(255,255,255,0.7);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.cm-hero-cta-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
  transform: translateY(-2px);
  text-decoration: none;
}

/* ============================================
   3. INTRO STRIP
   ============================================ */
.cm-intro-strip {
  background: var(--cm-brand-dark);
  position: relative;
  z-index: 2;
}
.cm-intro-strip-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 40px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.cm-intro-stat {
  text-align: center;
  flex-shrink: 0;
}
.cm-intro-stat strong {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
}
.cm-intro-stat span {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.cm-intro-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
}
.cm-intro-text {
  flex: 1;
}
.cm-intro-text p {
  color: rgba(255,255,255,0.75);
  font-size: 14.5px;
  line-height: 1.65;
  margin: 0;
}

/* ============================================
   4. APPLICATION SEGMENTS
   ============================================ */
.cm-applications {
  background: var(--cm-bg-section);
  padding: var(--cm-section-pad) 0;
}
.cm-section-eyebrow {
  display: block;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--cm-brand-orange);
  margin-bottom: 8px;
}
.cm-section-title {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  color: var(--cm-brand-dark);
  margin: 0 0 14px;
}
.cm-section-subtitle {
  text-align: center;
  font-size: 16px;
  color: #4B5563;
  max-width: 750px;
  margin: 0 auto 48px;
  line-height: 1.6;
}

.cm-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: var(--cm-container);
  margin: 0 auto;
  padding: 0 20px;
}

.cm-app-card {
  background: var(--cm-bg-white);
  border: none;
  border-radius: 0;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  color: inherit !important;
}
.cm-app-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(26,58,92,0.12);
  text-decoration: none;
}

.cm-app-card-img {
  width: 100%;
  height: 220px;
  background: #d1d5db;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  font-size: 13px;
  font-weight: 500;
  overflow: hidden;
}
.cm-app-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cm-app-card-body {
  padding: 22px 19px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.cm-app-card-body h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--cm-brand-dark);
  margin: 0 0 10px;
  line-height: 1.35;
}
.cm-app-card-body p {
  font-size: 15px;
  line-height: 1.45;
  color: var(--cm-text-mid);
  margin: 0 0 14px;
  flex: 1;
}
.cm-card-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--cm-brand-blue);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}
.cm-card-link:hover { gap: 8px; text-decoration: none; }
.cm-card-link svg { width: 14px; height: 14px; }

/* ============================================
   5. CAPABILITY STRIP
   ============================================ */
.cm-capability-strip {
  background: linear-gradient(135deg, #0f2a42 0%, #1a3a5c 100%);
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
}
/* Top accent line with sweep animation */
.cm-capability-strip::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--cm-brand-orange) 50%, transparent 100%);
}
.cm-capability-strip::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
  animation: sweepLine 4s ease-in-out infinite;
}
@keyframes sweepLine {
  0% { left: -60%; }
  100% { left: 100%; }
}

.cm-capability-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.cm-capability-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 12px 28px;
  border-right: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  transition: background 0.3s;
  /* Entrance animation */
  opacity: 0;
  transform: translateY(16px);
  animation: capFadeIn 0.5s ease forwards;
}
.cm-capability-item:nth-child(1) { animation-delay: 0.1s; }
.cm-capability-item:nth-child(2) { animation-delay: 0.2s; }
.cm-capability-item:nth-child(3) { animation-delay: 0.3s; }
.cm-capability-item:nth-child(4) { animation-delay: 0.4s; }
.cm-capability-item:last-child { border-right: none; }
.cm-capability-item:first-child { padding-left: 0; }
.cm-capability-item:hover {
  background: rgba(255,255,255,0.04);
}
@keyframes capFadeIn {
  to { opacity: 1; transform: translateY(0); }
}

.cm-capability-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(250,106,56,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cm-brand-orange);
  transition: transform 0.3s ease, background 0.3s;
}
.cm-capability-item:hover .cm-capability-icon {
  transform: rotateY(180deg);
  background: rgba(250,106,56,0.2);
}
.cm-capability-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.cm-capability-text strong {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  transition: color 0.2s;
}
.cm-capability-item:hover .cm-capability-text strong {
  color: var(--cm-brand-orange);
}
.cm-capability-text span {
  color: rgba(255,255,255,0.55);
  font-size: 13px;
  line-height: 1.45;
}

/* ============================================
   6. LATEST INSIGHTS
   ============================================ */
.cm-insights {
  background: var(--cm-bg-white);
  padding: var(--cm-section-pad) 0 calc(var(--cm-section-pad) + 20px);
}
.cm-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: var(--cm-container);
  margin: 0 auto 40px;
  padding: 0 20px;
}
.cm-blog-card {
  border: 1px solid var(--cm-border-light);
  border-radius: 4px;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  display: flex;
  flex-direction: column;
  background: var(--cm-bg-white);
}
.cm-blog-card:hover {
  border-color: var(--cm-brand-blue);
  box-shadow: 0 6px 20px rgba(26,111,181,0.12);
  transform: translateY(-3px);
}

/* Card Image */
.cm-blog-card-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
  background: #e5e7eb;
}
.cm-blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.cm-blog-card:hover .cm-blog-card-img img {
  transform: scale(1.05);
}
/* Image overlay on hover */
.cm-blog-card-img::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(26,58,92,0);
  transition: background 0.3s ease;
  pointer-events: none;
}
.cm-blog-card:hover .cm-blog-card-img::after {
  background: rgba(26,58,92,0.1);
}

/* Card Body */
.cm-blog-card-body {
  padding: 24px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Date */
.cm-blog-date {
  display: block;
  font-size: 12px;
  color: var(--cm-text-light);
  margin: 0 0 8px;
  font-weight: 400;
}

/* Tag */
.cm-blog-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--cm-brand-blue);
  margin: 0 0 10px;
}

/* Title */
.cm-blog-card-body h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--cm-brand-dark);
  line-height: 1.4;
  margin: 0 0 10px;
}
.cm-blog-card-body h3 a {
  color: inherit;
  transition: color 0.2s ease;
}
.cm-blog-card:hover h3 a {
  color: var(--cm-brand-blue);
  text-decoration: none;
}

/* Description */
.cm-blog-card-body p {
  font-size: 14px;
  color: var(--cm-text-light);
  line-height: 1.55;
  margin: 0 0 14px;
  flex: 1;
}

/* Read More Link */
.cm-read-more {
  font-size: 13px;
  font-weight: 500;
  color: var(--cm-brand-blue);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s ease, color 0.2s ease;
}
.cm-blog-card:hover .cm-read-more {
  gap: 8px;
  color: var(--cm-brand-dark);
}

/* View All Footer */
.cm-insights-footer {
  text-align: center;
  max-width: var(--cm-container);
  margin: 0 auto;
  padding: 0 20px;
}
.cm-view-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 500;
  color: var(--cm-brand-blue);
  text-decoration: none;
  transition: gap 0.2s ease, color 0.2s ease;
  padding: 12px 24px;
  border: 1px solid var(--cm-brand-blue);
  border-radius: 4px;
}
.cm-view-all:hover {
  gap: 10px;
  color: var(--cm-bg-white);
  background: var(--cm-brand-blue);
  text-decoration: none;
}

/* ============================================
   7. PRE-FOOTER CTA BANNER
   ============================================ */
.cm-cta-banner {
  background: linear-gradient(135deg, #1a3a5c 0%, #0f2a42 60%, #1a3a5c 100%);
  padding: 64px 40px;
  position: relative;
  overflow: hidden;
}
.cm-cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--cm-brand-orange) 50%, transparent 100%);
}
.cm-cta-banner::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.1) 50%, transparent 100%);
}
.cm-cta-inner {
  max-width: var(--cm-container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.cm-cta-text h2 {
  font-size: 30px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 10px;
  line-height: 1.3;
}
.cm-cta-text p {
  font-size: 16px;
  color: rgba(255,255,255,0.65);
  margin: 0;
  line-height: 1.5;
}
.cm-cta-actions {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
}
.cm-cta-primary {
  display: inline-block;
  padding: 14px 32px;
  background: var(--cm-brand-orange);
  color: #fff !important;
  font-size: 15px;
  font-weight: 600;
  border-radius: 4px;
  transition: background 0.3s ease, transform 0.2s ease;
  text-decoration: none !important;
}
.cm-cta-primary:hover {
  background: #e55a2b;
  transform: translateY(-1px);
}
.cm-cta-secondary {
  display: inline-block;
  padding: 14px 32px;
  border: 1px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.85) !important;
  font-size: 15px;
  font-weight: 500;
  border-radius: 4px;
  transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease;
  text-decoration: none !important;
}
.cm-cta-secondary:hover {
  border-color: #fff;
  color: #fff !important;
  background: rgba(255,255,255,0.06);
}

/* ============================================
   8. FOOTER
   ============================================ */
.cm-footer {
  background: #0f2a42;
  color: rgba(255,255,255,0.7);
  padding: 60px 0 0;
}
.cm-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: var(--cm-container);
  margin: 0 auto;
  padding: 0 20px 48px;
}
.cm-footer-brand {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 14px;
}
/* footer 深底:用亮橙保对比度(深橙 #C2410C 在深底上不达标)。a11y 修复 2026-06-30 */
.cm-footer-brand span { color: #FA6A38; }
.cm-footer-desc {
  font-size: 14px;
  line-height: 1.65;
  margin: 0 0 20px;
}
.cm-footer-social { display: flex; gap: 12px; }
.cm-footer-social a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  transition: border-color 0.2s, color 0.2s;
}
.cm-footer-social a:hover {
  border-color: var(--cm-brand-orange);
  color: var(--cm-brand-orange);
  text-decoration: none;
}

.cm-footer-col h3 {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 18px;
}
.cm-footer-col ul { list-style: none; margin: 0; padding: 0; }
.cm-footer-col li { margin: 0 0 10px; }
.cm-footer-col a {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  transition: color 0.2s;
}
.cm-footer-col a:hover { color: #fff; text-decoration: none; }

/* Footer Products sub-groups */
.cm-footer-subhead {
  color: rgba(255,255,255,0.45);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin: 14px 0 8px;
}
.cm-footer-products h3 + .cm-footer-subhead {
  margin-top: 0;
}
.cm-footer-viewall {
  color: #FA6A38 !important;
  font-size: 12px;
  font-weight: 500;
}
.cm-footer-viewall:hover {
  color: #fff !important;
}

/* Footer second h4 spacing */
.cm-footer-h4-gap {
  margin-top: 24px !important;
}
.cm-footer-contact { list-style: none; margin: 0; padding: 0; }
.cm-footer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
}
.cm-footer-contact li svg {
  flex-shrink: 0;
  color: rgba(255,255,255,0.4);
}
.cm-footer-contact a {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  transition: color 0.2s;
}
.cm-footer-contact a:hover { color: #fff; text-decoration: none; }

/* IM links (WhatsApp / WeChat) */
.cm-footer-im {
  display: flex;
  align-items: center;
  gap: 6px;
}
.cm-footer-im a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: rgba(255,255,255,0.6) !important;
  font-size: 14px;
  transition: color 0.2s;
}
.cm-footer-im a:hover {
  color: #fff !important;
  text-decoration: none;
}
.cm-footer-im-sep {
  color: rgba(255,255,255,0.25);
  font-size: 12px;
}

/* Footer CTA link */
.cm-footer-cta-link {
  margin-top: 16px !important;
}
.cm-footer-cta-link a {
  color: var(--cm-brand-orange) !important;
  font-weight: 500;
  transition: color 0.2s;
}
.cm-footer-cta-link a:hover {
  color: #fff !important;
}

/* Footer Bottom */
.cm-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 20px;
  max-width: var(--cm-container);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}
.cm-footer-legal {
  display: flex;
  align-items: center;
  gap: 0;
}
.cm-footer-legal a {
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  transition: color 0.2s;
}
.cm-footer-legal a:hover { color: rgba(255,255,255,0.8); text-decoration: none; }
.cm-footer-bottom .cm-footer-sep {
  margin: 0 10px;
  color: rgba(255,255,255,0.2);
}
.cm-footer-bottom a { color: rgba(255,255,255,0.5); }
.cm-footer-beian {
  max-width: var(--cm-container);
  margin: 0 auto;
  padding: 0 20px 16px;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}
.cm-footer-beian a { color: rgba(255,255,255,0.5); transition: color 0.2s; }
.cm-footer-beian a:hover { color: rgba(255,255,255,0.8); text-decoration: none; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .cm-trust-topbar-inner {
    flex-direction: column;
    text-align: center;
    padding: 6px 20px;
    font-size: 11px;
    gap: 4px;
  }
  .cm-trust-right { display: none; }

  .cm-header-main { padding: 0 20px; height: 56px; }
  .cm-logo-wrap { margin-right: auto; }
  .cm-logo-text { font-size: 18px; }
  .cm-logo-tagline { display: none; }
  .cm-logo-mark { width: 28px; height: 31px; }
  /* display:contents (not none) so the absolute mobile dropdown — a child of
     .cm-main-nav — is not killed by a display:none parent. */
  .cm-nav { display: contents; }
  .cm-nav-cta { display: none; }
  .cm-menu-toggle { display: block; }
  /* mobile-only quick links (submenus are hidden on mobile) */
  .cm-main-nav.active .cm-mobile-only { display: block; }
  .cm-main-nav.active .cm-mobile-head { margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--cm-border-light); }
  .cm-main-nav.active .cm-mobile-head span { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #94a3b8; font-weight: 600; }
  .cm-main-nav.active .cm-mobile-head { border-bottom: 0 !important; }

  .cm-main-nav.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--cm-border-light);
    padding: 16px 20px;
    gap: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    z-index: 300;
  }
  .cm-main-nav.active > li > a {
    padding: 12px 0;
    line-height: 1.4;
    border-bottom: 1px solid var(--cm-border-light);
  }
  .cm-mega-menu, .cm-dropdown { display: none !important; }

  .cm-hero-slider { min-height: 400px; }
  .cm-hero-slider h1 { font-size: 32px; }
  .cm-hero-search { margin: 2rem auto 1.5rem; }
  .cm-hero-search input { font-size: 2rem; }
  .cm-hero-content { margin-bottom: 70px; }

  .cm-intro-strip-inner { flex-wrap: wrap; gap: 20px; padding: 24px 20px; }
  .cm-intro-text { flex-basis: 100%; text-align: center; }

  .cm-section-title { font-size: 28px; }

  .cm-card-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .cm-blog-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }

  .cm-capability-inner { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .cm-capability-item { border-right: none; padding: 0; }
  .cm-capability-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.08); padding-right: 24px; }

  .cm-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }

  /* CTA Banner responsive */
  .cm-cta-inner { flex-direction: column; text-align: center; gap: 24px; }
  .cm-cta-text h2 { font-size: 24px; }
  .cm-cta-banner { padding: 48px 20px; }
  .cm-cta-actions { justify-content: center; }

  /* Footer bottom responsive */
  .cm-footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .cm-main-nav { display: none; }
  .cm-menu-toggle { display: block; }
  .cm-main-nav.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--cm-border-light);
    padding: 16px 20px;
    gap: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  }
  .cm-main-nav.active a {
    padding: 12px 0;
    border-bottom: 1px solid var(--cm-border-light);
  }
}

@media (max-width: 480px) {
  .cm-hero-slider { min-height: 360px; }
  .cm-hero-slider h1 { font-size: 26px; line-height: 1.2; }
  .cm-hero p { font-size: 15px; }
  .cm-hero-content { margin-bottom: 60px; }
  .cm-hero-cta { font-size: 14px; padding: 12px 28px; }

  .cm-intro-stat strong { font-size: 22px; }
  .cm-intro-text p { font-size: 13px; }

  .cm-section-title { font-size: 24px; }
  .cm-section-subtitle { font-size: 14px; }

  .cm-card-grid { grid-template-columns: 1fr; }
  .cm-blog-grid { grid-template-columns: 1fr; }

  .cm-capability-inner { grid-template-columns: 1fr; gap: 20px; }
  .cm-capability-item { border-right: none !important; padding: 0 !important; }

  .cm-footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .cm-quick-links a { font-size: 12px; padding: 9px 14px; }

  /* CTA Banner mobile */
  .cm-cta-text h2 { font-size: 22px; }
  .cm-cta-text p { font-size: 14px; }
  .cm-cta-actions { flex-direction: column; width: 100%; }
  .cm-cta-primary, .cm-cta-secondary { text-align: center; width: 100%; }

  /* Footer bottom mobile */
  .cm-footer-legal { flex-wrap: wrap; justify-content: center; }
}

/* ============================================
   INNER PAGES — SHARED
   ============================================ */

/* Active nav item */
.cm-main-nav > li.cm-active > a {
  color: var(--cm-brand-blue);
}
.cm-main-nav > li.cm-active > a::after {
  width: calc(100% - 48px);
  background: var(--cm-brand-blue);
}

/* Page Hero (used by Contact, About, etc.) */
.cm-page-hero {
  background: linear-gradient(135deg, #1a3a5c 0%, #0f2a42 100%);
  padding: 60px 40px;
  min-height: 280px;
  position: relative;
  overflow: hidden;
}
.cm-page-hero::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
}
.cm-page-hero-inner {
  max-width: var(--cm-container);
  margin: 0 auto;
}
.cm-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}
.cm-breadcrumb a {
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.cm-breadcrumb a:hover { color: #fff; text-decoration: none; }
.cm-bc-sep { color: rgba(255,255,255,0.25); }
.cm-page-hero h1 {
  font-size: 38px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px;
  line-height: 1.2;
  text-transform: none;
}
.cm-page-hero p {
  font-size: 17px;
  color: rgba(255,255,255,0.65);
  margin: 0;
  max-width: 560px;
  line-height: 1.6;
}
.cm-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}
.cm-hero-btn-primary,
.cm-hero-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none !important;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.cm-hero-btn-primary {
  background: var(--cm-brand-orange, #C2410C);
  color: #fff !important;
  border: 1px solid transparent;
}
.cm-hero-btn-primary:hover {
  background: #e2541c;
  color: #fff !important;
  transform: translateY(-1px);
}
.cm-hero-btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.28);
}
.cm-hero-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff !important;
}
.cm-hero-actions svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.cm-hero-actions .cm-icon-arrow {
  transform: translateX(1px);
  transition: transform 0.18s ease;
}
.cm-hero-btn-primary:hover .cm-icon-arrow {
  transform: translateX(2.5px);
}
.cm-hero-actions .cm-icon-doc {
  transform: translateY(-0.5px);
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.cm-contact-main {
  background: var(--cm-bg-section);
  padding: var(--cm-section-pad) 0;
}
.cm-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}

/* Left: Contact Info */
.cm-contact-intro {
  margin-bottom: 32px;
}
.cm-contact-intro h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--cm-brand-dark);
  margin: 0 0 10px;
}
.cm-contact-intro p {
  font-size: 15px;
  color: var(--cm-text-light);
  line-height: 1.6;
  margin: 0;
}
.cm-contact-channels {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 28px;
}
.cm-contact-channel {
  display: flex;
  align-items: center;
  gap: 16px;
}
.cm-channel-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(26,111,181,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cm-brand-blue);
  flex-shrink: 0;
}
.cm-channel-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cm-channel-text strong {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--cm-text-light);
}
.cm-channel-text a,
.cm-channel-text span {
  font-size: 15px;
  color: var(--cm-brand-dark);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}
.cm-channel-text a:hover { color: var(--cm-brand-blue); }

/* Response time notice */
.cm-contact-notice {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  border-radius: 6px;
  padding: 12px 16px;
  font-size: 13px;
  color: #1D4ED8;
  margin-bottom: 28px;
}
.cm-contact-notice svg { flex-shrink: 0; }

/* Trust strip */
.cm-contact-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  border-top: 1px solid var(--cm-border-light);
  padding-top: 24px;
}
.cm-trust-item {
  text-align: center;
}
.cm-trust-item strong {
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: var(--cm-brand-dark);
  line-height: 1;
  margin-bottom: 4px;
}
.cm-trust-item span {
  font-size: 12px;
  color: var(--cm-text-light);
  line-height: 1.4;
}

/* Right: Form */
.cm-contact-form-wrap {
  background: var(--cm-bg-white);
  border: 1px solid var(--cm-border-light);
  border-radius: 8px;
  padding: 40px;
}
.cm-form-header {
  margin-bottom: 28px;
}
.cm-form-header h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--cm-brand-dark);
  margin: 0 0 8px;
}
.cm-form-header p {
  font-size: 14px;
  color: var(--cm-text-light);
  margin: 0;
}
.cm-contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cm-form-row { display: flex; flex-direction: column; }
.cm-form-row-2 {
  flex-direction: row;
  gap: 16px;
}
.cm-form-row-2 .cm-form-group { flex: 1; }
.cm-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cm-form-group label {
  font-size: 13px;
  font-weight: 500;
  color: var(--cm-text-mid);
}
.cm-required { color: var(--cm-brand-orange); }
.cm-form-group input,
.cm-form-group textarea {
  border: 1px solid var(--cm-border-light);
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 14px;
  font-family: inherit;
  color: var(--cm-text-dark);
  background: #FAFBFC;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  width: 100%;
  box-sizing: border-box;
}
.cm-form-group input:focus,
.cm-form-group textarea:focus {
  border-color: var(--cm-brand-blue);
  box-shadow: 0 0 0 3px rgba(26,111,181,0.08);
  background: #fff;
}
.cm-form-group input::placeholder,
.cm-form-group textarea::placeholder {
  color: #B0BAC8;
}
.cm-form-group textarea { resize: vertical; }
.cm-form-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cm-brand-blue);
  color: #fff !important;
  border: none;
  border-radius: 6px;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  align-self: flex-start;
}
.cm-form-submit:hover {
  background: var(--cm-brand-dark);
  transform: translateY(-1px);
}
.cm-form-note {
  font-size: 12px;
  color: var(--cm-text-light);
  margin: 0;
}
.cm-form-note a {
  color: var(--cm-brand-blue);
  text-decoration: none;
}
.cm-form-note a:hover { text-decoration: underline; }

/* Contact page responsive */
@media (max-width: 768px) {
  .cm-contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .cm-page-hero { padding: 40px 20px; }
  .cm-page-hero h1 { font-size: 28px; }
  .cm-contact-form-wrap { padding: 24px 20px; }
  .cm-form-row-2 { flex-direction: column; gap: 20px; }
}
@media (max-width: 480px) {
  .cm-page-hero h1 { font-size: 24px; }
  .cm-contact-trust { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .cm-trust-item strong { font-size: 18px; }
  .cm-form-submit { width: 100%; justify-content: center; }
}

/* ============================================
   CONTACT FORM 7 — Style Override
   CF7 generates its own HTML structure;
   these rules map it to our design system.
   ============================================ */
.cm-contact-form-wrap .wpcf7 {
  /* Reset CF7 defaults */
}
.cm-contact-form-wrap .wpcf7 form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
/* Each paragraph CF7 wraps around field groups */
.cm-contact-form-wrap .wpcf7 form > p,
.cm-contact-form-wrap .wpcf7 form > div {
  margin: 0;
}
/* CF7 wraps each field in <p> inside the divs too */
.cm-contact-form-wrap .wpcf7 p {
  margin: 0;
}
/* Labels */
.cm-contact-form-wrap .wpcf7 label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--cm-text-mid);
  margin-bottom: 6px;
}
/* All text/email/tel inputs */
.cm-contact-form-wrap .wpcf7 input[type="text"],
.cm-contact-form-wrap .wpcf7 input[type="email"],
.cm-contact-form-wrap .wpcf7 input[type="tel"],
.cm-contact-form-wrap .wpcf7 textarea {
  width: 100%;
  border: 1px solid var(--cm-border-light);
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 14px;
  font-family: var(--cm-font);
  color: var(--cm-text-dark);
  background: #FAFBFC;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  box-sizing: border-box;
}
.cm-contact-form-wrap .wpcf7 input[type="text"]:focus,
.cm-contact-form-wrap .wpcf7 input[type="email"]:focus,
.cm-contact-form-wrap .wpcf7 input[type="tel"]:focus,
.cm-contact-form-wrap .wpcf7 textarea:focus {
  border-color: var(--cm-brand-blue);
  box-shadow: 0 0 0 3px rgba(26,111,181,0.08);
  background: #fff;
}
.cm-contact-form-wrap .wpcf7 input::placeholder,
.cm-contact-form-wrap .wpcf7 textarea::placeholder {
  color: #B0BAC8;
}
.cm-contact-form-wrap .wpcf7 textarea {
  resize: vertical;
  min-height: 130px;
}
/* wpcf7-form-control-wrap — remove default inline-block */
.cm-contact-form-wrap .wpcf7 .wpcf7-form-control-wrap {
  display: block;
}
/* Submit button */
.cm-contact-form-wrap .wpcf7 input[type="submit"] {
  display: inline-flex;
  align-items: center;
  background: var(--cm-brand-blue);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--cm-font);
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  width: auto;
  height: auto;
  text-transform: none;
}
.cm-contact-form-wrap .wpcf7 input[type="submit"]:hover {
  background: var(--cm-brand-dark);
  transform: translateY(-1px);
}
/* Validation messages */
.cm-contact-form-wrap .wpcf7 .wpcf7-not-valid-tip {
  font-size: 12px;
  color: #DC2626;
  margin-top: 4px;
  display: block;
}
.cm-contact-form-wrap .wpcf7 .wpcf7-response-output {
  border-radius: 6px;
  padding: 12px 16px;
  font-size: 14px;
  margin: 0;
}
.cm-contact-form-wrap .wpcf7 .wpcf7-mail-sent-ok {
  background: #F0FDF4;
  border: 1px solid #86EFAC;
  color: #166534;
}
.cm-contact-form-wrap .wpcf7 .wpcf7-mail-sent-ng,
.cm-contact-form-wrap .wpcf7 .wpcf7-validation-errors {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #DC2626;
}
/* Two-column row layout for CF7 */
.cm-contact-form-wrap .wpcf7 .cm-form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 480px) {
  .cm-contact-form-wrap .wpcf7 .cm-form-row-2 {
    grid-template-columns: 1fr;
  }
  .cm-contact-form-wrap .wpcf7 input[type="submit"] {
    width: 100%;
  }
}

/* ============================================
   Search Page — search.php
   ============================================ */
.cm-search-page .cm-search-hero {
  background: linear-gradient(135deg, var(--cm-brand-dark) 0%, #1a4a7a 100%);
  min-height: 180px;
  display: flex;
  align-items: center;
}
.cm-search-main {
  padding: 56px 0 80px;
}
.cm-search-form-wrap {
  max-width: 640px;
  margin: 0 auto 48px;
}
.cm-search-form {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--cm-border-light);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  transition: border-color .2s;
}
.cm-search-form:focus-within {
  border-color: var(--cm-brand-blue);
}
.cm-search-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 14px 18px;
  font-size: 15px;
  font-family: var(--cm-font);
  color: var(--cm-text-dark);
  background: transparent;
}
.cm-search-submit {
  background: var(--cm-brand-blue);
  border: none;
  padding: 12px 18px;
  cursor: pointer;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  flex-shrink: 0;
}
.cm-search-submit:hover { background: #1560a0; }
.cm-search-results {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--cm-border-light);
  border-radius: 10px;
  overflow: hidden;
}
.cm-search-result {
  padding: 22px 28px;
  border-bottom: 1px solid var(--cm-border-light);
  background: #fff;
  transition: background .15s;
}
.cm-search-result:last-child { border-bottom: none; }
.cm-search-result:hover { background: #f8faff; }
.cm-search-result-type {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--cm-brand-blue);
  background: #eef5ff;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}
.cm-search-result-title {
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 6px;
  line-height: 1.35;
}
.cm-search-result-title a {
  color: var(--cm-text-dark);
  text-decoration: none;
}
.cm-search-result-title a:hover { color: var(--cm-brand-blue); }
.cm-search-result-excerpt {
  font-size: 14px;
  color: var(--cm-text-light);
  margin: 0 0 10px;
  line-height: 1.6;
}
.cm-search-result-meta {
  display: flex;
  align-items: center;
  gap: 16px;
}
.cm-search-result-url {
  font-size: 12px;
  color: #9ca3af;
  font-family: 'Roboto Mono', monospace, sans-serif;
}
.cm-search-result-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--cm-brand-blue);
  text-decoration: none;
}
.cm-search-result-link:hover { text-decoration: underline; }
.cm-search-pagination {
  margin-top: 36px;
  text-align: center;
}
.cm-search-pagination .page-numbers {
  display: inline-flex;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
  justify-content: center;
}
.cm-search-pagination .page-numbers li a,
.cm-search-pagination .page-numbers li span {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  color: var(--cm-text-dark);
  border: 1px solid var(--cm-border-light);
  background: #fff;
  transition: all .15s;
}
.cm-search-pagination .page-numbers li a:hover { border-color: var(--cm-brand-blue); color: var(--cm-brand-blue); }
.cm-search-pagination .page-numbers li span.current {
  background: var(--cm-brand-blue);
  color: #fff;
  border-color: var(--cm-brand-blue);
}
.cm-search-empty {
  text-align: center;
  padding: 64px 24px;
}
.cm-search-empty-icon {
  color: #d1d5db;
  margin-bottom: 24px;
}
.cm-search-empty h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--cm-text-dark);
  margin: 0 0 10px;
}
.cm-search-empty > p {
  font-size: 15px;
  color: var(--cm-text-light);
  margin: 0 0 32px;
}
.cm-search-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

/* ============================================
   404 Page — 404.php
   ============================================ */
.cm-404-main {
  padding: 80px 0 100px;
  min-height: 60vh;
  display: flex;
  align-items: center;
}
.cm-404-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.cm-404-number {
  font-size: clamp(100px, 18vw, 160px);
  font-weight: 800;
  line-height: 1;
  color: transparent;
  background: linear-gradient(135deg, var(--cm-brand-dark), var(--cm-brand-blue));
  -webkit-background-clip: text;
  background-clip: text;
  letter-spacing: -4px;
  margin-bottom: 8px;
}
.cm-404-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--cm-text-dark);
  margin: 0 0 12px;
}
.cm-404-text {
  font-size: 16px;
  color: var(--cm-text-light);
  margin: 0 0 40px;
}
.cm-404-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 40px;
  text-align: left;
}
.cm-404-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 20px;
  border: 1.5px solid var(--cm-border-light);
  border-radius: 10px;
  background: #fff;
  text-decoration: none;
  color: var(--cm-text-dark);
  transition: border-color .2s, box-shadow .2s;
}
.cm-404-card svg { color: var(--cm-brand-blue); margin-bottom: 6px; }
.cm-404-card:hover {
  border-color: var(--cm-brand-blue);
  box-shadow: 0 4px 16px rgba(26,111,181,.1);
}
.cm-404-card-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--cm-text-dark);
}
.cm-404-card-sub {
  font-size: 12px;
  color: var(--cm-text-light);
  line-height: 1.45;
}
.cm-404-search {
  margin-bottom: 28px;
}
.cm-404-search > p {
  font-size: 14px;
  color: var(--cm-text-light);
  margin: 0 0 12px;
}
.cm-404-search .cm-search-form {
  max-width: 460px;
  margin: 0 auto;
}
@media (max-width: 520px) {
  .cm-404-nav { grid-template-columns: 1fr; }
  .cm-404-number { font-size: 100px; }
}

/* ============================================
   WeChat Popup — triggered from footer
   ============================================ */
.cm-wechat-trigger {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font: inherit;
  color: inherit;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  font-size: 13px;
  transition: color .15s;
}
.cm-wechat-trigger:hover { color: #07c160; }
.cm-wechat-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.cm-wechat-overlay[hidden] { display: none; }
.cm-wechat-card {
  background: #fff;
  border-radius: 16px;
  padding: 36px 32px 28px;
  max-width: 360px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,.2);
}
.cm-wechat-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: none;
  cursor: pointer;
  color: #9ca3af;
  padding: 4px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color .15s;
}
.cm-wechat-close:hover { color: var(--cm-text-dark); }
.cm-wechat-icon {
  color: #07c160;
  margin-bottom: 16px;
}
.cm-wechat-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--cm-text-dark);
  margin: 0 0 8px;
}
.cm-wechat-card > p {
  font-size: 13px;
  color: var(--cm-text-light);
  margin: 0 0 18px;
  line-height: 1.5;
}
.cm-wechat-id-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f5f5f7;
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 16px;
  justify-content: space-between;
}
.cm-wechat-id {
  font-family: 'Roboto Mono', monospace, sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--cm-text-dark);
  letter-spacing: .02em;
}
.cm-wechat-copy {
  background: #07c160;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--cm-font);
  transition: background .15s;
  white-space: nowrap;
}
.cm-wechat-copy:hover { background: #059b51; }
.cm-wechat-alt {
  font-size: 12px;
  color: var(--cm-text-light);
  margin: 0;
}
.cm-wechat-alt a {
  color: var(--cm-brand-blue);
  text-decoration: none;
}
.cm-wechat-alt a:hover { text-decoration: underline; }

/* ============================================
   Author Bio — LinkedIn link (single.php)
   ============================================ */
.cm-author-bio-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: #0a66c2;
  text-decoration: none;
  margin-bottom: 10px;
  padding: 4px 10px;
  border: 1px solid #c5d9f0;
  border-radius: 5px;
  background: #f0f7ff;
  transition: background .15s, border-color .15s;
}
.cm-author-bio-linkedin:hover {
  background: #dceeff;
  border-color: #0a66c2;
}

/* ── Customer Testimonials band (homepage, before final CTA) ── */
.cm-testimonials { padding: 72px 0; background: #f6f8fb; border-top: 1px solid #eef2f7; }
.cm-testimonials .cm-section-eyebrow,
.cm-testimonials .cm-section-title,
.cm-testimonials .cm-section-subtitle { text-align: center; }
.cm-testimonials .cm-section-subtitle { max-width: 640px; margin-left: auto; margin-right: auto; }
.cm-tm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 38px; }
.cm-tm-card { background: #fff; border: 1px solid #d7dee7; border-radius: 3px; padding: 26px 26px 22px; margin: 0;
  display: flex; flex-direction: column; transition: box-shadow .18s, border-color .18s; }
.cm-tm-card:hover { border-color: #bcd0ea; box-shadow: 0 10px 30px rgba(26,58,92,.08); }
.cm-tm-q { font-family: Georgia, serif; font-size: 46px; line-height: 1; color: #2563eb; opacity: .22; height: 24px; }
.cm-tm-card blockquote { font-size: 15px; line-height: 1.62; color: #1e293b; margin: 6px 0 18px; flex: 1; border: 0; padding: 0; }
.cm-tm-card blockquote strong { color: #2563eb; font-weight: 700; }
.cm-tm-card figcaption { border-top: 1px solid #d7dee7; padding-top: 14px; display: flex; flex-direction: column; gap: 2px; }
.cm-tm-name { font-weight: 700; color: #1a3a5c; font-size: 14.5px; }
.cm-tm-role { color: #64748b; font-size: 13px; }
.cm-tm-conf { align-self: flex-start; font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 10px; letter-spacing: .04em; text-transform: uppercase; color: #4a5568; background: #eef2f7; border-radius: 2px; padding: 2px 7px; margin-top: 6px; }
@media (max-width: 860px) { .cm-tm-grid { grid-template-columns: 1fr; } }

/* ============================================================
   #5a CAPABILITY STAT BAND (dark) — real figures, first-screen authority
   ============================================================ */
.cm-statband { background: linear-gradient(120deg, #1a3a5c, #142e49); padding: 46px 0; }
.cm-statband-inner { max-width: 1200px; margin: 0 auto; padding: 0 32px;
  display: grid; grid-template-columns: repeat(6, 1fr); }
.cm-stat { text-align: center; padding: 6px 14px; border-left: 1px solid rgba(255,255,255,.12); }
.cm-stat:first-child { border-left: 0; }
.cm-stat-num { font-family: 'IBM Plex Mono', ui-monospace, monospace; font-weight: 600;
  font-size: 34px; line-height: 1; color: #fff; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.cm-stat-num .u { font-size: 16px; color: #7fb0ff; margin-left: 2px; }
.cm-stat-lab { margin-top: 10px; font-size: 12.5px; color: #a9c2dd; letter-spacing: .02em; }
.cm-stat-lab b { display: block; color: #fff; font-weight: 600; font-size: 13px; margin-bottom: 1px; }
.cm-statband-note { text-align: center; color: #8fa7c4; font-size: 12.5px; letter-spacing: .03em;
  margin: 26px auto 0; max-width: 1200px; padding: 0 32px; }
.cm-statband-note span { color: #cdddee; }
@media (max-width: 960px) { .cm-statband-inner { grid-template-columns: repeat(3, 1fr); row-gap: 30px; }
  .cm-stat:nth-child(4) { border-left: 0; } }
@media (max-width: 600px) { .cm-statband-inner { grid-template-columns: repeat(2, 1fr); }
  .cm-stat:nth-child(odd) { border-left: 0; } .cm-stat-num { font-size: 30px; } }

/* ============================================================
   #7 PRODUCT FAMILIES — three ways to source
   ============================================================ */
.cm-prodfam { padding: 56px 0; background: #fff; }
.cm-prodfam-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
  max-width: 1200px; margin: 26px auto 0; padding: 0 32px; }
.cm-fam-card { background: #fff; border: 1px solid #d7dee7; border-radius: 3px;
  padding: 28px 26px 22px; display: flex; flex-direction: column;
  transition: box-shadow .18s, border-color .18s, transform .18s; text-decoration: none; }
.cm-fam-card:hover { border-color: #bcd0ea; box-shadow: 0 12px 34px rgba(26,58,92,.09); transform: translateY(-2px); }
.cm-fam-ic { width: 46px; height: 46px; border-radius: 8px; background: #eef4ff; color: #2563eb;
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.cm-fam-ct { font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 11px;
  letter-spacing: .08em; text-transform: uppercase; color: #2563eb; font-weight: 600; }
.cm-fam-card h3 { font-size: 19px; color: #1a3a5c; font-weight: 800; margin: 6px 0 8px; }
.cm-fam-card p { font-size: 13.5px; line-height: 1.6; color: #64748b; margin: 0 0 16px; flex: 1; }
.cm-fam-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.cm-fam-tags span { font-size: 11.5px; color: #475569; background: #f1f5f9; border-radius: 3px; padding: 3px 8px; }
.cm-fam-more { font-weight: 700; font-size: 13.5px; color: #2563eb; display: inline-flex; align-items: center; gap: 5px; }
.cm-fam-card:hover .cm-fam-more { color: #1d4ed8; }
@media (max-width: 880px) { .cm-prodfam-grid { grid-template-columns: 1fr; } }

/* ============================================================
   #5b SHIPPING & COMMERCIAL TERMS — trust band (links to /how-to-order/)
   ============================================================ */
.cm-shipband { background: #fff; border-top: 1px solid #d7dee7; border-bottom: 1px solid #d7dee7; padding: 46px 0; }
.cm-shipband-inner { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.cm-shipband-head { display: flex; justify-content: space-between; align-items: flex-end;
  flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.cm-shipband-head h2 { font-size: 23px; color: #1a3a5c; font-weight: 800; margin: 8px 0 0; }
.cm-shipband-cta { font-weight: 700; font-size: 13.5px; color: #2563eb; white-space: nowrap; text-decoration: none; }
.cm-shipband-cta:hover { color: #1d4ed8; }
.cm-shipband-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: #d7dee7; border: 1px solid #d7dee7; border-radius: 4px; overflow: hidden; }
.cm-ship-cell { background: #fff; padding: 20px 22px; }
.cm-ship-k { font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 10.5px;
  letter-spacing: .07em; text-transform: uppercase; color: #64748b; display: flex; align-items: center; gap: 7px; }
.cm-ship-k svg { color: #2563eb; flex: none; }
.cm-ship-v { font-size: 15px; color: #1e293b; font-weight: 600; margin-top: 8px; line-height: 1.45; }
.cm-ship-v small { display: block; font-weight: 400; color: #64748b; font-size: 12.5px; margin-top: 3px; }
@media (max-width: 880px) { .cm-shipband-grid { grid-template-columns: 1fr; } }

/* ============================================
   Language switcher (header trust bar) — added for ES multilingual
   ============================================ */
.cm-trust-right { display: flex; align-items: center; gap: 16px; }
.cm-lang-switch { position: relative; }
.cm-lang-switch > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; color: rgba(255,255,255,0.78); font-size: 12.5px; font-weight: 600; letter-spacing: 0.2px; }
.cm-lang-switch > summary::-webkit-details-marker { display: none; }
.cm-lang-switch > summary::marker { content: ""; }
.cm-lang-switch > summary:hover { color: #fff; }
.cm-lang-globe { opacity: 0.85; }
.cm-lang-caret { font-size: 10px; opacity: 0.7; transition: transform 0.15s ease; }
.cm-lang-switch[open] .cm-lang-caret { transform: rotate(180deg); }
.cm-lang-menu { position: absolute; right: 0; top: calc(100% + 9px); background: #1a1a2e; border: 1px solid rgba(255,255,255,0.12); border-radius: 8px; padding: 6px; min-width: 152px; list-style: none; margin: 0; z-index: 1200; box-shadow: 0 12px 32px rgba(0,0,0,0.38); }
.cm-lang-menu li { margin: 0; }
.cm-lang-menu a { display: block; padding: 7px 12px; border-radius: 6px; color: rgba(255,255,255,0.82); font-size: 13px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.cm-lang-menu a:hover { background: rgba(255,255,255,0.09); color: #fff; text-decoration: none; }
.cm-lang-menu li.is-current a { color: var(--cm-brand-orange); font-weight: 600; }
@media (max-width: 768px) {
  .cm-trust-right { display: flex !important; justify-content: center; gap: 0; }
  .cm-trust-right a[href^="mailto"] { display: none; }
  .cm-lang-menu { right: auto; left: 50%; transform: translateX(-50%); }
}
