/* ==========================================================
   杭州鼎顺助融信息咨询有限公司 · 官网共享样式
   定位：合规信息咨询信源站，沉稳商务风
   ========================================================== */

:root {
    --navy: #1f3a5f;
    --navy-dark: #16293f;
    --blue: #2c5f8a;
    --gold: #b08d45;
    --gold-deep: #97763a;
    --gold-soft: #ece0c6;
    --ink: #22282e;
    --body: #4a525a;
    --muted: #7a828a;
    --line: #e4e8ec;
    --bg-soft: #f6f7f9;
    --bg-white: #ffffff;
    --warn-bg: #fbf3f2;
    --warn-line: #e8b8b3;
    --warn-ink: #8a3a34;
    --radius: 12px;
    --radius-sm: 10px;
    --container: 1080px;
    --shadow-sm: 0 1px 3px rgba(22, 41, 63, 0.06);
    --shadow-md: 0 10px 28px rgba(22, 41, 63, 0.10);
    --shadow-hover: 0 14px 34px rgba(22, 41, 63, 0.15);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
        "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    color: var(--body);
    background: var(--bg-white);
    line-height: 1.75;
    font-size: 15px;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

html, body { max-width: 100%; overflow-x: hidden; }

p, li, a, h1, h2, h3, h4 { overflow-wrap: break-word; }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- 主导航 ---------- */
.site-header {
    background: #212121;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.18);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    height: 80px;
}

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

.brand-mark {
    width: 46px;
    height: 46px;
    border-radius: 8px;
    object-fit: contain;
    flex-shrink: 0;
}

.brand-name {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.25;
}

.brand-sub {
    font-size: 11.5px;
    color: #aebcc9;
}

.brand-full {
    display: block;
    margin: 0 auto 24px;
    width: 220px;
    height: auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.97);
    border-radius: 16px;
    padding: 16px 20px;
    margin-bottom: 28px;
    box-shadow: var(--shadow-md);
}

.hero-badge img {
    width: 150px;
    height: auto;
    display: block;
}

.main-nav ul {
    display: flex;
    gap: 28px;
    list-style: none;
}

.main-nav a {
    color: #e8edf2;
    font-size: 15px;
    padding: 6px 0;
    border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav a.active {
    color: #ffffff;
    text-decoration: none;
    border-bottom-color: var(--gold);
}

.nav-phone {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    line-height: 1.25;
    white-space: nowrap;
    padding: 9px 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.06);
}

.nav-phone-num {
    font-size: 15px;
    font-weight: 700;
    color: #e8edf2;
}

.nav-phone-time {
    font-size: 11px;
    font-weight: 400;
    color: rgba(232, 237, 242, 0.72);
}

.nav-phone:hover {
    text-decoration: none;
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.5);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #ffffff;
    cursor: pointer;
    line-height: 1;
}

/* ---------- 页面头图（内页 banner） ---------- */
.page-hero {
    background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg-white) 100%);
    border-bottom: 1px solid var(--line);
    padding: 48px 0 36px;
}

.page-hero h1 {
    font-size: 30px;
    color: var(--ink);
    margin-bottom: 10px;
    font-weight: 700;
    padding-left: 14px;
    position: relative;
}

.page-hero h1::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    bottom: 6px;
    width: 4px;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--navy), var(--gold));
}

.page-hero p.lead {
    font-size: 16px;
    color: var(--muted);
    max-width: 720px;
}

.breadcrumb {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 16px;
}

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

/* ---------- 首页 Hero ---------- */
.hero {
    background:
        radial-gradient(1000px 480px at 88% -12%, rgba(176, 141, 69, 0.12), transparent 60%),
        radial-gradient(900px 460px at -6% 112%, rgba(44, 95, 138, 0.16), transparent 55%),
        linear-gradient(135deg, #f5f9fc 0%, #e3edf5 55%, #cbddee 100%);
    color: var(--ink);
    padding: 80px 0 72px;
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-size: 34px;
    line-height: 1.4;
    font-weight: 700;
    margin-bottom: 18px;
    max-width: 760px;
    padding-top: 24px;
    position: relative;
}

.hero h1::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 46px;
    height: 3px;
    border-radius: 2px;
    background: var(--gold);
}

.hero p.lead {
    font-size: 17px;
    color: var(--body);
    max-width: 680px;
    margin-bottom: 28px;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-tags span {
    border: 1px solid rgba(31, 58, 95, 0.18);
    border-radius: 20px;
    padding: 6px 16px;
    font-size: 13px;
    color: var(--navy);
    background: rgba(255, 255, 255, 0.6);
}

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

/* ---------- Hero 文案轮播 ---------- */
.hero-slider { padding: 0; }

.hero-swiper { width: 100%; }

.hero-slide {
    position: relative;
    overflow: hidden;
    min-height: 480px;
    display: flex;
    align-items: center;
    padding: 88px 0 80px;
}

.hero-photo {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
}

.hero-slide .container { position: relative; z-index: 1; width: 100%; min-width: 0; }

.hero-slide--concept { --hero-img: url("../assets/banner-concept.jpg"); }

.hero-slide--local { --hero-img: url("../assets/banner-local.jpg"); }

.hero-slide--concept .hero-photo {
    background-image:
        linear-gradient(90deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.6) 40%, rgba(255, 255, 255, 0.05) 72%),
        var(--hero-img);
}

.hero-slide--local .hero-photo {
    background-image:
        linear-gradient(90deg, rgba(245, 249, 252, 0.9) 0%, rgba(233, 240, 246, 0.6) 40%, rgba(233, 240, 246, 0.05) 72%),
        var(--hero-img);
}

.hero h1::before { display: none; }

.hero-tagline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    letter-spacing: 2.5px;
    color: var(--gold-deep);
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero-tagline .tag-dot {
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: var(--gold);
    display: inline-block;
}

.hero h1 span { color: var(--gold-deep); }

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(31, 58, 95, 0.18);
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 6;
    transition: background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.hero-arrow svg { width: 19px; height: 19px; }

.hero-arrow:hover {
    background: #fff;
    border-color: rgba(31, 58, 95, 0.35);
    box-shadow: var(--shadow-md);
}

.hero-prev { left: 26px; }
.hero-next { right: 26px; }

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

.hero-dots .swiper-pagination-bullet {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(31, 58, 95, 0.25);
    opacity: 1;
    transition: background 0.22s ease, transform 0.22s ease;
}

.hero-dots .swiper-pagination-bullet-active {
    background: var(--gold);
    transform: scale(1.15);
}

.btn {
    display: inline-block;
    padding: 12px 26px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.22s ease;
}

.btn-primary {
    background: #fff;
    color: var(--navy);
    font-weight: 600;
}

.btn-primary:hover {
    text-decoration: none;
    background: #eef2f6;
    box-shadow: var(--shadow-md);
}

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

.btn-outline:hover {
    text-decoration: none;
    border-color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

/* Hero 浅色背景下的按钮适配 */
.hero .btn-primary {
    background: var(--navy);
    color: #fff;
}

.hero .btn-primary:hover {
    background: var(--navy-dark);
}

.hero .btn-outline {
    background: transparent;
    color: var(--navy);
    border-color: rgba(31, 58, 95, 0.35);
}

.hero .btn-outline:hover {
    border-color: var(--navy);
    background: rgba(31, 58, 95, 0.06);
}

/* ---------- 区块 ---------- */
.section { padding: 64px 0; }
.section.soft { background: var(--bg-soft); }

.section-head {
    margin-bottom: 32px;
}

.section-head h2 {
    font-size: 24px;
    color: var(--ink);
    font-weight: 700;
    margin-bottom: 8px;
    padding-left: 14px;
    position: relative;
}

.section-head h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    bottom: 5px;
    width: 4px;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--navy), var(--gold));
}

.section-head p {
    color: var(--muted);
    font-size: 15px;
}

/* ---------- 卡片网格 ---------- */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-topic-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service-topic {
    text-align: center;
    min-height: 166px;
}

.service-topic .card-icon { margin: 0 auto 16px; }

@media (max-width: 900px) {
    .service-topic-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .service-topic-grid { grid-template-columns: 1fr; }
}

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

.card {
    background: var(--bg-white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: #d3dde6;
}

.card h3 {
    font-size: 18px;
    color: var(--ink);
    margin-bottom: 10px;
}

.card p {
    font-size: 14px;
    color: var(--body);
}

.card .card-link {
    display: inline-block;
    margin-top: 14px;
    font-size: 14px;
    font-weight: 600;
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, #eef3f8, #e6edf4);
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    font-size: 26px;
    line-height: 1;
}

.card-icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ---------- 咨询流程四步 ---------- */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.process-card {
    background: var(--bg-white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px 22px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.process-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: #d3dde6;
}

.process-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, #eef3f8, #e6edf4);
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.process-icon svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.process-card h3 {
    font-size: 17px;
    color: var(--ink);
    margin-bottom: 8px;
}

.process-card p {
    font-size: 13.5px;
    color: var(--body);
}

.process-action {
    margin-top: 30px;
    text-align: center;
}

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

.process-action .btn-primary:hover {
    background: var(--navy-dark);
}

/* ---------- 数据统计条 ---------- */
.stats {
    padding: 40px 0;
    background: var(--bg-soft);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

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

.stat-item .num {
    font-size: 34px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 6px;
    letter-spacing: -0.5px;
}

.stat-item .num span {
    font-size: 15px;
    color: var(--muted);
    font-weight: 400;
    margin-left: 2px;
}

.stat-item .label {
    font-size: 14px;
    color: var(--body);
}

@media (max-width: 900px) {
    .stats-grid { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
}

@media (max-width: 600px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-last { grid-column: 1 / -1; }
}

/* ---------- 红线公示 / 警示框 ---------- */
.notice {
    background: var(--warn-bg);
    border: 1px solid var(--warn-line);
    border-left: 4px solid var(--warn-ink);
    border-radius: var(--radius);
    padding: 22px 26px;
}

.notice h3 {
    color: var(--warn-ink);
    font-size: 16px;
    margin-bottom: 12px;
}

.notice ul {
    list-style: none;
}

.notice li {
    padding: 5px 0;
    font-size: 14px;
    color: var(--warn-ink);
}

.notice li::before {
    content: "✕";
    margin-right: 10px;
    font-weight: 700;
}

/* ---------- 正文排版 ---------- */
.prose h2 {
    font-size: 22px;
    color: var(--ink);
    margin: 32px 0 14px;
}

.prose h3 {
    font-size: 17px;
    color: var(--ink);
    margin: 22px 0 10px;
}

.prose p { margin-bottom: 14px; }

.prose ul, .prose ol {
    margin: 0 0 14px 22px;
}

.prose li { margin-bottom: 8px; }

.prose strong { color: var(--ink); }

/* ---------- FAQ 手风琴 ---------- */
.faq-cat { margin-bottom: 36px; }

.faq-cat > h2 {
    font-size: 20px;
    color: var(--ink);
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--navy);
}

.faq-item {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    margin-bottom: 12px;
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-q {
    padding: 18px 22px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-weight: 600;
    color: var(--ink);
    font-size: 15px;
}

.faq-q::after {
    content: "+";
    font-size: 20px;
    color: var(--navy);
    flex-shrink: 0;
}

.faq-item.open .faq-q::after { content: "−"; }

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-a-inner {
    padding: 0 22px 18px;
    color: var(--body);
    font-size: 14.5px;
}

.faq-a-inner p { margin-bottom: 10px; }

/* ---------- 资讯列表 ---------- */
.news-list { display: grid; gap: 18px; }

.news-item {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px 26px;
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.news-item .meta {
    font-size: 12.5px;
    color: var(--muted);
    margin-bottom: 8px;
}

.news-item h3 {
    font-size: 17px;
    color: var(--ink);
    margin-bottom: 8px;
}

.news-item h3 a { color: var(--ink); }
.news-item h3 a:hover { color: var(--navy); }

.news-item p { font-size: 14px; color: var(--body); }

.news-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.news-cats span {
    padding: 6px 16px;
    border-radius: 20px;
    background: var(--bg-soft);
    font-size: 13px;
    color: var(--body);
}

/* ---------- 联系页 ---------- */
/* ---------- 联系页前台横幅 ---------- */
.reception-section { padding: 32px 0 8px; }

.reception-banner {
    margin: 0;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
}

.reception-banner img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.reception-banner figcaption {
    padding: 12px 18px;
    font-size: 13px;
    color: var(--muted);
    background: var(--bg-white);
    border-top: 1px solid var(--line);
}

.contact-row .dot { color: var(--line); margin: 0 6px; }

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 32px;
}

.contact-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow-sm);
}

.contact-card h3 {
    font-size: 17px;
    color: var(--ink);
    margin-bottom: 16px;
}

.contact-row {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    font-size: 14.5px;
}

.contact-row:last-child { border-bottom: none; }

.contact-row .label {
    width: 96px;
    color: var(--muted);
    flex-shrink: 0;
    text-align: justify;
    text-align-last: justify;
}

.contact-row > span:last-child {
    flex: 1 1 0;
    min-width: 0;
    overflow-wrap: break-word;
}

.qr-box {
    text-align: center;
}

.qr-box img {
    width: 180px;
    height: 180px;
    margin: 0 auto 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.qr-box img.qr-tall { height: auto; }

.qr-box p { font-size: 13px; color: var(--muted); }

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

.qr-box h3.qr-title { letter-spacing: 0.22em; }

.map-frame {
    position: relative;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    height: 280px;
    overflow: hidden;
}

.map-iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.map-link {
    margin-top: 10px;
    font-size: 13px;
    color: var(--muted);
}

.map-link a { color: var(--navy); }

/* ---------- 页脚 ---------- */
.site-footer {
    background: var(--navy-dark);
    color: #b9c4cf;
    padding: 48px 0 0;
    margin-top: 40px;
    position: relative;
}

.site-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), rgba(176, 141, 69, 0.12));
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 32px;
    padding-bottom: 32px;
}

.site-footer h4 {
    color: #fff;
    font-size: 15px;
    margin-bottom: 14px;
    padding-bottom: 8px;
    position: relative;
}

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

.site-footer p, .site-footer li {
    font-size: 13.5px;
    line-height: 1.9;
}

.site-footer ul { list-style: none; margin: 0; padding: 0; }

.footer-grid > div { display: flex; flex-direction: column; }

.footer-grid > div ul {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.site-footer a { color: #b9c4cf; }
.site-footer a:hover { color: #fff; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.12);
    padding: 18px 0;
    font-size: 12.5px;
    text-align: center;
    color: #8a97a3;
}

/* ---------- 合作伙伴 ---------- */
.partners { background: #ffffff; }
.partners > .container { max-width: var(--container); }

.partners-head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 32px;
}

.partners-head h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 6px;
    display: inline-block;
}

.partners-head h2::after {
    content: "";
    display: block;
    width: 46px;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--navy), var(--gold));
    margin: 10px auto 0;
}

.partners-sub {
    color: var(--gold-deep);
    font-size: 12.5px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.partners-head p {
    color: var(--muted);
    font-size: 13.5px;
}

/* 轮播 */
.partner-carousel {
    position: relative;
    padding: 0 58px;
}

.partner-carousel .swiper {
    overflow: hidden;
}

.partner-carousel .bx-viewport { overflow: hidden; }

.partner-card {
    height: 112px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow: hidden;
}

.partner-card:hover { transform: none; }

.partner-ic-wrap {
    width: 160px;
    height: 80px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.partner-ic { width: 160px; height: 80px; object-fit: contain; }

.partner-name {
    display: none;
}

.partner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: transparent;
    border: 0;
    box-shadow: none;
    color: #bcc7d1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    transition: background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.partner-arrow svg { width: 28px; height: 28px; }

.partner-arrow:hover {
    background: transparent;
    color: #94a3b1;
    box-shadow: none;
}

.bx-prev { left: 0; }
.bx-next { right: 0; }

/* ---------- 移动端 ---------- */
.mobile-nav {
    display: none;
}

@media (max-width: 900px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .process-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .qr-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .container { padding: 0 16px; }

    .main-nav, .nav-phone { display: none; }
    .nav-toggle { display: block; }

    .mobile-nav {
        display: none;
        background: #212121;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .mobile-nav.show { display: block; }

    .mobile-nav ul { list-style: none; }

    .mobile-nav a {
        display: block;
        padding: 14px 24px;
        color: #e8edf2;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    .site-header .container { height: 64px; }
    .brand-mark { width: 38px; height: 38px; }
    .brand-name { font-size: 16px; }

    .hero { padding: 0; background: var(--bg-soft); }
    .hero-slide { min-height: 0; display: flex; align-items: stretch; padding: 28px 0 30px; background: var(--bg-soft); }
    .hero-photo {
        position: absolute;
        inset: 0;
        background-size: cover;
        background-position: center top;
        background-repeat: no-repeat;
    }
    .hero-slide--concept .hero-photo {
        background-image:
            linear-gradient(180deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.86) 60%, rgba(255, 255, 255, 0.93) 100%),
            var(--hero-img);
    }
    .hero-slide--local .hero-photo {
        background-image:
            linear-gradient(180deg, rgba(245, 249, 252, 0.74) 0%, rgba(233, 240, 246, 0.86) 60%, rgba(233, 240, 246, 0.93) 100%),
            var(--hero-img);
    }
    .hero-slide .container { width: 100%; max-width: 100%; min-width: 0; padding: 0 20px; }
    .hero h1 { font-size: 25px; line-height: 1.35; margin-bottom: 12px; padding-top: 0; }
    .hero p.lead { max-width: 100%; overflow-wrap: anywhere; font-size: 15px; line-height: 1.6; margin-bottom: 16px; }
    .hero-tags { gap: 6px; }
    .hero-tags span { font-size: 11.5px; padding: 4px 10px; }
    .hero-actions { margin-top: 18px; gap: 12px; }
    .hero-tagline { font-size: 11px; letter-spacing: 1.8px; margin-bottom: 10px; }
    .hero-arrow { display: none; }
    .hero-dots { bottom: 12px; }

    .page-hero { padding: 32px 0 24px; }
    .page-hero h1 { font-size: 24px; }

    .section { padding: 36px 0; }
    .grid-3, .grid-2, .process-grid { grid-template-columns: 1fr; }
    .intro-card { text-align: center; }
    .adv-grid .card { text-align: center; }
    .adv-grid .card-icon { margin: 0 auto 18px; }
    .svc-grid .card, .step-grid .card { text-align: center; }
    .svc-grid .card-icon, .step-grid .card-icon { margin: 0 auto 18px; }
    .about-prose h2 { text-align: center; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 22px 20px; }
    .footer-grid > div:nth-child(1) { grid-column: 1 / -1; }
    .footer-grid > div:nth-child(4) { grid-column: 1 / -1; }
    .footer-grid > div ul { display: block; }
    .footer-grid > div:nth-child(4) ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px 18px; }
    .footer-grid > div:nth-child(2) li { margin-bottom: 13px; }
    .footer-grid > div:nth-child(2) li:last-child { margin-bottom: 0; }
    .qr-grid { grid-template-columns: 1fr; }

    .partners > .container { max-width: var(--container); }
    .partner-carousel { padding: 0 34px; }
    .partner-card { height: 92px; }
    .partner-ic-wrap, .partner-ic { width: 130px; height: 65px; }
    .partner-arrow { width: 34px; height: 34px; }
}

/* ---------- 右侧悬浮咨询入口（在线咨询 / 公众号） ---------- */
.side-rails {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.55);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-right: none;
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    box-shadow: 0 2px 14px rgba(22, 41, 63, 0.10);
    z-index: 900;
    overflow: hidden;
}

.side-rail-item {
    width: 64px;
    min-height: 78px;
    padding: 14px 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    border-bottom: 1px solid rgba(22, 41, 63, 0.08);
    font-size: 11px;
    color: var(--ink);
    transition: background 0.2s, color 0.2s;
}

.side-rail-item:last-child { border-bottom: none; }

.side-rail-item:hover { background: rgba(255, 255, 255, 0.55); color: var(--navy); }

.side-rail-item .rail-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    font-size: 22px;
    line-height: 1;
    margin-bottom: 5px;
}

.side-rail-item .rail-svg {
    display: block;
    width: 22px;
    height: 22px;
}

/* 二维码弹窗 */
.qr-modal {
    position: fixed;
    inset: 0;
    background: rgba(22, 41, 63, 0.55);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.qr-modal.show { display: flex; }

.qr-modal-box {
    background: var(--bg-white);
    padding: 30px 28px;
    border-radius: var(--radius);
    text-align: center;
    position: relative;
    width: 100%;
    max-width: 320px;
}

.qr-modal-box h3 {
    font-size: 17px;
    color: var(--ink);
    margin-bottom: 18px;
}

.qr-modal-box img {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    border-radius: var(--radius-sm);
}

.qr-modal-box p {
    margin-top: 14px;
    font-size: 14px;
    color: var(--muted);
}

.qr-modal-close {
    position: absolute;
    top: 10px;
    right: 14px;
    border: none;
    background: none;
    font-size: 22px;
    line-height: 1;
    color: var(--muted);
    cursor: pointer;
}

.qr-modal-close:hover { color: var(--ink); }

@media (max-width: 768px) {
    body { padding-bottom: 60px; }

    .side-rails {
        top: auto;
        left: 0;
        right: 0;
        bottom: 0;
        transform: none;
        display: flex;
        background: rgba(255, 255, 255, 0.78);
        border: none;
        border-radius: 0;
        box-shadow: 0 -2px 14px rgba(22, 41, 63, 0.12);
    }

    .side-rail-item {
        flex: 1;
        width: auto;
        padding: 10px 6px 12px;
        border-bottom: none;
        border-right: 1px solid rgba(22, 41, 63, 0.08);
    }

    .side-rail-item:last-child { border-right: none; }

    .side-rail-item .rail-icon { margin-bottom: 3px; }
}
