/* =====================================================
   Outcivic 全站样式
   设计基调：深海军蓝（工程信任感）+ 香槟金（高端质感）
   兼容英文 LTR 与阿拉伯语 RTL，移动端优先
   ===================================================== */

:root {
    --navy: #1b3a6b;
    --navy-2: #234a85;
    --navy-3: #2e5a9e;
    --ink: #22303e;
    --gold: #ee7c23;
    --gold-2: #d96a15;
    --sand: #fdf0e4;
    --bg: #f8f6f2;
    --white: #ffffff;
    --line: #e8ddd0;
    --muted: #6b7684;
    --radius: 14px;
    --shadow: 0 10px 30px rgba(27, 58, 107, .10);
    --shadow-lg: 0 18px 50px rgba(27, 58, 107, .16);
    --font: 'Manrope', 'Segoe UI', system-ui, sans-serif;
}

html[dir="rtl"] body { font-family: 'Tajawal', 'Segoe UI', system-ui, sans-serif; }

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.65; font-size: 16px; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 22px; }

h1, h2, h3, h4 { line-height: 1.25; font-weight: 800; color: var(--navy); }
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3 { letter-spacing: 0; }

/* ---------------- 顶部信息条 ---------------- */
.topbar { background: var(--navy); color: #cfd8e2; font-size: 13px; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; min-height: 38px; gap: 16px; flex-wrap: wrap; }
.topbar-item { white-space: nowrap; }
.topbar-item a { color: inherit; text-decoration: none; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.topbar-item a:hover { color: #fff; border-bottom-color: var(--gold); }
.lang-switch a { color: #cfd8e2; padding: 2px 8px; border-radius: 6px; }
.lang-switch a.on { background: var(--gold); color: var(--navy); font-weight: 700; }

/* ---------------- 导航 ---------------- */
.nav-wrap { background: var(--white); position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 14px rgba(14,36,56,.08); }
.nav-in { display: flex; align-items: center; gap: 26px; min-height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; margin-inline-end: auto; }
.logo-img { height: 46px; width: auto; display: block; }
.logo-tag { font-size: 11.5px; font-weight: 700; color: var(--muted); letter-spacing: .5px; border-inline-start: 1px solid var(--line); padding-inline-start: 10px; max-width: 110px; line-height: 1.35; }
.logo-mark { background: var(--navy); color: var(--gold); font-weight: 800; font-size: 20px; padding: 6px 10px; border-radius: 10px; letter-spacing: 1px; }
.logo-text { font-weight: 800; font-size: 20px; color: var(--navy); line-height: 1.1; }
.logo-text small { display: block; font-size: 10.5px; font-weight: 600; color: var(--muted); letter-spacing: .6px; }
.nav { display: flex; gap: 4px; }
.nav a { padding: 10px 14px; border-radius: 8px; font-weight: 600; font-size: 15px; color: var(--ink); }
.nav a:hover { background: var(--sand); color: var(--navy); }
.nav a.nav-hot { color: var(--gold-2); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; width: 24px; height: 3px; background: var(--navy); margin: 5px 0; border-radius: 2px; transition: .2s; }

/* ---------------- 按钮 ---------------- */
.btn { display: inline-block; padding: 13px 26px; border-radius: 10px; font-weight: 700; font-size: 15px; transition: .18s; cursor: pointer; border: 0; text-align: center; }
.btn-gold { background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: #fff; box-shadow: 0 6px 18px rgba(238,124,35,.35); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(238,124,35,.45); }
.btn-line { border: 2px solid rgba(255,255,255,.55); color: #fff; }
.btn-line:hover { background: rgba(255,255,255,.12); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-3); }

/* ---------------- Hero ---------------- */
.hero { background: linear-gradient(140deg, var(--navy) 55%, var(--navy-3)); color: #fff; position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: url('../img/hero-banner.jpg') center 58%/cover no-repeat; overflow: hidden; }
.hero-bg video { width: 100%; height: 100%; object-fit: cover; object-position: center 58%; display: block; }
@media (prefers-reduced-motion: reduce) { .hero-bg video { display: none; } }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy) 16%, rgba(27,58,107,.74) 40%, rgba(27,58,107,.22) 68%, rgba(27,58,107,.08)); }
[dir="rtl"] .hero-bg::after { background: linear-gradient(270deg, var(--navy) 16%, rgba(27,58,107,.74) 40%, rgba(27,58,107,.22) 68%, rgba(27,58,107,.08)); }
@keyframes heroPan { from { transform: scale(1.02); } to { transform: scale(1.1) translateX(-1.2%); } }
@media (prefers-reduced-motion: reduce) { .hero-bg { animation: none; } }
.hero::before { content: ''; position: absolute; inset: 0; opacity: .14; z-index: 1;
    background-image: radial-gradient(circle at 85% 20%, var(--gold) 0 2px, transparent 2px), radial-gradient(circle at 60% 70%, #fff 0 1.5px, transparent 1.5px);
    background-size: 90px 90px, 60px 60px; }
.hero-in { position: relative; z-index: 2; padding: 96px 0 72px; max-width: 860px; }
.hero-tag { display: inline-block; background: rgba(238,124,35,.16); color: var(--gold); border: 1px solid rgba(238,124,35,.4); padding: 6px 14px; border-radius: 99px; font-size: 13.5px; font-weight: 700; margin-bottom: 22px; letter-spacing: .4px; }
.hero h1 { color: #fff; font-size: clamp(30px, 4.6vw, 52px); margin-bottom: 18px; }
.hero p.sub { font-size: clamp(16px, 1.6vw, 19px); color: #c9d4df; max-width: 720px; margin-bottom: 30px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.hero-stats { display: flex; gap: 0; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.14); padding-top: 26px; }
.hero-stats .stat { padding-inline-end: 44px; margin-inline-end: 44px; border-inline-end: 1px solid rgba(255,255,255,.14); }
.hero-stats .stat:last-child { border: 0; }
.hero-stats b { display: block; font-size: 30px; color: var(--gold); font-weight: 800; }
.hero-stats span { font-size: 13.5px; color: #c9d4df; }

/* ---------------- 通用区块 ---------------- */
.section { padding: 76px 0; }
.section.tint { background: var(--white); }
.sec-head { max-width: 700px; margin-bottom: 44px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head .kicker { color: var(--gold-2); font-weight: 800; font-size: 13px; letter-spacing: 2.2px; text-transform: uppercase; display: block; margin-bottom: 10px; }
.sec-head h2 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 12px; position: relative; padding-bottom: 16px; }
.sec-head h2::after { content: ''; position: absolute; bottom: 0; inset-inline-start: 0; width: 56px; height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--gold), transparent); }
.sec-head.center h2::after { inset-inline-start: calc(50% - 28px); background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.sec-head p { color: var(--muted); font-size: 16.5px; }

/* ---------------- 价值卡（四大核心价值） ---------------- */
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.value-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; transition: .2s; display: flex; flex-direction: column; position: relative; }
.value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.pain-tag { position: absolute; top: 16px; inset-inline-end: 18px; font-size: 11px; font-weight: 800; letter-spacing: .08em; color: var(--gold-2); background: var(--sand); border: 1px solid rgba(238,124,35,.25); border-radius: 999px; padding: 3px 10px; }
.pain-ico { width: 54px; height: 54px; border-radius: 14px; background: linear-gradient(135deg, var(--navy), var(--navy-3)); color: var(--gold); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; box-shadow: 0 6px 14px rgba(27,58,107,.22); }
.pain-ico svg { width: 27px; height: 27px; }
.value-card h3 { font-size: 17px; margin-bottom: 10px; line-height: 1.35; }
.value-card p { color: var(--muted); font-size: 14px; flex: 1; }
.pain-fix { margin-top: 18px; background: var(--sand); border-inline-start: 3px solid var(--gold); border-radius: 0 10px 10px 0; padding: 12px 14px; font-size: 13px; line-height: 1.55; color: var(--ink); }
[dir="rtl"] .pain-fix { border-radius: 10px 0 0 10px; }
.pain-fix span { display: block; font-weight: 800; color: var(--gold-2); text-transform: uppercase; letter-spacing: .06em; font-size: 11px; margin-bottom: 4px; }
.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 8px 0 34px; }
.stat-item { background: var(--navy); border-radius: var(--radius); padding: 20px 18px; text-align: center; }
.stat-item strong { display: block; font-size: 30px; font-weight: 800; color: var(--gold); letter-spacing: -.01em; }
.stat-item span { display: block; margin-top: 6px; font-size: 12.5px; line-height: 1.5; color: rgba(255,255,255,.82); }

/* ---------------- 卡片网格（产品/工厂/案例/文章） ---------------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: .2s; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.card-body h3 { font-size: 17.5px; }
.card-body p { color: var(--muted); font-size: 14.5px; flex: 1; }
.card-foot { padding: 0 22px 22px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

/* 占位图（后台未传图时显示的雅观占位块；后台填了 image 字段则显示真实图片） */
.ph { aspect-ratio: 16 / 10; background: linear-gradient(135deg, var(--navy-2), var(--navy-3)); position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.ph::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27,58,107,.18) 30%, rgba(27,58,107,.62)); }
.ph span { position: relative; color: #fff; font-weight: 700; font-size: 15px; letter-spacing: .5px; text-align: center; padding: 0 16px; text-shadow: 0 2px 10px rgba(12,28,52,.55); }
.ph.gold { background: linear-gradient(135deg, #c05f12, var(--gold)); }
.card-img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }

/* 标签 */
.tag { display: inline-block; background: var(--sand); color: var(--gold-2); border: 1px solid #e6d9bd; font-size: 12.5px; font-weight: 700; padding: 4px 11px; border-radius: 99px; }
.tag.ok { background: #eaf6ea; color: #2e7d32; border-color: #cde5cd; }
.badge-verified { display: inline-flex; align-items: center; gap: 6px; background: #eaf6ea; color: #2e7d32; font-size: 12.5px; font-weight: 800; padding: 4px 11px; border-radius: 99px; }

/* ---------------- 分类三组 ---------------- */
.cat-group { margin-bottom: 48px; }
.grp-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.grp-head .grp-bar { width: 8px; height: 22px; border-radius: 4px; background: var(--gold); align-self: center; }
.grp-head h3 { font-size: 20px; }
.grp-head .grp-count { font-size: 13px; color: var(--muted); font-weight: 600; }
a.card.cat-card { color: inherit; }
.cat-card .ph { aspect-ratio: 16 / 9; }
.cat-card .ph-title { position: absolute; left: 0; right: 0; bottom: 0; padding: 34px 16px 12px; background: linear-gradient(180deg, transparent, rgba(12,28,52,.78)); color: #fff; font-weight: 700; font-size: 16px; text-align: left; z-index: 1; }
[dir="rtl"] .cat-card .ph-title { text-align: right; }
.cat-card:hover .card-img { transform: scale(1.05); }
.cat-card .card-img { transition: transform .35s ease; }
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.cat-card .card-foot .btn { display: inline-block; }

/* ---------------- 工厂卡片 ---------------- */
.factory-card .meta { display: flex; gap: 8px; flex-wrap: wrap; }
.factory-card .meta .m { font-size: 13px; color: var(--muted); }
.factory-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; font-size: 13.5px; color: var(--muted); margin-bottom: 6px; }
.factory-facts b { color: var(--ink); }

/* ---------------- 筛选条 ---------------- */
.filter-bar { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 34px; }
.filter-bar label { font-size: 13.5px; font-weight: 700; color: var(--muted); }
.filter-bar select { padding: 10px 14px; border-radius: 9px; border: 1px solid var(--line); font-family: inherit; font-size: 14.5px; background: var(--bg); min-width: 180px; }
.filter-bar .btn { padding: 10px 22px; }

/* ---------------- 询盘/表单 ---------------- */
.inquiry-wrap { background: linear-gradient(140deg, var(--navy), var(--navy-3)); border-radius: 18px; padding: 46px 42px; color: #fff; }
.inquiry-wrap h2 { color: #fff; font-size: clamp(22px, 2.6vw, 30px); margin-bottom: 10px; }
.inquiry-wrap p.lead { color: #c9d4df; margin-bottom: 28px; max-width: 640px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 13.5px; font-weight: 700; color: #c9d4df; margin-bottom: 7px; }
.field input, .field textarea, .field select { width: 100%; padding: 13px 15px; border-radius: 10px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.08); color: #fff; font-family: inherit; font-size: 15px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,.45); }
.field input:focus, .field textarea:focus { outline: 2px solid var(--gold); border-color: transparent; }
.form-ok { background: #eaf6ea; color: #2e7d32; border: 1px solid #cde5cd; border-radius: 12px; padding: 16px 20px; margin-bottom: 22px; font-weight: 600; }

/* 页面浅色表单（联系我们）：深色卡片内仍用浅色标签保证可读性 */
.form-light .field label { color: #ffffff; font-weight: 700; }
.form-light .field input, .form-light .field textarea, .form-light .field select { background: var(--white); border-color: var(--line); color: var(--ink); }
.form-light .field input::placeholder, .form-light .field textarea::placeholder { color: #9aa5b1; }
.field input[type="file"] { padding: 10px 12px; background: rgba(255,255,255,.12); cursor: pointer; }
.field .hint-line { display: block; font-size: 12.5px; color: rgba(255,255,255,.65); margin-top: 6px; font-weight: 400; }
.form-err { background: #fdecea; color: var(--a-err, #c62828); border: 1px solid #f5c6c0; border-radius: 12px; padding: 14px 18px; margin-bottom: 22px; font-weight: 600; }
.form-light .form-err { color: #c62828; }

/* ---------------- 文章列表 ---------------- */
.pillar-block { margin-bottom: 48px; }
.pillar-block h3 { font-size: 20px; margin-bottom: 18px; display: flex; align-items: center; gap: 12px; }
.pillar-block h3::before { content: ''; width: 8px; height: 22px; border-radius: 4px; background: var(--gold); }
.article-row { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.article-row h4 { font-size: 17px; margin-bottom: 6px; }
.article-row p { color: var(--muted); font-size: 14px; }
.article-row time { color: var(--gold-2); font-weight: 700; font-size: 13px; white-space: nowrap; }

/* 文章正文 */
.article-body { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 42px 46px; max-width: 860px; margin: 0 auto; }
.article-body p { margin-bottom: 18px; font-size: 16.5px; }
.article-meta { display: flex; gap: 14px; align-items: center; margin: 14px 0 30px; color: var(--muted); font-size: 14px; flex-wrap: wrap; }

/* ---------------- 面包屑 ---------------- */
.crumbs { font-size: 13.5px; color: var(--muted); padding: 20px 0 4px; }
.crumbs a { color: var(--gold-2); font-weight: 600; }

/* ---------------- 静态页 ---------------- */
.page-head { background: linear-gradient(140deg, var(--navy), var(--navy-3)); color: #fff; padding: 56px 0; }
.page-head h1 { color: #fff; font-size: clamp(26px, 3.4vw, 38px); }
.static-body { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 44px 48px; max-width: 880px; margin: 48px auto 76px; }
.static-body h2 { font-size: 20px; margin: 28px 0 10px; }
.static-body p, .static-body li { color: #3c4a58; font-size: 15.5px; margin-bottom: 12px; }
.static-body ul { padding-inline-start: 22px; }

/* ---------------- 页脚 ---------------- */
.footer { background: var(--navy); color: #b9c5d1; margin-top: 0; padding-top: 56px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr; gap: 34px; padding-bottom: 40px; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.footer a { display: block; padding: 5px 0; font-size: 14px; color: #b9c5d1; }
.footer a:hover { color: var(--gold); }
.footer .logo-text { color: #fff; }
.footer .logo-text small { color: #8fa0b1; }
.footer-note { font-size: 13.5px; color: #8fa0b1; margin-top: 14px; line-height: 1.7; }
.footer-note a { display: inline; padding: 0; color: #cfd8e2; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .28); text-underline-offset: 3px; }
.footer-note a:hover { color: var(--gold); text-decoration-color: var(--gold); }
.footer-bar { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; padding-bottom: 26px; font-size: 13px; color: #8fa0b1; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1024px) {
    .values-grid, .stat-strip { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
    .nav-cta { display: none; }
    .nav-toggle { display: block; order: 3; }
    .nav { display: none; position: absolute; top: 100%; inset-inline: 0; background: var(--white); flex-direction: column; padding: 12px 22px 20px; box-shadow: 0 14px 30px rgba(14,36,56,.14); }
    body.nav-open .nav { display: flex; }
    .nav a { padding: 13px 10px; border-bottom: 1px solid var(--line); border-radius: 0; }
    .grid-3, .grid-2, .values-grid, .stat-strip, .form-grid { grid-template-columns: 1fr; }
    .hero-in { padding: 64px 0 54px; }
    .hero-stats .stat { padding-inline-end: 22px; margin-inline-end: 22px; }
    .hero-stats b { font-size: 24px; }
    .inquiry-wrap { padding: 32px 22px; }
    .article-body, .static-body { padding: 28px 22px; }
    .footer-grid { grid-template-columns: 1fr; gap: 22px; }
    .section { padding: 54px 0; }
}

/* ===== 产品集合页 SEO 承接模块 ===== */
.grp-intro { max-width: 860px; color: var(--muted); font-size: 14.5px; line-height: 1.75; margin: -8px 0 20px; }
.ph { position: relative; }
.ph-badge { position: absolute; top: 12px; inset-inline-end: 12px; background: rgba(27,58,107,.92); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; backdrop-filter: blur(3px); }
.mat-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 4px; }
.mat-chips .chip { font-size: 12px; font-weight: 600; color: var(--navy-3); background: rgba(27,58,107,.08); border: 1px solid rgba(27,58,107,.16); padding: 3px 10px; border-radius: 999px; }
.moq-line { font-size: 12.5px !important; color: var(--muted) !important; margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
.tbl th { background: var(--navy); color: #fff; text-align: start; padding: 12px 16px; font-size: 13.5px; letter-spacing: .3px; }
.tbl td { padding: 12px 16px; border-top: 1px solid var(--line); color: var(--ink); line-height: 1.6; }
.tbl tr:nth-child(even) td { background: #fafbfc; }
.faq-list { display: grid; gap: 14px; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; }
.faq-item h4 { font-size: 15.5px; margin-bottom: 8px; display: flex; gap: 10px; align-items: baseline; }
.faq-item h4::before { content: 'Q'; flex: 0 0 22px; height: 22px; border-radius: 6px; background: var(--gold); color: #fff; font-size: 13px; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; }
.faq-item p { color: var(--muted); font-size: 14px; line-height: 1.7; }
.cta-band { margin-top: 46px; background: linear-gradient(120deg, var(--navy), var(--navy-3)); border-radius: var(--radius-lg, 18px); color: #fff; padding: 34px 38px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h3 { font-size: 21px; margin-bottom: 8px; color: #fff !important; }
.cta-band p { color: #c6d2e0; font-size: 14.5px; max-width: 560px; }
.cta-band .btn-gold { flex-shrink: 0; }

/* ===== 资源页 SEO 承接模块 ===== */
.tag-cloud { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 12px; }
.tc-label { font-weight: 700; font-size: 14px; color: var(--ink); }
.tc-pill { font-size: 13px; font-weight: 700; color: var(--navy-3); background: rgba(27,58,107,.08); border: 1px solid rgba(27,58,107,.18); padding: 6px 14px; border-radius: 999px; transition: .15s; }
.tc-pill:hover { background: var(--navy); color: #fff; }
.kw-cloud { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 30px; }
.kw-pill { font-size: 12.5px; font-weight: 600; color: var(--muted); background: var(--white); border: 1px dashed var(--line); padding: 5px 12px; border-radius: 999px; transition: .15s; }
.kw-pill:hover { border-color: var(--gold); color: var(--gold-2); border-style: solid; }
.row-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 10px; font-size: 12.5px; color: var(--muted); }
.row-meta .chip { font-size: 12px; font-weight: 600; color: var(--navy-3); background: rgba(27,58,107,.08); border: 1px solid rgba(27,58,107,.16); padding: 3px 10px; border-radius: 999px; }
.row-meta .read-more { margin-inline-start: auto; font-weight: 700; color: var(--gold-2); white-space: nowrap; }
.row-meta .read-more:hover { text-decoration: underline; }

/* ===== 资源页左右双栏布局 ===== */
.res-layout { display: grid; grid-template-columns: 272px minmax(0, 1fr); gap: 48px; align-items: start; max-width: 1180px !important; }
.res-side { position: sticky; top: 96px; display: grid; gap: 16px; }
.side-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.side-card h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .8px; color: var(--muted); margin-bottom: 14px; }
.side-nav { display: grid; gap: 2px; }
.side-nav a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 12px; border-radius: 9px; font-size: 14px; font-weight: 600; color: var(--ink); transition: .15s; }
.side-nav a:hover { background: rgba(27,58,107,.06); color: var(--navy); }
.side-nav a em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--white); background: var(--navy-3); min-width: 22px; height: 20px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; padding: 0 7px; }
.side-kw { display: flex; flex-wrap: wrap; gap: 8px; }
.side-kw a { font-size: 12.5px; font-weight: 600; color: var(--muted); background: var(--bg); border: 1px dashed var(--line); padding: 5px 11px; border-radius: 999px; transition: .15s; }
.side-kw a:hover { border-color: var(--gold); border-style: solid; color: var(--gold-2); }
.side-cta { background: linear-gradient(140deg, var(--navy), var(--navy-3)); border-color: transparent; }
.side-cta h4 { color: #9fb4cd; }
.side-cta p { color: #c6d2e0; font-size: 13.5px; line-height: 1.6; margin-bottom: 14px; }
.btn-sm { padding: 9px 18px !important; font-size: 13px !important; }
.res-main { min-width: 0; }
.res-main .pillar-block { scroll-margin-top: 100px; }
.res-main .article-row { padding: 20px 0; }
@media (max-width: 980px) {
  .res-layout { grid-template-columns: 1fr; gap: 28px; }
  .res-side { position: static; }
  .res-side .side-card:nth-child(2) { display: none; }
}

/* ===== 工厂目录 / 工程案例 SEO 承接模块 ===== */
.step-list { margin: 0; padding: 0 0 0 0; counter-reset: step; list-style: none; display: grid; gap: 10px; }
.step-list li { counter-increment: step; position: relative; padding-inline-start: 34px; font-size: 13.5px; line-height: 1.55; color: var(--ink); }
.step-list li::before { content: counter(step); position: absolute; inset-inline-start: 0; top: 0; width: 22px; height: 22px; border-radius: 7px; background: var(--gold); color: #fff; font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.mini-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mini-stats div { background: var(--bg); border-radius: 10px; padding: 12px 10px; text-align: center; }
.mini-stats strong { display: block; font-size: 20px; color: var(--navy); font-weight: 800; margin-bottom: 2px; }
.mini-stats span { font-size: 11.5px; color: var(--muted); }
.check-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.check-list li { position: relative; padding-inline-start: 30px; font-size: 14px; line-height: 1.6; color: var(--ink); }
.check-list li::before { content: '✔'; position: absolute; inset-inline-start: 0; top: 0; width: 20px; height: 20px; border-radius: 6px; background: rgba(238,124,35,.14); color: var(--gold-2); font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.proj-meta { display: flex; flex-wrap: wrap; gap: 14px; margin: 8px 0 10px; font-size: 13px; color: var(--muted); font-weight: 600; }
.side-kw a { text-align: start; }

/* ===== 主导航 Mega Menu ===== */
.nav-item { position: relative; }
.nav-item .nav-link { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 8px; font-weight: 600; font-size: 15px; color: var(--ink); }
.nav-item .nav-link:hover { background: var(--sand); color: var(--navy); }
.nav-item .caret { transition: transform .2s; opacity: .55; }
.has-mega:hover .caret, .has-mega:focus-within .caret { transform: rotate(180deg); }
.mega { position: absolute; top: 100%; inset-inline-start: 50%; transform: translate(-50%, 8px); width: min(760px, calc(100vw - 40px)); background: var(--white); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 24px 60px rgba(23,45,80,.16); padding: 26px 30px; display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 6px 34px; opacity: 0; visibility: hidden; transition: opacity .18s ease, transform .18s ease, visibility .18s; z-index: 60; }
.mega::before { content: ''; position: absolute; top: -14px; inset-inline: 0; height: 14px; }
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega-col h5 { font-size: 11.5px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin: 4px 0 10px; font-weight: 700; }
.mega-link { display: block; padding: 9px 12px; border-radius: 9px; font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.35; transition: background .12s, color .12s; }
.mega-link:hover { background: var(--sand); color: var(--navy); }
.mega-all { color: var(--gold-2); font-weight: 700; }
[dir="rtl"] .mega { text-align: right; }
@media (max-width: 720px) {
  .mega { display: none; }
  .has-mega .caret { display: none; }
  .nav-item .nav-link { display: block; }
}

/* Mega Menu 图标 */
.mega-link { display: flex; align-items: center; gap: 10px; }
.mega-ico { flex: 0 0 auto; width: 17px; height: 17px; color: var(--navy-3); display: inline-flex; }
.mega-ico svg { width: 100%; height: 100%; }
.mega-link:hover .mega-ico { color: var(--gold-2); }

/* ================= 产品详情页（单品落地页） ================= */
.pd-top { background: var(--white); border-bottom: 1px solid var(--line); }
.pd-top .crumbs { padding: 15px 0; display: flex; flex-wrap: wrap; gap: 7px; align-items: center; }
.pd-top .crumbs a { color: var(--navy-3); font-weight: 600; }
.pd-top .crumbs > span { color: #b9c2cc; }
.pd-top .crumb-cur { color: var(--muted); max-width: 48ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.pd-hero { padding: 40px 0 12px; background: linear-gradient(180deg, var(--bg) 0%, rgba(248,246,242,0) 80%); }
.pd-wrap { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: 46px; align-items: start; }

.pd-gallery { position: sticky; top: 96px; }
.pd-main { position: relative; background: #f4f1ec; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; box-shadow: 0 26px 50px -34px rgba(11,26,48,.5); }
.pd-main img { width: 100%; height: 100%; object-fit: contain; display: block; }
.pd-main.is-empty { background: linear-gradient(135deg, var(--navy-2), var(--navy-3)); }
.pd-main.is-empty span { color: #fff; font-weight: 700; font-size: 17px; padding: 0 30px; text-align: center; }
.pd-flag { position: absolute; top: 14px; inset-inline-start: 14px; background: var(--gold); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .3px; padding: 5px 12px; border-radius: 999px; box-shadow: 0 8px 18px -8px rgba(238,124,35,.8); }
.pd-note { font-size: 12.5px; color: var(--muted); line-height: 1.6; margin-top: 12px; padding-inline-start: 12px; border-inline-start: 2px solid var(--line); }

.pd-cat { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: var(--gold-2); background: var(--sand); border: 1px solid #ecdcc4; padding: 5px 12px; border-radius: 999px; }
.pd-cat::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.pd-info h1 { font-size: clamp(24px, 2.5vw, 33px); line-height: 1.24; margin: 14px 0 12px; color: var(--navy); }
.pd-lead { color: var(--muted); font-size: 15.5px; line-height: 1.75; }

.pd-hl { list-style: none; margin: 22px 0 24px; display: grid; gap: 11px; }
.pd-hl li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; color: #3f4a58; line-height: 1.5; }
.pd-hl li b { color: var(--navy); font-weight: 700; }
.pd-hl .ico { flex: 0 0 20px; width: 20px; height: 20px; border-radius: 50%; background: rgba(238,124,35,.14); color: var(--gold-2); display: inline-flex; align-items: center; justify-content: center; margin-top: 1px; }

.pd-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.pd-cta .btn { min-width: 176px; }

.pd-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 24px; padding-top: 20px; border-top: 1px dashed var(--line); }
.pd-trust div { display: flex; flex-direction: column; align-items: center; gap: 7px; text-align: center; font-size: 12.5px; font-weight: 600; color: #55616f; line-height: 1.4; }
.pd-trust svg { color: var(--navy-3); }

.pd-body { padding-top: 54px; }
.pd-cols { display: grid; grid-template-columns: minmax(0, 1fr) 328px; gap: 54px; align-items: start; }
.pd-main-col { min-width: 0; }
.pd-block { margin-bottom: 44px; }
.pd-block > p { color: #4a5563; font-size: 15px; line-height: 1.8; margin-bottom: 12px; }
.pd-h2 { font-size: 20px; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--line); position: relative; color: var(--navy); }
.pd-h2::after { content: ''; position: absolute; bottom: -1px; inset-inline-start: 0; width: 54px; height: 2px; background: var(--gold); border-radius: 2px; }

/* 规格表：两列键值，覆盖全局 .tbl 的深色表头 */
.spec-tbl { min-width: 0; }
.spec-tbl th { background: #f7f5f1; color: var(--navy); font-weight: 700; font-size: 13.5px; width: 34%; min-width: 148px; vertical-align: top; border-top: 1px solid var(--line); letter-spacing: 0; }
.spec-tbl td { color: #46515f; font-size: 14px; }
.spec-tbl tr:nth-child(even) td { background: transparent; }
.spec-tbl tr:nth-child(even) th { background: #f7f5f1; }
.spec-tbl tbody tr:first-child th, .spec-tbl tbody tr:first-child td { border-top: 0; }
.spec-tbl .pd-dim-note { color: #9aa5b1; font-size: 12.5px; }
.pd-inlink { color: var(--navy-3); font-weight: 600; border-bottom: 1px dashed rgba(46,90,158,.45); }

/* 定制选项 */
.opt-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.opt { background: var(--white); border: 1px solid var(--line); border-inline-start: 3px solid var(--gold); border-radius: 12px; padding: 16px 18px; }
.opt h4 { font-size: 14.5px; margin-bottom: 7px; color: var(--navy); }
.opt p { font-size: 13px; color: var(--muted); line-height: 1.65; }

/* 合规徽章 */
.cert-row { display: flex; flex-wrap: wrap; gap: 8px; }
.cert-row span { font-size: 12px; font-weight: 700; color: var(--navy); background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 6px 13px; }
.cert-row span::before { content: '✓ '; color: #2e7d32; }

/* 相关产品 */
.pd-rel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pd-rel .card-body h3 { font-size: 14.5px; line-height: 1.4; }
.pd-rel .card-body p { font-size: 12.5px; }
.pd-rel .card-body { padding: 16px; }
.pd-rel .card-foot { padding: 0 16px 16px; }
.pd-rel .btn { font-size: 12.5px; padding: 9px 14px; }

/* 可点击的产品卡（列表页 / 相关产品共用） */
a.prod-card { color: inherit; text-decoration: none; }
a.prod-card:hover { border-color: rgba(238,124,35,.45); }
a.prod-card:hover .card-body h3 { color: var(--gold-2); }
a.prod-card .card-body h3 { transition: color .16s; }

/* 侧栏 */
.pd-side { position: sticky; top: 96px; display: grid; gap: 18px; }
.side-card { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; }
.side-card h4 { font-size: 13.5px; letter-spacing: .4px; color: var(--navy); margin-bottom: 12px; text-transform: uppercase; }
.qf { list-style: none; display: grid; }
.qf li { display: flex; justify-content: space-between; gap: 14px; font-size: 13px; padding: 9px 0; border-bottom: 1px dashed var(--line); color: var(--muted); }
.qf li:first-child { padding-top: 0; }
.qf li:last-child { border-bottom: 0; padding-bottom: 0; }
.qf b { color: var(--navy); font-weight: 700; text-align: end; }
.side-cta { border-color: rgba(238,124,35,.35); background: linear-gradient(180deg, #fffdfa, var(--white)); }
.side-cta p { font-size: 13px; color: var(--muted); line-height: 1.65; margin-bottom: 14px; }
.side-cta h4 + p { margin-top: 2px; }
.btn-block { display: block; width: 100%; }
.side-small { font-size: 12.5px; color: var(--muted); margin-top: 10px; word-break: break-all; }
.side-links { list-style: none; display: grid; gap: 10px; }
.side-links a { font-size: 13.5px; color: #46515f; font-weight: 600; line-height: 1.5; display: block; padding-inline-start: 16px; position: relative; }
.side-links a::before { content: '→'; position: absolute; inset-inline-start: 0; color: var(--gold-2); font-weight: 700; }
.side-links a:hover { color: var(--gold-2); }
[dir="rtl"] .side-links a::before { content: '←'; }

/* 询盘页：来自产品页的型号提示 */
.ref-pill { display: inline-block; background: var(--sand); border: 1px solid #ecdcc4; color: var(--navy); font-size: 13px; font-weight: 600; padding: 7px 14px; border-radius: 999px; margin-bottom: 14px; }
.ref-pill b { color: var(--gold-2); font-weight: 800; letter-spacing: .3px; }

@media (max-width: 1024px) {
  .pd-wrap, .pd-cols { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .pd-gallery, .pd-side { position: static; }
  .pd-hero { padding-top: 26px; }
}
@media (max-width: 720px) {
  .pd-rel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .opt-grid { grid-template-columns: 1fr; }
  .pd-trust { grid-template-columns: 1fr; gap: 14px; }
  .pd-trust div { flex-direction: row; justify-content: flex-start; text-align: start; }
  .pd-cta .btn { flex: 1 1 100%; }
  .pd-cols, .pd-wrap { gap: 26px; }
  .side-card { padding: 18px; }
}

/* ============ 首页产品线双巨幅入口 ============ */
.cat-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 40px; }
.duo-card {
  position: relative; border-radius: 20px; overflow: hidden;
  min-height: 470px; display: flex; align-items: flex-end;
  box-shadow: 0 26px 52px -20px rgba(27, 58, 107, .38);
  isolation: isolate; transition: transform .35s ease, box-shadow .35s ease;
}
.duo-card:hover { transform: translateY(-6px); box-shadow: 0 34px 64px -22px rgba(27, 58, 107, .48); }
.duo-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: -2;
  transition: transform .9s cubic-bezier(.2, .6, .2, 1);
}
.duo-card:hover .duo-img { transform: scale(1.06); }
.duo-shade {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(15, 30, 55, .08) 30%, rgba(13, 27, 52, .58) 62%, rgba(10, 22, 45, .94) 100%);
}
.duo-card:hover .duo-shade { background: linear-gradient(180deg, rgba(15, 30, 55, .04) 26%, rgba(13, 27, 52, .62) 60%, rgba(10, 22, 45, .95) 100%); }
.duo-body { padding: 30px 32px 32px; width: 100%; }
.duo-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 700; color: #ffcfa0;
  background: rgba(238, 124, 35, .2); border: 1px solid rgba(238, 124, 35, .5);
  padding: 6px 13px; border-radius: 999px; backdrop-filter: blur(5px);
}
html[dir="rtl"] .duo-kicker { letter-spacing: 0; }
.duo-body h3 { color: #fff !important; font-size: 26px; margin: 15px 0 7px; line-height: 1.25; }
.duo-body > p { color: #d9e3f0; font-size: 14.5px; margin: 0 0 20px; }
.duo-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.duo-chip {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 15px; border-radius: 999px;
  background: rgba(255, 255, 255, .13); border: 1px solid rgba(255, 255, 255, .3);
  color: #fff; font-size: 13.5px; font-weight: 600;
  backdrop-filter: blur(6px); transition: background .25s ease, transform .25s ease;
}
.duo-chip b { font-size: 11.5px; background: var(--gold, #ee7c23); color: #fff; border-radius: 999px; padding: 2px 9px; font-weight: 700; }
.duo-chip:hover { background: rgba(255, 255, 255, .26); transform: translateY(-2px); color: #fff; }
.duo-cta {
  display: inline-flex; align-items: center; gap: 9px;
  color: #fff; font-weight: 700; font-size: 14.5px;
  border-bottom: 2px solid var(--gold, #ee7c23); padding-bottom: 4px;
  transition: color .25s ease;
}
.duo-cta span { transition: transform .25s ease; }
.duo-cta:hover { color: #ffcfa0; }
.duo-card:hover .duo-cta span { transform: translateX(6px); }
html[dir="rtl"] .duo-cta span { transform: scaleX(-1); }
html[dir="rtl"] .duo-card:hover .duo-cta span { transform: scaleX(-1) translateX(6px); }
@media (max-width: 900px) {
  .cat-duo { grid-template-columns: 1fr; gap: 20px; }
  .duo-card { min-height: 380px; }
  .duo-body { padding: 24px 22px 26px; }
  .duo-body h3 { font-size: 22px; }
}

/* ============ 联系入口链接（邮箱 / WhatsApp） ============ */
.static-body a,
.side-small a {
  color: var(--navy-3);
  text-decoration: underline;
  text-decoration-color: rgba(46, 90, 158, .35);
  text-underline-offset: 3px;
  word-break: break-all;
  transition: color .2s, text-decoration-color .2s;
}
.static-body a:hover,
.side-small a:hover { color: var(--gold); text-decoration-color: var(--gold); }
