/*
Theme Name: 元胜钢管 Yuansheng
Theme URI: https://www.yuanshengpipe.com/
Author: Yuansheng Web Team
Author URI: https://www.yuanshengpipe.com/
Description: 钢管行业企业站主题：产品中心、今日价格、规格速查、在线客服、结构化数据与 SEO/GEO 优化。响应式、原生 CSS、无 jQuery 依赖。
Version: 1.9.0
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: yuansheng
Tags: business, e-commerce, custom-menu, custom-logo, featured-images, translation-ready
*/

/* ==========================================================================
   山东元胜钢管 · 企业官网样式表
   Design system: industrial steel — ink navy / steel blue / safety orange
   ========================================================================== */

:root {
  --ink: #0b1622;
  --ink-2: #122233;
  --navy: #0f2438;
  --brand: #1063ae;
  --brand-700: #0b4c86;
  --brand-050: #eaf2fa;
  --accent: #f2621f;
  --accent-700: #d24f12;
  --accent-050: #fdf0e9;
  --text: #1b2a3a;
  --muted: #5d7083;
  --muted-2: #8496a6;
  --line: #e3e9f0;
  --line-2: #eef2f6;
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --bg-ink: #0b1622;
  --up: #d9463b;
  --down: #17945c;
  --radius: 4px;
  --radius-lg: 8px;
  --shadow-sm: 0 1px 2px rgba(11, 22, 34, .06), 0 2px 8px rgba(11, 22, 34, .04);
  --shadow-md: 0 8px 28px rgba(11, 22, 34, .1);
  --shadow-lg: 0 24px 60px rgba(11, 22, 34, .16);
  --wrap: 1240px;
  --font: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --num: "DIN Alternate", "Bahnschrift", "Inter", "Roboto Condensed", var(--font);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 700; line-height: 1.25; color: var(--ink); letter-spacing: -.01em; }
button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--accent); color: #fff; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 18px; border-radius: var(--radius);
  transition: top .2s;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---------- typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.eyebrow--light { color: #ffa978; }

.section { padding: 88px 0; }
.section--soft { background: var(--bg-soft); }
.section--tight { padding: 64px 0; }
.section--dark {
  background: var(--ink); color: #c3d0dc;
}
.section--dark h2, .section--dark h3 { color: #fff; }

.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-title { font-size: clamp(24px, 2.6vw, 34px); }
.section-lead { margin-top: 14px; color: var(--muted); font-size: 16px; }
.section--dark .section-lead { color: #93a6b6; }
.section-head--split { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; max-width: none; }

.link-more {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 14px; color: var(--brand); white-space: nowrap;
}
.link-more svg { transition: transform .25s var(--ease); }
.link-more:hover svg { transform: translateX(4px); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; padding: 0 26px; border: 1px solid transparent; border-radius: var(--radius);
  font-size: 15px; font-weight: 600; letter-spacing: .01em;
  transition: transform .2s var(--ease), background .2s, border-color .2s, box-shadow .2s, color .2s;
  white-space: nowrap;
}
.btn svg { flex: none; }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(242, 98, 31, .28); }
.btn--primary:hover { background: var(--accent-700); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(242, 98, 31, .34); }
.btn--brand { background: var(--brand); color: #fff; }
.btn--brand:hover { background: var(--brand-700); transform: translateY(-2px); }
.btn--ghost { border-color: rgba(255, 255, 255, .32); color: #fff; backdrop-filter: blur(4px); }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .6); }
.btn--outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--outline:hover { border-color: var(--brand); color: var(--brand); }
.btn--sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn--block { width: 100%; }

/* ---------- top bar ---------- */
.topbar {
  background: var(--ink); color: #93a6b6; font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 38px; gap: 24px; }
.topbar__note { display: flex; align-items: center; gap: 8px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; min-width: 0; }
.topbar__note b { color: #fff; font-weight: 600; }
.topbar__links { display: flex; align-items: center; gap: 20px; white-space: nowrap; }
.topbar__links a:hover { color: #fff; }
.topbar__dot { width: 6px; height: 6px; border-radius: 50%; background: #2fbf71; box-shadow: 0 0 0 3px rgba(47, 191, 113, .18); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 90; background: #fff; border-bottom: 1px solid var(--line); }
.site-header.is-stuck { box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; height: 78px; }

.logo { display: flex; align-items: center; gap: 12px; flex: none; }
.logo__mark { width: 44px; height: 44px; flex: none; }
.logo__text { display: flex; flex-direction: column; line-height: 1.15; }
.logo__name { font-size: 20px; font-weight: 800; letter-spacing: .01em; color: var(--ink); }
.logo__sub { font-size: 10px; letter-spacing: .22em; color: var(--muted-2); text-transform: uppercase; margin-top: 4px; }

.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav > li { position: relative; }
.nav__link {
  display: flex; align-items: center; gap: 5px; white-space: nowrap;
  padding: 0 9px; height: 78px; font-size: 14.5px; font-weight: 500; color: var(--text);
  position: relative; transition: color .2s;
}
.nav__link::after {
  content: ""; position: absolute; left: 9px; right: 9px; bottom: 20px; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .28s var(--ease);
}
.nav__link:hover { color: var(--brand); }
.nav__link:hover::after, .nav > li.is-active > .nav__link::after { transform: scaleX(1); }
.nav > li.is-active > .nav__link { color: var(--brand); font-weight: 600; }
.nav__caret { transition: transform .25s; opacity: .6; }
.nav > li:hover .nav__caret { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: 100%; left: 50%; transform: translate(-50%, 10px);
  min-width: 240px; background: #fff; border: 1px solid var(--line); border-top: 2px solid var(--accent);
  border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow-md);
  padding: 10px; opacity: 0; visibility: hidden; transition: all .24s var(--ease);
}
.nav > li:hover .dropdown, .nav > li:focus-within .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 14px; border-radius: var(--radius); font-size: 14px; color: var(--text);
}
.dropdown a span { font-size: 12px; color: var(--muted-2); font-family: var(--num); }
.dropdown a:hover { background: var(--brand-050); color: var(--brand); }

.header-actions { display: flex; align-items: center; gap: 14px; flex: none; }
.header-phone { display: flex; flex-direction: column; line-height: 1.2; text-align: right; white-space: nowrap; }
.header-phone span { font-size: 11px; color: var(--muted-2); letter-spacing: .04em; }
.header-phone b { font-family: var(--num); font-size: 20px; color: var(--ink); letter-spacing: .01em; }

.burger {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff;
  border-radius: var(--radius); align-items: center; justify-content: center; margin-left: 8px;
}
.burger span { display: block; width: 20px; height: 2px; background: var(--ink); position: relative; }
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink); transition: transform .25s;
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }

.mobile-nav {
  display: none; position: fixed; inset: 0; z-index: 120; background: rgba(11, 22, 34, .55);
  opacity: 0; visibility: hidden; transition: opacity .25s;
}
.mobile-nav.is-open { opacity: 1; visibility: visible; }
.mobile-nav__panel {
  position: absolute; right: 0; top: 0; bottom: 0; width: min(86vw, 380px); background: #fff;
  padding: 22px; overflow-y: auto; transform: translateX(100%); transition: transform .3s var(--ease);
}
.mobile-nav.is-open .mobile-nav__panel { transform: none; }
.mobile-nav__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.mobile-nav__close { width: 40px; height: 40px; border: 1px solid var(--line); background: #fff; border-radius: var(--radius); font-size: 20px; line-height: 1; color: var(--muted); }
.mobile-nav__list > li { border-bottom: 1px solid var(--line-2); }
.mobile-nav__list a { display: flex; align-items: center; justify-content: space-between; padding: 14px 4px; font-size: 16px; font-weight: 500; }
.mobile-nav__sub { padding: 0 0 12px 12px; display: grid; gap: 2px; }
.mobile-nav__sub a { font-size: 14px; color: var(--muted); font-weight: 400; padding: 8px 4px; }
.mobile-nav__cta { display: grid; gap: 10px; margin-top: 22px; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #dbe5ee;
  background:
    radial-gradient(1100px 520px at 78% 8%, rgba(24, 92, 154, .5), transparent 62%),
    radial-gradient(700px 460px at 8% 92%, rgba(242, 98, 31, .16), transparent 60%),
    linear-gradient(160deg, #0b1622 0%, #0e2135 56%, #0a1a29 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 60% 40%, #000 10%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 60% 40%, #000 10%, transparent 78%);
}
.hero .wrap { position: relative; z-index: 2; }
.hero__grid {
  display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: 48px; align-items: center; padding: 78px 0 64px;
}
.hero h1 { color: #fff; font-size: clamp(30px, 3.9vw, 54px); line-height: 1.16; letter-spacing: -.02em; font-weight: 800; }
.hero h1 em { font-style: normal; color: #ffb083; white-space: nowrap; }
.hero__lead { margin-top: 20px; font-size: 17px; line-height: 1.85; color: #a8bccd; max-width: 560px; }
.hero__lead b { color: #e9f1f8; font-weight: 600; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero__trust {
  display: flex; flex-wrap: wrap; gap: 8px 26px; margin-top: 34px; padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; color: #8fa5b8;
}
.hero__trust li { display: flex; align-items: center; gap: 8px; }
.hero__trust b { color: #fff; font-family: var(--num); font-size: 15px; }

.hero__visual { position: relative; }
.hero__visual svg { width: 100%; height: auto; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .35)); }
.hero__badge {
  position: absolute; left: -8px; bottom: 18px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(10px); border-radius: var(--radius-lg); padding: 16px 20px;
  display: flex; align-items: center; gap: 16px;
}
.hero__badge .k { font-family: var(--num); font-size: 30px; font-weight: 700; color: #fff; line-height: 1; }
.hero__badge .k small { font-size: 13px; font-family: var(--font); font-weight: 500; margin-left: 3px; color: #a8bccd; }
.hero__badge .t { font-size: 12px; color: #9db2c4; line-height: 1.5; }

/* ---------- stats strip ---------- */
.stats {
  background: #0a1520; border-top: 1px solid rgba(255, 255, 255, .07); position: relative; z-index: 2;
}
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 28px 24px 30px; border-left: 1px solid rgba(255, 255, 255, .07); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat .n { font-family: var(--num); font-size: 36px; font-weight: 700; color: #fff; line-height: 1; letter-spacing: -.01em; }
.stat .n small { font-size: 15px; font-weight: 500; margin-left: 4px; color: #8fa5b8; }
.stat .l { margin-top: 10px; font-size: 13px; color: #8fa5b8; letter-spacing: .02em; }

/* ---------- product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.product-card {
  position: relative; display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: #cfd9e4; }
.product-card__media {
  position: relative; aspect-ratio: 16 / 10; background: linear-gradient(150deg, #eef3f8, #dfe7ef);
  overflow: hidden;
}
.product-card__media svg { width: 100%; height: 100%; transition: transform .5s var(--ease); }
.product-card__media img,
.case__media img,
.pd-gallery img,
.pd-thumbs img,
.about-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-card:hover .product-card__media svg { transform: scale(1.06); }
.product-card__tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: rgba(11, 22, 34, .82); color: #fff; font-size: 11px; font-weight: 600;
  letter-spacing: .08em; padding: 5px 10px; border-radius: 2px; backdrop-filter: blur(4px);
}
.product-card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.product-card h3 { font-size: 19px; margin-bottom: 4px; }
.product-card h3 a:hover { color: var(--brand); }
.product-card__en { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 12px; }
.product-card__desc { font-size: 14px; color: var(--muted); line-height: 1.7; margin-bottom: 16px; flex: 1; }
.product-card__meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.chip {
  font-size: 12px; color: #43566a; background: var(--bg-soft); border: 1px solid var(--line);
  padding: 3px 9px; border-radius: 2px; line-height: 1.6;
}
.product-card__foot {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 16px; border-top: 1px dashed var(--line);
}
.price-hint { font-family: var(--num); font-size: 15px; font-weight: 700; color: var(--accent); }
.price-hint small { font-size: 11px; color: var(--muted-2); font-weight: 400; margin-left: 4px; font-family: var(--font); }
.arrow-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--brand); }
.product-card:hover .arrow-link svg { transform: translateX(3px); }
.arrow-link svg { transition: transform .25s; }

.product-card--wide { grid-column: span 2; }
.product-card--wide .product-card__media { aspect-ratio: 16 / 7; }

/* ---------- price ---------- */
.price-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, .95fr); gap: 28px; align-items: start; }
.price-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.price-panel__head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; border-bottom: 1px solid var(--line); background: #fbfcfd;
}
.price-panel__head h3 { font-size: 17px; }
.price-panel__date { font-size: 12px; color: var(--muted-2); font-family: var(--num); }
.price-panel__date b { color: var(--muted); }

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
.data-table th {
  text-align: left; font-weight: 600; font-size: 12px; letter-spacing: .06em; color: var(--muted);
  background: var(--bg-soft); padding: 12px 18px; border-bottom: 1px solid var(--line); white-space: nowrap;
}
.data-table td { padding: 14px 18px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover { background: #fafcfe; }
.data-table .num { font-family: var(--num); font-weight: 500; font-variant-numeric: tabular-nums; }
.data-table .strong { font-weight: 600; color: var(--ink); }
.data-table a { color: var(--brand); font-weight: 500; }
.data-table a:hover { text-decoration: underline; }
.tag-up, .tag-down, .tag-flat { font-family: var(--num); font-size: 12px; font-weight: 600; padding: 2px 7px; border-radius: 2px; display: inline-block; }
.tag-up { color: var(--up); background: #fdecea; }
.tag-down { color: var(--down); background: #e8f6ef; }
.tag-flat { color: var(--muted); background: var(--bg-soft); }

.price-note {
  padding: 14px 22px; font-size: 12.5px; color: var(--muted); background: #fbfcfd;
  border-top: 1px solid var(--line); line-height: 1.7;
}

.quote-card {
  background: var(--ink); color: #c3d0dc; border-radius: var(--radius-lg); padding: 28px;
  position: relative; overflow: hidden;
}
.quote-card::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(242, 98, 31, .3), transparent 70%);
}
.quote-card h3 { color: #fff; font-size: 20px; margin-bottom: 8px; position: relative; z-index: 1; }
.quote-card p { font-size: 13.5px; color: #93a6b6; margin-bottom: 20px; position: relative; z-index: 1; }
.quote-card .form-stack { position: relative; z-index: 1; }

/* ---------- forms ---------- */
.form-stack { display: grid; gap: 12px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 6px; letter-spacing: .02em; }
.quote-card .field label { color: #8fa5b8; }
.input, .select, .textarea {
  width: 100%; height: 46px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; font-size: 14px; color: var(--text); transition: border-color .2s, box-shadow .2s;
}
.quote-card .input { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); color: #fff; }
.quote-card .input::placeholder { color: #6b8094; }
.textarea { height: auto; min-height: 96px; padding: 12px 14px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(16, 99, 174, .12);
}
.quote-card .input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(242, 98, 31, .18); }
.form-note { font-size: 12px; color: var(--muted-2); line-height: 1.6; }
.quote-card .form-note { color: #6b8094; }
.form-note a { color: var(--brand); text-decoration: underline; }

/* ---------- features ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.feature-grid--4 { grid-template-columns: repeat(4, 1fr); }
.feature-grid--2 { grid-template-columns: repeat(2, 1fr); }
.feature {
  background: #fff; padding: 30px 26px 32px; transition: background .25s;
}
.feature:hover { background: #fbfcfd; }
.feature__icon {
  width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--brand-050); color: var(--brand); border-radius: var(--radius);
}
.feature h3 { font-size: 17px; margin-bottom: 8px; }
.feature p { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.72; }
.feature__no { font-family: var(--num); font-size: 12px; color: var(--muted-2); letter-spacing: .1em; margin-bottom: 10px; display: block; }

/* ---------- calculator ---------- */
.calc-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 40px; align-items: center; }
.calc-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-sm); }
.calc-tabs { display: flex; gap: 6px; margin-bottom: 20px; background: var(--bg-soft); padding: 4px; border-radius: var(--radius); }
.calc-tab {
  flex: 1; height: 38px; border: 0; background: transparent; border-radius: 3px; font-size: 13px;
  font-weight: 600; color: var(--muted); transition: all .2s;
}
.calc-tab.is-active { background: #fff; color: var(--brand); box-shadow: var(--shadow-sm); }
.calc-result {
  margin-top: 18px; padding: 18px 20px; background: var(--ink); border-radius: var(--radius); color: #fff;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.calc-result .k { font-size: 12px; color: #8fa5b8; letter-spacing: .06em; }
.calc-result .v { font-family: var(--num); font-size: 34px; font-weight: 700; line-height: 1.1; }
.calc-result .v small { font-size: 14px; font-weight: 500; color: #a8bccd; margin-left: 4px; }
.calc-result .sub { font-size: 12px; color: #8fa5b8; text-align: right; line-height: 1.6; }

/* ---------- applications ---------- */
.app-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.app-card {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 200px; padding: 24px; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(150deg, #16283a, #0b1622); color: #fff; isolation: isolate;
}
.app-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 12px);
  transition: opacity .3s;
}
.app-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(420px 220px at 90% 0%, rgba(16, 99, 174, .55), transparent 65%);
}
.app-card:hover { transform: translateY(-4px); }
.app-card { transition: transform .3s var(--ease); }
.app-card:hover::before { opacity: .9; }
.app-card h3 { color: #fff; font-size: 18px; margin-bottom: 6px; }
.app-card p { font-size: 13px; color: #9fb3c6; margin: 0; }
.app-card .idx { position: absolute; top: 20px; right: 22px; font-family: var(--num); font-size: 13px; color: rgba(255, 255, 255, .35); }

/* ---------- cases ---------- */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.case {
  display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s;
}
.case:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.case__media { aspect-ratio: 16 / 9; background: linear-gradient(140deg, #e8eef5, #d5e0ea); position: relative; }
.case__media svg { width: 100%; height: 100%; }
.case__body { padding: 20px 22px 24px; }
.case__tags { display: flex; gap: 6px; margin-bottom: 12px; }
.case h3 { font-size: 16.5px; margin-bottom: 8px; }
.case p { font-size: 13.5px; color: var(--muted); margin: 0; }
.case__meta { display: flex; gap: 16px; margin-top: 14px; font-size: 12px; color: var(--muted-2); font-family: var(--num); }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex; align-items: flex-start; gap: 16px; padding: 22px 4px; cursor: pointer;
  list-style: none; font-weight: 600; font-size: 16.5px; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; margin-left: auto; font-family: var(--num); font-size: 22px; font-weight: 400;
  color: var(--muted-2); line-height: 1; transition: transform .25s;
}
.faq-item[open] summary::after { transform: rotate(45deg); color: var(--accent); }
.faq-item summary:hover { color: var(--brand); }
.faq-item__body { padding: 0 4px 24px 44px; color: var(--muted); font-size: 15px; line-height: 1.85; }
.faq-item__body p:last-child { margin-bottom: 0; }
.faq-item__q { font-family: var(--num); color: var(--muted-2); font-size: 13px; padding-top: 4px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(760px 300px at 12% 10%, rgba(16, 99, 174, .4), transparent 60%),
    radial-gradient(600px 300px at 92% 90%, rgba(242, 98, 31, .22), transparent 60%);
}
.cta-band .wrap { position: relative; z-index: 1; }
.cta-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; padding: 72px 0; }
.cta-inner h2 { color: #fff; font-size: clamp(26px, 3vw, 38px); line-height: 1.25; }
.cta-inner p { color: #9fb3c6; margin-top: 14px; font-size: 15.5px; max-width: 480px; }
.cta-inner .actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.cta-form { background: #fff; border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-lg); }
.cta-form h3 { font-size: 18px; margin-bottom: 4px; }
.cta-form .sub { font-size: 13px; color: var(--muted); margin-bottom: 18px; }

/* ---------- page hero / breadcrumb ---------- */
.page-hero {
  background: linear-gradient(150deg, #0b1622, #102436 70%, #0a1a28);
  color: #c3d0dc; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, #000, transparent);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent);
}
.page-hero .wrap { position: relative; z-index: 1; padding: 56px 24px 52px; }
.page-hero h1 { color: #fff; font-size: clamp(26px, 3.2vw, 40px); line-height: 1.25; max-width: 900px; }
.page-hero p { margin: 14px 0 0; color: #9fb3c6; max-width: 760px; font-size: 15.5px; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12.5px; color: #7d93a6; margin-bottom: 18px; }
.breadcrumb a { color: #a8bccd; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: #5c7285; }

/* ---------- layout with sidebar ---------- */
.with-sidebar { display: grid; grid-template-columns: 264px minmax(0, 1fr); gap: 40px; align-items: start; }
.side-nav { position: sticky; top: 102px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.side-nav__head { padding: 18px 20px; background: var(--ink); color: #fff; font-weight: 600; font-size: 15px; letter-spacing: .02em; }
.side-nav__head span { display: block; font-size: 10px; letter-spacing: .2em; color: #7d93a6; margin-top: 4px; font-weight: 400; text-transform: uppercase; }
.side-nav ul { padding: 8px; }
.side-nav li a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 14px; border-radius: var(--radius); font-size: 14.5px; color: var(--text);
}
.side-nav li a span { font-family: var(--num); font-size: 12px; color: var(--muted-2); }
.side-nav li a:hover { background: var(--bg-soft); color: var(--brand); }
.side-nav li.is-active > a { background: var(--brand-050); color: var(--brand); font-weight: 600; }
.side-contact { margin-top: 20px; background: var(--ink); border-radius: var(--radius-lg); padding: 24px; color: #c3d0dc; }
.side-contact h4 { color: #fff; font-size: 16px; margin-bottom: 6px; }
.side-contact p { font-size: 13px; color: #93a6b6; line-height: 1.7; }
.side-contact .tel { font-family: var(--num); font-size: 24px; font-weight: 700; color: #fff; display: block; margin: 6px 0 16px; }

/* ---------- product detail ---------- */
.pd-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); gap: 44px; align-items: start; }
.pd-gallery { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: linear-gradient(150deg, #eef3f8, #dde6ef); }
.pd-gallery svg { width: 100%; }
.pd-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
.pd-thumbs div { aspect-ratio: 1; border: 1px solid var(--line); border-radius: var(--radius); background: #f2f6fa; display: grid; place-items: center; }
.pd-thumbs div.is-active { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-050); }
.pd-info h1 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.3; }
.pd-sub { color: var(--muted); font-size: 14px; margin-top: 8px; }
.pd-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 20px; }
.pd-badges .chip { background: var(--brand-050); border-color: #cfe2f4; color: var(--brand-700); }
.pd-spec { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 20px; }
.pd-spec dl { display: grid; grid-template-columns: 96px 1fr; margin: 0; font-size: 14px; }
.pd-spec dt { padding: 11px 14px; background: var(--bg-soft); color: var(--muted); border-bottom: 1px solid var(--line-2); }
.pd-spec dd { margin: 0; padding: 11px 14px; border-bottom: 1px solid var(--line-2); }
.pd-spec dt:last-of-type, .pd-spec dd:last-of-type { border-bottom: 0; }
.pd-price {
  display: flex; align-items: flex-end; gap: 12px; padding: 18px 20px; background: var(--accent-050);
  border: 1px solid #f8d9c8; border-radius: var(--radius); margin-bottom: 20px;
}
.pd-price .k { font-size: 12px; color: #a35c32; }
.pd-price .v { font-family: var(--num); font-size: 32px; font-weight: 700; color: var(--accent-700); line-height: 1; }
.pd-price .v small { font-size: 14px; font-weight: 500; }
.pd-price .t { font-size: 12px; color: #a35c32; margin-left: auto; text-align: right; }
.pd-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.pd-quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.pd-quick div { border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; text-align: center; }
.pd-quick .k { font-family: var(--num); font-size: 18px; font-weight: 700; color: var(--ink); }
.pd-quick .l { font-size: 11.5px; color: var(--muted-2); }

/* ---------- article ---------- */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; }
.article-head h1 { font-size: clamp(25px, 2.8vw, 36px); line-height: 1.35; }
.article-meta { display: flex; flex-wrap: wrap; gap: 16px; margin: 18px 0 28px; padding-bottom: 22px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted-2); }
.article-meta .dot { width: 3px; height: 3px; background: var(--muted-2); border-radius: 50%; align-self: center; }
.prose { font-size: 16.5px; line-height: 1.95; color: #26394b; }
.prose h2 { font-size: 23px; margin: 40px 0 16px; padding-left: 14px; border-left: 3px solid var(--accent); }
.prose h3 { font-size: 18px; margin: 30px 0 12px; }
.prose p { margin-bottom: 1.1em; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose ul { list-style: none; margin: 0 0 1.2em; padding: 0; }
.prose ul li { position: relative; padding-left: 22px; margin-bottom: 8px; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: .78em; width: 6px; height: 6px; background: var(--accent); border-radius: 1px; }
.prose .table-wrap { margin: 22px 0 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.prose .data-table th { font-size: 12.5px; }
.answer-box {
  margin: 26px 0; padding: 22px 24px; background: var(--brand-050); border-left: 3px solid var(--brand);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.answer-box .t { font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--brand); margin-bottom: 8px; }
.answer-box p { margin: 0; font-size: 15.5px; color: #24405c; line-height: 1.85; }
.toc { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px 22px; margin-bottom: 30px; }
.toc .t { font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 10px; letter-spacing: .04em; }
.toc ol { counter-reset: t; display: grid; gap: 7px; }
.toc a { font-size: 14px; color: var(--muted); display: flex; gap: 8px; }
.toc a:hover { color: var(--brand); }
.toc a::before { counter-increment: t; content: counter(t) "."; font-family: var(--num); color: var(--muted-2); }

.aside-card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; margin-bottom: 20px; background: #fff; }
.aside-card h4 { font-size: 15px; margin-bottom: 14px; }
.related-list { display: grid; gap: 14px; }
.related-list a { display: block; font-size: 14px; line-height: 1.6; color: var(--text); }
.related-list a:hover { color: var(--brand); }
.related-list span { display: block; font-size: 11.5px; color: var(--muted-2); margin-top: 4px; font-family: var(--num); }
.aside-cta { background: var(--ink); color: #c3d0dc; border: 0; }
.aside-cta h4 { color: #fff; }
.aside-cta p { font-size: 13px; color: #93a6b6; }
.aside-cta .tel { font-family: var(--num); font-size: 23px; color: #fff; font-weight: 700; display: block; margin: 4px 0 14px; }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 52px; align-items: center; }
.about-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: linear-gradient(150deg, #dfe8f1, #c8d5e2); aspect-ratio: 4 / 3; }
.about-media svg { width: 100%; height: 100%; }
.about-stat {
  position: absolute; right: 18px; bottom: 18px; background: #fff; border-radius: var(--radius);
  padding: 14px 18px; box-shadow: var(--shadow-md);
}
.about-stat .n { font-family: var(--num); font-size: 28px; font-weight: 700; color: var(--accent); line-height: 1; }
.about-stat .l { font-size: 11.5px; color: var(--muted); margin-top: 6px; }
.timeline { position: relative; padding-left: 28px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 1px; background: var(--line); }
.timeline li { position: relative; padding-bottom: 26px; }
.timeline li::before {
  content: ""; position: absolute; left: -28px; top: 6px; width: 11px; height: 11px;
  border-radius: 50%; background: #fff; border: 2px solid var(--line); box-sizing: border-box;
}
.timeline li.is-now::before { border-color: var(--accent); background: var(--accent); box-shadow: 0 0 0 4px var(--accent-050); }
.timeline .y { font-family: var(--num); font-size: 15px; font-weight: 700; color: var(--brand); }
.timeline .d { font-size: 14px; color: var(--muted); margin-top: 2px; }
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cert { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: #fff; display: flex; gap: 14px; align-items: center; }
.cert .ic { width: 38px; height: 38px; flex: none; display: grid; place-items: center; background: var(--bg-soft); border-radius: 50%; color: var(--brand); }
.cert b { display: block; font-size: 14px; }
.cert span { font-size: 11.5px; color: var(--muted-2); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 44px; align-items: start; }
.contact-list { display: grid; gap: 2px; }
.contact-item { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-item .ic { width: 42px; height: 42px; flex: none; display: grid; place-items: center; background: var(--brand-050); color: var(--brand); border-radius: var(--radius); }
.contact-item .k { font-size: 12px; color: var(--muted-2); letter-spacing: .04em; }
.contact-item .v { font-size: 15.5px; color: var(--ink); font-weight: 500; line-height: 1.6; }
.contact-item .v a:hover { color: var(--brand); }
.map-box { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #eef2f6; }
.map-box svg { width: 100%; display: block; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-sm); }
.form-card h3 { font-size: 19px; margin-bottom: 6px; }
.form-card > p { font-size: 13.5px; color: var(--muted); margin-bottom: 20px; }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.contact-card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; background: #fff; text-align: center; transition: all .25s; }
.contact-card:hover { border-color: var(--brand); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.contact-card .ic { width: 46px; height: 46px; margin: 0 auto 14px; display: grid; place-items: center; background: var(--bg-soft); color: var(--brand); border-radius: 50%; }
.contact-card b { display: block; font-size: 15px; margin-bottom: 6px; }
.contact-card span { font-size: 12.5px; color: var(--muted); line-height: 1.6; display: block; }

/* ---------- footer ---------- */
.site-footer { background: #08121c; color: #8496a6; font-size: 14px; }
.footer-main { display: grid; grid-template-columns: 1.45fr .85fr .85fr 1fr; gap: 48px; padding: 68px 0 52px; }
.footer-brand .logo__name { color: #fff; }
.footer-brand .logo__sub { color: #5c7285; }
.footer-brand p { font-size: 13.5px; line-height: 1.85; color: #7d93a6; margin: 20px 0 22px; max-width: 330px; }
.footer-contact { display: grid; gap: 8px; font-size: 13.5px; }
.footer-contact a:hover { color: #fff; }
.footer-tel { font-family: var(--num); font-size: 26px; font-weight: 700; color: #fff; letter-spacing: .01em; }
.footer-col h4 { color: #fff; font-size: 14px; margin-bottom: 18px; letter-spacing: .04em; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { font-size: 13.5px; color: #8496a6; transition: color .2s, padding .2s; }
.footer-col a:hover { color: #fff; padding-left: 3px; }
.footer-qr { display: flex; gap: 12px; margin-top: 6px; }
.footer-qr div { background: #fff; border-radius: 3px; width: 84px; height: 84px; padding: 6px; }
.footer-qr span { display: block; font-size: 11px; text-align: center; color: #7d93a6; margin-top: 6px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .07); display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between; gap: 12px; padding: 22px 0; font-size: 12.5px; color: #5c7285;
}
.footer-bottom a:hover { color: #93a6b6; }
.footer-bottom .tags { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- chat widget ---------- */
.chat {
  position: fixed; right: 24px; bottom: 24px; z-index: 150;
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
}
.chat__fab {
  width: 58px; height: 58px; border-radius: 50%; border: 0; position: relative;
  background: linear-gradient(145deg, #f97b3d, var(--accent)); color: #fff;
  box-shadow: 0 10px 28px rgba(242, 98, 31, .42);
  display: grid; place-items: center; transition: transform .25s var(--ease), box-shadow .25s;
}
.chat__fab:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 16px 34px rgba(242, 98, 31, .5); }
.chat__fab::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(242, 98, 31, .5); animation: pulse 2.8s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(242, 98, 31, .45); }
  70% { box-shadow: 0 0 0 16px rgba(242, 98, 31, 0); }
  100% { box-shadow: 0 0 0 0 rgba(242, 98, 31, 0); }
}
.chat__badge {
  position: absolute; top: -2px; right: -2px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 9px; background: #fff; color: var(--accent); font-size: 11px; font-weight: 700;
  display: grid; place-items: center; border: 2px solid #fff; box-sizing: content-box;
}
.chat__panel {
  width: 336px; background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(11, 22, 34, .22); border: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translateY(12px) scale(.98); transform-origin: bottom right;
  transition: all .28s var(--ease);
}
.chat.is-open .chat__panel { opacity: 1; visibility: visible; transform: none; }
.chat__head {
  background: linear-gradient(140deg, #12283d, #0b1622); color: #fff; padding: 18px 20px;
  display: flex; align-items: center; gap: 12px;
}
.chat__avatar {
  width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .12);
  display: grid; place-items: center; font-size: 15px; font-weight: 700; color: #ffb083; flex: none;
}
.chat__head b { display: block; font-size: 14.5px; }
.chat__head span { font-size: 11.5px; color: #93a6b6; display: flex; align-items: center; gap: 6px; }
.chat__head span i { width: 6px; height: 6px; border-radius: 50%; background: #2fbf71; display: inline-block; }
.chat__close { margin-left: auto; background: transparent; border: 0; color: #93a6b6; font-size: 20px; line-height: 1; padding: 4px; }
.chat__body { padding: 18px; background: #f7f9fb; max-height: 320px; overflow-y: auto; }
.chat__msg {
  background: #fff; border: 1px solid var(--line-2); border-radius: 2px 10px 10px 10px;
  padding: 12px 14px; font-size: 13.5px; color: var(--text); line-height: 1.7; box-shadow: var(--shadow-sm);
}
.chat__msg b { color: var(--ink); }
.chat__quick { display: grid; gap: 8px; margin-top: 12px; }
.chat__quick button {
  text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 8px;
  padding: 10px 12px; font-size: 13px; color: #33506b; transition: all .2s;
}
.chat__quick button:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-050); }
.chat__foot { padding: 14px 18px 18px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.chat__input-row { display: flex; gap: 8px; }
.chat__input {
  flex: 1; height: 42px; border: 1px solid var(--line); border-radius: 8px; padding: 0 12px; font-size: 13.5px;
}
.chat__input:focus { outline: none; border-color: var(--brand); }
.chat__send { width: 42px; height: 42px; border: 0; border-radius: 8px; background: var(--accent); color: #fff; display: grid; place-items: center; }
.chat__channels { display: flex; gap: 8px; }
.chat__channels a {
  flex: 1; text-align: center; font-size: 12px; padding: 8px 4px; border: 1px solid var(--line);
  border-radius: 6px; color: var(--muted); display: flex; align-items: center; justify-content: center; gap: 6px;
}
.chat__channels a:hover { border-color: var(--brand); color: var(--brand); }

/* ---------- mobile sticky bar ---------- */
.mobile-bar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 140;
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line); padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  grid-template-columns: repeat(4, 1fr); gap: 6px;
}
.mobile-bar a {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  font-size: 11px; color: var(--muted); padding: 6px 2px; border-radius: 6px;
}
.mobile-bar a svg { color: var(--ink); }
.mobile-bar a.is-cta { background: var(--accent); color: #fff; }
.mobile-bar a.is-cta svg { color: #fff; }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .chat__fab::after { animation: none; }
}

/* ---------- article sidebar (v1.1) ---------- */
.ys-aside { display: grid; gap: 18px; position: sticky; top: 96px; align-self: start; }

.aside-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-bottom: 14px; padding-left: 12px; position: relative;
}
.aside-head h4 { font-size: 15px; margin: 0; }
.aside-head::before {
  content: ""; position: absolute; left: 0; top: 3px; bottom: 3px;
  width: 3px; border-radius: 2px; background: var(--accent);
}
.aside-head a { font-size: 12px; color: var(--muted-2); white-space: nowrap; }
.aside-head a:hover { color: var(--brand); }

.rel-list { display: grid; gap: 0; }
.rel-item {
  display: grid; grid-template-columns: 66px minmax(0, 1fr); gap: 12px; align-items: center;
  padding: 11px 0; border-bottom: 1px dashed var(--line);
}
.rel-item:first-child { padding-top: 0; }
.rel-item:last-child { border-bottom: 0; padding-bottom: 0; }
.rel-item__thumb {
  width: 66px; height: 50px; border-radius: 4px; overflow: hidden;
  background: var(--bg-soft); border: 1px solid var(--line);
}
.rel-item__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rel-item__body b {
  display: block; font-size: 13.5px; font-weight: 600; line-height: 1.55;
  color: var(--ink); transition: color .2s;
}
.rel-item:hover .rel-item__body b { color: var(--brand); }
.rel-item__body span {
  display: block; font-size: 11.5px; color: var(--muted-2); margin-top: 5px; font-family: var(--num);
}

.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px; border-radius: 999px; background: var(--bg-soft);
  border: 1px solid var(--line); font-size: 12.5px; color: #41556a; transition: all .2s;
}
.tag-cloud a i { font-style: normal; font-size: 11px; color: var(--muted-2); font-family: var(--num); }
.tag-cloud a:hover { background: var(--brand-050); border-color: #cfe2f4; color: var(--brand-700); }
.tag-cloud a:hover i { color: var(--brand); }
.tag-cloud a.is-hot { background: var(--accent-050); border-color: #f8d9c8; color: var(--accent-700); }
.tag-cloud a.is-hot i { color: #c98a63; }

.aside-stat { display: flex; align-items: center; gap: 14px; padding-top: 2px; }
.aside-stat .n { font-family: var(--num); font-size: 26px; font-weight: 700; color: var(--accent); line-height: 1; }
.aside-stat .l { font-size: 12px; color: var(--muted); line-height: 1.5; }

/* ---------- 移动端导航里的二维码 ---------- */
.mobile-nav__qr {
  margin-top: 20px; padding-top: 18px; border-top: 1px dashed var(--line); text-align: center;
}
.mobile-nav__qr .imgs { display: flex; justify-content: center; gap: 14px; margin-bottom: 10px; }
.mobile-nav__qr img {
  width: 88px; height: 88px; padding: 4px; background: #fff;
  border: 1px solid var(--line); border-radius: 6px;
}
.mobile-nav__qr p { font-size: 12px; color: var(--muted-2); margin: 0; line-height: 1.6; }

/* ==========================================================================
   v1.2 新增：浮层下拉 / 浮动目录 / 丰富版关于我们 / 联系页地图
   ========================================================================== */

/* ---------- 导航下拉：浮层卡片 ---------- */
.dropdown {
  border: 1px solid var(--line);
  border-top: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
  box-shadow: 0 20px 48px rgba(11, 22, 34, .16), 0 2px 6px rgba(11, 22, 34, .06);
  top: calc(100% - 12px);
  margin-top: 0;
}
.dropdown::before {
  content: "";
  position: absolute; top: -7px; left: calc(50% - 7px);
  width: 12px; height: 12px; background: #fff;
  border-left: 1px solid var(--line); border-top: 1px solid var(--line);
  transform: rotate(45deg); border-radius: 2px 0 0 0;
}
.dropdown a { position: relative; z-index: 1; }
.nav > li:hover .dropdown,
.nav > li:focus-within .dropdown { transform: translate(-50%, 0); }
.nav > li.is-open .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ---------- 浮动目录 ---------- */
.toc-card .aside-head { margin-bottom: 10px; }
.toc-list {
  display: grid; gap: 1px;
  max-height: 340px; overflow-y: auto; overscroll-behavior: contain;
  scrollbar-width: thin;
}
.toc-list::-webkit-scrollbar { width: 4px; }
.toc-list::-webkit-scrollbar-thumb { background: var(--line); border-radius: 4px; }
.toc-list a {
  display: block; padding: 7px 10px 7px 12px;
  font-size: 13.5px; line-height: 1.5; color: var(--muted);
  border-left: 2px solid transparent; border-radius: 0 4px 4px 0;
  transition: color .18s, background .18s, border-color .18s;
}
.toc-list a:hover { color: var(--brand); background: var(--brand-050); }
.toc-list a.is-active { color: var(--brand-700); border-left-color: var(--accent); background: var(--brand-050); font-weight: 600; }
.toc-list a.lvl-3 { padding-left: 26px; font-size: 12.5px; color: var(--muted-2); }
.toc-list a.lvl-3.is-active { color: var(--brand); }

.toc-mobile { display: none; }
.toc-mobile .toc-list { max-height: none; }

/* 侧栏整体浮动：粘滞 + 超高时内部滚动 */
.ys-aside {
  position: sticky; top: 96px;
  max-height: calc(100vh - 116px);
  overflow-y: auto; overscroll-behavior: contain;
  scrollbar-width: thin; padding-right: 4px;
}
.ys-aside::-webkit-scrollbar { width: 5px; }
.ys-aside::-webkit-scrollbar-thumb { background: rgba(11, 22, 34, .16); border-radius: 6px; }

/* ---------- 关于我们 ---------- */
.about-lead { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; }
.about-lead p { font-size: 16px; line-height: 1.9; }
.about-lead .sign { margin-top: 22px; padding-left: 16px; border-left: 3px solid var(--accent); font-size: 14px; color: var(--muted); }

.fact-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.fact { background: #fff; padding: 24px 22px; }
.fact .n { font-family: var(--num); font-size: 30px; font-weight: 700; color: var(--ink); line-height: 1; }
.fact .n small { font-size: 13px; font-weight: 500; color: var(--muted); margin-left: 3px; }
.fact .l { margin-top: 8px; font-size: 13px; color: var(--muted); }

.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.process-step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 22px 24px; }
.process-step::after {
  content: ""; position: absolute; right: -12px; top: 44px; width: 24px; height: 2px;
  background: var(--line); z-index: 1;
}
.process-step:last-child::after { display: none; }
.process-step .no {
  font-family: var(--num); font-size: 13px; font-weight: 700; letter-spacing: .12em;
  color: var(--accent); margin-bottom: 12px; display: block;
}
.process-step h3 { font-size: 16.5px; margin-bottom: 8px; }
.process-step p { font-size: 13.5px; color: var(--muted); margin: 0; line-height: 1.7; }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.team-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; display: flex; gap: 16px; align-items: flex-start; }
.team-card .avatar {
  width: 52px; height: 52px; flex: none; border-radius: 50%;
  display: grid; place-items: center; font-size: 18px; font-weight: 700;
  background: var(--brand-050); color: var(--brand-700);
}
.team-card b { display: block; font-size: 15.5px; }
.team-card span { display: block; font-size: 12.5px; color: var(--muted-2); margin-top: 3px; }
.team-card p { font-size: 13px; color: var(--muted); margin: 8px 0 0; line-height: 1.7; }

.partner-strip { display: flex; flex-wrap: wrap; gap: 10px; }
.partner-strip span {
  padding: 8px 16px; border-radius: 999px; background: #fff;
  border: 1px solid var(--line); font-size: 13.5px; color: #41556a;
}

/* ---------- 联系我们：地址与坐标 ---------- */
.contact-meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 24px; }
.contact-meta div {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; background: #fff;
}
.contact-meta .k { font-size: 11.5px; color: var(--muted-2); letter-spacing: .04em; }
.contact-meta .v { font-size: 14.5px; color: var(--ink); font-weight: 500; margin-top: 4px; line-height: 1.6; }
.contact-meta .v.num { font-family: var(--num); letter-spacing: .02em; }

.map-card { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #eef2f6; position: relative; }
.map-card svg { width: 100%; display: block; }
.map-card__head {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 18px; background: #fff; border-bottom: 1px solid var(--line);
}
.map-card__head .addr { font-size: 14px; color: var(--ink); font-weight: 500; }
.map-card__head .coord { font-family: var(--num); font-size: 12px; color: var(--muted-2); }
.map-actions { display: flex; gap: 10px; padding: 14px 18px; background: #fff; border-top: 1px solid var(--line); flex-wrap: wrap; }

/* ---------- 响应式补充 ---------- */
@media (max-width: 1024px) {
  .about-lead { grid-template-columns: 1fr; gap: 28px; }
  .fact-strip { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .process-step:nth-child(2)::after { display: none; }
  .team-grid { grid-template-columns: 1fr; }
  .ys-aside { position: static; max-height: none; overflow: visible; padding-right: 0; }
  .toc-mobile { display: block; margin-bottom: 26px; }
  .toc-mobile .aside-card { margin-bottom: 0; }
  .ys-aside .toc-card { display: none; }
}

@media (max-width: 720px) {
  .fact-strip { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: 1fr; }
  .process-step::after { display: none; }
  .contact-meta { grid-template-columns: 1fr; }
  .map-card__head { padding: 12px 14px; }
  .map-actions { padding: 12px 14px; }
  .team-card { padding: 20px; }
}


/* 下拉展开时隐藏导航下划线，避免与浮层箭头重叠 avoid-arrow-overlap */
.nav > li:hover > .nav__link::after,
.nav > li:focus-within > .nav__link::after,
.nav > li.is-open > .nav__link::after { transform: scaleX(0); }


/* ---------- 标签聚合页 ---------- */
.tag-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.tag-grid a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 14px 16px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); transition: border-color .2s, transform .2s, box-shadow .2s;
}
.tag-grid a:hover { border-color: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.tag-grid b { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.tag-grid a:hover b { color: var(--brand); }
.tag-grid span { font-size: 12px; color: var(--muted-2); font-family: var(--num); white-space: nowrap; }
.tag-cloud--big { gap: 10px; }
.tag-cloud--big a { padding: 7px 14px; }

@media (max-width: 1024px) { .tag-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px)  { .tag-grid { grid-template-columns: 1fr; } }

/* ---------- 标签归档页 ---------- */
.tag-intro { max-width: 860px; margin-top: 6px; color: #9fb3c6; font-size: 15px; line-height: 1.85; }
.tag-intro p { margin: 0 0 8px; }
.tag-intro a { color: #cfe1f2; text-decoration: underline; }
.tag-meta { margin-top: 14px; font-size: 12.5px; color: #7d93a6; font-family: var(--num); }

.tag-posts { display: grid; gap: 0; }
.tag-post {
  display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 22px;
  padding: 22px 0; border-bottom: 1px solid var(--line); align-items: start;
}
.tag-post:first-child { padding-top: 0; }
.tag-post__thumb {
  display: block; width: 180px; height: 118px; border-radius: var(--radius-lg);
  overflow: hidden; border: 1px solid var(--line); background: var(--bg-soft);
}
.tag-post__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tag-post__body { display: block; }
.tag-post__body b {
  display: block; font-size: 18px; font-weight: 700; line-height: 1.5;
  color: var(--ink); transition: color .2s;
}
.tag-post:hover .tag-post__body b { color: var(--brand); }
.tag-post__meta { display: block; margin-top: 6px; font-size: 12px; color: var(--muted-2); font-family: var(--num); }
.tag-post__desc { display: block; margin-top: 10px; font-size: 14px; color: var(--muted); line-height: 1.75; }

@media (max-width: 720px) {
  .tag-post { grid-template-columns: 1fr; gap: 12px; padding: 18px 0; }
  .tag-post__thumb { width: 100%; height: 170px; }
  .tag-post__body b { font-size: 16.5px; }
}

/* ==========================================================================
   v1.5：边栏隐藏滚动条 / 材质筛选条
   ========================================================================== */

/* ---------- 边栏：可滚动但不显示滚动条 ---------- */
.ys-aside {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.ys-aside::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}
.toc-list {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.toc-list::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

/* ---------- 材质筛选 ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}
.filter-bar .label {
  font-size: 12.5px;
  color: var(--muted-2);
  letter-spacing: .02em;
  margin-right: 2px;
}
.filter-bar a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 13px;
  color: #41556a;
  transition: all .18s;
}
.filter-bar a i {
  font-style: normal;
  font-size: 11px;
  color: var(--muted-2);
  font-family: var(--num);
}
.filter-bar a:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--brand-050);
}
.filter-bar a.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.filter-bar a.is-active i {
  color: rgba(255, 255, 255, .65);
}
.filter-bar a.is-clear {
  border-color: transparent;
  background: transparent;
  color: var(--accent-700);
  padding-left: 4px;
}
.filter-bar a.is-clear:hover {
  background: var(--accent-050);
  border-color: var(--accent-050);
  color: var(--accent-700);
}
.filter-summary {
  font-size: 13px;
  color: var(--muted);
  margin: -8px 0 16px;
}
.filter-summary b {
  color: var(--ink);
}

@media (max-width: 720px) {
  .filter-bar { gap: 6px; }
  .filter-bar a { padding: 5px 10px; font-size: 12.5px; }
}

/* ==========================================================================
   v1.6：工程案例详情
   ========================================================================== */

.page-hero--case .case-chips {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px;
}
.page-hero--case .case-chips span {
  display: inline-flex; align-items: baseline; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .06);
  color: #e8eef4; font-size: 13.5px;
}
.page-hero--case .case-chips i {
  font-style: normal; font-size: 11.5px; color: #8fa6b8;
  letter-spacing: .04em;
}

.case-facts { background: var(--ink); padding: 0 0 34px; margin-top: -1px; }
.case-facts .facts-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  transform: translateY(-26px);
}
.case-facts .fact {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 20px 22px; box-shadow: var(--shadow-sm);
}
.case-facts .fact b {
  display: block; font-family: var(--num); font-size: 26px; line-height: 1.15;
  color: var(--brand-700); letter-spacing: -.02em;
}
.case-facts .fact span { display: block; margin-top: 6px; font-size: 12.5px; color: var(--muted-2); }

.case-cover { margin: 0 0 28px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.case-cover img { width: 100%; height: auto; display: block; }

.case-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 36px 0; }
.case-card {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 24px; background: #fff;
}
.case-card--challenge { background: #fbf7f2; border-color: #f0e2d2; }
.case-card--solution { background: #f3f8f4; border-color: #d8e9dc; }
.case-card__k {
  display: inline-block; font-family: var(--num); font-size: 11px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2);
  margin-bottom: 8px;
}
.case-card h3 { font-size: 17px; margin: 0 0 10px; color: var(--ink); }
.case-card p { margin: 0; font-size: 14.5px; line-height: 1.85; color: var(--muted); }

.case-quote {
  margin: 40px 0 0; padding: 26px 28px; border-left: 3px solid var(--accent);
  background: var(--bg-soft); border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}
.case-quote p { margin: 0; font-size: 15.5px; line-height: 1.9; color: #2b3d4f; }
.case-quote cite { display: block; margin-top: 12px; font-style: normal; font-size: 12.5px; color: var(--muted-2); }

.case-info {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 22px;
}
.case-info h4 { margin: 0 0 14px; font-size: 15px; color: var(--ink); }
.case-info dl { margin: 0; display: grid; gap: 10px; }
.case-info dl div { display: flex; justify-content: space-between; gap: 14px; font-size: 13.5px; }
.case-info dt { color: var(--muted-2); flex: none; }
.case-info dd { margin: 0; color: var(--ink); text-align: right; font-weight: 500; }

@media (max-width: 1024px) {
  .case-facts .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .case-cols { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .case-facts .facts-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .case-facts .fact { padding: 16px; }
  .case-facts .fact b { font-size: 21px; }
  .case-quote { padding: 20px; }
}

/* ==========================================================================
   v1.7：边栏整体浮动（去掉内部滚动，彻底没有滚动条）
   ========================================================================== */

.ys-aside {
  position: sticky;
  top: 96px;
  max-height: none;
  overflow: visible;
  align-self: start;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.ys-aside::-webkit-scrollbar { width: 0; height: 0; display: none; }

/* 目录本身仍限高，但不显示滚动条 */
.toc-list { max-height: 360px; overflow-y: auto; scrollbar-width: none; }
.toc-list::-webkit-scrollbar { width: 0; height: 0; display: none; }

@media (max-width: 1024px) {
  .ys-aside { position: static; }
}

/* ---------- responsive ---------- */
@media (max-width: 1360px) {
  .header-phone { display: none; }
}

@media (max-width: 1180px) {
  .nav__link { padding: 0 7px; font-size: 14px; }
  .hero__grid { grid-template-columns: 1fr; gap: 36px; padding: 56px 0 48px; }
  .hero__visual { max-width: 540px; }
  .footer-main { grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
  .footer-main > .footer-col--qr {
    grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, .07); padding-top: 26px;
    display: flex; align-items: center; gap: 26px; flex-wrap: wrap;
  }
  .footer-main > .footer-col--qr h4 { width: 100%; margin-bottom: 4px; }
  .footer-main > .footer-col--qr > p { margin: 0; }
}

@media (max-width: 1024px) {
  .section { padding: 64px 0; }
  .nav, .header-actions .btn { display: none; }
  .burger { display: flex; }
  .mobile-nav { display: block; }
  .product-grid, .feature-grid, .app-grid, .case-grid, .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .product-card--wide { grid-column: span 2; }
  .price-layout, .calc-layout, .pd-top, .about-grid, .contact-grid, .article-layout, .with-sidebar { grid-template-columns: 1fr; gap: 32px; }
  .article-layout aside { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .ys-aside { position: static; top: auto; }
  .side-nav { position: static; }
  .stats .wrap { grid-template-columns: repeat(2, 1fr); }
  .stat { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .07); padding: 22px 20px; }
  .stat:nth-child(1), .stat:nth-child(2) { border-top: 0; }
  .stat:nth-child(1) { padding-left: 0; }
  .cta-inner { grid-template-columns: 1fr; gap: 32px; padding: 56px 0; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .section-head--split { flex-direction: column; align-items: flex-start; gap: 14px; }
}

@media (max-width: 900px) {
  .topbar__links { display: none; }
}

@media (max-width: 720px) {
  body { font-size: 15px; }
  .wrap { padding: 0 18px; }
  .section { padding: 52px 0; }
  .section-head { margin-bottom: 30px; }
  .hero__grid { padding: 44px 0 38px; }
  .hero__lead { font-size: 15.5px; }
  .hero__trust { gap: 8px 18px; font-size: 12.5px; }
  .hero__badge { left: 0; bottom: 0; padding: 12px 14px; gap: 12px; }
  .hero__badge .k { font-size: 24px; }
  .product-grid, .feature-grid, .app-grid, .case-grid, .cert-grid { grid-template-columns: 1fr; }
  .feature-grid--4, .feature-grid--2 { grid-template-columns: 1fr; }
  .product-card--wide { grid-column: span 1; }
  .article-layout aside { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-form { padding: 22px; }
  .pd-spec dl { grid-template-columns: 84px 1fr; }
  .pd-quick { grid-template-columns: 1fr 1fr 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 30px; padding: 44px 0 32px; }
  .footer-main > .footer-col--qr { justify-content: flex-start; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .chat { right: 14px; bottom: 78px; }
  .chat__panel { width: calc(100vw - 28px); max-width: 340px; }
  .mobile-bar { display: grid; }
  body { padding-bottom: 66px; }
  .prose { font-size: 15.5px; }
  .prose h2 { font-size: 20px; }
  .faq-item summary { font-size: 15px; padding: 18px 0; }
  .faq-item__body { padding-left: 0; }
  .section--tight { padding: 44px 0; }
}

@media (max-width: 480px) {
  .topbar { display: none; }
  .hero h1 { font-size: 26px; }
  .topbar { font-size: 11.5px; }
  .topbar__note b { display: none; }
  .topbar .wrap { gap: 0; }
  .stat .n { font-size: 30px; }
  .cta-inner h2 { font-size: 24px; }
  .page-hero .wrap { padding: 40px 18px 36px; }
}


/* 锚点定位避开吸顶导航 */
.prose h2[id], .prose h3[id], .prose [id] { scroll-margin-top: 96px; }

/* ==========================================================================
   v1.8：边栏浮动（限高到视口 + 隐藏滚动条）
   说明：sticky 元素必须比所在网格行矮，才有移动空间；
        因此给侧栏设 max-height，内容超高时在侧栏内部滚动，但不显示滚动条。
   ========================================================================== */

.ys-aside {
  position: sticky;
  top: 96px;
  align-self: start;
  max-height: calc(100vh - 116px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-right: 2px;
}

.ys-aside::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.toc-list {
  max-height: 340px;
  overflow-y: auto;
  scrollbar-width: none;
}
.toc-list::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

@media (max-width: 1024px) {
  .ys-aside {
    position: static;
    max-height: none;
    overflow: visible;
  }
}

/* ==========================================================================
   产品详情页：规格筛选 / 版式
   ========================================================================== */
[hidden] { display: none !important; }

.pd-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 40px;
  align-items: start;
}

.pd-block + .pd-block {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

.pd-block__head { margin-bottom: 22px; }
.pd-block__head h2 {
  font-size: 26px;
  letter-spacing: -.01em;
  margin: 6px 0 0;
}
.pd-block__note {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 720px;
}
.pd-block__head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.spec-tools {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 16px;
  flex-wrap: wrap;
}
.spec-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted-2);
  transition: border-color .18s, box-shadow .18s;
}
.spec-search:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(233, 106, 30, .1);
}
.spec-search input {
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 14px;
  width: 220px;
  color: var(--ink);
}
.spec-count {
  font-size: 12.5px;
  color: var(--muted-2);
  font-family: var(--num);
}

.spec-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.spec-group h3 {
  font-size: 15.5px;
  color: var(--brand-700);
  letter-spacing: .02em;
  margin: 24px 0 10px;
}
.spec-group:first-of-type h3 { margin-top: 6px; }

.spec-table {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  margin-bottom: 6px;
}
.spec-table table { width: 100%; }
.spec-table tbody tr:hover { background: #fafbfc; }

.spec-empty {
  margin: 18px 0 0;
  padding: 16px 18px;
  border: 1px dashed var(--line);
  border-radius: var(--radius-lg);
  font-size: 14px;
  color: var(--muted);
  background: #fcfdfe;
}

.pd-prose {
  font-size: 15.5px;
  line-height: 1.9;
}
.pd-prose h2 { font-size: 20px; margin: 34px 0 12px; }
.pd-prose h3 { font-size: 17px; margin: 26px 0 10px; }
.pd-prose > h2:first-child, .pd-prose > h3:first-child { margin-top: 0; }

.product-grid--3 { grid-template-columns: repeat(3, 1fr); }

.pd-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 44px;
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #fbfcfd, #f4f8fb);
}
.pd-cta__text b { display: block; font-size: 16.5px; margin-bottom: 4px; }
.pd-cta__text span { font-size: 13.5px; color: var(--muted); }

.quote-card--pd { padding: 24px; }
.quote-card__k {
  display: inline-block;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.quote-card--pd h3 { font-size: 20px; margin: 0 0 6px; }
.quote-card--pd > p { font-size: 13px; color: var(--muted); margin: 0 0 16px; line-height: 1.7; }

.pd-delivery dl { margin: 0; display: grid; gap: 10px; }
.pd-delivery dl div { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; }
.pd-delivery dt { color: var(--muted-2); flex: none; }
.pd-delivery dd { margin: 0; color: var(--ink); text-align: right; font-weight: 500; }
.pd-delivery__tel {
  display: block;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-family: var(--num);
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.01em;
}
.pd-delivery__tel span {
  display: block;
  margin-top: 2px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 400;
  color: var(--muted-2);
}

@media (max-width: 1180px) {
  .pd-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; }
}
@media (max-width: 1024px) {
  .pd-layout { grid-template-columns: 1fr; gap: 34px; }
  .product-grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .pd-block__head h2 { font-size: 22px; }
  .spec-search input { width: 160px; }
  .product-grid--3 { grid-template-columns: 1fr; }
  .pd-cta { flex-direction: column; align-items: flex-start; }
  .pd-cta .btn { width: 100%; text-align: center; }
  .pd-block + .pd-block { margin-top: 36px; padding-top: 30px; }
}

/* v19b: mobile grid fix */
/* 产品页：移动端栅格允许收缩，避免表格把整列撑宽 */
.pd-main,
.pd-block { min-width: 0; }

@media (max-width: 1024px) {
  .pd-layout { grid-template-columns: minmax(0, 1fr); }
}

/* v19c: 移动端规格表只保留关键列，避免横向滚动 */
@media (max-width: 720px) {
  .spec-table th:nth-child(3),
  .spec-table td:nth-child(3) { display: none; }
  .spec-table table { min-width: 0; }
  .spec-table th, .spec-table td { padding-left: 12px; padding-right: 12px; }
}

/* ==========================================================================
   v2.0 背景：工程蓝图网格 + 钢管截面水印（极低对比，长看不累）
   ========================================================================== */

body {
  background-color: #f2f6fa;
  background-image:
    radial-gradient(1100px 560px at 88% -12%, rgba(16, 99, 174, .05), transparent 62%),
    radial-gradient(820px 480px at -8% 18%, rgba(242, 98, 31, .028), transparent 58%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cg fill='none' stroke='%230f2a44' stroke-opacity='.028' stroke-width='1'%3E%3Cpath d='M0 .5H240M40.5 0V240M80.5 0V240M120.5 0V240M160.5 0V240M200.5 0V240M0 40.5H240M0 80.5H240M0 120.5H240M0 160.5H240M0 200.5H240'/%3E%3C/g%3E%3Cg fill='none' stroke='%231063ae' stroke-opacity='.022' stroke-width='1'%3E%3Ccircle cx='120' cy='120' r='58'/%3E%3Ccircle cx='120' cy='120' r='44'/%3E%3C/g%3E%3C/svg%3E");
  background-attachment: fixed, fixed, fixed;
  background-size: auto, auto, 240px 240px;
}

.section,
.section--tight,
main {
  background-color: transparent;
}

/* 密集信息区给一层很淡的“图纸面板”，文字不压在网格上 */
.pd-top {
  background: rgba(255, 255, 255, .58);
  border: 1px solid rgba(227, 233, 240, .9);
  border-radius: var(--radius-lg);
  padding: 28px;
}

@media (max-width: 1024px) {
  .pd-top { padding: 20px; }
}

@media (max-width: 720px) {
  body { background-attachment: scroll, scroll, scroll; }
  .pd-top { padding: 16px; }
}

/* v2.1 表单提交态 */
.btn.is-loading { opacity: .72; cursor: wait; }

/* ==========================================================================
   v2.2：进场动画不再隐藏内容（避免 JS 异常或截图工具下出现空白卡片）
   ========================================================================== */
.reveal { opacity: 1 !important; }
.reveal:not(.in) { transform: translateY(14px); }
.reveal.in { transform: none; }


/* ==========================================================================
   WordPress 兼容层：菜单、分页、评论、搜索表单、编辑器内容
   ========================================================================== */

/* ---------- 图片填充（IMG 版本，替代原型中的内联 SVG） ---------- */
.product-card__media img,
.case__media img,
.pd-gallery img,
.pd-thumbs img,
.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pd-thumbs div { overflow: hidden; }
.case__media img { aspect-ratio: 16 / 9; }

/* ---------- 主菜单（WP 输出的 ul.sub-menu 映射为下拉） ---------- */
.nav .sub-menu {
  position: absolute; top: calc(100% - 12px); left: 50%; transform: translate(-50%, 10px);
  min-width: 250px; background: #fff; border: 1px solid var(--line);
  border-radius: 10px; box-shadow: 0 20px 48px rgba(11, 22, 34, .16), 0 2px 6px rgba(11, 22, 34, .06);
  padding: 10px; opacity: 0; visibility: hidden; transition: all .24s var(--ease);
  z-index: 95;
}
.nav .sub-menu::before {
  content: "; position: absolute; top: -7px; left: calc(50% - 7px);
  width: 12px; height: 12px; background: #fff;
  border-left: 1px solid var(--line); border-top: 1px solid var(--line);
  transform: rotate(45deg); border-radius: 2px 0 0 0;
}
.nav li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav li:hover > .sub-menu, .nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav .sub-menu a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px; border-radius: var(--radius); font-size: 14px; color: var(--text);
  white-space: nowrap; height: auto;
}
.nav .sub-menu a:hover { background: var(--brand-050); color: var(--brand); }
.nav li.menu-item-has-children > a::after {
  content: ""; width: 6px; height: 6px; margin-left: 5px; margin-top: -3px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg); opacity: .6; transition: transform .25s;
}
.nav li.menu-item-has-children:hover > a::after { transform: rotate(225deg); margin-top: 3px; }
.nav > li.current-menu-item > a::after,
.nav > li.current-menu-parent > a::after { transform: scaleX(1); }

/* ---------- 移动端菜单 ---------- */
.mobile-nav__list .sub-menu { padding: 0 0 12px 12px; display: grid; gap: 2px; }
.mobile-nav__list .sub-menu a { font-size: 14px; color: var(--muted); font-weight: 400; padding: 8px 4px; }

/* ---------- 页脚菜单 ---------- */
.footer-col ul { display: grid; gap: 11px; }
.footer-col ul a { font-size: 13.5px; color: #8496a6; }
.footer-col ul a:hover { color: #fff; }

/* ---------- 分页 ---------- */
.ys-pagination, .navigation.pagination { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ys-pagination .nav-links, .navigation.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.ys-pagination .page-numbers,
.navigation.pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 42px; height: 42px; padding: 0 12px; border: 1px solid var(--line);
  border-radius: var(--radius); font-size: 14px; color: var(--text); background: #fff;
}
.ys-pagination .page-numbers:hover,
.navigation.pagination .page-numbers:hover { border-color: var(--brand); color: var(--brand); }
.ys-pagination .page-numbers.current,
.navigation.pagination .page-numbers.current { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- 上一篇 / 下一篇 ---------- */
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 36px 0 0; }
.post-nav .nav-previous, .post-nav .nav-next { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; font-size: 14px; }
.post-nav a { color: var(--text); }
.post-nav a:hover { color: var(--brand); }

/* ---------- 搜索表单 ---------- */
.search-form { display: flex; gap: 10px; }
.search-form label { flex: 1; }
.search-form .search-field {
  width: 100%; height: 46px; padding: 0 14px; border: 1px solid var(--line);
  border-radius: var(--radius); background: #fff;
}
.search-form .search-submit {
  height: 46px; padding: 0 22px; border: 0; border-radius: var(--radius);
  background: var(--accent); color: #fff; font-weight: 600; cursor: pointer;
}

/* ---------- 评论 ---------- */
.comments-area { margin-top: 40px; }
.comments-title, .comment-reply-title { font-size: 20px; margin-bottom: 18px; }
.comment-list { display: grid; gap: 18px; }
.comment-body { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px 20px; }
.comment-meta { font-size: 13px; color: var(--muted-2); margin-bottom: 8px; }
.comment-form p { margin-bottom: 14px; }
.comment-form label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius);
}
.comment-form .submit {
  height: 46px; padding: 0 24px; border: 0; border-radius: var(--radius);
  background: var(--brand); color: #fff; font-weight: 600; cursor: pointer;
}

/* ---------- 编辑器内容基础样式 ---------- */
.entry-content > * + * { margin-top: 1em; }
.alignwide { max-width: 1080px; }
.alignfull { width: 100vw; margin-left: calc(50% - 50vw); }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 12.5px; color: var(--muted-2); text-align: center; margin-top: 8px; }
.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
  height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px;
}

/* ---------- 表格滚动容器（编辑器表格） ---------- */
.prose table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.prose th { background: var(--bg-soft); font-weight: 600; }

/* ---------- 询价表单宽版 ---------- */
.form-stack--wide .form-row { grid-template-columns: 1fr 1fr; }

/* ---------- 打印 ---------- */
@media print {
  .site-header, .topbar, .chat, .mobile-bar, .cta-band, .site-footer { display: none !important; }
  .hero, .page-hero { background: #fff !important; color: #000 !important; }
}

/* 锚点定位避开吸顶导航 */
.prose h2[id], .prose h3[id], .prose [id] { scroll-margin-top: 96px; }

/* 正文引用 / 引言 */
.prose blockquote {
  margin: 22px 0; padding: 4px 0 4px 18px;
  border-left: 3px solid var(--accent);
  color: var(--muted); font-size: 15px; line-height: 1.85;
}
.prose blockquote p { margin: 0; }

/* 下拉展开时隐藏导航下划线 avoid-arrow-overlap */
.nav > li:hover > .nav__link::after,
.nav > li:focus-within > .nav__link::after,
.nav > li.is-open > .nav__link::after { transform: scaleX(0); }

/* 产品页锚点偏移 */
h2[id], h3[id], .pd-spec[id] { scroll-margin-top: 96px; }
