/* ==========================================================================
   柏哲门窗 BIOZE - 主样式表
   配色方案：基于logo金棕色系
   ========================================================================== */

:root {
  /* 主色 - 金棕色系（与logo一致） */
  --color-primary: #A47E3B;        /* logo金棕 */
  --color-primary-dark: #7A5A28;   /* 深金棕 */
  --color-primary-light: #C9A961;  /* 浅金棕 */
  --color-primary-pale: #E8D9B5;   /* 米金色 */
  --color-accent: #B5453A;         /* 强调红棕 */

  /* 中性色 */
  --color-dark: #1F1A14;           /* 深棕黑 */
  --color-text: #2A2520;           /* 主文字 */
  --color-text-light: #6B6157;     /* 次文字 */
  --color-border: #E5DFD3;         /* 边框 */
  --color-bg: #FAF8F3;             /* 页面底色 */
  --color-bg-alt: #F2EDE0;         /* 浅米色 */
  --color-white: #FFFFFF;

  /* 阴影 */
  --shadow-sm: 0 2px 8px rgba(60, 40, 10, 0.06);
  --shadow-md: 0 4px 16px rgba(60, 40, 10, 0.08);
  --shadow-lg: 0 8px 32px rgba(60, 40, 10, 0.12);
  --shadow-xl: 0 16px 48px rgba(60, 40, 10, 0.18);

  /* 圆角 */
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* 字体 */
  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Noto Serif SC", "Songti SC", "STSong", serif;

  /* 间距 */
  --container-max: 1280px;
  --header-h: 72px;
  --topbar-h: 36px;
}

/* ==========================================================================
   重置 & 基础
   ========================================================================== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--color-primary); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }

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

/* ==========================================================================
   顶部条
   ========================================================================== */
.top-bar {
  background: var(--color-dark);
  color: rgba(255,255,255,0.75);
  font-size: 13px;
  height: var(--topbar-h);
  line-height: var(--topbar-h);
}
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; }
.top-info, .top-links { display: flex; gap: 12px; align-items: center; }
.top-divider { opacity: 0.3; }
.top-links a { color: var(--color-primary-light); }
.top-links a:hover { color: var(--color-white); }

/* ==========================================================================
   导航栏
   ========================================================================== */
.header {
  background: var(--color-white);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
  height: var(--header-h);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand-logo {
  height: 44px;
  width: 44px;
  object-fit: contain;
  border-radius: var(--radius-sm);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-size: 19px; font-weight: 700; color: var(--color-dark); letter-spacing: 1px; }
.brand-sub { font-size: 10px; color: var(--color-primary); letter-spacing: 2px; font-weight: 500; }

.nav { display: flex; align-items: center; }
.nav-list { display: flex; gap: 4px; align-items: center; }
.nav-list > li { position: relative; }
.nav-link {
  display: block;
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
  border-radius: var(--radius);
  transition: all .2s;
}
.nav-link:hover, .nav-link.active {
  color: var(--color-primary);
  background: var(--color-bg-alt);
}
.caret { font-size: 10px; margin-left: 2px; opacity: 0.6; }
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  min-width: 180px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all .2s;
}
.dropdown a {
  display: block;
  padding: 8px 14px;
  font-size: 14px;
  border-radius: var(--radius-sm);
  color: var(--color-text);
}
.dropdown a:hover {
  background: var(--color-bg-alt);
  color: var(--color-primary);
}
.nav-cta {
  display: inline-block;
  padding: 9px 20px;
  background: var(--color-primary);
  color: var(--color-white) !important;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 600;
  margin-left: 8px;
  transition: all .2s;
}
.nav-cta:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* 汉堡菜单按钮 */
.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border-radius: var(--radius);
  transition: background .2s;
}
.menu-toggle:hover { background: var(--color-bg-alt); }
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-dark);
  border-radius: 1px;
  transition: all .3s;
}
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   主体区
   ========================================================================== */
.main { min-height: 60vh; }

.section { padding: 80px 0; }
.section-alt { background: var(--color-bg-alt); }
.section-dark { background: var(--color-dark); color: var(--color-white); }

.section-header { text-align: center; margin-bottom: 50px; }
.section-tag {
  display: inline-block;
  padding: 4px 16px;
  background: var(--color-bg-alt);
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.section-dark .section-tag { background: rgba(255,255,255,0.1); color: var(--color-primary-light); }
.section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 12px;
  letter-spacing: 1px;
}
.section-dark .section-title { color: var(--color-white); }
.section-sub { font-size: 16px; color: var(--color-text-light); }
.section-dark .section-sub { color: rgba(255,255,255,0.7); }

.section-title span { color: var(--color-primary); }
.section-divider {
  width: 60px;
  height: 3px;
  background: var(--color-primary);
  margin: 16px auto 0;
  border-radius: 2px;
}

/* ==========================================================================
   按钮
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 28px;
  transition: all .25s;
  cursor: pointer;
  border: 2px solid transparent;
  letter-spacing: 1px;
}
.btn-primary { background: var(--color-primary); color: var(--color-white); }
.btn-primary:hover { background: var(--color-primary-dark); color: var(--color-white); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--color-primary); border-color: var(--color-primary); }
.btn-outline:hover { background: var(--color-primary); color: var(--color-white); }
.btn-white { background: var(--color-white); color: var(--color-primary); }
.btn-white:hover { background: var(--color-bg-alt); color: var(--color-primary-dark); }
.btn-sm { padding: 8px 18px; font-size: 13px; }
.btn-lg { padding: 16px 40px; font-size: 16px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  height: 600px;
  overflow: hidden;
  background: var(--color-dark);
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s;
}
.hero-slide.active { opacity: 1; }
.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.7) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--color-white);
  padding: 0 24px;
}
.hero-title {
  font-size: 56px;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 20px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.hero-subtitle {
  font-size: 20px;
  font-weight: 300;
  letter-spacing: 4px;
  margin-bottom: 12px;
  color: var(--color-primary-light);
}
.hero-desc {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 32px;
  max-width: 600px;
  line-height: 1.8;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

.hero-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}
.hero-dot {
  width: 36px;
  height: 4px;
  background: rgba(255,255,255,0.4);
  border-radius: 2px;
  cursor: pointer;
  transition: all .3s;
}
.hero-dot.active { background: var(--color-primary); width: 50px; }

/* ==========================================================================
   统计栏
   ========================================================================== */
.stats-bar {
  background: var(--color-white);
  padding: 40px 0;
  border-bottom: 1px solid var(--color-border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat-item { text-align: center; }
.stat-num {
  font-size: 42px;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 8px;
  font-family: var(--font-serif);
}
.stat-label { font-size: 14px; color: var(--color-text-light); }

/* ==========================================================================
   产品卡片
   ========================================================================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.product-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: all .3s;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary-light);
}
.product-card-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--color-bg-alt);
}
.product-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.product-card:hover .product-card-img img { transform: scale(1.06); }
.product-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.product-card-tag {
  display: inline-block;
  padding: 2px 10px;
  background: var(--color-bg-alt);
  color: var(--color-primary);
  font-size: 11px;
  border-radius: 12px;
  margin-bottom: 8px;
  align-self: flex-start;
}
.product-card-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 8px;
}
.product-card-desc {
  font-size: 13px;
  color: var(--color-text-light);
  line-height: 1.6;
  margin-bottom: 12px;
  flex: 1;
}
.product-card-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 600;
  margin-top: auto;
}

/* ==========================================================================
   优势卡片
   ========================================================================== */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(240px, 1fr));
  gap: 28px;
}

.advantages-grid > .advantage-card:nth-child(odd) {
  transform: translateY(0);
}

.advantage-card {
  background: rgba(255,255,255,0.98);
  padding: 34px 28px;
  border-radius: calc(var(--radius-lg) + 4px);
  text-align: left;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
  border: 1px solid rgba(164,126,59,0.12);
  box-shadow: 0 10px 28px rgba(58, 40, 16, 0.06);
}
.advantage-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(58, 40, 16, 0.14);
  border-color: rgba(164,126,59,0.25);
}
.advantage-icon {
  width: 72px;
  height: 72px;
  margin-bottom: 20px;
  background: rgba(164,126,59,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: var(--color-primary);
  box-shadow: inset 0 0 0 1px rgba(164,126,59,0.16);
}
.advantage-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 12px;
  line-height: 1.3;
}
.advantage-desc {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.85;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-header .section-divider {
  width: 80px;
  height: 4px;
  margin: 18px auto 20px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
  border-radius: 999px;
}

@media (max-width: 992px) {
  .advantages-grid {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }
}

@media (max-width: 700px) {
  .advantages-grid {
    grid-template-columns: 1fr;
  }
  .advantage-card {
    padding: 28px 22px;
  }
}

/* ==========================================================================
   首页招商加盟专区
   ========================================================================== */
.franchise-section {
  background: linear-gradient(135deg, var(--color-dark), var(--color-primary-dark));
  color: var(--color-white);
}

.franchise-section .section-header .section-tag {
  background: rgba(255,255,255,0.15);
  color: var(--color-primary-light);
}

.franchise-section .section-header .franchise-title {
  color: var(--color-white);
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.franchise-section .section-header .franchise-title span {
  color: var(--color-primary-light);
}

.franchise-section .section-header .franchise-subtitle {
  color: rgba(255,255,255,0.7);
  font-size: 16px;
}

.franchise-card {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.1);
}

.franchise-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.franchise-card .advantage-title {
  color: var(--color-white);
}

.franchise-card .advantage-desc {
  color: rgba(255,255,255,0.6);
}

.franchise-icon {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  color: var(--color-white);
}

.franchise-actions {
  text-align: center;
  margin-top: 40px;
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

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

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

@media (max-width: 480px) {
  .franchise-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .franchise-actions .btn {
    width: 100%;
  }
}

/* ==========================================================================
   新闻卡片
   ========================================================================== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.news-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: all .3s;
  display: flex;
  flex-direction: column;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.news-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--color-bg-alt);
}
.news-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.news-card:hover .news-card-img img { transform: scale(1.05); }
.news-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.news-card-meta { display: flex; gap: 12px; font-size: 12px; color: var(--color-text-light); margin-bottom: 10px; }
.news-card-cat { color: var(--color-primary); font-weight: 600; }
.news-card-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--color-dark);
  line-height: 1.5;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card:hover .news-card-title { color: var(--color-primary); }
.news-card-summary {
  font-size: 13px;
  color: var(--color-text-light);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 12px;
}
.news-card-link {
  font-size: 13px;
  color: var(--color-primary);
  font-weight: 600;
  margin-top: auto;
}

/* ==========================================================================
   首页新闻轮播
   ========================================================================== */
.news-carousel { position: relative; overflow: hidden; }
.news-track {
  display: flex;
  transition: transform .4s cubic-bezier(0.4, 0, 0.2, 1);
}
.news-slide {
  flex: 0 0 100%;
  padding: 0 8px;
  box-sizing: border-box;
}
.news-slide .product-card { height: 100%; }

.news-nav {
  display: flex;
  justify-content: space-between;
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  pointer-events: none;
  padding: 0 12px;
}
.news-prev,
.news-next {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-white);
  color: var(--color-primary);
  box-shadow: var(--shadow-md);
  font-size: 24px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  transition: all .2s;
}
.news-prev:hover,
.news-next:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.news-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}
.news-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-border);
  transition: all .2s;
}
.news-dots button.active {
  background: var(--color-primary);
  width: 24px;
  border-radius: 5px;
}

@media (min-width: 768px) {
  .news-slide { flex: 0 0 33.333%; padding: 0 12px; }
  .news-track { transform: translateX(0) !important; }
  .news-nav,
  .news-dots { display: none; }
}

/* ==========================================================================
   产品推荐轮播
   ========================================================================== */
.product-carousel { position: relative; overflow: hidden; }
.product-track {
  display: flex;
  transition: transform .4s cubic-bezier(0.4, 0, 0.2, 1);
}
.product-slide {
  flex: 0 0 100%;
  padding: 0 8px;
  box-sizing: border-box;
}
.product-slide .product-card { height: 100%; }

.product-nav {
  display: flex;
  justify-content: space-between;
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  pointer-events: none;
  padding: 0 8px;
}
.product-prev,
.product-next {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-white);
  color: var(--color-primary);
  box-shadow: var(--shadow-md);
  font-size: 24px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  transition: all .2s;
}
.product-prev:hover,
.product-next:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.product-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}
.product-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-border);
  transition: all .2s;
}
.product-dots button.active {
  background: var(--color-primary);
  width: 24px;
  border-radius: 5px;
}

@media (min-width: 768px) {
  .product-slide { flex: 0 0 33.333%; padding: 0 12px; }
  .product-track { transform: translateX(0) !important; }
  .product-nav,
  .product-dots { display: none; }
}

/* ==========================================================================
   案例卡片
   ========================================================================== */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.project-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: all .3s;
}
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.project-card-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--color-bg-alt);
  position: relative;
}
.project-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.project-card:hover .project-card-img img { transform: scale(1.05); }
.project-card-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 11px;
  border-radius: 12px;
  font-weight: 600;
}
.project-card-body { padding: 20px; }
.project-card-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 6px;
}
.project-card-meta {
  display: flex;
  gap: 14px;
  font-size: 12px;
  color: var(--color-text-light);
  margin-bottom: 8px;
}
.project-card-desc {
  font-size: 13px;
  color: var(--color-text-light);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-group { margin-bottom: 40px; }
.faq-group-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 16px;
  padding-left: 14px;
  border-left: 4px solid var(--color-primary);
}
.faq-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: all .2s;
}
.faq-item.open { box-shadow: var(--shadow-sm); border-color: var(--color-primary-light); }
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-dark);
  cursor: pointer;
  gap: 16px;
}
.faq-q:hover { color: var(--color-primary); }
.faq-toggle {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  transition: all .2s;
}
.faq-item.open .faq-toggle { background: var(--color-primary); color: var(--color-white); transform: rotate(45deg); }
.faq-a {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: all .3s;
  color: var(--color-text-light);
  line-height: 1.8;
  font-size: 14px;
}
.faq-item.open .faq-a { padding: 0 24px 20px; max-height: 600px; }

/* ==========================================================================
   表单
   ========================================================================== */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.form-group { display: flex; flex-direction: column; }
.form-group.full { grid-column: 1/-1; }
.form-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 6px;
}
.form-label::after { content: ' *'; color: var(--color-accent); }
.form-label.no-required::after { content: ''; }
.form-control {
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 14px;
  transition: all .2s;
  background: var(--color-white);
}
.form-control:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(164,126,59,0.1); }
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control { cursor: pointer; }

.flash {
  padding: 14px 20px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-size: 14px;
}
.flash-success { background: #E8F5E9; color: #2E7D32; border-left: 4px solid #2E7D32; }
.flash-error { background: #FFEBEE; color: #C62828; border-left: 4px solid #C62828; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--color-dark);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 24px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer h4 {
  color: var(--color-white);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 8px;
}
.footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--color-primary);
}
.footer ul li { margin-bottom: 10px; }
.footer ul li a { color: rgba(255,255,255,0.7); transition: color .2s; }
.footer ul li a:hover { color: var(--color-primary-light); padding-left: 4px; }
.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.footer-brand .footer-logo img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: var(--color-white);
  padding: 4px;
}
.footer-brand .footer-logo h3 { color: var(--color-white); font-size: 18px; }
.footer-intro { line-height: 1.8; margin-bottom: 16px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  transition: all .2s;
}
.footer-social a:hover { background: var(--color-primary); transform: translateY(-2px); }
.footer-contact li { line-height: 1.6; padding: 4px 0; }
.footer-contact strong { color: var(--color-primary-light); font-size: 12px; }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
}
.footer-bottom p { margin-bottom: 4px; }
.footer-tags { color: var(--color-primary-light); font-size: 12px; letter-spacing: 1px; }

/* ==========================================================================
   悬浮工具栏
   ========================================================================== */
.float-toolbar {
  position: fixed;
  right: 20px;
  bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 99;
}
.float-btn {
  width: 50px;
  height: 50px;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: var(--shadow-md);
  transition: all .2s;
}
.float-btn:hover { background: var(--color-primary-dark); color: var(--color-white); transform: translateY(-2px); }
.float-top { background: rgba(60,40,10,0.7); }
.float-top:hover { background: var(--color-dark); }

/* ==========================================================================
   面包屑
   ========================================================================== */
.breadcrumb {
  background: var(--color-bg-alt);
  padding: 14px 0;
  font-size: 13px;
  color: var(--color-text-light);
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
}
.breadcrumb li {
  display: inline-flex;
  align-items: center;
}
.breadcrumb a { color: var(--color-text-light); }
.breadcrumb a:hover { color: var(--color-primary); }
.breadcrumb .sep { margin: 0 8px; opacity: 0.5; }
.breadcrumb .current { color: var(--color-primary); font-weight: 600; }

/* ==========================================================================
   分类筛选
   ========================================================================== */
.filter-bar {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 24px 0;
  margin-bottom: 30px;
}
.filter-btn {
  padding: 8px 20px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  font-size: 14px;
  color: var(--color-text);
  transition: all .2s;
  font-weight: 500;
}
.filter-btn:hover { border-color: var(--color-primary); color: var(--color-primary); }
.filter-btn.active { background: var(--color-primary); color: var(--color-white); border-color: var(--color-primary); }

/* ==========================================================================
   新闻列表页
   ========================================================================== */
.news-list { display: flex; flex-direction: column; gap: 20px; max-width: 960px; margin: 0 auto; }
.news-list-card {
  display: flex;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all .3s;
  gap: 0;
}
.news-list-card:hover { box-shadow: var(--shadow-md); border-color: var(--color-primary-light); }
.news-list-img {
  flex-shrink: 0;
  width: 280px;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.news-list-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.news-list-card:hover .news-list-img img { transform: scale(1.05); }
.news-list-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.news-list-meta { display: flex; gap: 12px; font-size: 12px; color: var(--color-text-light); margin-bottom: 10px; align-items: center; }
.news-list-cat { padding: 2px 10px; background: var(--color-bg-alt); color: var(--color-primary); border-radius: 12px; font-weight: 600; }
.news-list-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 8px;
  line-height: 1.4;
}
.news-list-card:hover .news-list-title { color: var(--color-primary); }
.news-list-summary {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-list-link {
  font-size: 14px;
  color: var(--color-primary);
  font-weight: 600;
  margin-top: auto;
}

/* ==========================================================================
   加盟页面
   ========================================================================== */
.join-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.join-card {
  background: var(--color-white);
  padding: 30px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  text-align: center;
  transition: all .3s;
}
.join-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--color-primary-light); }
.join-card-icon { font-size: 32px; color: var(--color-primary); margin-bottom: 12px; }
.join-card-title { font-size: 17px; font-weight: 600; color: var(--color-dark); margin-bottom: 8px; }
.join-card-desc { font-size: 13px; color: var(--color-text-light); line-height: 1.7; }

.process-timeline { position: relative; max-width: 800px; margin: 0 auto; padding-left: 50px; }
.process-timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 30px;
  bottom: 30px;
  width: 2px;
  background: var(--color-border);
}
.process-step { position: relative; margin-bottom: 30px; padding-left: 40px; }
.process-step::before {
  content: attr(data-num);
  position: absolute;
  left: -50px;
  top: 0;
  width: 40px;
  height: 40px;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 0 0 4px var(--color-bg);
}
.process-step h4 { font-size: 17px; color: var(--color-dark); margin-bottom: 6px; }
.process-step p { font-size: 14px; color: var(--color-text-light); line-height: 1.7; }

/* ==========================================================================
   关于柏哲
   ========================================================================== */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-intro-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.about-intro-text h2 { font-size: 32px; color: var(--color-dark); margin-bottom: 20px; line-height: 1.3; }
.about-intro-text h2 span { color: var(--color-primary); }
.about-intro-text p { color: var(--color-text-light); line-height: 1.9; margin-bottom: 14px; }

.material-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}
.material-card {
  background: var(--color-white);
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  text-align: center;
  transition: all .3s;
}
.material-card:hover { border-color: var(--color-primary); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.material-icon { font-size: 32px; margin-bottom: 8px; }
.material-name { font-size: 16px; font-weight: 600; color: var(--color-dark); margin-bottom: 6px; }
.material-spec { font-size: 13px; color: var(--color-text-light); line-height: 1.6; }

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1100px) {
  .nav-link { padding: 8px 10px; font-size: 14px; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 30px; }
}

@media (max-width: 900px) {
  .top-bar { display: none; }
  :root { --header-h: 60px; }
  .header { height: var(--header-h); }
  .brand-logo { height: 36px; width: 36px; }
  .brand-name { font-size: 16px; }
  .brand-sub { font-size: 9px; }
  .logo img { height: 36px !important; width: 36px !important; }
  .logo-text { font-size: 16px; }
  .logo-text span { font-size: 9px; }

  .menu-toggle,
  .mobile-toggle { display: flex !important; }

  /* 移动端导航 - 抽屉式 (新版结构 #mainNav) */
  #mainNav {
    position: fixed;
    top: var(--header-h);
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: calc(100vh - var(--header-h));
    background: var(--color-white);
    box-shadow: -8px 0 32px rgba(0,0,0,0.1);
    transition: right .3s;
    overflow-y: auto;
    z-index: 99;
  }
  #mainNav.open { right: 0; }
  .nav-list { flex-direction: column; align-items: stretch; padding: 20px 0; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--color-border); }
  .nav-list > li:last-child { border-bottom: none; }
  .nav-link {
    padding: 16px 20px;
    font-size: 16px;
    border-radius: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .nav-link:hover, .nav-link.active { background: var(--color-bg-alt); }
  .nav-cta {
    margin: 16px 20px 0;
    text-align: center;
    border-radius: var(--radius);
  }
  .caret { transition: transform .2s; }
  .has-dropdown.open .caret { transform: rotate(180deg); }
  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: var(--color-bg-alt);
    border-radius: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s;
  }
  .has-dropdown.open .dropdown { max-height: 600px; }
  .dropdown a { padding: 12px 20px 12px 36px; font-size: 14px; }

  /* 移动端导航 - 抽屉式 (旧版结构 .nav-menu) */
  .nav-menu {
    position: fixed;
    top: var(--header-h);
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: calc(100vh - var(--header-h));
    background: var(--color-white);
    box-shadow: -8px 0 32px rgba(0,0,0,0.12);
    transition: right .35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    z-index: 99;
    flex-direction: column;
    align-items: stretch;
    padding: 8px 0 24px;
    gap: 0;
    border-top-left-radius: var(--radius-lg);
  }
  .nav-menu.open { right: 0; }
  .nav-menu > li { border-bottom: 1px solid var(--color-border); }
  .nav-menu > li:last-child { border-bottom: none; }
  .nav-menu > li > a {
    padding: 16px 20px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all .2s;
  }
  .nav-menu > li > a:hover,
  .nav-menu > li > a.active {
    background: var(--color-bg-alt);
    color: var(--color-primary);
  }
  .nav-menu > li > a.active {
    border-left: 3px solid var(--color-primary);
    padding-left: 17px;
  }
  .nav-menu .nav-cta {
    margin: 20px 20px 0;
    justify-content: center;
    border-radius: var(--radius);
    padding: 14px 20px;
    background: var(--color-primary);
    color: var(--color-white) !important;
  }
  .nav-menu .nav-cta:hover {
    background: var(--color-primary-dark);
    color: var(--color-white) !important;
  }

  /* 移动端遮罩 */
  body.nav-open { overflow: hidden; }
  body.nav-open::after {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 98;
  }

  .hero { height: 480px; }
  .hero-title { font-size: 32px; letter-spacing: 1px; }
  .hero-subtitle { font-size: 14px; letter-spacing: 2px; }
  .hero-desc { font-size: 14px; }
  .hero-actions { flex-direction: column; align-items: stretch; width: 100%; max-width: 280px; }

  .section { padding: 50px 0; }
  .section-title { font-size: 26px; }
  .franchise-section .section-header .franchise-title { font-size: 26px; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .stat-num { font-size: 32px; }

  /* 移动端新闻列表 - 横向卡片 */
  .news-list-card { flex-direction: column; }
  .news-list-img { width: 100%; aspect-ratio: 16/9; }
  .news-list-body { padding: 16px; }
  .news-list-title { font-size: 17px; }

  .news-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .project-grid { grid-template-columns: 1fr; }
  .about-intro { grid-template-columns: 1fr; gap: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-brand { grid-column: 1/-1; }
  .footer { padding: 40px 0 20px; }
  .float-toolbar { right: 12px; bottom: 16px; }
  .float-btn { width: 44px; height: 44px; font-size: 18px; }

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

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero { height: 420px; }
  .hero-title { font-size: 26px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
}

/* ==========================================================================
   辅助类
   ========================================================================== */
.text-center { text-align: center; }
.text-primary { color: var(--color-primary); }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 12px; }
.mb-2 { margin-bottom: 24px; }
.mb-3 { margin-bottom: 36px; }
.mb-4 { margin-bottom: 48px; }
.mt-2 { margin-top: 24px; }
.mt-3 { margin-top: 36px; }
.mt-4 { margin-top: 48px; }
.fade-in { animation: fadeIn 0.6s ease-out; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   兼容旧版静态HTML类名
   ========================================================================== */

/* Header */
.header .nav.container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.logo img {
  height: 44px !important;
  width: 44px !important;
  object-fit: contain;
  border-radius: var(--radius-sm);
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  color: var(--color-dark);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 1px;
}
.logo-text span {
  font-size: 10px;
  color: var(--color-primary);
  letter-spacing: 2px;
  font-weight: 500;
}
.nav-menu {
  display: flex;
  gap: 4px;
  align-items: center;
  list-style: none;
}
.nav-menu > li { position: relative; }
.nav-menu > li > a {
  display: block;
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
  border-radius: var(--radius);
  transition: all .2s;
}
.nav-menu > li > a:hover,
.nav-menu > li > a.active {
  color: var(--color-primary);
  background: var(--color-bg-alt);
}
.mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border-radius: var(--radius);
  transition: background .2s;
  font-size: 20px;
  color: var(--color-dark);
}
.mobile-toggle:hover { background: var(--color-bg-alt); }
.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-dark);
  border-radius: 1px;
  transition: all .3s;
}
.mobile-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.7) 100%);
  z-index: 1;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

/* Products */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

/* 材料配置网格：桌面3列，手机端自动单列 */
.materials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.product-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--color-bg-alt);
  position: relative;
}
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.product-card:hover .product-img img { transform: scale(1.06); }
.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 11px;
  border-radius: 12px;
  font-weight: 600;
  z-index: 2;
}
.product-info {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-info h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 8px;
}
.product-info p {
  font-size: 13px;
  color: var(--color-text-light);
  line-height: 1.6;
  margin-bottom: 12px;
  flex: 1;
}
.product-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.spec-tag {
  display: inline-block;
  padding: 2px 10px;
  background: var(--color-bg-alt);
  color: var(--color-primary);
  font-size: 11px;
  border-radius: 12px;
}

/* About */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-text h2 {
  font-size: 32px;
  color: var(--color-dark);
  margin-bottom: 20px;
  line-height: 1.3;
}
.about-text h2 span { color: var(--color-primary); }
.about-text p {
  color: var(--color-text-light);
  line-height: 1.9;
  margin-bottom: 14px;
}
.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* FAQ */
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-dark);
  cursor: pointer;
  gap: 16px;
}
.faq-question:hover { color: var(--color-primary); }
.faq-question .icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  transition: all .2s;
}
.faq-item.open .faq-question .icon {
  background: var(--color-primary);
  color: var(--color-white);
  transform: rotate(45deg);
}
.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: all .3s;
}
.faq-answer-inner {
  padding-bottom: 20px;
  color: var(--color-text-light);
  line-height: 1.8;
  font-size: 14px;
}
.faq-item.open .faq-answer { max-height: 600px; }

.section-gray { background: var(--color-bg-alt); }

/* Footer */
.footer-col .footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.footer-col .footer-logo img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: var(--color-white);
  padding: 4px;
}
.footer-col > a {
  display: block;
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  line-height: 2;
  transition: color .2s, padding-left .2s;
}
.footer-col > a:hover {
  color: var(--color-primary-light);
  padding-left: 4px;
}
.footer-col > p {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 6px;
}

/* CTA */
.cta-banner {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 60px 20px;
  text-align: center;
}
.cta-banner h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
}
.cta-banner p {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 24px;
}
.cta-banner .btn {
  background: var(--color-white);
  color: var(--color-primary);
}
.cta-banner .btn:hover {
  background: var(--color-bg-alt);
  color: var(--color-primary-dark);
}

/* Projects */
.project-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--color-bg-alt);
  position: relative;
}
.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.project-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 11px;
  border-radius: 12px;
  font-weight: 600;
}
.project-info { padding: 20px; }
.project-info h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 6px;
}
.project-meta {
  display: flex;
  gap: 14px;
  font-size: 12px;
  color: var(--color-text-light);
  margin-bottom: 8px;
}
.project-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--color-border);
}
.stat-val {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
}
.placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--color-text-light);
  background: var(--color-bg-alt);
  gap: 8px;
}
.placeholder svg {
  width: 48px;
  height: 48px;
  opacity: 0.4;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: start;
}
.contact-info-card {
  background: var(--color-white);
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}
.contact-info-card h3 {
  font-size: 20px;
  color: var(--color-dark);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-primary-light);
}
.contact-info-card p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--color-text);
}
.contact-info-card .icon {
  font-size: 16px;
}
.contact-form {
  background: var(--color-white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.contact-form .form-group {
  margin-bottom: 20px;
}
.contact-form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 6px;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 14px;
  transition: all .2s;
  background: var(--color-white);
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(164,126,59,0.1);
}
.contact-form textarea { resize: vertical; min-height: 120px; }

/* Join */
.franchise-hero {
  background: linear-gradient(135deg, var(--color-dark), var(--color-primary-dark));
  color: var(--color-white);
  padding: 80px 20px;
  text-align: center;
}
.franchise-hero h1 {
  font-size: 42px;
  margin-bottom: 20px;
  font-weight: 800;
}
.franchise-hero p {
  font-size: 16px;
  opacity: 0.85;
  max-width: 700px;
  margin: 0 auto 32px;
}
.join-models {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.join-model-card {
  background: var(--color-white);
  padding: 30px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  text-align: center;
  transition: all .3s;
}
.join-model-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary-light);
}
.model-icon {
  font-size: 32px;
  color: var(--color-primary);
  margin-bottom: 12px;
}
.model-desc {
  font-size: 13px;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 16px;
}
.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}
.support-card {
  background: var(--color-white);
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  text-align: center;
  transition: all .3s;
}
.support-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  border-color: var(--color-primary-light);
}
.support-icon {
  font-size: 32px;
  color: var(--color-primary);
  margin-bottom: 8px;
}
.step-content { margin-bottom: 30px; padding-left: 40px; position: relative; }
.step-number {
  position: absolute;
  left: -50px;
  top: 0;
  width: 40px;
  height: 40px;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
}

/* Products Page */
.category-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 24px 0;
  margin-bottom: 30px;
}
.category-tabs .tab-btn,
.tab-btn {
  padding: 8px 20px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  font-size: 14px;
  color: var(--color-text);
  transition: all .2s;
  font-weight: 500;
  cursor: pointer;
}
.category-tabs .tab-btn:hover,
.tab-btn:hover { border-color: var(--color-primary); color: var(--color-primary); }
.category-tabs .tab-btn.active,
.tab-btn.active { background: var(--color-primary); color: var(--color-white); border-color: var(--color-primary); }
.category-scene {
  margin-bottom: 25px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.category-scene img { width: 100%; height: 280px; object-fit: cover; }
.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
  font-size: 13px;
}
.spec-table tr { border-bottom: 1px solid var(--color-border); }
.spec-table td {
  padding: 8px 12px;
  color: var(--color-text-light);
}
.spec-table td:first-child {
  font-weight: 600;
  color: var(--color-text);
  width: 40%;
}

/* Requirements */
.requirements-list h4 {
  font-size: 17px;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 12px;
  margin-top: 25px;
}
.requirements-list ul {
  list-style: disc;
  padding-left: 20px;
  color: var(--color-text-light);
  line-height: 1.8;
}
.requirements-list li { margin-bottom: 6px; }

/* 加盟条件卡片 */
.requirements-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}
.requirement-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: all .3s;
}
.requirement-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary-light);
  transform: translateY(-4px);
}
.requirement-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 18px;
}
.requirement-card h4 {
  font-size: 1.15rem;
  color: var(--color-dark);
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 10px;
}
.requirement-card h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--color-primary);
}
.requirement-card ul {
  list-style: none;
}
.requirement-card li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 10px;
  color: var(--color-text-light);
  line-height: 1.7;
}
.requirement-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
}

@media (max-width: 900px) {
  .requirements-grid { grid-template-columns: 1fr; }
  .requirement-card { padding: 24px; }
}

/* Projects CTA */
.projects-cta {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 60px 20px;
  text-align: center;
}
.projects-cta h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
}
.projects-cta p {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 24px;
}

/* ==========================================================================
   详情页通用样式
   ========================================================================== */
.detail-page { padding-top: 30px; }

.detail-header {
  max-width: 900px;
  margin: 0 auto 30px;
  text-align: center;
}

.detail-tag {
  display: inline-block;
  padding: 4px 16px;
  background: var(--color-bg-alt);
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.detail-title {
  font-size: 34px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 16px;
  line-height: 1.3;
}

.detail-meta {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  color: var(--color-text-light);
  font-size: 14px;
  margin-bottom: 24px;
}

.detail-hero {
  max-width: 1100px;
  margin: 0 auto 40px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.detail-hero img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.detail-content {
  max-width: 900px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text);
}

.detail-content h2 {
  font-size: 24px;
  color: var(--color-dark);
  margin: 40px 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-border);
}

.detail-content h3 {
  font-size: 20px;
  color: var(--color-dark);
  margin: 28px 0 12px;
}

.detail-content p {
  margin-bottom: 16px;
}

.detail-content ul,
.detail-content ol {
  margin-bottom: 20px;
  padding-left: 24px;
}

.detail-content li {
  margin-bottom: 8px;
}

.detail-content img {
  max-width: 100%;
  border-radius: var(--radius);
  margin: 20px 0;
}

.detail-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.detail-gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius);
  margin: 0;
}

.detail-specs {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  background: var(--color-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.detail-specs th,
.detail-specs td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.detail-specs th {
  background: var(--color-bg-alt);
  color: var(--color-dark);
  font-weight: 600;
  width: 35%;
}

.detail-specs tr:last-child th,
.detail-specs tr:last-child td {
  border-bottom: none;
}

.detail-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.detail-feature {
  background: var(--color-bg-alt);
  padding: 24px;
  border-radius: var(--radius);
  text-align: center;
}

.detail-feature-icon {
  width: 56px;
  height: 56px;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 12px;
}

.detail-feature h4 {
  font-size: 16px;
  color: var(--color-dark);
  margin-bottom: 8px;
}

.detail-feature p {
  font-size: 13px;
  color: var(--color-text-light);
  margin: 0;
}

.detail-nav {
  max-width: 900px;
  margin: 50px auto 0;
  padding-top: 30px;
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.detail-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-primary);
  font-weight: 500;
  transition: color .2s;
}

.detail-nav a:hover {
  color: var(--color-primary-dark);
}

.detail-cta {
  background: var(--color-dark);
  color: var(--color-white);
  padding: 50px 20px;
  text-align: center;
  margin-top: 60px;
}

.detail-cta h2 {
  font-size: 28px;
  margin-bottom: 12px;
}

.detail-cta p {
  opacity: 0.8;
  margin-bottom: 24px;
}

.detail-related {
  max-width: 1100px;
  margin: 60px auto 0;
}

.detail-related h2 {
  text-align: center;
  font-size: 26px;
  color: var(--color-dark);
  margin-bottom: 30px;
}

.detail-related .products-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* ==========================================================================
   新闻资讯列表
   ========================================================================== */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.news-list-item {
  display: flex;
  flex-direction: row;
  gap: 24px;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: all .3s;
}
.news-list-item:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary-light);
}
.news-list-thumb {
  flex-shrink: 0;
  width: 320px;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.news-list-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.news-list-item:hover .news-list-thumb img {
  transform: scale(1.05);
}
.news-list-body {
  flex: 1;
  padding: 24px 24px 24px 0;
  display: flex;
  flex-direction: column;
}
.news-list-meta {
  color: var(--color-text-light);
  font-size: .85rem;
  margin-bottom: 8px;
}
.news-list-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 12px;
  line-height: 1.4;
}
.news-list-title a:hover { color: var(--color-primary); }
.news-list-desc {
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 16px;
  flex: 1;
}
.news-list-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.news-list-readmore {
  margin-left: auto;
  color: var(--color-primary);
  font-weight: 600;
  font-size: .9rem;
}

@media (max-width: 768px) {
  .news-list-item {
    flex-direction: column;
    gap: 0;
  }
  .news-list-thumb {
    width: 100%;
    aspect-ratio: 16/9;
  }
  .news-list-body {
    padding: 16px;
  }
  .news-list-title {
    font-size: 1.1rem;
    margin-bottom: 8px;
  }
  .news-list-desc {
    font-size: .95rem;
    margin-bottom: 12px;
  }
  .news-list-readmore {
    margin-left: 0;
    width: 100%;
    margin-top: 4px;
  }
}

@media (max-width: 768px) {
  .detail-title { font-size: 24px; }
  .detail-hero img { height: 260px; }
  .detail-content { font-size: 15px; }
  .detail-content h2 { font-size: 20px; }
  .detail-content h3 { font-size: 17px; }
}

/* Responsive for legacy classes */
@media (max-width: 900px) {
  .about-content { grid-template-columns: 1fr; gap: 30px; }
  .contact-grid { grid-template-columns: 1fr; gap: 24px; }
  .products-grid { grid-template-columns: 1fr; }
  .materials-grid { grid-template-columns: 1fr; }
  .advantages-grid { grid-template-columns: 1fr; }
  .join-advantages { grid-template-columns: 1fr; }
  .support-grid { grid-template-columns: 1fr; }
  .category-tabs {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding: 16px 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .category-tabs::-webkit-scrollbar { display: none; }
  .category-tabs .tab-btn,
  .tab-btn { white-space: nowrap; }
  .hero-content h1 { font-size: 32px; }
  .about-text h2 { font-size: 26px; }
  .faq-question { padding: 14px 16px; font-size: 14px; }
  .faq-answer { padding: 0 16px; }
  .cta-banner { padding: 40px 16px; }
  .cta-banner h2 { font-size: 22px; }

  /* 底部手机端排版 */
  .footer { padding: 40px 0 20px; }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: auto;
    gap: 28px 20px;
  }
  .footer-col:first-child {
    grid-column: 1 / -1;
  }
  .footer-col:last-child {
    grid-column: 1 / -1;
    grid-row: auto;
  }
  .footer h4 { margin-bottom: 12px; }
  .footer-col:first-child .footer-logo { margin-bottom: 12px; }
  .footer-bottom { padding-top: 20px; }
}
@media (max-width: 480px) {
  .franchise-hero h1 { font-size: 26px; }
  .stats-grid { grid-template-columns: 1fr; gap: 16px; }
  .hero-content h1 { font-size: 26px; }
  .hero-content p { font-size: 14px; }
  .section-header h2 { font-size: 22px; }
  .franchise-section .section-header .franchise-title { font-size: 22px; }
  .franchise-section .section-header .franchise-subtitle { font-size: 14px; }
  .product-info { padding: 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer { padding: 40px 0 20px; }
  .footer-col > a { line-height: 2.2; }
  .footer-bottom { padding-top: 20px; }
}
