﻿/* =============================================
   苏星洗涤机械 - 企业网站样式（旗舰版）
   =============================================
   Color System:
     Primary:    #0f2940 (深海蓝)
     Secondary:  #1a5276 (宝石蓝)
     Accent:     #c9a84c (帝王金)
     Light Gold: #e8d48b
     Light:      #f5f7fa
     Border:     #e2e8f0
     Text:       #1a1a2e
     Muted:      #64748b
   ============================================= */

:root {
  --primary: #0f2940;
  --primary-dark: #0a1e30;
  --secondary: #1a5276;
  --accent: #c9a84c;
  --accent-light: #e8d48b;
  --accent-dark: #b8943a;
  --light: #f5f7fa;
  --white: #ffffff;
  --border: #e2e8f0;
  --text: #1a1a2e;
  --text-muted: #64748b;
  --shadow-sm: 0 1px 3px rgba(15, 41, 64, 0.08);
  --shadow-md: 0 4px 20px rgba(15, 41, 64, 0.1);
  --shadow-lg: 0 10px 40px rgba(15, 41, 64, 0.15);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============ Reset & Base ============ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ============ Typography ============ */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.3; color: var(--primary); }
h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.15rem; }

/* ============ Gold Decorative Accents ============ */
.gold-line {
  width: 80px; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light), var(--accent));
  border-radius: 2px;
  margin: 0 auto;
}
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-header h2 {
  position: relative;
  display: inline-block;
  margin-bottom: 0.5rem;
}
.section-header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  margin: 0.75rem auto 0;
  border-radius: 2px;
}
.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0.75rem auto 0;
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  letter-spacing: 0.3px;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  box-shadow: 0 4px 15px rgba(15, 41, 64, 0.3);
}
.btn-primary:hover { box-shadow: 0 6px 25px rgba(15, 41, 64, 0.4); }
.btn-gold {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--white);
  box-shadow: 0 4px 15px rgba(201, 168, 76, 0.35);
}
.btn-gold:hover { box-shadow: 0 6px 25px rgba(201, 168, 76, 0.45); }
.btn-outline {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--primary); }
.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.875rem; }
.btn-lg { padding: 1rem 2.5rem; font-size: 1.05rem; }

/* ============ Section ============ */
.section { padding: 5rem 0; }
.section-alt { background: var(--light); }
.section-dark {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
}
.section-dark .section-header h2 { color: var(--white); }
.section-dark .section-header p { color: rgba(255,255,255,0.7); }
.section-dark .section-header h2::after { background: linear-gradient(90deg, var(--accent), var(--accent-light)); }

/* ============ Header ============ */
/* Top bar */
.top-bar {
  background: var(--primary);
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
  padding: 0.4rem 0;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar a { color: rgba(255,255,255,0.85); }
.top-bar a:hover { color: var(--accent); }

/* Main header */
.header {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: var(--transition);
}
.header.scrolled { box-shadow: var(--shadow-md); }
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.logo-icon {
  width: 50px; height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0;
}
.logo-text h1 {
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  color: var(--primary);
  line-height: 1.2;
  margin: 0;
}
.logo-text .slogan {
  font-size: 0.8rem;
  color: var(--accent);
  letter-spacing: 3px;
  font-weight: 500;
}
.header-contact {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.contact-item .icon {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-item .label { font-size: 0.8rem; color: var(--text-muted); }
.contact-item .value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
}

/* ============ Navigation ============ */
.main-nav {
  background: linear-gradient(135deg, var(--primary), #132d4a);
  border-top: 2px solid var(--accent);
  position: sticky;
  top: 0;
  z-index: 99;
}
.nav-list {
  display: flex;
  gap: 0;
}
.nav-list > li { position: relative; }
.nav-list > li > a {
  display: block;
  padding: 0.85rem 1.6rem;
  color: rgba(255,255,255,0.9);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  position: relative;
  transition: var(--transition);
}
.nav-list > li > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  transition: transform 0.3s ease;
}
.nav-list > li > a:hover::after,
.nav-list > li.active > a::after { transform: translateX(-50%) scaleX(1); }
.nav-list > li > a:hover,
.nav-list > li.active > a { color: var(--accent); background: rgba(255,255,255,0.05); }

/* Mobile menu button */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--white);
  padding: 0.75rem 1rem;
}

/* ============ Hero Slider ============ */
.hero-slider {
  position: relative;
  width: 100%;
  height: 500px;
  min-height: 400px;
  overflow: hidden;
}
.slider-container {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
}
.slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slide.active {
  opacity: 1;
  z-index: 1;
}
{ position: relative; z-index: 3; text-align: center; }
.slide-content { max-width: 800px; margin: 0 auto; }
.slide-content .slide-tag {
  display: inline-block;
  padding: 0.35rem 1.5rem;
  background: rgba(201,168,76,0.2);
  border: 1px solid var(--accent);
  border-radius: 50px;
  color: var(--accent-light);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
}
.slide-content h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--white);
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
  margin-bottom: 1rem;
  font-weight: 700;
}
.slide-content p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.85);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.slide-content .btn { animation: fadeInUp 0.6s 0.3s both; }


/* Banner 图片样式 */
.slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Slider navigation */
.slider-nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  z-index: 5;
  display: flex;
  justify-content: space-between;
  padding: 0 2rem;
  pointer-events: none;
}
.slider-nav button {
  pointer-events: all;
  width: 50px; height: 50px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.1);
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}
.slider-nav button:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.1);
}

/* Slider dots */
.slider-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 0.75rem;
}
.slider-dots .dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
}
.slider-dots .dot.active {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 10px rgba(201,168,76,0.5);
  transform: scale(1.2);
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============ Page Banner ============ */
.page-banner {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  position: relative;
  padding: 4rem 0;
  text-align: center;
  overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 30% 40%, rgba(201,168,76,0.1) 0%, transparent 60%);
}
.page-banner h1 {
  color: var(--white);
  position: relative;
  z-index: 1;
  margin-bottom: 0.75rem;
}
.page-banner .breadcrumb {
  position: relative;
  z-index: 1;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}
.page-banner .breadcrumb a { color: rgba(255,255,255,0.7); }
.page-banner .breadcrumb a:hover { color: var(--accent); }

/* ============ Intro / About Section (Home) ============ */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.intro-text { max-width: 560px; }
.intro-text h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}
.intro-text .gold-line { margin: 1rem 0; }
.intro-text p {
  color: var(--text-muted);
  margin: 1.5rem 0;
  font-size: 1.05rem;
  line-height: 1.9;
}
.intro-image {
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-company-img {
  width: 100%;
  max-width: 520px;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--accent);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.about-company-img:hover {
  transform: scale(1.02);
  box-shadow: 0 15px 50px rgba(201, 168, 76, 0.25);
}

/* ============ Product Grid ============ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
  border-color: var(--accent);
}
.product-image {
  position: relative;
  overflow: hidden;
  height: 240px;
}
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.product-card:hover .product-image img { transform: scale(1.08); }
.product-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--white);
  padding: 0.25rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.product-category-link {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(15,41,64,0.85);
  color: var(--white);
  padding: 0.25rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  backdrop-filter: blur(4px);
}
.product-info {
  padding: 1.5rem;
}
.product-info h3 { margin-bottom: 0.5rem; }
.product-info h3 a { color: var(--primary); }
.product-info h3 a:hover { color: var(--secondary); }
.product-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}
.product-price {
  color: var(--accent);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

/* Categories on homepage */
.product-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-bottom: 3rem;
}
.category-card {
  padding: 1.5rem 1rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  text-align: center;
  border-radius: var(--radius-md);
  transition: var(--transition);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.category-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(201,168,76,0.1) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}
.category-card:hover::before { opacity: 1; }
.category-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.category-card h3 { color: var(--white); font-size: 1rem; font-weight: 500; margin: 0; }

/* ============ News ============ */
.news-list {
  max-width: 800px;
  margin: 0 auto;
}
.news-item {
  display: flex;
  gap: 2rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.news-item:first-child { padding-top: 0; }
.news-item:hover {
  padding-left: 1rem;
  border-bottom-color: var(--accent);
}
.news-date {
  text-align: center;
  min-width: 70px;
  padding: 0.75rem;
  background: var(--light);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  align-self: flex-start;
}
.news-date .day {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.news-date .month {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}
.news-content h3 a {
  color: var(--primary);
  font-size: 1.1rem;
  font-weight: 600;
}
.news-content h3 a:hover { color: var(--secondary); }
.news-content p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 0.35rem;
  line-height: 1.6;
}

/* ============ CTA Section ============ */
.cta-section {
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(201,168,76,0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255,255,255,0.05) 0%, transparent 50%);
  pointer-events: none;
}
.cta-content { position: relative; z-index: 1; }
.cta-content h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--white);
  margin-bottom: 0.75rem;
}
.cta-content p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 2rem;
}
.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============ Footer ============ */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.8);
  padding: 4rem 0 0;
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent-light), var(--accent), transparent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
.footer-section h3 {
  color: var(--accent);
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(201,168,76,0.3);
}
.footer-section p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.6);
}
.footer-section ul li {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
}
.footer-section ul li a {
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}
.footer-section ul li a:hover {
  color: var(--accent);
  padding-left: 0.35rem;
}
.footer-bottom {
  text-align: center;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.4);
  font-size: 0.85rem;
}

/* ============ Feedback / Alert ============ */
.alert {
  padding: 1rem 1.5rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
}
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

/* ============ Empty State ============ */
.empty-state { text-align: center; padding: 4rem 2rem; color: var(--text-muted); }

/* ============ Cards ============ */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
}
.card:hover { box-shadow: var(--shadow-md); }
.card-body { padding: 2rem; }

/* ============ Page Content Styles ============ */
.page-content { max-width: 900px; margin: 0 auto; }
.page-content p {
  color: var(--text-muted);
  line-height: 2;
  margin-bottom: 1.25rem;
  font-size: 1.02rem;
}

/* ============ Product Detail Layout (Single Column) ============ */
.product-detail { /* removed grid layout */ }
.product-image-top {
  max-width: 700px;
  margin: 0 auto 1.5rem;
  text-align: center;
}
.main-image {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--light);
}
.main-image img { width: 100%; height: 420px; object-fit: contain; }

.product-divider {
  border: none;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  margin: 2.5rem auto;
  max-width: 600px;
}

.product-info-below {
  max-width: 860px;
  margin: 0 auto;
}

.product-title-below {
  font-size: 1.8rem;
  text-align: center;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.product-subtitle { color: var(--text-muted); font-size: 1rem; margin-bottom: 1.5rem; }
.product-description h3,
.product-params h3 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--accent);
}
.product-description { margin-bottom: 1.5rem; }
.product-params, .product-specs-tables { margin-bottom: 2rem; }

.product-specs-tables h3 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--accent);
}

.spec-table-wrapper {
  overflow-x: auto;
  margin-bottom: 1.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--white);
}

.spec-table-wrapper table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  min-width: 600px;
}

.spec-table-wrapper table td,
.spec-table-wrapper table th {
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--border);
  text-align: center;
  white-space: nowrap;
}

.spec-table-wrapper table th {
  background: var(--primary);
  color: var(--white);
  font-weight: 600;
}

.spec-table-wrapper table tr:nth-child(even) {
  background: var(--light);
}

.spec-table-wrapper table tr:hover {
  background: var(--accent-light);
}

.params-table { width: 100%; border-collapse: collapse; }
.params-table tr { border-bottom: 1px solid var(--border); }
.params-table td { padding: 0.65rem 0.75rem; font-size: 0.9rem; }
.param-name { font-weight: 600; color: var(--text-muted); width: 40%; }
.param-value { color: var(--text); }

/* ============ Products Page Layout ============ */
.products-layout { display: grid; grid-template-columns: 260px 1fr; gap: 3rem; }
.products-sidebar {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  position: sticky;
  top: 6rem;
  height: fit-content;
}
.products-sidebar h3 {
  color: var(--primary);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--accent);
}
.category-list li { margin-bottom: 0.35rem; }
.category-list li a {
  display: block;
  padding: 0.6rem 1rem;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  font-size: 0.95rem;
}
.category-list li a:hover,
.category-list li.active a {
  background: var(--primary);
  color: var(--white);
}
.products-header {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--border);
}
.products-header h2 { color: var(--primary); margin-bottom: 0.25rem; }
.products-header p { color: var(--text-muted); font-size: 0.9rem; }

/* ============ Gallery ============ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.gallery-item:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}
.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item .gallery-caption {
  padding: 1rem;
  background: var(--white);
}
.gallery-item .gallery-caption p {
  color: var(--text);
  font-weight: 500;
  font-size: 0.9rem;
}

/* ============ Honor / Certificate ============ */
.honor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
}
.honor-item {
  text-align: center;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: var(--transition);
  background: var(--white);
}
.honor-item:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
  transform: translateY(-4px);
}
.honor-item img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  margin-bottom: 1rem;
}
.honor-item h4 { color: var(--primary); font-size: 0.95rem; }
.honor-item p { color: var(--text-muted); font-size: 0.85rem; margin-top: 0.25rem; }

/* ============ Contact Form ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
.contact-info-card {
  background: var(--light);
  padding: 2.5rem;
  border-radius: var(--radius-md);
}
.contact-info-card h3 {
  color: var(--primary);
  margin-bottom: 1.5rem;
}
.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  align-items: flex-start;
}
.contact-info-item .ci-icon {
  width: 44px; height: 44px;
  background: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-info-item .ci-label { font-size: 0.8rem; color: var(--text-muted); }
.contact-info-item .ci-value { font-weight: 600; color: var(--text); }

/* ============ Scroll Animation ============ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ============ Animations ============ */
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 5px rgba(201,168,76,0.3); }
  50% { box-shadow: 0 0 20px rgba(201,168,76,0.6); }
}

/* ============ Back to Top ============ */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  border: 2px solid var(--accent);
  font-size: 1.3rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(201,168,76,0.4);
}

/* ============ Breadcrumb ============ */
.breadcrumb { display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; justify-content: center; }
.breadcrumb span { color: var(--accent); }

/* ============ Responsive ============ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .intro-grid { gap: 2.5rem; }
}

@media (max-width: 768px) {
  .top-bar .container { flex-direction: column; gap: 0.25rem; font-size: 0.8rem; }
  .header-inner { flex-direction: column; gap: 0.75rem; padding: 0.5rem 0; }
  .logo-text h1 { font-size: 1.1rem; }
  .header-contact { width: 100%; justify-content: center; }
  .mobile-menu-btn { display: block; }
  .nav-list { display: none; flex-direction: column; }
  .nav-list.show { display: flex; }
  .nav-list > li > a { padding: 0.75rem 1rem; }
  .hero-slider {
    height: 300px;
    min-height: 200px;
  }
  /* .slider-container 已在桌面端设为 absolute */
  .slide {  }
  .slider-nav { display: none; }
  .section { padding: 3rem 0; }
  .section-header h2 { font-size: 1.6rem; }
  .intro-grid { grid-template-columns: 1fr; gap: 2rem; }
  .intro-text { max-width: 100%; }
  .products-layout { grid-template-columns: 1fr; }
  .products-sidebar { position: static; }
  .product-detail { grid-template-columns: 1fr; gap: 2rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .news-item { gap: 1rem; }
  .page-banner { padding: 3rem 1rem; }
  .intro-stats { gap: 1rem; }
  .stat-item { padding: 1.25rem; }
}

@media (max-width: 480px) {
  body { font-size: 14px; }
  .container { padding: 0 16px; }
  .section { padding: 2.5rem 0; }
  .btn { padding: 0.5rem 1.25rem; font-size: 0.85rem; }
}

/* ============================================= */
/* 终极修正：让电话与公司名同行并靠右（强制覆盖） */
/* ============================================= */

/* 1. 恢复父容器的 Flex 两端对齐 */
.header .container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 10px 0 !important;
}

/* 2. 清除手机端样式对电脑端造成的干扰 */
.header-contact {
    width: auto !important;        /* 关键：取消 width: 100% 的继承 */
    justify-content: flex-end !important; /* 靠右对齐 */
    
    display: flex !important;      /* 还原 Flex 布局 */
    align-items: center !important;
    margin-top: 0 !important;      /* 删除可能产生的上边距 */
    margin-left: auto !important;  /* 保险起见，强制靠右 */
    position: static !important;   /* 还原为正常文档流 */
}

/* 3. 电话内部布局 */
.contact-item {
    display: flex !important;
    align-items: center !important;
    gap: 0.6rem !important;
}

.contact-item .icon {
    margin-right: 0 !important;    /* 清除可能残留的旧边距 */
}