/* 企业官网样式：干净克制，白底 + 单一强调色 */

:root {
    --bg: #ffffff;
    --soft: #f7f8fa;
    --text: #1b1c1f;
    --muted: #6b7280;
    --faint: #9aa0a6;
    --line: #e6e8ec;
    --accent: #1f6feb;
    --accent-dark: #1a5fd0;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
                 "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    font-size: 16px;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}

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

.wrap { max-width: 1000px; margin: 0 auto; padding: 0 24px; }

/* ---------- 顶部导航 ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .92);
    border-bottom: 1px solid var(--line);
}
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 62px;
}
.brand {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    max-width: 62%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.brand:hover { text-decoration: none; }
.brand .dot {
    display: inline-block;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--accent);
    margin-right: 8px;
    vertical-align: 2px;
}
.nav-links a {
    margin-left: 22px;
    font-size: 14px;
    color: var(--muted);
}
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-msg {
    margin-left: 22px;
    padding: 6px 15px;
    border: 1px solid var(--accent);
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font-size: 13.5px;
    font-family: inherit;
    font-weight: 600;
    line-height: 1.5;
    cursor: pointer;
    transition: background .18s, border-color .18s;
}
.nav-msg:hover { background: var(--accent-dark); border-color: var(--accent-dark); }

/* ---------- 区块通用 ---------- */
.section { padding: 72px 0; }
.section.soft { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head { margin-bottom: 36px; }
.section-head .kicker {
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 600;
}
.section-head h2 {
    margin: 6px 0 10px;
    font-size: 26px;
    font-weight: 650;
    letter-spacing: .01em;
}
.section-head p { margin: 0; color: var(--muted); font-size: 15px; }
.rule { width: 36px; height: 3px; background: var(--accent); border-radius: 2px; margin: 14px 0 0; }

/* ---------- 首屏 ---------- */
.hero { padding: 92px 0 84px; text-align: center; }
.hero h1 {
    margin: 0 0 16px;
    font-size: clamp(26px, 4.4vw, 40px);
    font-weight: 680;
    line-height: 1.35;
    letter-spacing: .01em;
}
.hero .lead {
    margin: 0 auto 30px;
    max-width: 640px;
    color: var(--muted);
    font-size: 17px;
}
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.btn {
    display: inline-block;
    padding: 11px 26px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    border: 1px solid var(--accent);
    transition: background .18s, color .18s, border-color .18s;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn-ghost { background: transparent; color: var(--accent); }
.btn-ghost:hover { background: rgba(31, 111, 235, .06); }

/* ---------- 公司简介 ---------- */
.about-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: start; }
.about-text p { margin: 0 0 14px; color: #3d424c; }
.point-list { list-style: none; margin: 0; padding: 0; }
.point-list li {
    border-top: 1px solid var(--line);
    padding: 14px 0;
}
.point-list li:first-child { border-top: none; }
.point-list .pt { font-weight: 620; font-size: 15px; margin-bottom: 2px; }
.point-list .pd { color: var(--muted); font-size: 14.5px; }

/* ---------- 业务介绍 ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 24px 22px;
    transition: border-color .2s, transform .2s, box-shadow .2s;
}
.card:hover {
    border-color: rgba(31, 111, 235, .35);
    transform: translateY(-3px);
    box-shadow: 0 10px 26px rgba(20, 30, 50, .07);
}
.card .ico {
    width: 40px; height: 40px;
    border-radius: 9px;
    background: rgba(31, 111, 235, .09);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    margin-bottom: 14px;
}
.card h3 { margin: 0 0 8px; font-size: 17px; font-weight: 620; }
.card p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.75; }

/* ---------- 服务流程 ---------- */
.step-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 20px; }
.step {
    background: transparent;
    border-top: 2px solid var(--accent);
    padding-top: 18px;
}
.step .num {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 13px;
    color: var(--accent);
    letter-spacing: .1em;
}
.step h3 { margin: 4px 0 6px; font-size: 16.5px; font-weight: 620; }
.step p { margin: 0; color: var(--muted); font-size: 14.5px; }

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

.info-list { list-style: none; margin: 0; padding: 0; }
.info-list li {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px dashed var(--line);
    font-size: 15px;
}
.info-list li:last-child { border-bottom: none; }
.info-list .ilabel { color: var(--faint); min-width: 68px; font-size: 14px; }
.info-list .ival { color: #3d424c; }

.form-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 24px;
}
.form-card h3 { margin: 0 0 4px; font-size: 17px; font-weight: 620; }
.form-card .sub { margin: 0 0 18px; color: var(--muted); font-size: 13.5px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; color: #49505c; margin-bottom: 5px; }
.field label .req { color: #e5484d; margin-left: 2px; }
.field input, .field textarea {
    width: 100%;
    padding: 10px 13px;
    border: 1px solid var(--line);
    border-radius: 6px;
    font-size: 15px;
    font-family: inherit;
    color: var(--text);
    outline: none;
    transition: border-color .18s, box-shadow .18s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(31, 111, 235, .1);
}
.submit-btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 6px;
    background: var(--accent);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background .18s;
}
.submit-btn:hover { background: var(--accent-dark); }
.submit-btn:disabled { opacity: .6; cursor: not-allowed; }
.form-msg { margin-top: 12px; font-size: 14px; min-height: 20px; text-align: center; }
.form-msg.ok { color: #17803d; }
.form-msg.err { color: #e5484d; }

/* ---------- 在线留言 ---------- */
.msg-cta { text-align: center; }
.msg-cta .cta-ico {
    width: 48px; height: 48px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: rgba(31, 111, 235, .09);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}
.msg-cta .sub { margin-bottom: 18px; }

body.modal-open { overflow: hidden; }
.modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.modal.open { display: flex; }
.modal-mask {
    position: absolute;
    inset: 0;
    background: rgba(16, 20, 28, .5);
}
.modal-dialog {
    position: relative;
    width: 100%;
    max-width: 440px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    background: #fff;
    border-radius: 12px;
    padding: 26px 24px 24px;
    box-shadow: 0 24px 60px rgba(15, 25, 45, .22);
    animation: modal-in .22s ease-out;
}
@keyframes modal-in {
    from { opacity: 0; transform: translateY(14px) scale(.98); }
    to   { opacity: 1; transform: none; }
}
.modal-dialog h3 { margin: 0 0 4px; font-size: 18px; font-weight: 650; }
.modal-dialog .sub { margin: 0 0 18px; color: var(--muted); font-size: 13.5px; }
.modal-close {
    position: absolute;
    top: 12px; right: 12px;
    width: 30px; height: 30px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: var(--faint);
    font-size: 22px;
    line-height: 1;
    font-family: inherit;
    cursor: pointer;
    transition: background .18s, color .18s;
}
.modal-close:hover { background: var(--soft); color: var(--text); }
.modal-cta { margin-top: 20px; }
.modal-dialog .info-list { margin: 0; }

/* ---------- 页脚 ---------- */
.site-footer {
    border-top: 1px solid var(--line);
    padding: 26px 0 44px;
    text-align: center;
    color: var(--faint);
    font-size: 13px;
}
.site-footer p { margin: 0 0 5px; }
.site-footer a { color: var(--faint); }
.site-footer a:hover { color: var(--accent); }
.footer-links { margin-bottom: 12px; }
.footer-links a { margin: 0 10px; }
.footer-copy { color: var(--muted); }

/* ---------- 响应式 ---------- */
@media (max-width: 860px) {
    .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 640px) {
    .wrap { padding: 0 18px; }
    .hero { padding: 60px 0 52px; }
    .section { padding: 52px 0; }
    .nav-links a { margin-left: 13px; font-size: 13px; }
    .nav-msg { display: none; }
    .brand { font-size: 14px; max-width: 52%; }
    .section-head h2 { font-size: 22px; }
}
