@charset "utf-8";
/* ===== XX Industrial - 外贸网站样式 ===== */
:root {
  --primary: #1a3a5c;
  --primary-dark: #142d47;
  --primary-light: #2a5080;
  --accent: #e87722;
  --accent-dark: #d0681a;
  --bg: #ffffff;
  --bg-gray: #f5f7fa;
  --text: #1a1f2e;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --shadow: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -2px rgba(0,0,0,.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1);
  --radius: 8px;
  --transition: all .3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 28px; border-radius: var(--radius); font-weight: 600;
  font-size: 15px; cursor: pointer; border: 2px solid transparent;
  transition: var(--transition); text-align: center;
}
.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-outline { background: transparent; color: #fff; border-color: #fff; }
.btn-outline:hover { background: #fff; color: var(--primary); }
.btn-outline-primary { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline-primary:hover { background: var(--primary); color: #fff; }
.btn-sm { padding: 8px 18px; font-size: 14px; }

/* ===== Header ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: transparent; transition: var(--transition); padding: 20px 0;
}
.header.scrolled { background: #fff; box-shadow: var(--shadow); padding: 12px 0; }
.header .container { display: flex; align-items: center; justify-content: space-between; }
.logo { font-size: 20px; font-weight: 800; color: #fff; letter-spacing: -.5px; }
.header.scrolled .logo { color: var(--primary); }
.logo span { color: var(--accent); }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a {
  color: rgba(255,255,255,.9); font-weight: 500; font-size: 15px;
  position: relative; transition: var(--transition);
}
.header.scrolled .nav a { color: var(--text); }
.nav a:hover, .nav a.active { color: var(--accent); }
.nav a.active::after {
  content: ''; position: absolute; bottom: -6px; left: 0; right: 0;
  height: 2px; background: var(--accent); border-radius: 1px;
}
.header-right { display: flex; align-items: center; gap: 16px; }
.lang-switch {
  background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.3);
  color: #fff; padding: 6px 14px; border-radius: 20px; cursor: pointer;
  font-size: 13px; font-weight: 600; transition: var(--transition);
}
.header.scrolled .lang-switch { background: var(--bg-gray); border-color: var(--border); color: var(--text); }
.lang-switch:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.mobile-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: var(--transition); }
.header.scrolled .mobile-toggle span { background: var(--text); }

/* ===== Hero ===== */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1494412519320-aa613dfb7738?w=1920') center/cover;
  opacity: .25;
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(26,58,92,.9) 0%, rgba(26,58,92,.7) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 800px; }
.hero h1 {
  font-size: 52px; font-weight: 800; color: #fff; line-height: 1.2;
  margin-bottom: 24px; letter-spacing: -1px;
}
.hero h1 span { color: var(--accent); }
.hero p { font-size: 20px; color: rgba(255,255,255,.85); margin-bottom: 40px; max-width: 600px; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  z-index: 2; color: rgba(255,255,255,.6); font-size: 13px; text-align: center;
  animation: bounce 2s infinite;
}
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(-10px)} }

/* ===== Section Common ===== */
.section { padding: 100px 0; }
.section-gray { background: var(--bg-gray); }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 60px; }
.section-header .label { color: var(--accent); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 12px; display: block; }
.section-header h2 { font-size: 40px; font-weight: 800; color: var(--primary); margin-bottom: 16px; letter-spacing: -.5px; }
.section-header p { font-size: 17px; color: var(--text-muted); }

/* ===== Stats ===== */
.stats { background: var(--primary); padding: 60px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; text-align: center; }
.stat-item .stat-number { font-size: 48px; font-weight: 800; color: var(--accent); line-height: 1; }
.stat-item .stat-label { color: rgba(255,255,255,.8); font-size: 15px; margin-top: 8px; }

/* ===== Products Grid ===== */
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.product-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: var(--transition); border: 1px solid var(--border);
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.product-card-img { height: 220px; overflow: hidden; position: relative; }
.product-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .product-card-img img { transform: scale(1.08); }
.product-card-body { padding: 24px; }
.product-card-body h3 { font-size: 18px; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.product-card-body p { font-size: 14px; color: var(--text-muted); margin-bottom: 16px; min-height: 42px; }
.product-card-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.product-card-meta .moq { font-size: 13px; color: var(--accent); font-weight: 600; }
.product-card-meta .price { font-size: 14px; color: var(--text-muted); }

/* ===== About Section ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-img { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-img img { width: 100%; height: 450px; object-fit: cover; }
.about-img-badge {
  position: absolute; bottom: 20px; left: 20px; background: var(--accent);
  color: #fff; padding: 16px 24px; border-radius: var(--radius); text-align: center;
}
.about-img-badge .num { font-size: 32px; font-weight: 800; }
.about-img-badge .txt { font-size: 13px; }
.about-content h2 { font-size: 36px; font-weight: 800; color: var(--primary); margin-bottom: 20px; }
.about-content p { color: var(--text-muted); margin-bottom: 16px; font-size: 16px; }
.about-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.about-tag {
  background: var(--bg-gray); border: 1px solid var(--border); padding: 8px 16px;
  border-radius: 20px; font-size: 13px; font-weight: 600; color: var(--primary);
}

/* ===== Why Us ===== */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.why-card {
  background: #fff; padding: 36px 28px; border-radius: var(--radius);
  text-align: center; box-shadow: var(--shadow); transition: var(--transition);
  border-top: 4px solid var(--accent);
}
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.why-icon {
  width: 64px; height: 64px; margin: 0 auto 20px; background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 28px;
}
.why-card h3 { font-size: 18px; font-weight: 700; color: var(--primary); margin-bottom: 12px; }
.why-card p { font-size: 14px; color: var(--text-muted); }

/* ===== Testimonials ===== */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.testimonial-card {
  background: #fff; padding: 32px; border-radius: var(--radius); box-shadow: var(--shadow);
  position: relative;
}
.testimonial-card::before {
  content: '\201C'; position: absolute; top: 10px; left: 20px; font-size: 80px;
  color: var(--accent); opacity: .2; font-family: Georgia, serif; line-height: 1;
}
.testimonial-stars { color: var(--accent); margin-bottom: 16px; font-size: 16px; }
.testimonial-text { font-size: 15px; color: var(--text-muted); margin-bottom: 24px; font-style: italic; position: relative; z-index: 1; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 48px; height: 48px; border-radius: 50%; background: var(--primary);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 18px;
}
.testimonial-info h4 { font-size: 15px; font-weight: 700; color: var(--primary); }
.testimonial-info p { font-size: 13px; color: var(--text-muted); }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; }
.contact-info h3 { font-size: 28px; font-weight: 800; color: var(--primary); margin-bottom: 16px; }
.contact-info > p { color: var(--text-muted); margin-bottom: 32px; }
.contact-item { display: flex; gap: 16px; margin-bottom: 24px; }
.contact-item-icon {
  width: 48px; height: 48px; min-width: 48px; background: var(--primary);
  border-radius: var(--radius); display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 20px;
}
.contact-item h4 { font-size: 15px; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.contact-item p { font-size: 14px; color: var(--text-muted); }
.contact-form { background: #fff; padding: 36px; border-radius: var(--radius); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 16px; border: 1px solid var(--border); border-radius: var(--radius);
  font-size: 14px; font-family: inherit; transition: var(--transition); background: #fff;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(232,119,34,.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-success {
  background: #dcfce7; color: #166534; padding: 16px; border-radius: var(--radius);
  margin-bottom: 16px; font-size: 14px; display: none;
}
.form-success.show { display: block; }

/* ===== Footer ===== */
.footer { background: var(--primary-dark); color: rgba(255,255,255,.7); padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 50px; }
.footer-col h4 { color: #fff; font-size: 16px; font-weight: 700; margin-bottom: 20px; }
.footer-col p { font-size: 14px; line-height: 1.8; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 14px; color: rgba(255,255,255,.7); transition: var(--transition); }
.footer-col ul li a:hover { color: var(--accent); padding-left: 4px; }
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center; color: #fff;
  transition: var(--transition); font-size: 14px;
}
.footer-social a:hover { background: var(--accent); transform: translateY(-3px); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding: 24px 0;
  display: flex; justify-content: space-between; align-items: center; font-size: 13px;
}
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { color: rgba(255,255,255,.6); transition: var(--transition); }
.footer-bottom-links a:hover { color: var(--accent); }

/* ===== Page Banner (内页) ===== */
.page-banner {
  position: relative; height: 300px; display: flex; align-items: center;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  margin-top: 0; padding-top: 80px;
}
.page-banner::before {
  content: ''; position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?w=1920') center/cover;
  opacity: .2;
}
.page-banner::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(26,58,92,.9), rgba(26,58,92,.6));
}
.page-banner .container { position: relative; z-index: 2; }
.page-banner h1 { font-size: 42px; font-weight: 800; color: #fff; margin-bottom: 8px; }
.page-banner p { font-size: 18px; color: rgba(255,255,255,.8); }
.breadcrumb { margin-top: 16px; font-size: 14px; color: rgba(255,255,255,.6); }
.breadcrumb a { color: rgba(255,255,255,.8); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { margin: 0 8px; }

/* ===== Products Page ===== */
.products-layout { display: grid; grid-template-columns: 280px 1fr; gap: 40px; padding: 60px 0; }
.sidebar { position: sticky; top: 100px; align-self: start; }
.sidebar-widget { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; margin-bottom: 24px; }
.sidebar-widget h3 { font-size: 16px; font-weight: 700; color: var(--primary); margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--accent); }
.filter-list li { margin-bottom: 10px; }
.filter-list label { display: flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; color: var(--text); }
.filter-list input[type=checkbox] { accent-color: var(--accent); width: 16px; height: 16px; }
.filter-list .count { color: var(--text-muted); font-size: 12px; margin-left: auto; }
.price-range { margin-top: 8px; }
.price-range input[type=range] { width: 100%; accent-color: var(--accent); }
.price-values { display: flex; justify-content: space-between; font-size: 13px; color: var(--text-muted); margin-top: 8px; }
.products-toolbar {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 24px; padding: 16px 20px; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius);
}
.products-toolbar .count { font-size: 14px; color: var(--text-muted); }
.products-toolbar select { padding: 8px 12px; border: 1px solid var(--border); border-radius: 6px; font-size: 14px; }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.pagination a {
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); border-radius: 6px; font-size: 14px; font-weight: 600;
  color: var(--text); transition: var(--transition);
}
.pagination a:hover, .pagination a.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ===== Product Detail ===== */
.product-detail { padding: 60px 0; }
.product-detail-top { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; margin-bottom: 60px; }
.product-gallery .main-img {
  width: 100%; height: 450px; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); margin-bottom: 16px;
}
.product-gallery .main-img img { width: 100%; height: 100%; object-fit: cover; }
.product-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.product-thumb {
  height: 80px; border-radius: 6px; overflow: hidden; cursor: pointer;
  border: 2px solid transparent; transition: var(--transition);
}
.product-thumb.active, .product-thumb:hover { border-color: var(--accent); }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-info h1 { font-size: 32px; font-weight: 800; color: var(--primary); margin-bottom: 12px; }
.product-rating { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.product-rating .stars { color: var(--accent); }
.product-rating .reviews { font-size: 14px; color: var(--text-muted); }
.product-price-box {
  background: var(--bg-gray); padding: 20px 24px; border-radius: var(--radius); margin-bottom: 24px;
}
.product-price-box .price-label { font-size: 13px; color: var(--text-muted); margin-bottom: 4px; }
.product-price-box .price { font-size: 28px; font-weight: 800; color: var(--accent); }
.product-price-box .price-note { font-size: 13px; color: var(--text-muted); margin-top: 4px; }
.product-meta-list { margin-bottom: 24px; }
.product-meta-list li {
  display: flex; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 14px;
}
.product-meta-list li .label { width: 140px; color: var(--text-muted); font-weight: 600; }
.product-meta-list li .value { color: var(--text); }
.product-service-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.service-tag {
  background: #fff; border: 1px solid var(--accent); color: var(--accent);
  padding: 6px 14px; border-radius: 20px; font-size: 13px; font-weight: 600;
}
.product-actions { display: flex; gap: 16px; }
.product-tabs { margin-bottom: 60px; }
.tabs-nav { display: flex; border-bottom: 2px solid var(--border); margin-bottom: 30px; gap: 8px; }
.tab-btn {
  padding: 14px 24px; background: none; border: none; font-size: 15px; font-weight: 600;
  color: var(--text-muted); cursor: pointer; position: relative; transition: var(--transition);
}
.tab-btn.active { color: var(--primary); }
.tab-btn.active::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 2px; background: var(--accent);
}
.tab-content { display: none; }
.tab-content.active { display: block; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border); font-size: 14px; }
.spec-table th { background: var(--bg-gray); color: var(--primary); font-weight: 700; width: 200px; }
.related-products h2 { font-size: 28px; font-weight: 800; color: var(--primary); margin-bottom: 30px; }

/* ===== About Page ===== */
.about-hero { padding: 80px 0; }
.about-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.timeline-section { background: var(--bg-gray); }
.timeline { position: relative; max-width: 800px; margin: 0 auto; }
.timeline::before {
  content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 3px;
  background: var(--border); transform: translateX(-50%);
}
.timeline-item { position: relative; width: 50%; padding: 0 40px 40px; }
.timeline-item:nth-child(odd) { left: 0; text-align: right; }
.timeline-item:nth-child(even) { left: 50%; }
.timeline-dot {
  position: absolute; top: 0; width: 20px; height: 20px; background: var(--accent);
  border-radius: 50%; border: 4px solid #fff; box-shadow: 0 0 0 2px var(--accent);
}
.timeline-item:nth-child(odd) .timeline-dot { right: -10px; }
.timeline-item:nth-child(even) .timeline-dot { left: -10px; }
.timeline-year { font-size: 24px; font-weight: 800; color: var(--accent); margin-bottom: 8px; }
.timeline-content { background: #fff; padding: 20px; border-radius: var(--radius); box-shadow: var(--shadow); }
.timeline-content h4 { font-size: 16px; font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.timeline-content p { font-size: 14px; color: var(--text-muted); }
.facilities-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.facility-card { position: relative; border-radius: var(--radius); overflow: hidden; height: 240px; }
.facility-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.facility-card:hover img { transform: scale(1.1); }
.facility-card-overlay {
  position: absolute; inset: 0; background: linear-gradient(to top, rgba(26,58,92,.9), transparent);
  display: flex; align-items: flex-end; padding: 20px;
}
.facility-card-overlay h4 { color: #fff; font-size: 16px; font-weight: 700; }
.certs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.cert-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px; text-align: center; transition: var(--transition);
}
.cert-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.cert-icon {
  width: 70px; height: 70px; margin: 0 auto 16px; background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff;
  font-size: 24px; font-weight: 800;
}
.cert-card h4 { font-size: 18px; font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.cert-card p { font-size: 13px; color: var(--text-muted); }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.team-card { text-align: center; }
.team-avatar {
  width: 120px; height: 120px; border-radius: 50%; margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex; align-items: center; justify-content: center; color: #fff;
  font-size: 40px; font-weight: 800;
}
.team-card h4 { font-size: 17px; font-weight: 700; color: var(--primary); }
.team-card .position { font-size: 14px; color: var(--accent); font-weight: 600; margin-bottom: 8px; }
.team-card p { font-size: 13px; color: var(--text-muted); }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.value-card {
  background: #fff; padding: 40px 30px; border-radius: var(--radius); text-align: center;
  box-shadow: var(--shadow); border-bottom: 4px solid var(--accent);
}
.value-icon { font-size: 48px; margin-bottom: 16px; }
.value-card h3 { font-size: 22px; font-weight: 800; color: var(--primary); margin-bottom: 12px; }
.value-card p { font-size: 15px; color: var(--text-muted); }
.cta-section {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 80px 0; text-align: center;
}
.cta-section h2 { font-size: 36px; font-weight: 800; color: #fff; margin-bottom: 16px; }
.cta-section p { font-size: 18px; color: rgba(255,255,255,.8); margin-bottom: 32px; }

/* ===== News Page ===== */
.news-layout { display: grid; grid-template-columns: 1fr 300px; gap: 40px; padding: 60px 0; }
.news-list { display: grid; gap: 30px; }
.news-card {
  display: grid; grid-template-columns: 280px 1fr; gap: 24px; background: #fff;
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  transition: var(--transition);
}
.news-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.news-card-img { height: 100%; min-height: 200px; }
.news-card-img img { width: 100%; height: 100%; object-fit: cover; }
.news-card-body { padding: 24px 24px 24px 0; }
.news-card-meta { display: flex; gap: 16px; margin-bottom: 12px; font-size: 13px; color: var(--text-muted); }
.news-card-meta .category { color: var(--accent); font-weight: 700; }
.news-card-body h3 { font-size: 20px; font-weight: 700; color: var(--primary); margin-bottom: 10px; line-height: 1.4; }
.news-card-body p { font-size: 14px; color: var(--text-muted); margin-bottom: 16px; }
.news-card-body .read-more { color: var(--accent); font-weight: 700; font-size: 14px; }
.news-sidebar .widget { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; margin-bottom: 24px; }
.news-sidebar .widget h3 { font-size: 16px; font-weight: 700; color: var(--primary); margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--accent); }
.search-box { display: flex; }
.search-box input { flex: 1; padding: 10px 14px; border: 1px solid var(--border); border-radius: 6px 0 0 6px; font-size: 14px; }
.search-box button { padding: 10px 16px; background: var(--primary); color: #fff; border: none; border-radius: 0 6px 6px 0; cursor: pointer; }
.category-list li { padding: 8px 0; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; }
.category-list li:last-child { border-bottom: none; }
.category-list a { font-size: 14px; color: var(--text); transition: var(--transition); }
.category-list a:hover { color: var(--accent); }
.category-list .count { font-size: 12px; color: var(--text-muted); background: var(--bg-gray); padding: 2px 8px; border-radius: 10px; }
.popular-post { display: flex; gap: 12px; margin-bottom: 16px; }
.popular-post:last-child { margin-bottom: 0; }
.popular-post-img { width: 70px; height: 60px; border-radius: 6px; overflow: hidden; flex-shrink: 0; }
.popular-post-img img { width: 100%; height: 100%; object-fit: cover; }
.popular-post h4 { font-size: 13px; font-weight: 600; color: var(--primary); line-height: 1.4; margin-bottom: 4px; }
.popular-post .date { font-size: 11px; color: var(--text-muted); }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud a {
  padding: 6px 12px; background: var(--bg-gray); border-radius: 4px; font-size: 13px;
  color: var(--text-muted); transition: var(--transition);
}
.tag-cloud a:hover { background: var(--accent); color: #fff; }

/* ===== FAQ Page ===== */
.faq-section { padding: 60px 0; }
.faq-search { max-width: 600px; margin: 0 auto 40px; }
.faq-search input {
  width: 100%; padding: 16px 24px; border: 2px solid var(--border); border-radius: 30px;
  font-size: 16px; transition: var(--transition);
}
.faq-search input:focus { outline: none; border-color: var(--accent); }
.faq-cats { display: flex; justify-content: center; gap: 10px; margin-bottom: 40px; flex-wrap: wrap; }
.faq-cat {
  padding: 10px 20px; border: 1px solid var(--border); border-radius: 20px; background: #fff;
  font-size: 14px; font-weight: 600; color: var(--text); cursor: pointer; transition: var(--transition);
}
.faq-cat:hover, .faq-cat.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  margin-bottom: 12px; overflow: hidden; transition: var(--transition);
}
.faq-item:hover { box-shadow: var(--shadow); }
.faq-question {
  padding: 20px 24px; display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; font-weight: 600; color: var(--primary); font-size: 16px;
}
.faq-question .icon { font-size: 20px; color: var(--accent); transition: transform .3s; flex-shrink: 0; margin-left: 16px; }
.faq-item.open .faq-question .icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease;
  padding: 0 24px; color: var(--text-muted); font-size: 15px; line-height: 1.8;
}
.faq-item.open .faq-answer { max-height: 500px; padding: 0 24px 20px; }

/* ===== Back to Top ===== */
.back-to-top {
  position: fixed; bottom: 30px; right: 30px; width: 48px; height: 48px;
  background: var(--primary); color: #fff; border: none; border-radius: 50%;
  cursor: pointer; font-size: 20px; box-shadow: var(--shadow-lg); z-index: 999;
  opacity: 0; visibility: hidden; transition: var(--transition);
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--accent); transform: translateY(-3px); }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero h1 { font-size: 40px; }
  .products-grid, .why-grid, .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .facilities-grid { grid-template-columns: repeat(2, 1fr); }
  .certs-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav { display: none; position: fixed; top: 0; right: -100%; width: 280px; height: 100vh;
    background: #fff; flex-direction: column; padding: 80px 30px 30px; gap: 20px;
    box-shadow: var(--shadow-lg); transition: right .3s ease; }
  .nav.open { display: flex; right: 0; }
  .nav a { color: var(--text) !important; font-size: 16px; }
  .mobile-toggle { display: block; z-index: 1001; }
  .mobile-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); background: var(--text); }
  .mobile-toggle.open span:nth-child(2) { opacity: 0; }
  .mobile-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); background: var(--text); }
  .hero { min-height: 80vh; }
  .hero h1 { font-size: 32px; }
  .hero p { font-size: 16px; }
  .section { padding: 60px 0; }
  .section-header h2 { font-size: 28px; }
  .about-grid, .contact-grid, .product-detail-top, .about-hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .products-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .news-layout { grid-template-columns: 1fr; }
  .news-card { grid-template-columns: 1fr; }
  .news-card-img { height: 200px; }
  .news-card-body { padding: 0 20px 20px; }
  .products-grid, .why-grid, .testimonials-grid, .stats-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .timeline::before { left: 20px; }
  .timeline-item { width: 100%; left: 0 !important; text-align: left !important; padding-left: 50px; padding-right: 0; }
  .timeline-item .timeline-dot { left: 10px !important; right: auto !important; }
  .facilities-grid, .certs-grid, .team-grid { grid-template-columns: 1fr; }
  .page-banner h1 { font-size: 32px; }
  .product-gallery .main-img { height: 300px; }
  .product-actions { flex-direction: column; }
}

/* ===== 动画关键帧 ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(232,119,34,.4); }
  50% { box-shadow: 0 0 0 12px rgba(232,119,34,0); }
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ===== 滚动入场动画 ===== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1);
}
.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}
.animate-on-scroll.from-left { transform: translateX(-40px); }
.animate-on-scroll.from-left.animated { transform: translateX(0); }
.animate-on-scroll.from-right { transform: translateX(40px); }
.animate-on-scroll.from-right.animated { transform: translateX(0); }
.animate-on-scroll.scale-in { transform: scale(.9); }
.animate-on-scroll.scale-in.animated { transform: scale(1); }

.delay-100 { transition-delay: .1s; }
.delay-200 { transition-delay: .2s; }
.delay-300 { transition-delay: .3s; }
.delay-400 { transition-delay: .4s; }
.delay-500 { transition-delay: .5s; }

/* ===== Hero 动画 ===== */
.hero h1 { animation: fadeInUp .8s cubic-bezier(.16,1,.3,1) both; }
.hero p { animation: fadeInUp .8s cubic-bezier(.16,1,.3,1) .15s both; }
.hero-buttons { animation: fadeInUp .8s cubic-bezier(.16,1,.3,1) .3s both; }

/* ===== 按钮精细样式 ===== */
.btn {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  font-weight: 600;
  letter-spacing: .01em;
  box-shadow: 0 1px 2px 0 rgba(0,0,0,.05);
}
.btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent);
  transition: left .5s ease;
}
.btn:hover::before { left: 100%; }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary {
  background: var(--accent);
  box-shadow: 0 1px 3px 0 rgba(232,119,34,.3), 0 1px 2px -1px rgba(232,119,34,.2);
}
.btn-primary:hover {
  background: var(--accent-dark);
  box-shadow: 0 4px 12px 0 rgba(232,119,34,.35), 0 2px 4px -2px rgba(232,119,34,.2);
}

/* ===== 卡片精细样式 ===== */
.product-card, .why-card, .testimonial-card, .cert-card, .value-card, .team-card, .news-card, .facility-card {
  transition: transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s cubic-bezier(.16,1,.3,1), border-color .3s ease;
}
.product-card:hover, .why-card:hover, .testimonial-card:hover, .cert-card:hover, .value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 25px -5px rgba(0,0,0,.1), 0 8px 10px -6px rgba(0,0,0,.1);
}

/* ===== 输入框精细样式 ===== */
.form-group input, .form-group select, .form-group textarea {
  border-radius: 6px;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
  background: #fff;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,58,92,.1);
  outline: none;
}

/* ===== 导航链接下划线动画 ===== */
.nav a {
  position: relative;
}
.nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width .3s ease;
}
.nav a:hover::after, .nav a.active::after {
  width: 100%;
}

/* ===== 统计数字样式 ===== */
.stat-number {
  background: linear-gradient(135deg, var(--accent), #f5a623);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== 图片悬停缩放 ===== */
.product-card-img img, .facility-card img, .news-card-img img {
  transition: transform .6s cubic-bezier(.16,1,.3,1);
}
.product-card:hover .product-card-img img,
.news-card:hover .news-card-img img {
  transform: scale(1.08);
}

/* ===== 标签样式 ===== */
.about-tag, .service-tag {
  transition: all .2s ease;
}
.about-tag:hover, .service-tag:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ===== FAQ 手风琴优化 ===== */
.faq-item {
  transition: box-shadow .3s ease, border-color .3s ease;
}
.faq-item:hover {
  border-color: var(--primary);
}
.faq-item.open {
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(26,58,92,.08);
}

/* ===== 分页优化 ===== */
.pagination a {
  transition: all .2s ease;
}
.pagination a:hover:not(.active) {
  border-color: var(--primary);
  color: var(--primary);
}

/* ===== 筛选侧边栏 ===== */
.sidebar-widget {
  transition: box-shadow .3s ease;
}
.sidebar-widget:hover {
  box-shadow: var(--shadow);
}

/* ===== 时间轴 ===== */
.timeline-content {
  transition: transform .3s ease, box-shadow .3s ease;
}
.timeline-content:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* ===== 减少动画（无障碍） ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .animate-on-scroll {
    opacity: 1;
    transform: none;
  }
}
