/* =====================================================================
   CDYSB 成都市优示保信息技术咨询有限公司官网 前台样式 v2
   基调：白底/浅灰交替、藏青主色 #16305e、金色点缀 #c3a25e、真实照片
   响应式：PC / 平板 / 手机 / 微信内置浏览器
   ===================================================================== */

:root {
    --navy: #16305e;
    --navy-deep: #0b1e3f;
    --navy-soft: #24437e;
    --gold: #c3a25e;
    --gold-light: #e6d2a8;
    --ink: #26303d;
    --muted: #6d7889;
    --line: #e6e9f0;
    --bg: #f6f7fa;
    --white: #ffffff;
    --shadow: 0 6px 20px rgba(16, 33, 63, .07);
    --radius: 6px;
    --sans: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
}

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

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

body {
    font-family: var(--sans);
    font-size: 15px;
    line-height: 1.8;
    color: var(--ink);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; border: 0; }

a { color: inherit; text-decoration: none; transition: color .2s; }

ul, ol { list-style: none; }

em, i { font-style: normal; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============ 顶部信息条 ============ */
.topbar {
    background: var(--navy-deep);
    color: rgba(255, 255, 255, .82);
    font-size: 12.5px;
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 34px;
}

.topbar-hotline { display: inline-flex; align-items: center; gap: 6px; }

.topbar-hotline svg { color: var(--gold-light); }

.topbar-hotline a { color: var(--gold-light); font-weight: 600; }

/* ============ 页头 ============ */
.site-header {
    background: var(--white);
    box-shadow: 0 1px 0 var(--line);
    position: sticky;
    top: 0;
    z-index: 200;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 74px;
    gap: 16px;
}

.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }

.brand-logo { height: 44px; width: auto; }

.brand-name {
    font-size: 23px;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: 1px;
    white-space: nowrap;
}

.header-right { display: flex; align-items: center; gap: 18px; }

.site-nav { display: flex; align-items: stretch; align-self: stretch; }

.site-nav > a,
.site-nav .nav-sub-toggle {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 0 18px;
    font-size: 16px;
    color: var(--ink);
    position: relative;
    transition: color .2s;
}

.site-nav > a::after,
.site-nav .nav-sub-toggle::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 3px;
    background: var(--gold);
    transform: translateX(-50%);
    transition: width .25s;
}

.site-nav > a:hover, .site-nav > a.active,
.site-nav .nav-sub-toggle:hover, .site-nav .nav-sub-toggle.active { color: var(--navy); font-weight: 600; }

.site-nav > a:hover::after, .site-nav > a.active::after,
.site-nav .nav-sub-toggle:hover::after, .site-nav .nav-sub-toggle.active::after { width: 52%; }

.nav-item-sub { display: flex; align-items: stretch; position: relative; }

.nav-sub-toggle svg { margin-left: 2px; color: var(--muted); transition: transform .2s; }

.nav-item-sub:hover .nav-sub-toggle svg { transform: rotate(180deg); }

.nav-sub {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 224px;
    background: var(--white);
    border: 1px solid var(--line);
    border-top: 3px solid var(--gold);
    box-shadow: 0 14px 30px rgba(16, 33, 63, .14);
    opacity: 0;
    visibility: hidden;
    transition: all .22s;
    z-index: 210;
}

.nav-item-sub:hover .nav-sub {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-sub a {
    display: block;
    padding: 11px 18px;
    font-size: 14.5px;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
    white-space: nowrap;
}

.nav-sub a:last-child { border-bottom: 0; }

.nav-sub a:hover { background: var(--bg); color: var(--navy); padding-left: 24px; }

.nav-sub a.nav-sub-all { color: var(--gold); font-weight: 600; }

.header-phone {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 18px;
    border: 1px solid var(--gold);
    border-radius: 999px;
    color: var(--navy);
    font-weight: 700;
    font-size: 15.5px;
    white-space: nowrap;
    transition: all .2s;
}

.header-phone svg { color: var(--gold); }

.header-phone:hover { background: var(--gold); color: #fff; }

.header-phone:hover svg { color: #fff; }

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--navy);
    transition: transform .25s, opacity .2s;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }

.nav-toggle.open span:nth-child(2) { opacity: 0; }

.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ============ 首页轮播 ============ */
.banner-slider {
    position: relative;
    overflow: hidden;
    background: var(--navy-deep);
}

.banner-track {
    display: flex;
    transition: transform .55s ease;
}

.banner-slide { flex: 0 0 100%; position: relative; }

.banner-slide img {
    width: 100%;
    height: 560px;
    object-fit: cover;
}

.banner-caption {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, rgba(11, 30, 63, .78) 0%, rgba(11, 30, 63, .45) 48%, rgba(11, 30, 63, .12) 100%);
}

.banner-caption .container { width: 100%; }

.banner-title {
    color: #fff;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.4;
    max-width: 640px;
    text-shadow: 0 2px 12px rgba(11, 30, 63, .4);
}

.banner-title::before {
    content: "";
    display: block;
    width: 52px;
    height: 4px;
    background: var(--gold);
    margin-bottom: 22px;
}

.banner-actions { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }

.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: rgba(11, 30, 63, .35);
    border-radius: 50%;
    z-index: 5;
    transition: background .2s;
}

.banner-arrow:hover { background: var(--gold); }

.banner-arrow-prev { left: 26px; }

.banner-arrow-next { right: 26px; }

.banner-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 22px;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 5;
}

.banner-dots i {
    width: 28px;
    height: 3px;
    background: rgba(255, 255, 255, .45);
    cursor: pointer;
    transition: background .2s, width .2s;
}

.banner-dots i.active { background: var(--gold); width: 44px; }

/* ============ 通用版块 ============ */
.section { padding: 68px 0; }

.section-gray { background: var(--bg); }

.sec-head {
    text-align: center;
    margin-bottom: 44px;
}

.sec-head-left { text-align: left; }

.sec-label {
    font-size: 13px;
    letter-spacing: 3px;
    color: var(--gold);
    text-transform: uppercase;
    display: block;
    font-weight: 600;
}

.sec-title {
    font-size: 30px;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: .5px;
    margin: 6px 0 10px;
    line-height: 1.4;
}

.sec-sub { color: var(--muted); font-size: 15px; }

.sec-more { text-align: center; margin-top: 38px; }

.link-gold {
    color: var(--gold);
    font-size: 15.5px;
    border-bottom: 1px solid transparent;
}

.link-gold:hover { border-bottom-color: var(--gold); }

/* ============ 按钮 ============ */
.btn-gold, .btn-ghost, .btn-outline, .btn-navy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 30px;
    border-radius: var(--radius);
    font-size: 15px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all .2s;
}

.btn-gold { background: var(--gold); color: #fff; }

.btn-gold:hover { background: #b3914e; color: #fff; }

.btn-navy { background: var(--navy); color: #fff; }

.btn-navy:hover { background: var(--navy-soft); color: #fff; }

.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }

.btn-ghost:hover { background: var(--navy); color: #fff; }

.btn-outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .75); }

.btn-outline:hover { background: rgba(255, 255, 255, .14); border-color: #fff; }

.btn-lg { padding: 13px 34px; font-size: 16px; }

/* ============ 核心数据 ============ */
.stats-band {
    background: var(--navy-deep);
    padding: 48px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}

.stat-num {
    font-size: 42px;
    font-weight: 700;
    color: var(--gold-light);
    line-height: 1.25;
    font-variant-numeric: tabular-nums;
}

.stat-num em { font-size: 16px; margin-left: 4px; font-weight: 400; }

.stat-name { color: rgba(255, 255, 255, .75); margin-top: 4px; font-size: 14.5px; }

/* ============ 首页-关于我们 ============ */
.home-about {
    display: flex;
    gap: 52px;
    align-items: center;
}

.home-about-media {
    flex: 0 0 45%;
    position: relative;
}

.home-about-media img { border-radius: var(--radius); box-shadow: var(--shadow); }

.home-about-badge {
    position: absolute;
    right: -16px;
    bottom: 26px;
    background: var(--navy);
    color: #fff;
    padding: 16px 20px;
    border-radius: var(--radius);
    box-shadow: 0 12px 26px rgba(11, 30, 63, .3);
    border-left: 4px solid var(--gold);
}

.home-about-badge strong { display: block; font-size: 17px; letter-spacing: .5px; }

.home-about-badge span { font-size: 12.5px; color: rgba(255, 255, 255, .75); }

.home-about-intro { color: var(--muted); text-align: justify; margin-bottom: 18px; }

.check-list { margin-bottom: 26px; }

.check-list li {
    position: relative;
    padding: 5px 0 5px 28px;
    color: var(--ink);
    font-size: 15px;
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 11px;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: var(--gold);
}

.check-list li::after {
    content: "";
    position: absolute;
    left: 4.5px;
    top: 14.5px;
    width: 8px;
    height: 4.5px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg);
}

.home-about-actions { display: flex; gap: 14px; }

/* ============ 服务卡片 ============ */
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    transition: transform .25s, box-shadow .25s, border-color .25s;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 34px rgba(16, 33, 63, .13);
    border-color: transparent;
}

.service-card-media { position: relative; overflow: hidden; }

.service-card-media img {
    width: 100%;
    height: 208px;
    object-fit: cover;
    transition: transform .4s;
}

.service-card:hover .service-card-media img { transform: scale(1.05); }

.service-card-no {
    position: absolute;
    left: 14px;
    bottom: 14px;
    background: rgba(11, 30, 63, .82);
    color: var(--gold-light);
    font-size: 15px;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 3px;
    letter-spacing: 1px;
}

.service-card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }

.service-card-body h3 {
    font-size: 18.5px;
    color: var(--navy);
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.service-card:hover .service-card-body h3 { color: var(--gold); }

.service-card-body p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.service-card-more { margin-top: auto; padding-top: 12px; color: var(--gold); font-size: 14px; }

/* ============ 服务流程 ============ */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    counter-reset: step;
}

.step-item {
    position: relative;
    padding: 6px 26px 6px 0;
}

.step-item:not(:last-child)::before {
    content: "";
    position: absolute;
    top: 30px;
    right: 8px;
    left: auto;
    width: calc(100% - 60px);
    height: 1px;
    background: repeating-linear-gradient(90deg, #c9d2e0 0 6px, transparent 6px 12px);
}

.step-no {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--navy);
    color: var(--navy);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
}

.steps-section { background: var(--white); }

.step-item h3 { font-size: 18px; color: var(--navy); margin-bottom: 8px; }

.step-item p { font-size: 14px; color: var(--muted); line-height: 1.75; }

/* ============ 新闻（首页特色位 + 行） ============ */
.home-news {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 34px;
    align-items: stretch;
}

.news-featured {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform .25s, box-shadow .25s;
}

.news-featured:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.news-featured-media { overflow: hidden; }

.news-featured-media img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform .4s;
}

.news-featured:hover .news-featured-media img { transform: scale(1.04); }

.news-featured-body { padding: 24px 26px 22px; display: flex; flex-direction: column; flex: 1; }

.news-featured-body h3 { font-size: 21px; color: var(--navy); line-height: 1.5; margin-bottom: 10px; }

.news-featured:hover .news-featured-body h3 { color: var(--gold); }

.news-featured-body p {
    color: var(--muted);
    font-size: 14.5px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-featured-body .news-item-meta { margin-top: auto; padding-top: 16px; }

.news-side-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.news-row {
    display: flex;
    gap: 16px;
    align-items: center;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 12px 16px 12px 12px;
    flex: 1;
    transition: transform .2s, box-shadow .2s;
}

.news-row:hover { transform: translateX(4px); box-shadow: var(--shadow); }

.news-row-media { flex: 0 0 128px; }

.news-row-media img { width: 128px; height: 82px; object-fit: cover; border-radius: 4px; }

.news-row-body { flex: 1; min-width: 0; }

.news-row-body h3 {
    font-size: 15.5px;
    color: var(--ink);
    font-weight: 600;
    line-height: 1.55;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-row:hover .news-row-body h3 { color: var(--navy); }

.news-row-more {
    text-align: center;
    padding: 12px;
    border: 1px dashed #c9d2e0;
    border-radius: var(--radius);
    color: var(--gold);
    font-size: 14.5px;
    transition: all .2s;
}

.news-row-more:hover { border-color: var(--gold); background: #fff; }

/* ============ 新闻列表条目 ============ */
.news-list { display: flex; flex-direction: column; gap: 20px; }

.news-item {
    display: flex;
    gap: 22px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    transition: box-shadow .25s, transform .25s, border-color .25s;
}

.news-item:hover {
    box-shadow: var(--shadow);
    transform: translateY(-3px);
    border-color: transparent;
}

.news-item-media { flex: 0 0 218px; }

.news-item-media img {
    width: 218px;
    height: 138px;
    object-fit: cover;
    border-radius: 4px;
}

.news-item-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }

.news-item-title {
    font-size: 18px;
    color: var(--navy);
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-item:hover .news-item-title { color: var(--gold); }

.news-item-summary {
    color: var(--muted);
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-item-meta {
    margin-top: auto;
    padding-top: 12px;
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 13px;
    color: #97a1b0;
}

.news-item-meta span { display: inline-flex; align-items: center; gap: 5px; }

.news-item-detail { margin-left: auto; color: var(--gold); }

/* ============ 常见问题 ============ */
.faq-wrap { max-width: 860px; }

.faq-list { display: flex; flex-direction: column; gap: 12px; }

.faq-item {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    overflow: hidden;
    transition: border-color .2s, box-shadow .2s;
}

.faq-item.open { border-color: var(--gold); box-shadow: var(--shadow); }

.faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    background: none;
    border: 0;
    text-align: left;
    padding: 17px 20px;
    font-size: 16px;
    font-weight: 600;
    color: var(--navy);
    font-family: var(--sans);
    cursor: pointer;
}

.faq-icon {
    position: relative;
    flex: 0 0 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--bg);
    transition: background .2s;
}

.faq-icon::before, .faq-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    background: var(--navy);
    transform: translate(-50%, -50%);
    transition: transform .25s;
}

.faq-icon::before { width: 10px; height: 2px; }

.faq-icon::after { width: 2px; height: 10px; }

.faq-item.open .faq-icon { background: var(--gold); }

.faq-item.open .faq-icon::before, .faq-item.open .faq-icon::after { background: #fff; }

.faq-item.open .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }

.faq-a { display: none; padding: 0 20px 18px; }

.faq-item.open .faq-a { display: block; }

.faq-a p { color: var(--muted); font-size: 14.5px; text-align: justify; }

/* ============ 咨询通道 ============ */
.cta-band {
    position: relative;
    background-color: var(--navy-deep);
    background-size: cover;
    background-position: center;
    padding: 58px 0;
}

.cta-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(11, 30, 63, .92) 20%, rgba(11, 30, 63, .72));
}

.cta-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.cta-text h2 { color: #fff; font-size: 25px; margin-bottom: 8px; line-height: 1.5; }

.cta-text p { color: rgba(255, 255, 255, .78); }

.cta-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ============ 内页横幅 / 面包屑 ============ */
.page-banner {
    position: relative;
    background-color: var(--navy-deep);
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 62px 0;
    text-align: center;
}

.page-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, rgba(11, 30, 63, .9) 30%, rgba(22, 48, 94, .72));
}

.page-banner .container { position: relative; }

.page-banner-label {
    letter-spacing: 4px;
    color: var(--gold-light);
    font-size: 14px;
    text-transform: uppercase;
}

.page-banner-title { font-size: 32px; letter-spacing: 3px; margin-top: 6px; font-weight: 700; }

.crumbs {
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    font-size: 13.5px;
    color: var(--muted);
    padding: 12px 0;
}

.crumbs a:hover { color: var(--navy); }

.crumbs span { margin: 0 8px; color: #b9c0cb; }

.crumbs em { color: var(--navy); }

/* ============ 详情双栏 ============ */
.detail-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 30px;
    align-items: start;
}

.detail-side {
    position: sticky;
    top: 96px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.side-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px;
}

.side-card-title {
    font-size: 17px;
    color: var(--navy);
    padding-bottom: 12px;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--line);
    position: relative;
}

.side-card-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 34px;
    height: 2px;
    background: var(--gold);
}

/* 侧栏-热点浏览 */
.side-hot-list li + li { border-top: 1px dashed var(--line); }

.side-hot-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 0;
}

.side-hot-no {
    flex: 0 0 22px;
    height: 22px;
    border-radius: 3px;
    background: var(--bg);
    color: var(--muted);
    font-size: 12.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.side-hot-list li:nth-child(-n+3) .side-hot-no { background: var(--navy); color: var(--gold-light); }

.side-hot-title {
    flex: 1;
    min-width: 0;
    font-size: 14px;
    color: var(--ink);
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.side-hot-list a:hover .side-hot-title { color: var(--gold); }

.side-hot-views {
    flex: 0 0 auto;
    font-size: 12.5px;
    color: #a5aebc;
    font-variant-numeric: tabular-nums;
}

/* 侧栏-服务导航 */
.side-nav-list li + li { border-top: 1px dashed var(--line); }

.side-nav-list a {
    display: block;
    padding: 11px 0 11px 18px;
    font-size: 14.5px;
    color: var(--ink);
    position: relative;
}

.side-nav-list a::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #c9d2e0;
    transition: background .2s;
}

.side-nav-list a:hover { color: var(--navy); }

.side-nav-list a:hover::before, .side-nav-list a.active::before { background: var(--gold); }

.side-nav-list a.active { color: var(--gold); font-weight: 600; }

/* 侧栏-联系卡 */
.side-contact-card {
    background: var(--navy);
    border: 0;
    color: #fff;
}

.side-contact-card .side-card-title { color: #fff; border-bottom-color: rgba(255, 255, 255, .16); }

.side-contact-card .side-card-title::after { background: var(--gold); }

.side-contact-tip { color: rgba(255, 255, 255, .82); font-size: 14px; margin-bottom: 16px; }

.side-contact-phone {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 23px;
    font-weight: 700;
    color: var(--gold-light);
    margin-bottom: 6px;
}

.side-contact-phone svg { color: var(--gold-light); }

.side-contact-phone:hover { color: #fff; }

.side-contact-sub { font-size: 12.5px; color: rgba(255, 255, 255, .62); margin-bottom: 16px; }

.side-contact-qr {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px;
    background: rgba(255, 255, 255, .08);
    border-radius: var(--radius);
    margin-bottom: 16px;
}

.side-contact-qr img { width: 88px; height: 88px; background: #fff; border-radius: 4px; padding: 4px; }

.side-contact-qr span { font-size: 13.5px; color: rgba(255, 255, 255, .85); }

.side-contact-btn { width: 100%; }

.side-contact-btn:hover { background: var(--navy-soft); }

/* ============ 详情正文 ============ */
.detail-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 38px 42px;
}

.detail-title { font-size: 25px; color: var(--navy); line-height: 1.5; text-align: center; }

.detail-title-left { text-align: left; }

.detail-meta {
    display: flex;
    justify-content: center;
    gap: 26px;
    padding: 13px 0 20px;
    margin-bottom: 22px;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-size: 14px;
    flex-wrap: wrap;
}

.detail-meta-left { justify-content: flex-start; }

.detail-meta span { display: inline-flex; align-items: center; gap: 6px; }

.detail-meta-views b { color: var(--gold); font-size: 16px; }

.detail-media { margin: 0 auto 26px; max-width: 720px; }

.detail-media img { width: 100%; border-radius: 4px; }

.rich-text { color: #3c4756; }

.rich-text p { margin-bottom: 14px; text-align: justify; }

.rich-text h3 {
    color: var(--navy);
    margin: 24px 0 12px;
    font-size: 18.5px;
    padding-left: 12px;
    border-left: 3px solid var(--gold);
    line-height: 1.5;
}

.rich-text img { max-width: 100%; margin: 10px auto; border-radius: 4px; }

.rich-text strong { color: var(--navy); }

.detail-content { font-size: 15.5px; }

.detail-foot-cta {
    margin-top: 30px;
    padding: 20px 22px;
    background: var(--bg);
    border-left: 3px solid var(--gold);
    border-radius: 0 var(--radius) var(--radius) 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.detail-foot-cta p { color: var(--ink); font-size: 15px; }

.detail-pager {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 28px;
}

.detail-pager-item {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 13px 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    line-height: 1.5;
    font-size: 13px;
    color: var(--muted);
    background: var(--white);
    transition: border-color .2s, box-shadow .2s;
}

.detail-pager-item:hover { border-color: var(--gold); box-shadow: var(--shadow); }

.detail-pager-item:last-child { text-align: right; }

.detail-pager-item span { color: var(--gold); }

.detail-pager-item em {
    font-size: 14.5px;
    color: var(--ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.detail-pager-item.is-disabled { opacity: .55; pointer-events: none; }

.detail-back { text-align: center; margin-top: 28px; }

/* ============ 相关推荐 ============ */
.related-wrap { margin-top: 48px; }

.related-title {
    font-size: 20px;
    color: var(--navy);
    margin-bottom: 20px;
    padding-left: 12px;
    border-left: 3px solid var(--gold);
    line-height: 1.4;
}

.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.related-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform .2s, box-shadow .2s;
}

.related-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.related-card img { width: 100%; height: 130px; object-fit: cover; }

.related-card-body {
    padding: 12px 14px;
    font-size: 14.5px;
    color: var(--ink);
    font-weight: 600;
    line-height: 1.5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.related-card:hover .related-card-body { color: var(--gold); }

/* ============ 关于我们页 ============ */
.about-profile { display: flex; gap: 50px; align-items: flex-start; }

.about-profile-media { flex: 0 0 42%; }

.about-profile-media img { border-radius: var(--radius); box-shadow: var(--shadow); }

.about-profile-caption {
    margin-top: 14px;
    padding: 12px 16px;
    background: var(--bg);
    border-left: 3px solid var(--gold);
    border-radius: 0 var(--radius) var(--radius) 0;
    color: var(--muted);
    font-size: 13.5px;
}

.about-profile-body h3 { font-size: 24px; color: var(--navy); margin-bottom: 16px; }

.about-intro { font-size: 15.5px; }

.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.feature-item {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px 24px;
    text-align: center;
    transition: transform .25s, box-shadow .25s;
}

.feature-item:hover { transform: translateY(-5px); box-shadow: var(--shadow); }

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-item h3 { font-size: 17.5px; color: var(--navy); margin-bottom: 8px; }

.feature-item p { font-size: 14px; color: var(--muted); text-align: justify; }

/* ============ 图文横条（关于/联系页） ============ */
.visit-band {
    display: flex;
    gap: 50px;
    align-items: center;
}

.visit-band-body { flex: 1; }

.visit-band-desc { color: var(--muted); margin-bottom: 22px; text-align: justify; }

.visit-band-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.visit-band-media { flex: 0 0 40%; }

.visit-band-media img { border-radius: var(--radius); box-shadow: var(--shadow); }

/* 咨询前准备 */
.prep-list { display: flex; flex-direction: column; gap: 18px; }

.prep-list li { display: flex; gap: 16px; align-items: flex-start; }

.prep-no {
    flex: 0 0 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--gold-light);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

.prep-list strong { display: block; color: var(--navy); font-size: 16px; margin-bottom: 2px; }

.prep-list p { color: var(--muted); font-size: 14px; }

/* ============ 联系我们页 ============ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 54px;
    align-items: start;
}

.contact-list { display: flex; flex-direction: column; gap: 22px; }

.contact-list li { display: flex; gap: 16px; align-items: flex-start; }

.contact-icon {
    flex: 0 0 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-text h4 { font-size: 15px; color: var(--navy); margin-bottom: 2px; }

.contact-text p { color: var(--muted); font-size: 14.5px; }

.contact-text a { color: var(--gold); font-weight: 600; }

.contact-qr { margin: 26px 0 0; display: flex; align-items: center; gap: 16px; }

.contact-qr img {
    width: 118px;
    height: 118px;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 6px;
    background: #fff;
}

.contact-qr p { color: var(--muted); font-size: 14px; line-height: 1.7; }

.contact-form-wrap .sec-head { margin-bottom: 26px; }

.contact-form {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.form-field { margin-bottom: 18px; }

.form-field label { display: block; font-size: 14px; color: var(--navy); margin-bottom: 8px; font-weight: 600; }

.form-field label i { color: #e05b50; font-style: normal; }

.form-field input, .form-field textarea {
    width: 100%;
    border: 1px solid #d7dce5;
    border-radius: 4px;
    padding: 11px 14px;
    font-size: 14.5px;
    font-family: var(--sans);
    color: var(--ink);
    background: var(--white);
    transition: border-color .2s, box-shadow .2s;
    outline: none;
}

.form-field input:focus, .form-field textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(195, 162, 94, .15);
}

.form-field textarea { resize: vertical; min-height: 110px; }

.hp-field { position: absolute; left: -9999px; top: -9999px; height: 0; overflow: hidden; }

.form-tip { margin-top: 12px; font-size: 14px; min-height: 20px; }

.form-tip.ok { color: #2f8f4e; }

.form-tip.err { color: #e05b50; }

#msgSubmit.loading { opacity: .6; pointer-events: none; }

/* ============ 分页 ============ */
.pagination-wrap { margin-top: 40px; text-align: center; }

.pagination { display: inline-flex; gap: 8px; flex-wrap: wrap; justify-content: center; }

.pagination li a, .pagination li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    border: 1px solid #d7dce5;
    border-radius: 4px;
    color: var(--muted);
    font-size: 14px;
    background: var(--white);
    transition: all .2s;
}

.pagination li a:hover { border-color: var(--gold); color: var(--gold); }

.pagination li.active span {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
}

.pagination li.disabled span { color: #c3c9d3; cursor: not-allowed; }

.empty-tip { text-align: center; color: var(--muted); padding: 60px 0; font-size: 15px; }

/* ============ 页脚 ============ */
.site-footer {
    background: var(--navy-deep);
    color: rgba(255, 255, 255, .68);
    margin-top: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr .9fr;
    gap: 36px;
    padding: 54px 20px 40px;
}

.footer-logo { height: 42px; margin-bottom: 16px; }

.footer-desc { font-size: 13.5px; line-height: 1.9; text-align: justify; }

.footer-title {
    color: #fff;
    font-size: 16px;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 26px;
    height: 2px;
    background: var(--gold);
}

.footer-links { display: flex; flex-direction: column; gap: 9px; }

.footer-links a { font-size: 14px; transition: color .2s, padding-left .2s; }

.footer-links a:hover { color: var(--gold-light); padding-left: 6px; }

.footer-contact li {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    font-size: 14px;
    margin-bottom: 12px;
    line-height: 1.7;
}

.footer-contact svg { color: var(--gold); flex-shrink: 0; margin-top: 5px; }

.footer-contact a { color: var(--gold-light); }

.footer-qr { width: 116px; height: 116px; background: #fff; border-radius: 6px; padding: 6px; }

.footer-qr-tip { font-size: 12.5px; margin-top: 10px; color: rgba(255, 255, 255, .6); }

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); }

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 16px 20px;
    font-size: 13px;
    color: rgba(255, 255, 255, .55);
}

.footer-bottom a:hover { color: var(--gold-light); }

/* ============ 返回顶部 ============ */
.back-top {
    position: fixed;
    right: 26px;
    bottom: 34px;
    width: 44px;
    height: 44px;
    background: var(--navy);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all .3s;
    z-index: 300;
    box-shadow: 0 6px 16px rgba(11, 30, 63, .35);
}

.back-top.show { opacity: 1; visibility: visible; transform: none; }

.back-top:hover { background: var(--gold); }

/* ============ 富文本编辑器占位（后台预览一致） ============ */
.cdysb-editor { border: 1px solid #e5e5e5; border-radius: 3px; }

/* ============ 响应式 ============ */
@media (max-width: 1024px) {
    .banner-slide img { height: 460px; }
    .banner-title { font-size: 32px; max-width: 560px; }

    .header-phone { display: none; }
    .site-nav > a, .site-nav .nav-sub-toggle { padding: 0 12px; font-size: 15px; }

    .footer-grid { grid-template-columns: 1fr 1fr 1fr; }

    .detail-layout { grid-template-columns: 1fr; }
    .detail-side { position: static; flex-direction: row; }
    .detail-side .side-card { flex: 1; }

    .related-grid { grid-template-columns: repeat(3, 1fr); }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 0; }
    .step-item:not(:last-child)::before { display: none; }
}

@media (max-width: 860px) {
    .topbar-welcome { display: none; }
    .topbar-inner { justify-content: center; }

    .nav-toggle { display: flex; }
    .header-right { align-items: center; }
    .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--white);
        box-shadow: 0 12px 24px rgba(16, 33, 63, .12);
        border-top: 1px solid var(--line);
        align-self: auto;
    }
    .site-nav.open { display: flex; }
    .site-nav > a, .site-nav .nav-sub-toggle { padding: 13px 24px; border-bottom: 1px solid var(--line); align-self: stretch; }
    .site-nav > a::after, .site-nav .nav-sub-toggle::after { display: none; }
    .site-nav > a.active, .site-nav .nav-sub-toggle.active { color: var(--gold); }

    .nav-item-sub { flex-direction: column; }
    .nav-sub {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        border: 0;
        box-shadow: none;
        border-top: 1px dashed var(--line);
        min-width: 0;
        display: none;
    }
    .nav-item-sub.is-open-active .nav-sub { display: block; }
    .nav-item-sub:hover .nav-sub { transform: none; }
    .nav-sub a { padding: 11px 34px; color: var(--muted); }
    .nav-sub a.nav-sub-all { padding-left: 34px; }
    .nav-sub-toggle svg { display: none; }

    .banner-slide img { height: 340px; object-position: 30% center; }
    .banner-caption { background: linear-gradient(180deg, rgba(11, 30, 63, .3) 0%, rgba(11, 30, 63, .78) 100%); align-items: flex-end; }
    .banner-caption .container { padding-bottom: 52px; }
    .banner-title { font-size: 24px; max-width: 100%; }
    .banner-title::before { margin-bottom: 12px; height: 3px; }
    .banner-actions { margin-top: 16px; }
    .banner-arrow { display: none; }

    .section { padding: 46px 0; }
    .sec-title { font-size: 23px; }
    .sec-head { margin-bottom: 30px; }

    .home-about { flex-direction: column; gap: 30px; }
    .home-about-media { flex: none; width: 100%; }
    .home-about-badge { right: 14px; bottom: 14px; padding: 12px 16px; }

    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 26px 10px; }
    .stat-num { font-size: 34px; }

    .service-grid { grid-template-columns: 1fr; gap: 16px; }
    .home-news { grid-template-columns: 1fr; gap: 18px; }
    .news-featured-media img { height: 220px; }

    .cta-inner { flex-direction: column; text-align: center; }

    .page-banner { padding: 44px 0; }
    .page-banner-title { font-size: 25px; letter-spacing: 2px; }

    .about-profile { flex-direction: column; }
    .about-profile-media { flex: none; width: 100%; }

    .visit-band { flex-direction: column; gap: 28px; }
    .visit-band-media { flex: none; width: 100%; order: -1; }

    .contact-grid { grid-template-columns: 1fr; gap: 40px; }

    .detail-card { padding: 26px 18px; }
    .detail-pager { grid-template-columns: 1fr; }
    .related-grid { grid-template-columns: 1fr; }
    .detail-side { flex-direction: column; }

    .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; padding-top: 40px; }
    .footer-bottom-inner { justify-content: center; text-align: center; }
}

@media (max-width: 560px) {
    body { font-size: 14.5px; }
    .brand-name { display: none; }
    .brand-logo { height: 38px; }
    .header-inner { height: 62px; }

    .banner-slide img { height: 300px; }

    .steps-grid { grid-template-columns: 1fr; gap: 26px; }
    .feature-grid { grid-template-columns: 1fr; }

    .news-item { flex-direction: column; gap: 14px; padding: 14px; }
    .news-item-media { flex: none; }
    .news-item-media img { width: 100%; height: 180px; }
    .news-item-meta { gap: 12px; flex-wrap: wrap; }
    .news-item-detail { margin-left: 0; width: 100%; }
    .news-row-media { flex: 0 0 104px; }
    .news-row-media img { width: 104px; height: 70px; }

    .form-row { grid-template-columns: 1fr; }

    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-num { font-size: 28px; }
    .stat-name { font-size: 13px; }

    .cta-text h2 { font-size: 20px; }
    .detail-title { font-size: 20px; }
    .sec-more { margin-top: 28px; }
    .detail-foot-cta { flex-direction: column; align-items: flex-start; }

    .footer-grid { grid-template-columns: 1fr; }
}

/* ============ 课件资料列表 ============ */
.mat-list { display: flex; flex-direction: column; gap: 16px; }

.mat-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    transition: box-shadow .25s, transform .25s, border-color .25s;
}

.mat-item:hover {
    box-shadow: var(--shadow);
    transform: translateY(-3px);
    border-color: transparent;
}

.mat-file-badge {
    flex: 0 0 64px;
    height: 72px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy);
    color: var(--gold-light);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: .5px;
}

.mat-file-badge::after { content: ""; position: absolute; }

.mat-badge-pdf { background: #b83b2e; color: #fff; }
.mat-badge-doc, .mat-badge-docx { background: #2b579a; color: #fff; }
.mat-badge-ppt, .mat-badge-pptx { background: #c1511d; color: #fff; }
.mat-badge-xls, .mat-badge-xlsx { background: #1e7145; color: #fff; }
.mat-badge-zip, .mat-badge-rar { background: #7c5cb0; color: #fff; }

.mat-item-body { flex: 1; min-width: 0; }

.mat-item-title {
    font-size: 17px;
    color: var(--navy);
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 4px;
}

.mat-item:hover .mat-item-title { color: var(--gold); }

.mat-item-summary {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mat-item-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 13px;
    color: #97a1b0;
}

.mat-item-meta span { display: inline-flex; align-items: center; gap: 5px; }

.mat-dl-count { color: var(--gold); font-weight: 600; }

.mat-dl-btn {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 22px;
    border-radius: var(--radius);
    font-size: 14.5px;
    white-space: nowrap;
}

@media (max-width: 900px) {
    .mat-item { flex-wrap: wrap; gap: 14px; padding: 14px; }
    .mat-file-badge { flex: 0 0 52px; height: 60px; font-size: 13px; }
    .mat-item-body { flex: 1 1 100%; order: 3; }
    .mat-dl-btn { margin-left: auto; }
    .mat-item-meta { gap: 12px; flex-wrap: wrap; }
}
