/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
  color: #2D2D2D; line-height: 1.6; background: #FFFAF0;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===== Colors ===== */
:root {
  --yellow: #F5A623;
  --yellow-dark: #D4891A;
  --yellow-light: #FFF3D6;
  --yellow-bg: #FFF8E8;
  --orange: #FF8C00;
  --red: #E74C3C;
  --warm-white: #FFFAF0;
  --text: #2D2D2D;
  --text-secondary: #666666;
  --text-light: #999999;
  --deep-dark: #1A0F0A;
  --border: #F0E0C8;
  --shadow: rgba(0,0,0,0.06);
  --shadow-hover: rgba(0,0,0,0.12);
}

/* ===== Header ===== */
.header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: rgba(255,250,240,0.97); backdrop-filter: blur(8px);
  box-shadow: 0 1px 12px rgba(0,0,0,0.06);
}
.header .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo-wrap { display: flex; align-items: center; gap: 10px; }
.logo-wrap img { height: 40px; width: auto; }
.logo-text { font-size: 20px; font-weight: 700; color: var(--yellow-dark); }
.nav-links { display: flex; gap: 32px; }
.nav-links a {
  font-size: 15px; font-weight: 500; color: var(--text-secondary);
  transition: color 0.25s; position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--yellow-dark); }
.nav-links a.active::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: var(--yellow); border-radius: 1px;
}
.header-actions { display: flex; align-items: center; gap: 16px; }
.header-tel { font-size: 15px; font-weight: 600; color: var(--yellow-dark); }
.btn-primary {
  display: inline-block; padding: 10px 28px; border-radius: 6px;
  background: linear-gradient(135deg, var(--yellow), var(--yellow-dark));
  color: #fff !important; font-size: 15px; font-weight: 600;
  border: none; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 4px 15px rgba(245,166,35,0.35); }
.btn-outline {
  display: inline-block; padding: 10px 28px; border-radius: 6px;
  border: 2px solid var(--yellow); color: var(--yellow-dark); font-size: 15px; font-weight: 600;
  background: transparent; cursor: pointer; transition: all 0.25s;
}
.btn-outline:hover { background: var(--yellow); color: #fff; border-color: var(--yellow); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.nav-toggle span { width: 24px; height: 2.5px; background: var(--text); border-radius: 2px; transition: all 0.25s; }

/* ===== Hero ===== */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  background: linear-gradient(135deg, #1A0F0A 0%, #2D1810 40%, #3D2010 100%);
  position: relative; overflow: hidden; padding-top: 72px;
}
.hero-bg-img {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center; opacity: 0.30;
}
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.35); }
.hero-content { position: relative; z-index: 2; text-align: center; color: #fff; padding: 60px 0; }
.hero-content h1 {
  font-size: clamp(36px, 6vw, 64px); font-weight: 800;
  margin-bottom: 8px; letter-spacing: 2px;
  background: linear-gradient(135deg, var(--yellow), #FFC107);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-content .subtitle {
  font-size: clamp(18px, 3vw, 28px); font-weight: 300;
  margin-bottom: 16px; color: rgba(255,255,255,0.85);
}
.hero-content .slogan {
  font-size: clamp(16px, 2vw, 22px); font-weight: 400;
  margin-bottom: 40px; color: rgba(255,255,255,0.7);
  max-width: 700px; margin-left: auto; margin-right: auto;
}
.hero-content .btn-primary { font-size: 18px; padding: 14px 42px; }
.hero-badge {
  display: inline-block; padding: 6px 18px; border-radius: 20px;
  background: rgba(245,166,35,0.2); color: var(--yellow);
  font-size: 14px; font-weight: 500; margin-bottom: 20px; border: 1px solid rgba(245,166,35,0.3);
}

/* ===== Sections ===== */
.section { padding: 90px 0; }
.section-title {
  text-align: center; font-size: clamp(26px, 3.5vw, 36px); font-weight: 700;
  margin-bottom: 12px; color: var(--text);
}
.section-title::after {
  content: ''; display: block; width: 50px; height: 3px;
  background: var(--yellow); margin: 14px auto 0; border-radius: 2px;
}
.section-desc {
  text-align: center; font-size: 16px; color: var(--text-secondary);
  max-width: 600px; margin: 0 auto 52px; line-height: 1.7;
}
.section-bg { background: var(--yellow-bg); }

/* ===== Stats ===== */
.stats { padding: 70px 0; background: linear-gradient(135deg, var(--yellow), var(--orange)); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; text-align: center; }
.stat-item .num { font-size: clamp(32px,4vw,48px); font-weight: 800; }
.stat-item .label { font-size: 15px; opacity: 0.9; margin-top: 6px; }

/* ===== Intro ===== */
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.intro-text h2 { font-size: 28px; font-weight: 700; margin-bottom: 16px; color: var(--text); }
.intro-text p { font-size: 15.5px; color: var(--text-secondary); margin-bottom: 12px; line-height: 1.8; }
.intro-text .highlight { color: var(--yellow-dark); font-weight: 600; }
.intro-img { border-radius: 12px; overflow: hidden; box-shadow: 0 8px 30px rgba(0,0,0,0.1); }
.intro-img img { width: 100%; }

/* ===== Product Grid ===== */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px,1fr)); gap: 24px; }
.product-card {
  background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: 0 2px 12px var(--shadow); transition: transform 0.3s, box-shadow 0.3s;
  text-align: center; border-top: 3px solid var(--yellow);
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 8px 25px var(--shadow-hover); }
.product-card .img-wrap { height: 180px; overflow: hidden; background: #FFF3D6; }
.product-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.product-card h3 { font-size: 16px; font-weight: 600; margin: 14px 0 6px; color: var(--text); }
.product-card p { font-size: 13.5px; color: var(--text-light); padding: 0 12px 16px; }

/* ===== Features ===== */
.features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; }
.feature-card {
  background: #fff; border-radius: 12px; padding: 36px 24px;
  text-align: center; box-shadow: 0 2px 12px var(--shadow);
  transition: transform 0.3s; border-bottom: 3px solid var(--yellow);
}
.feature-card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px var(--shadow-hover); }
.feature-icon {
  width: 60px; height: 60px; border-radius: 50%; margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--yellow), var(--orange));
}
.feature-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 10px; color: var(--text); }
.feature-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

/* ===== Timeline ===== */
.timeline { position: relative; max-width: 800px; margin: 0 auto; }
.timeline::before {
  content: ''; position: absolute; left: 50%; top: 0; bottom: 0;
  width: 2px; background: var(--border); transform: translateX(-50%);
}
.timeline-item { display: flex; align-items: flex-start; margin-bottom: 40px; position: relative; }
.timeline-item:nth-child(odd) { flex-direction: row-reverse; }
.timeline-item .year { flex: 0 0 120px; text-align: center; font-size: 20px; font-weight: 800; color: var(--yellow-dark); padding-top: 4px; }
.timeline-item .content { flex: 1; background: #fff; border-radius: 10px; padding: 20px 24px; box-shadow: 0 2px 10px var(--shadow); margin: 0 30px; border-left: 3px solid var(--yellow); }
.timeline-item .content h4 { font-size: 16px; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.timeline-item .content p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }
.timeline-dot { position: absolute; left: 50%; top: 8px; width: 14px; height: 14px; background: var(--yellow); border-radius: 50%; transform: translateX(-50%); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--yellow); }

/* ===== Testimonials ===== */
.testimonial-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.testimonial-card {
  background: #fff; border-radius: 12px; padding: 28px;
  box-shadow: 0 2px 12px var(--shadow); border-left: 3px solid var(--yellow);
}
.testimonial-card .stars { color: var(--yellow); font-size: 18px; margin-bottom: 10px; }
.testimonial-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; font-style: italic; }
.testimonial-card .author { font-weight: 600; color: var(--text); margin-top: 12px; }

/* ===== CTA ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--yellow-dark), var(--yellow), var(--orange));
  color: #fff; text-align: center; padding: 70px 0;
}
.cta-banner h2 { font-size: clamp(24px,3.5vw,34px); font-weight: 700; margin-bottom: 12px; }
.cta-banner p { font-size: 16px; opacity: 0.92; margin-bottom: 30px; }
.cta-banner .btn-outline { border-color: #fff; color: #fff; }
.cta-banner .btn-outline:hover { background: #fff; color: var(--yellow-dark); }
.cta-form { max-width: 500px; margin: 20px auto 0; display: flex; gap: 12px; }
.cta-form input { flex: 1; padding: 12px 16px; border-radius: 6px; border: none; font-size: 15px; outline: none; }
.cta-form .btn-primary { background: var(--deep-dark); }
.cta-form .btn-primary:hover { background: #000; }

/* ===== Values ===== */
.values-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.value-card { text-align: center; padding: 32px 20px; background: #fff; border-radius: 12px; box-shadow: 0 2px 10px var(--shadow); border-top: 3px solid var(--yellow); }
.value-card .icon { font-size: 36px; margin-bottom: 12px; }
.value-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; color: var(--text); }
.value-card p { font-size: 14px; color: var(--text-secondary); }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info h3 { font-size: 22px; font-weight: 600; margin-bottom: 20px; color: var(--text); }
.contact-item { display: flex; gap: 14px; margin-bottom: 20px; align-items: flex-start; }
.contact-item .icon { font-size: 22px; flex-shrink: 0; width: 24px; text-align: center; }
.contact-item .text { font-size: 15px; color: var(--text-secondary); }
.contact-item .text strong { color: var(--text); display: block; margin-bottom: 2px; }

/* ===== Footer ===== */
.footer { background: var(--deep-dark); color: rgba(255,255,255,0.7); padding: 50px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 30px; }
.footer-brand img { height: 36px; margin-bottom: 12px; }
.footer-brand p { font-size: 14px; line-height: 1.7; max-width: 300px; }
.footer h4 { color: #fff; font-size: 16px; font-weight: 600; margin-bottom: 16px; }
.footer ul li { margin-bottom: 8px; }
.footer ul li a { font-size: 14px; transition: color 0.2s; }
.footer ul li a:hover { color: var(--yellow); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 13px; }
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--yellow); }
.footer .powered { margin-top: 4px; font-size: 12px; color: rgba(255,255,255,0.35); }
.footer .powered a { color: rgba(255,255,255,0.5); }
.footer .powered a:hover { color: var(--yellow); }

/* ===== Page Header ===== */
.page-header { padding: 140px 0 70px; text-align: center; background: linear-gradient(135deg, #1A0F0A, #2D1810); color: #fff; }
.page-header h1 { font-size: clamp(30px,4vw,42px); font-weight: 700; margin-bottom: 8px; }
.page-header h1::after {
  content: ''; display: block; width: 40px; height: 3px;
  background: var(--yellow); margin: 12px auto 0; border-radius: 2px;
}
.page-header p { font-size: 16px; opacity: 0.75; }

/* ===== Back to Top ===== */
.back-top { position: fixed; bottom: 30px; right: 30px; width: 44px; height: 44px; background: var(--yellow); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; cursor: pointer; opacity: 0; visibility: hidden; transition: all 0.3s; box-shadow: 0 2px 10px rgba(245,166,35,0.3); z-index: 999; }
.back-top.show { opacity: 1; visibility: visible; }
.back-top:hover { transform: translateY(-2px); background: var(--yellow-dark); }

/* ===== Honor ===== */
.honor-list { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.honor-badge { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 14px 22px; font-size: 14px; font-weight: 600; color: var(--yellow-dark); }
.honor-badge span { display: block; font-weight: 400; color: var(--text-light); font-size: 12px; margin-top: 2px; }

/* ===== Misc ===== */
.detail-list li { padding: 10px 0; border-bottom: 1px solid var(--border); display: flex; gap: 10px; }
.detail-list li::before { content: '\2713'; color: var(--yellow); font-weight: 700; }
.process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); gap: 20px; }
.process-step { text-align: center; padding: 24px 16px; }
.process-step .step-num { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--yellow), var(--orange)); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700; margin: 0 auto 12px; }
.process-step h4 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.process-step p { font-size: 13.5px; color: var(--text-secondary); }
.faq-item { border-bottom: 1px solid var(--border); padding: 18px 0; }
.faq-item .q { font-weight: 600; color: var(--text); cursor: pointer; font-size: 15px; }
.faq-item .q:hover { color: var(--yellow-dark); }
.faq-item .a { font-size: 14px; color: var(--text-secondary); margin-top: 8px; display: none; }
.faq-item.open .a { display: block; }

/* ===== Form ===== */
.form-group { margin-bottom: 14px; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border);
  border-radius: 6px; font-size: 15px; outline: none; background: #fff;
  transition: border-color 0.2s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--yellow); box-shadow: 0 0 0 2px rgba(245,166,35,0.15); }
.form-textarea { resize: vertical; }

/* ===== Product Category Title ===== */
.category-title {
  font-size: 22px; font-weight: 700; color: var(--yellow-dark);
  margin-bottom: 30px; text-align: center;
}
.category-title span { display: inline-block; padding: 0 20px 8px; border-bottom: 3px solid var(--yellow); }

/* ===== Map Placeholder ===== */
.map-placeholder {
  background: var(--yellow-bg); border-radius: 12px; height: 300px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-light); font-size: 14px;
  border: 2px dashed var(--border);
}

/* ===== Responsive ===== */
@media (max-width: 968px) {
  .intro-grid, .contact-grid { grid-template-columns: 1fr; }
  .features-grid, .values-grid { grid-template-columns: 1fr 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2,1fr); gap: 30px; }
  .timeline::before { left: 20px; }
  .timeline-item, .timeline-item:nth-child(odd) { flex-direction: row; }
  .timeline-item .year { flex: 0 0 80px; text-align: left; padding-left: 44px; }
  .timeline-item .content { margin: 0 0 0 10px; }
  .timeline-dot { left: 20px; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: var(--warm-white); padding: 16px 20px; box-shadow: 0 4px 12px rgba(0,0,0,0.08); gap: 16px; }
  .features-grid, .values-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2,1fr); }
  .cta-form { flex-direction: column; }
}
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 30px;
}
.cert-item {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid var(--border);
  cursor: pointer;
}
.cert-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px var(--shadow-hover);
}
.cert-item .img-wrap {
  height: 200px;
  overflow: hidden;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}
.cert-item .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.cert-item .cert-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  text-align: center;
  padding: 10px 12px 14px;
  line-height: 1.4;
}
.cert-item .cert-source {
  font-size: 11px;
  color: var(--text-light);
  text-align: center;
  padding: 0 12px 12px;
}
.cert-lightbox {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.85);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
  padding: 30px;
}
.cert-lightbox.show { display: flex; }
.cert-lightbox img {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}
@media (max-width: 768px) {
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-item .img-wrap { height: 150px; }
}
@media (max-width: 480px) {
  .cert-grid { grid-template-columns: 1fr; }
}
