/* Relanovo B2B site — single stylesheet, no external deps */
:root {
  --ink: #12211d;
  --muted: #5c6b66;
  --brand: #0f6e56;
  --brand-dark: #085041;
  --brand-50: #e1f5ee;
  --line: rgba(18, 33, 29, 0.14);
  --bg: #ffffff;
  --bg-alt: #f5f8f6;
  --radius: 12px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
a { color: var(--brand); }
h1, h2, h3 { line-height: 1.25; font-weight: 600; }
h2 { font-size: 1.7rem; margin-bottom: 0.5rem; }
h3 { font-size: 1.1rem; }
.skip { position: absolute; left: -999px; top: 0; background: var(--brand); color: #fff; padding: 8px 16px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* utility bar */
.utility { background: var(--brand-dark); color: #cfe8df; font-size: 13px; }
.utility .wrap { display: flex; gap: 20px; flex-wrap: wrap; padding: 6px 24px; }
.utility a { color: #fff; text-decoration: none; }
.util-note { margin-left: auto; color: #9fd0c2; }

/* header */
.site-header { position: sticky; top: 0; background: #fff; border-bottom: 1px solid var(--line); z-index: 50; }
.nav-row { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand img { height: 44px; width: auto; }
.nav { display: flex; gap: 4px; list-style: none; align-items: center; }
.nav a { display: block; padding: 10px 14px; text-decoration: none; color: var(--ink); font-weight: 500; border-radius: 8px; }
.nav a:hover { background: var(--bg-alt); color: var(--brand); }
.has-sub { position: relative; }
.has-sub .caret { font-size: 10px; color: var(--muted); }
.sub { display: none; position: absolute; top: 100%; left: 0; min-width: 240px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px; list-style: none; box-shadow: 0 8px 24px rgba(18,33,29,.08); }
.has-sub:hover .sub, .has-sub:focus-within .sub { display: block; }
.sub a { padding: 9px 12px; }
.sub-all { border-top: 1px solid var(--line); margin-top: 6px; }
.nav-cta { margin-left: auto; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; font-size: 20px; padding: 6px 12px; cursor: pointer; }

/* buttons */
.btn { display: inline-block; padding: 10px 20px; border-radius: 10px; text-decoration: none; font-weight: 600; border: 1px solid transparent; transition: background .15s, color .15s; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost { border-color: var(--brand); color: var(--brand); background: transparent; }
.btn-ghost:hover { background: var(--brand-50); }
.btn-light { background: #fff; color: var(--brand-dark); }
.btn-lg { padding: 14px 28px; font-size: 17px; }
.btn-block { display: block; text-align: center; margin-bottom: 12px; }

/* hero */
.hero { background-size: cover; background-position: center; color: #fff; padding: 110px 0; }
.hero h1 { font-size: 2.6rem; max-width: 720px; }
.hero-sub { max-width: 640px; font-size: 1.15rem; margin: 18px 0 28px; color: #e6f2ee; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* trust bar */
.trustbar { background: var(--bg-alt); border-bottom: 1px solid var(--line); padding: 22px 0; }
.trust-stats { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 18px; text-align: center; }
.trust-stats strong { display: block; font-size: 1.6rem; color: var(--brand-dark); }
.trust-stats span { color: var(--muted); font-size: 13px; }
.certs { display: flex; gap: 18px; align-items: center; justify-content: center; flex-wrap: wrap; margin-top: 18px; }
.certs img { height: 34px; width: auto; }

/* sections */
.section { padding: 64px 0; }
.section-alt { background: var(--bg-alt); }
.section-sub { color: var(--muted); margin-bottom: 28px; }
.prose { max-width: 800px; }
.prose h2 { margin-top: 2rem; }
.prose p { margin-bottom: 1rem; }

/* category & product cards */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.cat-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); background: #fff; transition: transform .15s, box-shadow .15s; }
.cat-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(18,33,29,.1); }
.cat-card img { aspect-ratio: 4/3; object-fit: contain; width: 100%; background: #fff; padding: 6px; }
.cat-card > div { padding: 16px 18px; }
.cat-card p { color: var(--muted); font-size: 14px; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; margin-top: 20px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); background: #fff; transition: transform .15s, box-shadow .15s; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(18,33,29,.1); }
.card-media { position: relative; background: #fff; }
.card img { aspect-ratio: 1; object-fit: contain; width: 100%; background: #fff; padding: 8px; }
.tag-oem { position: absolute; top: 10px; left: 10px; font-size: 11px; font-weight: 600; letter-spacing: .03em; background: var(--brand); color: #fff; border-radius: 999px; padding: 3px 10px; }
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: 1rem; margin-bottom: 4px; }
.card .model { color: var(--muted); font-size: 13px; margin-bottom: 8px; }
.moq-chip { display: inline-block; align-self: flex-start; font-size: 12.5px; color: var(--brand-dark); background: var(--brand-50); border-radius: 6px; padding: 2px 9px; margin-bottom: 10px; }
.card .card-link { margin-top: auto; padding-top: 4px; }
.card-link { color: var(--brand); font-size: 14px; font-weight: 600; }

/* why grid */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; margin-top: 24px; }
.why { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.why h3 { color: var(--brand-dark); margin-bottom: 8px; }
.why p { color: var(--muted); font-size: 14.5px; }
.section-alt .why { background: #fff; }

/* factory split */
.factory-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.factory-photos { display: grid; gap: 14px; }
.factory-photos img { border-radius: var(--radius); width: 100%; object-fit: cover; aspect-ratio: 3/2; }
.check-list { margin: 14px 0 22px; padding-left: 0; list-style: none; }
.check-list li { padding-left: 28px; position: relative; margin-bottom: 10px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 700; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; margin-top: 26px; text-align: center; }
.steps span { display: inline-flex; width: 40px; height: 40px; border-radius: 50%; background: var(--brand); color: #fff; align-items: center; justify-content: center; font-weight: 700; margin-bottom: 10px; }
.steps h3 { font-size: 1rem; margin-bottom: 4px; }
.steps p { color: var(--muted); font-size: 13.5px; }

/* B2B buyer channels */
.channel-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; margin-top: 8px; }
.channel-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; transition: transform .15s, box-shadow .15s; }
.channel-card:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(18,33,29,.09); }
.channel-tag { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--brand); background: var(--brand-50); border-radius: 999px; padding: 4px 12px; margin-bottom: 12px; }
.channel-card h3 { color: var(--ink); font-size: 1rem; font-weight: 500; margin-bottom: 6px; }
.channel-card .check-list { margin: 12px 0 0; }
.channel-card .check-list li { font-size: 14.5px; color: var(--muted); margin-bottom: 8px; }
.proc-table { margin-top: 8px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.proc-table th { width: 32%; font-weight: 600; }
.proc-table td { background: #fff; }
.matrix-table { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 14.5px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.matrix-table th, .matrix-table td { border-bottom: 1px solid var(--line); padding: 10px 14px; text-align: left; vertical-align: top; }
.matrix-table thead th { background: var(--brand-50); color: var(--brand-dark); font-weight: 600; }
.matrix-table tbody th { font-weight: 600; color: var(--ink); background: var(--bg-alt); white-space: nowrap; }
.matrix-table tbody tr:last-child th, .matrix-table tbody tr:last-child td { border-bottom: 0; }
@media (max-width: 720px) {
  .matrix-table { display: block; overflow-x: auto; white-space: nowrap; }
}

/* OEM / ODM 二分卡片 */
.dual-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; margin-top: 8px; }
.dual-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; transition: transform .15s, box-shadow .15s; }
.dual-card:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(18,33,29,.09); }
.dual-card h3 { font-size: 1.15rem; margin-bottom: 8px; color: var(--brand-dark); }
.dual-card > p { color: var(--muted); font-size: 14.5px; }
.dual-card .check-list { margin: 14px 0 0; }
.dual-card .check-list li { font-size: 14.5px; color: var(--muted); }
.table-note { margin-top: 14px; font-size: 14px; color: var(--muted); }

/* 分类页排版优化：区块留白与标题层次 */
.wrap > h2 { margin-top: 8px; }
.wrap > h2 + .section-sub, .wrap > h2 + p { margin-bottom: 20px; }
.wrap > h3 { margin-top: 26px; color: var(--brand-dark); }
.section .wrap > p { max-width: 820px; }
.section .wrap > ul { max-width: 820px; margin: 14px 0 20px; padding-left: 22px; }
.section .wrap > ul li { margin-bottom: 7px; }

/* FAQ */
.faq-wrap { max-width: 820px; }
.faq-wrap details, .product-body details { border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; margin-bottom: 10px; background: #fff; }
.faq-wrap summary { font-weight: 600; cursor: pointer; }
.faq-wrap details p, .product-body details p { margin-top: 10px; color: var(--muted); }
.faq-q { font-size: 1rem; margin: 18px 0 6px; color: var(--brand-dark); }

/* CTA band */
.cta-band { background: var(--brand-dark); color: #fff; padding: 56px 0; text-align: center; }
.cta-band p { color: #cfe8df; margin: 10px 0 24px; }
.cta-band .btn { margin: 0 8px; }

/* page hero */
.page-hero { background: var(--brand-50); padding: 52px 0; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: 2.1rem; }
.page-hero p { color: var(--muted); margin-top: 6px; }
.crumb { font-size: 13px; margin-bottom: 8px; }
.crumb a { text-decoration: none; }
.model-badge { display: inline-block; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 14px; color: var(--brand-dark); font-weight: 600; }

/* product detail */
.product-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: start; }
.gallery img#main-photo { border-radius: var(--radius); border: 1px solid var(--line); aspect-ratio: 1; object-fit: cover; width: 100%; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.thumb { width: 72px; height: 72px; padding: 0; background: none; border: 2px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer; opacity: .7; transition: opacity .15s ease, border-color .15s ease; }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb:hover { opacity: .95; }
.thumb:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.thumb.active { border-color: var(--brand); opacity: 1; }
.spec-table { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.spec-table th, .spec-table td { border-bottom: 1px solid var(--line); padding: 9px 12px; text-align: left; vertical-align: top; font-size: 14.5px; }
.spec-table th { color: var(--muted); font-weight: 600; width: 42%; background: var(--bg-alt); }
.side-note { color: var(--muted); font-size: 13.5px; }
.product-body { max-width: 820px; }
.product-body h2 { margin-top: 2rem; font-size: 1.4rem; }
.product-body h3 { margin-top: 1.5rem; }
.product-body p { margin-bottom: 1rem; }
.product-body table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
.product-body table th, .product-body table td { border: 1px solid var(--line); padding: 8px 12px; font-size: 14.5px; text-align: left; }
.product-body table th { background: var(--bg-alt); }
.product-body ul { margin: 0 0 1rem 1.2rem; }
.product-body li { margin-bottom: 6px; }

/* contact */
.contact-split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; }
.contact-form label { display: block; font-weight: 600; font-size: 14px; margin: 14px 0 5px; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px; font: inherit; background: #fff;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 3px rgba(15,110,86,.15); }
.contact-form .btn { margin-top: 20px; }
#form-status { margin-top: 12px; color: var(--brand-dark); font-size: 14.5px; }
.contact-info ul { list-style: none; margin-top: 12px; }
.contact-info li { margin-bottom: 18px; }
.contact-info p { color: var(--muted); font-size: 14.5px; }

/* blog */
.post-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 18px; margin-top: 16px; }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 8px; transition: transform .15s, box-shadow .15s; }
.post-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(18,33,29,.1); }
.post-card h3 { font-size: 1.02rem; }
.post-card p { color: var(--muted); font-size: 13.5px; flex: 1; }
.cat-chip { font-size: 12px; color: var(--brand); font-weight: 600; }
.reading-list { list-style: none; padding: 0; max-width: 860px; margin-top: 16px; }
.reading-list li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.reading-list a { font-weight: 600; text-decoration: none; }
.reading-list a:hover { color: var(--brand-dark); }
.reading-list span { display: block; color: var(--muted); font-size: 13.5px; margin-top: 3px; }
.article-body { max-width: 800px; }
.article-body a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
.article-body a:hover { color: var(--brand-dark); }
.article-body h2 { margin-top: 2.2rem; font-size: 1.45rem; }
.article-body h3 { margin-top: 1.6rem; font-size: 1.12rem; }
.article-body p { margin-bottom: 1rem; }
.article-body table { width: 100%; border-collapse: collapse; margin: 1.2rem 0; font-size: 14.5px; }
.article-body table th, .article-body table td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; vertical-align: top; }
.article-body table th { background: var(--bg-alt); }
.article-body ul { margin: 0 0 1rem 1.2rem; }
.article-body li { margin-bottom: 6px; }
.article-body h3.faq-q { margin-top: 1.6rem; color: var(--brand-dark); }
.article-lead { margin: 0 0 1.6rem; }
.article-lead img { width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); display: block; }
.article-lead figcaption { color: var(--muted); font-size: 13px; margin-top: 8px; }
.post-thumb { display: block; margin: -6px -8px 4px; }
.post-thumb img { width: 100%; height: 170px; object-fit: cover; border-radius: calc(var(--radius) - 4px); border: 1px solid var(--line); display: block; }
.text-link { display: inline-block; margin-top: 14px; font-weight: 600; color: var(--brand); text-decoration: none; }
.text-link:hover { color: var(--brand-dark); text-decoration: underline; }
.cert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; margin: 18px 0 6px; }
.cert-grid-lg { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.cert-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 10px 12px; text-decoration: none; color: var(--ink); text-align: center; transition: transform .15s, box-shadow .15s; }
.cert-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(18,33,29,.1); }
.cert-card img { width: 100%; height: 150px; object-fit: cover; object-position: top; border-radius: calc(var(--radius) - 4px); display: block; }
.cert-card span { display: block; font-size: 12.5px; font-weight: 600; margin-top: 8px; color: var(--brand-dark); }
.cert-item { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; text-decoration: none; color: var(--ink); transition: transform .15s, box-shadow .15s; }
.cert-item:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(18,33,29,.1); }
.cert-item img { width: 100%; height: 340px; object-fit: cover; object-position: top; border-radius: calc(var(--radius) - 4px); border: 1px solid var(--line); display: block; }
.cert-item h3 { font-size: .98rem; margin: 12px 0 4px; }
.cert-item .cert-issuer { color: var(--brand); font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.cert-item p:last-child { color: var(--muted); font-size: 13.5px; }

/* footer */
.site-footer { background: #0d1b17; color: #b9cdc6; padding: 48px 0 24px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 32px; }
.footer-grid img { height: 40px; width: auto; margin-bottom: 12px; background: #fff; border-radius: 6px; padding: 4px; }
.footer-grid h3 { color: #fff; font-size: 14px; text-transform: none; margin-bottom: 10px; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 8px; font-size: 14px; }
.footer-grid a { color: #b9cdc6; text-decoration: none; }
.footer-grid a:hover { color: #fff; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 32px; padding-top: 18px; font-size: 13px; }
.footer-legal a { color: #b9cdc6; }

/* responsive */
@media (max-width: 900px) {
  .factory-split, .product-split, .contact-split { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; padding: 12px 20px 20px; align-items: stretch; }
  .nav.open { display: flex; }
  .has-sub .sub { display: block; position: static; border: none; box-shadow: none; padding-left: 16px; }
  .menu-btn { display: block; margin-left: auto; }
  .nav-cta { display: none; }
  .util-note { display: none; }
  .hero { padding: 70px 0; }
  .hero h1 { font-size: 2rem; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .trust-stats { gap: 12px; }
  .trust-stats div { min-width: 100px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card:hover, .cat-card:hover { transform: none; }
}
