/* ============================================================
   TMT Enterprise Development Co — 官网全局样式
   设计参考：Micross.com 风格（深海蓝 + 墨绿 + Barlow Condensed）
   ============================================================ */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700&family=Lato:wght@300;400;700&family=Noto+Sans+SC:wght@300;400;500;700;900&display=swap');

/* ============================================================
   CSS 自定义属性
   ============================================================ */
:root {
  /* 主色调 */
  --color-primary: #006ea1;
  --color-primary-dark: #005580;
  --color-primary-light: #0088cc;
  --color-accent: #fd8103;
  --color-accent-dark: #e57200;
  --color-accent-light: #ff9a2e;

  /* 中性色 */
  --color-navy: #1a3a5c;
  --color-navy-light: #234a70;
  --color-ice: #DDEBF2;
  --color-ice-light: #EFF5F9;
  --color-fog: #F5F7FA;
  --color-rock: #2d3337;
  --color-slate: #656565;
  --color-slate-light: #999;
  --color-white: #ffffff;
  --color-border: #e0e0e0;
  --color-border-light: #eee;

  /* 字体 */
  --font-display: 'Barlow Condensed', 'Noto Sans SC', sans-serif;
  --font-body: 'Lato', 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
  --font-cn: 'Noto Sans SC', 'Microsoft YaHei', sans-serif;

  /* 间距 */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* 圆角 */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;
  --radius-full: 9999px;

  /* 阴影 */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 25px rgba(0,0,0,0.15);
  --shadow-xl: 0 12px 40px rgba(0,0,0,0.18);

  /* 过渡 */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* 容器宽度 */
  --max-width: 1200px;
  --nav-height: 72px;
}

/* ============================================================
   基础重置
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--color-rock);
  background: var(--color-fog);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-normal);
}

a:hover {
  color: var(--color-accent);
}

ul, ol {
  list-style: none;
}

/* ============================================================
   排版
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-navy);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.125rem; }

/* 页面标题区域 */
.page-hero {
  background: var(--color-primary);
  color: var(--color-white);
  padding: var(--space-3xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero.has-bg-image {
  background: none;
}

.page-hero.has-bg-image::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: 
    linear-gradient(135deg, rgba(0,47,75,0.85) 0%, rgba(0,35,55,0.92) 100%),
    var(--hero-bg-url) center/cover no-repeat;
}

.page-hero.has-bg-image > .container {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  color: var(--color-white);
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: var(--space-sm);
}

.page-hero .subtitle {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

/* 板块标题样式 */
.section-title {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-title h2 {
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--color-accent);
  margin: var(--space-sm) auto 0;
  border-radius: 2px;
}

.section-title .lead {
  color: var(--color-slate);
  font-size: 1.05rem;
  max-width: 600px;
  margin: var(--space-sm) auto 0;
}

/* ============================================================
   布局工具
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section {
  padding: var(--space-4xl) 0;
}

.section-alt {
  background: var(--color-ice);
}

/* 企业理念 */
.philosophy-section {
  background: linear-gradient(135deg, #f0f7fb 0%, #e8f0f8 100%);
  padding: var(--space-2xl) 0;
  text-align: center;
  border-top: 3px solid var(--color-accent);
  border-bottom: 1px solid rgba(0, 110, 161, 0.08);
}

.philosophy-cn {
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.08em;
  margin: 0 0 12px 0;
  line-height: 1.5;
}

.philosophy-en {
  font-family: "Lato", "Noto Sans SC", sans-serif;
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--color-slate);
  letter-spacing: 0.04em;
  margin: 0;
  font-style: italic;
}


/* ============================================================
   导航条
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  height: var(--nav-height);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  text-decoration: none;
}

/* TMT 注册商标图片 LOGO */
.tmt-logo-img {
  height: 44px;          /* 导航栏内高度 */
  width: auto;
  max-width: 280px;       /* 最大宽度，防止过大 */
  object-fit: contain;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.site-logo:hover .tmt-logo-img {
  opacity: 0.9;
  transform: scale(1.02);
}

.site-logo .logo-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-logo .logo-icon svg {
  width: 42px;
  height: 42px;
}

.site-logo .logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.site-logo .logo-name {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-navy);
  letter-spacing: 1px;
}

.site-logo .logo-tagline {
  font-size: 0.62rem;
  font-weight: 400;
  color: var(--color-slate);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-family: var(--font-body);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.main-nav a {
  display: block;
  padding: var(--space-sm) var(--space-md);
  color: var(--color-slate);
  font-size: 0.95rem;
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  position: relative;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--color-primary);
  background: var(--color-ice-light);
}

.main-nav a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 3px;
  background: var(--color-accent);
  border-radius: 2px;
}

/* 下拉菜单 */
.has-dropdown {
  position: relative;
}

.has-dropdown > a::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-left: 6px;
  vertical-align: middle;
  transition: transform var(--transition-fast);
}

.has-dropdown:hover > a::after {
  transform: rotate(-135deg) translate(-2px, -2px);
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 240px;
  padding: var(--space-sm) 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition-fast);
}

.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  padding: var(--space-sm) var(--space-lg);
  text-transform: none;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.9rem;
  letter-spacing: 0;
  white-space: nowrap;
}

.dropdown a:hover {
  background: var(--color-ice-light);
  color: var(--color-accent);
}

/* 导航右侧操作组 */
.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.nav-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  border: none;
  background: transparent;
  color: var(--color-slate);
  cursor: pointer;
  transition: all var(--transition-fast);
  font-size: 1.1rem;
  position: relative;
}

.nav-icon-btn:hover {
  background: var(--color-ice-light);
  color: var(--color-primary);
}

.nav-qr-popup {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--space-lg);
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition-fast);
  min-width: 200px;
  z-index: 1001;
}

.nav-icon-btn:hover .nav-qr-popup {
  opacity: 1;
  visibility: visible;
  transform: translateY(4px);
}

.nav-qr-popup .qr-placeholder {
  width: 130px;
  height: 130px;
  background: var(--color-fog);
  border: 2px dashed var(--color-border);
  border-radius: var(--radius-sm);
  margin: 0 auto var(--space-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-slate-light);
  font-size: 0.8rem;
}

.nav-qr-popup .qr-label {
  font-size: 0.85rem;
  color: var(--color-slate);
}

.nav-cta {
  background: var(--color-accent);
  color: var(--color-white) !important;
  padding: 0.45rem 1.25rem;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all var(--transition-fast);
  display: inline-block;
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--color-accent-dark);
  color: var(--color-white) !important;
  transform: scale(1.03);
}

/* 移动端汉堡菜单 */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-slate);
  transition: all var(--transition-fast);
  border-radius: 2px;
}

/* ============================================================
   Hero 区域
   ============================================================ */
.hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, #004d70 100%);
  color: var(--color-white);
  padding: var(--space-4xl) 0 var(--space-4xl);
  position: relative;
  overflow: hidden;
}

.hero.has-bg-image {
  background: none;
}

.hero.has-bg-image::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: 
    linear-gradient(135deg, rgba(0,110,161,0.88) 0%, rgba(0,53,84,0.94) 100%),
    var(--hero-bg-url) center/cover no-repeat;
}

.hero.has-bg-image > .container {
  z-index: 2;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--color-fog);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-2xl);
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  color: var(--color-white);
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  font-weight: 700;
  margin-bottom: var(--space-md);
  line-height: 1.15;
}

.hero-content .hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.85);
  margin-bottom: var(--space-xl);
  max-width: 550px;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 0.7rem 1.75rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}

.btn-primary:hover {
  background: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  color: var(--color-white);
  transform: scale(1.03);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255,255,255,0.5);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--color-white);
  color: var(--color-white);
  transform: scale(1.03);
}

.btn-sm {
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
}

.btn-secondary {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-secondary:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: scale(1.03);
}

/* Hero 右侧小程序二维码卡片 */
.hero-qr-card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  text-align: center;
  box-shadow: var(--shadow-xl);
  width: 220px;
  flex-shrink: 0;
}

.hero-qr-card .qr-placeholder {
  width: 140px;
  height: 140px;
  background: var(--color-fog);
  border: 2px dashed var(--color-border);
  border-radius: var(--radius-sm);
  margin: 0 auto var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-slate-light);
  font-size: 0.8rem;
}

.hero-qr-card .qr-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-rock);
  margin-bottom: 2px;
}

.hero-qr-card .qr-desc {
  font-size: 0.8rem;
  color: var(--color-slate);
}

/* ============================================================
   业务导航卡片
   ============================================================ */
.card {
  background: var(--color-white);
  border: 2px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--transition-normal);
  text-decoration: none;
  color: var(--color-rock);
  display: block;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
  color: var(--color-rock);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: var(--color-ice);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  font-size: 1.5rem;
  color: var(--color-primary);
  transition: all var(--transition-normal);
}

.card:hover .card-icon {
  background: var(--color-primary);
  color: var(--color-white);
}

.card h3 {
  margin-bottom: var(--space-sm);
  font-size: 1.25rem;
}

.card p {
  color: var(--color-slate);
  font-size: 0.95rem;
  margin-bottom: var(--space-md);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--color-accent);
  font-weight: 600;
  font-size: 0.9rem;
  font-family: var(--font-display);
}

.card:hover .card-link {
  gap: 8px;
}

/* ============================================================
   产品卡片
   ============================================================ */
.product-card {
  background: var(--color-white);
  border: 2px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-normal);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.product-card-image {
  position: relative;
  height: 200px;
  background: var(--color-ice);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-card-image .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,110,161,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-slow);
}

.product-card:hover .product-card-image .overlay {
  opacity: 1;
}

.product-card-image .overlay span {
  color: var(--color-white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
}

.product-card-body {
  padding: var(--space-lg);
}

.product-card-body .product-model {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-primary);
  font-size: 1.05rem;
  margin-bottom: var(--space-xs);
}

.product-card-body .product-name {
  font-size: 0.9rem;
  color: var(--color-slate);
  margin-bottom: var(--space-sm);
}

.product-card-body .product-specs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.product-specs .spec-tag {
  font-size: 0.78rem;
  padding: 2px 10px;
  background: var(--color-ice-light);
  border-radius: var(--radius-full);
  color: var(--color-slate);
}

/* ============================================================
   应用领域卡片
   ============================================================ */
.app-card {
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
  background: var(--color-white);
  border: 2px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
  text-decoration: none;
  color: var(--color-rock);
  display: block;
}

.app-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
  color: var(--color-rock);
}

.app-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto var(--space-md);
  background: var(--color-ice);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--color-primary);
  transition: all var(--transition-normal);
}

.app-card:hover .app-icon {
  background: var(--color-primary);
  color: var(--color-white);
}

.app-card h3 {
  margin-bottom: var(--space-sm);
}

.app-card p {
  color: var(--color-slate);
  font-size: 0.92rem;
  margin-bottom: 0;
}

/* 带背景图片的应用卡片 */
.app-card.has-bg {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--color-white);
  border: none;
  padding: var(--space-2xl) var(--space-lg);
}

.app-card.has-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: 
    linear-gradient(180deg, rgba(0,60,100,0.75) 0%, rgba(0,30,55,0.92) 100%),
    var(--card-bg-url) center/cover no-repeat;
  transition: transform var(--transition-normal);
}

.app-card.has-bg:hover::before {
  transform: scale(1.08);
}

.app-card.has-bg > * {
  position: relative;
  z-index: 1;
}

.app-card.has-bg .app-icon {
  background: rgba(255,255,255,0.15);
  color: var(--color-white);
  backdrop-filter: blur(4px);
}

.app-card.has-bg h3 {
  color: var(--color-white);
  font-size: 1.2rem;
  margin-top: var(--space-md);
}

.app-card.has-bg p {
  color: rgba(255,255,255,0.85);
}

.app-card.has-bg:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}

/* ============================================================
   新闻区（深蓝底橙色标题风格）
   ============================================================ */
.news-section {
  background: var(--color-primary);
  color: var(--color-white);
  padding: var(--space-4xl) 0;
}

.news-section .section-title h2 {
  color: var(--color-accent);
}

.news-section .section-title h2::after {
  background: var(--color-white);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.news-item {
  border-left: 3px solid rgba(255,255,255,0.3);
  padding-left: var(--space-lg);
  transition: border-color var(--transition-normal);
}

.news-item:hover {
  border-left-color: var(--color-accent);
}

.news-item .news-date {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: var(--space-xs);
}

.news-item h4 {
  color: var(--color-white);
  font-size: 1.05rem;
  margin-bottom: var(--space-xs);
  font-family: var(--font-body);
}

.news-item p {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ============================================================
   合作伙伴 Logo 墙
   ============================================================ */
.partner-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-3xl);
  flex-wrap: wrap;
  padding: var(--space-2xl) 0;
}

.partner-logos .partner-item {
  filter: grayscale(100%);
  opacity: 0.5;
  transition: all var(--transition-normal);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-slate-light);
  text-align: center;
  padding: var(--space-md) var(--space-xl);
  background: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-light);
}

.partner-logos .partner-item:hover {
  filter: grayscale(0);
  opacity: 1;
  box-shadow: var(--shadow-md);
}

.partner-logos .partner-item .partner-name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
}

.partner-logos .partner-item .partner-sub {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--color-slate);
  margin-top: 0.35rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ============================================================
   底部 CTA 带
   ============================================================ */
.cta-strip {
  background: var(--color-navy);
  color: var(--color-white);
  text-align: center;
  padding: var(--space-3xl) 0;
}

.cta-strip h2 {
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.cta-strip p {
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  margin: 0 auto var(--space-xl);
  font-size: 1.05rem;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--color-navy);
  color: rgba(255,255,255,0.75);
  padding: var(--space-4xl) 0 var(--space-2xl);
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-accent);
}

.site-footer .container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: var(--space-2xl);
}

.site-footer h4 {
  color: var(--color-white);
  font-size: 1rem;
  margin-bottom: var(--space-md);
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.site-footer ul li {
  margin-bottom: var(--space-xs);
}

.site-footer ul li a {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.site-footer ul li a:hover {
  color: var(--color-accent);
}

.footer-about p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

.footer-qr {
  text-align: center;
}

.footer-qr .qr-placeholder {
  width: 100px;
  height: 100px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  margin: 0 auto var(--space-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  font-size: 0.75rem;
}

.footer-qr .qr-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
}

.footer-bottom {
  margin-top: var(--space-2xl);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  white-space: nowrap;
}

/* ============================================================
   面包屑
   ============================================================ */
.breadcrumb {
  padding: var(--space-md) 0;
  font-size: 0.85rem;
  color: var(--color-slate);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--color-slate);
}

.breadcrumb a:hover {
  color: var(--color-accent);
}

.breadcrumb .separator {
  color: var(--color-slate-light);
}

.breadcrumb .current {
  color: var(--color-rock);
  font-weight: 500;
}

/* ============================================================
   Foundry Sub-Navigation
   ============================================================ */
.foundry-subnav {
  background: var(--color-ice);
  border-bottom: 2px solid var(--color-border-light);
  padding: var(--space-sm) 0;
}

.foundry-subnav .container {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.foundry-subnav a {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-slate);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.foundry-subnav a:hover {
  color: var(--color-primary);
  background: var(--color-ice-light);
}

.foundry-subnav a.active {
  color: var(--color-primary);
  background: var(--color-white);
  border-bottom: 2px solid var(--color-accent);
}

@media (max-width: 768px) {
  .foundry-subnav .container {
    gap: var(--space-xs);
    justify-content: flex-start;
  }
  .foundry-subnav a {
    font-size: 0.75rem;
    padding: 2px 6px;
  }
}

/* ============================================================
   Foundry Sub-Navigation
   ============================================================ */
.foundry-subnav {
  background: #f5f8fa;
  border-bottom: 1px solid var(--color-ice);
  padding: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.foundry-subnav .container {
  display: flex;
  gap: 0;
  flex-wrap: nowrap;
  padding-top: 0;
  padding-bottom: 0;
}
.foundry-subnav a {
  display: inline-block;
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  color: var(--color-rock);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: all 0.2s ease;
}
.foundry-subnav a:hover {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}
.foundry-subnav a.active {
  color: var(--color-primary);
  border-bottom-color: var(--color-accent);
  font-weight: 600;
}

/* ============================================================
   PDK Request Form
   ============================================================ */
.pdk-form {
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  max-width: 720px;
  margin: 0 auto;
}
.pdk-form .form-group {
  margin-bottom: var(--space-lg);
}
.pdk-form label {
  display: block;
  font-weight: 600;
  margin-bottom: var(--space-xs);
  color: var(--color-rock);
  font-size: 0.9rem;
}
.pdk-form .required::after {
  content: " *";
  color: #d32f2f;
}
.pdk-form input[type="text"],
.pdk-form input[type="email"],
.pdk-form input[type="tel"],
.pdk-form select,
.pdk-form textarea {
  width: 100%;
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s;
}
.pdk-form input:focus,
.pdk-form select:focus,
.pdk-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(0,110,161,0.15);
}
.pdk-form .checkbox-group {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.5rem;
}
.pdk-form .checkbox-group label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 400;
  font-size: 0.9rem;
}
.pdk-form .checkbox-group input[type="checkbox"] {
  width: auto;
  margin: 0;
}
.pdk-form .form-note {
  font-size: 0.8rem;
  color: var(--color-slate-light);
  margin-top: var(--space-xs);
}
.pdk-form .btn-submit {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  border: none;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background 0.2s;
}
.pdk-form .btn-submit:hover {
  background: #e57200;
}

/* FAQ accordion styles */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  overflow: hidden;
}
.faq-item summary {
  padding: var(--space-md) var(--space-lg);
  font-weight: 600;
  color: var(--color-primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--color-accent);
}
.faq-item[open] summary::after { content: "−"; }
.faq-item .faq-answer {
  padding: 0 var(--space-lg) var(--space-lg);
  line-height: 1.7;
  color: var(--color-slate);
}

/* ============================================================
   产品列表筛选栏
   ============================================================ */
.filter-bar {
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin-bottom: var(--space-xl);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  align-items: flex-end;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.filter-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-slate);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.filter-group select {
  padding: 0.45rem 2rem 0.45rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--color-rock);
  background: var(--color-fog);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23656565' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.6rem center;
}

/* ============================================================
   产品列表行
   ============================================================ */
.product-list-item {
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin-bottom: var(--space-md);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--space-lg);
  align-items: center;
  transition: all var(--transition-fast);
}

.product-list-item:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
}

.product-list-item .product-badge {
  width: 80px;
  height: 80px;
  background: var(--color-ice);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
}

.product-list-item .product-info h4 {
  font-family: var(--font-display);
  color: var(--color-primary);
  margin-bottom: 4px;
}

.product-list-item .product-info p {
  color: var(--color-slate);
  font-size: 0.9rem;
  margin-bottom: var(--space-sm);
}

/* ============================================================
   规格表
   ============================================================ */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-lg) 0;
}

.spec-table th {
  background: var(--color-ice);
  color: var(--color-navy);
  padding: var(--space-sm) var(--space-md);
  text-align: left;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.spec-table td {
  padding: var(--space-sm) var(--space-md);
  border-bottom: 1px solid var(--color-border-light);
  font-size: 0.92rem;
}

.spec-table tr:hover td {
  background: var(--color-fog);
}

/* ============================================================
   工艺对比表
   ============================================================ */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-lg) 0;
}

.comparison-table th {
  background: var(--color-primary);
  color: var(--color-white);
  padding: var(--space-sm) var(--space-md);
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
}

.comparison-table td {
  padding: var(--space-sm) var(--space-md);
  border: 1px solid var(--color-border-light);
  text-align: center;
  font-size: 0.9rem;
}

.comparison-table tr:nth-child(even) td {
  background: var(--color-fog);
}

/* ============================================================
   服务卡片（代工流片）
   ============================================================ */
.service-card {
  background: var(--color-white);
  border: 2px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  transition: all var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}

.service-card .service-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-ice);
  margin-bottom: var(--space-sm);
  line-height: 1;
}

.service-card h3 {
  margin-bottom: var(--space-sm);
}

.service-card p {
  color: var(--color-slate);
  font-size: 0.95rem;
}

/* Fast Track 7-step cards — compact layout for narrow multi-column grid */
.fast-track-grid .service-card {
  padding: 1.25rem 1rem;
  text-align: center;
}
.fast-track-grid .service-card .service-number {
  font-size: 2.25rem;
  margin-bottom: 0.25rem;
}
.fast-track-grid .service-card h3 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
  line-height: 1.2;
}
.fast-track-grid .service-card p {
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
}
.fast-track-grid .service-card .card-link {
  font-size: 0.82rem;
}

/* ============================================================
   联系表单
   ============================================================ */
.contact-form {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  border: 1px solid var(--color-border-light);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--color-rock);
  margin-bottom: 4px;
  font-size: 0.9rem;
}

.form-group label .required {
  color: var(--color-accent);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-rock);
  background: var(--color-fog);
  transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-primary);
  background: var(--color-white);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

/* Checkbox agreement label — left-aligned, checkbox inline with text */
.checking-group {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  text-align: left;
  cursor: pointer;
  font-weight: 400;
}

.checking-group input[type="checkbox"] {
  width: auto;
  margin: 3px 0 0 0;
  flex-shrink: 0;
}

/* Suppress required asterisk on checkbox labels — they use inline text */
.pdk-form .checking-group.required::after {
  content: none;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

/* ============================================================
   侧边栏（产品页）
   ============================================================ */
.page-layout-sidebar {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: var(--space-2xl);
}

.sidebar {
  position: sticky;
  top: calc(var(--nav-height) + var(--space-lg));
  align-self: start;
}

.sidebar-widget {
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.sidebar-widget h4 {
  font-size: 0.95rem;
  color: var(--color-navy);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--color-ice);
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sidebar-nav a {
  display: block;
  padding: 0.4rem 0;
  color: var(--color-slate);
  font-size: 0.9rem;
  border-bottom: 1px solid var(--color-border-light);
  transition: all var(--transition-fast);
}

.sidebar-nav a:last-child {
  border-bottom: none;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
  color: var(--color-accent);
  padding-left: var(--space-sm);
}

.sidebar-qr {
  text-align: center;
  padding: var(--space-lg);
}

.sidebar-qr .qr-placeholder {
  width: 120px;
  height: 120px;
  background: var(--color-fog);
  border: 2px dashed var(--color-border);
  border-radius: var(--radius-sm);
  margin: 0 auto var(--space-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-slate-light);
  font-size: 0.78rem;
}

.sidebar-qr .qr-label {
  font-size: 0.82rem;
  color: var(--color-slate);
}

/* ============================================================
   高亮信息框
   ============================================================ */
.info-box {
  background: var(--color-ice-light);
  border-left: 4px solid var(--color-primary);
  padding: var(--space-lg);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: var(--space-lg) 0;
}

.info-box.warning {
  border-left-color: var(--color-accent);
  background: #FFF8F0;
}

.info-box.success {
  border-left-color: #2e7d32;
  background: #F0FFF0;
}

/* ============================================================
   流程步骤
   ============================================================ */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--space-lg);
  margin: var(--space-2xl) 0;
}

.process-step {
  text-align: center;
  position: relative;
}

.process-step::after {
  content: '';
  position: absolute;
  top: 30px;
  right: -60%;
  width: 100%;
  height: 2px;
  background: var(--color-border);
}

.process-step:last-child::after {
  display: none;
}

.process-step .step-number {
  width: 60px;
  height: 60px;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
}

.process-step h4 {
  font-size: 0.95rem;
  margin-bottom: var(--space-xs);
}

.process-step p {
  font-size: 0.85rem;
  color: var(--color-slate);
}

/* ============================================================
   标签徽章
   ============================================================ */
.badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
}

.badge-primary { background: var(--color-ice-light); color: var(--color-primary); }
.badge-accent { background: #FFF0E0; color: var(--color-accent-dark); }
.badge-success { background: #e8f5e9; color: #2e7d32; }
.badge-navy { background: #e8eaf6; color: var(--color-navy); }

/* ============================================================
   品牌页双栏
   ============================================================ */
.brand-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

.brand-logo-placeholder {
  width: 200px;
  height: 100px;
  background: var(--color-fog);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-slate-light);
  margin-bottom: var(--space-lg);
}

/* ============================================================
   模组网格
   ============================================================ */
.module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--space-md);
}

.module-card {
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  text-align: center;
  transition: all var(--transition-fast);
}

.module-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
}

.module-card .icon {
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.module-card h4 {
  font-size: 0.95rem;
  margin-bottom: var(--space-xs);
}

.module-card p {
  font-size: 0.85rem;
  color: var(--color-slate);
}

/* ============================================================
   响应式
   ============================================================ */

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-right: var(--space-md);
  font-size: 0.82rem;
  font-weight: 600;
}
.lang-switcher a {
  color: var(--color-slate);
  text-decoration: none;
  padding: 2px 6px;
  border-radius: 3px;
  transition: all var(--transition-fast);
  font-weight: 600;
}
.lang-switcher a:hover {
  color: var(--color-accent);
  background: rgba(253,129,3,0.08);
}
.lang-switcher a.active {
  color: var(--color-accent);
  background: rgba(253,129,3,0.12);
  pointer-events: none;
}
.lang-divider {
  color: var(--color-slate);
  opacity: 0.3;
  font-weight: 300;
  user-select: none;
}
@media (max-width: 768px) {
  .lang-switcher {
    margin-right: var(--space-sm);
    font-size: 0.75rem;
  }
  .lang-switcher a {
    padding: 2px 4px;
  }
}

/* ============================================================
   Grid 系统
   ============================================================ */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-lg); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-lg); }

/* 新闻网格 */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); }

/* filter-bar / form-row */
.filter-bar { display: flex; gap: var(--space-sm); flex-wrap: wrap; align-items: center; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); }

/* product-list-item */
.product-list-item { display: grid; grid-template-columns: 100px 1fr auto; gap: var(--space-md); align-items: center; }
.product-list-item .product-actions { justify-self: end; }

/* ============================================================
   Southwest 产品子页面 — product-grid 卡片网格
   ============================================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

/* 产品卡片直接图片（无 .product-card-image 包装时） */
.product-card > img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  background: var(--color-ice);
  border-bottom: 2px solid var(--color-border-light);
}

/* 产品卡片标题 */
.product-card-body h3 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-primary);
  font-size: 1.05rem;
  margin-bottom: var(--space-xs);
}

/* 规格标签行 */
.product-card-body .specs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.product-card-body .specs span {
  font-size: 0.78rem;
  padding: 2px 10px;
  background: var(--color-ice-light);
  border-radius: var(--radius-full);
  color: var(--color-slate);
}

@media (max-width: 1024px) {
  .grid-3, .grid-4, .product-grid { grid-template-columns: repeat(2, 1fr); }
  .hero .container { grid-template-columns: 1fr; }
  .hero-qr-card { display: none; }
  .page-layout-sidebar { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .site-footer .container { grid-template-columns: 1fr 1fr; }
  .brand-intro { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --nav-height: 60px; }

  .tmt-logo-img {
    height: 36px;
    max-width: 200px;
  }

  .main-nav {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--color-white);
    flex-direction: column;
    padding: var(--space-md);
    box-shadow: var(--shadow-lg);
    max-height: calc(100vh - var(--nav-height));
    overflow-y: auto;
  }

  .main-nav.open { display: flex; }

  .mobile-menu-toggle { display: flex; }

  .grid-2, .grid-3, .grid-4, .product-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .site-footer .container { grid-template-columns: 1fr; }
  .filter-bar { flex-direction: column; }
  .product-list-item { grid-template-columns: 1fr; text-align: center; }
  .product-list-item .product-actions { justify-content: center; }
  .hero { padding: var(--space-2xl) 0 var(--space-3xl); }
  .section { padding: var(--space-2xl) 0; }
}

/* ============================================================
   SW 产品页面 — 导航备用类名
   与现有 .site-header + .main-nav 视觉完全一致
   ============================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  height: var(--nav-height);
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.nav-logo img {
  height: 44px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}
.nav-links > a {
  display: block;
  padding: var(--space-sm) var(--space-md);
  color: var(--color-slate);
  font-size: 0.95rem;
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  position: relative;
  text-decoration: none;
}
.nav-links > a:hover {
  color: var(--color-primary);
  background: var(--color-ice-light);
}
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 0.8rem;
  color: var(--color-slate);
  margin-left: var(--space-xs);
  white-space: nowrap;
}
.lang-switch a {
  display: inline;
  padding: 2px 4px;
  font-size: 0.8rem;
  text-transform: none;
  letter-spacing: normal;
  font-family: var(--font-body);
  color: var(--color-slate);
  text-decoration: none;
}
.lang-switch a:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

/* SW 产品页面 — page-header 页面标题横幅 */
.page-header {
  background: var(--color-primary);
  color: var(--color-white);
  padding: var(--space-2xl) 0;
}
.page-header h1 {
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: var(--space-xs);
}
.page-header .subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-bottom: var(--space-sm);
}
.page-header p {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 800px;
}
.page-header .breadcrumb {
  color: rgba(255,255,255,0.7);
  padding: 0 0 var(--space-md) 0;
}
.page-header .breadcrumb a {
  color: rgba(255,255,255,0.8);
}
.page-header .breadcrumb a:hover {
  color: var(--color-white);
}
.page-header .breadcrumb .current {
  color: var(--color-white);
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--color-white);
    flex-direction: column;
    padding: var(--space-md);
    box-shadow: var(--shadow-lg);
    max-height: calc(100vh - var(--nav-height));
    overflow-y: auto;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-logo img {
    height: 36px;
    max-width: 200px;
  }
}

/* ============================================================
   工具类
   ============================================================ */
.text-center { text-align: center; }
.text-accent { color: var(--color-accent); }
.text-primary { color: var(--color-primary); }
.mt-1 { margin-top: var(--space-md); }
.mt-2 { margin-top: var(--space-xl); }
.mt-3 { margin-top: var(--space-2xl); }
.mb-1 { margin-bottom: var(--space-md); }
.mb-2 { margin-bottom: var(--space-xl); }
.mb-3 { margin-bottom: var(--space-2xl); }
.hidden-mobile { }
@media (max-width: 768px) {
  .hidden-mobile { display: none; }
}

/* ============================================================
   Form Status Message
   ============================================================ */
.form-status-message {
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
  font-weight: 500;
  display: none;
}

.form-status-message.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-status-message.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.form-status-message.warning {
  background: #fff3cd;
  color: #856404;
  border: 1px solid #ffeaa7;
}

/* ============================================================
   Foundry Sub-Navigation
   ============================================================ */
.foundry-subnav {
  background: #f5f8fa;
  border-bottom: 1px solid #ddebf2;
  padding: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.foundry-subnav .container {
  display: flex;
  gap: 0;
  flex-wrap: nowrap;
}

.foundry-subnav a {
  display: inline-block;
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  color: #2d3337;
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: all 0.2s;
}

.foundry-subnav a:hover {
  color: #006ea1;
  border-bottom-color: #006ea1;
}

.foundry-subnav a.active {
  color: #006ea1;
  border-bottom-color: #fd8103;
  font-weight: 600;
}

/* Print */
@media print {
  .site-header, .site-footer, .nav-actions, .mobile-menu-toggle { display: none; }
  body { background: var(--color-white); }
}

/* ============================================================
   表单提交状态通知
   ============================================================ */
.form-status-message {
  display: none;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  line-height: 1.6;
  animation: statusSlideIn 0.4s ease;
}

.form-status-message.success {
  display: block;
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
  border-left: 4px solid #2e7d32;
}

.form-status-message.error {
  display: block;
  background: #fbe9e7;
  color: #c62828;
  border: 1px solid #ef9a9a;
  border-left: 4px solid #c62828;
}

.form-status-message.warning {
  display: block;
  background: #fff8e1;
  color: #e65100;
  border: 1px solid #ffcc80;
  border-left: 4px solid #e65100;
}

@keyframes statusSlideIn {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* 桌面端放大通知样式 */
@media (min-width: 768px) {
  .form-status-message {
    padding: 1.25rem 1.5rem;
    font-size: 1rem;
  }
}
