/* ============================================
   武汉齐心成实业有限公司 - 共用样式
   主题色：粉色 + 紫色 + 驼色 + 深咖色（亮色系）
   ============================================ */

:root {
  --pink: #FF69B4;
  --pink-light: #FF8DC7;
  --pink-dark: #E84A9A;
  --purple: #9B59B6;
  --purple-light: #BA68C8;
  --camel: #C19A6B;
  --camel-light: #D4B896;
  --camel-dark: #A0785A;
  --coffee: #5D4037;
  --coffee-light: #795548;
  --bg-white: #FFFFFF;
  --bg-warm: #FFFAFF;
  --bg-light: #FFF5F9;
  --text-dark: #2D2D2D;
  --text-gray: #666666;
  --text-light: #999999;
  --border: #F0D0E8;
  --shadow: rgba(255, 105, 180, 0.12);
  --radius: 12px;
  --radius-sm: 8px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  overflow-x: hidden;
  font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.7;
  font-size: 16px;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
input, textarea, button { font-family: inherit; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.header {
  background: var(--bg-white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo { display:flex; align-items:center; gap:1px; font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif; font-weight: 900; letter-spacing: 2px; font-size: 24px;

  color: var(--pink);

}

.logo-img { height:70px; width:auto; display:block; }
.logo-qxc { background: linear-gradient(135deg, #FF69B4, #9B59B6); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.logo-dot { color: var(--pink); font-weight: 400; margin: 0 1px; }

.nav { display: flex; gap: 8px; }

.nav a {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  color: var(--text-dark);
  transition: 0.3s;
}

.nav a:hover, .nav a.active {
  background: var(--pink);
  color: white;
}

.nav-toggle { display: none; cursor: pointer; font-size: 24px; color: var(--pink); }

.footer {
  background: #3E2723;
  color: rgba(255,255,255,0.7);
  padding: 48px 0 24px;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer h4 {
  color: var(--camel);
  font-size: 16px;
  margin-bottom: 16px;
}

.footer p, .footer a {
  font-size: 14px;
  line-height: 2;
  color: rgba(255,255,255,0.6);
}

.footer a:hover { color: var(--camel-light); }

.footer-bottom {
  max-width: 1200px;
  margin: 32px auto 0;
  padding: 16px 24px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

.page-header {
  background: linear-gradient(135deg, #FF69B4 0%, #BA68C8 40%, #9B59B6 70%, #C19A6B 100%);
  padding: 60px 0;
  text-align: center;
  color: white;
}

.page-header h1 {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.page-header p {
  font-size: 16px;
  opacity: 0.9;
}

.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title h2 {
  font-size: 30px;
  color: var(--text-dark);
  font-weight: 700;
  margin-bottom: 10px;
}

.section-title .sub {
  font-size: 16px;
  color: var(--text-gray);
}

.section-title .line {
  width: 60px;
  height: 4px;
  background: linear-gradient(to right, var(--pink), var(--purple), var(--camel));
  border-radius: 2px;
  margin: 14px auto 0;
}

.btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: 0.3s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--pink), var(--pink-dark));
  color: white;
  box-shadow: 0 4px 15px rgba(255, 105, 180, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 105, 180, 0.45);
}

.btn-camel {
  background: linear-gradient(135deg, var(--camel), var(--camel-dark));
  color: white;
  box-shadow: 0 4px 15px rgba(193, 154, 107, 0.35);
}

.btn-camel:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(193, 154, 107, 0.45);
}

/* mobile styles consolidated at end of file */

/* ---------- 统一页面横幅（几何装饰风格） ---------- */
.page-header {
  background: #FFF0F8;
  padding: 0;
  height: 280px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-header .c1 {
  position: absolute; width: 450px; height: 450px; border-radius: 50%;
  background: linear-gradient(135deg,#FF69B4,#FF8DC7); opacity: 0.12; top:-120px; right:-80px;
}
.page-header .c2 {
  position: absolute; width: 350px; height: 350px; border-radius: 50%;
  background: linear-gradient(135deg,#9B59B6,#BA68C8); opacity: 0.1; bottom:-100px; left:-60px;
}
.page-header .c3 {
  position: absolute; width: 160px; height: 160px; border-radius: 50%;
  background: linear-gradient(135deg,#C19A6B,#D4B896); opacity: 0.2; top:25%; left:6%;
}
.page-header .c4 {
  position: absolute; width: 100px; height: 100px; border-radius: 50%;
  background: #FF69B4; opacity: 0.12; bottom:22%; right:10%;
}
.page-header .ln1 {
  position: absolute; width:1px; height:160px;
  background: linear-gradient(to bottom,transparent,#FF69B4,transparent); opacity:0.3; top:10%; right:18%;
}
.page-header .ln2 {
  position: absolute; width:1px; height:120px;
  background: linear-gradient(to bottom,transparent,#9B59B6,transparent); opacity:0.25; bottom:12%; left:15%;
}
.page-header .dot { position:absolute; border-radius:50%; opacity:0.4; }
.page-header .d1 { width:7px; height:7px; background:#FF69B4; top:18%; left:22%; }
.page-header .d2 { width:5px; height:5px; background:#9B59B6; top:55%; right:28%; }
.page-header .d3 { width:8px; height:8px; background:#C19A6B; bottom:28%; left:32%; }
.page-header .d4 { width:4px; height:4px; background:#FF69B4; top:38%; right:7%; }
.page-header-inner {
  position: relative; z-index: 1; text-align: center; padding: 0 32px;
}
.page-header h1 {
  font-size: 42px; font-weight: 900; color: #3E2723; letter-spacing: 4px; margin-bottom: 12px;
}
.page-header p { font-size: 16px; color: #888; }


/* ---------- 面包屑导航 ---------- */
.breadcrumb { max-width: 1200px; margin: 0 auto; padding: 14px 24px; font-size: 13px; color: #999; }
.breadcrumb a { color: #9B59B6; text-decoration: none; }
.breadcrumb a:hover { color: #FF69B4; }
.breadcrumb .sep { margin: 0 6px; color: #ccc; }
.breadcrumb .current { color: #666; font-weight: 500; }

/* ---------- about页面文字区块 ---------- */
.about-text-block {
  background: white;
  border-radius: 16px;
  padding: 40px 40px;
  margin-bottom: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}
.about-text-block h2 {
  font-size: 26px;
  color: #3E2723;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 3px solid var(--pink);
  display: inline-block;
}
.about-text-block p {
  font-size: 15px;
  color: #555;
  line-height: 2.1;
  margin-bottom: 16px;
  text-align: justify;
}

/* 右下角悬浮按钮 */
.float-btns { position:fixed; bottom:80px; right:24px; z-index:9999; display:flex; flex-direction:column; gap:12px; }
.float-btn { width:56px; height:56px; border-radius:50%; border:none; cursor:pointer; display:flex; align-items:center; justify-content:center; font-size:22px; color:white; text-decoration:none; box-shadow:0 4px 18px rgba(0,0,0,0.18); transition:transform 0.2s, box-shadow 0.2s; }
.float-btn:hover { transform:translateY(-3px); box-shadow:0 6px 28px rgba(0,0,0,0.3); }
.float-btn.tel { background:linear-gradient(135deg,#38a169,#276749); }
.float-btn.nav { background:linear-gradient(135deg,#3182ce,#2a4365); }

/* ============================================
   移动端响应式适配 (≤768px)
   ============================================ */
@media (max-width: 768px) {

  /* --- 通用 --- */
  body { font-size: 14px; }
  .container { padding: 0 16px; }

  /* --- 导航 --- */
  .header-inner { padding: 0 16px; height: 58px; }
  .logo { font-size: 20px; }
  .logo-img { height: 44px; }
  .nav { display: none; flex-direction: column; position: absolute; top: 58px; left: 0; right: 0; background: white; box-shadow: 0 4px 12px rgba(0,0,0,0.1); padding: 12px; gap: 4px; }
  .nav.open { display: flex; }
  .nav-toggle { display: block; }
  .nav a { padding: 10px 16px; font-size: 14px; }
  .float-btn { display: flex !important; }

  /* --- 页面横幅 --- */
  .page-header { height: 180px; }
  .page-header h1 { font-size: 24px !important; letter-spacing: 2px !important; }
  .page-header p { font-size: 13px; padding: 0 16px; }
  .page-header .c1 { width: 200px; height: 200px; top: -60px; right: -40px; }
  .page-header .c2 { width: 150px; height: 150px; bottom: -50px; left: -30px; }
  .page-header .c3 { width: 80px; height: 80px; }
  .page-header .c4 { width: 50px; height: 50px; }

  /* --- 首页Hero --- */
  .hero { height: auto !important; min-height: auto !important; padding: 48px 0 !important; overflow: hidden !important; width: 100% !important; position: relative !important; }
  .hero .c1 { width: 200px; height: 200px; top: -60px; right: -50px; }
  .hero .c2 { width: 150px; height: 150px; bottom: -60px; left: -40px; }
  .hero .c3 { width: 80px; height: 80px; }
  .hero .c4 { width: 50px; height: 50px; }
  .hero-content { padding: 0 20px !important; max-width: 100% !important; }
  .hero-slogan { font-size: 15px !important; margin-bottom: 12px !important; }
  .hero h1 { font-size: 24px !important; letter-spacing: 1px !important; line-height: 1.25 !important; word-break: normal !important; }
  .hero-desc { font-size: 13px !important; white-space: normal !important; margin-bottom: 24px !important; }
  .hero-btns { gap: 8px; }
  .hero-btn-main, .hero-btn-second { padding: 12px 24px; font-size: 14px; }
  .hero-tags { gap: 8px; margin-top: 28px; }
  .hero-tag { font-size: 11px; padding: 5px 12px; }

  /* --- 区块间距 --- */
  .section-wrap { padding: 40px 0; }
  .section-inner { padding: 0 16px; }

  /* --- 标题 --- */
  .section-title { margin-bottom: 32px; }
  .section-title h2 { font-size: 22px; }
  .section-title .sub { font-size: 13px; }

  /* --- 按钮 --- */
  .btn { padding: 10px 24px; font-size: 13px; }

  /* --- 首页介绍区 --- */
  .intro-block h2 { font-size: 20px; }
  .intro-block p { font-size: 14px; line-height: 1.8; }
  .intro-highlight { padding: 20px; }

  /* --- 实力网格 (strength-grid, scene-grid, cat-detail-grid, adv-grid) --- */
  .strength-grid,
  .scene-grid,
  .cat-detail-grid,
  .adv-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  /* --- 首页产品卡片 --- */
  .product-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 12px !important; }

  /* --- 首页品牌区 --- */
  .brands-grid { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
  .brand-card { padding: 8px 12px; }

  /* --- 案例卡片（首页+案例页） --- */
  .case-row { flex-direction: column; align-items: flex-start; }
  .case-row-thumb { width: 100% !important; height: 180px !important; min-width: auto !important; }
  .case-row-main { padding: 16px !important; }
  .case-row-title { white-space: normal !important; }
  .case-row-right { min-width: auto !important; }
  .case-row { padding: 16px !important; }

  /* --- 文章卡片（行业洞察） --- */
  .insight-card .insight-header { flex-direction: column; }
  .insight-card .insight-thumb { width: 100% !important; height: 140px !important; min-width: auto !important; }
  .insight-card .insight-body p { -webkit-line-clamp: 2; }

  /* --- 产品列表页（products.html） --- */
  /* products-grid handled by products.html inline CSS */
  .cat-desc-section { padding: 24px 20px !important; }

  /* --- about页面 --- */
  .about-content { padding: 32px 16px !important; }
  .about-img-wrap { float: none !important; width: 100% !important; margin-right: 0 !important; }
  .about-float-img { width: 100% !important; height: auto !important; }
  .about-text-block { padding: 24px 20px; }
  .about-text-block h2 { font-size: 20px; }

  /* --- 联系页 --- */
  .contact-grid { grid-template-columns: 1fr !important; }
  .map-wrap { height: 250px; }

  /* --- 工厂实力页 --- */
  .factory-grid { grid-template-columns: 1fr !important; gap: 16px !important; }

  /* --- 详情页 --- */
  .pd-card { padding: 16px !important; }
  .pd-main { flex-direction: column !important; }
  .pd-gallery { width: 100% !important; }
  .pd-gallery img { height: 240px !important; }
  .pd-info { padding: 16px 0 !important; }
  .pd-desc-section { padding: 0 16px 24px !important; }

  /* --- 页脚 --- */
  .footer { padding: 32px 0 20px; }
  .footer-grid { grid-template-columns: 1fr !important; gap: 24px; padding: 0 16px; }
  .footer h4 { font-size: 15px; margin-bottom: 8px; }
}

@media (max-width: 480px) {
  .hero-slogan { font-size: 14px !important; }
  .page-header h1 { font-size: 20px !important; letter-spacing: 1px !important; }
  .insight-card .insight-thumb { height: 120px !important; }
  .pd-gallery img { height: 200px !important; min-height: 200px !important; }
}