/* ============================================
   Runfeng Overseas - Main Stylesheet
   Colors: Green #2da84e | Navy #1a3468
   ============================================ */

:root {
  --green:       #2da84e;
  --green-dark:  #1e7a38;
  --green-light: #e8f5ec;
  --navy:        #1a3468;
  --navy-dark:   #0f2047;
  --navy-light:  #edf0f8;
  --text-dark:   #222222;
  --text-mid:    #555555;
  --text-light:  #888888;
  --border:      #e0e0e0;
  --white:       #ffffff;
  --bg-gray:     #f5f6f8;
  --shadow:      0 4px 20px rgba(26,52,104,0.10);
  --shadow-lg:   0 8px 40px rgba(26,52,104,0.15);
  --radius:      6px;
  --radius-lg:   12px;
  --transition:  all 0.3s ease;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---- Container ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 50px 0; }

/* ---- Section Header ---- */
.section-header { text-align: center; margin-bottom: 50px; }
.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green);
  background: var(--green-light);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.section-header h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 14px;
}
.section-header p {
  font-size: 16px;
  color: var(--text-mid);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.75;
}
.divider {
  width: 50px; height: 4px;
  background: linear-gradient(90deg, var(--green), var(--navy));
  border-radius: 2px;
  margin: 16px auto 0;
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(26,52,104,0.97);
  backdrop-filter: blur(10px);
  transition: var(--transition);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-header.scrolled {
  background: var(--navy-dark);
  box-shadow: var(--shadow-lg);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100px; gap: 32px;
  transition: height 0.3s ease;
}
.logo-wrap { display: flex; align-items: center; flex-shrink: 0; }
.logo-wrap img {
  height: 64px; width: auto;
  background: var(--white);
  padding: 5px 10px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.18);
  transition: height 0.3s ease;
}
/* 下滑后收起：logo 与头部回到较小高度，减少对主内容的遮挡 */
.site-header.scrolled .header-inner { height: 72px; }
.site-header.scrolled .logo-wrap img { height: 40px; }

/* Main Nav */
.main-nav { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-link {
  display: flex; align-items: center; gap: 5px;
  padding: 8px 14px;
  font-size: 14px; font-weight: 500;
  color: rgba(255,255,255,0.85);
  border-radius: var(--radius);
  transition: var(--transition);
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}
.nav-link.active::after {
  content: '';
  position: absolute; bottom: -2px; left: 14px; right: 14px; height: 2px;
  background: var(--green);
  border-radius: 1px;
}
.nav-arrow {
  font-size: 10px; opacity: 0.7;
  transition: transform 0.3s;
}
.nav-item:hover .nav-arrow { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0;
  min-width: 220px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  opacity: 0; pointer-events: none;
  transform: translateY(-8px);
  transition: var(--transition);
  z-index: 100;
}
.nav-item:hover .dropdown {
  opacity: 1; pointer-events: auto; transform: translateY(0);
}
.dropdown a {
  display: block; padding: 11px 18px;
  font-size: 14px; color: var(--text-dark);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.dropdown a:last-child { border-bottom: none; }
.dropdown a:hover { color: var(--green); background: var(--green-light); padding-left: 24px; }

/* Header Right */
.header-right { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.lang-toggle {
  display: flex; align-items: center;
  background: rgba(255,255,255,0.1);
  border-radius: 20px; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.2);
}
.lang-btn {
  padding: 5px 12px;
  font-size: 12px; font-weight: 600;
  color: rgba(255,255,255,0.65);
  border-radius: 20px;
  transition: var(--transition);
}
.lang-btn.active {
  background: var(--green);
  color: var(--white);
}
.header-cta {
  padding: 8px 18px;
  background: var(--green);
  color: var(--white) !important;
  border-radius: 20px;
  font-size: 13px; font-weight: 600;
  transition: var(--transition);
}
.header-cta:hover { background: var(--green-dark); transform: translateY(-1px); }

/* Mobile */
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.hamburger span { width: 22px; height: 2px; background: white; border-radius: 2px; transition: var(--transition); }

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  background: linear-gradient(135deg, var(--navy-dark) 0%, #0d2a5e 40%, #153d2e 100%);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1504328345606-18bbc8c9d7d1?w=1600&q=80') center/cover no-repeat;
  opacity: 0.18;
}
.hero-pattern {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-content {
  position: relative; z-index: 2;
  padding: 140px 0 100px;
  max-width: 680px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(245,178,66,0.14);
  border: 1px solid rgba(245,178,66,0.45);
  color: #f8ce7a;
  padding: 7px 16px;
  border-radius: 20px;
  font-size: 12px; font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero-badge::before {
  content: ''; width: 7px; height: 7px;
  background: #f5b942;
  border-radius: 50%;
  box-shadow: 0 0 8px #f5b942;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(1.3); }
}
.hero h1 {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 22px;
}
.hero h1 span { color: var(--green); }
.hero p {
  font-size: 17px; color: rgba(255,255,255,0.72);
  line-height: 1.8; margin-bottom: 40px; max-width: 540px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px;
  background: var(--green);
  color: var(--white);
  border-radius: 30px;
  font-size: 15px; font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(45,168,78,0.4);
}
.btn-primary:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 6px 28px rgba(45,168,78,0.5); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px;
  border: 2px solid rgba(255,255,255,0.35);
  color: var(--white);
  border-radius: 30px;
  font-size: 15px; font-weight: 600;
  transition: var(--transition);
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.1); transform: translateY(-2px); }

/* Hero Stats Bar */
.hero-stats {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-stats-inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
  divide-x: 1px solid rgba(255,255,255,0.1);
}
.stat-item {
  padding: 22px 30px;
  border-right: 1px solid rgba(255,255,255,0.1);
  text-align: center;
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-size: 32px; font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.stat-num span { color: var(--green); }
.stat-label { font-size: 12px; color: rgba(255,255,255,0.55); margin-top: 5px; letter-spacing: 0.5px; }

/* ============================================
   ABOUT PREVIEW
   ============================================ */
.about-preview { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.about-imgs { position: relative; }
.about-img-main {
  width: 100%; aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-img-main img { width: 100%; height: 100%; object-fit: cover; }
.about-img-badge {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--navy);
  color: var(--white);
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow);
}
.about-img-badge strong { display: block; font-size: 36px; font-weight: 800; color: var(--green); }
.about-img-badge span { font-size: 12px; opacity: 0.75; }
.about-text .section-tag { margin-bottom: 10px; }
.about-text h2 { font-size: 32px; font-weight: 700; color: var(--navy); margin-bottom: 18px; line-height: 1.3; }
.about-text p { font-size: 15px; color: var(--text-mid); line-height: 1.85; margin-bottom: 16px; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 28px 0; }
.feature-item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 14px; background: var(--bg-gray); border-radius: var(--radius);
}
.feature-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  background: var(--green-light);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.feature-item h4 { font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 3px; }
.feature-item p { font-size: 12px; color: var(--text-light); margin: 0; }
.btn-green {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 30px;
  background: var(--green);
  color: var(--white);
  border-radius: 30px;
  font-size: 14px; font-weight: 600;
  transition: var(--transition);
}
.btn-green:hover { background: var(--green-dark); transform: translateY(-2px); }
.btn-navy {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 30px;
  background: var(--navy);
  color: var(--white);
  border-radius: 30px;
  font-size: 14px; font-weight: 600;
  transition: var(--transition);
}
.btn-navy:hover { background: var(--navy-dark); transform: translateY(-2px); }

/* ============================================
   PRODUCTS SECTION
   ============================================ */
.products-section { background: var(--bg-gray); }
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  cursor: pointer;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product-card-img {
  aspect-ratio: 16/10; overflow: hidden; position: relative;
}
.product-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.product-card:hover .product-card-img img { transform: scale(1.08); }
.product-card-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--navy); color: var(--white);
  font-size: 11px; font-weight: 600; padding: 3px 10px;
  border-radius: 10px;
}
.product-card-body { padding: 22px; }
.product-card-body h3 { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.product-card-body p { font-size: 13px; color: var(--text-mid); line-height: 1.7; margin-bottom: 14px; }
.product-specs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.spec-tag {
  font-size: 11px; color: var(--green-dark);
  background: var(--green-light);
  padding: 3px 9px; border-radius: 10px; font-weight: 500;
}
.card-link {
  font-size: 13px; font-weight: 600; color: var(--green);
  display: flex; align-items: center; gap: 5px;
  transition: var(--transition);
}
.card-link:hover { gap: 10px; }
.products-more { text-align: center; margin-top: 44px; }

/* ============================================
   RANGE OF APPLICATION
   ============================================ */
.applications-section { background: var(--white); }
.apps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.app-card {
  position: relative;
  aspect-ratio: 4/4.4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.app-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.app-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.app-card:hover img { transform: scale(1.1); }
.app-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(15,32,71,0.92) 0%, rgba(15,32,71,0.62) 45%, rgba(15,32,71,0.4) 100%);
  display: flex; flex-direction: column; justify-content: flex-start;
  padding: 22px 20px;
  color: var(--white);
}
.app-overlay-tag {
  display: inline-flex; align-items: center;
  font-size: 11px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff; margin-bottom: 10px;
  width: fit-content;
  background: var(--green);
  padding: 3px 10px;
  border-radius: 10px;
  border: 1px solid var(--green);
}
.app-overlay h3 {
  font-size: 18px; font-weight: 700; color: var(--white);
  margin-bottom: 6px;
}
.app-overlay p {
  font-size: 13px; color: rgba(255,255,255,0.9);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (max-width: 1024px) {
  .apps-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .apps-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .apps-grid { grid-template-columns: 1fr; }
}

/* ============================================
   WHY CHOOSE US
   ============================================ */
.why-us {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  position: relative; overflow: hidden;
}
.why-us::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(45,168,78,0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.03) 0%, transparent 40%);
}
.why-us .section-header h2 { color: var(--white); }
.why-us .divider { background: var(--green); }
.why-us .section-header p { color: rgba(255,255,255,0.65); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; z-index: 1; }
.why-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
}
.why-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(45,168,78,0.5);
  transform: translateY(-4px);
}
.why-icon {
  width: 64px; height: 64px;
  background: rgba(45,168,78,0.15);
  border: 1px solid rgba(45,168,78,0.3);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  margin: 0 auto 20px;
}
.why-card h3 { font-size: 16px; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.why-card p { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.7; }

/* ============================================
   QUALITY STRIP
   ============================================ */
.quality-strip { background: var(--white); }
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cert-card {
  text-align: center; padding: 30px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}
.cert-card:hover { border-color: var(--green); box-shadow: var(--shadow); transform: translateY(-3px); }
.cert-logo { font-size: 48px; margin-bottom: 14px; }
.cert-card h4 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.cert-card p { font-size: 12px; color: var(--text-light); line-height: 1.6; }

/* ============================================
   NEWS SECTION
   ============================================ */
.news-section { background: var(--bg-gray); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.news-card-img { aspect-ratio: 16/9; overflow: hidden; }
.news-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.news-card:hover .news-card-img img { transform: scale(1.06); }
.news-card-body { padding: 22px; }
.news-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.news-tag {
  font-size: 11px; font-weight: 600;
  padding: 3px 10px; border-radius: 10px;
}
.news-tag.green { background: var(--green-light); color: var(--green-dark); }
.news-tag.navy { background: var(--navy-light); color: var(--navy); }
.news-date { font-size: 12px; color: var(--text-light); }
.news-card-body h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 10px; line-height: 1.45; }
.news-card-body p { font-size: 13px; color: var(--text-mid); line-height: 1.7; margin-bottom: 14px; }
.news-more { text-align: center; margin-top: 44px; }

/* ============================================
   CONTACT CTA
   ============================================ */
.contact-cta {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  padding: 70px 0;
}
.cta-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px;
}
.cta-text h2 { font-size: 32px; font-weight: 800; color: var(--white); margin-bottom: 10px; }
.cta-text p { font-size: 16px; color: rgba(255,255,255,0.8); }
.cta-actions { display: flex; gap: 14px; flex-shrink: 0; }
.btn-white {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 30px;
  background: var(--white); color: var(--green-dark);
  border-radius: 30px;
  font-size: 14px; font-weight: 700;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 6px 28px rgba(0,0,0,0.2); }
.btn-outline-white {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 30px;
  border: 2px solid rgba(255,255,255,0.6);
  color: var(--white);
  border-radius: 30px;
  font-size: 14px; font-weight: 600;
  transition: var(--transition);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.15); border-color: white; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.7);
  padding: 70px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 50px; margin-bottom: 50px; }
.footer-brand img {
  height: 40px;
  margin-bottom: 18px;
  background: var(--white);
  padding: 5px 10px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.25);
  display: inline-block;
}
.footer-brand p { font-size: 13px; line-height: 1.8; max-width: 280px; }
.footer-col h4 {
  font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  color: var(--white); margin-bottom: 18px;
  padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 13px; transition: var(--transition); }
.footer-col ul li a:hover { color: var(--green); padding-left: 4px; }
.footer-contact li { display: flex; gap: 10px; font-size: 13px; margin-bottom: 12px; align-items: flex-start; }
.footer-contact li span:first-child { color: var(--green); flex-shrink: 0; margin-top: 2px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px;
}
.footer-bottom a { transition: var(--transition); }
.footer-bottom a:hover { color: var(--green); }

/* ============================================
   PAGE HERO (inner pages)
   ============================================ */
.page-hero {
  background: var(--navy-dark);
  padding: 140px 0 70px;
  text-align: center;
  position: relative; overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  z-index: 0;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(15,32,71,0.75) 0%, rgba(26,52,104,0.55) 55%, rgba(45,168,78,0.28) 100%);
  z-index: 1;
}
.page-hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: 1;
}
.page-hero-content { position: relative; z-index: 2; }
.page-hero h1 { font-size: 42px; font-weight: 800; color: var(--white); margin-bottom: 14px; }
.page-hero p { font-size: 16px; color: rgba(255,255,255,0.65); max-width: 580px; margin: 0 auto 20px; }
.breadcrumb { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; }
.breadcrumb a { color: rgba(255,255,255,0.55); transition: var(--transition); }
.breadcrumb a:hover { color: var(--green); }
.breadcrumb span { color: rgba(255,255,255,0.3); }
.breadcrumb strong { color: rgba(255,255,255,0.85); }

/* ============================================
   PRODUCTS LIST PAGE
   ============================================ */
.products-page { background: var(--bg-gray); }
.cat-tabs {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-bottom: 40px;
}
.cat-tab {
  padding: 9px 20px;
  border-radius: 20px;
  font-size: 13px; font-weight: 600;
  border: 2px solid var(--border);
  color: var(--text-mid);
  transition: var(--transition);
  cursor: pointer;
}
.cat-tab:hover, .cat-tab.active {
  border-color: var(--green); color: var(--green);
  background: var(--green-light);
}
/* Products List Page Layout (sidebar + grid) */
.products-page { background: var(--bg-gray); }
.products-page-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 36px;
  padding: 60px 0;
}
.cat-sidebar {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
  height: fit-content;
  position: sticky;
  top: 90px;
}
.cat-sidebar h3 {
  font-size: 14px; font-weight: 700; color: var(--navy);
  margin-bottom: 16px; padding-bottom: 12px;
  border-bottom: 2px solid var(--green-light);
}
.sidebar-cat-list { list-style: none; padding: 0; margin: 0; }
.sidebar-cat-list li { margin-bottom: 4px; }
.sidebar-cat-list a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px; border-radius: var(--radius);
  font-size: 14px; color: var(--text-dark);
  transition: var(--transition);
  text-decoration: none;
}
.sidebar-cat-list a:hover,
.sidebar-cat-list a.active {
  background: var(--green-light);
  color: var(--green-dark);
  font-weight: 600;
}
.sidebar-cat-list a .count {
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 11px;
  padding: 1px 7px;
  border-radius: 8px;
  font-weight: 500;
}
.sidebar-cat-list a.active .count {
  background: var(--green);
  color: white;
}
.prod-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 28px; flex-wrap: wrap; gap: 16px;
}
.prod-header h2 { font-size: 24px; font-weight: 800; color: var(--navy); }
.prod-header p { font-size: 13px; color: var(--text-mid); margin-top: 4px; }

.products-list-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.prod-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  cursor: pointer;
}
.prod-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.prod-item-img { aspect-ratio: 1; overflow: hidden; }
.prod-item-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.prod-item:hover .prod-item-img img { transform: scale(1.1); }
.prod-item-info { padding: 16px; }
.prod-item-info h4 { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 5px; }
.prod-item-info p { font-size: 12px; color: var(--text-light); margin-bottom: 10px; }
.prod-item-specs { display: flex; flex-wrap: wrap; gap: 5px; }

/* ============================================
   PRODUCT DETAIL PAGE
   ============================================ */
.product-detail-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: start; }
.prod-gallery { position: sticky; top: 90px; }
.prod-main-img {
  width: 100%; aspect-ratio: 4/3;
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 12px;
}
.prod-main-img img { width: 100%; height: 100%; object-fit: cover; }
.prod-thumbs { display: flex; gap: 10px; }
.prod-thumb {
  width: 80px; height: 60px;
  border-radius: 8px; overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer; transition: var(--transition);
  flex-shrink: 0;
}
.prod-thumb.active, .prod-thumb:hover { border-color: var(--green); }
.prod-thumb img { width: 100%; height: 100%; object-fit: cover; }
.prod-info h1 { font-size: 28px; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.prod-info .prod-code { font-size: 13px; color: var(--text-light); margin-bottom: 20px; }
.prod-info p { font-size: 15px; color: var(--text-mid); line-height: 1.8; margin-bottom: 24px; }
.spec-table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 14px; }
.spec-table th {
  background: var(--navy); color: var(--white);
  padding: 12px 16px; text-align: left; font-weight: 600; font-size: 13px;
}
.spec-table td { padding: 11px 16px; border-bottom: 1px solid var(--border); }
.spec-table tr:nth-child(even) td { background: var(--bg-gray); }
.prod-actions { display: flex; gap: 14px; margin-top: 28px; }

/* ============================================
   QUALITY PAGE
   ============================================ */
.certs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.cert-full-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 0;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
}
.cert-full-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.cert-img { aspect-ratio: 3/4; overflow: hidden; background: var(--bg-gray); }
.cert-img img { width: 100%; height: 100%; object-fit: cover; }
.cert-info { padding: 20px; border-top: 3px solid var(--green); }
.cert-info h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.cert-info p { font-size: 13px; color: var(--text-mid); }
.process-steps {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 0; position: relative;
}
.process-steps::before {
  content: '';
  position: absolute; top: 36px; left: 10%; right: 10%; height: 2px;
  background: linear-gradient(90deg, var(--green), var(--navy));
  z-index: 0;
}
.step-item { text-align: center; position: relative; z-index: 1; padding: 0 10px; }
.step-num {
  width: 72px; height: 72px;
  background: var(--white);
  border: 3px solid var(--green);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin: 0 auto 16px;
  box-shadow: 0 4px 12px rgba(45,168,78,0.2);
}
.step-item h4 { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.step-item p { font-size: 12px; color: var(--text-light); line-height: 1.5; }

/* ============================================
   NEWS PAGE
   ============================================ */
.news-page-grid { display: grid; grid-template-columns: 1fr 320px; gap: 40px; }
.news-list { display: flex; flex-direction: column; gap: 24px; }
.news-list-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: grid; grid-template-columns: 280px 1fr;
  transition: var(--transition);
}
.news-list-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.news-list-img { aspect-ratio: 4/3; overflow: hidden; }
.news-list-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.news-list-item:hover .news-list-img img { transform: scale(1.06); }
.news-list-body { padding: 28px; }
.news-list-body h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 10px; line-height: 1.4; }
.news-list-body p { font-size: 14px; color: var(--text-mid); line-height: 1.75; margin-bottom: 16px; }
.sidebar { position: sticky; top: 90px; }
.sidebar-card { background: var(--white); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow); margin-bottom: 24px; }
.sidebar-card h3 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 18px; padding-bottom: 12px; border-bottom: 2px solid var(--green-light); }
.sidebar-news li { padding: 12px 0; border-bottom: 1px solid var(--border); }
.sidebar-news li:last-child { border-bottom: none; }
.sidebar-news a { font-size: 13px; color: var(--text-dark); line-height: 1.5; display: block; margin-bottom: 4px; transition: var(--transition); }
.sidebar-news a:hover { color: var(--green); }
.sidebar-news .date { font-size: 11px; color: var(--text-light); }

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; }
.contact-info-card {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 40px;
  color: var(--white);
}
.contact-info-card h2 { font-size: 24px; font-weight: 700; margin-bottom: 8px; }
.contact-info-card > p { font-size: 14px; color: rgba(255,255,255,0.65); margin-bottom: 36px; line-height: 1.7; }
.contact-detail { display: flex; gap: 16px; margin-bottom: 24px; align-items: flex-start; }
.contact-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: rgba(45,168,78,0.15);
  border: 1px solid rgba(45,168,78,0.3);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.contact-detail h4 { font-size: 12px; color: rgba(255,255,255,0.5); font-weight: 600; letter-spacing: 0.5px; margin-bottom: 5px; text-transform: uppercase; }
.contact-detail p { font-size: 14px; color: var(--white); line-height: 1.6; }
.contact-detail a { color: var(--green); }
.map-placeholder {
  height: 180px; background: rgba(255,255,255,0.05);
  border-radius: 10px; margin-top: 24px;
  display: flex; align-items: center; justify-content: center;
  border: 1px dashed rgba(255,255,255,0.2);
  font-size: 13px; color: rgba(255,255,255,0.4);
}
.contact-form-wrap { background: var(--white); }
.contact-form-wrap h2 { font-size: 24px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.contact-form-wrap > p { font-size: 14px; color: var(--text-mid); margin-bottom: 30px; }
.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: 13px; font-weight: 600; color: var(--navy); margin-bottom: 7px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px; color: var(--text-dark);
  font-family: inherit;
  transition: var(--transition);
  background: var(--white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(45,168,78,0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-imgs { max-width: 540px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .products-list-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .section-header h2 { font-size: 26px; }
  .hero h1 { font-size: 32px; }
  .hero-stats-inner { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-inner { flex-direction: column; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .news-page-grid { grid-template-columns: 1fr; }
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .products-list-grid { grid-template-columns: repeat(2, 1fr); }
  .product-detail-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .process-steps::before { display: none; }
  .news-list-item { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .header-cta { display: none; }
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }

/* ============================================
   生产及品控流程（圆形步骤，上5下4，串联成流程）
   ============================================ */
.process-flow {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 44px 0;               /* 行间距44，列间距0（间隔用步骤内边距实现，保证串联线对齐） */
  max-width: 1120px;
  margin: 0 auto;
}
.flow-break { flex-basis: 100%; height: 0; }   /* 强制换行：上排结束 */
.flow-step { position: relative; text-align: center; width: 172px; padding: 0 4px; }
.flow-circle {
  width: 138px; height: 138px; border-radius: 50%;
  margin: 0 auto 16px;
  background: var(--white);
  border: 3px solid var(--green);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 16px rgba(45,168,78,0.18);
  position: relative; z-index: 1;
  transition: var(--transition);
}
.flow-step:hover .flow-circle { transform: translateY(-4px); box-shadow: 0 10px 22px rgba(45,168,78,0.28); }
.flow-circle img { width: 100%; height: 100%; object-fit: cover; }
.flow-num { font-size: 44px; font-weight: 800; color: var(--green); }
/* 串联线：从本步圆心连到下一步圆心（藏在圆形背后，只在间隙露出） */
.flow-step::after {
  content: ''; position: absolute;
  top: 69px; left: 50%; width: 100%; height: 3px;
  background: var(--green); opacity: 0.4; z-index: 0;
}
/* 上排末尾与整条流程最后一个不画串联线 */
.flow-step.flow-line-end::after,
.flow-step:last-child::after { display: none; }
.flow-step h4 { font-size: 14px; font-weight: 700; color: var(--navy); margin: 0 0 6px; }
.flow-step p { font-size: 12px; color: var(--text-light); line-height: 1.45; }
@media (max-width: 900px) {
  .process-flow { gap: 30px 0; }
  .flow-step { width: 33%; }
  .flow-step::after { display: none; }
  .flow-break { display: none; }   /* 移动端自然换行，不强制断行 */
  .flow-circle { width: 110px; height: 110px; }
}
@media (max-width: 520px) {
  .flow-step { width: 50%; }
  .flow-circle { width: 100px; height: 100px; }
}
