﻿/* ============================================================
   Shunji Machinery — industrial / technical visual system
   ============================================================ */

:root {
    --ink: #0a1628;
    --ink-2: #121e30;
    --steel: #2a3648;
    --muted: #6b7787;
    --line: #e3e8ef;
    --bg: #f6f8fb;
    --white: #ffffff;
    --accent: #ff6b00;
    --accent-dark: #d95500;
    --accent-soft: #fff2e8;
    --cyan: #0fb5c9;
    --mono: ui-monospace, "Cascadia Mono", Consolas, "Courier New", monospace;
    --sans: -apple-system, "Segoe UI", "Microsoft YaHei", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--sans);
    color: var(--ink);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.wrap {
    width: min(1200px, 92vw);
    margin: 0 auto;
}

a { color: inherit; }

img { max-width: 100%; }

/* ---------- header ---------- */

.topbar {
    background: var(--ink);
    color: #fff;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.topbar-inner {
    display: flex;
    align-items: center;
    gap: 26px;
    padding: 12px 0;
    flex-wrap: wrap;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
    font-weight: 700;
    letter-spacing: .14em;
    font-size: 14px;
}

.brand-badge {
    width: 43px;
    height: 43px;
    background: var(--accent);
    border-radius: 0;
    clip-path: polygon(0 0, 100% 0, 100% 72%, 72% 100%, 0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.brand-badge img {
    width: 35px;
    height: 35px;
    object-fit: contain;
    display: block;
}

.brand-mark {
    width: 30px;
    height: 30px;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    clip-path: polygon(0 0, 100% 0, 100% 72%, 72% 100%, 0 100%);
}

.mainnav { display: flex; gap: 22px; flex-wrap: wrap; }

.mainnav a {
    color: rgba(255, 255, 255, .78);
    text-decoration: none;
    font-size: 13.5px;
    letter-spacing: .04em;
    padding: 4px 0;
    border-bottom: 2px solid transparent;
}

.mainnav a:hover,
.mainnav a.active {
    color: #fff;
    border-bottom-color: var(--accent);
}

.langs {
    margin-left: auto;
    display: flex;
    gap: 4px;
}

.langs a {
    color: rgba(255, 255, 255, .6);
    text-decoration: none;
    font-size: 12px;
    padding: 4px 7px;
    border: 1px solid rgba(255, 255, 255, .14);
    letter-spacing: .04em;
}

.langs a:hover { color: #fff; border-color: var(--accent); }

/* ---------- hero ---------- */

.hero {
    position: relative;
    background:
        linear-gradient(180deg, rgba(10, 22, 40, .96), rgba(10, 22, 40, .88)),
        repeating-linear-gradient(0deg, rgba(255,255,255,.05) 0 1px, transparent 1px 56px),
        repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, transparent 1px 56px),
        var(--ink);
    color: #fff;
    padding: 56px 0 44px;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    right: -120px;
    top: -60px;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(255, 107, 0, .22), transparent 68%);
    pointer-events: none;
}

.kicker {
    font-family: var(--mono);
    font-size: 11.5px;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: var(--accent);
    margin: 0 0 14px;
}

.hero h1 {
    font-size: clamp(1.9rem, 4.4vw, 3.1rem);
    line-height: 1.18;
    margin: 0 0 18px;
    letter-spacing: -.01em;
    max-width: 20ch;
}

.hero .lede {
    color: rgba(255, 255, 255, .72);
    max-width: 62ch;
    margin: 0 0 28px;
    font-size: 15.5px;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 22px;
    background: var(--accent);
    color: #fff;
    border: 1px solid var(--accent);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .04em;
}

.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); }

.btn-ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, .3);
}

.btn-ghost:hover { background: rgba(255, 255, 255, .08); border-color: #fff; }

/* ---------- stat strip ---------- */

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, .12);
    margin-top: 44px;
    border: 1px solid rgba(255, 255, 255, .12);
}

.stat {
    background: rgba(10, 22, 40, .72);
    padding: 18px 20px;
}

.stat b {
    display: block;
    font-family: var(--mono);
    font-size: 22px;
    color: #fff;
    letter-spacing: .02em;
}

.stat span {
    font-size: 12px;
    color: rgba(255, 255, 255, .55);
    letter-spacing: .08em;
    text-transform: uppercase;
}

/* ---------- sections ---------- */

.section { padding: 30px 0; }
.section-tight { padding: 18px 0; }
.section-alt { background: var(--bg); }

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 26px;
}

.section-head h2 {
    font-size: clamp(1.3rem, 2.6vw, 1.8rem);
    margin: 0;
    letter-spacing: -.01em;
}

.section-head p { margin: 6px 0 0; color: var(--muted); font-size: 14px; }

/* ---------- category cards ---------- */

.cats {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
}

.cat {
    border: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    background: var(--white);
    padding: 20px;
    text-decoration: none;
    color: inherit;
    position: relative;
    transition: border-color .15s, transform .15s, box-shadow .15s;
}

.cat::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: var(--accent);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform .18s;
}

.cat:hover {
    border-color: #cfd8e3;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(10, 22, 40, .08);
}

.cat:hover::before { transform: scaleY(1); }

.cat-code {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--accent);
    letter-spacing: .18em;
}

.cat h3 { margin: 6px 0 6px; font-size: 15px; letter-spacing: .01em; }

.cat p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.5; }

.cat .cat-count {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--steel);
    margin-top: auto;
    display: block;
}

/* ---------- product grid ---------- */

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(248px, 1fr));
    gap: 16px;
}

.card {
    border: 1px solid var(--line);
    background: var(--white);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: border-color .15s, transform .15s, box-shadow .15s;
    position: relative;
}

.card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(10, 22, 40, .1);
}

.card-media {
    aspect-ratio: 4 / 3;
    background:
        repeating-linear-gradient(45deg, #f3f5f8 0 8px, #eef1f5 8px 16px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}

.card-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.card-media.empty { color: #b6bfcc; font-size: 12px; font-family: var(--mono); }

.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }

.sku {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--accent);
    letter-spacing: .08em;
}

.card h3 {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
    letter-spacing: .01em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.8em;
}

.card .meta {
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px dashed var(--line);
    font-size: 12px;
    color: var(--muted);
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.card .meta b { color: var(--steel); font-weight: 600; }

/* ---------- breadcrumb ---------- */

.crumb {
    font-size: 12.5px;
    color: var(--muted);
    padding: 18px 0 0;
    font-family: var(--mono);
    letter-spacing: .03em;
}

.crumb a { color: var(--muted); text-decoration: none; }
.crumb a:hover { color: var(--accent); }
.crumb span { color: var(--steel); }

/* ---------- page header ---------- */

.page-head {
    padding: 26px 0 30px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 30px;
}

.page-head h1 { margin: 0 0 8px; font-size: clamp(1.4rem, 3vw, 2rem); letter-spacing: -.01em; }
.page-head p { margin: 0; color: var(--muted); max-width: 70ch; }

/* ---------- filter chips ---------- */

.chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 18px 0 26px;
    padding-bottom: 4px;
}

.chip {
    border: 1px solid var(--line);
    background: var(--white);
    color: var(--steel);
    padding: 8px 14px;
    font-size: 13px;
    text-decoration: none;
    white-space: nowrap;
    font-family: var(--mono);
    letter-spacing: .03em;
}

.chip:hover { border-color: var(--accent); color: var(--accent); }

.chip.active {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}

.chip .n { opacity: .55; margin-left: 6px; }

/* ---------- product detail ---------- */

.detail-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 34px;
    align-items: start;
    padding-top: 8px;
}

.detail-media {
    border: 1px solid var(--line);
    background: repeating-linear-gradient(45deg, #f3f5f8 0 10px, #eef1f5 10px 20px);
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
}

.detail-media img { object-fit: contain; max-height: 100%; mix-blend-mode: multiply; }

.detail-info h1 { margin: 0 0 8px; font-size: clamp(1.3rem, 3vw, 1.9rem); }

.detail-info .sku-line {
    font-family: var(--mono);
    color: var(--muted);
    font-size: 13px;
    margin: 0 0 20px;
    letter-spacing: .05em;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
    margin: 0 0 22px;
}

.spec-table th,
.spec-table td {
    border-bottom: 1px solid var(--line);
    padding: 11px 4px;
    text-align: left;
    vertical-align: top;
}

.spec-table th {
    width: 40%;
    color: var(--muted);
    font-weight: 500;
    font-size: 12.5px;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.spec-table td { font-family: var(--mono); color: var(--steel); }

.detail-desc {
    margin-top: 40px;
    border-top: 1px solid var(--line);
    padding-top: 26px;
}

.detail-desc h2 { font-size: 1.05rem; margin: 0 0 10px; }

/* ---------- rfq panel ---------- */

.rfq {
    background: var(--ink);
    color: #fff;
    padding: 24px 28px;
    margin: 26px 0 0;
    position: relative;
    overflow: hidden;
}

.rfq::before {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(90deg, rgba(255,255,255,.04) 0 1px, transparent 1px 40px);
    pointer-events: none;
}

.section .rfq { margin-top: 0; }

.rfq h2 { margin: 0 0 8px; font-size: 1.1rem; position: relative; }

.rfq p { color: rgba(255,255,255,.65); margin: 0 0 18px; font-size: 14px; position: relative; }

.rfq .hero-actions { position: relative; }

/* ---------- forms ---------- */

.field { margin-bottom: 14px; }

.field label {
    display: block;
    font-size: 12px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 6px;
}

.field input,
.field textarea,
.field select {
    width: 100%;
    padding: 12px 12px;
    font-size: 15px;
    font-family: var(--sans);
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
    outline: none;
    border-color: var(--accent);
}

.field textarea { min-height: 110px; resize: vertical; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.form-note { font-size: 12px; color: var(--muted); margin-top: 10px; }

.alert {
    border-left: 3px solid var(--accent);
    background: var(--accent-soft);
    padding: 12px 16px;
    font-size: 14px;
    margin-bottom: 20px;
}

/* ---------- contact ---------- */

.contact-grid {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 40px;
    align-items: start;
}

.info-card {
    border: 1px solid var(--line);
    padding: 18px 20px;
    margin-bottom: 12px;
}

.info-card .k {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--accent);
}

.info-card .v { font-size: 14px; margin-top: 4px; word-break: break-word; }

.info-card a { text-decoration: none; color: var(--steel); }
.info-card a:hover { color: var(--accent); }

/* ---------- about ---------- */

.about-intro {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 44px;
    align-items: start;
}

.about-intro p { color: #3b4657; font-size: 15px; }

.fact-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }

.fact-list li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 11px 0;
    border-bottom: 1px solid var(--line);
    font-size: 13.5px;
}

.fact-list .k { color: var(--muted); }
.fact-list .v { font-family: var(--mono); color: var(--steel); text-align: right; }

.cap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
    margin-top: 24px;
}

.cap {
    border: 1px solid var(--line);
    padding: 20px;
    background: #fff;
}

.cap .num { font-family: var(--mono); color: var(--accent); font-size: 12px; letter-spacing: .16em; }
.cap h3 { margin: 8px 0 6px; font-size: 15px; }
.cap p { margin: 0; font-size: 13px; color: var(--muted); }

.cert-band {
    background: var(--ink);
    color: #fff;
    padding: 20px 0;
    margin-top: 0;
}

.cert-band .wrap { display: flex; gap: 40px; align-items: center; flex-wrap: wrap; justify-content: space-between; }

.cert-band .k { font-family: var(--mono); font-size: 11px; letter-spacing: .2em; color: var(--accent); }
.cert-band .big { font-size: 15px; letter-spacing: .06em; }

/* ---------- legacy content (migrated) ---------- */

.legacy-content {
    margin-top: 20px;
    overflow-wrap: break-word;
    font-size: 14px;
}

.legacy-content img { max-width: 100% !important; height: auto !important; }
.legacy-content * { max-width: 100% !important; box-sizing: border-box !important; }

/* ---------- footer ---------- */

.footer {
    background: var(--ink);
    color: rgba(255, 255, 255, .6);
    margin-top: 64px;
    padding: 40px 0 26px;
    font-size: 13px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 30px;
    padding-bottom: 26px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.footer h4 {
    color: #fff;
    font-size: 12px;
    letter-spacing: .16em;
    text-transform: uppercase;
    margin: 0 0 12px;
}

.footer a { color: rgba(255, 255, 255, .6); text-decoration: none; display: block; padding: 3px 0; }
.footer a:hover { color: var(--accent); }

.footer-bottom { padding-top: 18px; font-size: 12px; color: rgba(255, 255, 255, .38); }

/* ---------- RTL ---------- */

[dir="rtl"] .topbar-inner,
[dir="rtl"] .footer-inner { direction: rtl; }
[dir="rtl"] .langs { margin-left: 0; margin-right: auto; }
[dir="rtl"] .spec-table th,
[dir="rtl"] .spec-table td { text-align: right; }
[dir="rtl"] .cat::before { left: auto; right: 0; }

/* ---------- responsive ---------- */

@media (max-width: 900px) {
    .cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .detail-grid,
    .about-intro,
    .contact-grid { grid-template-columns: 1fr; gap: 26px; }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .footer-inner { grid-template-columns: 1fr; }
    .hero { padding: 52px 0 40px; }
}

@media (max-width: 640px) {
    .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .mainnav { gap: 14px; }
    .mainnav a { font-size: 13px; }
    .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .card-body { padding: 10px 12px 12px; }
    .card h3 { font-size: 13px; }
    .form-row { grid-template-columns: 1fr; }
    .rfq { padding: 22px 18px; }
    .section { padding: 40px 0; }
    .stats { grid-template-columns: 1fr 1fr; }
    .stat { padding: 14px; }
    .stat b { font-size: 18px; }
    .chips { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
    .chips::-webkit-scrollbar { display: none; }
}

/* ---------- banner band ---------- */

.hero-band {
    position: relative;
    height: clamp(150px, 23.3vw, 447px);
    background: var(--ink);
    overflow: hidden;
}

.hero-band .hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-band .hero-bg img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition: opacity .9s ease;
}

.hero-band .hero-bg img.active { opacity: 1; }

.hero-band::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 46px;
    background: linear-gradient(to bottom, rgba(10, 22, 40, 0), rgba(10, 22, 40, .5));
    pointer-events: none;
    z-index: 1;
}

.hero-dots {
    position: absolute;
    right: 4%;
    bottom: 14px;
    z-index: 2;
    display: flex;
    gap: 7px;
}

.hero-dots button {
    width: 30px;
    height: 3px;
    border: 0;
    padding: 0;
    background: rgba(255, 255, 255, .5);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .3);
    cursor: pointer;
}

.hero-dots button.active { background: var(--accent); }

/* ---------- insights cards ---------- */

.posts {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 18px;
}

.post {
    border: 1px solid var(--line);
    background: #fff;
    padding: 22px;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: border-color .15s, transform .15s, box-shadow .15s;
}

.post:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(10, 22, 40, .09);
}

.post-top {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.post-tag { color: var(--accent); }
.post-date { color: var(--muted); margin-left: auto; }

.post h3 {
    margin: 0;
    font-size: 15.5px;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post p {
    margin: 0;
    font-size: 13px;
    color: var(--muted);
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post .more {
    margin-top: auto;
    font-family: var(--mono);
    font-size: 11.5px;
    letter-spacing: .08em;
    color: var(--steel);
    text-transform: uppercase;
}

.post:hover .more { color: var(--accent); }

.post-media {
    margin: -22px -22px 6px;
    border-bottom: 1px solid var(--line);
    background: #f6f8fb;
    overflow: hidden;
}

.post-media img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
}

/* ---------- ICP footer ---------- */

.icp {
    margin-top: 10px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 12px;
}

.icp a { color: rgba(255, 255, 255, .38); text-decoration: none; display: inline; padding: 0; }
.icp a:hover { color: var(--accent); }

/* ---------- flagship showcase ---------- */

.showcase {
    position: relative;
    background: var(--ink);
    color: #fff;
    padding: 50px 0 46px;
    overflow: hidden;
}

.showcase::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 88% 12%, rgba(255, 107, 0, .18), transparent 42%),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 64px);
    pointer-events: none;
}

.showcase .wrap { position: relative; }

.showcase h2 {
    font-size: clamp(1.45rem, 3vw, 2.05rem);
    margin: 0 0 14px;
    max-width: 24ch;
    letter-spacing: -.01em;
}

.showcase .lede { color: rgba(255, 255, 255, .72); max-width: 66ch; margin: 0; font-size: 15px; }

.showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 26px;
}

.showcase figure { margin: 0; background: #fff; border: 1px solid rgba(255, 255, 255, .14); }

.showcase figure img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

.showcase figcaption {
    background: #fff;
    color: var(--steel);
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .07em;
    text-transform: uppercase;
    padding: 10px 12px;
    border-top: 1px solid var(--line);
}

.showcase-points {
    list-style: none;
    padding: 0;
    margin: 26px 0 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.showcase-points li {
    border-top: 2px solid var(--accent);
    padding-top: 13px;
    font-size: 13.5px;
    color: rgba(255, 255, 255, .7);
    line-height: 1.65;
}

.showcase-points b { display: block; color: #fff; font-size: 13.5px; margin-bottom: 5px; }

.showcase .hero-actions { margin-top: 30px; }

@media (max-width: 900px) {
    .showcase-grid { grid-template-columns: 1fr; }
    .showcase-points { grid-template-columns: 1fr; }
    .showcase { padding: 46px 0 42px; }
}

/* ---------- capability page ---------- */

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 44px;
    align-items: start;
}

.split-wide { grid-template-columns: 1.15fr .85fr; }

.matrix {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
}

.matrix th,
.matrix td {
    border-bottom: 1px solid var(--line);
    padding: 11px 10px;
    text-align: left;
    vertical-align: top;
}

.matrix th {
    width: 36%;
    color: var(--muted);
    font-size: 11.5px;
    letter-spacing: .06em;
    text-transform: uppercase;
    font-weight: 500;
}

.matrix td { font-family: var(--mono); color: var(--steel); font-size: 12.5px; }

.matrix tr:first-child th,
.matrix tr:first-child td { border-top: 1px solid var(--line); }

.steps {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    margin-top: 26px;
}

.steps.five { grid-template-columns: repeat(5, 1fr); }

.step { background: #fff; padding: 18px 15px; }

.step .n {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--accent);
    letter-spacing: .16em;
}

.step h4 { margin: 8px 0 5px; font-size: 13.5px; }

.step p { margin: 0; font-size: 12px; color: var(--muted); line-height: 1.55; }

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }

.checklist li { padding-left: 22px; position: relative; font-size: 14px; color: #3b4657; line-height: 1.6; }

.checklist li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background: var(--accent);
}

.checklist li b { color: var(--ink); }

.tag-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }

.tag {
    font-family: var(--mono);
    font-size: 11.5px;
    border: 1px solid var(--line);
    padding: 5px 10px;
    color: var(--steel);
    background: #fff;
}

.note {
    font-size: 12px;
    color: var(--muted);
    margin-top: 12px;
    padding-left: 10px;
    border-left: 2px solid var(--line);
}

.dark-facts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .12);
    margin-top: 36px;
}

.dark-facts > div { background: rgba(10, 22, 40, .72); padding: 16px 18px; }

.dark-facts b {
    display: block;
    font-family: var(--mono);
    font-size: 20px;
    color: #fff;
}

.dark-facts span {
    font-size: 11.5px;
    color: rgba(255, 255, 255, .55);
    letter-spacing: .08em;
    text-transform: uppercase;
}

@media (max-width: 900px) {
    .split,
    .split-wide { grid-template-columns: 1fr; gap: 26px; }
    .steps,
    .steps.five { grid-template-columns: repeat(2, 1fr); }
    .dark-facts { grid-template-columns: 1fr 1fr; }
}

/* ---------- About 页「制造能力」分块：标题加大加粗 ---------- */
.cap-block .kicker {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .18em;
    margin: 0 0 12px;
}

.cap-block .sec-title {
    margin: 0 0 16px;
    font-size: 1.85rem;
    font-weight: 700;
    line-height: 1.28;
    letter-spacing: -.01em;
}

.cap-block p {
    font-size: 15.5px;
    line-height: 1.72;
}

@media (max-width: 900px) {
    .cap-block .sec-title { font-size: 1.6rem; }
    .cap-block .kicker { font-size: 13px; }
}

@media (max-width: 640px) {
    .cap-block .sec-title { font-size: 1.35rem; }
    .cap-block p { font-size: 14.5px; }
}

/* ---------- About 页所有小标（kicker）：统一放大一倍 ---------- */
.kicker.kicker-lg {
    font-size: 23px;
    font-weight: 700;
    letter-spacing: .1em;
    line-height: 1.3;
    margin: 0 0 14px;
    text-transform: none;
}

@media (max-width: 900px) {
    .kicker.kicker-lg { font-size: 19px; }
}

@media (max-width: 640px) {
    .kicker.kicker-lg { font-size: 16px; letter-spacing: .06em; }
}


/* ---------- About「核心工序」车间照片 ---------- */
.cap-photos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin: 34px 0 0;
}

.cap-photos figure {
    margin: 0;
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    background: #eef1f5;
}

.cap-photos img {
    display: block;
    width: 100%;
    height: auto;
}

.cap-photos figcaption {
    padding: 11px 16px;
    font-size: 13px;
    color: var(--muted);
    background: var(--white);
    border-top: 1px solid var(--line);
    text-align: center;
}

@media (max-width: 640px) {
    .cap-photos { grid-template-columns: 1fr; gap: 12px; margin-top: 24px; max-width: 100%; }
    .cap-photos figcaption { font-size: 12.5px; padding: 9px 12px; }
}

/* ---------- About：区块内产品图（扣图并排） ---------- */
.cap-split {
    display: flex;
    gap: 22px;
    align-items: flex-start;
    margin-top: 18px;
}

.cap-split .checklist {
    flex: 1 1 auto;
    min-width: 0;
}

.cap-figure {
    flex: 0 0 auto;
    margin: 0;
    background: #f4f7fa;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.cap-figure img {
    display: block;
    height: 230px;
    width: auto;
    max-width: 100%;
    border-radius: 8px;
    margin: 0 auto;
}

.cap-figure figcaption {
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.5;
    color: var(--muted);
    text-align: center;
}

@media (max-width: 900px) {
    .cap-figure img { height: 200px; }
}

@media (max-width: 640px) {
    .cap-split { display: block; }
    .cap-figure { margin: 18px auto 0; width: max-content; max-width: 100%; }
    .cap-figure img { height: auto; max-height: 220px; }
}

/* ---------- 首页：核心生产设备 ---------- */
.equip-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 44px;
    align-items: stretch;
    margin-top: 24px;
}

.equip-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 30px;
    row-gap: 2px;
}

.equip-item {
    display: flex;
    gap: 12px;
    padding: 13px 0;
    border-top: 1px solid var(--line);
}

.equip-item:nth-child(1),
.equip-item:nth-child(2) { border-top: 0; }

.equip-n {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--accent);
    font-weight: 700;
    padding-top: 2px;
    flex: 0 0 22px;
}

.equip-item b {
    display: block;
    font-size: 14px;
    line-height: 1.45;
    margin-bottom: 3px;
}

.equip-item span {
    display: block;
    font-size: 12.5px;
    color: var(--muted);
    line-height: 1.55;
}

.equip-side {
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 100%;
    min-height: 0;
    justify-content: flex-start;
}

.equip-side figure {
    margin: 0;
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
    background: var(--white);
    flex: 1 1 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.equip-side img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    flex: 1 1 auto;
    object-fit: cover;
    object-position: center;
}

.equip-side figcaption {
    flex: 0 0 auto;
    padding: 8px 13px;
    font-size: 12px;
    color: var(--muted);
    border-top: 1px solid var(--line);
}

.equip-side .btn { align-self: flex-start; }


@media (max-width: 1024px) {
    .equip-grid { grid-template-columns: 1fr; gap: 28px; align-items: start; }
    .equip-side { flex-direction: row; flex-wrap: wrap; height: auto; }
    .equip-side figure { flex: 1 1 260px; }
    .equip-side img { height: auto; max-height: 220px; }
}

@media (max-width: 640px) {
    .equip-list { grid-template-columns: 1fr; }
    .equip-item:nth-child(2) { border-top: 1px solid var(--line); }
    .equip-side { flex-direction: column; }
    .equip-side figure { flex: 1 1 auto; }
    .equip-side img { height: auto; max-height: 200px; }
}

/* ---------- 首页：高效生产线（画册第 5 页） ---------- */
.lines-block {
    margin-top: 54px;
    padding-top: 34px;
    border-top: 1px solid var(--line);
}

.kicker.kicker-sm {
    font-size: 11.5px;
    font-weight: 400;
    letter-spacing: .22em;
    margin: 0 0 22px;
}

.lines-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 34px;
}

.line-item figure {
    margin: 0 0 16px;
    border-radius: 10px;
    overflow: hidden;
    background: #eef1f5;
}

.line-item figure img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.line-body {
    border-top: 2px solid var(--accent);
    padding-top: 14px;
}

.line-n {
    display: block;
    font-family: var(--mono);
    font-size: 12px;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 6px;
}

.line-item b {
    display: block;
    font-size: 15px;
    margin-bottom: 7px;
}

.line-item p {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.65;
    color: var(--muted);
}

@media (max-width: 900px) {
    .lines-grid { grid-template-columns: 1fr; gap: 22px; }
    .lines-block { margin-top: 38px; padding-top: 26px; }
}

/* ---------- 解决方案列表（图文卡片） ---------- */
.sol-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.sol-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--line);
    text-decoration: none;
    color: inherit;
    transition: border-color .18s, box-shadow .18s, transform .18s;
}

.sol-card:hover {
    border-color: #c9d6e8;
    box-shadow: 0 10px 26px rgba(10, 22, 40, .08);
    transform: translateY(-2px);
}

.sol-media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #eef1f5;
    border-bottom: 1px solid var(--line);
}

.sol-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: #f8fafc;
    padding: 10px;
    transition: transform .35s ease;
}

.sol-card:hover .sol-media img { transform: scale(1.04); }

/* 没有封面时用的品牌占位块 */
.sol-ph {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(135deg, rgba(255, 107, 0, .16), transparent 58%),
        repeating-linear-gradient(0deg, rgba(255,255,255,.05) 0 1px, transparent 1px 26px),
        repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, transparent 1px 26px),
        #0a1628;
}

.sol-ph span {
    font-family: var(--mono);
    font-size: 44px;
    font-weight: 700;
    letter-spacing: .06em;
    color: rgba(255, 107, 0, .9);
}

.sol-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 18px 20px 20px;
}

.sol-meta {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .14em;
    color: var(--accent);
    margin-bottom: 10px;
}

.sol-meta span:last-child { color: var(--muted); letter-spacing: .04em; }

.sol-card h3 {
    margin: 0 0 9px;
    font-size: 16.5px;
    line-height: 1.4;
    letter-spacing: -.005em;
}

.sol-card p {
    margin: 0 0 16px;
    font-size: 13.5px;
    line-height: 1.65;
    color: var(--muted);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sol-more {
    margin-top: auto;
    font-size: 12.5px;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
    padding-bottom: 2px;
    align-self: flex-start;
}

.sol-card:hover .sol-more { color: var(--accent); border-color: var(--accent); }

@media (max-width: 1100px) {
    .sol-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
}

@media (max-width: 700px) {
    .sol-grid { grid-template-columns: 1fr; gap: 16px; }
    .sol-body { padding: 15px 16px 17px; }
    .sol-card h3 { font-size: 15.5px; }
}

/* ---------- 方案详情：封面图 ---------- */
.sol-cover-img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 0 26px;
    border: 1px solid var(--line);
}

.legacy-fig {
    text-align: center;
    margin: 22px 0;
}

.legacy-fig img {
    max-width: 100%;
    height: auto;
}
