/* =====================================================
   工夫品克 · 品牌官网
   Guangzhou Gongfu Atelier Bag Co., Ltd.
   ===================================================== */

/* --- 风水配色 --- */
:root {
  --water-blue: #1A2B3C;       /* 深海蓝 · 主色 · 水主智财源流通 */
  --wood-green: #7A9B8C;       /* 鼠尾草绿 · 辅色 · 木主贵人 */
  --warm-white: #F9F8F6;       /* 暖白 · 背景 · 土生金 */
  --gold-trim: #C8B89A;        /* 浅金 · 装饰线 · 金为财星 */
  --text-dark: #2C3E4F;        /* 深蓝灰 · 正文 */
  --text-muted: #7A8A99;       /* 中灰 · 辅助文字 */
  --card-bg: #FFFFFF;           /* 卡片背景 (非纯白 #FFF) */
  --border-light: #E8E4DE;     /* 浅边框 */
  --shadow-soft: 0 4px 20px rgba(26, 43, 60, 0.08);
  --shadow-hover: 0 8px 32px rgba(26, 43, 60, 0.12);

  --font-title: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

  --radius: 8px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  /* 明堂开阔 */
  --pad-desktop: 48px;
  --pad-tablet: 32px;
  --pad-mobile: 20px;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.8;            /* 气口通畅 */
  color: var(--text-dark);
  background-color: var(--warm-white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  font-weight: 600;
  line-height: 1.4;
  color: var(--water-blue);
}

h1 { font-size: 2.5rem; }      /* 40px */
h2 { font-size: 1.875rem; }    /* 30px */
h3 { font-size: 1.375rem; }    /* 22px */
h4 { font-size: 1.125rem; }

p { margin-bottom: 1rem; }
a {
  color: var(--wood-green);
  text-decoration: none;
  transition: var(--transition);
}
a:hover { color: var(--water-blue); }

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul { list-style: none; }

/* --- Container --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--pad-desktop);
}

@media (max-width: 1024px) {
  .container { padding: 0 var(--pad-tablet); }
}
@media (max-width: 768px) {
  .container { padding: 0 var(--pad-mobile); }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.625rem; }
}

/* --- Section Spacing --- */
.section {
  padding: 5rem 0;
}
.section-title {
  text-align: center;
  margin-bottom: 0.75rem;
}
.section-subtitle {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  background-color: var(--water-blue);
  color: #fff;
  border: 2px solid var(--water-blue);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}
.btn:hover {
  background-color: transparent;
  color: var(--water-blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}
.btn-outline {
  background-color: transparent;
  color: var(--water-blue);
}
.btn-outline:hover {
  background-color: var(--water-blue);
  color: #fff;
}
.btn-gold {
  background-color: var(--gold-trim);
  border-color: var(--gold-trim);
  color: var(--text-dark);
}
.btn-gold:hover {
  background-color: transparent;
  border-color: var(--gold-trim);
  color: var(--gold-trim);
}

/* =====================================================
   HEADER / NAV
   ===================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(249, 248, 246, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}
.header.scrolled {
  border-bottom-color: var(--border-light);
  background: rgba(249, 248, 246, 0.92);
  backdrop-filter: blur(18px);
}
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 68px;
}
.logo {
  display: flex;
  align-items: center;
}
.logo img {
  display: block;
  height: 40px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.nav-links a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-dark);
  position: relative;
  padding: 0.25rem 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--wood-green);
  transition: var(--transition);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}
.nav-links a.active {
  color: var(--water-blue);
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--water-blue);
}
.mobile-menu-btn svg {
  width: 28px;
  height: 28px;
  stroke-width: 2;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(249, 248, 246, 0.98);
    backdrop-filter: blur(18px);
    flex-direction: column;
    padding: 1.5rem var(--pad-mobile);
    gap: 1.25rem;
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-soft);
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    font-size: 1.1rem;
    width: 100%;
    padding: 0.5rem 0;
  }
  .mobile-menu-btn {
    display: block;
  }
}

/* =====================================================
   HERO
   ===================================================== */
.hero {
  padding: 8rem 0 5rem;
  background: linear-gradient(135deg, var(--warm-white) 0%, #f0ece6 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(122, 155, 140, 0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-text h1 {
  font-size: 2.625rem;
  margin-bottom: 1.25rem;
  letter-spacing: 1px;
}
.hero-text .subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.8;
}
.hero-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: var(--border-light);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.hero-image:hover img {
  transform: scale(1.03);
}

@media (max-width: 768px) {
  .hero { padding: 6rem 0 3rem; }
  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  .hero-text h1 { font-size: 2rem; }
  .hero-text .subtitle { font-size: 1rem; }
}

/* =====================================================
   TRUST BAR
   ===================================================== */
.trust-bar {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  background: var(--card-bg);
}
.trust-items {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  text-align: center;
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}
.trust-item svg {
  width: 28px;
  height: 28px;
  color: var(--wood-green);
  stroke-width: 1.5;
}
.trust-item span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dark);
}

@media (max-width: 768px) {
  .trust-items {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}
@media (max-width: 480px) {
  .trust-items { grid-template-columns: 1fr; }
}

/* =====================================================
   工厂承诺三栏
   ===================================================== */
.promise-section {
  background: #f8f9fa;
  padding: 40px 0;
}
.promise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.promise-card {
  background: #fff;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  text-align: center;
  transition: box-shadow 0.2s;
}
.promise-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.promise-icon {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 1rem;
}
.promise-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}
.promise-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.promise-footer-text {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 2rem;
}
@media (max-width: 768px) {
  .promise-section {
    padding: 30px 20px;
  }
  .promise-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

/* =====================================================
   PRODUCT CARDS (通用)
   ===================================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
  margin-top: 2.5rem;
}
.product-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  cursor: pointer;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.product-card-img {
  height: 220px;
  background: var(--border-light);
  overflow: hidden;
  position: relative;
}
.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}
.product-card:hover .product-card-img img {
  transform: scale(1.05);
}
.product-card-body {
  padding: 1.25rem;
}
.product-card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}
.product-card-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.product-card-link {
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--wood-green);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
}

/* =====================================================
   MARQUEE (跑马灯)
   ===================================================== */
.marquee-section {
  padding: 1.5rem 0;
  background: var(--water-blue);
  overflow: hidden;
}
.marquee-track {
  display: flex;
  white-space: nowrap;
  animation: marquee 25s linear infinite;
}
.marquee-track span {
  font-family: var(--font-title);
  font-size: 1.1rem;
  letter-spacing: 4px;
  color: var(--gold-trim);
  padding: 0 3rem;
  flex-shrink: 0;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =====================================================
   CTA BANNER
   ===================================================== */
.cta-banner {
  padding: 4rem 0;
  text-align: center;
  background: linear-gradient(135deg, var(--water-blue) 0%, #233B4F 100%);
  color: #fff;
}
.cta-banner h2 {
  color: #fff;
  margin-bottom: 1rem;
}
.cta-banner p {
  opacity: 0.85;
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* =====================================================
   ABOUT PAGE
   ===================================================== */
.page-hero {
  padding: 8rem 0 3rem;
  text-align: center;
  background: linear-gradient(135deg, var(--warm-white) 0%, #f0ece6 100%);
}
.page-hero h1 { font-size: 2.25rem; }
.page-hero p {
  max-width: 650px;
  margin: 1rem auto 0;
  color: var(--text-muted);
  font-size: 1.1rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}
.value-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  border-top: 3px solid var(--wood-green);
}
.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.value-card svg {
  width: 36px;
  height: 36px;
  color: var(--water-blue);
  margin-bottom: 1rem;
  stroke-width: 1.5;
}
.value-card h3 { margin-bottom: 0.75rem; }
.value-card p { font-size: 0.95rem; color: var(--text-muted); }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.stat-card {
  text-align: center;
  padding: 2rem 1rem;
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  border-bottom: 3px solid var(--gold-trim);
}
.stat-number {
  font-family: var(--font-title);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--water-blue);
  display: block;
  margin-bottom: 0.4rem;
}
.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.partners-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2.5rem;
}
.partner-placeholder {
  width: 150px;
  height: 80px;
  background: var(--border-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  border: 1px dashed var(--gold-trim);
}

@media (max-width: 768px) {
  .values-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
}

/* =====================================================
   PRODUCTS PAGE
   ===================================================== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.filter-btn {
  padding: 0.6rem 1.4rem;
  border: 1px solid var(--border-light);
  border-radius: 100px;
  background: var(--card-bg);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--water-blue);
  color: #fff;
  border-color: var(--water-blue);
}

.product-grid-with-filter {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.product-grid-with-filter .product-card {
  margin-bottom: 0;
}
.product-grid-with-filter .product-card-img {
  height: 200px;
}
.category-hidden {
  display: none !important;
}

@media (max-width: 1024px) {
  .product-grid-with-filter { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .product-grid-with-filter { grid-template-columns: 1fr; }
}

/* =====================================================
   PRODUCT DETAIL
   ===================================================== */

/* P0-1: 规格参数卡片 */
.detail-specs-card {
  background: var(--warm-white);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
  border: 1px solid var(--border-light);
}
.specs-card-title {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--gold-trim);
  color: var(--text-dark);
}
.specs-grid {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.spec-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--text-dark);
  padding: 0.4rem 0;
  border-bottom: 1px dashed var(--border-light);
}
.spec-item:last-child {
  border-bottom: none;
}
.spec-label {
  color: var(--text-muted);
  font-size: 0.8rem;
  min-width: 3.5em;
  font-weight: 500;
}
.spec-value {
  color: var(--text-dark);
  font-weight: 500;
}


.detail-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  margin-top: 2rem;
}
.detail-image-section {
  display: block;
}
.detail-image {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--border-light);
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.detail-info h1 {
  margin-bottom: 0.75rem;
}
.detail-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}
.detail-specs {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-light);
}
.detail-specs dt {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 1rem;
}
.detail-specs dt:first-child { margin-top: 0; }
.detail-specs dd {
  font-size: 1rem;
  margin-top: 0.2rem;
  margin-bottom: 0.75rem;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
  font-weight: 500;
}

@media (max-width: 768px) {
  .detail-wrap { grid-template-columns: 1fr; gap: 2rem; }
}

/* =====================================================
   NEWS PAGE
   ===================================================== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}
.news-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  cursor: pointer;
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.news-card-img {
  height: 200px;
  background: var(--border-light);
  overflow: hidden;
}
.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.news-card:hover .news-card-img img {
  transform: scale(1.05);
}
.news-card-body {
  padding: 1.25rem;
}
.news-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  display: block;
}
.news-card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.news-card-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 新闻卡片播放按钮叠加层 */
.news-card-video .news-card-img {
  position: relative;
}
.play-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.15);
  transition: background 0.3s;
  pointer-events: none;
}
.play-overlay svg {
  width: 56px;
  height: 56px;
  opacity: 0.85;
  transition: transform 0.3s, opacity 0.3s;
}
.news-card-video:hover .play-overlay {
  background: rgba(0,0,0,0.25);
}
.news-card-video:hover .play-overlay svg {
  transform: scale(1.15);
  opacity: 1;
}

/* 高亮新闻卡片 - 带「阅读更多」 */
.news-card-highlight {
  border: 2px solid var(--gold-trim);
  position: relative;
}
.news-card-highlight::before {
  content: 'NEW';
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  background: var(--gold-trim);
  color: var(--text-dark);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
}

@media (max-width: 1024px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .news-grid { grid-template-columns: 1fr; }
}

/* =====================================================
   CONTACT PAGE
   ===================================================== */
.contact-hero-img {
  width: 100%;
  max-height: 300px;
  overflow: hidden;
  border-radius: var(--radius);
  margin-bottom: 3rem;
  background: var(--water-blue);
  opacity: 0.9;
}
.contact-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: start;
}
.form-group {
  margin-bottom: 1.5rem;
}
.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--warm-white);
  transition: var(--transition);
  color: var(--text-dark);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--wood-green);
  box-shadow: 0 0 0 3px rgba(122, 155, 140, 0.15);
}
.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-info-block {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-light);
}
.contact-info-block h3 {
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--gold-trim);
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.contact-info-item svg {
  width: 22px;
  height: 22px;
  color: var(--wood-green);
  flex-shrink: 0;
  margin-top: 3px;
}
.contact-info-item strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
}
.contact-info-item span {
  font-size: 0.95rem;
  color: var(--text-muted);
}
.contact-info-item a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.contact-info-item a:hover {
  color: var(--wood-green);
}

/* 联系页 - 服务与承诺卡片 */
.contact-service-card {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 1rem 1rem 0.25rem;
  margin-top: 1.5rem;
  font-size: 0.9rem;
}
.contact-service-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
  border-bottom: none;
  padding-bottom: 0;
}
.contact-service-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.contact-service-list li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.6rem;
  line-height: 1.5;
  color: var(--text-main);
}
.contact-service-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--wood-green);
}

/* 联系页 - 隐私提示 */
.contact-privacy-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.wechat-id {
  font-family: monospace;
  font-size: 0.95rem;
  color: var(--water-blue) !important;
  font-weight: 600;
  letter-spacing: 1px;
  background: var(--warm-white);
  padding: 0.15rem 0.6rem;
  border-radius: 4px;
  display: inline-block;
}

.contact-im-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
  font-size: 0.85rem;
  color: var(--text-muted);
}
.contact-im-note svg {
  flex-shrink: 0;
  color: var(--wood-green);
}

/* 工厂地址区块 */
.contact-address-block {
  margin-top: 3rem;
  background: linear-gradient(135deg, var(--water-blue) 0%, #233B4F 100%);
  border-radius: var(--radius);
  padding: 2.5rem;
  color: rgba(255,255,255,0.9);
}
.contact-address-block h3 {
  color: #fff;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--gold-trim);
}
.contact-address-details {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
}
.address-cn {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #fff;
  line-height: 1.7;
}
.address-en {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
}
.address-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  background: rgba(255,255,255,0.1);
  padding: 0.6rem 1rem;
  border-radius: 100px;
  font-size: 0.85rem;
  color: var(--gold-trim);
  white-space: nowrap;
}
.address-badge svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .contact-address-details {
    flex-direction: column;
    gap: 1.25rem;
  }
  .address-badge {
    align-self: flex-start;
  }
}

/* =====================================================
   B2B HERO（首页）
   ===================================================== */
.hero-b2b .hero-text h1 {
  font-size: 2rem;
  line-height: 1.3;
}
.hero-stats {
  display: flex;
  gap: 1.5rem;
  margin: 1.5rem 0;
}
.hero-stat {
  text-align: center;
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-soft);
  flex: 1;
  border-bottom: 2px solid var(--gold-trim);
}
.hero-stat-num {
  display: block;
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--water-blue);
}
.hero-stat-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.25rem 0;
}
.hero-tags span {
  font-size: 0.85rem;
  color: var(--wood-green);
  font-weight: 500;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}
.hero-actions .btn {
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .hero-stats {
    flex-wrap: wrap;
    gap: 0.75rem;
  }
  .hero-stat {
    flex: 1 1 calc(50% - 0.75rem);
    padding: 0.75rem 1rem;
  }
  .hero-actions {
    flex-direction: column;
    gap: 0.75rem;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .hero-tags {
    justify-content: center;
  }
}

/* =====================================================
   语言切换器
   ===================================================== */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: 1rem;
  font-size: 0.8rem;
  cursor: default;
}
.lang-option {
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  font-weight: 600;
  transition: var(--transition);
}
.lang-option.active {
  background: var(--water-blue);
  color: #fff;
}
.lang-option.disabled {
  color: var(--text-muted);
  opacity: 0.4;
  cursor: not-allowed;
}

@media (max-width: 768px) {
  .lang-switch {
    margin-left: auto;
    margin-right: 0.5rem;
  }
}

/* =====================================================
   QA 问答区
   ===================================================== */
.qa-list {
  max-width: 800px;
  margin: 0 auto;
}
.qa-item {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-soft);
  border-left: 3px solid var(--gold-trim);
}
.qa-q {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--water-blue);
  margin-bottom: 0.75rem;
}
.qa-a {
  font-size: 0.95rem;
  color: var(--text-dark);
  line-height: 1.8;
}
.faq-list .qa-item {
  border-left-color: var(--wood-green);
}

/* =====================================================
   流程步骤
   ===================================================== */
.process-steps {
  max-width: 700px;
  margin: 0 auto;
}
.process-step {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 2rem;
}
.process-step::after {
  content: '';
  position: absolute;
  left: 27px;
  top: 60px;
  bottom: 0;
  width: 2px;
  background: var(--border-light);
}
.process-step:last-child::after {
  display: none;
}
.process-step:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
}
.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--water-blue);
  color: #fff;
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.step-content h3 {
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
}
.step-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* =====================================================
   报价表单
   ===================================================== */
.cta-form-section {
  background: linear-gradient(135deg, var(--warm-white) 0%, #f0ece6 100%);
}
.quote-form {
  max-width: 700px;
  margin: 0 auto;
}
.quote-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 600px) {
  .quote-form-grid {
    grid-template-columns: 1fr;
  }
}

/* =====================================================
   产品卡片定制标签
   ===================================================== */
.product-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}
.product-tags span {
  font-size: 0.78rem;
  color: var(--wood-green);
  background: rgba(122, 155, 140, 0.1);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

/* =====================================================
   缩略图
   ===================================================== */
.detail-thumb {
  width: 60px;
  height: 60px;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  opacity: 0.6;
}
.detail-thumb.active,
.detail-thumb:hover {
  border-color: var(--wood-green);
  opacity: 1;
}
.detail-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =====================================================
   Lightbox（图片弹窗放大）
   ===================================================== */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border-radius: 4px;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 2.5rem;
  font-weight: 300;
  cursor: pointer;
  transition: opacity 0.2s;
  line-height: 1;
}
.lightbox-close:hover {
  opacity: 0.7;
}

/* =====================================================
   P0-1: 产品卡片规格文本
   ===================================================== */
.product-card-specs {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
  line-height: 1.5;
}
.product-card-specs span {
  display: inline-block;
  margin-right: 0.75rem;
}

/* =====================================================
   P0-2: 联系表单简化 — 折叠区域
   ===================================================== */
.contact-form-optional {
  margin-top: 1rem;
  padding: 1rem;
  background: var(--warm-white);
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
}
.contact-form-optional summary {
  cursor: pointer;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--water-blue);
  padding: 0.25rem 0;
  user-select: none;
}
.contact-form-optional summary::-webkit-details-marker {
  color: var(--water-blue);
}
.contact-form-optional .form-group:first-of-type {
  margin-top: 1rem;
}

/* P0-2: 微信二维码放大 */
.qr-placeholder-large {
  width: 150px !important;
  height: 150px !important;
}
.qr-placeholder-large ~ p {
  font-size: 1rem !important;
  font-weight: 600;
  color: var(--water-blue) !important;
}

/* =====================================================
   P1-1: 工厂实拍轮播图
   ===================================================== */
.factory-carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
}
.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}
.carousel-slide {
  min-width: 100%;
  position: relative;
}
.carousel-slide img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}
@media (max-width: 768px) {
  .carousel-slide img {
    height: 200px;
  }
}
.carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem 1.5rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.6));
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.8);
  border: none;
  cursor: pointer;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 2;
  color: var(--text-dark);
}
.carousel-btn:hover {
  background: #fff;
}
.carousel-btn-prev {
  left: 12px;
}
.carousel-btn-next {
  right: 12px;
}
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-light);
  cursor: pointer;
  transition: background 0.2s;
  border: none;
  padding: 0;
}
.carousel-dot.active {
  background: var(--water-blue);
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
  background: var(--water-blue);
  color: rgba(255, 255, 255, 0.8);
  padding: 2.5rem 0;
  border-top: 3px solid var(--gold-trim);
}
.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-left {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.footer-right {
  text-align: right;
}
.footer-copy {
  font-size: 0.9rem;
}
.footer-contact {
  font-size: 0.85rem;
  opacity: 0.75;
}
.footer-blessing {
  font-family: var(--font-title);
  font-size: 0.85rem;
  color: var(--gold-trim);
  letter-spacing: 2px;
  margin-top: 0.75rem;
}
.footer-icons {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}
.footer-icon {
  font-size: 0.9rem;
  opacity: 0.8;
  cursor: pointer;
  transition: opacity 0.2s;
}
.footer-icon:hover {
  opacity: 1;
}

@media (max-width: 768px) {
  .factory-main-image {
    height: 200px;
  }
  .footer-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .footer-right {
    text-align: center;
  }
  .footer-icons {
    justify-content: center;
  }
}

/* =====================================================
   P1-1b: 工厂实拍区（大图+缩略图）
   ===================================================== */
.factory-gallery {
  max-width: 560px;
  margin: 0 auto;
}
.factory-main-image {
  width: 100%;
  height: 400px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.factory-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.factory-thumbnails {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}
.factory-thumb {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s, opacity 0.2s;
  opacity: 0.6;
}
.factory-thumb.active,
.factory-thumb:hover {
  border-color: var(--wood-green);
  opacity: 1;
}
.factory-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =====================================================
   样品政策 + 质量保证
   ===================================================== */
.policy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.policy-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem 1.25rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.policy-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-dark);
}
.policy-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.policy-list li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-main);
}
.policy-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--wood-green, #2d6a4f);
  font-weight: 700;
}
@media (max-width: 768px) {
  .policy-grid {
    grid-template-columns: 1fr;
  }
}

/* =====================================================
   隐私政策页面
   ===================================================== */
.privacy-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
  line-height: 1.8;
}
.privacy-content h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 2rem 0 0.75rem;
  color: var(--text-dark);
}
.privacy-content p {
  font-size: 0.95rem;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}
.privacy-content a {
  color: var(--link-color, var(--water-blue));
  text-decoration: underline;
}

/* 隐私政策页脚链接 */
.footer-privacy-link {
  margin-top: 0.5rem;
}
.footer-privacy-link a {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: underline;
}
.footer-privacy-link a:hover {
  color: var(--wood-green);
}

/* =====================================================
   Cookie 同意横幅
   ===================================================== */
.cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #2c3e4f;
  color: #fff;
  padding: 10px 20px;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: 0.85rem;
  border-radius: 8px 8px 0 0;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.15);
}
.cookie-banner p {
  margin: 0;
  line-height: 1.4;
}
.cookie-banner button {
  flex-shrink: 0;
  background: #fff;
  color: #2c3e4f;
  border: none;
  padding: 6px 16px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}
.cookie-banner button:hover {
  opacity: 0.85;
}
@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    text-align: center;
    padding: 12px 16px;
  }
}

/* =====================================================
   博客列表与文章
   ===================================================== */
.blog-list {
  max-width: 800px;
  margin: 0 auto;
}
.blog-card {
  display: block;
  background: var(--card-bg);
  border-radius: 12px;
  padding: 1.5rem 1.75rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-light);
  transition: box-shadow 0.2s, transform 0.2s;
  text-decoration: none;
  color: inherit;
  position: relative;
}
.blog-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.blog-card-badge {
  display: inline-block;
  background: var(--wood-green);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}
.blog-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--text-dark);
  line-height: 1.4;
}
.blog-card-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}
.blog-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* 博客文章正文 */
.blog-article {
  max-width: 780px;
  margin: 0 auto;
  line-height: 1.8;
}
.blog-article p {
  margin-bottom: 1rem;
  font-size: 0.95rem;
}
.blog-article h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 2rem 0 0.75rem;
  color: var(--text-dark);
}
.blog-article ul,
.blog-article ol {
  margin: 0.5rem 0 1.25rem 1.5rem;
}
.blog-article li {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  line-height: 1.6;
}
.blog-cta {
  margin-top: 2.5rem;
  padding: 1.5rem;
  background: var(--warm-white);
  border-radius: 12px;
  text-align: center;
  border: 1px solid var(--border-light);
}
.blog-cta p {
  margin-bottom: 1rem;
  font-size: 1rem;
}
