/* ============================================================
   信宇门窗 - 全局样式表 v2.0
   设计理念：高端、专业、大气
   品牌色：#EC5412 (活力橙)
   ============================================================ */

/* ---------- CSS 变量 ---------- */
:root {
  --primary: #EC5412;
  --primary-dark: #C4460F;
  --primary-light: #FF7A3D;
  --dark: #1a1a2e;
  --dark-2: #16213e;
  --white: #ffffff;
  --bg-light: #f8f9fa;
  --bg-gray: #f0f1f3;
  --text-dark: #1c1c1c;
  --text-body: #444444;
  --text-muted: #888888;
  --border: #e8e8e8;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 6px 24px rgba(0,0,0,0.10);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.14);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.18);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --max-width: 1200px;
}

/* ---------- 基础重置 ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: "Noto Sans SC", "HarmonyOS Sans SC", "Source Han Sans SC", -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text-body);
  line-height: 1.7;
  background: var(--white);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ---------- 通用容器 ---------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- 通用区块标题 ---------- */
.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.section-title .subtitle {
  font-size: 16px;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.section-title .divider {
  display: inline-block;
  width: 60px;
  height: 3px;
  background: var(--primary);
  margin-top: 16px;
  border-radius: 2px;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-block;
  padding: 14px 36px;
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 1px;
  border: none;
  text-align: center;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(236, 84, 18, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
}

.btn-white:hover {
  background: var(--bg-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ============================================================
   导航栏
   ============================================================ */
header {
  position: sticky;
  top: 0;
  z-index: 1000; 
  background: rgba(26, 26, 46, 0.80);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: var(--transition);
}

.nav-wrapper {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 94px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo img {
  width: 55px;
  height: 55px;
  object-fit: contain;
}

.nav-logo span {
  font-size: 25px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 2px;
}

/* 桌面导航 */
.nav-links {
  display: flex;
  gap: 40px;
}

.nav-link {
  position: relative;
  font-size: 18px;
  font-weight: 500;
  color: rgba(255,255,255,0.78);
  padding: 8px 0;
  letter-spacing: 2px;
}

.nav-link:hover {
  color: var(--white);
}

.nav-link.active {
  color: var(--primary);
  font-weight: 600;
}

.nav-link.active::after,
.nav-link:hover::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

/* 移动端按钮 */
.mobile-menu-btn {
  display: none;
}

.mobile-nav {
  display: none;
}

/* ---------- 导航栏响应式 ---------- */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    cursor: pointer;
    z-index: 1001;
  }

  .mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2.5px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
  }

  .mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
  }

  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
  }

  .mobile-nav {
    display: none;
    flex-direction: column;
    background: var(--dark);
    padding: 16px 24px;
  }

  .mobile-nav.active {
    display: flex;
  }

  .mobile-nav .nav-link {
    padding: 14px 0;
    font-size: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
}

/* ============================================================
   Hero 全屏轮播
   ============================================================ */
.home-banner {
  position: relative;
  height: 100vh;
  min-height: 600px;
  max-height: 860px;
  overflow: hidden;
  background: var(--dark);
}

.banner-slider {
  width: 100%;
  height: 100%;
}

.banner-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.banner-item.active {
  opacity: 1;
}

/* 遮罩层 */
.home-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 26, 46, 0.75) 0%,
    rgba(26, 26, 46, 0.35) 50%,
    rgba(26, 26, 46, 0.6) 100%
  );
  z-index: 1;
}

/* 轮播文字层 */
.banner-text-slider {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-text {
  position: absolute;
  text-align: center;
  color: var(--white);
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
  max-width: 720px;
  padding: 0 24px;
}

.banner-text.active {
  opacity: 1;
  transform: translateY(0);
}

.banner-text .tag {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 20px;
  padding: 6px 20px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 30px;
}

.banner-text h1 {
  font-size: 52px;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: 4px;
  line-height: 1.2;
}

.banner-text p {
  font-size: 20px;
  font-weight: 300;
  margin-bottom: 36px;
  opacity: 0.9;
  letter-spacing: 2px;
  line-height: 1.6;
}

.banner-btn {
  display: inline-block;
  padding: 16px 42px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 2px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50px;
  transition: var(--transition);
}

.banner-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(236, 84, 18, 0.4);
}

/* 轮播指示器 */
.banner-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 12px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active,
.dot:hover {
  background: var(--primary);
  transform: scale(1.2);
}

/* Hero 滚动提示箭头 */
.scroll-hint {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 12px;
  letter-spacing: 2px;
  animation: bounce 2s infinite;
}

.scroll-hint span {
  display: block;
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.3);
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ---------- Hero 响应式 ---------- */
@media (max-width: 768px) {
  .home-banner {
    height: 70vh;
    min-height: 480px;
  }

  .banner-text h1 {
    font-size: 32px;
    letter-spacing: 2px;
  }

  .banner-text p {
    font-size: 15px;
  }

  .banner-text .tag {
    font-size: 12px;
    letter-spacing: 2px;
  }

  .banner-btn {
    padding: 14px 32px;
    font-size: 14px;
  }
}

/* ============================================================
   数字信任区
   ============================================================ */
.trust-bar {
  background: var(--white);
  padding: 50px 0;
  border-bottom: 1px solid var(--border);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.trust-item .number {
  font-size: 42px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}

.trust-item .number span {
  font-size: 24px;
  margin-left: 2px;
}

.trust-item .label {
  font-size: 14px;
  color: var(--text-muted);
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .trust-item .number {
    font-size: 32px;
  }
}

/* ============================================================
   核心优势
   ============================================================ */
.advantages {
  padding: 100px 0;
  background: var(--bg-light);
}

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.advantage-card {
  background: var(--white);
  padding: 40px 28px 32px;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: var(--transition);
  border: 1px solid transparent;
}

.advantage-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255, 0, 0, 0.5);
}

.advantage-card .icon-wrap {
  width: 180px;
  height: 180px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(236, 84, 18, 0.06);
  border-radius: 50%;
}

.advantage-card .icon-wrap img {
  width: 172px;
  height: 172px;
  object-fit: contain;
}

.advantage-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.advantage-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

@media (max-width: 992px) {
  .advantage-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .advantage-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   产品分类展示
   ============================================================ */
.products-home {
  padding: 100px 0;
}

.product-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-body);
  background: var(--bg-gray);
  border: 1.5px solid transparent;
  transition: var(--transition);
}

.tab img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.tab:hover {
  background: #e8e8e8;
}

.tab.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(236, 84, 18, 0.3);
}

.product-grid {
  columns: 3;
  column-gap: 28px;
}

.product-card {
  break-inside: avoid;
  margin-bottom: 28px;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  cursor: pointer;
  display: block;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.product-card .card-img {
  width: 100%;
  height: 240px;
  overflow: hidden;
}

.product-card .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .card-img img {
  transform: scale(1.06);
}

.product-card .card-body {
  padding: 20px 20px 24px;
}

.product-card .card-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.product-card .card-body p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
}

.product-card .card-body .card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
}

.product-card .card-body .card-link::after {
  content: ">>";
  transition: var(--transition);
}

.product-card:hover .card-body .card-link::after {
  transform: translateX(4px);
}

@media (max-width: 992px) {
  .product-grid {
    columns: 2;
  }
}

@media (max-width: 576px) {
  .product-grid {
    columns: 1;
  }
}

/* ============================================================
   案例展示区（首页）
   ============================================================ */
.cases-home {
  padding: 100px 0;
  background: var(--bg-light);
}

.case-grid {
  columns: 2;
  column-gap: 24px;
}

.case-card {
  break-inside: avoid;
  margin-bottom: 24px;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  display: block;
  aspect-ratio: 16 / 10;
}

.case-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.case-card:hover img {
  transform: scale(1.08);
}

.case-card .case-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  transition: var(--transition);
}

.case-card .case-overlay h4 {
  color: var(--white);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
}

.case-card .case-overlay span {
  color: rgba(255,255,255,0.8);
  font-size: 13px;
}

.case-cta {
  text-align: center;
  margin-top: 40px;
}

@media (max-width: 768px) {
  .case-grid {
    columns: 1;
  }
}

/* ============================================================
   CTA 行动号召区
   ============================================================ */
.cta-section {
  padding: 90px 0;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  text-align: center;
  color: var(--white);
}

.cta-section h2 {
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.cta-section p {
  font-size: 16px;
  opacity: 0.8;
  margin-bottom: 36px;
  letter-spacing: 1px;
}

.cta-section .btn-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   底部 Footer
   ============================================================ */
footer {
  background: var(--dark);
  color: rgba(255,255,255,0.75);
  padding: 60px 0 0;
}

.footer-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo .logo-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.footer-logo .logo-row span {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 2px;
}

.footer-logo .slogan {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}

footer h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.footer-contact p {
  font-size: 14px;
  margin-bottom: 12px;
  color: rgba(255,255,255,0.6);
}

.footer-social .social-icons {
  display: flex;
  gap: 16px;
}

.footer-social .social-icons img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  opacity: 0.7;
  transition: var(--transition);
}

.footer-social .social-icons img:hover {
  opacity: 1;
  transform: scale(1.1);
}

.footer-bottom {
  text-align: center;
  padding: 24px;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

.footer-bottom p {
  margin-bottom: 4px;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 480px) {
  .footer-content {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   社交媒体侧边栏
   ============================================================ */
.social-sidebar {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 998;
}

.social-item {
  position: relative;
  width: 44px;
  height: 44px;
  cursor: pointer;
  transition: var(--transition);
}

.social-item:hover {
  transform: scale(1.12);
}

.social-item > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 20%;
  box-shadow: var(--shadow-sm);
}

.qrcode-popup {
  position: absolute;
  right: 58px;
  top: 50%;
  transform: translateY(-50%);
  width: 150px;
  padding: 12px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  text-align: center;
  display: none;
}

.qrcode-popup img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  margin-bottom: 8px;
}

.qrcode-popup p {
  font-size: 13px;
  color: var(--text-dark);
  font-weight: 500;
}

.social-item:hover .qrcode-popup {
  display: block;
}

@media (max-width: 768px) {
  .social-sidebar {
    display: none;
  }
}

/* ============================================================
   页面通用头部（子页面 Banner 简化版）
   ============================================================ */
.page-hero {
  position: relative;
  height: 360px;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(26,26,46,0.5), rgba(26,26,46,0.8));
}

.page-hero .hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
}

.page-hero .hero-content h1 {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: 4px;
  margin-bottom: 12px;
}

.page-hero .hero-content p {
  font-size: 16px;
  opacity: 0.8;
  letter-spacing: 2px;
}

@media (max-width: 768px) {
  .page-hero {
    height: 260px;
  }

  .page-hero .hero-content h1 {
    font-size: 30px;
  }
}

/* ============================================================
   产品列表页
   ============================================================ */
.products-page {
  padding: 80px 0;
}

.products-page .product-tabs {
  margin-bottom: 50px;
}

/* ============================================================
   产品详情页模板
   ============================================================ */
.product-detail {
  padding: 80px 0;
}

.product-overview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  margin-bottom: 80px;
}

.product-gallery {
  position: sticky;
  top: 100px;
}

.product-gallery .main-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
  box-shadow: var(--shadow-md);
}

.product-gallery .thumb-list {
  display: flex;
  gap: 12px;
}

.product-gallery .thumb-list img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}

.product-gallery .thumb-list img:hover,
.product-gallery .thumb-list img.active {
  border-color: var(--primary);
}

.product-info h1 {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.product-info .subtitle {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.7;
}

.product-info .price-tag {
  display: inline-block;
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
  width: 100%;
}

.product-info .price-tag small {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-muted);
}

/* 产品参数表 */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0 32px;
}

.specs-table tr {
  border-bottom: 1px solid var(--border);
}

.specs-table td {
  padding: 14px 0;
  font-size: 15px;
}

.specs-table td:first-child {
  color: var(--text-muted);
  width: 120px;
  font-weight: 500;
}

.specs-table td:last-child {
  color: var(--text-dark);
  font-weight: 600;
}

/* 产品特性 */
.product-info .features h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.product-info .feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.product-info .feature-list li {
  font-size: 14px;
  color: var(--text-body);
  padding-left: 24px;
  position: relative;
}

.product-info .feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.product-info .btn-group {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

/* 详情选项卡 */
.product-tabs-detail {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--border);
  margin-bottom: 40px;
}

.product-tabs-detail .detail-tab {
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: var(--transition);
}

.product-tabs-detail .detail-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.detail-content {
  line-height: 1.9;
  color: var(--text-body);
}

.detail-content h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 32px 0 16px;
}

.detail-content p {
  margin-bottom: 16px;
}

.detail-content img {
  width: 100%;
  border-radius: var(--radius);
  margin: 24px 0;
}

/* 相关产品 */
.related-products {
  padding: 80px 0;
  background: var(--bg-light);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.related-grid .product-card,
.related-grid .case-item {
  margin-bottom: 0;
}

@media (max-width: 992px) {
  .product-overview {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .product-gallery {
    position: static;
  }

  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .related-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   案例列表页
   ============================================================ */
.cases-page {
  padding: 80px 0;
}

.cases-grid {
  columns: 3;
  column-gap: 28px;
}

.case-item {
  break-inside: avoid;
  margin-bottom: 28px;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  cursor: pointer;
  display: block;
}

.case-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.case-item .case-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.case-item .case-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.case-item:hover .case-img img {
  transform: scale(1.06);
}

.case-item .case-body {
  padding: 20px;
}

.case-item .case-body .case-date {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.case-item .case-body h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.case-item .case-body p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 分页 */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 50px;
}

.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-body);
  background: var(--bg-gray);
  transition: var(--transition);
}

.page-btn:hover {
  background: #e0e0e0;
}

.page-btn.active {
  background: var(--primary);
  color: var(--white);
}

.page-btn.prev,
.page-btn.next {
  width: auto;
  padding: 0 18px;
}

@media (max-width: 992px) {
  .cases-grid {
    columns: 2;
  }
}

@media (max-width: 576px) {
  .cases-grid {
    columns: 1;
  }
}

/* ============================================================
   案例详情页模板
   ============================================================ */
.case-detail {
  padding: 80px 0;
}

.case-detail .case-hero-img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: 40px;
  box-shadow: var(--shadow-md);
}

.case-info-bar {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  padding: 30px;
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  margin-bottom: 40px;
}

.case-info-bar .info-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.case-info-bar .info-item .label {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.case-info-bar .info-item .value {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
}

.case-detail h1 {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.case-detail .case-meta {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.case-detail .case-body {
  line-height: 1.9;
  color: var(--text-body);
}

.case-detail .case-body h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 40px 0 16px;
  padding-left: 16px;
  border-left: 3px solid var(--primary);
}

.case-detail .case-body p {
  margin-bottom: 18px;
  font-size: 15px;
}

.case-detail .case-body img {
  width: 100%;
  border-radius: var(--radius);
  margin: 24px 0;
}

/* 对比图 */
.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 32px 0;
}

.before-after .ba-item {
  text-align: center;
}

.before-after .ba-item img {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}

.before-after .ba-item span {
  display: inline-block;
  margin-top: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 1px;
}

/* ============================================================
   关于我们页面
   ============================================================ */
.about-page {
  padding: 80px 0;
}

.about-intro {
  max-width: 800px;
  margin: 0 auto 60px;
  text-align: center;
}

.about-intro p {
  font-size: 16px;
  line-height: 2;
  color: var(--text-body);
}

.about-map {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 60px;
}

.about-map img {
  width: 100%;
  max-height: 450px;
  object-fit: cover;
}

.about-map .map-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
  padding: 40px;
}

.about-map .map-overlay h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: 2px;
}

.about-map .map-overlay p {
  font-size: 15px;
  opacity: 0.9;
  margin-bottom: 6px;
}

.about-map-img {
  margin-bottom: 40px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.about-map-img img {
  width: 100%;
  max-height: 650px;
  object-fit: cover;
  display: block;
}

.about-service-points {
  max-width: 500px;
  margin: 0 auto 20px;
}

.service-point {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 16px;
  color: var(--text-body);
}

.service-point:last-child {
  border-bottom: none;
}

.service-point .point-icon {
  width: 28px;
  height: 28px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .about-page {
    padding: 50px 0;
  }

  .about-intro {
    margin-bottom: 40px;
    padding: 0 20px;
  }

  .about-intro p {
    font-size: 14px;
    line-height: 1.8;
  }

  .about-map {
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 30px;
  }

  .about-map img {
    max-height: 240px;
  }

  .about-map .map-overlay {
    padding: 24px 20px;
  }

  .about-map .map-overlay h3 {
    font-size: 18px;
    letter-spacing: 1px;
  }

  .about-map .map-overlay p {
    font-size: 13px;
  }

  .about-map .map-overlay .btn {
    margin-top: 14px;
    padding: 10px 24px;
    font-size: 13px;
  }

  .cta-section {
    padding: 60px 24px;
  }

  .cta-section h2 {
    font-size: 24px;
  }

  .cta-section p {
    font-size: 14px;
    margin-bottom: 28px;
  }
}

/* ============================================================
   服务页面
   ============================================================ */
.service-page {
  padding: 80px 0;
}

.service-flow {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.service-item {
  display: flex;
  align-items: center;
  gap: 50px;
}

.service-item.reverse {
  flex-direction: row-reverse;
}

.service-item .service-img {
  flex: 1;
  min-width: 300px;
}

.service-item .service-img img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.service-item .service-text {
  flex: 1;
  min-width: 300px;
}

.service-item .service-text .step-num {
  font-size: 48px;
  font-weight: 800;
  color: var(--primary);
  opacity: 0.2;
  line-height: 1;
  margin-bottom: 8px;
}

.service-item .service-text h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.service-item .service-text p {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.8;
}

@media (max-width: 768px) {
  .service-item,
  .service-item.reverse {
    flex-direction: column;
    gap: 30px;
  }

  .service-item .service-img {
    min-width: 100%;
  }

  .service-item .service-img img {
    height: 220px;
  }
}

/* ============================================================
   滚动动画
   ============================================================ */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.7s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   辅助类
   ============================================================ */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mt-60 { margin-top: 60px; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }
.mb-60 { margin-bottom: 60px; }
