/* 金钥匙品牌礼品定制 goldenkeygift.com */
:root {
    --bg: #FAF8F3;
    --bg-soft: #F3EEE4;
    --card: #FFFFFF;
    --gold: #B58B37;
    --gold-dark: #8A6623;
    --gold-deep: #6E5119;
    --gold-tint: #F5ECD9;
    --title: #242424;
    --text: #505050;
    --muted: #6B6B6B;
    --border: #E8E2D7;
    --dark-color: #262421;
    --white: #FFFFFF;
    --accent-color: #E2C17E;
    --primary-color: #242424;
    --danger: #B3261E;
    --ok: #2E6B3A;
    --radius: 14px;
    --radius-sm: 8px;
    --shadow: 0 1px 2px rgba(36, 36, 36, .04), 0 8px 24px rgba(36, 36, 36, .06);
    --transition: all .25s ease;
    --max: 1200px;
    --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.75;
    overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-dark); text-decoration: none; }
a:hover { color: var(--gold-deep); text-decoration: underline; }
h1, h2, h3, h4 { color: var(--title); line-height: 1.35; margin: 0 0 .6em; font-weight: 700; letter-spacing: .01em; }
h1 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.95rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; margin: 0 0 1em; }
li { margin-bottom: .35em; }
:focus-visible { outline: 3px solid var(--gold-dark); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--title); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 200; }
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.section-alt { background: var(--card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 720px; margin-bottom: 36px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow { display: inline-block; color: var(--gold-dark); font-size: .85rem; font-weight: 600; letter-spacing: .12em; margin-bottom: 10px; }
.eyebrow::before { content: ""; display: inline-block; width: 22px; height: 2px; background: var(--gold); vertical-align: middle; margin-right: 8px; }
.lead { font-size: 1.08rem; color: var(--text); }
.muted { color: var(--muted); font-size: .92rem; }

/* ---------- 按钮 ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 46px; padding: 10px 22px; border-radius: 999px;
    font-size: 1rem; font-weight: 600; line-height: 1.2; cursor: pointer;
    border: 1.5px solid transparent; transition: var(--transition); text-decoration: none;
    font-family: inherit;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--gold-dark); color: #fff; }
.btn-primary:hover { background: var(--gold-deep); color: #fff; }
.btn-dark { background: var(--title); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; }
.btn-outline { background: transparent; color: var(--title); border-color: var(--title); }
.btn-outline:hover { background: var(--title); color: #fff; }
.btn-light { background: #fff; color: var(--title); border-color: var(--border); }
.btn-light:hover { border-color: var(--gold); color: var(--gold-deep); }
.btn-sm { min-height: 38px; padding: 7px 16px; font-size: .92rem; }
.btn[disabled], .btn.is-loading { opacity: .65; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn.added { background: var(--ok); border-color: var(--ok); color: #fff; }

/* ---------- 顶部导航 ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(250, 248, 243, .96);
    -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
    border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); }
.logo a { color: var(--primary-color); text-decoration: none; transition: opacity .3s; display: flex; align-items: center; gap: 10px; }
.logo a:hover { opacity: .8; }
.logo-mark { width: 40px; height: 40px; flex: 0 0 40px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text strong { font-size: 1.08rem; color: var(--title); letter-spacing: .04em; }
.logo-text small { font-size: .7rem; color: var(--gold-dark); letter-spacing: .08em; font-weight: 600; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.nav-list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-item { position: relative; margin: 0; }
.nav-link, .nav-toggle {
    display: flex; align-items: center; gap: 4px; padding: 10px 11px; border-radius: 8px;
    color: var(--title); font-size: .96rem; font-weight: 500; background: none; border: 0;
    cursor: pointer; font-family: inherit; white-space: nowrap;
}
.nav-link:hover, .nav-toggle:hover { color: var(--gold-deep); background: var(--gold-tint); text-decoration: none; }
.nav-link[aria-current="page"], .nav-item.is-current > .nav-toggle { color: var(--gold-deep); }
.nav-toggle .caret { width: 10px; height: 10px; transition: transform .2s; }
.nav-toggle[aria-expanded="true"] .caret { transform: rotate(180deg); }
.submenu {
    position: absolute; top: calc(100% + 6px); left: 0; min-width: 220px;
    background: #fff; border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow);
    list-style: none; padding: 8px; margin: 0; display: none;
}
.submenu.wide { min-width: 420px; display: none; grid-template-columns: 1fr 1fr; }
.nav-item.open > .submenu { display: block; }
.nav-item.open > .submenu.wide { display: grid; }
@media (hover: hover) and (min-width: 1181px) {
    .nav-item:hover > .submenu { display: block; }
    .nav-item:hover > .submenu.wide { display: grid; }
}
.submenu li { margin: 0; }
.submenu a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--title); font-size: .94rem; }
.submenu a:hover { background: var(--gold-tint); color: var(--gold-deep); text-decoration: none; }
.submenu .all-link a { color: var(--gold-dark); font-weight: 600; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.quote-count {
    display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px;
    padding: 0 6px; border-radius: 999px; background: #fff; color: var(--gold-deep); font-size: .78rem; font-weight: 700;
}
.quote-count:empty, .quote-count[data-count="0"] { display: none; }
.menu-btn {
    display: none; width: 46px; height: 46px; border-radius: 10px; border: 1px solid var(--border);
    background: #fff; cursor: pointer; align-items: center; justify-content: center;
}
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
    display: block; width: 20px; height: 2px; background: var(--title); position: relative; transition: var(--transition);
}
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1180px) {
    .menu-btn { display: inline-flex; }
    .main-nav {
        position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
        background: var(--bg); padding: 12px 20px 120px; overflow-y: auto;
        display: none; flex-direction: column; align-items: stretch; border-top: 1px solid var(--border);
    }
    .main-nav.open { display: flex; }
    .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
    .nav-item { border-bottom: 1px solid var(--border); }
    .nav-link, .nav-toggle { width: 100%; justify-content: space-between; padding: 14px 6px; font-size: 1.05rem; }
    .submenu, .submenu.wide { position: static; box-shadow: none; border: 0; padding: 0 0 10px 10px; min-width: 0; background: transparent; grid-template-columns: 1fr 1fr; }
    body.nav-open { overflow: hidden; }
}
@media (max-width: 480px) {
    .logo-text small { display: none; }
    .submenu.wide, .nav-item.open > .submenu.wide { grid-template-columns: 1fr; }
    .header-actions .btn { padding: 8px 14px; }
}
@media (max-width: 420px) {
    /* 窄屏由底部固定栏提供「获取报价」 */
    .header-actions .btn-primary { display: none; }
}

/* ---------- 面包屑 & 页头 ---------- */
.breadcrumb { font-size: .88rem; color: var(--muted); padding: 18px 0 0; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.breadcrumb li { margin: 0; }
.breadcrumb li + li::before { content: "/"; margin: 0 6px; color: #B9B1A3; }
.breadcrumb a { color: var(--muted); }
.page-hero { padding: 36px 0 44px; }
.page-hero h1 { max-width: 820px; }
.page-hero .lead { max-width: 760px; }

/* ---------- 首页首屏 ---------- */
.hero { padding: 56px 0 64px; position: relative; overflow: hidden; }
.hero::after {
    content: ""; position: absolute; right: -180px; top: -140px; width: 520px; height: 520px; border-radius: 50%;
    background: radial-gradient(circle, rgba(181, 139, 55, .14), rgba(181, 139, 55, 0) 70%); pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); margin-bottom: .45em; }
.hero h1 em { font-style: normal; color: var(--gold-dark); }
.hero .lead { font-size: 1.12rem; max-width: 560px; margin-bottom: 28px; }
.hero-tagline { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--border); color: var(--title); font-weight: 600; }
.hero-tagline span { display: block; font-weight: 400; color: var(--muted); font-size: .9rem; font-style: italic; }
.hero-visual { position: relative; }
.hero-visual figure { margin: 0; background: #fff; border: 1px solid var(--border); border-radius: 22px; box-shadow: var(--shadow); padding: 14px; }
.hero-visual img { border-radius: 14px; width: 100%; }
.demo-tag {
    display: inline-block; font-size: .78rem; color: var(--muted); background: var(--bg-soft);
    border: 1px solid var(--border); border-radius: 999px; padding: 2px 10px; margin-top: 10px;
}
figcaption.demo-tag { display: table; margin: 10px auto 0; }

/* ---------- 卡片网格 ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
    background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
    overflow: hidden; transition: var(--transition); display: flex; flex-direction: column;
}
.card:hover { border-color: #D9CBAE; box-shadow: var(--shadow); }
.card-media { background: var(--bg-soft); aspect-ratio: 4 / 3; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin-bottom: .35em; }
.card-body h3 a { color: var(--title); }
.card-body h3 a:hover { color: var(--gold-deep); }
.card-body p { font-size: .95rem; margin-bottom: .8em; }
.card-actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; padding-top: 6px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 12px; }
.tag-list li { margin: 0; font-size: .78rem; color: var(--gold-deep); background: var(--gold-tint); border-radius: 999px; padding: 2px 10px; }

.cat-card { text-align: left; }
.cat-card .card-body { padding: 16px 18px; }
.cat-card h3 { font-size: 1.05rem; margin: 0 0 .2em; }
.cat-card p { font-size: .88rem; color: var(--muted); margin: 0; }
.cat-card a.stretch::after { content: ""; position: absolute; inset: 0; }
.cat-card { position: relative; }

.icon-card { padding: 24px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); position: relative; transition: var(--transition); }
.icon-card:hover { border-color: #D9CBAE; box-shadow: var(--shadow); }
.icon-card .icon { width: 48px; height: 48px; border-radius: 12px; background: var(--gold-tint); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.icon-card .icon svg { width: 26px; height: 26px; }
.icon-card h3 { margin-bottom: .35em; }
.icon-card h3 a { color: var(--title); }
.icon-card h3 a::after { content: ""; position: absolute; inset: 0; }
.icon-card p { font-size: .94rem; margin: 0; }
.icon-card .more { display: inline-block; margin-top: 12px; color: var(--gold-dark); font-weight: 600; font-size: .92rem; }

.value-item { padding: 28px; background: #fff; border-radius: var(--radius); border: 1px solid var(--border); border-top: 3px solid var(--gold); }
.value-item .num { font-size: .82rem; color: var(--gold-dark); font-weight: 700; letter-spacing: .14em; }

/* ---------- 流程 ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: step; }
.steps li { counter-increment: step; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 18px; margin: 0; position: relative; }
.steps li::before {
    content: counter(step, decimal-leading-zero); display: block; font-weight: 700; color: var(--gold-dark);
    font-size: 1.4rem; margin-bottom: 6px; font-family: Georgia, "Times New Roman", serif;
}
.steps li strong { display: block; color: var(--title); margin-bottom: 4px; }
.steps li span { font-size: .9rem; }
.note { background: var(--gold-tint); border-left: 3px solid var(--gold); padding: 14px 18px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--title); font-size: .95rem; margin: 20px 0 0; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; }
.faq details { background: #fff; border: 1px solid var(--border); border-radius: 12px; margin-bottom: 10px; }
.faq summary {
    cursor: pointer; padding: 16px 48px 16px 20px; font-weight: 600; color: var(--title); list-style: none; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--gold-dark); font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details > div { padding: 0 20px 16px; }
.faq details > div p:last-child { margin: 0; }

/* ---------- 底部询价 / CTA ---------- */
.cta-band { background: var(--dark-color); color: rgba(255, 255, 255, .85); border-radius: 22px; padding: 44px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: start; }
.cta-band h2 { color: #fff; }
.cta-band a:not(.btn) { color: var(--accent-color); }
.cta-band .contact-lines p { margin: 0 0 6px; }
.cta-simple { text-align: center; background: #fff; border: 1px solid var(--border); border-radius: 22px; padding: 44px 24px; }
.cta-simple p { max-width: 640px; margin: 0 auto 20px; }
.cta-simple .btn-row { justify-content: center; }

/* ---------- 表单 ---------- */
.form-card { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 28px; color: var(--text); }
.cta-band .form-card { color: var(--text); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 600; color: var(--title); font-size: .93rem; margin-bottom: 6px; }
.field label .req { color: var(--danger); margin-left: 2px; }
.field label .opt { color: var(--muted); font-weight: 400; font-size: .82rem; margin-left: 4px; }
.field input, .field select, .field textarea {
    width: 100%; min-height: 46px; padding: 10px 12px; border: 1.5px solid var(--border); border-radius: 10px;
    background: #fff; color: var(--title); font-size: 16px; font-family: inherit; transition: border-color .2s;
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold-dark); outline: none; box-shadow: 0 0 0 3px rgba(138, 102, 35, .18); }
.field .hint { font-size: .82rem; color: var(--muted); margin-top: 4px; }
.field .error-msg { font-size: .84rem; color: var(--danger); margin-top: 4px; display: none; }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--danger); }
.field.has-error .error-msg { display: block; }
.form-foot { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.form-foot .muted { margin: 0; flex: 1 1 260px; }
.form-status { margin-top: 14px; padding: 12px 14px; border-radius: 10px; font-size: .94rem; display: none; }
.form-status.show { display: block; }
.form-status.warn { background: #FFF4E5; color: #6B4300; border: 1px solid #F0D3A6; }
#contactForm button[type="submit"] { min-width: 160px; }

/* ---------- 询价清单 ---------- */
.quote-layout { display: grid; grid-template-columns: 1fr 1.15fr; gap: 28px; align-items: start; }
.quote-list { list-style: none; padding: 0; margin: 0; }
.quote-list li { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--border); margin: 0; }
.quote-list img { width: 64px; height: 48px; object-fit: cover; border-radius: 8px; background: var(--bg-soft); }
.quote-list .q-name { color: var(--title); font-weight: 600; font-size: .96rem; }
.quote-list .q-name a { color: var(--title); }
.qty-wrap { display: flex; align-items: center; gap: 6px; }
.qty-wrap input { width: 84px; min-height: 40px; padding: 6px 8px; border: 1.5px solid var(--border); border-radius: 8px; font-size: 16px; text-align: center; font-family: inherit; }
.q-remove { background: none; border: 0; color: var(--danger); cursor: pointer; font-size: .86rem; padding: 6px; font-family: inherit; }
.quote-empty { padding: 26px; text-align: center; background: var(--bg-soft); border-radius: 12px; }
.sticky-col { position: sticky; top: calc(var(--header-h) + 16px); }

/* ---------- 产品列表筛选 ---------- */
.filter-bar { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 18px; display: grid; grid-template-columns: 1.4fr repeat(3, 1fr) auto; gap: 12px; align-items: end; margin-bottom: 26px; }
.filter-bar .field label { font-size: .84rem; }
.filter-result { margin: 0 0 16px; color: var(--muted); font-size: .92rem; }
.no-result { display: none; padding: 40px 20px; text-align: center; background: #fff; border: 1px dashed var(--border); border-radius: 16px; }
.no-result.show { display: block; }
.cat-pills { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 22px; }
.cat-pills li { margin: 0; }
.cat-pills a { display: inline-block; padding: 7px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--border); color: var(--title); font-size: .92rem; }
.cat-pills a:hover, .cat-pills a[aria-current="page"] { background: var(--title); color: #fff; border-color: var(--title); text-decoration: none; }

/* ---------- 产品详情 ---------- */
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.gallery-main { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 12px; }
.gallery-main img { border-radius: 12px; width: 100%; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; list-style: none; padding: 0; }
.gallery-thumbs li { margin: 0; }
.gallery-thumbs button { padding: 0; border: 2px solid var(--border); border-radius: 10px; background: #fff; cursor: pointer; width: 84px; overflow: hidden; }
.gallery-thumbs button[aria-pressed="true"] { border-color: var(--gold-dark); }
.gallery-thumbs img { width: 100%; }
.product-info .short { font-size: 1.08rem; color: var(--title); }
.spec-table { width: 100%; border-collapse: collapse; margin: 6px 0 20px; background: #fff; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; font-size: .95rem; }
.spec-table th, .spec-table td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-table th { width: 30%; color: var(--title); background: #FCFAF6; font-weight: 600; }
.pending { color: var(--gold-deep); font-weight: 600; }
.info-blocks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.info-block { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 24px; }
.info-block h3 { font-size: 1.05rem; }
.info-block ul:last-child, .info-block p:last-child { margin-bottom: 0; }

/* ---------- 文章 ---------- */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; }
.prose { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 36px 40px; }
.prose h2 { font-size: 1.4rem; margin-top: 1.6em; padding-top: .2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.3em; }
.prose p, .prose li { font-size: 1.02rem; }
.prose .callout { background: var(--gold-tint); border-radius: 12px; padding: 16px 20px; margin: 1.2em 0; color: var(--title); }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0 1.4em; font-size: .95rem; }
.prose th, .prose td { border: 1px solid var(--border); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { background: #FCFAF6; color: var(--title); }
.table-wrap { overflow-x: auto; }
.aside-box { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 22px; margin-bottom: 18px; }
.aside-box h2, .aside-box h3 { font-size: 1.02rem; margin-bottom: .7em; }
.aside-box ul { list-style: none; padding: 0; margin: 0; }
.aside-box li { padding: 7px 0; border-bottom: 1px dashed var(--border); margin: 0; font-size: .94rem; }
.aside-box li:last-child { border-bottom: 0; }
.meta-line { color: var(--muted); font-size: .9rem; margin-bottom: 1em; }

.label-badge { display: inline-block; font-size: .78rem; font-weight: 700; padding: 3px 10px; border-radius: 6px; letter-spacing: .04em; }
.label-badge.example { background: #EEF1F6; color: #3A4A66; }
.label-badge.real { background: #E7F2E9; color: var(--ok); }

.combo { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 24px; }
.combo h3 { font-size: 1.05rem; }
.combo ul { margin-bottom: 10px; }
.combo .why { font-size: .92rem; color: var(--muted); margin: 0; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
.check-list { list-style: none; padding: 0; }
.check-list li { padding-left: 28px; position: relative; }
.check-list li::before {
    content: ""; position: absolute; left: 2px; top: .55em; width: 14px; height: 8px;
    border-left: 2.5px solid var(--gold-dark); border-bottom: 2.5px solid var(--gold-dark); transform: rotate(-45deg);
}
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.contact-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.contact-card h3 { font-size: 1rem; margin-bottom: .3em; }
.contact-card p { margin: 0; color: var(--title); font-size: 1.05rem; word-break: break-word; }
.contact-card .muted { font-size: .86rem; margin-top: 6px; }
.map-wrap { border-radius: 16px; overflow: hidden; border: 1px solid var(--border); background: var(--bg-soft); }
.map-wrap iframe { width: 100%; height: 340px; border: 0; display: block; }

/* ---------- 页脚 ---------- */
footer { background: var(--dark-color); color: var(--white); padding: 3rem 0 1rem; margin-top: 4rem; }
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; margin-bottom: 2rem; }
.footer-section h3 { color: var(--white); margin-bottom: 1rem; font-size: 1.1rem; }
.footer-section p, .footer-section a { color: rgba(255, 255, 255, .8); line-height: 1.8; }
.footer-section p { margin: 0 0 .5rem; }
.footer-section a:hover { color: var(--accent-color); }
.footer-links { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 16px; }
.footer-links li { margin: 0 0 .3rem; break-inside: avoid; }
.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .6); }
.footer-bottom p { margin-bottom: .5rem; }
.footer-partner { margin-top: 1rem; font-size: .9rem; color: rgba(255, 255, 255, .7); }
.footer-partner a { color: var(--accent-color); text-decoration: none; transition: var(--transition); }
.footer-partner a:hover { color: var(--white); }

/* ---------- 手机底部固定按钮 ---------- */
.mobile-bar { display: none; }
@media (max-width: 768px) {
    .mobile-bar {
        display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
        padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
        background: rgba(255, 255, 255, .97); border-top: 1px solid var(--border);
        box-shadow: 0 -4px 16px rgba(0, 0, 0, .06);
    }
    .mobile-bar .btn { min-height: 48px; width: 100%; }
    body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
    footer { margin-top: 3rem; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(3, 1fr); }
    .steps { grid-template-columns: repeat(3, 1fr); }
    .filter-bar { grid-template-columns: 1fr 1fr 1fr; }
    .filter-bar .search-field { grid-column: 1 / -1; }
    .article-layout { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
    .hero-grid, .product-grid, .two-col, .quote-layout, .cta-band { grid-template-columns: 1fr; }
    .hero-grid { gap: 32px; }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .contact-cards { grid-template-columns: 1fr; }
    .sticky-col { position: static; }
    .cta-band { padding: 32px 24px; }
}
@media (max-width: 640px) {
    .container { padding: 0 16px; }
    .section { padding: 52px 0; }
    .grid-2, .grid-3, .info-blocks, .form-grid { grid-template-columns: 1fr; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .steps { grid-template-columns: 1fr; }
    .filter-bar { grid-template-columns: 1fr 1fr; padding: 14px; }
    .filter-bar .filter-actions { grid-column: 1 / -1; }
    .filter-bar .filter-actions .btn { width: 100%; }
    .prose { padding: 24px 18px; }
    .form-card { padding: 20px 16px; }
    .hero { padding: 36px 0 44px; }
    .cat-card .card-body { padding: 12px 14px; }
    .cat-card p { display: none; }
    .quote-list li { grid-template-columns: 52px 1fr; }
    .quote-list li .qty-wrap { grid-column: 2; }
    .quote-list img { width: 52px; height: 40px; }
    .btn-row .btn { flex: 1 1 auto; }
}
@media (max-width: 360px) {
    .grid-4 { grid-template-columns: 1fr; }
    .filter-bar { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
    .site-header, .mobile-bar, footer, .btn { display: none !important; }
}
