/* ============================================================
   Enterprise CMS — Design System v2
   Direction: Refined, professional, trustworthy
   Tone: Clean precision with subtle warmth
   ============================================================ */

/* --- Tokens --- */
:root {
  --primary: #0f62fe;
  --primary-rgb: 15,98,254;
  --primary-light: #e8f0fe;
  --primary-dark: #0043ce;
  --accent: #ff6b35;
  --text-ink: #161616;
  --text-primary: #2d2d2d;
  --text-secondary: #5e6268;
  --text-muted: #8c9097;
  --text-light: #8c9097;
  --bg-white: #ffffff;
  --bg-subtle: #f7f8fa;
  --bg-warm: #fafbfc;
  --bg-light: #f7f8fa;
  --border-light: #e4e7eb;
  --border-default: #d0d5dd;
  --border-color: #e4e7eb;
  --footer-bg: #1a1a1a;
  --footer-text: #9ca3af;

  --font-sans: "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: "SF Mono", "Fira Code", "Cascadia Code", monospace;

  --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08), 0 1px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.10), 0 2px 8px rgba(0,0,0,0.06);
  --shadow-xl: 0 16px 48px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.06);

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--text-primary);
  background: var(--bg-white);
  line-height: 1.65;
  font-size: 15px;
  letter-spacing: 0.01em;
}
::selection { background: rgba(var(--primary-rgb), 0.15); color: var(--primary-dark); }
a { color: inherit; text-decoration: none; transition: color 0.2s var(--ease-out); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -2px; overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  height: 82px;
}
.header-inner {
  max-width: 1200px; width: 100%; margin: 0 auto; padding: 0 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 36px; height: 100%;
}
@media (min-width: 1440px) { .header-inner { max-width: 1320px; padding: 0 40px; } }
@media (min-width: 1600px) { .header-inner { max-width: 1400px; padding: 0 48px; } }
.logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 20px; font-weight: 700; color: var(--text-ink); flex-shrink: 0;
  letter-spacing: -0.02em;
}
.logo img { height: 42px; width: auto; }
.logo:hover { color: var(--primary); }

.main-nav { display: flex; gap: 2px; align-items: center; }
.nav-link {
  display: inline-flex; align-items: center; height: 82px;
  padding: 0 20px; font-size: 15px; font-weight: 500; color: var(--text-secondary);
  position: relative; transition: color 0.25s var(--ease-out); letter-spacing: 0.02em;
}
.nav-link:hover { color: var(--text-primary); }
.nav-link.active { color: var(--primary); font-weight: 600; }
.nav-link.active::after {
  content: ''; position: absolute; left: 50%; transform: translateX(-50%);
  bottom: 18px; width: 20px; height: 2.5px; background: var(--primary);
  border-radius: 2px;
}

.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.search-box {
  display: flex; align-items: center;
  background: var(--bg-subtle); border: 1px solid var(--border-light);
  border-radius: var(--radius-sm); padding: 3px 3px 3px 13px;
  transition: all 0.25s var(--ease-out);
}
.search-box:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1); }
.search-box input { border: none; background: transparent; outline: none; width: 140px; font-size: 13.5px; color: var(--text-primary); }
.search-box button {
  border: none; background: var(--primary); color: #fff;
  width: 30px; height: 30px; border-radius: 5px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s; flex-shrink: 0;
}
.search-box button:hover { background: var(--primary-dark); }
.menu-toggle { display: none; background: none; border: none; cursor: pointer; color: var(--text-primary); padding: 4px; }
@media (max-width: 900px) {
  .site-header { height: 60px; }
  .main-nav, .search-box { display: none; }
  .menu-toggle { display: flex; align-items: center; justify-content: center; }
  .logo { font-size: 17px; }
  .logo img { height: 32px; }
  .main-nav.open {
    display: flex; flex-direction: column; position: fixed; top: 60px; left: 0; right: 0;
    background: #fff; padding: 16px; border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-lg); gap: 4px; max-height: calc(100vh - 60px); overflow-y: auto;
  }
  .main-nav.open .nav-link { width: 100%; height: 46px; padding: 0 16px; border-radius: var(--radius-sm); }
  .main-nav.open .nav-link.active::after { display: none; }
  .main-nav.open .nav-link.active { background: var(--primary-light); color: var(--primary); }
}

/* ===== Layout ===== */
.site-main { min-height: calc(100vh - 72px - 260px); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
@media (min-width: 1440px) { .container { max-width: 1320px; padding: 0 40px; } }
@media (min-width: 1600px) { .container { max-width: 1400px; padding: 0 48px; } }
@media (max-width: 768px) { .container { padding: 0 16px; } }
.page-container { max-width: 800px; margin: 0 auto; padding: 56px 24px; min-height: 60vh; }

/* ===== Sections ===== */
.section { padding: 88px 0; position: relative; }
@media (min-width: 1440px) { .section { padding: 100px 0; } }
@media (max-width: 768px) { .section { padding: 56px 0; } }
@media (max-width: 480px) { .section { padding: 44px 0; } }
.section-light { background: var(--bg-white); }
.section-gray { background: var(--bg-subtle); }

.section-header { text-align: center; margin-bottom: 52px; }
.section-header h2 {
  font-size: 30px; font-weight: 700; color: var(--text-ink);
  margin-bottom: 10px; letter-spacing: -0.03em; line-height: 1.25;
}
@media (max-width: 768px) { .section-header { margin-bottom: 36px; } .section-header h2 { font-size: 24px; } }
@media (max-width: 480px) { .section-header h2 { font-size: 22px; } }
.section-header p { font-size: 15px; color: var(--text-secondary); line-height: 1.6; max-width: 520px; margin: 0 auto; }
.header-line {
  width: 40px; height: 3px; background: var(--primary);
  border-radius: 3px; margin: 18px auto 0;
}

.section-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 44px; flex-wrap: wrap; gap: 20px; }
.section-head-left { display: flex; flex-direction: column; gap: 6px; }
.section-head-left .header-line { margin: 8px 0 0; text-align: left; }
.section-title { font-size: 28px; font-weight: 700; color: var(--text-ink); margin-bottom: 8px; letter-spacing: -0.03em; line-height: 1.25; }
@media (max-width: 480px) { .section-title { font-size: 22px; } }
.section-subtitle { font-size: 15px; color: var(--text-secondary); line-height: 1.6; }
.section-foot { text-align: center; margin-top: 44px; }

.section-head-between {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 40px; flex-wrap: wrap; gap: 16px;
}
.section-more { text-align: center; margin-top: 48px; }
.section-more a {
  display: inline-flex; align-items: center; gap: 8px;
  color: #666; font-size: 14px; font-weight: 500;
  padding: 10px 32px;
  border: 1px solid #ddd;
  border-radius: 30px;
  transition: all 0.3s var(--ease-out);
  letter-spacing: 0.02em;
}
.section-more a:hover {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
  gap: 12px;
}
.section-more-link {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--primary); font-size: 14px; font-weight: 600;
  transition: all 0.2s var(--ease-out);
}
.section-more-link:hover { color: var(--primary-dark); gap: 8px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 11px 24px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600; cursor: pointer;
  transition: all 0.25s var(--ease-out); border: none;
  text-align: center; font-family: inherit; letter-spacing: 0.01em;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 2px 8px rgba(var(--primary-rgb), 0.25); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(var(--primary-rgb), 0.3); }
.btn-outline { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.page-hero .btn-outline { color: #fff; border-color: rgba(255,255,255,0.7); backdrop-filter: blur(4px); }
.page-hero .btn-outline:hover { background: #fff; color: var(--primary); border-color: #fff; }
.btn-link { background: none; color: var(--primary); padding: 6px 0; font-weight: 600; }
.btn-link:hover { color: var(--primary-dark); }

/* ===== Hero ===== */
.hero { position: relative; overflow: hidden; width: 100%; }
.hero-carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
}
.hero-carousel .hero-slide:first-child { position: relative; }
.hero-slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity .8s ease;
  will-change: opacity;
}
.hero-slide.active { opacity: 1; }
.hero-bg {
  width: 100%;
  height: auto;
  display: block;
}
.hero-gradient {
  width: 100%; height: 400px;
  background: linear-gradient(135deg, #0a1628 0%, #162544 40%, #0f3d6e 70%, #0a1628 100%);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10,22,40,0.45) 0%,
    rgba(10,22,40,0.25) 50%,
    rgba(10,22,40,0.55) 100%
  );
}
.hero-content {
  position: relative; z-index: 2; color: #fff;
  max-width: 720px; margin: 0 auto; padding: 0 28px;
  height: 100%; display: flex; flex-direction: column;
  justify-content: center; text-align: left;
}
.hero-title {
  font-size: clamp(32px, 5.5vw, 58px); font-weight: 800;
  margin-bottom: 20px; line-height: 1.12; letter-spacing: -0.04em;
  text-shadow: 0 2px 20px rgba(0,0,0,0.15);
}
.hero-desc {
  font-size: clamp(16px, 2.2vw, 20px); opacity: 0.88;
  line-height: 1.65; font-weight: 400; max-width: 560px;
}
.hero-scroll {
  position: absolute; bottom: 36px; left: 0; right: 0;
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.4); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
}
.hero-scroll-arrow { font-size: 16px; animation: float 2.5s ease-in-out infinite; }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(8px)} }

.hero-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0,0,0,.35);
  border: none;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .25s ease;
}
.hero-carousel-btn:hover { background: rgba(0,0,0,.6); }
.hero-carousel-btn.prev { left: 16px; }
.hero-carousel-btn.next { right: 16px; }
.hero-carousel-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 8px;
}
.hero-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  cursor: pointer;
  border: none;
  transition: all .3s ease;
}
.hero-carousel-dot.active { width: 24px; border-radius: 4px; background: #fff; }
@media (max-width: 768px) {
  .hero { min-height: 60vh; }
  .hero-title { font-size: 30px; } .hero-desc { font-size: 15px; }
  .hero-carousel-btn { width: 32px; height: 32px; font-size: 14px; }
  .hero-carousel-btn.prev { left: 8px; } .hero-carousel-btn.next { right: 8px; }
}

/* ===== Page Hero (list pages) ===== */
.page-hero {
  background: var(--primary);
  color: #fff; padding: 64px 0 52px; text-align: center;
  position: relative; overflow: hidden;
}
.page-title { font-size: 32px; font-weight: 700; margin-bottom: 10px; letter-spacing: -0.03em; position: relative; }
@media (max-width: 768px) { .page-title { font-size: 24px; } }
@media (max-width: 480px) { .page-title { font-size: 20px; } }
.page-subtitle { font-size: 15px; opacity: 0.88; position: relative; }
.page-desc { font-size: 14px; opacity: 0.78; margin-top: 12px; max-width: 600px; margin-left: auto; margin-right: auto; line-height: 1.7; position: relative; }
.breadcrumb { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; opacity: 0.75; margin-top: 14px; position: relative; }
.breadcrumb a { color: rgba(255,255,255,0.9); transition: opacity 0.2s; }
.breadcrumb a:hover { color: #fff; opacity: 1; }
.breadcrumb-sep { opacity: 0.5; }

/* ===== Filter Bar ===== */
.filter-bar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; margin-bottom: 36px; padding-bottom: 18px; border-bottom: 1px solid var(--border-light); }
@media (max-width: 768px) {
  .filter-bar { flex-direction: column; align-items: stretch; gap: 12px; }
  .filter-sort { width: 100%; }
  .filter-sort select { width: 100%; }
}
.filter-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-tag {
  padding: 7px 17px; border-radius: 20px;
  background: var(--bg-white); color: var(--text-secondary); font-size: 13.5px; font-weight: 500;
  cursor: pointer; transition: all 0.25s var(--ease-out);
  border: 1px solid var(--border-light);
}
.filter-tag:hover { color: var(--primary); border-color: var(--primary); background: var(--primary-light); }
.filter-tag.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.filter-sort select {
  padding: 8px 14px; border: 1px solid var(--border-light); border-radius: var(--radius-sm);
  font-size: 13.5px; background: var(--bg-white); color: var(--text-secondary);
  cursor: pointer; outline: none; font-family: inherit;
}
.filter-sort select:focus { border-color: var(--primary); }

/* ===== Filter Tabs (home page) ===== */
.filter-tabs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 44px; }
.filter-tab {
  padding: 9px 24px; border-radius: 24px;
  border: 1.5px solid var(--border-default); background: var(--bg-white);
  color: var(--text-secondary); font-size: 13.5px; font-weight: 600;
  text-decoration: none; transition: all 0.3s var(--ease-out); cursor: pointer; letter-spacing: 0.01em;
}
.filter-tab:hover { color: var(--primary); border-color: var(--primary); transform: translateY(-1px); }
.filter-tab.active { background: var(--primary); color: #fff; border-color: var(--primary); box-shadow: 0 2px 12px rgba(var(--primary-rgb), 0.25); }

/* ===== Partner Marquee ===== */
.partner-marquee { overflow: hidden; position: relative; }
.partner-track { display: flex; gap: 48px; width: max-content; animation: marquee 35s linear infinite; }
.partner-track:hover { animation-play-state: paused; }
.partner-item {
  flex-shrink: 0; height: 60px; display: flex; align-items: center;
  opacity: 0.5; transition: all 0.35s var(--ease-out);
}
.partner-item img { height: 60px; max-width: 160px; object-fit: contain; }
.partner-item:hover { opacity: 0.95; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ===== Product Grid ===== */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 280px)); gap: 20px; justify-content: start; }
@media (max-width: 1100px) { .product-grid-4 { grid-template-columns: repeat(3, minmax(0, 260px)); } .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .product-grid-4 { grid-template-columns: repeat(2, minmax(0, 240px)); gap: 16px; } .product-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
@media (max-width: 480px) { .product-grid-4 { grid-template-columns: 1fr; } .product-grid { grid-template-columns: 1fr; } }

.product-card {
  display: flex; flex-direction: column; background: var(--bg-white);
  border: 1px solid var(--border-light); border-radius: var(--radius);
  overflow: hidden; transition: all 0.35s var(--ease-out);
  text-decoration: none; color: inherit; height: 100%;
}
.product-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.product-card-img {
  height: 210px; overflow: hidden;
  background: linear-gradient(135deg, var(--bg-subtle) 0%, var(--bg-warm) 100%);
  position: relative;
}
.product-card-img img {
  width: 100%; height: 100%; object-fit: contain;
  padding: 16px;
}
.product-card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.product-card-tag {
  display: inline-block; font-size: 11.5px; font-weight: 600; color: var(--primary);
  background: var(--primary-light); padding: 4px 12px; border-radius: 4px;
  margin-bottom: 12px; align-self: flex-start; letter-spacing: 0.03em; text-transform: uppercase;
}
.product-card-title {
  font-size: 16px; font-weight: 650; color: var(--text-ink);
  margin-bottom: 8px; line-height: 1.4; letter-spacing: -0.01em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: color 0.2s;
}
.product-card:hover .product-card-title { color: var(--primary); }
.product-card-desc {
  font-size: 13.5px; color: var(--text-muted); display: -webkit-box;
  -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; line-height: 1.65; flex: 1;
}
.product-card-price { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border-light); }
.product-card-price-val { font-size: 20px; font-weight: 750; color: var(--accent); letter-spacing: -0.02em; }
.case-card .product-card-img { height: 180px; }

/* ===== Article List ===== */
.article-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 768px) { .article-list { grid-template-columns: 1fr; } }

.article-item {
  display: flex; gap: 20px; padding: 22px;
  background: var(--bg-white); border: 1px solid var(--border-light);
  border-radius: var(--radius); transition: all 0.35s var(--ease-out);
  text-decoration: none; color: inherit;
}
.article-item:hover {
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.article-item-img {
  width: 176px; min-width: 176px; height: 124px; overflow: hidden;
  border-radius: var(--radius-sm); background: var(--bg-subtle);
}
.article-item-img img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.article-item-content { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.article-item-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.article-item-tag {
  font-size: 11px; font-weight: 600; color: var(--primary);
  background: var(--primary-light); padding: 3px 10px; border-radius: 4px;
  letter-spacing: 0.03em; text-transform: uppercase;
}
.article-item-title {
  font-size: 16px; font-weight: 650; color: var(--text-ink);
  margin-bottom: 8px; white-space: nowrap; overflow: hidden;
  text-overflow: ellipsis; line-height: 1.4; letter-spacing: -0.01em;
  transition: color 0.2s;
}
.article-item:hover .article-item-title { color: var(--primary); }
.article-item-summary {
  font-size: 13.5px; color: var(--text-muted); display: -webkit-box;
  -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; line-height: 1.65; flex: 1;
}
.article-item-footer { display: flex; align-items: center; gap: 16px; margin-top: 14px; font-size: 12.5px; color: var(--text-muted); }
@media (max-width: 768px) { .article-item { flex-direction: column; } .article-item-img { width: 100%; height: 188px; } }

/* ===== Certificate Grid ===== */
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 1100px) { .cert-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .cert-grid { grid-template-columns: repeat(2, 1fr); } }

.cert-card {
  background: var(--bg-white); border: 1px solid var(--border-light);
  border-radius: var(--radius); overflow: hidden; transition: all 0.35s var(--ease-out);
}
.cert-card:hover { box-shadow: var(--shadow-md); border-color: transparent; }
.cert-thumb { aspect-ratio: 4/3; background: var(--bg-subtle); overflow: hidden; }
.cert-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.cert-info { padding: 14px; text-align: center; }
.cert-title { font-size: 14px; font-weight: 600; color: var(--text-ink); }
.cert-desc { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

/* ===== Pagination ===== */
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 48px; }
.page-link {
  min-width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-light); border-radius: var(--radius-sm);
  font-size: 13.5px; color: var(--text-secondary); padding: 0 12px;
  transition: all 0.25s var(--ease-out); cursor: pointer; text-decoration: none; font-weight: 500;
}
.page-link:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }
.page-link.active { background: var(--primary); color: #fff; border-color: var(--primary); font-weight: 600; }
.page-link.disabled { opacity: 0.35; pointer-events: none; }
.page-info { font-size: 13.5px; color: var(--text-muted); padding: 8px 12px; }

/* ===== Detail Page ===== */
.detail-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-bottom: 48px; }
@media (min-width: 1440px) { .detail-layout { gap: 60px; } }
@media (max-width: 992px) { .detail-layout { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 768px) { .detail-layout { gap: 24px; } }
.detail-gallery { display: flex; flex-direction: column; gap: 12px; }
.detail-main-img {
  width: 100%; max-height: 480px; object-fit: contain;
  border-radius: var(--radius); background: var(--bg-subtle);
  border: 1px solid var(--border-light); padding: 16px;
}
.detail-thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.detail-thumb {
  width: 72px; height: 72px; object-fit: cover; border-radius: 6px;
  cursor: pointer; border: 2px solid transparent; transition: all 0.2s;
}
.detail-thumb:hover { border-color: var(--primary-light); }
.detail-thumb.active { border-color: var(--primary); }

.detail-info h1, .detail-title {
  font-size: 28px; font-weight: 700; margin-bottom: 12px;
  letter-spacing: -0.03em; line-height: 1.3; color: var(--text-ink);
}
.detail-desc { color: var(--text-secondary); margin-bottom: 18px; line-height: 1.7; font-size: 15px; }
.detail-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 28px; }
.price-label { font-size: 14px; color: var(--text-muted); }
.price-value { font-size: 28px; font-weight: 800; color: var(--accent); letter-spacing: -0.02em; }

.detail-params { margin: 28px 0; }
.detail-params table {
  width: 100%; border-collapse: collapse;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border-light);
}
.detail-params td { padding: 13px 18px; border-bottom: 1px solid var(--border-light); font-size: 14px; }
.detail-params td:first-child { background: var(--bg-subtle); font-weight: 600; color: var(--text-secondary); width: 34%; }
.detail-params tr:last-child td { border-bottom: none; }

.inquiry-form { background: var(--bg-subtle); border-radius: var(--radius); padding: 28px; margin-top: 28px; }
.inquiry-form h3 { font-size: 18px; font-weight: 700; margin-bottom: 18px; color: var(--text-ink); }
.content-title, .section-related .section-title {
  font-size: 22px; font-weight: 700; margin-bottom: 22px;
  padding-bottom: 14px; border-bottom: 2px solid var(--primary);
  color: var(--text-ink); letter-spacing: -0.02em;
}

/* ===== Page with Sidebar ===== */
.page-layout { max-width: 1280px; margin: 0 auto; padding: 48px 28px; display: grid; grid-template-columns: 1fr 320px; gap: 44px; }
.page-main { min-width: 0; }
.page-sidebar { min-width: 0; }
@media (max-width: 1024px) { .page-layout { grid-template-columns: 1fr; } }

/* ===== Sidebar Components ===== */
.sidebar-card { background: var(--bg-white); border: 1px solid var(--border-light); border-radius: var(--radius); overflow: hidden; margin-bottom: 24px; }
.sidebar-card-title { font-size: 16px; font-weight: 700; padding: 18px 20px; border-bottom: 1px solid var(--border-light); color: var(--text-ink); }
.sidebar-list { padding: 8px 0; }
.sidebar-list li a { display: block; padding: 10px 20px; font-size: 14px; color: var(--text-secondary); transition: all 0.2s; }
.sidebar-list li a:hover { color: var(--primary); background: var(--primary-light); }
.sidebar-list li a.active { color: var(--primary); font-weight: 600; background: var(--primary-light); }

/* sidebar-widget (alias for news/case detail) */
.sidebar-widget {
  background: var(--bg-white); border: 1px solid var(--border-light);
  border-radius: var(--radius); padding: 24px; margin-bottom: 24px;
}
.sidebar-widget h3 {
  font-size: 16px; font-weight: 700; color: var(--text-ink);
  margin-bottom: 16px; padding-bottom: 12px;
  border-bottom: 2px solid var(--primary);
}
.widget-list { list-style: none; }
.widget-list li { margin-bottom: 14px; }
.widget-list li:last-child { margin-bottom: 0; }
.widget-list li a {
  display: flex; gap: 12px; align-items: flex-start;
  text-decoration: none; color: inherit; transition: color 0.2s;
}
.widget-list li a:hover { color: var(--primary); }
.widget-list li img {
  width: 72px; height: 48px; object-fit: cover;
  border-radius: 4px; background: var(--bg-subtle);
  flex-shrink: 0;
}
.widget-list li div { min-width: 0; }
.widget-list li h4 {
  font-size: 13.5px; font-weight: 600; color: var(--text-ink);
  line-height: 1.4; margin-bottom: 4px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.widget-list li time { font-size: 12px; color: var(--text-muted); }

/* ===== About Page ===== */
.about-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-wrap-full { grid-template-columns: minmax(0, 720px); justify-content: center; }
@media (max-width: 768px) { .about-wrap { grid-template-columns: 1fr; } }
.about-media { position: relative; height: 380px; border-radius: var(--radius-lg); overflow: hidden; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-media video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.about-text { display: flex; flex-direction: column; gap: 16px; }
.about-desc { font-size: 15px; color: var(--text-secondary); line-height: 1.75; }
.section-stats { background: var(--primary); color: #fff; padding: 52px 0; }
.section-stats .stat-value { color: #fff; font-size: 42px; font-weight: 800; letter-spacing: -0.03em; }
.section-stats .stat-label { color: rgba(255,255,255,0.78); font-size: 14px; margin-top: 4px; }
.stats-grid { display: flex; justify-content: center; gap: 80px; flex-wrap: wrap; }
.stat-item { text-align: center; }
.stats-header { text-align: center; margin-bottom: 48px; }
.stats-header h2 { font-size: 32px; font-weight: 700; color: #fff; letter-spacing: -0.03em; margin-bottom: 8px; }
.stats-header p { font-size: 16px; color: rgba(255,255,255,0.78); }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 768px) { .values-grid { grid-template-columns: 1fr; } }
.values-header { text-align: center; margin-bottom: 48px; }
.value-card { text-align: left; padding: 32px; border: 1px solid var(--border-light); border-radius: var(--radius); transition: all 0.3s var(--ease-out); background: var(--bg-white); }
.value-card:hover { box-shadow: var(--shadow-md); border-color: var(--primary); }
.value-icon { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 22px; margin-bottom: 18px; filter: drop-shadow(0 2px 4px rgba(15,98,254,0.25)); }
.value-title { font-size: 17px; font-weight: 700; color: var(--text-ink); margin-bottom: 8px; }
.value-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.65; }
.contact-wrap { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; }
@media (min-width: 1440px) { .contact-wrap { gap: 60px; } }
@media (max-width: 992px) { .contact-wrap { gap: 36px; } }
@media (max-width: 768px) { .contact-wrap { grid-template-columns: 1fr; gap: 28px; } }
.contact-form .form-group { margin-bottom: 16px; }
.form-control { width: 100%; padding: 12px 16px; border: 1.5px solid var(--border-default); border-radius: var(--radius-sm); font-size: 14px; font-family: inherit; outline: none; transition: border-color 0.2s; background: var(--bg-white); color: var(--text-primary); }
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1); }
.contact-info-list { list-style: none; }
.contact-info-list li { padding: 12px 0; font-size: 15px; color: var(--text-secondary); border-bottom: 1px solid var(--border-light); display: flex; gap: 10px; }
.contact-label { font-weight: 600; color: var(--text-ink); min-width: 48px; }

/* ===== CTA Section ===== */
.section-cta {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #2563eb 100%);
  color: #fff; padding: 72px 0; position: relative; overflow: hidden;
}
.cta-wrap { text-align: center; position: relative; }
.cta-title { font-size: 32px; font-weight: 800; margin-bottom: 12px; letter-spacing: -0.03em; }
.cta-desc { font-size: 16px; opacity: 0.88; margin-bottom: 36px; max-width: 540px; margin-left: auto; margin-right: auto; line-height: 1.65; }
.cta-cols { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; }
.cta-col { text-align: center; }
.cta-icon { font-size: 28px; margin-bottom: 10px; }
.cta-label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.7; margin-bottom: 4px; }
.cta-val { font-size: 15px; font-weight: 600; }

/* ===== Footer ===== */
.site-footer { background: #f5f5f5; color: #9b9b9b; padding: 30px 0 20px; }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 28px; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; }
.footer-inner-2col { grid-template-columns: 2fr 1fr; }
.footer-brand p { font-size: 13px; line-height: 1.7; margin-top: 12px; color: #9b9b9b; max-width: 320px; }
.footer-col h4 { font-size: 14px; font-weight: 600; color: #666; margin-bottom: 16px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 13px; color: #9b9b9b; transition: color 0.2s; }
.footer-links a:hover { color: var(--primary); }
.footer-bottom { max-width: 1200px; margin: 0 auto; padding: 18px 28px 0; border-top: 1px solid #e8e8e8; display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: #9b9b9b; }
.footer-bottom a { color: #9b9b9b; margin: 0 3px; }
.footer-bottom a:hover { color: var(--primary); }
@media (max-width: 768px) { .footer-inner, .footer-inner-2col { grid-template-columns: 1fr; gap: 24px; } .footer-bottom { flex-direction: column; gap: 8px; text-align: center; } }

/* ===== Empty State ===== */
.empty-state {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 72px 24px;
  background: var(--bg-subtle); border-radius: var(--radius-xl);
}
.empty-state::before {
  content: ''; width: 28px; height: 28px; padding: 14px;
  margin-bottom: 20px; flex-shrink: 0;
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 24 24' fill='none' stroke='%238c9097' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3'/%3E%3Cline x1='12' y1='17' x2='12.01' y2='17'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}
.empty-state p {
  font-size: 15px; color: var(--text-muted);
  margin-bottom: 0; font-weight: 500;
}

/* ===== SEO Content Block ===== */
.seo-content { background: var(--bg-subtle); border-radius: var(--radius); padding: 36px 40px; margin-top: 48px; }
.seo-content h3 { font-size: 18px; font-weight: 700; color: var(--text-ink); margin-bottom: 12px; }
.seo-content p { font-size: 14px; color: var(--text-secondary); line-height: 1.75; margin-bottom: 10px; }
.seo-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.seo-tag { padding: 5px 14px; background: var(--bg-white); border: 1px solid var(--border-light); border-radius: 20px; font-size: 13px; color: var(--text-secondary); }

/* ===== FAQ ===== */
.faq-search-wrap { margin-bottom: 32px; display: flex; justify-content: center; }
.faq-search-form {
  display: flex; align-items: center; gap: 10px;
  max-width: 560px; width: 100%; padding: 12px 20px;
  background: var(--bg-light); border: 1px solid var(--border-color);
  border-radius: 12px; transition: border-color 0.25s;
}
.faq-search-form:focus-within { border-color: var(--primary); }
.faq-search-icon { color: var(--text-light); font-size: 16px; flex-shrink: 0; }
.faq-search-form input {
  flex: 1; border: none; background: none; outline: none;
  font-size: 15px; font-family: inherit; color: var(--text-primary);
}
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1px solid var(--border-color); border-radius: 12px;
  overflow: hidden; background: var(--bg-white);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.faq-item.open { border-color: var(--primary); box-shadow: 0 2px 12px rgba(22,119,255,0.08); }
.faq-question {
  display: flex; align-items: center; gap: 12px;
  width: 100%; padding: 16px 20px;
  border: none; background: none; cursor: pointer;
  text-align: left; font-family: inherit;
}
.faq-question:hover { background: var(--bg-light); }
.faq-item.open .faq-question { background: var(--bg-light); }
.faq-num {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 28px; height: 28px; border-radius: 8px;
  background: var(--bg-light); color: var(--text-secondary);
  font-size: 13px; font-weight: 600; flex-shrink: 0;
  transition: background 0.3s, color 0.3s;
}
.faq-item.open .faq-num { background: var(--primary); color: #fff; }
.faq-q-text {
  flex: 1; font-size: 16px; font-weight: 600;
  color: var(--text-primary); line-height: 1.5;
  transition: color 0.3s;
}
.faq-item.open .faq-q-text { color: var(--primary); }
.faq-arrow {
  color: var(--text-light); flex-shrink: 0;
  transition: transform 0.3s, stroke 0.3s;
}
.faq-item.open .faq-arrow { transform: rotate(180deg); stroke: var(--primary); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-item.open .faq-answer { max-height: 2000px; }
.faq-answer-inner { padding: 0 20px 16px 60px; font-size: 15px; color: var(--text-secondary); line-height: 1.8; }
.faq-answer-footer { padding: 4px 20px 16px 60px; display: flex; justify-content: flex-end; }
.faq-detail-link { font-size: 13px; color: var(--primary); text-decoration: none; }
.faq-detail-link:hover { text-decoration: underline; }
.faq-cta-box {
  margin-top: 48px; padding: 32px 24px;
  background: var(--bg-light); border-radius: 16px; text-align: center;
}
.faq-cta-box h3 { font-size: 18px; font-weight: 600; color: var(--text-primary); margin-bottom: 8px; }
.faq-cta-box p { font-size: 14px; color: var(--text-secondary); margin-bottom: 20px; }

/* ===== Related Content ===== */
.section-related { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--border-light); }
.related-list { display: flex; flex-direction: column; gap: 16px; }
.related-item a { display: flex; gap: 16px; padding: 16px; background: var(--bg-white); border: 1px solid var(--border-light); border-radius: var(--radius-sm); transition: all 0.25s; text-decoration: none; color: inherit; }
.related-item a:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.related-item img { width: 100px; height: 66px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.related-content { flex: 1; min-width: 0; }
.related-title { font-size: 14.5px; font-weight: 600; color: var(--text-ink); margin-bottom: 4px; }
.related-summary { font-size: 13px; color: var(--text-muted); display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.related-date { font-size: 12px; color: var(--text-muted); margin-top: 6px; }

/* ===== Topic Nav Card (sidebar) ===== */
.topic-nav-card { background: var(--bg-white); border: 1px solid var(--border-light); border-radius: var(--radius); padding: 20px; margin-bottom: 24px; }
.topic-nav-card h4 { font-size: 14px; font-weight: 700; margin-bottom: 12px; color: var(--text-ink); }
.topic-nav-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 12px; }
.topic-nav-card .topic-link { font-size: 13px; color: var(--primary); font-weight: 600; }

/* ===== Animations for page load ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== Case Grid (3-col) ===== */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 992px) { .case-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .case-grid { grid-template-columns: 1fr; } }

.case-card {
  display: flex; flex-direction: column;
  background: var(--bg-white); border: 1px solid var(--border-light);
  border-radius: var(--radius); overflow: hidden;
  transition: all 0.35s var(--ease-out);
  text-decoration: none; color: inherit; height: 100%;
}
.case-card:hover { box-shadow: var(--shadow-md); border-color: transparent; }
.case-card-img {
  height: 200px; background: var(--bg-subtle); overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.case-card-img img { width: 100%; height: 100%; object-fit: contain; padding: 16px; }
.case-placeholder { font-size: 48px; color: var(--text-muted); }
.case-card-body { padding: 20px 24px; flex: 1; display: flex; flex-direction: column; }
.case-card-title { font-size: 17px; font-weight: 600; color: var(--text-ink); margin-bottom: 8px; line-height: 1.4; }
.case-card-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ===== Cert Grid 4-col ===== */
.cert-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 1100px) { .cert-grid-4 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .cert-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .cert-grid-4 { grid-template-columns: 1fr; } }
.cert-placeholder { font-size: 48px; color: var(--text-muted); display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }

/* ===== Article placeholder & read-more ===== */
.article-placeholder {
  width: 100%; height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  background: var(--primary-light); color: var(--primary); font-size: 32px; font-weight: 700;
}
.article-read-more { color: var(--primary); font-size: 13px; font-weight: 500; }
.article-views { display: inline-flex; align-items: center; gap: 4px; }

/* ===== Section Label / Title Line ===== */
.section-label { font-size: 13px; font-weight: 600; color: var(--primary); letter-spacing: 2px; text-transform: uppercase; }
.title-line { width: 48px; height: 3px; background: var(--primary); border-radius: 2px; }

/* ===== About Actions ===== */
.about-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }

/* ===== Contact Cards (about page) ===== */
.contact-cards { display: flex; flex-direction: column; gap: 20px; }
.contact-card {
  display: flex; align-items: center; gap: 16px;
  background: var(--bg-white); padding: 24px;
  border-radius: var(--radius); border: 1px solid var(--border-light);
  transition: all 0.25s;
}
.contact-card:hover { box-shadow: var(--shadow-sm); border-color: var(--primary); }
.contact-card-icon {
  width: 48px; height: 48px; min-width: 48px; border-radius: 12px;
  background: var(--primary-light); display: flex; align-items: center;
  justify-content: center; font-size: 20px; color: var(--primary);
}
.contact-card strong { font-size: 14px; color: var(--text-ink); display: block; margin-bottom: 4px; }
.contact-card p { font-size: 14px; color: var(--text-secondary); margin: 0; line-height: 1.5; }

/* ===== Form Row (side-by-side fields) ===== */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 576px) { .form-row { grid-template-columns: 1fr; } }

/* ===== Back Link ===== */
.back-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; color: var(--text-secondary);
  text-decoration: none; margin-bottom: 24px;
  transition: color 0.2s; font-weight: 500;
}
.back-link:hover { color: var(--primary); }

/* ===== Article Detail ===== */
.article-detail { margin-bottom: 40px; }
.article-title {
  font-size: 30px; font-weight: 800; line-height: 1.3;
  letter-spacing: -0.03em; color: var(--text-ink);
  margin-bottom: 16px;
}
.article-meta {
  display: flex; align-items: center; gap: 16px;
  padding-bottom: 16px; margin-bottom: 24px;
  border-bottom: 1px solid var(--border-light);
  font-size: 13.5px; color: var(--text-muted);
}
.meta-cat {
  display: inline-block; padding: 3px 12px; background: var(--primary-light);
  color: var(--primary); border-radius: 4px; font-size: 12px; font-weight: 600;
}
.article-cover {
  margin-bottom: 32px; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--bg-subtle);
}
.article-cover img { width: 100%; height: auto; }

.rich-content {
  font-size: 15.5px; line-height: 1.85; color: var(--text-primary);
}
.rich-content p { margin-bottom: 18px; }
.rich-content h2, .rich-content h3, .rich-content h4 {
  margin-top: 32px; margin-bottom: 12px; color: var(--text-ink);
}
.rich-content img { max-width: 100%; border-radius: var(--radius-sm); margin: 20px 0; }
.rich-content ul, .rich-content ol { padding-left: 24px; margin-bottom: 16px; }
.rich-content li { margin-bottom: 8px; }

/* ===== Comment Section ===== */
.comment-section { margin-top: 48px; padding-top: 36px; border-top: 2px solid var(--border-light); }
.comment-list { list-style: none; margin-bottom: 32px; }
.comment-item {
  padding: 18px 0; border-bottom: 1px solid var(--border-light);
}
.comment-item:last-child { border-bottom: none; }
.comment-author {
  font-size: 15px; font-weight: 600; color: var(--text-ink);
  margin-bottom: 6px;
}
.comment-content {
  font-size: 14px; color: var(--text-secondary); line-height: 1.65;
}
.comment-date { font-size: 12px; color: var(--text-muted); margin-top: 6px; display: block; }
.empty-comment { text-align: center; padding: 32px; color: var(--text-muted); font-size: 14px; background: var(--bg-subtle); border-radius: var(--radius-sm); }
.comment-form { margin-top: 28px; }
.comment-form h3 { font-size: 17px; font-weight: 700; margin-bottom: 18px; color: var(--text-ink); }

/* ===== Recruit Page ===== */
.recruit-banner {
  margin-bottom: 40px; border-radius: var(--radius-lg); overflow: hidden;
}
.recruit-banner img { width: 100%; height: auto; display: block; }
.recruit-form-wrap {
  max-width: 960px; margin: 0 auto;
  background: var(--bg-white); border: 1px solid var(--border-light);
  border-radius: var(--radius-lg); padding: 48px 56px;
}
@media (max-width: 768px) { .recruit-form-wrap { padding: 32px 20px; } }
.recruit-form-wrap .section-title { text-align: center; margin-bottom: 8px; }
.recruit-desc { text-align: center; color: var(--text-secondary); margin-bottom: 32px; font-size: 14px; }
.recruit-form .form-group { margin-bottom: 20px; }
.recruit-form label {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--text-ink); margin-bottom: 6px;
}

/* ===== Certificate Card (cert-grid-4) ===== */
.cert-card {
  background: var(--bg-white); border: 1px solid var(--border-light);
  border-radius: var(--radius); overflow: hidden;
  transition: box-shadow 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
  text-align: center;
}
.cert-card:hover {
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
  border-color: transparent;
}
.cert-thumb {
  width: 100%;
  padding-bottom: 75%;
  background: var(--bg-subtle);
  position: relative;
  overflow: hidden;
}
.cert-thumb img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 20px;
  background: var(--bg-white);
}
.cert-placeholder {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 56px; color: #ccc;
  background: #fafafa;
}
.cert-info { padding: 16px 14px 20px; }
.cert-title {
  font-size: 15px; font-weight: 600; color: #333;
  margin: 0 0 6px; line-height: 1.4;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cert-desc {
  font-size: 12px; color: #999; line-height: 1.6;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== Partner List (about page) ===== */
.partner-list {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  max-width: 900px; margin: 0 auto;
}
@media (max-width: 768px) { .partner-list { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .partner-list { grid-template-columns: repeat(2, 1fr); } }
.partner-item {
  background: var(--bg-white); border: 1px solid var(--border-light);
  border-radius: var(--radius); padding: 20px;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s var(--ease-out);
}
.partner-item:hover { box-shadow: var(--shadow-sm); border-color: var(--primary); }
.partner-item img {
  max-width: 100%; max-height: 48px;
  object-fit: contain; opacity: 0.55;
  transition: opacity 0.3s;
}
.partner-item:hover img { opacity: 0.85; }

/* ============================================================
   Style Enhancement v2 — Polished Details
   ============================================================ */

/* --- Enhanced Card Shadows & Hover --- */
.product-card {
  border: none;
  box-shadow: var(--shadow-sm);
}
.product-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.10), 0 4px 12px rgba(0,0,0,0.04);
}
.product-card { position: relative; }

.article-item {
  border: none;
  box-shadow: var(--shadow-xs);
}
.article-item:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.03);
}

.case-card {
  border: none;
  box-shadow: var(--shadow-sm);
}
.case-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.10), 0 4px 12px rgba(0,0,0,0.04);
}

.cert-card {
  border: none;
  box-shadow: var(--shadow-sm);
}
.cert-card:hover {
  box-shadow: 0 10px 36px rgba(0,0,0,0.09), 0 3px 10px rgba(0,0,0,0.03);
}

/* --- Detail Gallery Enhancement --- */
.detail-gallery {
  position: relative;
}
.detail-main-img {
  width: 100%; height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform 0.5s var(--ease-out);
  object-fit: contain;
  background: var(--bg-subtle);
  min-height: 320px;
}
.detail-thumbs {
  display: flex; gap: 10px; margin-top: 14px;
  overflow-x: auto; padding-bottom: 4px;
  scrollbar-width: thin; scrollbar-color: var(--border-light) transparent;
}
.detail-thumbs::-webkit-scrollbar { height: 4px; }
.detail-thumbs::-webkit-scrollbar-track { background: transparent; }
.detail-thumbs::-webkit-scrollbar-thumb { background: var(--border-light); border-radius: 2px; }
.detail-thumb {
  width: 72px; height: 72px; min-width: 72px;
  border-radius: var(--radius-sm); overflow: hidden;
  cursor: pointer; border: 2px solid transparent;
  transition: all 0.25s var(--ease-out);
  object-fit: contain; padding: 6px;
  background: var(--bg-white);
  box-shadow: var(--shadow-xs);
}
.detail-thumb:hover { border-color: var(--primary-light); }
.detail-thumb.active {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(var(--primary-rgb), 0.15);
}

/* --- Detail Info Enhancement --- */
.detail-info { padding-left: 36px; }
@media (max-width: 768px) { .detail-info { padding-left: 0; padding-top: 28px; } }
.detail-title {
  font-size: 26px; font-weight: 800;
  letter-spacing: -0.03em; line-height: 1.3;
  color: var(--text-ink); margin-bottom: 14px;
}
.detail-desc {
  font-size: 15px; color: var(--text-secondary);
  line-height: 1.7; margin-bottom: 20px;
}
.detail-price {
  display: inline-flex; align-items: baseline; gap: 8px;
  padding: 14px 22px; background: linear-gradient(135deg, #fff5f0 0%, #fff 100%);
  border-radius: var(--radius); border: 1px solid rgba(255,107,53,0.15);
  margin-bottom: 20px;
}
.price-label { font-size: 13px; color: var(--text-muted); font-weight: 500; }
.price-value { font-size: 26px; font-weight: 800; color: var(--accent); }

.detail-params {
  margin-bottom: 24px;
}
.detail-params table {
  width: 100%; border-collapse: collapse;
}
.detail-params td {
  padding: 10px 14px; border-bottom: 1px solid var(--border-light);
  font-size: 14px;
}
.detail-params td:first-child {
  color: var(--text-muted); font-size: 13px;
  width: 120px; white-space: nowrap;
  font-weight: 500;
}
.detail-params tr:last-child td { border-bottom: none; }

/* --- Inquiry Form Enhancement --- */
.inquiry-form {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  margin-top: 4px;
}
.inquiry-form h3 {
  font-size: 17px; font-weight: 700; color: var(--text-ink);
  margin-bottom: 18px; text-align: left;
}
.inquiry-form .form-group { margin-bottom: 14px; }
.inquiry-form .form-control {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--border-default);
  border-radius: var(--radius-sm);
  font-size: 14px; font-family: inherit;
  transition: all 0.25s var(--ease-out);
  background: var(--bg-white);
  color: var(--text-primary);
}
.inquiry-form .form-control:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
}
.inquiry-form .form-control::placeholder { color: var(--text-muted); }
.inquiry-form textarea.form-control { resize: vertical; min-height: 88px; }
.inquiry-form .btn {
  width: 100%; padding: 13px; font-size: 15px;
  margin-top: 4px;
}

/* --- Footer Enhancement --- */
.site-footer {
  background: #f5f5f5;
  color: #9b9b9b; padding: 36px 0 0;
  position: relative;
}
.site-footer::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,0,0,0.06), transparent);
}
.footer-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 28px;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
}
@media (min-width: 1440px) { .footer-inner { max-width: 1320px; padding: 0 40px; } }
@media (min-width: 1600px) { .footer-inner { max-width: 1400px; padding: 0 48px; } }
.footer-inner-2col { grid-template-columns: 1.4fr 1fr; }
.footer-about p {
  font-size: 13px; line-height: 1.75; color: #9b9b9b;
  margin-top: 14px; max-width: 320px;
}
.footer-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 18px; font-weight: 700; color: #333;
}
.footer-logo img { height: 36px; }
.footer-col h4 {
  font-size: 14px; font-weight: 600; color: #666;
  margin-bottom: 16px; letter-spacing: 0.02em;
  position: relative; padding-bottom: 8px;
}
.footer-col h4::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 24px; height: 2px; background: var(--primary);
  border-radius: 1px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 13px; color: #9b9b9b; transition: all 0.2s;
  display: inline-flex; align-items: center; gap: 4px;
}
.footer-col ul li a:hover { color: var(--primary); transform: translateX(3px); }
.contact-list li { font-size: 13px; color: #9b9b9b; line-height: 1.7; }
.contact-label { color: #666; font-weight: 500; }
.footer-bottom {
  max-width: 1200px; margin: 0 auto; padding: 16px 28px;
  margin-top: 28px;
  border-top: 1px solid #e8e8e8;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 8px;
  font-size: 12.5px; color: #666;
}
@media (min-width: 1440px) { .footer-bottom { max-width: 1320px; padding: 20px 40px; } }
@media (min-width: 1600px) { .footer-bottom { max-width: 1400px; padding: 20px 48px; } }
.footer-bottom a { color: #9b9b9b; transition: color 0.2s; margin: 0 3px; }
.footer-bottom a:hover { color: var(--primary); }
.geo-credit { width: 100%; text-align: center; font-size: 12px; color: #9b9b9b; padding-top: 6px; border-top: 1px dashed #e8e8e8; margin-top: 4px; }
.geo-credit a { color: #9b9b9b; font-weight: 500; }
.geo-credit a:hover { color: var(--primary); }
@media (max-width: 768px) {
  .footer-inner, .footer-inner-2col { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* --- Back to Top Button --- */
.back-top {
  position: fixed; bottom: 32px; right: 32px; z-index: 99;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--primary); color: #fff;
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(var(--primary-rgb), 0.35);
  opacity: 0; visibility: hidden;
  transform: translateY(12px);
  transition: all 0.35s var(--ease-out);
}
.back-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(var(--primary-rgb), 0.45);
}
@media (max-width: 768px) {
  .back-top { bottom: 70px; right: 16px; width: 40px; height: 40px; }
}

/* --- Page Hero Padding Refinement --- */
.page-hero {
  padding: 80px 0 64px;
}
@media (max-width: 768px) { .page-hero { padding: 40px 0 32px; } }
@media (max-width: 480px) { .page-hero { padding: 32px 0 24px; } }

/* --- Section Related (detail pages) --- */
.section-related {
  padding: 44px 0; margin-top: 8px;
}
.content-title {
  font-size: 22px; font-weight: 700; color: var(--text-ink);
  margin-bottom: 28px; padding-bottom: 14px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
  letter-spacing: -0.02em;
}

/* --- CTA Section --- */
.section-cta {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, #2563eb 100%);
  color: #fff; padding: 72px 0; text-align: center;
  position: relative; overflow: hidden;
}
.section-cta::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  pointer-events: none;
}
.cta-wrap { position: relative; z-index: 1; }
.cta-title {
  font-size: 32px; font-weight: 800; margin-bottom: 12px;
  letter-spacing: -0.03em;
}
.cta-desc { font-size: 16px; opacity: 0.85; margin-bottom: 40px; max-width: 480px; margin-left: auto; margin-right: auto; line-height: 1.65; }
.cta-cols { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; }
.cta-col {
  text-align: center; min-width: 160px;
}
.cta-icon {
  font-size: 28px; margin-bottom: 10px;
  display: block;
}
.cta-label { font-size: 12px; opacity: 0.7; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.cta-val { font-size: 16px; font-weight: 600; }

/* --- About Page Enhancements --- */
.about-wrap {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}
@media (min-width: 1440px) { .about-wrap { gap: 72px; } }
@media (max-width: 992px) { .about-wrap { gap: 40px; } }
@media (max-width: 768px) { .about-wrap { grid-template-columns: 1fr; gap: 28px; } }
.about-media {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-media img, .about-media video { width: 100%; display: block; }
.about-desc {
  font-size: 15px; color: var(--text-secondary);
  line-height: 1.8; margin-bottom: 28px;
}
.about-stats {
  display: flex; gap: 32px; margin-bottom: 28px;
  flex-wrap: wrap;
}
.about-stat { text-align: center; }
.about-stat-val {
  font-size: 32px; font-weight: 800; color: var(--primary);
  letter-spacing: -0.03em; line-height: 1.2;
}
.about-stat-label {
  font-size: 13px; color: var(--text-muted); margin-top: 4px;
}

/* --- Stats Section (about page) --- */
.section-stats { padding: 64px 0; background: var(--bg-subtle); }
.stats-header { text-align: center; margin-bottom: 44px; }
.stats-header h2 { font-size: 28px; font-weight: 700; color: var(--text-ink); margin-bottom: 8px; letter-spacing: -0.03em; }
.stats-header p { font-size: 14px; color: var(--text-secondary); }
@media (max-width: 480px) { .stats-header h2 { font-size: 22px; } }
.stats-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  max-width: 700px; margin: 0 auto;
}
@media (max-width: 768px) { .stats-grid { grid-template-columns: 1fr; gap: 16px; max-width: 400px; } }
.stat-item {
  text-align: center; padding: 28px 16px;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s var(--ease-out);
}
.stat-item:hover { box-shadow: var(--shadow-md); }
.stat-value {
  font-size: 36px; font-weight: 800; color: var(--primary);
  letter-spacing: -0.03em; line-height: 1.2; display: block;
}
.stat-label { font-size: 13px; color: var(--text-muted); margin-top: 6px; }

/* --- Values Section (about page) --- */
.section-values { padding: 64px 0; }
.values-header { text-align: center; margin-bottom: 44px; }
.values-header h2 { font-size: 28px; font-weight: 700; color: var(--text-ink); margin-bottom: 8px; letter-spacing: -0.03em; }
.values-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
@media (max-width: 992px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .values-grid { grid-template-columns: 1fr; } }
.value-card {
  text-align: center; padding: 36px 20px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  transition: all 0.35s var(--ease-out);
}
.value-card:hover {
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.value-icon {
  width: 56px; height: 56px; margin: 0 auto 18px;
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  filter: drop-shadow(0 2px 4px rgba(15,98,254,0.25));
}
.value-icon svg { display: block; }
.value-title { font-size: 17px; font-weight: 700; color: var(--text-ink); margin-bottom: 8px; }
.value-desc { font-size: 13.5px; color: var(--text-secondary); line-height: 1.65; }

/* --- Contact Form (about page) --- */
.contact-section { padding: 64px 0; background: var(--bg-subtle); }
.contact-layout {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start;
}
@media (max-width: 768px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-section h2 { font-size: 24px; font-weight: 700; margin-bottom: 8px; }
.contact-cards { margin-top: 8px; }

/* --- Form Controls Global --- */
.form-group { margin-bottom: 16px; }
.form-control {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--border-default);
  border-radius: var(--radius-sm);
  font-size: 14px; font-family: inherit;
  transition: all 0.25s var(--ease-out);
  background: var(--bg-white); color: var(--text-primary);
}
.form-control:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
}
.form-control::placeholder { color: var(--text-muted); }
textarea.form-control { resize: vertical; min-height: 100px; }

/* --- Pagination Enhancement --- */
.pagination {
  display: flex; justify-content: center; gap: 6px;
  margin-top: 48px; align-items: center; flex-wrap: wrap;
}
.page-link {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 38px; height: 38px; padding: 0 12px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 500; color: var(--text-secondary);
  background: var(--bg-white);
  transition: all 0.25s var(--ease-out);
  text-decoration: none;
}
@media (max-width: 480px) {
  .page-link { min-width: 34px; height: 34px; padding: 0 8px; font-size: 13px; }
}
.page-link:hover {
  border-color: var(--primary); color: var(--primary);
  background: var(--primary-light);
}
.page-link.active {
  background: var(--primary); color: #fff;
  border-color: var(--primary);
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(var(--primary-rgb), 0.25);
}
.page-link.disabled {
  opacity: 0.4; pointer-events: none;
}

/* --- FAQ Enhancements --- */
.faq-search {
  max-width: 520px; margin: 0 auto 40px;
}
.faq-search-box {
  display: flex; align-items: center;
  background: var(--bg-white); border: 1.5px solid var(--border-default);
  border-radius: 28px; padding: 4px 4px 4px 20px;
  transition: all 0.3s var(--ease-out);
  box-shadow: var(--shadow-xs);
}
.faq-search-box:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1), var(--shadow-sm);
}
.faq-search-box svg { color: var(--text-muted); flex-shrink: 0; }
.faq-search-box input {
  border: none; background: transparent; outline: none;
  flex: 1; padding: 10px 12px; font-size: 14.5px;
  color: var(--text-primary);
}
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
  transition: all 0.3s var(--ease-out);
  box-shadow: var(--shadow-xs);
}
.faq-item:hover { box-shadow: var(--shadow-sm); }
.faq-question {
  display: flex; align-items: center; gap: 16px;
  padding: 20px 24px; cursor: pointer;
  user-select: none; transition: background 0.2s;
}
.faq-question:hover { background: var(--bg-subtle); }
.faq-num {
  width: 32px; height: 32px; min-width: 32px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.faq-q-text { flex: 1; font-size: 15px; font-weight: 600; color: var(--text-ink); }
.faq-arrow {
  width: 24px; height: 24px; transition: transform 0.35s var(--ease-out);
  color: var(--text-muted);
}
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s var(--ease-out), padding 0.3s;
}
.faq-item.open .faq-answer { max-height: 400px; }
.faq-a-text {
  padding: 0 24px 20px;
  padding-left: 72px;
  font-size: 14.5px; color: var(--text-secondary);
  line-height: 1.75;
}
.faq-empty { text-align: center; padding: 48px 20px; color: var(--text-muted); }

/* --- Sidebar Widget Enhancement --- */
.sidebar-widget {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 24px; margin-bottom: 24px;
  box-shadow: var(--shadow-xs);
  transition: box-shadow 0.3s;
}
.sidebar-widget:hover { box-shadow: var(--shadow-sm); }
.sidebar-widget h3 {
  font-size: 16px; font-weight: 700; color: var(--text-ink);
  margin-bottom: 16px; padding-bottom: 12px;
  border-bottom: 2px solid var(--primary);
  letter-spacing: -0.01em;
}
.sidebar-widget ul li {
  padding: 9px 0;
  border-bottom: 1px solid var(--bg-subtle);
  font-size: 14px;
}
.sidebar-widget ul li:last-child { border-bottom: none; }
.sidebar-widget ul li a {
  color: var(--text-secondary);
  display: flex; align-items: center; gap: 6px;
  transition: all 0.2s;
}
.sidebar-widget ul li a:hover { color: var(--primary); padding-left: 4px; }
.sidebar-widget .sidebar-date { font-size: 12px; color: var(--text-muted); }

/* --- Loading / Skeleton --- */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.skeleton {
  background: linear-gradient(90deg, var(--bg-subtle) 25%, var(--bg-warm) 50%, var(--bg-subtle) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

/* --- Smooth Scroll Behavior for All Pages --- */
html { scroll-behavior: smooth; scroll-padding-top: 76px; }

/* --- Selection Color --- */
::selection {
  background: rgba(var(--primary-rgb), 0.18);
  color: var(--text-ink);
}

/* --- Focus Visible for Accessibility --- */
*:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* --- Utility Classes for Templates --- */
.section-compact { padding: 60px 0; }
.section-header-compact { margin-bottom: 36px; }
.section-title-sm { font-size: 26px !important; }
.section-subtitle-sm { font-size: 14px !important; color: var(--text-light) !important; }
.header-line-left { margin-left: 0; text-align: left; }

/* ============================================================
   PB Design Patterns — Section Layout & Visual Style
   ============================================================ */

/* --- PB-Style Section Layout: 标题区(左) + 内容区(右) --- */
.pb-section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
@media (min-width: 1440px) { .pb-section { padding: 100px 0; } }
@media (max-width: 768px) { .pb-section { padding: 56px 0; } }
@media (max-width: 480px) { .pb-section { padding: 44px 0; } }

.pb-section-alt {
  background: #F5F5F5;
}
.pb-section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}
@media (min-width: 1440px) { .pb-section-inner { max-width: 1320px; padding: 0 40px; } }
@media (min-width: 1600px) { .pb-section-inner { max-width: 1400px; padding: 0 48px; } }
@media (max-width: 768px) { .pb-section-inner { padding: 0 16px; } }

.pb-layout {
  display: block;
}

/* --- PB-Style Section Title (居中标题栏) --- */
.pb-title-block {
  position: relative;
  text-align: center;
  margin-bottom: 50px;
}
@media (max-width: 768px) { .pb-title-block { margin-bottom: 32px; } }
.pb-title-block h2, .pb-title-block h3 {
  font-size: 28px;
  font-weight: 700;
  color: #222;
  margin: 0 0 8px;
  letter-spacing: 0.02em;
  line-height: 1.3;
  position: relative;
  display: inline-block;
}
@media (min-width: 1200px) { .pb-title-block h2, .pb-title-block h3 { font-size: 32px; } }
@media (max-width: 768px) { .pb-title-block h2, .pb-title-block h3 { font-size: 22px; } }
.pb-title-block p {
  font-size: 13px;
  color: #999;
  margin: 0 0 18px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}
.pb-title-line {
  width: 40px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  margin: 0 auto;
}

/* --- PB-Style Product Grid (3列等宽) --- */
.pb-product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (min-width: 1440px) { .pb-product-grid { gap: 36px; } }
@media (max-width: 992px) { .pb-product-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
@media (max-width: 576px) { .pb-product-grid { grid-template-columns: 1fr; gap: 20px; } }

.pb-pro-item {
  text-decoration: none;
  color: inherit;
  display: block;
  text-align: center;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  padding-bottom: 18px;
  border: 1px solid var(--border-light);
}
.pb-pro-item:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  border-color: transparent;
}
.pb-pro-item:hover .pb-pro-title {
  color: var(--primary);
}
.pb-pro-img {
  background: var(--bg-subtle);
  overflow: hidden;
  margin-bottom: 14px;
  position: relative;
  width: 100%;
  padding-bottom: 100%;
}
.pb-pro-img img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
  box-sizing: border-box;
  display: block;
}
.pb-pro-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  transition: color 0.25s;
  padding: 0 12px;
  line-height: 1.5;
}
.pb-pro-desc {
  font-size: 12.5px;
  color: var(--text-muted);
  margin: 6px 0 0;
  padding: 0 12px 12px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* --- SEO Content Section --- */
.pb-seo-content {
  padding: 40px 0 48px;
  background: #fafafa;
  border-top: 1px solid #eee;
}
.pb-seo-content .pb-section-inner { max-width: 1000px; }
.pb-seo-content h2 {
  font-size: 20px; font-weight: 600; color: #222;
  margin: 0 0 14px; text-align: left;
}
.pb-seo-content h3 {
  font-size: 16px; font-weight: 600; color: #333;
  margin: 18px 0 8px;
}
.pb-seo-content p {
  font-size: 14px; color: #555; line-height: 1.8;
  margin: 0 0 10px; text-align: left;
}

/* --- PB-Style News List (媒体对象模式) --- */
.pb-news-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.pb-news-item {
  display: flex;
  align-items: stretch;
  gap: 24px;
  padding: 24px 20px;
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
  background: var(--bg-white);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}
@media (min-width: 1200px) { .pb-news-item { gap: 32px; padding: 28px 24px; } }
@media (max-width: 768px) { .pb-news-item { gap: 16px; padding: 18px 16px; } }
.pb-news-item:last-child {
  border-bottom: 1px solid var(--border-light);
}
.pb-news-item:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.pb-news-date {
  min-width: 80px;
  text-align: center;
  flex-shrink: 0;
  background: var(--bg-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 8px;
}
@media (min-width: 1200px) { .pb-news-date { min-width: 96px; padding: 16px 10px; } }
.pb-news-date time {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}
@media (min-width: 1200px) { .pb-news-date time { font-size: 28px; } }
.pb-news-date::after {
  content: attr(data-year);
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}
.pb-news-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.pb-news-body h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}
@media (min-width: 1200px) { .pb-news-body h3 { font-size: 17px; } }
.pb-news-body h3 a {
  color: var(--text-ink);
  text-decoration: none;
  transition: color 0.2s;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pb-news-body h3 a:hover {
  color: var(--primary);
}
.pb-news-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* --- PB-Style About Section (图文并排) --- */
.pb-about-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 768px) { .pb-about-item { grid-template-columns: 1fr; gap: 24px; } }
.pb-about-img {
  overflow: hidden;
  border-radius: var(--radius);
}
.pb-about-img img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}
@media (max-width: 768px) { .pb-about-img img { height: 240px; } }
.pb-about-img video {
  width: 100%;
  height: auto;
  max-height: 480px;
  display: block;
  background: #000;
}
.pb-about-text {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 2;
}
.pb-about-text p { margin: 0 0 16px; }
.pb-about-text p:last-child { margin-bottom: 0; }

/* --- PB-Style Contact Section --- */
.pb-contact-social li {
  display: inline-flex;
  margin-right: 12px;
}
.pb-contact-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--text-muted);
  color: #fff;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.3s ease;
}
.pb-contact-social a:hover {
  background: var(--primary);
}
.pb-contact-info p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 2;
  margin: 0;
}
.pb-contact-info a {
  color: var(--text-secondary);
  transition: color 0.2s;
}
.pb-contact-info a:hover {
  color: var(--primary);
}

/* --- PB-Style Animation (滚动触发淡入) --- */
.pb-animate {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* ===== AI Chat Widget ===== */
.ai-chat-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
  z-index: 9999;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.ai-chat-fab:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}
.ai-chat-fab img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.ai-chat-window {
  position: fixed;
  right: 24px;
  bottom: 96px;
  width: 420px;
  max-width: calc(100vw - 48px);
  max-height: 640px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 9999;
}
.ai-chat-window[hidden] {
  display: none;
}
.ai-chat-header {
  padding: 14px 18px;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
  font-weight: 600;
}
.ai-chat-header button {
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ai-chat-header button:hover {
  background: rgba(255, 255, 255, 0.18);
}
.ai-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  background: #f7f7f8;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 320px;
  max-height: 460px;
}
.ai-msg {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.55;
  word-break: break-word;
  white-space: pre-wrap;
}
.ai-msg.assistant {
  align-self: flex-start;
  background: #fff;
  color: #333;
  border: 1px solid #eee;
  border-bottom-left-radius: 4px;
  white-space: normal;
}
.ai-msg.user {
  align-self: flex-end;
  background: var(--primary);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.ai-msg.assistant p { margin: 0 0 8px; }
.ai-msg.assistant p:last-child { margin-bottom: 0; }
.ai-msg.assistant ul, .ai-msg.assistant ol { margin: 4px 0; padding-left: 20px; }
.ai-msg.assistant li { margin: 2px 0; }
.ai-msg.assistant code { background: #f0f0f0; padding: 1px 5px; border-radius: 3px; font-size: 13px; font-family: Consolas, Monaco, 'Courier New', monospace; }
.ai-msg.assistant pre { background: #1f2328; color: #f0f0f0; padding: 10px 12px; border-radius: 6px; overflow-x: auto; margin: 6px 0; }
.ai-msg.assistant pre code { background: transparent; padding: 0; color: inherit; font-size: 13px; }
.ai-msg.assistant a { color: var(--primary); text-decoration: underline; word-break: break-all; }
.ai-msg.assistant strong { font-weight: 600; }
.ai-msg.assistant h1, .ai-msg.assistant h2, .ai-msg.assistant h3 { margin: 8px 0 4px; font-size: 15px; font-weight: 600; }
.ai-msg.assistant blockquote { border-left: 3px solid #ddd; padding-left: 10px; margin: 6px 0; color: #666; }
.ai-msg.streaming::after {
  content: '▋';
  display: inline-block;
  margin-left: 1px;
  color: var(--primary);
  animation: ai-cursor 0.9s steps(2) infinite;
}
@keyframes ai-cursor {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}
.ai-typing {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 0;
}
.ai-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.4;
  animation: ai-typing 1.2s ease-in-out infinite;
}
.ai-typing span:nth-child(2) { animation-delay: 0.2s; }
.ai-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes ai-typing {
  0%, 60%, 100% { opacity: 0.4; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-3px); }
}
.ai-chat-quick {
  display: flex;
  gap: 6px;
  padding: 8px 12px;
  border-top: 1px solid #f0f0f0;
  background: #fafafa;
  overflow-x: auto;
  scrollbar-width: none;
}
.ai-chat-quick::-webkit-scrollbar { display: none; }
.ai-chat-quick button {
  flex-shrink: 0;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 14px;
  padding: 5px 12px;
  font-size: 12px;
  color: var(--text-secondary, #666);
  cursor: pointer;
  transition: all 0.2s;
}
.ai-chat-quick button:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(15, 98, 254, 0.04);
}
.ai-chat-input {
  display: flex;
  padding: 12px;
  border-top: 1px solid #eee;
  background: #fff;
  gap: 8px;
  align-items: flex-end;
}
.ai-chat-input textarea {
  flex: 1;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
  outline: none;
  resize: none;
  max-height: 120px;
  font-family: inherit;
  line-height: 1.5;
  transition: border-color 0.2s;
}
.ai-chat-input textarea:focus {
  border-color: var(--primary);
}
.ai-chat-input button {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.2s;
  flex-shrink: 0;
}
.ai-chat-input button:hover {
  opacity: 0.9;
}
.ai-chat-input button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
@media (max-width: 480px) {
  .ai-chat-fab {
    right: 16px;
    bottom: 16px;
    width: 50px;
    height: 50px;
  }
  .ai-chat-window {
    right: 16px;
    bottom: 80px;
    width: calc(100vw - 32px);
    max-height: 70vh;
  }
}

/* ===== 首页扩展模块（参考PB模板） ===== */

/* 数据统计区 */
.pb-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 20px;
}
@media (max-width: 768px) { .pb-stats { grid-template-columns: 1fr; gap: 20px; } }
.pb-stat-item {
  text-align: center;
  padding: 28px 16px;
  background: var(--bg-white);
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.pb-stat-item:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.pb-stat-value {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 8px;
}
@media (max-width: 768px) { .pb-stat-value { font-size: 30px; } }
.pb-stat-label {
  font-size: 14px;
  color: var(--text-muted);
}

/* 案例展示区 */
.pb-case-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 992px) { .pb-case-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (max-width: 576px) { .pb-case-grid { grid-template-columns: 1fr; gap: 16px; } }
.pb-case-item {
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.pb-case-item:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}
.pb-case-img {
  position: relative;
  width: 100%;
  padding-bottom: 62%;
  overflow: hidden;
  background: var(--bg-subtle);
}
.pb-case-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pb-case-body {
  padding: 16px;
}
.pb-case-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pb-case-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 资质证书区 */
.pb-cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 992px) { .pb-cert-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (max-width: 576px) { .pb-cert-grid { grid-template-columns: 1fr; gap: 16px; } }
.pb-cert-item {
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.pb-cert-item:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}
.pb-cert-img {
  position: relative;
  width: 100%;
  padding-bottom: 75%;
  overflow: hidden;
  background: var(--bg-subtle);
}
.pb-cert-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pb-cert-body {
  padding: 14px;
  text-align: center;
}
.pb-cert-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 价值观卡片 */
.pb-values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 992px) { .pb-values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .pb-values-grid { grid-template-columns: 1fr; gap: 20px; } }
.pb-value-card {
  padding: 32px 20px;
  background: var(--bg-white);
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  text-align: center;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.pb-value-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.pb-value-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 2px 4px rgba(15,98,254,0.25));
}
.pb-value-icon svg { display: block; }
.pb-value-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 10px;
}
.pb-value-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* 合作伙伴 */
.pb-partners {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.pb-partner-item {
  max-width: 160px;
  max-height: 60px;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: filter 0.3s, opacity 0.3s;
}
.pb-partner-item:hover {
  filter: grayscale(0);
  opacity: 1;
}
.pb-partner-item img {
  max-width: 100%;
  max-height: 60px;
  object-fit: contain;
}
.pb-animate.visible {
  opacity: 1;
  transform: translateY(0);
}
.pb-animate-delay-1 { transition-delay: 0.1s; }
.pb-animate-delay-2 { transition-delay: 0.2s; }
.pb-animate-delay-3 { transition-delay: 0.3s; }
@media (prefers-reduced-motion: reduce) {
  .pb-animate, .scroll-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* --- PB-Style Footer (简洁设计) --- */
.pb-footer-simple {
  background: #F5F5F5;
  color: #9b9b9b;
  padding: 16px 0;
  font-size: 13.5px;
  text-align: center;
}
.pb-footer-simple a {
  color: #9b9b9b;
  margin: 0 4px;
  transition: color 0.2s;
}
.pb-footer-simple a:hover {
  color: var(--primary);
}

/* --- PB-Style Mobile Bottom Bar (固定底部导航) --- */
.pb-mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99;
  background: #fff;
  border-top: 1px solid #eee;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.06);
  overflow: hidden;
}
.pb-mobile-bar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.pb-mobile-bar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0;
  font-size: 11px;
  color: #666;
  text-decoration: none;
  gap: 3px;
  transition: color 0.2s;
}
.pb-mobile-bar a:hover,
.pb-mobile-bar a.active {
  color: var(--primary);
}
.pb-mobile-bar svg {
  width: 20px;
  height: 20px;
  max-width: 20px;
  max-height: 20px;
  display: block;
}
@media (max-width: 768px) {
  .pb-mobile-bar { display: block; }
  body:has(.pb-mobile-bar) { padding-bottom: 56px; }
}

/* --- Article Detail (news_detail.html) --- */
.article-detail-title {
  font-size: 28px; font-weight: 700; color: #333;
  margin-bottom: 16px; line-height: 1.5;
}
@media (max-width: 768px) { .article-detail-title { font-size: 22px; } }
@media (max-width: 480px) { .article-detail-title { font-size: 20px; } }
.article-detail-meta {
  display: flex; align-items: center; gap: 20px;
  font-size: 13px; color: #999;
  border-bottom: 1px solid #eee;
  padding-bottom: 18px; margin-bottom: 30px;
  flex-wrap: wrap;
}
@media (max-width: 480px) { .article-detail-meta { gap: 12px; font-size: 12px; } }
.article-cat { color: var(--primary); }
.article-detail-thumb {
  margin-bottom: 30px;
  border-radius: var(--radius);
  overflow: hidden;
}
.article-detail-thumb img {
  width: 100%; height: auto; display: block;
}
.article-detail-content {
  font-size: 15px; line-height: 1.9; color: #555;
}
@media (max-width: 768px) { .article-detail-content { font-size: 14px; line-height: 1.8; } }
