/* ============================================================
   PUHUI PACKAGING — B2B Industrial Packaging Design System
   Brand Crimson #B8141B | Architectural Slate #11141B | Clean White
   ============================================================ */

:root {
  --brand: #b8141b;
  --brand-dark: #930e14;
  --brand-soft: #fdf2f2;
  --brand-border: #f3c4c6;
  --ink: #11141b;
  --ink-2: #1c2230;
  --text: #2c3340;
  --muted: #5d6678;
  --line: #e4e8ef;
  --bg: #ffffff;
  --bg-alt: #f5f7fa;
  --wa: #1faa52;
  --wa-dark: #168a40;
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 2px 10px rgba(17, 20, 27, 0.05);
  --shadow: 0 12px 32px rgba(17, 20, 27, 0.08);
  --shadow-lg: 0 20px 50px rgba(17, 20, 27, 0.14);
  --container: 1240px;
  --header-h: 76px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Inter", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Top Utility Bar ---------- */
.topbar {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  gap: 16px;
  flex-wrap: wrap;
}

.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}

.topbar-item:hover {
  color: #ffffff;
}

.topbar-wa {
  color: #6ee79c;
  font-weight: 600;
}

/* ---------- Sticky Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s;
}

.site-header.scrolled {
  box-shadow: 0 8px 28px rgba(17, 20, 27, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 20px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-logo img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  padding: 8px 12px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-2);
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.nav-link:hover, .nav-link.active {
  color: var(--brand);
  background: var(--brand-soft);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 280px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
  z-index: 1100;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  transition: background 0.15s, color 0.15s;
}

.dropdown-item:hover {
  background: var(--brand-soft);
  color: var(--brand);
}

.dropdown-count {
  font-size: 12px;
  color: var(--muted);
  background: var(--bg-alt);
  padding: 2px 8px;
  border-radius: 99px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 3px;
  gap: 2px;
}

.lang-btn {
  border: none;
  background: transparent;
  padding: 5px 9px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.lang-btn:hover {
  color: var(--ink);
}

.lang-btn.active {
  background: var(--brand);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(184, 20, 27, 0.28);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  font-size: 14.5px;
  font-weight: 600;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--brand);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(184, 20, 27, 0.25);
}

.btn-wa {
  background: var(--wa);
  color: #ffffff;
}

.btn-wa:hover {
  background: var(--wa-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(31, 170, 82, 0.28);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.32);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #ffffff;
}

.btn-outline {
  background: #ffffff;
  color: var(--ink);
  border-color: var(--line);
}

.btn-outline:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.btn-sm {
  padding: 8px 15px;
  font-size: 13.5px;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink);
}

/* ---------- Hero Section (Section 1) ---------- */
.hero {
  position: relative;
  min-height: 620px;
  background-color: var(--ink);
  background-image:
    linear-gradient(90deg, rgba(14, 17, 23, 0.96) 0%, rgba(14, 17, 23, 0.88) 40%, rgba(14, 17, 23, 0.35) 68%, rgba(14, 17, 23, 0.12) 100%),
    url('/static/images/hero-banner.jpg');
  background-size: cover;
  background-position: right center;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 76px 0 92px;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 12% 20%, rgba(184, 20, 27, 0.16), transparent 45%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 630px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(184, 20, 27, 0.22);
  border: 1px solid rgba(244, 114, 118, 0.4);
  border-radius: 99px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffd7d9;
  margin-bottom: 20px;
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff4750;
  box-shadow: 0 0 10px #ff4750;
}

.hero-title {
  margin: 0 0 18px;
  font-size: clamp(32px, 4.2vw, 52px);
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #ffffff;
}

.hero-subtitle {
  margin: 0 0 30px;
  font-size: 16.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.78);
}

.hero-highlights span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-highlights svg {
  color: #ff5b62;
  flex-shrink: 0;
}

/* ---------- Trust Stats Bar ---------- */
.stats-strip {
  position: relative;
  z-index: 5;
  margin-top: -46px;
  margin-bottom: 24px;
}

.stats-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
}

.stat-item {
  padding: 26px 24px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.stat-item:last-child {
  border-right: none;
}

.stat-num {
  font-size: 30px;
  font-weight: 800;
  color: var(--brand);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.stat-label {
  margin-top: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
}

/* ---------- Section Common ---------- */
.section {
  padding: 84px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-dark {
  background: var(--ink);
  color: #ffffff;
}

.section-header {
  max-width: 720px;
  margin-bottom: 48px;
}

.section-header.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 10px;
}

.section-dark .section-eyebrow {
  color: #ff6b72;
}

.section-title {
  margin: 0 0 14px;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.section-dark .section-title {
  color: #ffffff;
}

.section-desc {
  margin: 0;
  font-size: 15.5px;
  color: var(--muted);
  line-height: 1.72;
}

.section-dark .section-desc {
  color: rgba(255, 255, 255, 0.72);
}

/* ---------- Section 2: Company Intro ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}

.about-media {
  position: relative;
}

.about-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}

.about-img-wrap img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.about-badge-card {
  position: absolute;
  bottom: -22px;
  right: 24px;
  background: var(--brand);
  color: #ffffff;
  padding: 18px 24px;
  border-radius: var(--radius);
  box-shadow: 0 14px 32px rgba(184, 20, 27, 0.32);
}

.about-badge-card strong {
  display: block;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.1;
}

.about-badge-card span {
  font-size: 12.5px;
  opacity: 0.9;
}

.about-text p {
  margin: 0 0 16px;
  font-size: 15.5px;
  color: var(--text);
  line-height: 1.78;
}

.about-quote {
  margin: 22px 0;
  padding: 16px 20px;
  border-left: 4px solid var(--brand);
  background: var(--brand-soft);
  border-radius: 0 10px 10px 0;
  font-weight: 600;
  color: var(--ink);
  font-size: 15px;
}

.honors-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 24px;
}

.honor-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
}

.honor-chip svg {
  color: var(--brand);
  flex-shrink: 0;
}

/* ---------- Section 3: Advantages ---------- */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.adv-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--brand);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
}

.adv-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.adv-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.adv-card h3 {
  margin: 0 0 10px;
  font-size: 17.5px;
  font-weight: 700;
  color: var(--ink);
}

.adv-card p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.68;
}

/* OEM Spec Matrix Strip */
.oem-matrix {
  margin-top: 36px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.oem-col h4 {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
}

.oem-col p {
  margin: 0;
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
}

/* ---------- Section 4: Product Categories ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.cat-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.cat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-border);
}

.cat-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #f2f4f7;
  overflow: hidden;
}

.cat-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.cat-card:hover .cat-media img {
  transform: scale(1.06);
}

.cat-num {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(17, 20, 27, 0.82);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.06em;
}

.cat-count-pill {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 99px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.cat-body {
  padding: 22px 20px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.cat-tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 6px;
}

.cat-body h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
}

.cat-body p {
  margin: 0 0 14px;
  font-size: 13.8px;
  color: var(--muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.cat-sub-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.cat-sub-pill {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
  background: var(--bg-alt);
  border: 1px solid var(--line);
  padding: 3px 9px;
  border-radius: 99px;
  transition: all 0.18s;
}

.cat-sub-pill:hover {
  background: var(--brand);
  color: #ffffff;
  border-color: var(--brand);
}

.subcat-bar {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.subcat-label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted);
  margin-right: 4px;
}

.subcat-pill {
  padding: 5px 13px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 600;
  background: #ffffff;
  color: var(--ink-2);
  border: 1px solid #d7dde8;
  transition: all 0.18s;
}

.subcat-pill:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.subcat-pill.active {
  background: var(--ink);
  color: #ffffff;
  border-color: var(--ink);
}

.dropdown-sub-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 2px 12px 8px 18px;
}

.dropdown-sub-chip {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  background: var(--bg-alt);
  padding: 2px 8px;
  border-radius: 5px;
  transition: all 0.15s;
}

.dropdown-sub-chip:hover {
  background: var(--brand);
  color: #ffffff;
}

.cat-link-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--brand);
}

.cat-card:hover .cat-link-row svg {
  transform: translateX(4px);
}

.cat-link-row svg {
  transition: transform 0.2s;
}

/* Featured Products Strip */
.featured-block {
  margin-top: 64px;
}

.featured-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 26px;
  gap: 16px;
  flex-wrap: wrap;
}

.featured-head h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  color: var(--ink);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.24s, box-shadow 0.24s, border-color 0.24s;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--brand-border);
}

.product-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #f4f5f7;
  overflow: hidden;
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.product-card:hover .product-thumb img {
  transform: scale(1.05);
}

.photo-count-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(17, 20, 27, 0.78);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.sku-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink-2);
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 5px;
}

.product-info {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-cat-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--brand);
  margin-bottom: 5px;
}

.product-info h4 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
}

.product-info p {
  margin: 0 0 14px;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
}

/* ---------- Section 5: Production Workshop ---------- */
.workshop-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.workshop-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--ink-2);
  cursor: pointer;
  group: true;
}

.workshop-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.workshop-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.workshop-card:hover .workshop-img img {
  transform: scale(1.05);
}

.workshop-body {
  padding: 22px 24px;
}

.workshop-meta {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #ff6b72;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.workshop-body h3 {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 700;
  color: #ffffff;
}

.workshop-body p {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
}

/* ---------- Section 6: Industries Served ---------- */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.industry-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 20px;
  transition: all 0.24s ease;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.industry-card:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.industry-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--bg-alt);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}

.industry-card:hover .industry-icon {
  background: var(--brand);
  color: #ffffff;
}

.industry-card h3 {
  margin: 0;
  font-size: 16.5px;
  font-weight: 700;
  color: var(--ink);
}

.industry-card p {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.58;
}

/* ---------- Section 7: Cooperation Process ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  position: relative;
}

.process-step {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.step-badge {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--brand);
  color: #ffffff;
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 8px 18px rgba(184, 20, 27, 0.26);
}

.process-step h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}

.process-step p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.68;
}

/* ---------- Section 8: Contact & RFQ ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 36px;
  align-items: stretch;
}

.contact-info-card {
  background: var(--ink);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 38px 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
}

.contact-info-card h3 {
  margin: 0 0 10px;
  font-size: 24px;
  font-weight: 800;
}

.contact-info-card > div > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14.5px;
}

.wa-highlight-box {
  background: rgba(31, 170, 82, 0.14);
  border: 1px solid rgba(31, 170, 82, 0.45);
  border-radius: var(--radius);
  padding: 20px;
}

.wa-highlight-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6ee79c;
  margin-bottom: 4px;
}

.wa-highlight-number {
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
  letter-spacing: 0.01em;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.86);
}

.contact-row svg {
  color: #ff6b72;
  margin-top: 3px;
  flex-shrink: 0;
}

.contact-details-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.contact-detail-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px 26px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: var(--shadow-sm);
  flex: 1;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-detail-card:hover {
  border-color: var(--brand-border);
  box-shadow: var(--shadow);
}

.contact-detail-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-label {
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 4px;
}

.contact-detail-val {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  word-break: break-word;
}

a.contact-detail-val:hover {
  color: var(--brand);
}

.contact-form-card h3 {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
}

.contact-form-card .form-sub {
  margin: 0 0 24px;
  font-size: 14px;
  color: var(--muted);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
}

.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #d5dbe6;
  border-radius: 8px;
  font-size: 14.5px;
  color: var(--ink);
  background: #ffffff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(184, 20, 27, 0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 105px;
}

.form-actions {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.form-feedback {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  display: none;
}

.form-feedback.success {
  display: block;
  background: #ecfdf3;
  color: #157347;
  border: 1px solid #a6e9c4;
}

.form-feedback.error {
  display: block;
  background: #fef2f2;
  color: #b8141b;
  border: 1px solid #f5c2c7;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #0d1016;
  color: rgba(255, 255, 255, 0.74);
  padding: 64px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  height: 38px;
  width: auto;
  margin-bottom: 16px;
}

.footer-col h4 {
  margin: 0 0 16px;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

.footer-bottom a:hover {
  color: #ffffff;
}

/* ---------- Subpages: Category & Product Detail ---------- */
.page-banner {
  background: linear-gradient(135deg, #11141b 0%, #1d2331 100%);
  color: #ffffff;
  padding: 46px 0 52px;
  position: relative;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.68);
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.breadcrumb a:hover {
  color: #ffffff;
}

.page-banner h1 {
  margin: 0 0 12px;
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 800;
  line-height: 1.2;
}

.page-banner p {
  margin: 0;
  max-width: 760px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 15.5px;
}

.cat-filter-bar {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  position: sticky;
  top: var(--header-h);
  z-index: 500;
}

.cat-filter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.cat-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.cat-pill {
  padding: 8px 16px;
  border-radius: 99px;
  font-size: 13.5px;
  font-weight: 600;
  background: var(--bg-alt);
  color: var(--ink-2);
  border: 1px solid var(--line);
  transition: all 0.2s;
}

.cat-pill:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.cat-pill.active {
  background: var(--brand);
  color: #ffffff;
  border-color: var(--brand);
}

.search-box {
  position: relative;
  min-width: 240px;
}

.search-box input {
  width: 100%;
  padding: 9px 14px 9px 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
}

.search-box svg {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
}

/* Product Detail Page */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: start;
}

.gallery-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #f4f5f7;
  aspect-ratio: 4 / 3;
  cursor: zoom-in;
  position: relative;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.gallery-thumb {
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid var(--line);
  cursor: pointer;
  padding: 0;
  background: #f4f5f7;
  transition: border-color 0.2s, transform 0.2s;
}

.gallery-thumb.active, .gallery-thumb:hover {
  border-color: var(--brand);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-sku {
  display: inline-block;
  padding: 4px 10px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 12.5px;
  font-weight: 700;
  border-radius: 6px;
  margin-bottom: 10px;
}

.detail-title {
  margin: 0 0 14px;
  font-size: clamp(24px, 2.8vw, 34px);
  line-height: 1.22;
  font-weight: 800;
  color: var(--ink);
}

.detail-summary {
  margin: 0 0 22px;
  font-size: 15.5px;
  color: var(--muted);
  line-height: 1.72;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.specs-table tr {
  border-bottom: 1px solid var(--line);
}

.specs-table tr:last-child {
  border-bottom: none;
}

.specs-table th {
  width: 34%;
  text-align: left;
  padding: 12px 16px;
  background: var(--bg-alt);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-2);
}

.specs-table td {
  padding: 12px 16px;
  font-size: 14px;
  color: var(--text);
}

/* ---------- Floating WhatsApp FAB ---------- */
.wa-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 950;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--wa);
  color: #ffffff;
  padding: 13px 18px;
  border-radius: 99px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 10px 28px rgba(31, 170, 82, 0.42);
  transition: transform 0.2s, box-shadow 0.2s;
}

.wa-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(31, 170, 82, 0.5);
}

/* ---------- Lightbox Modal ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(10, 12, 18, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox.open {
  display: flex;
}

.lightbox-inner {
  max-width: 1000px;
  width: 100%;
  text-align: center;
  position: relative;
}

.lightbox-inner img {
  max-height: 82vh;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  font-weight: 600;
}

.lightbox-close {
  position: absolute;
  top: -16px;
  right: -8px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 22px;
  cursor: pointer;
}

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
  .cat-grid, .product-grid, .adv-grid, .industry-grid, .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .oem-matrix {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 920px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px 20px;
    box-shadow: var(--shadow-lg);
  }
  .main-nav.open {
    display: flex;
  }
  .nav-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 4px 0 4px 14px;
  }
  .mobile-menu-btn {
    display: inline-flex;
  }
  .about-grid, .contact-grid, .product-detail-grid, .workshop-grid {
    grid-template-columns: 1fr;
  }
  .stats-card {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item {
    border-bottom: 1px solid var(--line);
  }
  .topbar {
    display: none;
  }
  .hero {
    background-image:
      linear-gradient(180deg, rgba(14, 17, 23, 0.88) 0%, rgba(14, 17, 23, 0.92) 100%),
      url('/static/images/hero-banner.jpg');
    background-position: center;
  }
}

@media (max-width: 600px) {
  .cat-grid, .product-grid, .adv-grid, .industry-grid, .process-grid, .oem-matrix, .form-grid, .honors-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  .header-cta {
    display: none;
  }
  .wa-fab span {
    display: none;
  }
  .wa-fab {
    padding: 14px;
  }
}
