/* ============================================================
   模板库站全站样式
   品牌渐变 #FF6A3D → #E445A8 → #7A3FF2 → #2B6CF6
   CTA 橙色渐变 #FF9A3D → #FF5F3D
   深藏青 #0b1120（顶部条 / 首屏 / 页脚）
   ============================================================ */

:root {
    --grad: linear-gradient(90deg, #FF6A3D 0%, #E445A8 38%, #7A3FF2 68%, #2B6CF6 100%);
    --grad-soft: linear-gradient(120deg, rgba(255, 106, 61, .08), rgba(228, 69, 168, .07) 40%, rgba(43, 108, 246, .09));
    --cta: linear-gradient(90deg, #FF9A3D, #FF5F3D);
    --navy: #0b1120;
    --navy-2: #131b30;
    --ink: #16202e;
    --dim: #7a8894;
    --line: #e8edf3;
    --bg: #f6f8fb;
    --radius: 14px;
    --shadow: 0 4px 18px rgba(11, 17, 32, .06);
    --shadow-hover: 0 16px 38px rgba(11, 17, 32, .13);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; overflow-x: clip; }

body {
    font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", Arial, sans-serif;
    color: var(--ink);
    background: #fff;
    font-size: 15px;
    line-height: 1.7;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea { font-family: inherit; font-size: 14px; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.grad-text {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ---------------- 按钮 ---------------- */
.btn-cta {
    display: inline-block;
    border: 0;
    background: var(--cta);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 999px;
    box-shadow: 0 8px 20px rgba(255, 95, 61, .32);
    transition: transform .25s, box-shadow .25s;
}
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(255, 95, 61, .42); }

.btn-cta-lg { padding: 15px 38px; font-size: 16px; }

.btn-ghost {
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, .55);
    color: #fff;
    font-size: 15px;
    padding: 11px 26px;
    border-radius: 999px;
    transition: background .25s, border-color .25s;
}
.btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }

.btn-line {
    display: inline-block;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink);
    font-size: 15px;
    font-weight: 600;
    padding: 11px 26px;
    border-radius: 999px;
    transition: border-color .25s, color .25s, box-shadow .25s;
}
.btn-line:hover {
    border-color: #7A3FF2;
    color: #7A3FF2;
    box-shadow: var(--shadow);
}

/* ---------------- 顶部信息条 ---------------- */
.topbar { background: var(--navy); color: rgba(255, 255, 255, .78); font-size: 13px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; height: 38px; }
.topbar-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar-phone { color: rgba(255, 255, 255, .78); white-space: nowrap; }
.topbar-phone strong { color: #FF9A3D; font-size: 14px; }

/* ---------------- 头部导航 ---------------- */
.hd {
    position: sticky; top: 0; z-index: 60;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
}
.hd-inner { display: flex; align-items: center; gap: 40px; height: 70px; }

.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo img { height: 40px; width: auto; }
.logo-text { font-size: 21px; font-weight: 800; letter-spacing: .5px; }

.nav { display: flex; align-items: center; gap: 34px; margin: 0 auto; }
.nav a {
    position: relative;
    font-size: 15.5px; color: #3d4a5c;
    padding: 6px 0; white-space: nowrap;
    transition: color .2s;
}
.nav a::after {
    content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
    height: 3px; border-radius: 3px; background: var(--grad);
    transition: right .25s;
}
.nav a:hover, .nav a.on { color: #2B6CF6; }
.nav a:hover::after, .nav a.on::after { right: 0; }

.hd-cta {
    flex-shrink: 0;
    border: 0;
    background: var(--cta);
    color: #fff; font-size: 14px; font-weight: 600;
    padding: 10px 22px; border-radius: 999px;
    box-shadow: 0 6px 16px rgba(255, 95, 61, .28);
    transition: transform .25s, box-shadow .25s;
}
.hd-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(255, 95, 61, .38); }

.nav-burger {
    display: none;
    border: 0; background: none;
    width: 38px; height: 38px;
    flex-direction: column; align-items: center; justify-content: center; gap: 5px;
    border-radius: 8px;
}
.nav-burger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ---------------- 移动端抽屉 ---------------- */
.nav-drawer {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 90;
    width: min(300px, 84vw);
    background: #fff;
    transform: translateX(102%);
    visibility: hidden;
    transition: transform .3s ease, visibility 0s linear .3s;
    box-shadow: -12px 0 40px rgba(11, 17, 32, .18);
    display: flex; flex-direction: column;
    padding: 18px 22px 30px;
}
.nav-drawer.open { transform: translateX(0); visibility: visible; transition: transform .3s ease; }
.nav-drawer-hd { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.nav-drawer-title { font-weight: 800; letter-spacing: .5px; }
.nav-drawer-close { margin-left: auto; border: 0; background: none; font-size: 28px; color: var(--dim); line-height: 1; }
.nav-drawer-body { display: flex; flex-direction: column; padding: 14px 0; flex: 1; overflow-y: auto; }
.nav-drawer-body a {
    padding: 13px 4px; font-size: 16px; color: var(--ink);
    border-bottom: 1px solid #f1f4f8;
}
.nav-drawer-body a.on { color: #2B6CF6; font-weight: 700; }
.nav-drawer-cta { align-self: stretch; }

.nav-mask {
    position: fixed; inset: 0; z-index: 80;
    background: rgba(11, 17, 32, .5);
    border: 0;
}

/* ---------------- 咨询弹窗 ---------------- */
.modal-mask {
    position: fixed; inset: 0; z-index: 100;
    background: rgba(11, 17, 32, .58);
    backdrop-filter: blur(3px);
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
}
.modal-mask[hidden] { display: none; }

.modal-box {
    position: relative;
    width: 100%; max-width: 460px; max-height: 90vh; overflow-y: auto;
    background: #fff; border-radius: 18px;
    padding: 34px 34px 26px;
    box-shadow: 0 30px 80px rgba(11, 17, 32, .3);
    animation: pop .28s ease;
}
@keyframes pop { from { transform: translateY(18px); opacity: 0; } to { transform: none; opacity: 1; } }

.modal-close {
    position: absolute; top: 12px; right: 14px;
    border: 0; background: none; font-size: 26px; color: #a8b3bf; line-height: 1;
}
.modal-close:hover { color: var(--ink); }

.modal-hd { margin-bottom: 20px; }
.modal-hd h3 { font-size: 21px; }
.modal-hd h3::before {
    content: ""; display: inline-block; width: 10px; height: 10px;
    border-radius: 3px; background: var(--grad);
    margin-right: 9px; vertical-align: 2px;
}
.modal-hd p { color: var(--dim); font-size: 13.5px; margin-top: 5px; }

.quote-form label, .contact-form label {
    display: block; font-size: 13.5px; color: #4a5a68; margin: 14px 0 6px;
}
.quote-form label i, .contact-form label i { color: #FF5F3D; font-style: normal; }
.quote-form input, .quote-form textarea,
.contact-form input, .contact-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 11px 14px;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
    background: #fbfcfe;
}
.quote-form input:focus, .quote-form textarea:focus,
.contact-form input:focus, .contact-form textarea:focus {
    border-color: #2B6CF6;
    box-shadow: 0 0 0 3px rgba(43, 108, 246, .12);
    background: #fff;
}
.quote-form textarea, .contact-form textarea { resize: vertical; min-height: 74px; }
.quote-form .btn-cta, .contact-form .btn-cta { width: 100%; margin-top: 18px; padding: 13px; font-size: 16px; }
.form-note { margin-top: 10px; font-size: 12px; color: #a8b3bf; text-align: center; }

.modal-ok { text-align: center; padding: 26px 0 18px; }
.modal-ok p { margin-top: 12px; font-size: 15px; color: #4a5a68; }
.ok-icon {
    width: 62px; height: 62px; margin: 0 auto;
    border-radius: 50%;
    background: var(--cta);
    color: #fff; font-size: 30px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 10px 24px rgba(255, 95, 61, .35);
    animation: pop .3s ease;
}

/* ---------------- 首页首屏 ---------------- */
.hero {
    position: relative;
    background: var(--navy);
    color: #fff;
    overflow: hidden;
    padding: 74px 0 88px;
}
.hero-bg {
    position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(560px 320px at 12% 8%, rgba(255, 106, 61, .24), transparent 60%),
        radial-gradient(620px 380px at 42% 108%, rgba(228, 69, 168, .2), transparent 62%),
        radial-gradient(560px 360px at 88% 18%, rgba(43, 108, 246, .3), transparent 62%),
        radial-gradient(520px 300px at 74% 90%, rgba(122, 63, 242, .22), transparent 60%);
}
.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 48px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, .28);
    background: rgba(255, 255, 255, .08);
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 13px;
    letter-spacing: 1px;
    margin-bottom: 20px;
}
.hero h1 { font-size: 44px; line-height: 1.3; letter-spacing: 1px; }
.hero-sub { margin-top: 16px; color: rgba(255, 255, 255, .72); font-size: 16px; max-width: 520px; }

.search-box {
    display: flex; gap: 0;
    background: #fff;
    border-radius: 999px;
    padding: 6px 6px 6px 22px;
    margin-top: 30px;
    max-width: 560px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .3);
}
.search-box input { flex: 1; border: 0; outline: none; font-size: 15px; background: none; min-width: 0; }
.search-box button {
    border: 0;
    background: var(--cta);
    color: #fff; font-size: 15px; font-weight: 600;
    padding: 12px 26px;
    border-radius: 999px;
    white-space: nowrap;
}

.hot-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 18px; font-size: 13.5px; color: rgba(255, 255, 255, .55); }
.hot-tags a {
    border: 1px solid rgba(255, 255, 255, .22);
    padding: 3px 13px; border-radius: 999px;
    color: rgba(255, 255, 255, .82);
    transition: background .2s, border-color .2s;
}
.hot-tags a:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .5); }

.hero-btns { display: flex; gap: 16px; margin-top: 30px; }

/* 首屏右侧模板拼贴 */
.hero-collage { position: relative; height: 420px; }
.collage-item {
    position: absolute;
    width: 62%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
    border: 1px solid rgba(255, 255, 255, .14);
    transition: transform .35s ease;
}
.collage-item img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.collage-item:hover { transform: scale(1.03) translateY(-6px); z-index: 5; }
.c1 { top: 4px; left: 4%; transform: rotate(-4deg); }
.c2 { top: 34%; right: 0; transform: rotate(4deg); }
.c3 { bottom: 0; left: 12%; transform: rotate(2deg); }
.c4 { top: 14%; right: 18%; transform: rotate(-1deg); width: 44%; opacity: .9; }

.collage-float {
    position: absolute;
    left: 2%; bottom: 8px;
    background: rgba(255, 255, 255, .96);
    color: var(--ink);
    border-radius: 14px;
    padding: 10px 20px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, .35);
    display: flex; align-items: baseline; gap: 8px;
    z-index: 6;
}
.collage-float strong { font-size: 22px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.collage-float span { font-size: 13px; color: var(--dim); }

/* ---------------- 数据条 ---------------- */
.stats { margin-top: -34px; position: relative; }
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.stat-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
    text-align: center;
    padding: 24px 12px 22px;
}
.stat-card strong {
    display: block;
    font-size: 32px;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.stat-card span { color: var(--dim); font-size: 14px; }

/* ---------------- 通用区块 ---------------- */
.sec { padding: 66px 0; }
.sec-alt { background: var(--bg); }
.sec-hd { text-align: center; margin-bottom: 38px; }
.sec-hd h2 { font-size: 30px; letter-spacing: 1px; }
.sec-hd h2::after {
    content: ""; display: block;
    width: 54px; height: 5px; border-radius: 5px;
    background: var(--grad);
    margin: 14px auto 0;
}
.sec-hd p { color: var(--dim); margin-top: 10px; font-size: 14.5px; }
.sec-more { text-align: center; margin-top: 34px; }

/* ---------------- 行业分类卡 ---------------- */
.indus-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.indus-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px 24px 24px;
    overflow: hidden;
    display: flex; flex-direction: column;
    transition: transform .25s, box-shadow .25s, border-color .25s;
}
.indus-card::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--grad);
    opacity: 0;
    transition: opacity .25s;
}
.indus-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: transparent; }
.indus-card:hover::before { opacity: 1; }

.indus-head h3 { font-size: 16.5px; line-height: 1.45; }
.indus-count { display: block; color: var(--dim); font-size: 13px; margin-top: 5px; }
.indus-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.indus-tags i {
    font-style: normal;
    font-size: 12px;
    color: #5a6b83;
    background: var(--bg);
    border-radius: 999px;
    padding: 3px 11px;
    transition: color .25s, background .25s;
}
.indus-card:hover .indus-tags i { background: #f6f0ff; color: #7a3ff2; }

/* ---------------- 模板卡片 ---------------- */
.tpl-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.tpl-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex; flex-direction: column;
    transition: transform .25s, box-shadow .25s, border-color .25s;
}
.tpl-card::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; z-index: 3;
    height: 4px;
    background: var(--grad);
    opacity: 0;
    transition: opacity .25s;
}
.tpl-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: transparent; }
.tpl-card:hover::before { opacity: 1; }

.tpl-shot {
    position: relative;
    background: var(--bg);
    overflow: hidden;
}
.tpl-shot img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: top; transition: transform .4s ease; }
.tpl-card:hover .tpl-shot img { transform: scale(1.05); }
.tpl-shot-empty {
    display: flex; align-items: center; justify-content: center;
    aspect-ratio: 3 / 2;
    color: #a8b3bf; font-size: 14px;
}
.tpl-view {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    background: rgba(11, 17, 32, .42);
    color: #fff; font-size: 14px; font-weight: 600; letter-spacing: 2px;
    opacity: 0;
    transition: opacity .25s;
}
.tpl-card:hover .tpl-view { opacity: 1; }

.tpl-body { padding: 15px 16px 16px; }
.tpl-body h3 { font-size: 15.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tpl-meta { display: flex; align-items: center; gap: 9px; margin-top: 9px; }
.tpl-ind {
    font-size: 12px;
    color: #2B6CF6;
    background: rgba(43, 108, 246, .09);
    border-radius: 6px;
    padding: 2px 9px;
    white-space: nowrap;
}
.tpl-hot { margin-left: auto; font-size: 12px; color: #a8b3bf; white-space: nowrap; }

.color-dot {
    display: inline-block;
    width: 12px; height: 12px;
    border-radius: 50%;
    border: 1px solid rgba(11, 17, 32, .1);
    flex-shrink: 0;
    vertical-align: -1px;
}

/* ---------------- 流程 ---------------- */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.step-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px 26px;
    overflow: hidden;
    transition: transform .25s, box-shadow .25s, border-color .25s;
}
.step-card::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--grad);
    opacity: 0;
    transition: opacity .25s;
}
.step-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: transparent; }
.step-card:hover::before { opacity: 1; }
.step-no {
    display: inline-block;
    font-size: 30px; font-weight: 800;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.step-card h3 { font-size: 17.5px; margin-top: 8px; }
.step-card p { color: var(--dim); font-size: 14px; margin-top: 8px; }

/* ---------------- 底部 CTA ---------------- */
.cta-band {
    background: var(--grad);
    padding: 54px 0;
}
.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}
.cta-inner h2 { color: #fff; font-size: 28px; letter-spacing: 1px; }
.cta-inner p { color: rgba(255, 255, 255, .85); margin-top: 8px; font-size: 15px; }
.cta-band .btn-cta {
    background: #fff;
    color: #FF5F3D;
    box-shadow: 0 10px 30px rgba(11, 17, 32, .22);
    flex-shrink: 0;
}
.cta-band .btn-cta:hover { box-shadow: 0 14px 36px rgba(11, 17, 32, .3); }

/* ---------------- 内页 hero ---------------- */
.page-hero {
    background: var(--grad-soft);
    border-bottom: 1px solid var(--line);
    padding: 52px 0;
    text-align: center;
}
.page-hero h1 { font-size: 32px; letter-spacing: 1px; }
.page-hero p { color: var(--dim); margin-top: 10px; font-size: 14.5px; }
.page-hero .hero-meta { color: #a8b3bf; font-size: 13px; }
.tpl-hero .search-box {
    margin: 26px auto 0;
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
}

/* ---------------- 模板库筛选 ---------------- */
.filter-sec { padding-top: 34px; }
.filter-bar {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px 24px 8px;
}
.filter-row { display: flex; gap: 16px; margin-bottom: 14px; }
.filter-label {
    flex-shrink: 0;
    width: 52px;
    font-size: 14px; font-weight: 600; color: #4a5a68;
    padding-top: 5px;
}
.filter-opts { display: flex; flex-wrap: wrap; gap: 9px; }

.chip {
    display: inline-flex; align-items: center; gap: 6px;
    border: 1px solid var(--line);
    background: #fbfcfe;
    color: #4a5a68;
    font-size: 13.5px;
    padding: 6px 15px;
    border-radius: 999px;
    transition: border-color .2s, color .2s, background .2s;
}
.chip em {
    font-style: normal;
    font-size: 11.5px;
    color: #a8b3bf;
    background: #eef2f7;
    border-radius: 999px;
    padding: 0 7px;
    line-height: 17px;
}
.chip:hover { border-color: #7A3FF2; color: #7A3FF2; }
.chip.on {
    border-color: transparent;
    background: var(--grad);
    color: #fff;
    font-weight: 600;
}
.chip.on em { background: rgba(255, 255, 255, .22); color: #fff; }
.chip-sm { padding: 4px 13px; font-size: 13px; }

.filter-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 22px 0 18px;
}
.result-count { font-size: 14px; color: var(--dim); }
.result-count strong { color: #FF5F3D; font-size: 17px; }
.sort-tabs { display: flex; gap: 6px; }
.sort-tabs a {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 6px 18px;
    font-size: 13.5px;
    color: #4a5a68;
    transition: border-color .2s, color .2s;
}
.sort-tabs a.on {
    border-color: transparent;
    background: var(--cta);
    color: #fff;
    font-weight: 600;
}

.load-more-wrap { text-align: center; margin-top: 34px; }
.btn-load-more {
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 999px;
    padding: 11px 44px;
    font-size: 14.5px;
    color: #4a5a68;
    transition: border-color .2s, color .2s, box-shadow .2s;
}
.btn-load-more:hover { border-color: #7A3FF2; color: #7A3FF2; box-shadow: var(--shadow); }
.no-more { color: #a8b3bf; font-size: 13.5px; }

.empty-box { text-align: center; padding: 70px 0 50px; color: #4a5a68; }
.empty-icon {
    width: 66px; height: 66px; margin: 0 auto 16px;
    border-radius: 50%;
    background: var(--bg);
    color: #a8b3bf; font-size: 28px;
    display: flex; align-items: center; justify-content: center;
}
.empty-box .dim { color: #a8b3bf; font-size: 13.5px; margin-top: 6px; }
.empty-box .dim a { color: #2B6CF6; }

/* ---------------- 模板详情 ---------------- */
.detail { padding: 44px 0 20px; }
.detail-inner {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 26px;
    align-items: stretch;
}
.detail-left { display: flex; flex-direction: column; gap: 18px; }
.detail-shot {
    flex: 1;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg);
    display: flex; align-items: center; justify-content: center;
}
.detail-shot img { width: 100%; }
.detail-shot .tpl-shot-empty { width: 100%; }
.detail-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.detail-right { display: flex; }
.detail-card {
    flex: 1;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px 30px 26px;
    display: flex; flex-direction: column;
}
.detail-card h1 { font-size: 24px; line-height: 1.4; }

.detail-meta {
    margin-top: 20px;
    border-top: 1px dashed var(--line);
    padding-top: 14px;
}
.detail-meta dt, .detail-meta dd { display: inline; }
.detail-meta dd { margin: 0 0 10px; padding-left: 6px; color: #4a5a68; font-size: 14px; }
.detail-meta dt { color: #a8b3bf; font-weight: 400; font-size: 14px; }
.detail-meta dd a { color: #2B6CF6; }
.detail-meta .sep { margin: 0 8px; color: #d3dbe4; }

.detail-desc { margin-top: 16px; }
.detail-desc h2 { font-size: 16px; }
.detail-desc p { color: var(--dim); font-size: 14px; margin-top: 8px; }

.detail-cta {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px dashed var(--line);
    margin-top: 22px;
}
.detail-cta h3 { font-size: 16.5px; }
.detail-cta p { color: var(--dim); font-size: 13.5px; margin: 6px 0 14px; }

/* ---------------- 联系我们 ---------------- */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 34px;
}
.contact-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px 22px 22px;
    text-align: center;
    overflow: hidden;
    transition: transform .25s, box-shadow .25s, border-color .25s;
}
.contact-card::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--grad);
    opacity: 0;
    transition: opacity .25s;
}
.contact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: transparent; }
.contact-card:hover::before { opacity: 1; }
.cc-icon {
    width: 46px; height: 46px; margin: 0 auto 12px;
    border-radius: 12px;
    background: var(--grad);
    color: #fff; font-size: 20px;
    display: flex; align-items: center; justify-content: center;
}
.contact-card h3 { font-size: 15px; color: #4a5a68; font-weight: 600; }
.cc-main {
    display: block;
    margin-top: 8px;
    font-size: 18px; font-weight: 700;
    color: #FF5F3D;
}
.cc-sm { font-size: 13.5px; font-weight: 400; color: var(--ink); line-height: 1.6; }
.contact-card p:last-child { color: #a8b3bf; font-size: 12.5px; margin-top: 6px; }
.cc-main.dim { color: #a8b3bf; font-size: 13px; font-weight: 400; }

.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 24px;
    align-items: stretch;
}
.form-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px;
}
.form-card h3 { font-size: 20px; }
.form-card .sub { color: var(--dim); font-size: 13.5px; margin-top: 4px; }
.form-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-ok { text-align: center; padding: 40px 0 30px; }
.form-ok p { margin-top: 14px; color: #4a5a68; }

.contact-side { display: flex; flex-direction: column; }
.map-box { flex: 1; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map-box > div, .map-box #amap-container { height: 100% !important; min-height: 420px; }
.side-tip {
    flex: 1;
    background: var(--grad);
    border-radius: var(--radius);
    color: #fff;
    padding: 36px 32px;
    display: flex; flex-direction: column; justify-content: center;
}
.side-tip h3 { font-size: 21px; }
.side-tip p { margin: 12px 0 20px; font-size: 14.5px; color: rgba(255, 255, 255, .9); line-height: 1.9; }
.side-tip a { color: #FF9A3D; }
.side-tip .btn-line {
    align-self: flex-start;
    background: #fff;
    border-color: #fff;
    color: #FF5F3D;
}

/* ---------------- 文章列表 / 详情 ---------------- */
.news-list { list-style: none; }
.news-list li {
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 16px 22px;
    margin-bottom: 12px;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.news-list li:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); border-color: transparent; }
.news-list a { font-size: 15px; font-weight: 600; }
.news-list time { color: #a8b3bf; font-size: 13px; white-space: nowrap; }

.gal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gal-item {
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    transition: transform .2s, box-shadow .2s;
}
.gal-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.gal-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gal-item span { display: block; padding: 10px 14px; font-size: 14px; }

.pager { display: flex; justify-content: center; gap: 8px; margin-top: 30px; }
.pager a, .pager span {
    min-width: 38px; height: 38px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--line);
    border-radius: 10px;
    font-size: 14px;
    color: #4a5a68;
    background: #fff;
}
.pager .cur { background: var(--grad); color: #fff; border-color: transparent; font-weight: 600; }
.pager a:hover { border-color: #7A3FF2; color: #7A3FF2; }

.article-wrap { max-width: 920px; }
.article-cover { margin-bottom: 26px; }
.article-cover img { width: 100%; border-radius: var(--radius); }
.article-summary {
    background: var(--grad-soft);
    border-left: 4px solid;
    border-image: var(--grad) 1;
    border-radius: 0 10px 10px 0;
    padding: 14px 18px;
    color: #4a5a68;
    font-size: 14.5px;
    margin-bottom: 24px;
}
.article-body { font-size: 15.5px; color: #2a3644; line-height: 2; }
.article-body p { margin-bottom: 16px; }
.article-body img { max-width: 100%; border-radius: 10px; }
.article-body a { color: #2B6CF6; }
.article-body h1, .article-body h2, .article-body h3 { margin: 22px 0 12px; }
.article-body ul, .article-body ol { padding-left: 22px; margin-bottom: 16px; }
.article-back { margin-top: 40px; }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1180px) {
    .hd-inner { gap: 26px; }
    .nav { gap: 24px; }
    .hero h1 { font-size: 38px; }
    .hero-collage { height: 380px; }
}

@media (max-width: 1024px) {
    .nav { gap: 18px; }
    .nav a { font-size: 14.5px; }
    .hero-inner { grid-template-columns: 1fr; gap: 40px; }
    .hero-collage { height: 360px; max-width: 560px; }
    .indus-grid { grid-template-columns: repeat(2, 1fr); }
    .tpl-grid { grid-template-columns: repeat(3, 1fr); }
    .contact-cards { grid-template-columns: repeat(2, 1fr); }
    .detail-inner { grid-template-columns: 1fr; }
    .detail-left { flex-direction: row; align-items: stretch; }
    .detail-left .detail-shot { flex: 1; }
    .detail-left .detail-actions { flex-direction: column; justify-content: center; }
    .gal-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 860px) {
    .nav, .hd-cta { display: none; }
    .nav-burger { display: flex; margin-left: auto; }
    .hd-inner { height: 62px; }
    .hero { padding: 54px 0 70px; }
    .hero h1 { font-size: 32px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid { grid-template-columns: 1fr; }
    .cta-inner { flex-direction: column; text-align: center; }
    .tpl-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .map-box > div, .map-box #amap-container { min-height: 320px; }
    .filter-row { flex-direction: column; gap: 8px; }
    .filter-label { width: auto; }
    .gal-grid { grid-template-columns: repeat(2, 1fr); }
    .detail-left { flex-direction: column; }
}

@media (max-width: 560px) {
    .topbar-inner { height: 34px; font-size: 12px; }
    .topbar-text { max-width: 46%; }
    .hero h1 { font-size: 27px; }
    .hero-sub { font-size: 14.5px; }
    .search-box { padding-left: 16px; }
    .search-box button { padding: 11px 18px; font-size: 14px; }
    .hero-btns { flex-direction: column; align-items: stretch; text-align: center; }
    .hero-collage { height: 250px; }
    .collage-float { padding: 8px 14px; }
    .collage-float strong { font-size: 18px; }
    .sec { padding: 46px 0; }
    .sec-hd h2 { font-size: 24px; }
    .indus-grid { grid-template-columns: 1fr; }
    .tpl-grid { grid-template-columns: 1fr; gap: 16px; }
    .contact-cards { grid-template-columns: 1fr; gap: 14px; }
    .form-card { padding: 22px 18px; }
    .form-row2 { grid-template-columns: 1fr; gap: 0; }
    .modal-box { padding: 26px 20px 20px; }
    .detail-card { padding: 22px 20px; }
    .detail-actions .btn-cta, .detail-actions .btn-line { width: 100%; text-align: center; }
    .news-list li { flex-direction: column; align-items: flex-start; gap: 4px; }
    .page-hero { padding: 38px 0; }
    .page-hero h1 { font-size: 25px; }
    .filter-bar { padding: 16px 16px 4px; }
    .gal-grid { grid-template-columns: 1fr; }
}
