/* ==========================================================
   深圳市南方华信财产评估有限公司  官网公共样式
   ========================================================== */

/* ---------- 变量与基础重置 ---------- */
:root {
    --navy: #0a2a52;
    --navy-deep: #061c39;
    --navy-light: #14417c;
    --blue: #1b62c9;
    --gold: #c9a227;
    --gold-light: #e5c65a;
    --ink: #1d2430;
    --body: #5a6675;
    --muted: #8b95a3;
    --line: #e6eaf0;
    --bg: #ffffff;
    --bg-soft: #f5f7fa;
    --radius: 10px;
    --shadow-sm: 0 2px 12px rgba(10, 42, 82, .06);
    --shadow: 0 10px 34px rgba(10, 42, 82, .10);
    --shadow-lg: 0 24px 60px rgba(10, 42, 82, .16);
    --font: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Hiragino Sans GB",
            "Source Han Sans SC", "Noto Sans CJK SC", system-ui, -apple-system, "Segoe UI", sans-serif;
    --maxw: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    color: var(--body);
    background: var(--bg);
    font-size: 15px;
    line-height: 1.85;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; transition: color .25s ease; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; }

.container { width: min(100% - 40px, var(--maxw)); margin-inline: auto; }

/* ---------- 通用文本组件 ---------- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 600;
}
.eyebrow::before {
    content: "";
    width: 26px; height: 2px;
    background: var(--gold);
    border-radius: 2px;
}

.section { padding: 92px 0; }
.section--soft { background: var(--bg-soft); }
.section--navy { background: var(--navy); color: rgba(255,255,255,.72); }

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 {
    font-size: clamp(26px, 3.2vw, 38px);
    line-height: 1.35;
    color: var(--navy);
    font-weight: 700;
    margin: 14px 0 16px;
    letter-spacing: .01em;
}
.section-head p { color: var(--body); font-size: 15.5px; }
.section--navy .section-head h2 { color: #fff; }
.section--navy .section-head p { color: rgba(255,255,255,.66); }
.section-head.center .eyebrow::before { display: none; }
.section-head.center .eyebrow::after {
    content: ""; width: 26px; height: 2px; background: var(--gold); border-radius: 2px;
}

/* ---------- 按钮 ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .04em;
    transition: all .3s cubic-bezier(.4,0,.2,1);
    white-space: nowrap;
}
.btn-primary { background: var(--gold); color: #0a2a52; }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(201,162,39,.32); }
.btn-outline { border: 1px solid rgba(255,255,255,.45); color: #fff; }
.btn-outline:hover { background: #fff; color: var(--navy); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--blue); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(10,42,82,.26); }
.btn-ghost { border: 1px solid var(--line); color: var(--navy); background: #fff; }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); box-shadow: var(--shadow-sm); }

/* ---------- 顶部工具条 ---------- */
.topbar {
    background: var(--navy-deep);
    color: rgba(255,255,255,.62);
    font-size: 13px;
    padding: 9px 0;
    border-bottom: 1px solid rgba(255,255,255,.07);
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.topbar-left { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar-left span { display: inline-flex; align-items: center; gap: 7px; }
.topbar-left svg { width: 14px; height: 14px; flex: none; opacity: .8; }
.topbar-right { display: flex; align-items: center; gap: 14px; }
.topbar-right a:hover { color: var(--gold-light); }

/* ---------- 导航栏 ---------- */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,.96);
    backdrop-filter: saturate(150%) blur(12px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .3s ease;
}
.header.is-stuck { box-shadow: 0 6px 24px rgba(10,42,82,.08); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 78px; }

.logo { display: flex; align-items: center; gap: 12px; flex: none; }
.logo-mark {
    width: 46px; height: 46px;
    border-radius: 8px;
    background: linear-gradient(140deg, var(--navy) 0%, var(--blue) 100%);
    display: grid; place-items: center;
    color: #fff;
    font-weight: 800;
    font-size: 19px;
    letter-spacing: -.02em;
    box-shadow: 0 6px 16px rgba(10,42,82,.22);
    flex: none;
}
.logo-mark small { display: block; font-size: 8px; letter-spacing: .1em; font-weight: 500; opacity: .8; margin-top: -2px; }
.logo-text strong {
    display: block;
    color: var(--navy);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: .04em;
    line-height: 1.3;
}
.logo-text span { display: block; font-size: 11px; color: var(--muted); letter-spacing: .16em; text-transform: uppercase; }

.menu { display: flex; align-items: center; gap: 4px; }
.menu > li { position: relative; }
.menu a {
    display: block;
    padding: 10px 16px;
    font-size: 15px;
    color: var(--ink);
    font-weight: 500;
    position: relative;
}
.menu > li > a::after {
    content: "";
    position: absolute;
    left: 16px; right: 16px; bottom: 2px;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s ease;
}
.menu > li > a:hover,
.menu > li > a.active { color: var(--navy); }
.menu > li > a:hover::after,
.menu > li > a.active::after { transform: scaleX(1); }

.submenu {
    position: absolute;
    top: 100%; left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 210px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transition: all .28s ease;
    border-top: 3px solid var(--gold);
}
.menu li:hover .submenu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.submenu a { font-size: 14px; padding: 10px 14px; border-radius: 6px; color: var(--body); display: flex; justify-content: space-between; }
.submenu a:hover { background: var(--bg-soft); color: var(--navy); }

.nav-cta { display: flex; align-items: center; gap: 12px; flex: none; }
.nav-cta .btn { padding: 11px 22px; font-size: 14px; }
.nav-hotline { display: flex; flex-direction: column; line-height: 1.3; }
.nav-hotline b { color: var(--navy); font-size: 17px; letter-spacing: .02em; }
.nav-hotline i { font-style: normal; font-size: 11.5px; color: var(--muted); letter-spacing: .08em; }

.burger {
    display: none;
    width: 42px; height: 42px;
    border-radius: 6px;
    border: 1px solid var(--line);
    background: #fff;
    position: relative;
}
.burger span {
    position: absolute; left: 11px; right: 11px; height: 2px;
    background: var(--navy); transition: all .3s ease;
}
.burger span:nth-child(1) { top: 14px; }
.burger span:nth-child(2) { top: 20px; }
.burger span:nth-child(3) { top: 26px; }
.burger.open span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

/* ---------- 页面横幅 ---------- */
.page-banner {
    position: relative;
    padding: 96px 0 84px;
    background:
        radial-gradient(1100px 420px at 82% 8%, rgba(201,162,39,.20), transparent 62%),
        linear-gradient(120deg, var(--navy-deep) 0%, var(--navy) 45%, var(--navy-light) 100%);
    color: #fff;
    overflow: hidden;
}
.page-banner::after {
    content: "";
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(circle at 70% 40%, #000, transparent 72%);
    pointer-events: none;
}
.page-banner .container { position: relative; z-index: 1; }
.page-banner h1 { font-size: clamp(28px, 4vw, 44px); font-weight: 700; margin: 12px 0 14px; letter-spacing: .02em; }
.page-banner p { color: rgba(255,255,255,.7); max-width: 620px; }
.breadcrumb { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: rgba(255,255,255,.55); }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb em { font-style: normal; color: rgba(255,255,255,.35); }

/* ---------- 卡片通用 ---------- */
.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all .35s cubic-bezier(.4,0,.2,1);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }

/* ---------- 首屏 Banner ---------- */
.hero { position: relative; height: 640px; min-height: 560px; overflow: hidden; background: var(--navy-deep); }
.hero-slide {
    position: absolute; inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
    display: flex; align-items: center;
}
.hero-slide.active { opacity: 1; z-index: 2; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,28,57,.90) 0%, rgba(6,28,57,.62) 55%, rgba(6,28,57,.30) 100%); }
.hero-slide:nth-child(1) .hero-bg { background: linear-gradient(120deg, #061c39, #0a2a52 40%, #14417c); }
.hero-slide:nth-child(2) .hero-bg { background: linear-gradient(120deg, #071d33, #0d3559 45%, #1b62c9); }
.hero-slide:nth-child(3) .hero-bg { background: linear-gradient(120deg, #0a2350, #123a72 45%, #2a5ca8); }
.hero-bg-pattern {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(100deg, #000, transparent 78%);
}
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
    opacity: .5;
}
.hero-orb.a { width: 420px; height: 420px; right: 6%; top: 12%; background: radial-gradient(circle, rgba(201,162,39,.42), transparent 68%); }
.hero-orb.b { width: 300px; height: 300px; right: 26%; bottom: 6%; background: radial-gradient(circle, rgba(27,98,201,.45), transparent 66%); }

.hero .container { position: relative; z-index: 3; }
.hero-content { max-width: 640px; color: #fff; }
.hero-tag {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 7px 16px;
    border: 1px solid rgba(201,162,39,.5);
    border-radius: 40px;
    font-size: 13px;
    color: var(--gold-light);
    letter-spacing: .1em;
    background: rgba(201,162,39,.08);
    margin-bottom: 26px;
}
.hero-content h1 {
    font-size: clamp(32px, 4.6vw, 54px);
    line-height: 1.28;
    font-weight: 700;
    letter-spacing: .01em;
    margin-bottom: 22px;
}
.hero-content h1 em { font-style: normal; color: var(--gold-light); }
.hero-content > p { font-size: 16.5px; color: rgba(255,255,255,.76); margin-bottom: 34px; max-width: 540px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 46px; }
.hero-points { display: flex; gap: 34px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.16); padding-top: 26px; }
.hero-points li strong { display: block; font-size: 26px; color: var(--gold-light); font-weight: 700; line-height: 1.2; }
.hero-points li strong em { font-style: normal; font-size: 15px; margin-left: 1px; color: var(--gold); }
.hero-points li span { font-size: 13px; color: rgba(255,255,255,.6); letter-spacing: .06em; }

.hero-dots { position: absolute; left: 0; right: 0; bottom: 34px; z-index: 5; display: flex; justify-content: center; gap: 10px; }
.hero-dots button {
    width: 30px; height: 3px; border-radius: 3px;
    background: rgba(255,255,255,.32);
    transition: all .3s ease;
}
.hero-dots button.active { background: var(--gold); width: 46px; }

/* ---------- 数据条 ---------- */
.stats-strip { position: relative; margin-top: -60px; z-index: 10; }
.stats-box {
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: hidden;
}
.stats-box > div { padding: 38px 26px; text-align: center; position: relative; }
.stats-box > div + div::before {
    content: ""; position: absolute; left: 0; top: 24%; bottom: 24%; width: 1px; background: var(--line);
}
.stats-box b { display: block; font-size: 38px; color: var(--navy); font-weight: 700; line-height: 1.15; }
.stats-box b i { font-style: normal; font-size: 20px; color: var(--gold); margin-left: 2px; }
.stats-box span { font-size: 14px; color: var(--body); letter-spacing: .04em; }

/* ---------- 业务领域 ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 38px 32px 32px;
    position: relative;
    overflow: hidden;
    transition: all .4s cubic-bezier(.4,0,.2,1);
}
.service-card::before {
    content: "";
    position: absolute; left: 0; top: 0; width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--navy), var(--blue));
    transform: scaleX(0); transform-origin: left;
    transition: transform .4s ease;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.svc-icon {
    width: 62px; height: 62px;
    border-radius: 12px;
    background: linear-gradient(140deg, rgba(10,42,82,.08), rgba(27,98,201,.14));
    display: grid; place-items: center;
    margin-bottom: 22px;
    color: var(--navy);
    transition: all .35s ease;
}
.svc-icon svg { width: 30px; height: 30px; }
.service-card:hover .svc-icon { background: var(--navy); color: var(--gold-light); transform: rotate(-4deg) scale(1.05); }
.service-card h3 { font-size: 19.5px; color: var(--navy); margin-bottom: 12px; font-weight: 600; }
.service-card h3 a:hover { color: var(--blue); }
.service-card p { font-size: 14.5px; color: var(--body); margin-bottom: 18px; min-height: 78px; }
.service-card ul { display: grid; gap: 8px; margin-bottom: 20px; }
.service-card ul li { font-size: 13.5px; color: var(--muted); display: flex; gap: 9px; align-items: flex-start; }
.service-card ul li::before {
    content: ""; flex: none; margin-top: 9px; width: 5px; height: 5px;
    border-radius: 50%; background: var(--gold);
}
.more-link {
    display: inline-flex; align-items: center; gap: 7px;
    color: var(--navy); font-size: 14px; font-weight: 600;
}
.more-link svg { width: 15px; height: 15px; transition: transform .3s ease; }
.more-link:hover { color: var(--blue); }
.more-link:hover svg { transform: translateX(4px); }

/* ---------- 关于区块 ---------- */
.about-wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.about-visual { position: relative; }
.about-main {
    border-radius: 14px;
    aspect-ratio: 4/3.1;
    background: linear-gradient(140deg, #0a2a52, #14417c 55%, #1b62c9);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    display: grid; place-items: center;
}
.about-main::after {
    content: ""; position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
    background-size: 46px 46px;
}
.about-seal {
    position: relative; z-index: 2;
    width: 190px; height: 190px;
    border-radius: 50%;
    border: 2px solid rgba(229,198,90,.7);
    display: grid; place-items: center; text-align: center;
    color: #fff;
    background: rgba(255,255,255,.05);
    backdrop-filter: blur(2px);
}
.about-seal b { display: block; font-size: 17px; letter-spacing: .12em; }
.about-seal span { display: block; font-size: 11px; letter-spacing: .3em; color: var(--gold-light); margin-top: 6px; }
.about-badge {
    position: absolute; z-index: 3;
    right: -18px; bottom: -18px;
    background: #fff;
    border-radius: 12px;
    padding: 20px 24px;
    box-shadow: var(--shadow-lg);
    border-left: 4px solid var(--gold);
}
.about-badge b { display: block; font-size: 30px; color: var(--navy); line-height: 1.1; }
.about-badge span { font-size: 12.5px; color: var(--muted); letter-spacing: .08em; }

.feature-list { display: grid; gap: 18px; margin: 28px 0 34px; }
.feature-list li { display: flex; gap: 14px; align-items: flex-start; }
.feature-list i {
    flex: none; width: 34px; height: 34px; border-radius: 50%;
    background: rgba(201,162,39,.14); color: var(--gold);
    display: grid; place-items: center; font-size: 15px;
}
.feature-list b { display: block; color: var(--navy); font-size: 15.5px; font-weight: 600; }
.feature-list p { font-size: 13.5px; color: var(--muted); line-height: 1.7; }

/* ---------- 服务流程 ---------- */
.flow-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; position: relative; }
.flow-grid::before {
    content: ""; position: absolute; top: 34px; left: 8%; right: 8%; height: 1px;
    background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px);
}
.flow-item { text-align: center; position: relative; padding: 0 10px; }
.flow-step {
    width: 68px; height: 68px; margin: 0 auto 20px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--line);
    display: grid; place-items: center;
    color: var(--navy); font-size: 20px; font-weight: 700;
    position: relative; z-index: 2;
    transition: all .35s ease;
}
.flow-item:hover .flow-step { background: var(--navy); color: #fff; border-color: var(--gold); transform: scale(1.08); }
.flow-item b { display: block; color: var(--navy); font-size: 16px; margin-bottom: 8px; }
.flow-item p { font-size: 13px; color: var(--muted); line-height: 1.7; }

/* ---------- 新闻 ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.news-card .thumb {
    aspect-ratio: 16/10;
    position: relative;
    overflow: hidden;
    display: grid; place-items: center;
}
.news-card:nth-child(3n+1) .thumb { background: linear-gradient(140deg, #0a2a52, #1b62c9); }
.news-card:nth-child(3n+2) .thumb { background: linear-gradient(140deg, #123a72, #2a7fb8); }
.news-card:nth-child(3n+3) .thumb { background: linear-gradient(140deg, #0d3559, #14417c); }
.news-card .thumb::after {
    content: ""; position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
    background-size: 34px 34px;
}
.news-date {
    position: absolute; left: 18px; top: 18px; z-index: 2;
    background: rgba(255,255,255,.94);
    border-radius: 6px;
    padding: 6px 12px;
    text-align: center;
    line-height: 1.25;
}
.news-date b { display: block; font-size: 20px; color: var(--navy); font-weight: 700; }
.news-date span { font-size: 11px; color: var(--muted); letter-spacing: .06em; }
.news-body { padding: 24px 26px 26px; }
.news-body .tag {
    display: inline-block; font-size: 12px; color: var(--gold);
    letter-spacing: .1em; margin-bottom: 10px; font-weight: 600;
}
.news-body h3 { font-size: 17.5px; color: var(--navy); font-weight: 600; line-height: 1.6; margin-bottom: 12px; }
.news-body h3 a:hover { color: var(--blue); }
.news-body p { font-size: 13.5px; color: var(--muted); margin-bottom: 16px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- 资质荣誉 ---------- */
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cert-item {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 30px 24px; text-align: center; transition: all .35s ease;
}
.cert-item:hover { border-color: var(--gold); box-shadow: var(--shadow); transform: translateY(-5px); }
.cert-item .ci {
    width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%;
    background: linear-gradient(140deg, rgba(10,42,82,.08), rgba(201,162,39,.16));
    display: grid; place-items: center; color: var(--navy);
}
.cert-item .ci svg { width: 26px; height: 26px; }
.cert-item b { display: block; color: var(--navy); font-size: 15.5px; margin-bottom: 8px; }
.cert-item span { font-size: 12.5px; color: var(--muted); line-height: 1.7; }

/* ---------- 合作伙伴 ---------- */
.partners { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.partners div {
    background: #fff; padding: 26px 14px; text-align: center;
    color: var(--muted); font-size: 13.5px; font-weight: 500; letter-spacing: .04em;
    transition: all .3s ease;
}
.partners div:hover { background: var(--navy); color: #fff; }

/* ---------- CTA ---------- */
.cta-banner {
    background: linear-gradient(120deg, var(--navy-deep), var(--navy) 50%, var(--navy-light));
    padding: 66px 60px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: space-between; gap: 40px;
    position: relative; overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.cta-banner::after {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(700px 300px at 90% 20%, rgba(201,162,39,.22), transparent 60%);
}
.cta-banner > * { position: relative; z-index: 2; }
.cta-banner h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); font-weight: 700; margin-bottom: 12px; line-height: 1.4; }
.cta-banner p { color: rgba(255,255,255,.7); max-width: 560px; }

/* ---------- 页脚 ---------- */
.footer { background: var(--navy-deep); color: rgba(255,255,255,.6); }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 48px; padding: 72px 0 52px; }
.footer .logo-text strong { color: #fff; }
.footer .logo-text span { color: rgba(255,255,255,.4); }
.footer-about p { font-size: 13.5px; line-height: 1.9; margin: 20px 0 22px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
    width: 38px; height: 38px; border-radius: 50%;
    background: rgba(255,255,255,.07);
    display: grid; place-items: center; color: rgba(255,255,255,.7);
    transition: all .3s ease;
}
.footer-social a:hover { background: var(--gold); color: var(--navy-deep); transform: translateY(-3px); }
.footer-social svg { width: 17px; height: 17px; }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 22px; font-weight: 600; position: relative; padding-bottom: 14px; }
.footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 32px; height: 2px; background: var(--gold); }
.footer-links { display: grid; gap: 12px; }
.footer-links a { font-size: 13.5px; display: flex; gap: 8px; align-items: center; }
.footer-links a::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--gold); flex: none; }
.footer-links a:hover { color: var(--gold-light); padding-left: 4px; }
.footer-contact li { display: flex; gap: 12px; font-size: 13.5px; margin-bottom: 16px; line-height: 1.75; }
.footer-contact svg { width: 15px; height: 15px; flex: none; margin-top: 6px; color: var(--gold); }
.footer-contact b { color: #fff; font-weight: 500; }
.footer-contact em { font-style: normal; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 22px 0;
    font-size: 13px;
    display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.footer-bottom a:hover { color: var(--gold-light); }

/* ---------- 返回顶部 / 浮动工具 ---------- */
.float-tools { position: fixed; right: 22px; bottom: 28px; z-index: 90; display: grid; gap: 10px; }
.float-btn {
    width: 48px; height: 48px; border-radius: 10px;
    background: var(--navy); color: #fff;
    display: grid; place-items: center;
    box-shadow: var(--shadow);
    transition: all .3s ease;
    opacity: 0; transform: translateY(12px); pointer-events: none;
}
.float-btn.show { opacity: 1; transform: none; pointer-events: auto; }
.float-btn:hover { background: var(--gold); color: var(--navy-deep); }
.float-btn svg { width: 20px; height: 20px; }

/* ---------- 滚动动画 ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.22,.68,.36,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 内容页通用 ---------- */
.prose { max-width: 900px; }
.prose p { margin-bottom: 18px; font-size: 15.5px; }
.prose h3 { color: var(--navy); font-size: 20px; margin: 34px 0 16px; font-weight: 600; }
.prose ul { display: grid; gap: 12px; margin-bottom: 20px; }
.prose ul li { display: flex; gap: 12px; font-size: 15px; }
.prose ul li::before { content: ""; flex: none; margin-top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }

.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.info-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 34px 30px; text-align: center; transition: all .35s ease;
}
.info-card:hover { box-shadow: var(--shadow); transform: translateY(-6px); border-color: transparent; }
.info-card .ic {
    width: 58px; height: 58px; margin: 0 auto 18px; border-radius: 12px;
    background: linear-gradient(140deg, var(--navy), var(--blue));
    display: grid; place-items: center; color: #fff;
}
.info-card .ic svg { width: 26px; height: 26px; }
.info-card b { display: block; color: var(--navy); font-size: 17px; margin-bottom: 10px; }
.info-card p { font-size: 14px; color: var(--body); }
.info-card p em { font-style: normal; display: block; color: var(--muted); font-size: 13px; margin-top: 6px; }

/* 时间轴 */
.timeline { position: relative; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline li { position: relative; padding-bottom: 34px; }
.timeline li::before {
    content: ""; position: absolute; left: -34px; top: 8px;
    width: 16px; height: 16px; border-radius: 50%;
    background: #fff; border: 3px solid var(--gold);
}
.timeline b { display: block; color: var(--navy); font-size: 19px; margin-bottom: 6px; font-weight: 700; }
.timeline strong { display: block; color: var(--ink); font-size: 15.5px; margin-bottom: 6px; }
.timeline p { font-size: 14px; color: var(--muted); }

/* 团队卡片 */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.team-card { text-align: center; }
.team-avatar {
    aspect-ratio: 3/3.6;
    border-radius: var(--radius);
    display: grid; place-items: center;
    position: relative; overflow: hidden;
    margin-bottom: 18px;
}
.team-card:nth-child(4n+1) .team-avatar { background: linear-gradient(160deg, #0a2a52, #1b62c9); }
.team-card:nth-child(4n+2) .team-avatar { background: linear-gradient(160deg, #123a72, #2a7fb8); }
.team-card:nth-child(4n+3) .team-avatar { background: linear-gradient(160deg, #0d3559, #3c6fb5); }
.team-card:nth-child(4n+4) .team-avatar { background: linear-gradient(160deg, #061c39, #14417c); }
.team-avatar span { font-size: 44px; color: rgba(255,255,255,.9); font-weight: 700; }
.team-avatar::before {
    content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,.12); bottom: -70px; right: -50px;
}
.team-card b { display: block; color: var(--navy); font-size: 18px; }
.team-card i { font-style: normal; display: block; font-size: 13px; color: var(--gold); margin: 4px 0 8px; letter-spacing: .06em; }
.team-card p { font-size: 13px; color: var(--muted); line-height: 1.7; }

/* 案例 */
.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.case-card { display: grid; grid-template-columns: 200px 1fr; }
.case-visual {
    display: grid; place-items: center; position: relative;
    background: linear-gradient(140deg, var(--navy), var(--blue));
}
.case-visual b { font-size: 34px; color: var(--gold-light); font-weight: 700; }
.case-visual span { font-size: 12px; color: rgba(255,255,255,.6); letter-spacing: .1em; }
.case-body { padding: 28px 30px; }
.case-body .cat {
    display: inline-block; font-size: 12px; color: #fff; background: var(--navy);
    padding: 3px 12px; border-radius: 30px; letter-spacing: .06em; margin-bottom: 12px;
}
.case-body h3 { font-size: 18px; color: var(--navy); margin-bottom: 10px; font-weight: 600; line-height: 1.55; }
.case-body p { font-size: 13.5px; color: var(--muted); margin-bottom: 14px; }
.case-meta { display: flex; gap: 26px; border-top: 1px dashed var(--line); padding-top: 14px; }
.case-meta div span { display: block; font-size: 11.5px; color: var(--muted); letter-spacing: .06em; }
.case-meta div b { font-size: 16px; color: var(--navy); }

/* 表格 */
.data-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.data-table th { background: var(--navy); color: #fff; font-size: 14.5px; font-weight: 600; padding: 16px 20px; text-align: left; letter-spacing: .04em; }
.data-table td { padding: 15px 20px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--body); }
.data-table tbody tr:hover td { background: var(--bg-soft); }
.data-table tbody tr:last-child td { border-bottom: none; }

/* 表单 */
.form-card { background: #fff; border-radius: 14px; box-shadow: var(--shadow); padding: 46px 44px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; color: var(--navy); font-weight: 600; margin-bottom: 8px; }
.form-group label i { color: #e0533d; font-style: normal; }
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%; padding: 13px 16px;
    border: 1px solid var(--line); border-radius: 6px;
    font-family: inherit; font-size: 14.5px; color: var(--ink);
    background: #fff; transition: all .25s ease;
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none; border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(27,98,201,.10);
}
.form-note { font-size: 13px; color: var(--muted); margin-top: 16px; }
.form-alert {
    display: none; margin-top: 16px; padding: 13px 16px; border-radius: 6px;
    background: rgba(27,98,201,.08); border-left: 3px solid var(--blue);
    color: var(--navy); font-size: 14px;
}
.form-alert.show { display: block; }

/* 地图占位 */
.map-box {
    aspect-ratio: 16/10;
    border-radius: 12px; overflow: hidden; position: relative;
    background: linear-gradient(140deg, #eef2f7, #dfe7f1);
    display: grid; place-items: center;
    box-shadow: var(--shadow-sm);
}
.map-box::before {
    content: ""; position: absolute; inset: 0;
    background-image: linear-gradient(rgba(10,42,82,.07) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(10,42,82,.07) 1px, transparent 1px);
    background-size: 40px 40px;
}
.map-pin { position: relative; z-index: 2; text-align: center; }
.map-pin .dot {
    width: 22px; height: 22px; border-radius: 50%; margin: 0 auto 6px;
    background: var(--navy); box-shadow: 0 0 0 8px rgba(10,42,82,.14);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(10,42,82,.35); }
    70% { box-shadow: 0 0 0 20px rgba(10,42,82,0); }
    100% { box-shadow: 0 0 0 0 rgba(10,42,82,0); }
}
.map-pin b { color: var(--navy); font-size: 15px; }
.map-pin span { display: block; font-size: 12.5px; color: var(--muted); }

.case-filter { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 34px; }
.case-filter button {
    padding: 9px 20px; border-radius: 999px; border: 1px solid var(--line);
    background: #fff; font-size: 13.5px; color: var(--navy); font-weight: 500;
    cursor: pointer; transition: all .25s ease;
}
.case-filter button:hover { border-color: var(--navy); }
.case-filter button.active { background: var(--navy); color: #fff; border-color: var(--navy); }

/* 高德地图加载成功后隐藏占位元素 */
.map-box.has-amap::before { display: none; }
.map-box.has-amap .map-pin { display: none; }
.map-box.has-amap { aspect-ratio: 16/10; }

.map-links { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 14px; }
.map-links a {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 9px 16px; border-radius: 999px;
    border: 1px solid var(--line); background: #fff;
    font-size: 13px; color: var(--navy); font-weight: 500;
    text-decoration: none; transition: all .25s ease;
}
.map-links a svg { width: 15px; height: 15px; }
.map-links a:hover { border-color: var(--navy); background: var(--navy); color: #fff; box-shadow: var(--shadow-sm); }

/* 业务详情条目 */
.svc-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 46px 0; border-bottom: 1px solid var(--line); }
.svc-detail:last-child { border-bottom: none; }
.svc-detail.reverse .svc-visual { order: 2; }
.svc-visual {
    border-radius: 12px; aspect-ratio: 16/10;
    display: grid; place-items: center; position: relative; overflow: hidden;
    box-shadow: var(--shadow);
}
.svc-visual::after {
    content: ""; position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
    background-size: 40px 40px;
}
.svc-visual svg { width: 74px; height: 74px; color: rgba(255,255,255,.9); position: relative; z-index: 2; }
.svc-detail:nth-child(odd) .svc-visual { background: linear-gradient(140deg, #0a2a52, #14417c 55%, #1b62c9); }
.svc-detail:nth-child(even) .svc-visual { background: linear-gradient(140deg, #123a72, #2a7fb8 60%, #14417c); }
.svc-detail h3 { font-size: 24px; color: var(--navy); margin-bottom: 14px; font-weight: 600; }
.svc-detail p { margin-bottom: 18px; }
.svc-detail ol { display: grid; gap: 10px; margin-bottom: 24px; counter-reset: s; }
.svc-detail ol li { display: flex; gap: 12px; font-size: 14.5px; color: var(--body); counter-increment: s; }
.svc-detail ol li::before {
    content: counter(s); flex: none;
    width: 24px; height: 24px; border-radius: 50%;
    background: rgba(10,42,82,.08); color: var(--navy);
    display: grid; place-items: center; font-size: 12.5px; font-weight: 700;
}

/* 侧边栏 */
.layout-side { display: grid; grid-template-columns: 1fr 320px; gap: 50px; align-items: start; }
.side-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; margin-bottom: 24px; }
.side-box h4 { color: var(--navy); font-size: 17px; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 2px solid var(--line); position: relative; }
.side-nav li a {
    display: flex; justify-content: space-between; align-items: center;
    padding: 11px 0; font-size: 14.5px; color: var(--body);
    border-bottom: 1px dashed var(--line);
}
.side-nav li:last-child a { border-bottom: none; }
.side-nav li a:hover, .side-nav li a.active { color: var(--navy); font-weight: 600; }
.side-contact { background: linear-gradient(150deg, var(--navy), var(--navy-light)); color: rgba(255,255,255,.72); border: none; }
.side-contact h4 { color: #fff; border-color: rgba(255,255,255,.16); }
.side-contact p { font-size: 13.5px; margin-bottom: 18px; }
.side-contact .btn { width: 100%; justify-content: center; }

/* 分页 */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 50px; }
.pagination button {
    min-width: 42px; height: 42px; padding: 0 12px;
    border: 1px solid var(--line); border-radius: 6px;
    background: #fff; color: var(--body); font-size: 14px; transition: all .25s ease;
}
.pagination button:hover { border-color: var(--navy); color: var(--navy); }
.pagination button.active { background: var(--navy); color: #fff; border-color: var(--navy); }

/* 文章列表 */
.post-list { display: grid; gap: 22px; }
.post-item { display: grid; grid-template-columns: 200px 1fr; gap: 30px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: all .35s ease; }
.post-item:hover { box-shadow: var(--shadow); border-color: transparent; transform: translateY(-4px); }
.post-thumb { position: relative; display: grid; place-items: center; }
.post-thumb span { color: rgba(255,255,255,.85); font-size: 13px; letter-spacing: .1em; z-index: 2; }
.post-thumb::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 30px 30px; }
.post-item:nth-child(3n+1) .post-thumb { background: linear-gradient(140deg, #0a2a52, #1b62c9); }
.post-item:nth-child(3n+2) .post-thumb { background: linear-gradient(140deg, #123a72, #2a7fb8); }
.post-item:nth-child(3n+3) .post-thumb { background: linear-gradient(140deg, #0d3559, #14417c); }
.post-body { padding: 26px 30px 26px 0; display: flex; flex-direction: column; justify-content: center; }
.post-meta { display: flex; gap: 18px; font-size: 12.5px; color: var(--muted); margin-bottom: 10px; }
.post-meta em { font-style: normal; color: var(--gold); font-weight: 600; letter-spacing: .08em; }
.post-body h3 { font-size: 19px; color: var(--navy); font-weight: 600; margin-bottom: 10px; line-height: 1.55; }
.post-body h3 a:hover { color: var(--blue); }
.post-body p { font-size: 13.5px; color: var(--muted); margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* FAQ */
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 14px; background: #fff; overflow: hidden; transition: all .3s ease; }
.faq-item:hover { border-color: rgba(10,42,82,.2); }
.faq-item.open { box-shadow: var(--shadow-sm); border-color: transparent; }
.faq-q { padding: 20px 26px; display: flex; justify-content: space-between; gap: 20px; align-items: center; cursor: pointer; }
.faq-q b { color: var(--navy); font-size: 16px; font-weight: 600; line-height: 1.6; }
.faq-q i { flex: none; width: 26px; height: 26px; border-radius: 50%; background: rgba(10,42,82,.07); display: grid; place-items: center; color: var(--navy); transition: all .3s ease; font-style: normal; }
.faq-item.open .faq-q i { background: var(--navy); color: #fff; transform: rotate(45deg); }
.faq-a { padding: 0 26px; max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .35s ease; font-size: 14.5px; }
.faq-item.open .faq-a { padding: 0 26px 22px; max-height: 400px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
    .menu { gap: 0; }
    .menu a { padding: 10px 11px; font-size: 14px; }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .cert-grid { grid-template-columns: repeat(2, 1fr); }
    .flow-grid { grid-template-columns: repeat(3, 1fr); gap: 30px 0; }
    .flow-grid::before { display: none; }
    .partners { grid-template-columns: repeat(3, 1fr); }
    .layout-side { grid-template-columns: 1fr; }
    .info-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
    .topbar-right { display: none; }
    .nav-hotline, .nav-cta .btn-primary { display: none; }
    .burger { display: block; }
    .menu {
        position: absolute; top: 100%; left: 0; right: 0;
        background: #fff; flex-direction: column; align-items: stretch;
        box-shadow: var(--shadow); padding: 10px 16px 18px;
        max-height: calc(100vh - 78px); overflow-y: auto;
        opacity: 0; visibility: hidden; transform: translateY(-10px);
        transition: all .28s ease;
    }
    .menu.open { opacity: 1; visibility: visible; transform: none; }
    .menu > li > a { padding: 13px 4px; border-bottom: 1px solid var(--line); }
    .menu > li > a::after { display: none; }
    .submenu {
        position: static; transform: none; opacity: 1; visibility: visible;
        box-shadow: none; padding: 4px 0 8px 12px; border: none; min-width: 0;
        background: transparent;
    }
    .hero { height: auto; min-height: 0; padding: 74px 0 90px; }
    .hero-slide { position: relative; opacity: 0; display: none; }
    .hero-slide.active { display: flex; opacity: 1; }
    .hero-bg { display: none; }
    .hero-content { background: var(--navy); margin: 0 -20px; padding: 44px 20px 0; }
    .hero-points li strong { font-size: 22px; }
    .hero-dots { display: none; }
    .stats-strip { margin-top: 30px; }
    .stats-box { grid-template-columns: repeat(2, 1fr); }
    .stats-box > div:nth-child(3)::before,
    .stats-box > div:nth-child(1)::before { display: none; }
    .stats-box > div:nth-child(3),
    .stats-box > div:nth-child(4) { border-top: 1px solid var(--line); }
    .section { padding: 62px 0; }
    .about-wrap, .split, .form-row, .case-card, .post-item, .svc-detail { grid-template-columns: 1fr; }
    .svc-detail.reverse .svc-visual { order: 0; }
    .case-body { padding: 24px; }
    .post-body { padding: 22px 24px 24px; }
    .services-grid, .news-grid, .team-grid, .cert-grid, .partners { grid-template-columns: 1fr; }
    .cta-banner { flex-direction: column; padding: 44px 30px; text-align: center; }
    .form-card { padding: 32px 24px; }
    .footer-top { grid-template-columns: 1fr; gap: 34px; padding: 52px 0 40px; }
}

@media (max-width: 520px) {
    .stats-box { grid-template-columns: 1fr; }
    .stats-box > div::before { display: none; }
    .stats-box > div + div { border-top: 1px solid var(--line); }
    .flow-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-points { gap: 22px; }
    .case-meta { gap: 18px; }
}
