/* ============================================================
   Yongnian Fastener Sourcing — design system
   Industrial / blueprint aesthetic with a hexagon signature motif
   ============================================================ */

:root {
  --navy: #0E2233;
  --navy-2: #14324C;
  --navy-3: #1B4060;
  --blue: #2E6E9E;
  --yellow: #F2A900;
  --yellow-2: #FFC53D;
  --yellow-dark: #C98A00;
  --paper: #F4F6F9;
  --card: #FFFFFF;
  --line: #D9E1EA;
  --line-2: #E7ECF2;
  --text: #1F2D3A;
  --muted: #5B6B7B;
  --white: #FFFFFF;
  --green: #2F8F5B;
  --red: #C0392B;
  --shadow: 0 10px 30px rgba(14, 34, 51, 0.08);
  --shadow-lg: 0 24px 60px rgba(14, 34, 51, 0.16);
  --radius: 14px;
  --font-display: "Oswald", "Archivo", "Noto Sans SC", sans-serif;
  --font-body: "Archivo", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: auto; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ---------- layout ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; }
.section.tight { padding: 56px 0; }
.section.paper { background: var(--paper); }
.section.white { background: var(--card); }
.section.dark { background: var(--navy); color: #DCE7F0; }

/* ---------- typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; color: var(--navy); }
.section.dark h1, .section.dark h2, .section.dark h3 { color: var(--white); }

.display-lg {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.3rem, 5vw, 3.9rem);
  line-height: 1.06;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.display-md { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.7rem, 3.2vw, 2.5rem); line-height: 1.12; text-transform: uppercase; }
.display-sm { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.2; text-transform: uppercase; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--yellow-dark); font-weight: 500;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: ""; width: 14px; height: 14px;
  background: var(--yellow);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.section.dark .eyebrow { color: var(--yellow-2); }

.lead { font-size: 1.08rem; color: var(--muted); max-width: 720px; }
.section.dark .lead { color: #AFC2D2; }

.mono { font-family: var(--font-mono); font-size: 0.82rem; letter-spacing: 0.04em; color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 13px 26px; border-radius: 8px; border: 2px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}
.btn:active { transform: translateY(1px); }
.btn-yellow { background: var(--yellow); color: #241A00; border-color: var(--yellow); }
.btn-yellow:hover { background: var(--yellow-2); border-color: var(--yellow-2); }
.btn-navy { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-navy:hover { background: var(--navy-3); border-color: var(--navy-3); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.6); }
.btn-outline-light:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-lg { padding: 16px 34px; font-size: 1.02rem; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(14, 34, 51, 0.96); backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.nav-logo { display: flex; align-items: center; gap: 12px; color: #fff; }
.nav-logo .nav-logo-img { height: 46px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  color: #C7D5E0; font-weight: 500; font-size: 0.92rem;
  padding: 9px 13px; border-radius: 6px; transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,0.08); }
.nav-links a.active { color: var(--yellow-2); }
.nav-cta { margin-left: 10px; }
.nav-cta .btn { padding: 10px 20px; font-size: 0.88rem; }

.nav-burger { display: none; background: none; border: 0; width: 42px; height: 42px; place-items: center; color: #fff; }
.nav-burger svg { width: 26px; height: 26px; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  background: var(--navy);
  color: #E6EEF5;
  padding: 150px 0 0;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; opacity: 0.5; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 56px 56px;
}
.hero-hexgrid {
  position: absolute; top: -80px; right: -120px; width: 640px; height: 640px; opacity: 0.13; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg width='120' height='104' viewBox='0 0 120 104' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M60 2 L116 28 L116 76 L60 102 L4 76 L4 28 Z' fill='none' stroke='%23F2A900' stroke-width='2'/%3E%3C/svg%3E");
  background-size: 120px 104px;
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; padding-bottom: 60px; }
.hero-kicker {
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--yellow-2); display: flex; align-items: center; gap: 10px; margin-bottom: 20px;
}
.hero-kicker::before { content: ""; width: 26px; height: 2px; background: var(--yellow); }
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero h1 .hl { color: var(--yellow-2); }
.hero .lead { color: #B8CAD8; margin-bottom: 32px; max-width: 560px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 28px; border-top: 1px solid rgba(255,255,255,0.14); padding-top: 26px; }
.hero-meta .hm-item .hm-num { font-family: var(--font-display); font-weight: 700; font-size: 1.8rem; color: var(--yellow-2); line-height: 1.1; }
.hero-meta .hm-item .hm-label { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: #93A9BC; }

.hero-visual { position: relative; }
.hero-visual .hv-img { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,0.12); }
.hero-visual .hv-img img { width: 100%; height: 430px; object-fit: cover; object-position: center; }
.hero-badge {
  position: absolute; left: -22px; bottom: 26px;
  background: var(--yellow); color: #241A00; border-radius: 12px;
  padding: 16px 20px; box-shadow: var(--shadow-lg);
  font-family: var(--font-display); font-weight: 600; line-height: 1.25;
}
.hero-badge .hb-top { font-size: 1.55rem; }
.hero-badge .hb-sub { font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.85; }

/* ---------- section header ---------- */
.sec-head { margin-bottom: 44px; }
.sec-head.center { text-align: center; }
.sec-head.center .eyebrow { justify-content: center; }
.sec-head h2 { margin-bottom: 12px; }
.sec-head p { color: var(--muted); max-width: 720px; }
.sec-head.center p { margin: 0 auto; }

/* ---------- service cards ---------- */
.grid-svc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}
.svc-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: var(--yellow); }
.svc-icon {
  width: 54px; height: 54px; border-radius: 12px; display: grid; place-items: center;
  background: var(--navy); color: var(--yellow-2); margin-bottom: 18px;
}
.svc-icon svg { width: 28px; height: 28px; }
.svc-card h3 { font-size: 1.18rem; margin-bottom: 10px; }
.svc-card p { font-size: 0.94rem; color: var(--muted); }

/* ---------- workflow ---------- */
.workflow { display: grid; grid-template-columns: repeat(3, minmax(0, 340px)); gap: 20px; justify-content: center; counter-reset: step; }
.wf-step {
  position: relative; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 26px 26px;
}
.wf-num {
  width: 44px; height: 44px; display: grid; place-items: center;
  background: var(--navy); color: var(--yellow-2);
  font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; border-radius: 10px;
  margin-bottom: 16px;
}
.wf-step h3 { font-size: 1.08rem; margin-bottom: 8px; }
.wf-step p { font-size: 0.9rem; color: var(--muted); }
.wf-arrow { display: none; }

/* ---------- categories ---------- */
.grid-cat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cat-card {
  display: block; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}
.cat-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: var(--yellow); }
.cat-art {
  width: 96px; height: 96px; margin-bottom: 18px;
  display: grid; place-items: center; position: relative;
}
.cat-art::before {
  content: ""; position: absolute; inset: 2px;
  background: var(--navy);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.cat-art svg { position: relative; width: 52px; height: 52px; color: var(--yellow-2); }
.cat-card h3 { font-size: 1.25rem; margin-bottom: 6px; }
.cat-card .cat-count { font-family: var(--font-mono); font-size: 12px; color: var(--blue); text-transform: uppercase; letter-spacing: 0.08em; }
.cat-card p { font-size: 0.92rem; color: var(--muted); margin: 12px 0 16px; }
.cat-more { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.88rem; color: var(--blue); display: inline-flex; align-items: center; gap: 6px; }
.cat-card:hover .cat-more { color: var(--yellow-dark); }

/* ---------- product grid / cards ---------- */
.grid-prod { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.prod-card {
  display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}
.prod-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: var(--yellow); }
.prod-art {
  aspect-ratio: 16 / 10; display: grid; place-items: center;
  background:
    linear-gradient(rgba(14,34,51,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14,34,51,0.05) 1px, transparent 1px),
    #EEF2F6;
  background-size: 22px 22px;
  position: relative;
}
.prod-art svg { width: 92px; height: 92px; color: var(--navy); }
.prod-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.prod-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.prod-body h3 { font-size: 1.08rem; margin-bottom: 4px; }
.prod-body .prod-std { font-family: var(--font-mono); font-size: 12px; color: var(--blue); margin-bottom: 12px; letter-spacing: 0.04em; }
.prod-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.chip {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.02em;
  background: var(--paper); border: 1px solid var(--line); color: var(--muted);
  padding: 3px 9px; border-radius: 999px;
}
.prod-link { margin-top: auto; font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.85rem; color: var(--blue); display: inline-flex; align-items: center; gap: 6px; }
.prod-card:hover .prod-link { color: var(--yellow-dark); }

/* ---------- product detail ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 0.88rem; color: var(--muted); margin-bottom: 30px; }
.crumbs a { color: var(--blue); }
.crumbs .sep { color: #B6C2CD; }
.crumbs .cur { color: var(--text); font-weight: 600; }

.pd-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: start; }
.pd-visual { position: sticky; top: 100px; }
.pd-art {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background:
    linear-gradient(rgba(14,34,51,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14,34,51,0.05) 1px, transparent 1px),
    #EEF2F6;
  background-size: 24px 24px;
  aspect-ratio: 4 / 3; display: grid; place-items: center; position: relative;
}
.pd-art svg { width: 190px; height: 190px; color: var(--navy); }
.pd-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 14px; background: #fff; }
.pd-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.pd-info h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); text-transform: uppercase; margin-bottom: 4px; }
.pd-info .pd-std { font-family: var(--font-mono); color: var(--blue); font-size: 0.92rem; letter-spacing: 0.05em; margin-bottom: 18px; }
.pd-desc { color: var(--muted); margin-bottom: 24px; }
.spec-table { width: 100%; border-collapse: collapse; margin-bottom: 26px; }
.spec-table th, .spec-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.spec-table th { width: 190px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); background: #F8FAFC; }
.spec-table td { font-size: 0.95rem; }
.pd-note { border-left: 3px solid var(--yellow); background: #FDF8EC; padding: 14px 18px; border-radius: 0 8px 8px 0; font-size: 0.92rem; color: #5A4A12; }
.pd-apps h3 { font-size: 1.05rem; margin: 24px 0 10px; }

.related { margin-top: 56px; }
.related h2 { margin-bottom: 24px; }

/* ---------- about / value props ---------- */
.grid-values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.value-item { display: flex; gap: 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.value-item .vi-icon { width: 46px; height: 46px; flex: none; border-radius: 10px; background: var(--navy); color: var(--yellow-2); display: grid; place-items: center; }
.value-item .vi-icon svg { width: 24px; height: 24px; }
.value-item h3 { font-size: 1.05rem; margin-bottom: 6px; }
.value-item p { font-size: 0.92rem; color: var(--muted); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split-img { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.split-img img { width: 100%; height: 420px; object-fit: cover; }
.split h2 { margin-bottom: 16px; }
.split p { color: var(--muted); margin-bottom: 14px; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 26px; }
.stat-item { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 20px; text-align: center; }
.stat-item .st-num { font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; color: var(--navy); line-height: 1.1; }
.stat-item .st-num em { font-style: normal; color: var(--yellow-dark); }
.stat-item .st-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

/* ---------- numbers strip ---------- */
.numbers { background: var(--navy); color: #fff; }
.numbers-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.num-item { text-align: center; padding: 26px 12px; border-left: 1px solid rgba(255,255,255,0.12); }
.num-item:first-child { border-left: 0; }
.num-item .n-num { font-family: var(--font-display); font-weight: 700; font-size: 2.4rem; color: var(--yellow-2); line-height: 1.05; }
.num-item .n-label { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: #9DB2C4; margin-top: 6px; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 100%); color: #fff; position: relative; overflow: hidden; }
.cta-band::after {
  content: ""; position: absolute; right: -60px; bottom: -60px; width: 260px; height: 260px; opacity: 0.14;
  background-image: url("data:image/svg+xml,%3Csvg width='120' height='104' viewBox='0 0 120 104' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M60 2 L116 28 L116 76 L60 102 L4 76 L4 28 Z' fill='none' stroke='%23F2A900' stroke-width='2'/%3E%3C/svg%3E");
  background-size: 120px 104px;
}
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-inner h2 { color: #fff; margin-bottom: 8px; }
.cta-inner p { color: #B8CAD8; max-width: 560px; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: start; }
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px;
  font-family: var(--font-body); font-size: 0.95rem; color: var(--text); background: #FBFCFE;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(46,110,158,0.14); background: #fff;
}
.field textarea { min-height: 130px; resize: vertical; }
.form-hint { font-size: 0.82rem; color: var(--muted); margin-top: 10px; }
.contact-cards { display: flex; flex-direction: column; gap: 16px; }
.contact-card { display: flex; gap: 16px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.contact-card .cc-icon { width: 44px; height: 44px; flex: none; border-radius: 10px; background: var(--navy); color: var(--yellow-2); display: grid; place-items: center; }
.contact-card .cc-icon svg { width: 22px; height: 22px; }
.contact-card h4 { font-size: 0.98rem; margin-bottom: 2px; }
.contact-card .cc-line { font-size: 0.95rem; color: var(--muted); }
.contact-card a.cc-line { color: var(--blue); font-weight: 600; }
.contact-banner { margin-top: 16px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.contact-banner img { width: 100%; max-height: 300px; object-fit: cover; }
.qr-card {
  display: flex; gap: 22px; align-items: center;
  margin-top: 16px; padding: 22px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}
.qr-card:hover { box-shadow: var(--shadow); border-color: var(--yellow); transform: translateY(-2px); }
.qr-card img { width: 150px; height: 150px; flex: none; border-radius: 12px; display: block; }
.qr-card-text h4 { font-size: 1.05rem; margin-bottom: 6px; }
.qr-card-text p { font-size: 0.9rem; color: var(--muted); margin: 0 0 10px; line-height: 1.55; }
.qr-card-text .cc-line { color: var(--blue); font-weight: 600; font-size: 0.95rem; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 860px; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 14px; overflow: hidden; }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  background: none; border: 0; text-align: left; padding: 20px 24px;
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--navy);
}
.faq-q .faq-toggle { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; transition: transform 0.25s, background 0.2s; }
.faq-item.open .faq-toggle { transform: rotate(45deg); background: var(--yellow); }
.faq-a { display: none; padding: 0 24px 22px; color: var(--muted); font-size: 0.96rem; }
.faq-item.open .faq-a { display: block; }

/* ---------- boundaries ---------- */
.boundary-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.boundary-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.boundary-item .b-flag { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--yellow-dark); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.boundary-item .b-flag::before { content: ""; width: 10px; height: 10px; background: var(--yellow); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.boundary-item h3 { font-size: 1.02rem; margin-bottom: 8px; }
.boundary-item p { font-size: 0.9rem; color: var(--muted); }

/* ---------- footer ---------- */
.footer { background: #0A1826; color: #9DB2C4; padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; margin-bottom: 44px; }
.footer h4 { color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 16px; }
.footer a { color: #9DB2C4; display: block; padding: 5px 0; font-size: 0.92rem; transition: color 0.2s; }
.footer a:hover { color: var(--yellow-2); }
.footer .f-brand p { font-size: 0.92rem; margin-top: 14px; }
.footer .f-contact a { display: flex; align-items: center; gap: 10px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.84rem; }

/* ---------- search ---------- */
.search-wrap { position: relative; max-width: 560px; margin: 0 0 30px; }
.search-wrap input {
  width: 100%; padding: 14px 18px 14px 46px; border: 1px solid var(--line); border-radius: 10px;
  font-size: 1rem; background: var(--card); color: var(--text); box-shadow: var(--shadow);
}
.search-wrap input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(46,110,158,0.14); }
.search-wrap svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--muted); }
.search-none { padding: 40px; text-align: center; color: var(--muted); background: var(--card); border: 1px dashed var(--line); border-radius: var(--radius); }

/* ---------- view switch ---------- */
.view { display: none; }
.view.active { display: block; animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* page top spacing for fixed nav */
.page-top { padding-top: 130px; }
.page-top.tight { padding-top: 110px; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .grid-svc, .grid-cat, .grid-prod { grid-template-columns: repeat(2, 1fr); }
  .workflow { grid-template-columns: repeat(2, 1fr); }
  .numbers-grid, .stat-row { grid-template-columns: repeat(2, 1fr); }
  .boundary-list { grid-template-columns: 1fr; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .split { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .pd-grid { grid-template-columns: 1fr; }
  .pd-visual { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-values { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-links {
    position: fixed; top: 70px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy); padding: 10px 20px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transform: translateY(-120%); transition: transform 0.28s ease;
    display: flex;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 13px 10px; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .nav-cta { margin: 12px 0 0; }
  .nav-burger { display: grid; }
  .nav-logo .nav-logo-img { height: 38px; }
  .section { padding: 60px 0; }
  .grid-svc, .grid-cat, .grid-prod { grid-template-columns: 1fr; }
  .workflow { grid-template-columns: 1fr; }
  .hero { padding-top: 120px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-meta { gap: 18px; }
  .qr-card { flex-direction: column; text-align: center; }
}

/* ---------- product detail gallery ---------- */
.pd-gallery { position: static; }
.pd-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 12px; }
.pd-thumb {
  border: 2px solid var(--line); border-radius: 8px; overflow: hidden;
  background: #fff; padding: 0; aspect-ratio: 1; transition: border-color 0.2s;
}
.pd-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }
.pd-thumb:hover { border-color: var(--blue); }
.pd-thumb.active { border-color: var(--yellow); box-shadow: 0 0 0 2px rgba(242,169,0,0.25); }

/* ---------- about banner ---------- */
.about-banner { width: 100%; max-height: 460px; overflow: hidden; }
.about-banner img { width: 100%; height: 460px; object-fit: cover; object-position: center 30%; }

/* ---------- process flow (photo cards) ---------- */
.proc-flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.proc-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
}
.proc-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #e9edf2; }
.proc-img img { width: 100%; height: 100%; object-fit: cover; }
.proc-num {
  position: absolute; top: 10px; left: 10px; width: 32px; height: 32px;
  display: grid; place-items: center; background: var(--yellow); color: #241A00;
  font-family: var(--font-display); font-weight: 700; border-radius: 8px; font-size: 1rem;
}
.proc-card h3 { font-size: 0.98rem; padding: 14px 16px 4px; }
.proc-card p { font-size: 0.85rem; color: var(--muted); padding: 0 16px 18px; }
.section.dark .proc-card { background: var(--navy-2); border-color: rgba(255,255,255,0.12); }

/* ---------- certificates (dark home strip) ---------- */
.cert-row { display: flex; gap: 16px; margin-top: 24px; flex-wrap: wrap; }
.cert-chip {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.16);
  border-radius: 10px; padding: 8px 14px 8px 8px;
}
.cert-chip img { width: 42px; height: 56px; object-fit: cover; border-radius: 4px; background: #fff; }
.cert-chip span { font-family: var(--font-mono); font-size: 12px; color: #DCE7F0; letter-spacing: 0.03em; }

/* ---------- factory photo wall ---------- */
.photo-wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.wall-item {
  border-radius: 12px; overflow: hidden; border: 1px solid var(--line);
  background: var(--card);
}
.wall-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.35s; }
.wall-item:hover img { transform: scale(1.05); }
.wall-item figcaption {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.04em;
  color: var(--muted); padding: 10px 12px;
}

/* ---------- QC list ---------- */
.qc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.qc-item { display: flex; gap: 12px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; }
.qc-flag {
  width: 34px; height: 34px; flex: none; border-radius: 8px;
  background: var(--navy); color: var(--yellow-2); display: grid; place-items: center;
}
.qc-flag svg { width: 18px; height: 18px; }
.qc-item h4 { font-size: 0.92rem; margin-bottom: 3px; }
.qc-item p { font-size: 0.82rem; color: var(--muted); line-height: 1.5; }

/* ---------- certificate wall ---------- */
.cert-wall { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 1000px; margin: 0 auto; }
.cert-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; text-align: center; box-shadow: var(--shadow);
}
.cert-card img { width: 100%; max-height: 420px; object-fit: contain; border-radius: 6px; margin-bottom: 12px; }
.cert-card figcaption { font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; color: var(--navy); }

@media (max-width: 980px) {
  .proc-flow { grid-template-columns: repeat(2, 1fr); }
  .photo-wall { grid-template-columns: repeat(2, 1fr); }
  .cert-wall { grid-template-columns: 1fr; max-width: 460px; }
  .qc-grid { grid-template-columns: 1fr; }
  .about-banner img { height: 320px; }
}
@media (max-width: 720px) {
  .proc-flow { grid-template-columns: 1fr; }
  .photo-wall { grid-template-columns: 1fr; }
  .pd-thumbs { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- about prose ---------- */
.about-prose { max-width: 820px; margin: 28px auto 0; }
.about-prose p { font-size: 1.02rem; line-height: 1.75; color: var(--body); margin: 0 0 18px; }
.about-prose h2 { margin: 34px 0 12px; }
.about-contact { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 26px; }
.about-contact .contact-card { padding: 18px 20px; }
@media (max-width: 720px) {
  .about-contact { grid-template-columns: 1fr; }
}

/* ---------- text-only cert chip (no certificate scan image) ---------- */
.cert-chip-text { padding: 12px 18px; }
.cert-chip-text span { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; }
.cert-chip-text svg { width: 16px; height: 16px; color: var(--yellow-2); }
