/* =====================================================================
   Huaneng Power Auxiliary Equipment — front-end stylesheet
   Light industrial B2B design system, no external dependencies
   ===================================================================== */

:root {
  --navy: #0b2545;
  --navy-2: #10365f;
  --navy-3: #17456f;
  --blue: #1d4ed8;
  --blue-soft: #eff6ff;
  --accent: #f97316;
  --accent-dark: #ea580c;
  --ink: #0f172a;
  --body: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --line-strong: #cbd5e1;
  --soft: #f7f9fc;
  --white: #ffffff;
  --success: #059669;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .04);
  --shadow-md: 0 10px 30px -12px rgba(15, 23, 42, .22);
  --shadow-lg: 0 24px 60px -24px rgba(15, 23, 42, .35);
  --font: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--accent-dark); }
h1, h2, h3, h4 { color: var(--ink); font-weight: 700; letter-spacing: -.02em; line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 3.6vw, 3.05rem); }
h2 { font-size: clamp(1.5rem, 2.4vw, 2.05rem); }
h3 { font-size: 1.12rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 12px; top: 12px; background: #fff; padding: 10px 16px; border-radius: 8px; z-index: 999; }
.muted { color: var(--muted); }
.empty-state { padding: 40px; background: var(--soft); border: 1px dashed var(--line-strong); border-radius: var(--radius); text-align: center; color: var(--muted); }

/* ------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 8px; border: 1px solid transparent;
  font-weight: 600; font-size: .95rem; line-height: 1.2; cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
  text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-2); color: #fff; }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 8px 20px -10px rgba(249, 115, 22, .75); }
.btn-accent:hover { background: var(--accent-dark); color: #fff; }
.btn-outline { border-color: var(--line-strong); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--navy); color: var(--navy); background: #fff; }
.btn-ghost-light { border-color: rgba(255,255,255,.35); color: #fff; background: rgba(255,255,255,.06); }
.btn-ghost-light:hover { background: rgba(255,255,255,.16); color: #fff; }
.btn-lg { padding: 15px 28px; font-size: 1rem; }
.btn-sm { padding: 9px 16px; font-size: .875rem; }
.btn-block { width: 100%; }
.link-arrow { font-weight: 600; font-size: .92rem; white-space: nowrap; }
.link-arrow:hover { text-decoration: underline; }

/* ------------------------------------------------ topbar */
.topbar { background: var(--navy); color: #cbd5e1; font-size: .78rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; height: 38px; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 10px; }
.topbar a { color: #e2e8f0; }
.topbar a:hover { color: var(--accent); }
.topbar .sep { opacity: .35; }
.topbar .dot { width: 6px; height: 6px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.18); }

/* ------------------------------------------------ header */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.97); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; gap: 22px; height: 76px; }
.logo { display: flex; align-items: center; gap: 11px; color: var(--ink); flex-shrink: 1; min-width: 0; }
.logo-mark { flex-shrink: 0; display: flex; }
.logo-mark img { height: 34px; width: auto; display: block; }
.logo-text { display: none; }
.logo-text strong { font-size: .93rem; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.logo-text small { font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.main-nav { flex: 1; min-width: 0; }
.main-nav ul { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a {
  display: block; padding: 10px 14px; border-radius: 7px; color: var(--ink);
  font-size: .82rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap;
}
.main-nav > ul > li > a:hover, .main-nav > ul > li > a.active { color: var(--blue); background: var(--blue-soft); }
.drop {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 320px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow-lg); padding: 10px; opacity: 0; visibility: hidden;
  transform: translateY(-6px); transition: .18s ease; display: grid; gap: 2px;
}
.drop-sm { min-width: 230px; }
.drop-wide { min-width: 620px; grid-template-columns: 1fr 1fr; column-gap: 8px; }
.drop-wide .drop-all { grid-column: 1 / -1; }
.has-drop:hover .drop, .has-drop:focus-within .drop { opacity: 1; visibility: visible; transform: translateY(0); }
.drop a { display: block; padding: 9px 11px; border-radius: 8px; color: var(--ink); font-size: .9rem; }
.drop a strong { display: block; font-weight: 600; font-size: .92rem; }
.drop a small { display: block; color: var(--muted); font-size: .78rem; line-height: 1.45; margin-top: 2px; }
.drop a:hover { background: var(--soft); }
.drop-all { color: var(--blue); font-weight: 600; border-top: 1px solid var(--line); margin-top: 6px; border-radius: 0 0 8px 8px; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-search { display: flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 8px; overflow: hidden; background: #fff; }
.header-search input { border: 0; padding: 8px 10px; width: 104px; font-size: .85rem; outline: none; background: transparent; }
.header-search button { border: 0; background: transparent; padding: 8px 10px; cursor: pointer; color: var(--muted); display: flex; }
.header-search button:hover { color: var(--blue); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 1px solid var(--line-strong); border-radius: 8px; padding: 10px 9px; cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ------------------------------------------------ breadcrumbs */
.breadcrumbs-bar { background: var(--soft); border-bottom: 1px solid var(--line); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 11px 0; font-size: .82rem; color: var(--muted); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--blue); }
.breadcrumbs [aria-current] { color: var(--ink); font-weight: 500; }

/* ------------------------------------------------ hero */
.hero { position: relative; background: var(--navy); color: #e2e8f0; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .32; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(11,37,69,.97) 0%, rgba(11,37,69,.92) 42%, rgba(11,37,69,.55) 100%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.55fr .85fr; gap: 56px; padding: 76px 24px 84px; align-items: start; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: #93c5fd; font-weight: 600; margin-bottom: 18px; }
.eyebrow .pulse { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.2); }
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero-sub { font-size: 1.08rem; color: #cbd5e1; max-width: 640px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 22px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 18px; list-style: none; padding: 0; margin: 0; font-size: .86rem; color: #94a3b8; }
.hero-points li { display: flex; align-items: center; gap: 7px; }
.hero-points svg { color: #34d399; flex-shrink: 0; }
.hero-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-lg); padding: 24px; backdrop-filter: blur(6px); }
.hero-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.hero-card-head strong { color: #fff; font-size: .95rem; }
.badge-live { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; background: rgba(34,197,94,.18); color: #86efac; padding: 4px 9px; border-radius: 999px; font-weight: 700; }
.hero-card-list { list-style: none; padding: 0; margin: 0 0 18px; }
.hero-card-list li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed rgba(255,255,255,.12); font-size: .86rem; color: #cbd5e1; }
.hero-card-list b { color: #fff; font-weight: 600; white-space: nowrap; }
.hero-card-link { display: block; font-size: .84rem; color: #fdba74; font-weight: 600; }
.hero-card-link:hover { color: #fed7aa; }

/* ------------------------------------------------ stats */
.stats-strip { background: var(--navy-2); color: #cbd5e1; border-top: 1px solid rgba(255,255,255,.08); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat { padding: 26px 24px; border-right: 1px solid rgba(255,255,255,.1); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-size: 1.9rem; color: #fff; letter-spacing: -.03em; line-height: 1.1; }
.stat strong small { font-size: .95rem; font-weight: 500; color: #93c5fd; margin-left: 2px; }
.stat span { font-size: .82rem; color: #94a3b8; }

/* ------------------------------------------------ sections */
.section { padding: 82px 0; }
.section-soft { background: var(--soft); }
.section-tight { padding: 44px 0 56px; }
.section-dark { background: var(--navy); color: #cbd5e1; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 36px; margin-bottom: 40px; }
.section-head h2 { margin-bottom: 0; }
.kicker { font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-dark); margin-bottom: 10px; }
.kicker.light { color: #fdba74; }
.section-lead { max-width: 460px; color: var(--muted); font-size: .95rem; margin: 0; }
.section-lead.light { color: #94a3b8; }

/* ------------------------------------------------ capability cards */
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cap-card {
  display: block; padding: 28px 26px; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; color: var(--body); transition: .18s ease; position: relative; overflow: hidden;
}
.cap-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--accent), #fdba74); transform: scaleX(0); transform-origin: left; transition: .25s ease; }
.cap-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-md); transform: translateY(-3px); color: var(--body); }
.cap-card:hover::before { transform: scaleX(1); }
.cap-icon { display: inline-flex; width: 46px; height: 46px; border-radius: 11px; background: var(--blue-soft); color: var(--blue); align-items: center; justify-content: center; margin-bottom: 16px; }
.cap-card h2, .cap-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.cap-card p { font-size: .9rem; color: var(--muted); margin-bottom: 14px; }
.cap-link { font-size: .86rem; font-weight: 600; color: var(--blue); }
.cap-count { font-size: .8rem !important; color: var(--accent-dark) !important; font-weight: 600; margin-bottom: 8px !important; }

/* ------------------------------------------------ product cards */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: .18s ease; }
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--line-strong); }
.product-media { display: block; aspect-ratio: 4/3; background: var(--soft); overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.product-card:hover .product-media img { transform: scale(1.04); }
.product-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.product-cat { font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--accent-dark); font-weight: 700; margin-bottom: 6px; }
.product-body h3 { font-size: 1.02rem; margin-bottom: 8px; }
.product-body h3 a { color: var(--ink); }
.product-summary { font-size: .86rem; color: var(--muted); flex: 1; }
.product-specs { list-style: none; padding: 0; margin: 0 0 14px; font-size: .8rem; border-top: 1px solid var(--line); padding-top: 10px; }
.product-specs li { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; color: var(--ink); }
.product-specs span { color: var(--muted); }
.product-foot { display: flex; justify-content: space-between; align-items: center; }
.mini-quote { font-size: .8rem; font-weight: 600; border: 1px solid var(--line-strong); padding: 5px 12px; border-radius: 999px; color: var(--ink); }
.mini-quote:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ------------------------------------------------ split / why us */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); width: 100%; }
.float-badge {
  position: absolute; bottom: -22px; right: -18px; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; padding: 16px 20px; box-shadow: var(--shadow-md); max-width: 210px;
}
.float-badge strong { display: block; font-size: 1.5rem; color: var(--accent-dark); line-height: 1; }
.float-badge span { font-size: .76rem; color: var(--muted); display: block; margin-top: 6px; }
.check-list { list-style: none; padding: 0; margin: 0 0 24px; }
.check-list li { position: relative; padding-left: 26px; margin-bottom: 12px; font-size: .93rem; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 14px; height: 14px; border-radius: 50%;
  background: rgba(5,150,105,.12);
  box-shadow: inset 0 0 0 1px rgba(5,150,105,.3);
}
.check-list li::after { content: ""; position: absolute; left: 4px; top: .62em; width: 6px; height: 3px; border-left: 1.6px solid var(--success); border-bottom: 1.6px solid var(--success); transform: rotate(-45deg); }
.check-list.small li { font-size: .86rem; margin-bottom: 9px; }
.check-list strong { color: var(--ink); }

/* ------------------------------------------------ process */
.process-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: step; }
.process-grid li { position: relative; padding: 24px 20px; background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); }
.process-grid li::after { content: "→"; position: absolute; right: -14px; top: 50%; transform: translateY(-50%); color: rgba(255,255,255,.3); }
.process-grid li:last-child::after { display: none; }
.step-no { font-size: .72rem; font-weight: 700; color: #fdba74; letter-spacing: .1em; }
.process-grid h3 { font-size: 1rem; margin: 8px 0 8px; }
.process-grid p { font-size: .82rem; color: #94a3b8; margin: 0; }

/* ------------------------------------------------ industries */
.industry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.industry-card { display: block; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: var(--body); transition: .18s ease; }
.industry-card:hover { border-color: var(--navy); box-shadow: var(--shadow-md); color: var(--body); transform: translateY(-3px); }
.industry-card h2, .industry-card h3 { font-size: 1.05rem; }
.industry-card p { font-size: .87rem; color: var(--muted); }
.industry-card span { font-size: .82rem; font-weight: 600; color: var(--blue); }
.industry-grid-lg .industry-card { padding: 0; overflow: hidden; }
.industry-media { aspect-ratio: 3/2; overflow: hidden; background: var(--soft); }
.industry-media img { width: 100%; height: 100%; object-fit: cover; }
.industry-body { padding: 22px 24px 26px; }

/* ------------------------------------------------ testimonials */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.stars { color: #f59e0b; letter-spacing: 2px; font-size: .9rem; margin-bottom: 10px; }
.testimonial blockquote { margin: 0 0 18px; font-size: .93rem; color: var(--ink); line-height: 1.65; }
.testimonial footer strong { display: block; font-size: .88rem; color: var(--ink); }
.testimonial footer span { font-size: .78rem; color: var(--muted); }

/* ------------------------------------------------ posts */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.post-cover { display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--soft); }
.post-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.post-card:hover .post-cover img { transform: scale(1.04); }
.post-body { padding: 20px 22px 24px; }
.post-meta { font-size: .76rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 8px; }
.post-body h2, .post-body h3 { font-size: 1.04rem; line-height: 1.35; }
.post-body h2 a, .post-body h3 a { color: var(--ink); }
.post-body p { font-size: .87rem; color: var(--muted); }
.result-count { font-size: .85rem; color: var(--muted); margin-bottom: 24px; }
.pager { display: flex; gap: 8px; justify-content: center; margin-top: 44px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 38px; padding: 8px 12px; border: 1px solid var(--line-strong); border-radius: 7px; text-align: center; font-size: .87rem; color: var(--ink); }
.pager a:hover { border-color: var(--blue); color: var(--blue); }
.pager .current { background: var(--navy); color: #fff; border-color: var(--navy); }
.pager .dots { border: 0; }

/* ------------------------------------------------ accordion / clouds */
.accordion { display: grid; gap: 10px; }
.acc-item { background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.acc-item[open] { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.acc-item summary { cursor: pointer; padding: 18px 22px; font-weight: 600; color: var(--ink); list-style: none; position: relative; padding-right: 48px; font-size: .97rem; }
.acc-item summary::-webkit-details-marker { display: none; }
.acc-item summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.35rem; color: var(--accent); line-height: 1; }
.acc-item[open] summary::after { content: "–"; }
.acc-body { padding: 0 22px 20px; font-size: .92rem; color: var(--body); }
.acc-body p:last-child { margin-bottom: 0; }
.faq-home { max-width: 900px; }
.faq-home .section-head { align-items: center; }
.keyword-cloud { display: flex; flex-wrap: wrap; gap: 9px; }
.keyword-cloud a { font-size: .83rem; padding: 7px 13px; border: 1px solid var(--line); border-radius: 999px; color: var(--body); background: #fff; }
.keyword-cloud a:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-soft); }
.keyword-cloud.small a { font-size: .78rem; padding: 5px 11px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: 9px 16px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: .87rem; color: var(--ink); }
.chip:hover, .chip.active { border-color: var(--navy); background: var(--navy); color: #fff; }
.cloud-title { font-size: 1.1rem; margin-bottom: 16px; }

/* ------------------------------------------------ page hero */
.page-hero { background: linear-gradient(120deg, var(--navy) 0%, var(--navy-3) 100%); color: #cbd5e1; padding: 64px 0 66px; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -80px; top: -80px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(59,130,246,.22), transparent 70%); }
.page-hero h1 { color: #fff; max-width: 860px; }
.page-hero-sub { max-width: 720px; font-size: 1.02rem; color: #cbd5e1; }
.page-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.page-hero-sm { padding: 48px 0 52px; }
.page-hero-sm h1 { font-size: clamp(1.8rem, 3vw, 2.5rem); }

/* ------------------------------------------------ product detail */
.product-head { padding: 40px 0 56px; background: var(--soft); border-bottom: 1px solid var(--line); }
.product-head-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: start; }
.gallery-main { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: #fff; }
.gallery-main img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.gallery-thumbs button { padding: 0; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; cursor: pointer; background: #fff; width: 76px; height: 76px; }
.gallery-thumbs button:hover, .gallery-thumbs button.active { border-color: var(--blue); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product-info h1 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); margin-bottom: 10px; }
.product-lead { font-size: 1rem; color: var(--body); }
.sku { font-size: .8rem; color: var(--muted); }
.quick-specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--line); margin: 22px 0; }
.quick-specs div { padding: 11px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.quick-specs dt { font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.quick-specs dd { margin: 0; font-size: .9rem; color: var(--ink); font-weight: 500; }
.product-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 18px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 16px; list-style: none; padding: 0; margin: 0; font-size: .78rem; color: var(--muted); }
.trust-row li { display: flex; align-items: center; gap: 6px; }
.trust-row li::before { content: "✓"; color: var(--success); font-weight: 700; }
.product-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 372px; gap: 52px; align-items: start; }
.product-side { position: sticky; top: 100px; }
.sidebar-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-bottom: 20px; }
.sidebar-card h2 { font-size: 1.08rem; }
.sidebar-note { font-size: .82rem; color: var(--muted); }
.sidebar-img { border-radius: 10px; margin-bottom: 16px; width: 100%; }
.sidebar-card.sticky { position: sticky; top: 100px; }
.side-links, .side-posts { list-style: none; padding: 0; margin: 0; font-size: .9rem; }
.side-links li, .side-posts li { border-bottom: 1px solid var(--line); }
.side-links li:last-child, .side-posts li:last-child { border-bottom: 0; }
.side-links a, .side-posts a { display: block; padding: 9px 0; color: var(--ink); }
.side-posts small { display: block; color: var(--muted); font-size: .75rem; }
.fact-list { list-style: none; padding: 0; margin: 0 0 18px; font-size: .86rem; }
.fact-list li { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.fact-list span { color: var(--muted); }
.fact-list strong { color: var(--ink); text-align: right; font-weight: 500; }

/* ------------------------------------------------ prose */
.prose { font-size: .97rem; line-height: 1.75; color: var(--body); }
.prose > *:first-child { margin-top: 0; }
.prose h2 { font-size: 1.4rem; margin: 2em 0 .6em; padding-top: .2em; padding-bottom: .45em; border-bottom: 1px solid var(--line); }
.prose h3 { font-size: 1.12rem; margin: 1.6em 0 .5em; }
.prose ul, .prose ol { padding-left: 1.15em; }
.prose li { margin-bottom: .5em; }
.prose img { display: block; max-width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); margin: 1.6em auto; box-shadow: 0 10px 28px rgba(15, 23, 42, .08); }
.prose .article-figure { margin: 2em 0; }
.prose .article-figure img { margin: 0 auto; }
.prose .article-figure figcaption { text-align: center; font-size: .82rem; color: var(--muted, #64748b); margin-top: .55em; font-style: italic; }
.prose a { text-decoration: underline; text-underline-offset: 2px; }
.prose blockquote { margin: 1.6em 0; padding: 16px 22px; border-left: 3px solid var(--accent); background: var(--soft); border-radius: 0 10px 10px 0; color: var(--ink); }
.prose .lead { font-size: 1.06rem; color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; font-size: .88rem; margin: 1.2em 0; }
.table-scroll { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }
.table-scroll table { max-width: 100%; min-width: 0; }
.prose img, .tab-pane img, .lp-body img { max-width: 100%; height: auto; }
.prose, .tab-pane, .lp-body { overflow-wrap: break-word; min-width: 0; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--soft); font-weight: 600; color: var(--ink); }
.spec-table { width: 100%; border-collapse: collapse; font-size: .9rem; margin: 1.2em 0 2em; }
.spec-table th, .spec-table td { border-bottom: 1px solid var(--line); padding: 12px 14px; text-align: left; }
.spec-table th { width: 34%; background: var(--soft); font-weight: 600; color: var(--ink); }

/* AI 文章：数据表 / 要点框 / FAQ 区块 */
.prose table { width: 100%; border-collapse: collapse; font-size: .92rem; margin: 1.6em 0; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; vertical-align: top; }
.prose thead th { background: var(--soft); font-weight: 600; color: var(--ink); }
.prose tbody tr:nth-child(even) { background: rgba(148, 163, 184, .06); }
.key-takeaways { background: var(--soft); border: 1px solid var(--line); border-radius: 12px; padding: 22px 28px; margin: 2.2em 0; }
.key-takeaways h2 { margin: 0 0 .6em; font-size: 1.22rem; }
.key-takeaways ul { margin: 0; }
.faq-block { margin: 1.2em 0 0; }
.faq-block .faq-item { border-bottom: 1px dashed var(--line); padding: 16px 0; }
.faq-block .faq-item:last-child { border-bottom: 0; }
.faq-item h3 { font-size: 1.04rem; margin: 0 0 .45em; color: var(--ink); }
.faq-item p { margin: 0; color: var(--body); }
.spec-table tr:first-child th, .spec-table tr:first-child td { border-top: 1px solid var(--line); }

/* ------------------------------------------------ article */
.article-wrap { padding: 48px 0 72px; }
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 52px; align-items: start; }
.article-head h1 { margin-bottom: 14px; }
.article-meta { display: flex; gap: 8px; font-size: .82rem; color: var(--muted); margin-bottom: 26px; flex-wrap: wrap; }
.article-cover { border-radius: var(--radius-lg); margin-bottom: 8px; width: 100%; }
.article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 30px 0; }
.article-tags span { background: var(--soft); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; font-size: .78rem; color: var(--muted); }
.article-cta { background: var(--navy); border-radius: var(--radius-lg); padding: 32px; color: #cbd5e1; margin-top: 40px; }
.article-cta h2 { color: #fff; font-size: 1.3rem; }
.article-cta p { color: #94a3b8; font-size: .92rem; }

/* ------------------------------------------------ forms */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-sm); }
.form-card h2 { font-size: 1.25rem; }
.form-intro { font-size: .88rem; color: var(--muted); }
.inquiry-form { display: grid; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.inquiry-form label { display: flex; flex-direction: column; gap: 6px; font-size: .82rem; font-weight: 600; color: var(--ink); }
.inquiry-form label span { color: var(--accent-dark); }
.inquiry-form input, .inquiry-form textarea, .search-big input {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line-strong); border-radius: 8px;
  font-family: inherit; font-size: .92rem; color: var(--ink); background: #fff; outline: none; transition: .15s ease;
}
.inquiry-form input:focus, .inquiry-form textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(29,78,216,.12); }
.inquiry-form textarea { resize: vertical; min-height: 120px; }
.form-full { grid-column: 1 / -1; }
.form-hint { font-size: .74rem; color: var(--muted); margin: 0; }
.form-alt { font-size: .8rem; color: var(--muted); text-align: center; margin: 0; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.alert { padding: 12px 16px; border-radius: 8px; font-size: .86rem; margin-bottom: 16px; }
.alert-error { background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; }
.sidebar-note + .inquiry-form { margin-top: 14px; }

.quote-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 44px; align-items: start; }
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { padding: 0 0 16px 20px; border-left: 2px solid var(--line); position: relative; }
.timeline li::before { content: ""; position: absolute; left: -6px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.timeline li:last-child { padding-bottom: 0; border-color: transparent; }
.timeline strong { display: block; font-size: .84rem; color: var(--ink); }
.timeline span { font-size: .8rem; color: var(--muted); }
.contact-quick a { display: block; font-size: .9rem; padding: 5px 0; color: var(--ink); font-weight: 500; }
.contact-layout { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 44px; align-items: start; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-bottom: 18px; }
.contact-card h2 { font-size: 1.05rem; }
.contact-card p { font-size: .89rem; margin-bottom: .6em; }
.contact-list { list-style: none; padding: 0; margin: 0; font-size: .89rem; }
.contact-list li { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list span { color: var(--muted); }
.search-big { display: flex; gap: 10px; max-width: 620px; margin-top: 20px; }
.search-big input { padding: 13px 16px; }
.search-results { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.search-results li { border-bottom: 1px solid var(--line); padding: 22px 0; }
.search-results h2 { font-size: 1.1rem; margin-bottom: 6px; }
.search-type { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--accent-dark); font-weight: 700; margin-bottom: 4px; }

/* ------------------------------------------------ faq layout */
.faq-layout { display: grid; grid-template-columns: minmax(0, 1fr) 318px; gap: 48px; align-items: start; }
.faq-group { margin-bottom: 42px; }
.faq-group h2 { font-size: 1.25rem; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.faq-side { position: sticky; top: 100px; }
.page-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 52px; align-items: start; }

/* ------------------------------------------------ landing pages */
.lp-hero { background: linear-gradient(115deg, var(--navy) 0%, var(--navy-3) 62%, #1e4f7a 100%); color: #cbd5e1; padding: 62px 0 68px; }
.lp-hero h1 { color: #fff; max-width: 720px; }
.lp-intro { font-size: 1.02rem; color: #cbd5e1; max-width: 620px; }
.lp-hero-grid { display: grid; grid-template-columns: 1.15fr 430px; gap: 52px; align-items: start; }
.lp-form-card { background: #fff; border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-lg); }
.lp-form-card h2 { font-size: 1.15rem; margin-bottom: 4px; }
.trust-strip { background: var(--soft); border-bottom: 1px solid var(--line); }
.trust-strip-inner { display: flex; flex-wrap: wrap; gap: 28px; padding: 16px 24px; font-size: .82rem; color: var(--muted); }
.trust-strip strong { color: var(--ink); }
.lp-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 52px; align-items: start; }
.lp-side { position: sticky; top: 100px; }

/* ------------------------------------------------ thanks / 404 */
.thanks-section { padding: 84px 0; }
.thanks-box { max-width: 720px; text-align: center; }
.thanks-icon { display: inline-flex; width: 64px; height: 64px; border-radius: 50%; background: rgba(5,150,105,.12); color: var(--success); align-items: center; justify-content: center; margin-bottom: 20px; }
.thanks-box p { color: var(--muted); font-size: 1rem; }
.thanks-actions { display: flex; justify-content: center; gap: 12px; margin: 26px 0 36px; flex-wrap: wrap; }
.thanks-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; text-align: left; }
.thanks-points div { background: var(--soft); border: 1px solid var(--line); border-radius: 10px; padding: 16px; }
.thanks-points strong { display: block; color: var(--accent-dark); font-size: .8rem; }
.thanks-points span { font-size: .85rem; color: var(--ink); }
.notfound { max-width: 800px; }
.nf-code { font-size: 4rem; font-weight: 800; color: var(--line-strong); line-height: 1; margin-bottom: 8px; letter-spacing: -.04em; }
.nf-links { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 44px; text-align: left; }
.nf-links h2 { font-size: 1rem; }

/* ------------------------------------------------ CTA band + footer */
.cta-band { background: linear-gradient(100deg, var(--navy-2), var(--navy-3)); color: #fff; padding: 52px 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-inner h2 { color: #fff; font-size: clamp(1.4rem, 2.2vw, 1.9rem); margin-bottom: 6px; }
.cta-inner p { color: #94a3b8; margin: 0; font-size: .93rem; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.site-footer { background: #071a30; color: #94a3b8; font-size: .88rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 44px; padding: 58px 24px 40px; }
.footer-brand .logo { margin-bottom: 16px; }
.logo-light .logo-text strong { color: #fff; }
.logo-light .logo-text small { color: #7f93ad; }
.footer-brand p { font-size: .86rem; color: #94a3b8; }
.footer-contact { list-style: none; padding: 0; margin: 18px 0 0; font-size: .84rem; }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 9px; }
.footer-contact strong { color: #cbd5e1; font-weight: 600; min-width: 58px; }
.footer-contact a { color: #cbd5e1; }
.footer-col h3 { color: #fff; font-size: .88rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 14px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: #94a3b8; }
.footer-col a:hover { color: #fff; }
.footer-keywords { border-top: 1px solid rgba(255,255,255,.08); padding: 26px 24px; }
.footer-keywords h3 { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: #7f93ad; margin-bottom: 12px; }
.site-footer .keyword-cloud a { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.12); color: #b6c4d5; font-size: .78rem; padding: 6px 12px; }
.site-footer .keyword-cloud a:hover { background: rgba(249,115,22,.14); border-color: rgba(249,115,22,.4); color: #fdba74; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 18px 0; font-size: .79rem; }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; gap: 16px; }
.footer-legal a { color: #94a3b8; }

/* ------------------------------------------------ floating whatsapp */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 70; display: inline-flex; align-items: center; gap: 9px;
  background: #25d366; color: #fff; padding: 12px 18px; border-radius: 999px;
  font-weight: 600; font-size: .88rem; box-shadow: 0 12px 28px -10px rgba(37,211,102,.8);
}
.wa-float:hover { background: #1ebe5b; color: #fff; transform: translateY(-2px); }

/* ------------------------------------------------ admin chart helper (shared) */
.chart { width: 100%; height: auto; display: block; }
.chart-empty { padding: 30px; text-align: center; color: var(--muted); font-size: .85rem; background: var(--soft); border-radius: 10px; }

/* ------------------------------------------------ responsive */
@media (max-width: 1080px) {
  .header-search { display: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 34px; padding: 56px 24px 62px; }
  .hero-card { max-width: 520px; }
  .process-grid { grid-template-columns: repeat(3, 1fr); }
  .process-grid li::after { display: none; }
  .product-detail-grid, .article-grid, .faq-layout, .lp-grid, .page-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 34px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .lp-hero-grid { grid-template-columns: 1fr 380px; gap: 34px; }
}

@media (max-width: 920px) {
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 14px 24px 18px; box-shadow: var(--shadow-md); }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .main-nav > ul > li > a { padding: 11px 8px; }
  .drop-wide { min-width: 0; grid-template-columns: 1fr; }
  .drop { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; border-left: 2px solid var(--line); border-radius: 0; min-width: 0; margin: 4px 0 6px 12px; padding: 0 0 0 10px; display: none; }
  .has-drop.open .drop { display: grid; }
  .has-drop:hover .drop { display: none; }
  .has-drop.open .drop { display: grid; }
  .header-inner { justify-content: space-between; gap: 14px; }
  .nav-toggle { display: flex; }
  .header-actions .btn { display: none; }
  .cap-grid, .product-grid, .post-grid, .industry-grid, .testimonials { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .split.reverse .split-media { order: 0; }
  .product-head-grid { grid-template-columns: 1fr; gap: 30px; }
  .product-detail-grid, .article-grid, .faq-layout, .lp-grid, .page-layout, .quote-layout, .contact-layout { grid-template-columns: 1fr; }
  .product-side, .faq-side, .lp-side { position: static; }
  .lp-hero-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat { border-bottom: 1px solid rgba(255,255,255,.1); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .section { padding: 60px 0; }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .wrap { padding: 0 18px; }
  .topbar-left span:last-child, .topbar .sep, .topbar-right { display: none; }
  .topbar-inner { justify-content: center; }
  .header-inner { height: 66px; }
  .logo-mark img { height: 26px; }
  .logo-text { max-width: 168px; }
  .logo-text strong { font-size: .84rem; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .logo-text small { display: none; }
  h1 { font-size: 1.85rem; }
  .cap-grid, .product-grid, .post-grid, .industry-grid, .testimonials, .process-grid, .thanks-points, .nf-links { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-inner { padding: 40px 18px 46px; }
  .hero-actions .btn, .page-hero-actions .btn { width: 100%; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 18px 16px; }
  .stat strong { font-size: 1.5rem; }
  .section { padding: 48px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 28px; }
  .quick-specs { grid-template-columns: 1fr; }
  .prose table, .spec-table { table-layout: fixed; word-break: break-word; }
  .prose td img { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; padding: 44px 18px 30px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { flex: 1; }
  .float-badge { position: static; margin-top: 14px; max-width: none; }
  .wa-float span { display: none; }
  .wa-float { padding: 13px; }
  .article-wrap { padding: 32px 0 48px; }
  .form-card, .sidebar-card, .lp-form-card { padding: 20px; }
  .search-big { flex-direction: column; }
  .lp-hero { padding: 40px 0 46px; }
}
