/* ==========================================================================
   中国建筑西南设计研究院 — 企业官网样式表
   风格：明亮清新 / 磨砂亚麻 / 商务蓝
   ========================================================================== */

:root {
    /* 表面 */
    --canvas: #fcfcfc;
    --wash: #f0f4fe;
    --surface: #ffffff;

    /* 文字 */
    --ink: #020520;
    --graphite: #14141e;
    --slate: #374151;
    --mist: #696a72;
    --mist-2: #95959b;
    --steel: #6b7280;

    /* 强调 */
    --signal: #145aff;
    --action: #0f1f3d;
    --green: #16ca2e;
    --coral: #f26052;
    --sky: #0099ff;
    --amber: #ffa64d;

    /* 圆角 */
    --r-pill: 100px;
    --r-card: 8px;
    --r-badge: 4px;
    --r-img: 16px;
    --r-input: 12px;
    --r-modal: 32px;
    --r-btn: 12px;
    --r-lg: 40px;

    /* 阴影 */
    --sh-card: rgba(0, 0, 0, 0.1) 0px 0px 4px -2px;
    --sh-hover: rgba(0, 0, 0, 0.25) 0px 0px 4px -2px;
    --sh-feature: rgba(0, 0, 0, 0.082) 0px 0.36px 1.81px -1.42px,
        rgba(0, 0, 0, 0.07) 0px 1.37px 6.87px -2.83px,
        rgba(0, 0, 0, 0.016) 0px 6px 30px -4.25px;
    --sh-glow: rgba(20, 90, 255, 0.1) 0px 0px 50px -28px,
        rgba(0, 0, 0, 0.18) 0px 0px 3px -1px;

    --header-h: 90px;
}

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

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

body {
    margin: 0;
    background: var(--canvas);
    color: var(--graphite);
    font-family: "Inter", "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei",
        "Helvetica Neue", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }

h1, h2, h3, h4 {
    color: var(--ink);
    margin: 0;
    font-weight: 600;
    letter-spacing: -0.02em;
}

h1 { font-size: 56px; line-height: 1.05; letter-spacing: -1.51px; }
h2 { font-size: 40px; line-height: 1.08; letter-spacing: -0.76px; }
h3 { font-size: 22px; line-height: 1.25; letter-spacing: -0.22px; }
h4 { font-size: 18px; line-height: 1.4; letter-spacing: -0.16px; }

p { margin: 0 0 16px; color: var(--slate); }
.mono { font-family: "Roboto Mono", "JetBrains Mono", "IBM Plex Mono", ui-monospace, monospace; font-weight: 500; }

/* ---------- 布局 ---------- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section { padding: 80px 0; }
.section--wash { background: var(--wash); }
.section--tight { padding: 56px 0; }

.section-head {
    max-width: 720px;
    margin: 0 auto 48px;
    text-align: center;
}
.section-head--left { margin-left: 0; text-align: left; }
.section-head p { margin: 16px 0 0; color: var(--mist); font-size: 16px; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.21px;
    color: var(--signal);
    text-transform: uppercase;
    margin-bottom: 16px;
}
.eyebrow::before {
    content: "";
    width: 20px;
    height: 1px;
    background: var(--signal);
}

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-tight { gap: 12px; }

/* ---------- 按钮 ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: var(--r-btn);
    padding: 15px 20px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    border: 1px solid transparent;
    cursor: pointer;
    transition: border-color .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
    white-space: nowrap;
}

.btn-outline {
    background: rgba(255, 255, 255, 0.8);
    color: var(--action);
    border-color: var(--action);
}
.btn-outline:hover { border-color: var(--signal); color: var(--signal); box-shadow: var(--sh-glow); }

.btn-fill {
    background: linear-gradient(rgb(59, 130, 246) 0%, rgb(20, 90, 255) 100%);
    color: #ffffff;
    font-weight: 600;
}
.btn-fill:hover { box-shadow: var(--sh-glow); transform: translateY(-1px); }

.btn-ghost {
    background: var(--canvas);
    color: var(--signal);
    border-radius: var(--r-pill);
    border-color: rgba(20, 90, 255, 0.25);
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 500;
}
.btn-ghost:hover { border-color: var(--signal); background: #fff; }

.btn-sm { padding: 10px 16px; font-size: 13px; }
.btn-block { width: 100%; }

.link-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--action);
    font-size: 14px;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: color .2s ease, border-color .2s ease;
}
.link-more:hover { color: var(--signal); border-color: var(--signal); }
.link-more i { font-size: 12px; transition: transform .2s ease; }
.link-more:hover i { transform: translateX(3px); }

/* ---------- 导航 ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--header-h);
    background: rgba(252, 252, 252, 0.92);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    border-bottom: 1px solid rgba(20, 20, 30, 0.06);
    transition: box-shadow .25s ease, background-color .25s ease;
}
.site-header.is-scrolled { background: rgba(252, 252, 252, 0.98); box-shadow: rgba(0, 0, 0, 0.06) 0 1px 12px -6px; }

.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 24px;
}

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: linear-gradient(rgb(59, 130, 246) 0%, rgb(20, 90, 255) 100%);
    color: #fff;
    display: grid; place-items: center;
    font-size: 11px; font-weight: 600; letter-spacing: -0.3px;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: 15px; font-weight: 600; color: var(--ink); letter-spacing: -0.2px; }
.brand-text em { font-style: normal; font-size: 10px; letter-spacing: 1.2px; color: var(--mist-2); }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a {
    padding: 10px 16px;
    border-radius: var(--r-pill);
    font-size: 14px;
    font-weight: 400;
    color: var(--slate);
    transition: background-color .2s ease, color .2s ease;
}
.nav a:hover { background: var(--wash); color: var(--graphite); }
.nav a.is-active { background: var(--wash); color: var(--graphite); font-weight: 500; }

.header-cta { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

.nav-toggle {
    display: none;
    width: 42px; height: 42px;
    border-radius: var(--r-btn);
    border: 1px solid rgba(20, 20, 30, 0.12);
    background: var(--surface);
    color: var(--graphite);
    cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    overflow: hidden;
    padding: 96px 0 0;
    background:
        radial-gradient(97.8% 181.6% at 53.7% 0%, rgba(182, 203, 253, 0.55) 0%, rgba(240, 244, 254, 0.75) 42%, rgba(252, 252, 252, 0) 78%),
        var(--canvas);
}
.hero::after {
    content: "";
    position: absolute;
    inset: -20% 10% auto;
    height: 620px;
    background: radial-gradient(50% 50% at 50% 50%, rgba(20, 90, 255, 0.10) 0%, rgba(20, 90, 255, 0) 70%);
    pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; text-align: center; max-width: 900px; margin: 0 auto; }
.hero h1 { margin-bottom: 20px; }
.hero h1 .accent { color: var(--signal); }
.hero-sub {
    max-width: 680px;
    margin: 0 auto 32px;
    font-size: 16px;
    color: var(--mist);
}
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    padding: 4px 12px 4px 4px;
    border-radius: var(--r-pill);
    font-size: 12px;
    font-weight: 500;
    color: var(--slate);
    background: rgba(255, 255, 255, 0.6);
}
.trust-badge .mark {
    width: 18px; height: 18px;
    border-radius: var(--r-badge);
    background: var(--amber);
    color: #fff;
    display: grid; place-items: center;
    font-size: 10px; font-weight: 600;
}

.hero-shot {
    position: relative;
    z-index: 1;
    margin: 64px auto -80px;
    max-width: 1040px;
}
.shot-frame {
    border-radius: var(--r-lg);
    background: var(--surface);
    box-shadow: var(--sh-feature);
    padding: 16px;
}
.shot-inner {
    border-radius: var(--r-img);
    overflow: hidden;
    background: var(--canvas);
    border: 1px solid rgba(20, 20, 30, 0.06);
}
.hero-shot-spacer { height: 80px; background: var(--canvas); }

/* 产品界面模拟（无外部图片，纯 CSS 构成） */
.mock-ui { display: grid; grid-template-columns: 200px 1fr; min-height: 340px; }
.mock-side {
    background: var(--canvas);
    border-right: 1px solid rgba(20, 20, 30, 0.06);
    padding: 20px 14px;
}
.mock-side .item {
    display: flex; align-items: center; gap: 8px;
    height: 32px; padding: 0 10px;
    border-radius: var(--r-pill);
    font-size: 13px; color: var(--slate);
    margin-bottom: 4px;
}
.mock-side .item.on { background: var(--wash); color: var(--graphite); font-weight: 500; }
.mock-main { padding: 20px; }
.mock-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.mock-bar .t { font-size: 15px; font-weight: 600; color: var(--ink); }
.mock-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.mock-col-title {
    font-size: 12px; font-weight: 500; color: var(--mist-2);
    letter-spacing: 0.13px; margin-bottom: 8px;
}
.proj-card {
    background: var(--surface);
    border-radius: var(--r-card);
    box-shadow: var(--sh-card);
    padding: 12px 16px;
    margin-bottom: 8px;
}
.proj-card .row1 { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.proj-card .logo {
    width: 20px; height: 20px; border-radius: 50%;
    background: var(--wash); color: var(--signal);
    display: grid; place-items: center; font-size: 9px; font-weight: 600;
    flex-shrink: 0;
}
.proj-card .name { font-size: 14px; font-weight: 500; color: var(--graphite); }
.proj-card .val { font-family: "Roboto Mono", monospace; font-size: 12px; font-weight: 500; color: var(--slate); letter-spacing: -0.54px; }
.proj-card .meta { font-size: 12px; color: var(--steel); }

/* ---------- 卡片 ---------- */
.card {
    background: var(--surface);
    border-radius: var(--r-card);
    box-shadow: var(--sh-card);
    padding: 24px;
    transition: box-shadow .25s ease, transform .25s ease;
}
.card:hover { box-shadow: var(--sh-hover); transform: translateY(-2px); }

.service-card {
    background: var(--surface);
    border-radius: var(--r-card);
    box-shadow: var(--sh-card);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: box-shadow .25s ease, transform .25s ease;
}
.service-card:hover { box-shadow: var(--sh-hover); transform: translateY(-3px); }
.service-card .icon {
    width: 44px; height: 44px;
    border-radius: var(--r-img);
    background: var(--wash);
    color: var(--signal);
    display: grid; place-items: center;
    font-size: 18px;
    margin-bottom: 20px;
}
.service-card h3 { margin-bottom: 10px; }
.service-card p { font-size: 14px; color: var(--mist); margin-bottom: 16px; }
.service-card .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.service-card .link-more { margin-top: auto; }

.tag {
    display: inline-block;
    padding: 2px 6px;
    border-radius: var(--r-badge);
    font-size: 12px;
    font-weight: 500;
    color: var(--slate);
    background: var(--wash);
}
.tag--green { color: var(--green); background: rgba(22, 202, 46, 0.1); }
.tag--coral { color: var(--coral); background: rgba(242, 96, 82, 0.1); }
.tag--blue { color: var(--signal); background: rgba(20, 90, 255, 0.1); }

.feature-block {
    background: var(--canvas);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-feature);
    padding: 52px 72px;
}
.feature-block .head { text-align: center; max-width: 680px; margin: 0 auto 40px; }
.feature-block .head p { color: var(--mist); margin: 14px 0 0; }

.stat-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.stat { text-align: center; }
.stat .num {
    font-family: "Roboto Mono", monospace;
    font-size: 40px; font-weight: 500;
    color: var(--ink); letter-spacing: -0.76px;
    line-height: 1.1;
}
.stat .num .unit { font-size: 20px; color: var(--signal); margin-left: 2px; }
.stat .label { font-size: 13px; color: var(--mist); margin-top: 8px; }

/* ---------- 关于 ---------- */
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-split h2 { margin-bottom: 20px; }
.about-split p { color: var(--mist); }
.value-list { display: grid; gap: 12px; margin-top: 24px; }
.value-item {
    display: flex; gap: 14px; align-items: flex-start;
    background: var(--surface);
    border-radius: var(--r-card);
    box-shadow: var(--sh-card);
    padding: 16px 18px;
}
.value-item i { color: var(--signal); margin-top: 3px; font-size: 15px; }
.value-item strong { display: block; font-size: 15px; font-weight: 600; color: var(--graphite); margin-bottom: 2px; }
.value-item span { font-size: 13px; color: var(--mist); }

/* 发展历程 */
.timeline { position: relative; padding-left: 28px; }
.timeline::before {
    content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px;
    width: 1px; background: rgba(20, 90, 255, 0.25);
}
.timeline-item { position: relative; padding-bottom: 28px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
    content: ""; position: absolute; left: -28px; top: 7px;
    width: 11px; height: 11px; border-radius: 50%;
    background: var(--canvas); border: 2px solid var(--signal);
}
.timeline-item .year {
    font-family: "Roboto Mono", monospace;
    font-size: 14px; font-weight: 500; color: var(--signal);
    letter-spacing: 0.13px;
}
.timeline-item h4 { margin: 4px 0 4px; }
.timeline-item p { font-size: 14px; color: var(--mist); margin: 0; }

/* 团队 */
.team-card {
    background: var(--surface);
    border-radius: var(--r-card);
    box-shadow: var(--sh-card);
    padding: 24px;
    text-align: center;
    transition: box-shadow .25s ease, transform .25s ease;
}
.team-card:hover { box-shadow: var(--sh-hover); transform: translateY(-2px); }
.avatar {
    width: 72px; height: 72px; margin: 0 auto 16px;
    border-radius: 50%;
    background: linear-gradient(rgb(59, 130, 246) 0%, rgb(20, 90, 255) 100%);
    color: #fff; display: grid; place-items: center;
    font-size: 20px; font-weight: 600; letter-spacing: -0.5px;
}
.team-card h4 { margin-bottom: 4px; }
.team-card .role { font-size: 13px; color: var(--signal); margin-bottom: 8px; }
.team-card p { font-size: 13px; color: var(--mist); margin: 0; }

/* ---------- 客户 Logo 条 ---------- */
.logo-strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px 48px; }
.logo-item {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    color: var(--mist);
    filter: grayscale(1);
    opacity: .78;
    font-size: 14px; font-weight: 500;
    transition: opacity .2s ease, color .2s ease;
}
.logo-item:hover { opacity: 1; color: var(--graphite); }
.logo-item i { font-size: 16px; }

/* ---------- 案例 ---------- */
.case-card {
    background: var(--surface);
    border-radius: var(--r-card);
    box-shadow: var(--sh-card);
    overflow: hidden;
    display: flex; flex-direction: column;
    height: 100%;
    transition: box-shadow .25s ease, transform .25s ease;
}
.case-card:hover { box-shadow: var(--sh-hover); transform: translateY(-3px); }
.case-thumb {
    height: 180px;
    background: linear-gradient(135deg, rgba(182, 203, 253, 0.55) 0%, rgba(240, 244, 254, 0.9) 100%);
    display: grid; place-items: center;
    color: var(--signal); font-size: 26px;
    border-bottom: 1px solid rgba(20, 20, 30, 0.05);
}
.case-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.case-body .meta { font-size: 12px; color: var(--mist-2); letter-spacing: 0.13px; margin-bottom: 8px; }
.case-body h3 { font-size: 20px; margin-bottom: 10px; }
.case-body p { font-size: 14px; color: var(--mist); margin-bottom: 18px; }
.case-body .link-more { margin-top: auto; }

/* ---------- 新闻 ---------- */
.news-card {
    background: var(--surface);
    border-radius: var(--r-card);
    box-shadow: var(--sh-card);
    padding: 24px;
    display: flex; flex-direction: column;
    height: 100%;
    transition: box-shadow .25s ease, transform .25s ease;
}
.news-card:hover { box-shadow: var(--sh-hover); transform: translateY(-3px); }
.news-card .date {
    font-family: "Roboto Mono", monospace;
    font-size: 12px; color: var(--mist-2); letter-spacing: 0.13px;
    margin-bottom: 10px;
}
.news-card h3 { font-size: 18px; line-height: 1.4; margin-bottom: 10px; }
.news-card p { font-size: 14px; color: var(--mist); margin-bottom: 18px; }
.news-card .link-more { margin-top: auto; }

.news-row {
    display: grid; grid-template-columns: 120px 1fr auto;
    gap: 24px; align-items: center;
    padding: 24px 0;
    border-bottom: 1px solid rgba(20, 20, 30, 0.08);
}
.news-row:first-of-type { border-top: 1px solid rgba(20, 20, 30, 0.08); }
.news-row .date { font-family: "Roboto Mono", monospace; font-size: 13px; color: var(--mist-2); }
.news-row h3 { font-size: 18px; margin-bottom: 6px; }
.news-row p { font-size: 14px; color: var(--mist); margin: 0; }

/* ---------- 面包屑 ---------- */
.breadcrumb {
    display: flex; align-items: center; gap: 8px;
    font-size: 13px; color: var(--mist-2);
    padding: 20px 0 0;
}
.breadcrumb a:hover { color: var(--signal); }
.breadcrumb i { font-size: 10px; }

/* ---------- 详情页 ---------- */
.detail-hero { padding: 12px 0 56px; }
.detail-hero h1 { font-size: 40px; line-height: 1.08; letter-spacing: -0.76px; margin-bottom: 18px; }
.detail-hero .lead { font-size: 17px; color: var(--mist); max-width: 760px; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }

.article { max-width: 820px; }
.article h2 { font-size: 28px; margin: 40px 0 16px; }
.article h3 { margin: 28px 0 12px; }
.article p { color: var(--slate); }
.article ul.bullets { margin: 0 0 20px; }
.article ul.bullets li {
    position: relative; padding-left: 20px; margin-bottom: 10px;
    color: var(--slate); font-size: 15px;
}
.article ul.bullets li::before {
    content: ""; position: absolute; left: 0; top: 9px;
    width: 6px; height: 6px; border-radius: 50%; background: var(--signal);
}
.article blockquote {
    margin: 28px 0; padding: 20px 24px;
    background: var(--wash); border-radius: var(--r-card);
    border-left: 2px solid var(--signal);
    color: var(--graphite); font-size: 15px;
}
.article figure { margin: 28px 0; }
.figure-mock {
    border-radius: var(--r-img); overflow: hidden;
    border: 1px solid rgba(20, 20, 30, 0.06);
    background: var(--wash);
    padding: 16px;
}
.figure-mock .plate {
    height: 240px; border-radius: var(--r-card);
    background: linear-gradient(135deg, rgba(182, 203, 253, 0.6) 0%, rgba(252, 252, 252, 0.95) 100%);
    display: grid; place-items: center; color: var(--signal); font-size: 32px;
}
.article figcaption { font-size: 13px; color: var(--mist-2); margin-top: 10px; text-align: center; }

.spec-list { display: grid; gap: 0; border-top: 1px solid rgba(20, 20, 30, 0.08); }
.spec-row {
    display: grid; grid-template-columns: 160px 1fr; gap: 24px;
    padding: 14px 0; border-bottom: 1px solid rgba(20, 20, 30, 0.08);
    font-size: 14px;
}
.spec-row dt { color: var(--mist); }
.spec-row dd { margin: 0; color: var(--graphite); }

.aside-box {
    background: var(--surface);
    border-radius: var(--r-card);
    box-shadow: var(--sh-card);
    padding: 24px;
    position: sticky; top: calc(var(--header-h) + 24px);
}
.aside-box h4 { margin-bottom: 12px; }
.aside-box ul li { padding: 8px 0; border-bottom: 1px solid rgba(20, 20, 30, 0.06); font-size: 14px; }
.aside-box ul li:last-child { border-bottom: 0; }
.aside-box ul li a { color: var(--slate); }
.aside-box ul li a:hover { color: var(--signal); }

.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; align-items: start; }

.cta-band {
    background: var(--wash);
    border-radius: var(--r-lg);
    padding: 52px 72px;
    display: flex; align-items: center; justify-content: space-between; gap: 32px;
    flex-wrap: wrap;
}
.cta-band h3 { font-size: 26px; margin-bottom: 8px; }
.cta-band p { margin: 0; color: var(--mist); }

/* ---------- 表单 ---------- */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 500; color: var(--slate); }
.field label .req { color: var(--coral); margin-left: 2px; }
.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 15px;
    border-radius: var(--r-input);
    border: 1px solid #cfcfcf;
    background: #ffffff;
    color: var(--graphite);
    font-family: inherit;
    font-size: 14px;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: var(--mist-2); }
.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--sky);
    box-shadow: rgba(0, 153, 255, 1) 0px 0px 0px 3px;
}
.field .error-msg { font-size: 12px; color: var(--coral); display: none; }
.field.has-error input,
.field.has-error textarea,
.field.has-error select { border-color: var(--coral); }
.field.has-error .error-msg { display: block; }

.form-note { font-size: 12px; color: var(--mist-2); margin: 12px 0 0; }
.form-alert {
    display: none;
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: var(--r-card);
    background: rgba(22, 202, 46, 0.1);
    color: #0f7a1e;
    font-size: 14px;
}
.form-alert.is-visible { display: block; }

.info-card {
    background: var(--surface);
    border-radius: var(--r-card);
    box-shadow: var(--sh-card);
    padding: 24px;
}
.info-card .icon {
    width: 40px; height: 40px; border-radius: 10px;
    background: var(--wash); color: var(--signal);
    display: grid; place-items: center; margin-bottom: 16px;
}
.info-card h4 { margin-bottom: 8px; }
.info-card p { font-size: 14px; color: var(--mist); margin: 0; }
.info-card a { color: var(--slate); }
.info-card a:hover { color: var(--signal); }

.map-frame {
    border-radius: var(--r-img);
    overflow: hidden;
    border: 1px solid rgba(20, 20, 30, 0.08);
    background: var(--wash);
    min-height: 320px;
    display: grid; place-items: center;
    text-align: center;
    padding: 32px;
}
.map-frame .inner { color: var(--slate); font-size: 14px; }
.map-frame i { font-size: 28px; color: var(--signal); display: block; margin-bottom: 12px; }

/* ---------- 页脚 ---------- */
.site-footer {
    background: var(--canvas);
    border-top: 1px solid rgba(20, 20, 30, 0.08);
    padding: 64px 0 32px;
}
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand p { font-size: 13px; color: var(--mist); max-width: 300px; margin-top: 16px; }
.footer-col h4 { font-size: 14px; font-weight: 600; margin-bottom: 16px; color: var(--graphite); }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 13px; color: var(--mist); }
.footer-col ul li a:hover { color: var(--signal); }
.footer-contact li { display: flex; gap: 10px; font-size: 13px; color: var(--mist); margin-bottom: 12px; }
.footer-contact i { color: var(--signal); margin-top: 3px; width: 14px; }

.social-row { display: flex; gap: 8px; margin-top: 16px; }
.social-row a {
    width: 36px; height: 36px; border-radius: var(--r-card);
    background: var(--wash); color: var(--slate);
    display: grid; place-items: center; font-size: 14px;
    transition: background-color .2s ease, color .2s ease;
}
.social-row a:hover { background: var(--action); color: #fff; }

.footer-bottom {
    margin-top: 40px; padding-top: 24px;
    border-top: 1px solid rgba(20, 20, 30, 0.08);
    display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
    font-size: 12px; color: var(--mist-2);
}

/* ---------- 动画 ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
    h1 { font-size: 44px; letter-spacing: -1.2px; }
    h2 { font-size: 32px; }
    .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .logo-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .detail-layout { grid-template-columns: 1fr; gap: 40px; }
    .aside-box { position: static; }
    .about-split { grid-template-columns: 1fr; gap: 40px; }
    .feature-block { padding: 40px 32px; }
    .cta-band { padding: 40px 32px; }
    .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
    .nav-toggle { display: grid; place-items: center; }
    .header-cta .btn { display: none; }
    .nav {
        position: absolute;
        top: var(--header-h); left: 0; right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 16px 24px 24px;
        background: var(--canvas);
        border-bottom: 1px solid rgba(20, 20, 30, 0.08);
        box-shadow: rgba(0, 0, 0, 0.06) 0 12px 24px -18px;
        display: none;
    }
    .nav.is-open { display: flex; }
    .nav a { padding: 12px 16px; }
    .mock-ui { grid-template-columns: 1fr; }
    .mock-side { display: none; }
    .mock-cols { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .section { padding: 56px 0; }
    .section-head { margin-bottom: 32px; }
    h1 { font-size: 34px; letter-spacing: -0.9px; }
    h2 { font-size: 26px; letter-spacing: -0.5px; }
    .hero { padding-top: 64px; }
    .hero-sub { font-size: 15px; }
    .grid-2, .grid-3, .grid-4, .form-grid, .stat-row { grid-template-columns: 1fr; }
    .logo-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
    .feature-block { padding: 32px 20px; border-radius: 24px; }
    .cta-band { padding: 32px 20px; border-radius: 24px; }
    .footer-top { grid-template-columns: 1fr; gap: 32px; }
    .news-row { grid-template-columns: 1fr; gap: 8px; }
    .detail-hero h1 { font-size: 28px; }
    .detail-hero .lead { font-size: 15px; }
    .spec-row { grid-template-columns: 1fr; gap: 4px; }
    .article h2 { font-size: 22px; }
    .hero-shot { margin: 40px auto -56px; }
    .hero-shot-spacer { height: 56px; }
    .shot-frame { padding: 10px; border-radius: 24px; }
}
