/* ============================================================
 * 云泽林创 v2 主题 · page.css
 * 首页区块 / 内页头 / 列表 / 详情 / 表单 / 响应式
 * ============================================================ */

body {
    padding-top: var(--header-h);
}

/* ============================================================
 * 首页 Hero 轮播
 * ============================================================ */
.hero {
    position: relative;
    min-height: 620px;
    height: calc(100vh - var(--header-h));
    max-height: 820px;
    overflow: hidden;
    background: var(--brand-deep);
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s var(--ease), visibility 1s;
}

.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
}

.hero-slide .bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.06);
    transition: transform 8s linear;
    /* 旧站 banner 自带文字，模糊处理使其退为背景肌理 */
    filter: blur(10px) brightness(.72) saturate(.85);
}

.hero-slide.is-active .bg {
    transform: scale(1);
}

.hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(7, 16, 34, .95) 0%, rgba(7, 16, 34, .9) 48%, rgba(7, 16, 34, .84) 100%);
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    height: 100%;
    padding: 60px 0 90px;
}

.hero-copy {
    max-width: 660px;
    color: rgba(255, 255, 255, .8);
}

.hero-copy .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .2);
    color: #dce8ff;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.hero-copy h1 {
    margin: 22px 0 0;
    color: #fff;
    font-size: clamp(30px, 4.4vw, 54px);
    line-height: 1.22;
    letter-spacing: -.02em;
}

.hero-copy h1 em {
    font-style: normal;
    background: linear-gradient(100deg, #7fb2ff, #cfe0ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-copy .desc {
    margin-top: 20px;
    max-width: 560px;
    font-size: 16.5px;
    line-height: 1.9;
    color: rgba(255, 255, 255, .74);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 36px;
}

.hero-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 42px;
    z-index: 3;
}

.hero-dots .inner {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-dots button {
    width: 34px;
    height: 4px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: rgba(255, 255, 255, .32);
    cursor: pointer;
    transition: width .3s var(--ease), background .3s;
}

.hero-dots button.is-active {
    width: 56px;
    background: #fff;
}

.hero-scroll {
    position: absolute;
    left: 50%;
    bottom: 34px;
    z-index: 3;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, .55);
    font-size: 11.5px;
    letter-spacing: .3em;
    text-transform: uppercase;
}

/* Hero 右侧数据卡 */
.hero-stats {
    position: absolute;
    right: 24px;
    bottom: 20px;
    z-index: 3;
    display: flex;
    gap: 1px;
    overflow: hidden;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .16);
    backdrop-filter: blur(8px);
}

.hero-stats div {
    padding: 18px 26px;
    background: rgba(9, 20, 40, .3);
    text-align: center;
}

.hero-stats b {
    display: block;
    color: #fff;
    font-size: 24px;
    letter-spacing: -.01em;
}

.hero-stats span {
    font-size: 12px;
    color: rgba(255, 255, 255, .6);
}

/* ============================================================
 * 优势图标组（首页 6 宫格）
 * ============================================================ */
.adv-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.adv-item {
    position: relative;
    padding: 34px 30px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .1);
    transition: background .3s var(--ease), transform .3s var(--ease), border-color .3s;
}

.adv-item:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, .09);
    border-color: rgba(127, 178, 255, .4);
}

.adv-item .num {
    position: absolute;
    top: 22px;
    right: 26px;
    font-size: 34px;
    font-weight: 800;
    line-height: 1;
    color: rgba(255, 255, 255, .07);
    letter-spacing: -.04em;
}

.adv-item .ico {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(26, 95, 208, .9), rgba(111, 158, 255, .55));
    color: #fff;
}

.adv-item h3 {
    font-size: 17px;
    color: #fff;
}

.adv-item p {
    margin-top: 10px;
    color: rgba(255, 255, 255, .6);
    font-size: 14px;
}

/* ============================================================
 * 服务能力（图标条）
 * ============================================================ */
.svc-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}

.svc-card {
    position: relative;
    display: block;
    padding: 32px 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #fff;
    text-align: center;
    overflow: hidden;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}

.svc-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: linear-gradient(90deg, var(--brand), #6f9eff);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s var(--ease);
}

.svc-card:hover {
    transform: translateY(-6px);
    border-color: rgba(26, 95, 208, .3);
    box-shadow: var(--shadow-md);
}

.svc-card:hover::before {
    transform: scaleX(1);
}

.svc-card .ico {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    margin: 0 auto 16px;
    border-radius: 18px;
    background: var(--brand-soft);
    color: var(--brand);
    transition: background .3s, color .3s;
}

.svc-card:hover .ico {
    background: var(--brand);
    color: #fff;
}

.svc-card h3 {
    font-size: 16.5px;
}

.svc-card span {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 12.5px;
    letter-spacing: .1em;
    text-transform: uppercase;
}

/* ============================================================
 * 方案卡片（首页 / 方案列表共用）
 * ============================================================ */
.sol-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}

.sol-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #fff;
    overflow: hidden;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}

.sol-card:hover {
    transform: translateY(-6px);
    border-color: rgba(26, 95, 208, .28);
    box-shadow: var(--shadow-md);
}

.sol-thumb {
    position: relative;
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, #12429b, #1a5fd0 55%, #6f9eff);
    overflow: hidden;
}

.sol-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s var(--ease);
}

.sol-card:hover .sol-thumb img {
    transform: scale(1.05);
}

.sol-thumb .ph {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: rgba(255, 255, 255, .3);
    font-size: 64px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: .02em;
    background-image:
        radial-gradient(circle at 22% 18%, rgba(255, 255, 255, .22), transparent 46%),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, .08) 0 2px, transparent 2px 14px);
}

.sol-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 26px 26px 28px;
}

.sol-body h3 {
    font-size: 18.5px;
    line-height: 1.5;
}

.sol-body p {
    margin-top: 12px;
    color: var(--muted);
    font-size: 14.5px;
    flex: 1;
}

.sol-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px dashed var(--line);
    color: var(--brand);
    font-size: 14px;
    font-weight: 600;
}

/* ============================================================
 * 案例卡片
 * ============================================================ */
.case-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.case-card {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: linear-gradient(140deg, #16305c, #1a5fd0);
}

.case-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s var(--ease);
}

.case-card:hover img {
    transform: scale(1.06);
}

.case-card .mask {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    background: linear-gradient(180deg, transparent 35%, rgba(9, 20, 40, .88) 100%);
}

.case-card .cat {
    align-self: flex-start;
    padding: 3px 12px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, .18);
    color: #fff;
    font-size: 12px;
}

.case-card h3 {
    margin-top: 12px;
    color: #fff;
    font-size: 17px;
    line-height: 1.5;
}

.case-card .go {
    margin-top: 10px;
    color: rgba(255, 255, 255, .62);
    font-size: 13px;
    letter-spacing: .06em;
    opacity: 0;
    transform: translateY(6px);
    transition: all .35s var(--ease);
}

.case-card:hover .go {
    opacity: 1;
    transform: none;
}

/* 案例文字卡（无图时） */
.case-card--text {
    aspect-ratio: auto;
    min-height: 220px;
    background: linear-gradient(140deg, #16305c, #1a5fd0);
}

.case-card--text .mask {
    position: relative;
    background: none;
    height: 100%;
}

/* ============================================================
 * 资讯列表
 * ============================================================ */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}

.news-card {
    display: flex;
    flex-direction: column;
    padding: 30px 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #fff;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}

.news-card:hover {
    transform: translateY(-5px);
    border-color: rgba(26, 95, 208, .28);
    box-shadow: var(--shadow-md);
}

.news-card .date {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    color: var(--brand);
    font-weight: 700;
}

.news-card .date b {
    font-size: 30px;
    line-height: 1;
    letter-spacing: -.02em;
}

.news-card .date span {
    font-size: 12.5px;
    color: var(--muted);
    font-weight: 500;
}

.news-card h3 {
    margin-top: 18px;
    font-size: 17px;
    line-height: 1.6;
}

.news-card p {
    margin-top: 10px;
    color: var(--muted);
    font-size: 14px;
    flex: 1;
}

.news-card .more {
    margin-top: 18px;
    color: var(--brand);
    font-size: 13.5px;
    font-weight: 600;
}

/* ============================================================
 * 客户 Logo 墙
 * ============================================================ */
.logo-wall {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.logo-wall div,
.logo-wall a {
    display: grid;
    place-items: center;
    min-height: 108px;
    padding: 18px;
    background: #fff;
    transition: background .3s;
}

.logo-wall a:hover {
    background: var(--brand-soft);
}

.logo-wall img {
    max-height: 46px;
    width: auto;
    object-fit: contain;
    filter: grayscale(1);
    opacity: .72;
    transition: filter .3s, opacity .3s;
}

.logo-wall a:hover img {
    filter: none;
    opacity: 1;
}

.logo-wall .name {
    color: var(--muted);
    font-size: 13.5px;
    text-align: center;
}

/* ============================================================
 * CTA 区块
 * ============================================================ */
.cta-band {
    position: relative;
    padding: 64px 0;
    background: linear-gradient(120deg, #12429b, #1a5fd0 60%, #3f7ee8);
    color: rgba(255, 255, 255, .82);
    overflow: hidden;
}

.cta-band::after {
    content: "";
    position: absolute;
    right: -80px;
    top: -120px;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, .18), transparent 65%);
}

.cta-band .inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
}

.cta-band h2 {
    color: #fff;
    font-size: clamp(22px, 2.6vw, 30px);
}

.cta-band p {
    margin-top: 10px;
    color: rgba(255, 255, 255, .74);
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* ============================================================
 * 内页头
 * ============================================================ */
.page-hero {
    position: relative;
    padding: 84px 0 66px;
    background: linear-gradient(120deg, #0b1730 0%, #16305c 55%, #12429b 100%);
    color: rgba(255, 255, 255, .72);
    overflow: hidden;
}

.page-hero.has-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: .28;
}

.page-hero::after {
    content: "";
    position: absolute;
    right: -6%;
    bottom: -60%;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(63, 126, 232, .5), transparent 68%);
}

.page-hero .inner {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    margin: 18px 0 0;
    color: #fff;
    font-size: clamp(26px, 3.4vw, 40px);
}

.page-hero .sub {
    margin-top: 12px;
    max-width: 640px;
    color: rgba(255, 255, 255, .66);
    font-size: 15.5px;
}

.page-hero .en {
    display: inline-block;
    margin-top: 20px;
    color: rgba(255, 255, 255, .34);
    font-size: 12.5px;
    letter-spacing: .34em;
    text-transform: uppercase;
}

.page-hero .hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: .26;
}

.page-hero > .container {
    position: relative;
    z-index: 2;
}

/* ============================================================
 * 列表页：筛选 + 卡列表
 * ============================================================ */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line);
}

.filter-bar a {
    padding: 9px 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    background: #fff;
    color: var(--text);
    font-size: 14px;
    transition: all .25s var(--ease);
}

.filter-bar a:hover {
    border-color: var(--brand);
    color: var(--brand);
}

.filter-bar a.on {
    border-color: var(--brand);
    background: var(--brand);
    color: #fff;
    font-weight: 600;
}

/* 图文横条列表（资讯） */
.post-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.post-item {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 26px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #fff;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}

.post-item:hover {
    transform: translateY(-3px);
    border-color: rgba(26, 95, 208, .26);
    box-shadow: var(--shadow-sm);
}

.post-thumb {
    aspect-ratio: 4 / 3;
    border-radius: var(--radius);
    overflow: hidden;
    background: linear-gradient(135deg, #12429b, #6f9eff);
}

.post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-thumb .ph {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: rgba(255, 255, 255, .82);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .26em;
    text-indent: .26em;
    background-image:
        radial-gradient(circle at 24% 20%, rgba(255, 255, 255, .2), transparent 48%),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, .08) 0 2px, transparent 2px 14px);
}

.post-body {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.post-body h3 {
    font-size: 18.5px;
    line-height: 1.55;
}

.post-body h3 a:hover {
    color: var(--brand);
}

.post-body .desc {
    margin-top: 10px;
    color: var(--muted);
    font-size: 14.5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-body .meta {
    margin-top: auto;
    padding-top: 16px;
}

/* ============================================================
 * 侧栏布局
 * ============================================================ */
.with-aside {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 40px;
    align-items: start;
}

/* aside 在 DOM 中前置（保证主列表最后执行，{page:*} 数据正确），视觉靠右 */
.with-aside > .aside {
    order: 2;
}

.aside-card {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #fff;
}

.aside-card + .aside-card {
    margin-top: 22px;
}

.aside-card h3 {
    position: relative;
    padding-bottom: 14px;
    margin-bottom: 18px;
    font-size: 16.5px;
    border-bottom: 1px solid var(--line);
}

.aside-card h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 40px;
    height: 2px;
    background: var(--brand);
}

.aside-list li + li {
    border-top: 1px dashed var(--line);
}

.aside-list a {
    display: flex;
    gap: 12px;
    padding: 13px 0;
    font-size: 14.5px;
    line-height: 1.6;
}

.aside-list a:hover,
.aside-list a.on {
    color: var(--brand);
}

.aside-list a.on {
    font-weight: 700;
}

.aside-list a.on .t::before {
    content: "";
    display: inline-block;
    width: 5px;
    height: 5px;
    margin-right: 8px;
    border-radius: 50%;
    background: var(--brand);
    vertical-align: middle;
}

.aside-list .n {
    flex: 0 0 22px;
    height: 22px;
    display: grid;
    place-items: center;
    margin-top: 2px;
    border-radius: 6px;
    background: var(--bg);
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.aside-list li:nth-child(-n+3) .n {
    background: var(--brand);
    color: #fff;
}

.aside-list .t {
    min-width: 0;
}

.aside-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.aside-tags a,
.aside-tags span {
    display: inline-block;
    max-width: 100%;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    background: var(--bg);
    color: var(--text);
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.aside-tags a:hover {
    background: var(--brand);
    color: #fff;
}

/* ============================================================
 * 内容详情
 * ============================================================ */
.article-head {
    padding: 56px 0 34px;
    border-bottom: 1px solid var(--line);
}

.article-head h1 {
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.42;
}

.article-head .meta {
    margin-top: 20px;
}

.article-body {
    padding: 44px 0;
    font-size: 16px;
    line-height: 1.95;
    color: #3b4761;
    word-break: break-word;
    overflow-wrap: anywhere;
}

/* 旧站正文里残留 text-wrap:nowrap 的内联样式，会把整段文字拉成一行溢出容器 */
.article-body :where(p, span, div, li, td, a, strong, em) {
    white-space: normal !important;
    text-wrap: wrap !important;
}

.article-body img {
    max-width: 100%;
    height: auto;
}

.article-body table {
    max-width: 100%;
}

.article-body > :first-child {
    margin-top: 0;
}

.article-body p {
    margin: 0 0 18px;
}

.article-body img {
    max-width: 100%;
    height: auto;
    margin: 24px auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.article-body h2,
.article-body h3,
.article-body h4 {
    margin: 34px 0 16px;
    padding-left: 14px;
    border-left: 4px solid var(--brand);
    font-size: 20px;
}

.article-body ul,
.article-body ol {
    margin: 0 0 18px;
    padding-left: 22px;
    list-style: disc;
}

.article-body ol {
    list-style: decimal;
}

.article-body li {
    margin-bottom: 8px;
}

.article-body blockquote {
    margin: 24px 0;
    padding: 18px 24px;
    border-left: 4px solid var(--brand);
    border-radius: 0 var(--radius) var(--radius) 0;
    background: var(--brand-soft);
    color: var(--ink-2);
}

.article-body table {
    width: 100%;
    margin: 22px 0;
    border-collapse: collapse;
}

.article-body th,
.article-body td {
    padding: 12px 14px;
    border: 1px solid var(--line);
    text-align: left;
}

.article-body th {
    background: var(--bg);
    color: var(--ink);
}

.article-body a {
    color: var(--brand);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* 上下篇 */
.post-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 12px;
}

.post-nav a,
.post-nav span {
    display: block;
    padding: 18px 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    font-size: 14.5px;
    transition: all .25s var(--ease);
}

.post-nav a:hover {
    border-color: var(--brand);
    color: var(--brand);
}

.post-nav .k {
    display: block;
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 12.5px;
    letter-spacing: .08em;
}

.post-nav .is-empty {
    color: var(--muted);
    background: var(--bg);
}

/* 相关推荐 */
.rel-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.rel-item {
    display: block;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    transition: all .3s var(--ease);
}

.rel-item:hover {
    border-color: var(--brand);
    box-shadow: var(--shadow-sm);
    transform: translateY(-3px);
}

.rel-item h4 {
    font-size: 15.5px;
    line-height: 1.6;
    color: var(--ink);
}

.rel-item span {
    display: block;
    margin-top: 10px;
    color: var(--muted);
    font-size: 12.5px;
}

/* ============================================================
 * 单页 / 服务页
 * ============================================================ */
.page-body {
    padding: 64px 0 80px;
}

/* 服务详情页：特性列表 */
.feature-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 32px;
}

.feature-list li {
    display: flex;
    gap: 12px;
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    font-size: 14.5px;
}

.feature-list .tick {
    flex: 0 0 22px;
    height: 22px;
    display: grid;
    place-items: center;
    margin-top: 2px;
    border-radius: 50%;
    background: var(--brand-soft);
    color: var(--brand);
    font-size: 12px;
    font-weight: 700;
}

/* 服务页子栏目卡 */
.sub-svc-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

/* 联系方式卡 */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.contact-cell {
    padding: 28px 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #fff;
    text-align: center;
}

.contact-cell .ico {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    margin: 0 auto 16px;
    border-radius: 15px;
    background: var(--brand-soft);
    color: var(--brand);
}

.contact-cell h4 {
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .06em;
}

.contact-cell b {
    font-size: 16.5px;
    color: var(--ink);
    word-break: break-all;
}

/* 表单两栏 */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 18px;
}

.form-grid .field--full {
    grid-column: 1 / -1;
}

/* 地图占位 */
.map-box {
    position: relative;
    height: 340px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background:
        repeating-linear-gradient(45deg, rgba(26, 95, 208, .06) 0 12px, transparent 12px 24px),
        linear-gradient(135deg, #eaf1ff, #f5f7fb);
    border: 1px solid var(--line);
    display: grid;
    place-items: center;
    text-align: center;
}

.map-box .pin {
    color: var(--brand);
}

.map-box b {
    display: block;
    margin-top: 12px;
    color: var(--ink);
}

.map-box span {
    color: var(--muted);
    font-size: 13.5px;
}

/* ============================================================
 * 搜索页 / TAG 页
 * ============================================================ */
.search-band {
    padding: 56px 0 34px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
}

.search-form {
    display: flex;
    gap: 10px;
    max-width: 640px;
    margin-top: 22px;
}

.search-form .input {
    height: 50px;
    border-radius: var(--radius-pill);
    padding: 0 22px;
}

.search-form .btn {
    flex: 0 0 auto;
    height: 50px;
}

.result-info {
    color: var(--muted);
    font-size: 14.5px;
}

.result-info b {
    color: var(--brand);
}

.empty-state {
    padding: 76px 24px;
    border: 1px dashed var(--line);
    border-radius: var(--radius-lg);
    background: #fff;
    text-align: center;
    color: var(--muted);
}

.empty-state b {
    display: block;
    margin-bottom: 8px;
    color: var(--ink);
    font-size: 17px;
}

/* ============================================================
 * 404
 * ============================================================ */
.err-wrap {
    display: grid;
    place-items: center;
    min-height: calc(100vh - var(--header-h) - 320px);
    padding: 90px 24px;
    text-align: center;
}

.err-code {
    font-size: clamp(88px, 16vw, 168px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.05em;
    background: linear-gradient(135deg, #12429b, #6f9eff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.err-wrap h1 {
    margin-top: 12px;
    font-size: clamp(20px, 2.4vw, 28px);
}

.err-wrap p {
    margin-top: 12px;
    color: var(--muted);
}

.err-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

/* ============================================================
 * 响应式
 * ============================================================ */
/* 桌面端已有头部电话与 CTA，浮动条会在窄宽度下压到 Hero 数据卡，故仅保留在平板/手机 */
@media (min-width: 1025px) {
    .float-bar { display: none; }
}

@media (min-width: 1260px) {
    .hero-stats { right: calc((100vw - 1152px) / 2); }
}

@media (max-width: 1180px) {
    .svc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .logo-wall { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr; }
    .footer-grid > :nth-child(3) { display: none; }

    /* 头部：收窄间距，公司全名让位给 LOGO */
    .brand-text { display: none; }
    .nav-link { padding: 10px 11px; font-size: 14.5px; }
    .nav-link::after { left: 11px; right: 11px; }
    .header-actions { gap: 10px; }
    .header-tel .icon,
    .header-tel small { display: none; }
    .header-tel b { font-size: 16px; }
}

@media (max-width: 1024px) {
    :root { --header-h: 68px; }

    .section { padding: 64px 0; }
    .hero { min-height: 520px; height: auto; padding: 0; }
    .hero-inner { padding: 80px 0 110px; }
    .hero-stats { display: none; }
    .hero-scroll { display: none; }

    .adv-grid,
    .sol-grid,
    .case-grid,
    .news-grid,
    .sub-svc-grid,
    .rel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .with-aside { grid-template-columns: minmax(0, 1fr); }
    .aside { order: 2; }

    .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .post-item { grid-template-columns: 200px 1fr; gap: 20px; }
}

@media (max-width: 960px) {
    /* 头部空间紧张时先收起电话号码（页脚与浮动条仍可触达） */
    .header-tel { display: none; }
}

@media (max-width: 860px) {
    /* 移动端导航抽屉 */
    .nav-toggle { display: grid; margin-left: auto; }

    .nav {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        bottom: 0;
        margin: 0;
        padding: 18px 20px 40px;
        background: #fff;
        overflow-y: auto;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s;
    }

    body.nav-open .nav {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
    }

    .nav-link {
        padding: 14px 12px;
        border-bottom: 1px solid var(--line);
        border-radius: 0;
        font-size: 16px;
    }

    .nav-link::after { display: none; }

    .submenu {
        position: static;
        transform: none;
        min-width: 0;
        padding: 6px 0 10px 14px;
        border: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
    }

    .submenu a { padding: 9px 0; border-radius: 0; }

    .header-actions .header-tel { display: none; }
    .header-actions .btn { display: none; }

    .float-bar { right: 12px; bottom: 16px; }
    .float-bar a, .float-bar button { width: 44px; height: 44px; border-radius: 12px; }
}

@media (max-width: 720px) {
    body { font-size: 14.5px; }
    .container { padding: 0 18px; }
    .section { padding: 52px 0; }
    .section-head { margin-bottom: 34px; }

    .hero-copy h1 { font-size: 28px; }
    .hero-copy .desc { font-size: 15px; }
    .hero-inner { padding: 62px 0 84px; }

    .grid-2,
    .grid-3,
    .grid-4,
    .adv-grid,
    .sol-grid,
    .case-grid,
    .news-grid,
    .sub-svc-grid,
    .rel-grid,
    .feature-list,
    .form-grid,
    .post-nav,
    .contact-grid { grid-template-columns: minmax(0, 1fr); }

    .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .logo-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .logo-wall div, .logo-wall a { min-height: 88px; }

    .post-item { grid-template-columns: minmax(0, 1fr); }
    .post-thumb { aspect-ratio: 16 / 9; }

    .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
    .footer-grid > :nth-child(3) { display: block; }
    .footer-bottom { flex-direction: column; text-align: center; }

    .page-hero { padding: 52px 0 44px; }
    .article-head { padding: 34px 0 24px; }
    .article-body { padding: 30px 0; font-size: 15.5px; }
    .page-body { padding: 40px 0 56px; }

    .cta-band { padding: 44px 0; }
    .cta-band .inner { flex-direction: column; align-items: flex-start; }

    .search-form { flex-wrap: wrap; }
    .search-form .input { flex: 1 1 100%; }
    .search-form .btn { width: 100%; }
}

@media (max-width: 420px) {
    .svc-grid { grid-template-columns: minmax(0, 1fr); }
    .hero-actions .btn { width: 100%; }
}

/* ============================================================
 * 分页：Paging::render 输出 .paging，numberBar 输出 .page-item
 * ============================================================ */
.paging {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
}

.paging a {
    min-width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: #fff;
    color: var(--text);
    font-size: 14px;
    transition: all .25s var(--ease);
}

.paging a:hover {
    border-color: var(--brand);
    color: var(--brand);
}

.paging a.active {
    border-color: var(--brand);
    background: var(--brand);
    color: #fff;
    font-weight: 600;
}

.paging-info {
    margin-right: 6px;
    color: var(--muted);
    font-size: 13.5px;
}

.paging-ellipsis {
    color: var(--muted);
    letter-spacing: .1em;
}
.pagebar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
}

.pagebar .page-item {
    min-width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: #fff;
    color: var(--text);
    font-size: 14px;
    transition: all .25s var(--ease);
}

.pagebar .page-item:hover {
    border-color: var(--brand);
    color: var(--brand);
}

.pagebar .page-item.on,
.pagebar .page-item.active {
    border-color: var(--brand);
    background: var(--brand);
    color: #fff;
    font-weight: 600;
}

/* ============================================================
 * 报价套餐
 * ============================================================ */
.price-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}

.price-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 34px 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #fff;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}

.price-card:hover {
    transform: translateY(-5px);
    border-color: rgba(26, 95, 208, .3);
    box-shadow: var(--shadow-md);
}

.price-card.is-hot {
    border-color: var(--brand);
    box-shadow: 0 18px 40px rgba(26, 95, 208, .16);
}

.price-card .badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    background: var(--brand);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
}

.price-card h3 {
    font-size: 18px;
}

.price-card .price {
    margin: 14px 0 6px;
    color: var(--brand);
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -.02em;
}

.price-card .price small {
    color: var(--muted);
    font-size: 13px;
    font-weight: 400;
}

.price-card .price-desc {
    color: var(--muted);
    font-size: 13.5px;
}

.price-card ul {
    margin: 22px 0 26px;
    padding-top: 22px;
    border-top: 1px dashed var(--line);
    display: grid;
    gap: 12px;
}

.price-card ul li {
    display: flex;
    gap: 10px;
    color: var(--text);
    font-size: 14px;
}

.price-card ul li::before {
    content: "\2713";
    flex: 0 0 18px;
    height: 18px;
    display: grid;
    place-items: center;
    margin-top: 3px;
    border-radius: 50%;
    background: var(--brand-soft);
    color: var(--brand);
    font-size: 11px;
}

.price-card .btn {
    margin-top: auto;
}

/* ============================================================
 * 服务流程步骤
 * ============================================================ */
.step-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    counter-reset: step;
}

.step-item {
    position: relative;
    padding: 28px 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #fff;
}

.step-item::before {
    counter-increment: step;
    content: "0" counter(step);
    display: block;
    margin-bottom: 14px;
    color: rgba(26, 95, 208, .18);
    font-size: 30px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.04em;
}

.step-item h3 {
    font-size: 16.5px;
}

.step-item p {
    margin-top: 8px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.75;
}

/* ============================================================
 * CMS 自定义表单（{pboot:form} 生成结构）
 * ============================================================ */
.cms-form-diy {
    display: grid;
    gap: 16px;
}

.cms-form-row {
    display: grid;
    gap: 8px;
}

.cms-form-row label {
    color: var(--ink);
    font-size: 14px;
    font-weight: 600;
}

.cms-form-diy input[type="text"],
.cms-form-diy input[type="number"],
.cms-form-diy input[type="date"],
.cms-form-diy textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: #fff;
    color: var(--ink);
    font-family: inherit;
    font-size: 14.5px;
    transition: border-color .25s, box-shadow .25s;
}

.cms-form-diy input:focus,
.cms-form-diy textarea:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 4px rgba(26, 95, 208, .12);
}

.cms-form-diy textarea {
    min-height: 130px;
    resize: vertical;
}

.cms-form-row .cms-captcha {
    width: 120px;
    height: 46px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    cursor: pointer;
    object-fit: cover;
}

/* 验证码行：输入框 + 图片并排 */
.cms-form-row:has(.cms-captcha) {
    grid-template-columns: minmax(0, 1fr) 120px;
    align-items: end;
}

.cms-form-row:has(.cms-captcha) label {
    grid-column: 1 / -1;
}

.cms-form-option {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-right: 18px;
    font-weight: 400 !important;
    color: var(--text) !important;
    font-size: 14px !important;
}

.cms-form-diy button[type="submit"] {
    height: 48px;
    padding: 0 34px;
    border: 0;
    border-radius: var(--radius-pill);
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(26, 95, 208, .28);
    transition: transform .25s var(--ease), box-shadow .25s;
}

.cms-form-diy button[type="submit"]:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(26, 95, 208, .34);
}

.cms-form-diy button[type="submit"]:disabled {
    opacity: .65;
    cursor: not-allowed;
}

.form-alert {
    display: none;
    margin: 0;
    padding: 13px 18px;
    border-radius: var(--radius-sm);
    background: rgba(18, 163, 106, .1);
    color: #12805a;
    font-size: 14px;
}

.form-alert.show {
    display: block;
}

.form-alert.is-error {
    background: rgba(219, 68, 68, .1);
    color: #c62828;
}

/* ============================================================
 * 单页补充
 * ============================================================ */
.page-body .article-body {
    padding: 0 0 8px;
}

.split-band {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
    align-items: center;
}

.split-band .panel {
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #fff;
}

.figure-ph {
    min-height: 320px;
    display: grid;
    place-items: center;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, #16305c, #3f7ee8);
    color: rgba(255, 255, 255, .82);
    font-size: 15px;
    letter-spacing: .12em;
}

@media (max-width: 1024px) {
    .price-grid,
    .step-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .split-band {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 720px) {
    .price-grid,
    .step-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}
