/* ============================================================
   TGK Parts 双语站 · 极简排版 v2
   原则：去卡片化、单栏阅读、留白分层、一主色+灰阶
   ============================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: -apple-system, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", Arial, sans-serif; color: #1f2937; background: #fff; line-height: 1.75; font-size: 15px; -webkit-font-smoothing: antialiased; }
a { color: #195edd; text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: 980px; margin: 0 auto; padding: 0 24px; }

/* ---- 顶部导航 ---- */
.site-header { background: #fff; border-bottom: 1px solid #e5e7eb; position: sticky; top: 0; z-index: 100; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 58px; }
.logo { font-size: 18px; font-weight: 800; color: #111827; letter-spacing: .3px; }
.logo span { color: #195edd; }
.main-nav { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
.main-nav a { color: #4b5563; font-size: 13.5px; font-weight: 500; }
.main-nav a:hover { color: #195edd; text-decoration: none; }
.main-nav a.nav-cta { background: #195edd; color: #fff; padding: 6px 14px; border-radius: 6px; font-weight: 600; }
.main-nav a.nav-cta:hover { background: #1249b0; }
.main-nav a.lang-sw { border: 1px solid #d1d5db; border-radius: 6px; padding: 4px 10px; font-size: 12.5px; font-weight: 600; color: #374151; }
.main-nav a.lang-sw:hover { border-color: #195edd; color: #195edd; text-decoration: none; }

/* ---- Hero（深色通栏，仅首页） ---- */
.hero { background: #0f2a5e; color: #fff; padding: 72px 24px 64px; }
.hero .container { max-width: 980px; }
.hero h1 { font-size: 32px; font-weight: 800; line-height: 1.35; margin-bottom: 16px; max-width: 720px; }
.hero p { font-size: 15.5px; color: #b9c8e8; max-width: 640px; margin-bottom: 22px; }
.hero-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-badges span { border: 1px solid rgba(255,255,255,.28); border-radius: 999px; padding: 3px 12px; font-size: 12.5px; color: #dbe4f5; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-block; border-radius: 6px; padding: 11px 24px; font-size: 14.5px; font-weight: 600; }
.btn-primary { background: #f59e0b; color: #1e293b; }
.btn-primary:hover { background: #e08e00; text-decoration: none; }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.4); }
.btn-ghost:hover { background: rgba(255,255,255,.08); text-decoration: none; }

/* ---- 区块（留白分层，无底色块交替） ---- */
.section { padding: 52px 24px; }
.section + .section { border-top: 1px solid #f0f1f3; }
.sec-head { margin-bottom: 28px; }
.sec-head h2 { font-size: 21px; font-weight: 700; color: #111827; margin-bottom: 4px; }
.sec-head p { font-size: 13.5px; color: #6b7280; }

/* ---- 品类列表（无卡片，行分隔） ---- */
.cat-list { border-top: 1px solid #e5e7eb; }
.cat-row { display: flex; align-items: baseline; gap: 18px; padding: 18px 4px; border-bottom: 1px solid #e5e7eb; }
.cat-row:hover { background: #f8faff; }
.cat-row .icon { font-size: 22px; flex-shrink: 0; width: 32px; text-align: center; }
.cat-row .txt { flex: 1; }
.cat-row h3 { font-size: 15.5px; font-weight: 700; color: #111827; display: inline; margin-right: 10px; }
.cat-row h3 a { color: #111827; }
.cat-row h3 a:hover { color: #195edd; }
.cat-row p { display: inline; font-size: 13.5px; color: #6b7280; }
.cat-row .go { color: #9ca3af; font-size: 18px; flex-shrink: 0; }

/* ---- 优势（顶部短条，无盒子） ---- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
@media (max-width: 760px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
.why-item { padding-top: 14px; border-top: 3px solid #195edd; }
.why-item h3 { font-size: 15px; font-weight: 700; color: #111827; margin-bottom: 6px; }
.why-item p { font-size: 13px; color: #6b7280; line-height: 1.7; }

/* ---- 产品列表（行式，无大卡片） ---- */
.prod-list { border-top: 1px solid #e5e7eb; }
.prod-row { display: flex; align-items: center; gap: 20px; padding: 16px 4px; border-bottom: 1px solid #e5e7eb; }
.prod-row:hover { background: #f8faff; }
.prod-row .thumb { width: 52px; height: 52px; border-radius: 8px; background: #eef4ff; display: flex; align-items: center; justify-content: center; font-size: 24px; flex-shrink: 0; }
.prod-row .info { flex: 1; min-width: 0; }
.prod-row h3 { font-size: 15px; font-weight: 700; color: #111827; margin-bottom: 2px; }
.prod-row h3 a { color: #111827; }
.prod-row h3 a:hover { color: #195edd; }
.prod-row .mpn { font-size: 12.5px; color: #195edd; font-weight: 600; font-family: Consolas, Menlo, monospace; margin-bottom: 3px; }
.prod-row .desc { font-size: 13px; color: #6b7280; }
.prod-row .tags { display: flex; gap: 6px; flex-shrink: 0; }
.prod-row .tags span { font-size: 11.5px; color: #195edd; background: #eef4ff; border-radius: 4px; padding: 2px 8px; white-space: nowrap; }
@media (max-width: 640px) { .prod-row { flex-wrap: wrap; } .prod-row .tags { width: 100%; padding-left: 72px; } }

/* ---- FAQ（无盒子） ---- */
.faq-list { border-top: 1px solid #e5e7eb; }
.faq-item { padding: 16px 4px; border-bottom: 1px solid #e5e7eb; }
.faq-item h3 { font-size: 14.5px; font-weight: 700; color: #111827; margin-bottom: 5px; }
.faq-item p { font-size: 13.5px; color: #6b7280; max-width: 760px; }

/* ---- 面包屑 ---- */
.breadcrumb { font-size: 12.5px; color: #9ca3af; margin-bottom: 14px; }
.breadcrumb a { color: #6b7280; }

/* ---- 内页标题区（白底，非深色通栏） ---- */
.page-head { padding: 40px 24px 8px; }
.page-head h1 { font-size: 26px; font-weight: 800; color: #111827; margin-bottom: 8px; }
.page-head p { font-size: 14px; color: #6b7280; max-width: 720px; }

/* ---- 正文单栏 ---- */
.page-body { padding: 12px 24px 56px; }
.prose { max-width: 760px; }
.prose h2 { font-size: 18px; font-weight: 700; color: #111827; margin: 36px 0 12px; padding-top: 24px; border-top: 1px solid #f0f1f3; }
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.prose p { margin-bottom: 14px; color: #374151; }
.prose ul, .prose ol { margin: 0 0 14px 20px; color: #374151; }
.prose li { margin-bottom: 6px; }
.prose strong { color: #111827; }
.prose ul.plain { list-style: none; margin-left: 0; }
.note { border-left: 3px solid #195edd; background: #f8faff; padding: 12px 16px; font-size: 13.5px; color: #374151; margin: 16px 0; }

/* ---- 规格表 ---- */
.spec-table { width: 100%; border-collapse: collapse; margin: 16px 0 20px; font-size: 13.5px; }
.spec-table th { text-align: left; font-weight: 600; color: #6b7280; width: 200px; padding: 9px 14px; border-bottom: 1px solid #e5e7eb; vertical-align: top; }
.spec-table td { padding: 9px 14px; border-bottom: 1px solid #e5e7eb; color: #1f2937; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: none; }

/* ---- 通栏 CTA（页面底部） ---- */
.cta-bar { background: #0f2a5e; color: #fff; padding: 40px 24px; margin-top: 48px; }
.cta-bar .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-bar h2 { font-size: 19px; font-weight: 700; margin-bottom: 4px; }
.cta-bar p { font-size: 13.5px; color: #b9c8e8; }
.cta-bar .btn-primary { flex-shrink: 0; }

/* ---- 博客列表 ---- */
.post-list { border-top: 1px solid #e5e7eb; }
.post-item { display: block; padding: 20px 4px; border-bottom: 1px solid #e5e7eb; color: inherit; }
.post-item:hover { background: #f8faff; text-decoration: none; }
.post-item h2 { font-size: 16.5px; font-weight: 700; color: #111827; margin-bottom: 5px; }
.post-item p { font-size: 13.5px; color: #6b7280; max-width: 680px; }
.post-meta { font-size: 12px; color: #9ca3af; margin-top: 6px; }

/* ---- 询盘表单 ---- */
.inquiry-form { max-width: 560px; }
.inquiry-form label { display: block; font-size: 13px; font-weight: 600; color: #374151; margin: 16px 0 6px; }
.inquiry-form input, .inquiry-form select, .inquiry-form textarea { width: 100%; border: 1px solid #d1d5db; border-radius: 6px; padding: 9px 12px; font-size: 14px; font-family: inherit; background: #fff; }
.inquiry-form input:focus, .inquiry-form select:focus, .inquiry-form textarea:focus { outline: none; border-color: #195edd; }
.inquiry-form button { margin-top: 20px; background: #195edd; color: #fff; border: none; border-radius: 6px; padding: 11px 26px; font-size: 14.5px; font-weight: 600; cursor: pointer; }
.inquiry-form button:hover { background: #1249b0; }

/* ---- 联系信息列表 ---- */
.contact-list { border-top: 1px solid #e5e7eb; max-width: 560px; }
.contact-list div { display: flex; gap: 20px; padding: 13px 4px; border-bottom: 1px solid #e5e7eb; font-size: 14px; }
.contact-list .k { width: 130px; color: #6b7280; flex-shrink: 0; }
.contact-list .v { color: #1f2937; font-weight: 500; }

/* ---- 页脚 ---- */
.site-footer { background: #111827; color: #9ca3af; padding: 44px 24px 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.site-footer h4 { color: #e5e7eb; font-size: 13px; margin-bottom: 12px; font-weight: 600; }
.site-footer ul { list-style: none; }
.site-footer li { font-size: 13px; padding: 4px 0; }
.site-footer a { color: #9ca3af; }
.site-footer a:hover { color: #fff; }
.footer-brand { font-size: 17px; font-weight: 800; color: #fff; margin-bottom: 10px; }
.footer-brand span { color: #60a5fa; }
.footer-desc { font-size: 12.5px; line-height: 1.8; max-width: 300px; }
.footer-bottom { border-top: 1px solid #1f2937; padding-top: 20px; font-size: 12px; text-align: center; color: #6b7280; }
.footer-bottom a { color: #9ca3af; }

/* ---- 友情链接（footer） ---- */
.footer-links { border-top: 1px solid #1f2937; margin-top: 8px; padding-top: 20px; margin-bottom: 20px; }
.footer-links h4 { font-size: 13px; font-weight: 700; color: #d1d5db; margin-bottom: 10px; }
.footer-links ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 26px; }
.footer-links li { font-size: 12.5px; color: #9ca3af; }
.footer-links li span { color: #6b7280; }
.footer-links a { color: #93b4f5; font-weight: 600; }
.footer-links a:hover { color: #fff; text-decoration: none; }

/* ---- 首页「访问主站」导流区块 ---- */
.main-site-promo { background: #f1f5fb; border-top: 1px solid #e2e8f0; border-bottom: 1px solid #e2e8f0; }
.promo-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.promo-txt h2 { font-size: 21px; font-weight: 800; color: #0f2a5e; margin-bottom: 6px; }
.promo-txt p { font-size: 14px; color: #475569; max-width: 640px; }
.main-site-promo .btn-primary { flex-shrink: 0; background: #195edd; color: #fff; padding: 10px 22px; border-radius: 8px; font-weight: 700; font-size: 14.5px; }
.main-site-promo .btn-primary:hover { background: #1249b0; text-decoration: none; }
@media (max-width: 720px) { .promo-inner { flex-direction: column; align-items: flex-start; } }
