/* China Kids Book Printing Factory - B2B Website Styles v2 (Bilingual + New Assets) */

:root {
  --primary: #0f5c99;
  --primary-dark: #0a3f69;
  --primary-light: #1d7bc7;
  --accent: #f59e0b;
  --accent-light: #fbbf24;
  --text: #1f2937;
  --text-light: #4b5563;
  --text-muted: #6b7280;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --bg-warm: #fff7ed;
  --border: #e5e7eb;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.03);
  --radius: 12px;
  --radius-sm: 8px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--text);
  line-height: 1.6;
  background: var(--bg);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--primary-dark);
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

.section-soft {
  background: var(--bg-soft);
}

.section-warm {
  background: var(--bg-warm);
}

.section-title {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 64px;
}

.section-title h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-title p {
  font-size: 1.125rem;
  color: var(--text-light);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  background: rgba(29, 123, 199, 0.12);
  color: var(--primary-dark);
}

.badge-accent {
  background: rgba(245, 158, 11, 0.12);
  color: #b45309;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(15, 92, 153, 0.25);
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15, 92, 153, 0.3);
}

.btn-accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.25);
}

.btn-accent:hover {
  background: #d97706;
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.875rem;
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 4px;
}

.lang-btn {
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.lang-btn.active {
  background: var(--primary);
  color: #fff;
}

/* Bilingual text visibility */
body[data-lang="zh"] [data-en],
body[data-lang="en"] [data-zh] {
  display: none;
}

body[data-lang="zh"] [data-zh],
body[data-lang="en"] [data-en] {
  display: inline;
}

body[data-lang="zh"] a[data-zh],
body[data-lang="en"] a[data-en] {
  display: inline-flex;
}

body[data-lang="zh"] a[data-en],
body[data-lang="en"] a[data-zh] {
  display: none;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.header.scrolled {
  box-shadow: var(--shadow);
  border-color: var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text);
  flex-shrink: 0;
}

.logo img {
  height: 52px;
  width: auto;
  border-radius: 8px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
}

.nav a:hover {
  color: var(--primary);
}

.nav-cta {
  display: flex;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

/* Hero */
.hero {
  padding-top: 80px;
  background: var(--bg);
}

.hero-banner {
  width: 100%;
  height: auto;
  aspect-ratio: 1280 / 533;
  display: block;
}

.hero-bar {
  background: var(--primary);
  color: #fff;
  padding: 40px 0;
}

.hero-bar-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  text-align: center;
}

.hero-bar-item h3 {
  font-size: 1.75rem;
  font-weight: 900;
  margin-bottom: 6px;
}

.hero-bar-item p {
  font-size: 0.875rem;
  opacity: 0.9;
}

/* About / Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg);
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-image {
  height: 150px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
}

.feature-image svg {
  width: 90px;
  height: 90px;
}

.feature-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.9375rem;
  color: var(--text-light);
}

/* Products */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.product-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-soft);
}

.product-image img,
.product-image svg {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.4s;
}

.product-card:hover .product-image img,
.product-card:hover .product-image svg {
  transform: scale(1.05);
}

.product-body {
  padding: 24px;
}

.product-body h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.product-body p {
  font-size: 0.9375rem;
  color: var(--text-light);
  margin-bottom: 16px;
  min-height: 66px;
}

.product-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.product-meta span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.product-meta svg {
  color: var(--primary);
}

/* Factory */
.factory-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.factory-image {
  aspect-ratio: 3 / 2;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.factory-image img,
.factory-image svg {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.factory-content h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 20px;
}

.factory-content > p {
  color: var(--text-light);
  margin-bottom: 24px;
}

.factory-list {
  list-style: none;
  display: grid;
  gap: 14px;
}

.factory-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.9375rem;
}

.factory-list svg {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 3px;
}

/* Certifications */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}

.cert-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 16px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.cert-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.cert-card svg {
  color: var(--primary);
  margin-bottom: 12px;
}

.cert-card h4 {
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.cert-card p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Industry Research */
.research-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.research-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  color: var(--text);
  cursor: pointer;
}

.research-card:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.research-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.research-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(15, 92, 153, 0.08);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 14px;
}

.research-icon {
  width: 40px;
  height: 40px;
  color: var(--accent);
  margin-bottom: 14px;
}

.research-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.research-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}

.research-more {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
}

.research-more:hover {
  color: var(--accent);
}

.research-viewmore {
  text-align: center;
  margin-top: 36px;
}

/* Research detail page (research.html) */
.research-hero {
  background: linear-gradient(135deg, var(--primary) 0%, #0b4a7d 100%);
  color: #fff;
  padding: 64px 0 48px;
}
.research-hero .container { text-align: center; }
.research-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 12px;
}
.research-hero p {
  max-width: 640px;
  margin: 0 auto;
  opacity: 0.9;
  line-height: 1.7;
}
.back-home {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}
.back-home:hover { color: #fff; }

.article {
  border-bottom: 1px solid var(--border);
  padding: 56px 0;
  scroll-margin-top: 90px;
}
.article:last-child { border-bottom: none; }
.article-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}
@media (min-width: 860px) {
  .article-grid { grid-template-columns: 320px 1fr; gap: 48px; }
}
.article-illustration {
  background: var(--section-soft, #f4f8fc);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
}
.article-illustration svg { width: 100%; height: auto; display: block; border-radius: 10px; }
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}
.article-meta .research-tag { margin-bottom: 0; }
.article h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text);
}
.article .lede {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 18px;
}
.article h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 24px 0 10px;
  color: var(--primary);
}
.article p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 14px;
}
.article ul {
  margin: 0 0 16px 20px;
  color: var(--text);
  line-height: 1.8;
  font-size: 0.95rem;
}
.article ul li { margin-bottom: 6px; }
.article-cta {
  margin-top: 24px;
  padding: 20px;
  background: rgba(15, 92, 153, 0.06);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
}
.article-cta p { margin-bottom: 12px; }
.article-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 8px;
  padding: 18px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.article-toc a {
  font-size: 0.85rem;
  color: var(--primary);
  text-decoration: none;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
}
.article-toc a:hover { background: rgba(15, 92, 153, 0.06); }

/* Cases */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.case-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.case-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.case-image img,
.case-image svg {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.case-body {
  padding: 24px;
}

.case-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
  margin-bottom: 8px;
}

.case-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.case-specs {
  list-style: none;
  font-size: 0.8125rem;
  color: var(--text-light);
}

.case-specs li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}

.case-specs li:last-child {
  border-bottom: none;
}

/* Process */
.process-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.process-intro h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.process-intro p {
  font-size: 1.125rem;
  color: var(--text-light);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.process-step {
  text-align: center;
  position: relative;
  padding: 24px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.2s, box-shadow 0.2s;
}

.process-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.step-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(29, 123, 199, 0.08);
  border-radius: 50%;
}

.step-icon svg {
  width: 40px;
  height: 40px;
  color: var(--primary);
}

.step-number {
  display: inline-block;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 900;
  line-height: 32px;
  margin-bottom: 10px;
}

.process-step h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 0.875rem;
  color: var(--text-light);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 20px;
}

.contact-info > p {
  color: var(--text-light);
  margin-bottom: 28px;
}

.contact-list {
  list-style: none;
  display: grid;
  gap: 18px;
}

.contact-list a {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  color: var(--text);
}

.contact-list a:hover {
  color: var(--primary);
}

.contact-list svg {
  color: var(--primary);
  flex-shrink: 0;
}

.contact-list strong {
  display: block;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.contact-list span {
  font-size: 1rem;
}

.contact-form {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}

.form-group label .required {
  color: #dc2626;
  margin-left: 2px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.9375rem;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(29, 123, 199, 0.15);
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
  border-color: #f87171;
  background: #fef2f2;
}

.form-group .error-msg {
  font-size: 0.75rem;
  color: #dc2626;
  margin-top: 4px;
  display: none;
}

.form-group.error .error-msg {
  display: block;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}

.form-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.form-status {
  margin-top: 16px;
  padding: 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  display: none;
}

.form-status.success {
  background: #eff6ff;
  color: var(--primary-dark);
  border: 1px solid #bfdbfe;
}

.form-status.error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* Footer */
.footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 72px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .logo {
  color: #fff;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9375rem;
  line-height: 1.7;
  opacity: 0.85;
}

.footer-col h4 {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 12px;
}

.footer-col a {
  color: #94a3b8;
  font-size: 0.9375rem;
}

.footer-col a:hover {
  color: #fff;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9375rem;
  color: #94a3b8;
}

.footer-contact svg {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.875rem;
  color: #64748b;
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.whatsapp-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
  animation: pulse-whatsapp 2s infinite;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45);
}

.whatsapp-label {
  background: #fff;
  color: var(--text);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 6px;
  box-shadow: var(--shadow);
  white-space: nowrap;
}

@keyframes pulse-whatsapp {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.45); }
  70% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
  .products-grid,
  .features-grid,
  .cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cert-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-steps {
    grid-template-columns: repeat(3, 1fr);
  }
  .hero-bar-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .section {
    padding: 64px 0;
  }
  .header-inner {
    height: 72px;
  }
  .logo img {
    height: 42px;
  }
  .nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    gap: 0;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    transform: translateY(-150%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
  }
  .nav-cta {
    padding-top: 16px;
  }
  .nav-cta .btn {
    width: 100%;
  }
  .lang-switcher {
    order: -1;
    margin-bottom: 16px;
  }
  .mobile-menu-btn {
    display: block;
  }
  .hero {
    padding-top: 72px;
  }
  .hero-bar-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .hero-bar-item h3 {
    font-size: 1.35rem;
  }
  .hero-bar-item p {
    font-size: 0.75rem;
  }
  .hero-grid,
  .factory-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .products-grid,
  .features-grid,
  .cases-grid,
  .cert-grid {
    grid-template-columns: 1fr;
  }
  .process-steps {
    grid-template-columns: 1fr;
  }
  .process-step {
    display: flex;
    align-items: center;
    text-align: left;
    gap: 16px;
  }
  .step-icon {
    margin: 0;
    flex-shrink: 0;
  }
  .step-body {
    flex: 1;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .whatsapp-float {
    right: 16px;
  }
  .whatsapp-btn {
    width: 54px;
    height: 54px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  .hero-bar-grid {
    grid-template-columns: 1fr;
  }
  .section-title {
    margin-bottom: 40px;
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .btn {
    width: 100%;
  }
}


/* ============================================================
   图片替换 — 素材来源：Donghao Printing Company Introduction.pdf
   网站图片分类 与 PDF 分类一一对应
   ============================================================ */
.product-image img,
.factory-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 设备网格 — 对应 PDF 中的设备分类 */
.equipment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.equipment-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.equipment-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.equipment-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--bg-soft);
}
.equipment-card .eq-body {
  padding: 14px 18px 18px;
}
.equipment-card h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}
.equipment-card p {
  font-size: 13px;
  color: var(--text-muted);
}

/* 证书卡片 — 对应 PDF 中的证书资质分类 */
.cert-card .cert-img {
  display: block;
  width: 100%;
  height: 170px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  padding: 6px;
}

/* 案例卡片配图 */
.case-card > img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

@media (max-width: 980px) {
  .equipment-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .equipment-grid { grid-template-columns: 1fr; }
}

/* Why Choose Us — 真实配图铺满占位区 */
.feature-image {
  height: 180px;
  overflow: hidden;
  padding: 0;
}
.feature-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
  transition: transform 0.4s ease;
}
.feature-card:hover .feature-image img {
  transform: scale(1.06);
}
