/* =========================================================================
   Liangcai UI 2026 · Industrial editorial layer
   Inspired by the information hierarchy used by strong OEM/ODM factory sites:
   concrete evidence first, application-led discovery second, inquiry last.
   This file deliberately changes presentation only; existing HTML and i18n
   remain the source of content.
   ========================================================================= */


:root {
  --primary: #ee6543;
  --primary-strong: #ca4829;
  --primary-soft: #f8dfd6;
  --secondary: #9bbf67;
  --secondary-soft: #e9f0dc;
  --bg: #f1f0ea;
  --paper: #fbfaf6;
  --ink: #132321;
  --ink-soft: #42514c;
  --muted: #68756e;
  --line: #d5d7cc;
  --line-soft: #e5e6de;
  --font-serif: 'Space Grotesk', 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
  --font-sans: 'Noto Sans SC', 'Microsoft YaHei', 'Segoe UI', sans-serif;
  --font-mono: 'DM Mono', 'JetBrains Mono', monospace;
  --radius: 2px;
  --radius-sm: 2px;
  --radius-lg: 2px;
  --shadow: none;
  --shadow-md: 0 18px 34px rgba(17, 34, 31, .08);
  --shadow-lg: 0 24px 54px rgba(10, 25, 22, .16);
}

body {
  background: #f5f5f1;
}

body::selection { background: var(--primary); color: #fff; }
h1, h2, h3 { font-family: var(--font-serif); font-weight: 700; letter-spacing: -.055em; }
h1 { font-size: clamp(42px, 5.3vw, 76px); line-height: .98; }
h2 { font-size: clamp(30px, 3.4vw, 50px); line-height: 1.02; }
h3 { line-height: 1.08; }
p { font-family: var(--font-sans); line-height: 1.78; }

.section { padding: 108px 0; }
.section-sm { padding: 60px 0; }
.section-head { align-items: flex-start; margin-bottom: 52px; }
.section-head .desc { font-size: 15px; line-height: 1.72; }
.eyebrow { color: var(--primary-strong); font-size: 10px; font-weight: 600; letter-spacing: .19em; }
.eyebrow::before { width: 28px; background: currentColor; }

/* Header: a compact factory-control-panel feel rather than a storefront. */
.topbar { background: rgba(255,255,255,.97); border-bottom: 1px solid #e2e4df; backdrop-filter: blur(16px); }
.topbar-inner { min-height: 72px; padding-top: 11px; padding-bottom: 11px; }
.brand { color: #142622; font-weight: 600; letter-spacing: -.025em; }
.brand-dot { width: 9px; height: 9px; background: var(--primary); }
.nav-links > li > a { color: #34423e; font-family: var(--font-mono); font-size: 10px; letter-spacing: .07em; text-transform: uppercase; }
.nav-links > li > a:hover, .nav-links > li > a[style*="primary"] { background: #edf0eb !important; color: #142622 !important; }
.mega { border-radius: 0; border-color: rgba(19, 35, 33, .2); box-shadow: var(--shadow-lg); padding: 18px; }
.mega a { border-radius: 0; border-bottom: 1px solid var(--line-soft); }
.mega a:last-child { border-bottom: 0; }
.mega .t1 { color: var(--primary-strong); }
.mega .t2 { font-weight: 600; }
.lang-switcher .lang-btn { border-color: #cdd3ce; background: transparent; color: #142622; border-radius: 0; }
.lang-switcher .lang-btn:hover { border-color: var(--primary); color: #142622; }
.cta-start { border-radius: 0; background: var(--primary); color: #fff; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.cta-start:hover { background: #fff; color: var(--ink); }

/* Hero: one message, one factory image, few distractions. */
.hero { background: #132321; padding: 92px 0 84px; }
.hero::before { top: auto; bottom: -240px; right: -170px; background: radial-gradient(circle, rgba(155, 191, 103, .22), transparent 69%); }
.hero::after { top: -280px; bottom: auto; left: -230px; background: radial-gradient(circle, rgba(238, 101, 67, .16), transparent 70%); }
.hero h1, .hero h2, .hero h3 { color: #fff; }
.hero h1 em, .hero h2 em { color: var(--primary); font-style: normal; }
.hero p, .hero .lead { color: rgba(255, 255, 255, .72); }
.hero .eyebrow { color: var(--secondary); }
.hero .breadcrumb, .hero .breadcrumb a { color: rgba(255,255,255,.56); }
.hero .breadcrumb a:hover { color: #fff; }
.hero-grid { gap: clamp(36px, 5vw, 80px); }
.hero-grid > div:last-child > img, .hero .hero-photo img {
  box-shadow: 18px 18px 0 var(--primary);
  filter: saturate(.86) contrast(1.04);
}
.hero .img-placeholder { border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.07); color: #fff; }

.btn { border-radius: 0; font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 15px 21px; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: #fff; color: var(--ink); transform: none; }
.btn-secondary { border-color: var(--ink); }
.btn-secondary:hover { background: var(--ink); }
.btn-arrow::after { margin-left: 4px; }

/* Cards become evidence tiles: flat edges, a clear image plane and direct labels. */
.card, .cat-card, .prod-card, .cap-card {
  border-radius: 0;
  border-color: var(--line);
  box-shadow: none;
}
.card:hover, .cat-card:hover, .prod-card:hover, .cap-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.cat-grid { gap: 18px; }
.cat-card { background: var(--paper); }
.cat-card .thumb { background: #d8ddd2; border-bottom: 1px solid var(--line); }
.cat-card .thumb img { filter: saturate(.78) contrast(1.04); transition: transform .45s ease, filter .45s ease; }
.cat-card:hover .thumb img { transform: scale(1.04); filter: saturate(1) contrast(1.03); }
.cat-card .body { padding: 21px 22px 24px; }
.cat-card .num { color: var(--primary-strong); font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; }
.cat-card h3 { margin-top: 8px; font-size: 23px; }
.cat-card .more { color: var(--ink); font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.cat-card .more::after { content: ' ↗'; color: var(--primary); }
.prod-grid { gap: 18px; }
.prod-card .thumb { background: #edf0e8; }
.prod-card .body { padding: 18px; }
.prod-card .body h3 { font-size: 19px; }
.prod-card .meta { font-family: var(--font-mono); font-size: 10px; letter-spacing: .07em; color: var(--primary-strong); }
.card { background: rgba(251, 250, 246, .86); padding: 28px; }
.cap-card { background: transparent; padding: 28px 4px 18px; border: 0; border-top: 1px solid var(--ink); }
.cap-card:hover { background: rgba(255,255,255,.5); padding-left: 16px; padding-right: 16px; }
.cap-card .icon { color: var(--primary); border-radius: 0; background: transparent; padding: 0; height: auto; width: auto; }
.cap-card .icon svg { width: 32px; height: 32px; }

.stat-card, .stat { border-radius: 0; }
.stat .num { color: var(--primary-strong); font-size: 54px; }
.stat .label { color: var(--ink-soft); font-size: 10px; }
.timeline { border-left-color: var(--primary); }
.timeline li::before { background: var(--primary); box-shadow: 0 0 0 5px var(--bg); }
.tag, .tag-green, .tag-line { border-radius: 0; font-family: var(--font-mono); font-size: 9px; letter-spacing: .1em; }
.tag { background: var(--primary-soft); color: var(--primary-strong); }

.cta-banner { border-radius: 0; background: #132321; border: 1px solid #132321; padding: clamp(32px, 5vw, 64px); }
.cta-banner h2 { color: #fff; }
.cta-banner p { color: rgba(255,255,255,.67); }
.cta-banner .btn-primary { background: var(--secondary); color: var(--ink); }
.cta-banner .btn-primary:hover { background: #fff; }

.input, textarea, select.input { border-radius: 0; border-color: var(--ink-soft); background: rgba(255,255,255,.78); }
.input:focus, textarea:focus { box-shadow: 4px 4px 0 var(--primary); }
.file-drop { border-radius: 0; border-style: solid; background: rgba(155,191,103,.08); }

footer { background: #0c1716; border-top: 4px solid var(--primary); }
footer .brand { color: #fff; }
footer h4 { color: var(--secondary); font-family: var(--font-mono); letter-spacing: .13em; }
footer a:hover { color: var(--primary); }
.footer-bottom { border-top-color: rgba(255,255,255,.13); }

@media (max-width: 900px) {
  .topbar-inner { min-height: 62px; }
  .nav-burger span { background: #142622; }
  .section { padding: 76px 0; }
  .hero { padding: 64px 0 60px; }
  .hero-grid > div:last-child > img, .hero .hero-photo img { box-shadow: 10px 10px 0 var(--primary); }
  .card-grid[style*="repeat(4"] { grid-template-columns: repeat(2, 1fr) !important; }
}

@media (max-width: 560px) {
  .section { padding: 58px 0; }
  .hero { padding: 50px 0; }
  h1 { font-size: 42px; }
  .cat-grid, .prod-grid { grid-template-columns: 1fr; }
  .card-grid[style*="grid-template-columns:1fr 1fr"] { grid-template-columns: 1fr !important; }
}

/* Homepage rebuild: one image, one message, a restrained factory palette. */
.home-rebuild { background: #f5f5f1; background-image: none; }
.home-rebuild .topbar { background: rgba(255,255,255,.97); border-bottom-color: #e2e4df; }
.home-rebuild .brand { color: #142622; }
.home-rebuild .nav-links > li > a { color: #34423e; }
.home-rebuild .nav-links > li > a:hover, .home-rebuild .nav-links > li > a[style*="primary"] { background: #edf0eb !important; color: #142622 !important; }
.home-rebuild .lang-switcher .lang-btn { color: #142622; border-color: #cdd3ce; }
.home-rebuild .nav-burger span { background: #142622; }
.factory-hero { min-height: min(780px, calc(100vh - 72px)); position: relative; overflow: hidden; background: #152320; display: flex; align-items: stretch; }
.factory-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.factory-hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9,22,19,.14) 0%, rgba(9,22,19,.22) 60%, rgba(9,22,19,.6) 100%), linear-gradient(90deg, rgba(9,22,19,.97) 0%, rgba(9,22,19,.9) 35%, rgba(9,22,19,.28) 68%, rgba(9,22,19,.08) 100%); }
.factory-hero-content { position: relative; z-index: 1; width: 100%; display: flex; min-height: inherit; flex-direction: column; align-items: flex-start; justify-content: center; padding-top: 64px; padding-bottom: 48px; }
.factory-hero .eyebrow { color: #c8dc85; margin-bottom: 20px; }
.factory-hero h1 { max-width: 720px; margin: 0; color: #fff; font-size: clamp(48px, 5.4vw, 82px); letter-spacing: -.06em; }
.factory-hero h1 em { color: #e86d4b; font-style: normal; }
.factory-hero .lead { max-width: 610px; color: rgba(255,255,255,.78); font-size: 16px; margin: 26px 0 0; }
.factory-hero-scope { max-width: 710px; margin: 18px 0 0; color: #d4e09d; font: 10px/1.6 var(--font-mono); letter-spacing: .09em; text-transform: uppercase; }
.factory-hero-actions { display: flex; gap: 12px; margin-top: 30px; }
.factory-hero .btn-primary { background: #eb6948; border-color: #eb6948; border-radius: 0; }
.factory-hero .btn-secondary { color: #fff; border-color: rgba(255,255,255,.52); border-radius: 0; }
.factory-hero .btn-secondary:hover { background: #fff; color: #142622; }
.factory-proof-strip { display: grid; grid-template-columns: repeat(4, minmax(120px, 1fr)); width: min(730px, 100%); gap: 0; border-top: 1px solid rgba(255,255,255,.28); margin-top: 66px; }
.factory-proof-strip > div { padding: 17px 20px 0 0; display: grid; gap: 7px; }
.factory-proof-strip span { color: rgba(255,255,255,.56); font: 10px/1.4 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }
.factory-proof-strip b { color: #fff; font-size: 18px; font-weight: 500; }
.home-rebuild .factory-feature { padding: 124px 0; background: #f5f5f1; }
.factory-feature-grid { display: grid; grid-template-columns: .84fr 1.16fr; align-items: center; gap: 92px; }
.factory-feature-copy h2 { max-width: 430px; color: #152320; margin: 18px 0; }
.factory-feature-copy p { color: #53635d; max-width: 390px; margin-bottom: 30px; }
.text-link { border-bottom: 1px solid #152320; padding-bottom: 7px; color: #152320; font: 600 11px var(--font-mono); text-transform: uppercase; letter-spacing: .12em; }
.factory-feature-media { position: relative; display: block; height: 420px; overflow: hidden; background: #152320; }
.factory-feature-media img { height: 100%; width: 100%; object-fit: cover; transition: transform .6s ease; }
.factory-feature-media:hover img { transform: scale(1.025); }
.tour-disc { width: 62px; height: 62px; display: grid; place-items: center; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); color: #fff; border: 1px solid rgba(255,255,255,.8); background: rgba(20,38,34,.55); font-size: 17px; }
.tour-label { position: absolute; bottom: 20px; left: 22px; color: #fff; font: 10px var(--font-mono); text-transform: uppercase; letter-spacing: .12em; }
.home-rebuild .section { padding: 108px 0; background: #fff; }
.home-rebuild .section:nth-of-type(2n) { background: #f5f5f1; }
.home-rebuild .cat-grid { gap: 1px; background: #dce0da; border: 1px solid #dce0da; }
.home-rebuild .cat-card { min-height: 330px; background: #fff; border: 0; border-radius: 0; box-shadow: none; display: flex; align-items: flex-end; }
.home-rebuild .cat-card:hover { transform: none; box-shadow: none; background: #f8f8f4; }
.home-rebuild .cat-card .thumb { display: none; }
.home-rebuild .cat-card .body { padding: 28px; }
.home-rebuild .cat-card .num { color: #eb6948; font: 10px var(--font-mono); letter-spacing: .12em; }
.home-rebuild .cat-card h3 { font-size: 24px; color: #152320; margin: 42px 0 10px; }
.home-rebuild .cat-card .desc { color: #65716d; min-height: 42px; }
.home-rebuild .cat-card .more { color: #152320; font-family: var(--font-mono); font-size: 10px; letter-spacing: .09em; text-transform: uppercase; }
.home-rebuild .cap-card, .home-rebuild .process-card, .home-rebuild .lab-card, .home-rebuild .market-card { border-radius: 0; box-shadow: none; }
.home-rebuild .innov-grid { gap: 1px; background: #dce0da; border: 1px solid #dce0da; }
.home-rebuild .innov-card { background: #fff; border: 0; border-radius: 0; box-shadow: none; min-height: 260px; }
.home-rebuild .innov-card .thumb { display: none; }
.home-rebuild .innov-card .body { padding: 74px 28px 28px; }
@media (max-width: 720px) {
  .factory-hero { min-height: 700px; }
  .factory-hero-shade { background: linear-gradient(90deg, rgba(12,26,23,.93), rgba(12,26,23,.68)); }
  .factory-hero-content { padding-top: 48px; }
  .factory-hero h1 { font-size: 47px; }
  .factory-proof-strip { grid-template-columns: repeat(2, 1fr); margin-top: 44px; row-gap: 14px; }
  .factory-proof-strip > div { padding-top: 12px; }
  .factory-feature-grid { grid-template-columns: 1fr; gap: 36px; }
  .factory-feature-media { height: 280px; }
  .home-rebuild .factory-feature, .home-rebuild .section { padding: 72px 0; }
}

/* Application entries use typography and hierarchy until a consistent product shoot exists. */
.cat-grid { gap: 1px; background: #dce0da; border: 1px solid #dce0da; }
.cat-card { min-height: 330px; background: #fff; border: 0; border-radius: 0; box-shadow: none; display: flex; align-items: flex-end; }
.cat-card:hover { transform: none; box-shadow: none; background: #f8f8f4; }
.cat-card .thumb { display: none; }
.cat-card .body { padding: 28px; }
.cat-card .num { color: #eb6948; font: 10px var(--font-mono); letter-spacing: .12em; }
.cat-card h3 { font-size: 24px; color: #152320; margin: 42px 0 10px; }
.cat-card .desc { color: #65716d; min-height: 42px; }
.cat-card .more { color: #152320; font-family: var(--font-mono); font-size: 10px; letter-spacing: .09em; text-transform: uppercase; }
