/* ============================================================
   鑫飞贸易 · 前台样式
   设计语言沿用原站：主色 #F55B1F，深色 #121315，浅灰底 #F3F4F7
   字体：Outfit（标题）/ Plus Jakarta Sans（正文）
   ============================================================ */

:root {
    --brand: #F55B1F;
    --brand-dark: #C74A1A;
    /* 强调色的 RGB 分量：按钮光晕、表单聚焦环、区块背景光斑都用 rgba()，
       写死数值会让换主题后仍飘着一层橙色光。由后台主题覆盖。 */
    --brand-rgb: 245, 91, 31;
    --dark: #121315;
    --dark-2: #1B1D20;
    --dark-3: #23262A;
    /* 深色的 RGB 分量：半透明遮罩/阴影要用 rgba()，写成死值会让「换主题」
       只换了实色，首屏遮罩、吸顶导航、案例渐变膜仍是黑的。由后台主题覆盖。 */
    --dark-rgb: 18, 19, 21;
    /* 比 --dark 更深一档：深色按钮 hover、移动端菜单遮罩用 */
    --dark-deep: #000000;
    --text: #666666;
    --muted: #8A8F98;
    /* 页面底色：全站唯一一处整页背景（body 用）。
       普通区块用 --surface，描边用 --line，三者一起由后台「页面底色」覆盖，
       单独改 --bg 会出现「底色变了、灰块还是冷白」的割裂感。 */
    --bg: #ffffff;
    --surface: #F3F4F7;
    --line: #E6E8EC;
    --white: #ffffff;
    --radius: 12px;
    --radius-sm: 8px;
    --container: 1320px;
    --ease: cubic-bezier(.4, 0, .2, 1);
    --shadow: 0 24px 60px rgba(var(--dark-rgb), .1);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; overflow-x: hidden; }

body {
    margin: 0;
    font-family: "Plus Jakarta Sans", -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 16px;
    line-height: 1.75;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; border: 0; }
a { color: inherit; text-decoration: none; transition: color .3s var(--ease), background .3s var(--ease), opacity .3s var(--ease); }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 18px; }
p:last-child { margin-bottom: 0; }

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 20px;
    font-family: "Outfit", "PingFang SC", "Microsoft YaHei", sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark);
    letter-spacing: -.01em;
}
h1 { font-size: clamp(34px, 5.4vw, 74px); line-height: 1.08; font-weight: 800; }
h2 { font-size: clamp(28px, 3.6vw, 46px); line-height: 1.16; }
h3 { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.32; }
h4 { font-size: 22px; line-height: 1.4; }
h5 { font-size: 19px; }
h6 { font-size: 17px; }

::selection { background: var(--brand); color: #fff; }

/* ---------- 通用布局 ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { position: relative; padding: 110px 0; }
.section--tight { padding: 80px 0; }
.section--surface { background: var(--surface); }
.section--dark { background: var(--dark); color: rgba(255, 255, 255, .7); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }

.section-head { max-width: 720px; margin-bottom: 54px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--between { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; max-width: none; }
.section-head__text { max-width: 720px; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    font-family: "Outfit", sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--brand);
}
.eyebrow::before { content: ""; width: 36px; height: 2px; background: var(--brand); display: block; }
.section-head--center .eyebrow::after { content: ""; width: 36px; height: 2px; background: var(--brand); display: block; }
.section--dark .eyebrow { color: var(--brand); }

.lead { font-size: 17px; color: var(--text); }
.section--dark .lead { color: rgba(255, 255, 255, .65); }

/* ---------- 按钮 ---------- */
.btn {
    --btn-bg: var(--brand);
    --btn-color: #fff;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 34px;
    border: 0;
    border-radius: var(--radius);
    background: var(--btn-bg);
    color: var(--btn-color);
    font-family: "Outfit", sans-serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .04em;
    cursor: pointer;
    overflow: hidden;
    transition: transform .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}
.btn i { font-size: 17px; transition: transform .3s var(--ease); }
.btn:hover { background: var(--brand-dark); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(var(--brand-rgb), .28); color: #fff; }
.btn:hover i { transform: translateX(4px); }
.btn--ghost { background: transparent; border: 1px solid rgba(255, 255, 255, .35); }
.btn--ghost:hover { background: #fff; color: var(--dark); border-color: #fff; box-shadow: none; }
.btn--dark { background: var(--dark); }
.btn--dark:hover { background: var(--dark-deep); box-shadow: 0 14px 30px rgba(0, 0, 0, .2); }
.btn--sm { padding: 12px 24px; font-size: 14px; }
.btn--block { width: 100%; }

/* ---------- 单号查询：散货 / 整柜 双入口 ---------- */
/* 两个按钮等宽并排，窄屏自动上下堆叠。按钮文字比原来长（6 个字），
   左右内边距收窄一点，否则手机上一行放不下会折成两行。 */
.track-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.track-actions .btn { width: 100%; padding-left: 18px; padding-right: 18px; }
.track-actions__hint {
    margin-top: 12px;
    font-size: 13px;
    line-height: 1.65;
    color: var(--muted);
}
@media (max-width: 560px) {
    .track-actions { grid-template-columns: 1fr; }
}

.link-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: "Outfit", sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--brand);
}
.link-more i { transition: transform .3s var(--ease); }
.link-more:hover i { transform: translateX(5px); }

/* ---------- 头部 ---------- */
.site-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 90;
    transition: background .35s var(--ease), box-shadow .35s var(--ease), padding .35s var(--ease);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    height: 100px;
    transition: height .35s var(--ease);
}
.site-header.is-stuck {
    position: fixed;
    background: rgba(var(--dark-rgb), .96);
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
}
.site-header.is-stuck .header-inner { height: 76px; }
.site-header--solid { position: relative; background: var(--dark); }

.logo { flex-shrink: 0; }
.logo img { height: 72px; width: auto; transition: height .3s var(--ease); }
.site-header.is-stuck .logo img { height: 54px; }
/* 中等宽度（笔记本 13/14 寸）导航是横向的，72px 的 Logo 会把菜单挤窄，
   这里退一档到 60px；1024 以下走移动端断点。 */
@media (max-width: 1240px) {
    .logo img { height: 60px; }
    .site-header.is-stuck .logo img { height: 50px; }
}

.main-nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.main-nav a {
    position: relative;
    padding: 10px 16px;
    font-family: "Outfit", sans-serif;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: .04em;
    color: rgba(255, 255, 255, .82);
}
.main-nav a::after {
    content: "";
    position: absolute;
    left: 16px;
    bottom: 4px;
    width: 0;
    height: 2px;
    background: var(--brand);
    transition: width .3s var(--ease);
}
.main-nav a:hover, .main-nav a.is-active { color: #fff; }
.main-nav a:hover::after, .main-nav a.is-active::after { width: calc(100% - 32px); }

/* ---------- 导航二级菜单（服务项目 ▾ 项目案例） ---------- */
/* 悬停 / 键盘聚焦展开。父级本身仍是链接，点了照样进 /services。 */
.nav-item { position: relative; display: flex; }
.nav-item.has-sub > a { display: inline-flex; align-items: center; gap: 4px; }
.nav-item.has-sub > a i { font-size: 15px; transition: transform .3s var(--ease); }
.nav-item.has-sub:hover > a i { transform: rotate(180deg); }

.nav-sub {
    position: absolute;
    top: calc(100% + 2px);
    left: 8px;
    min-width: 180px;
    padding: 8px;
    border-radius: 12px;
    background: var(--dark-2);
    border: 1px solid rgba(255, 255, 255, .1);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .32);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
    z-index: 60;
}
.nav-item.has-sub:hover .nav-sub,
.nav-item.has-sub:focus-within .nav-sub {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.nav-sub a {
    display: block;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14.5px;
    color: rgba(255, 255, 255, .74);
}
.nav-sub a::after { display: none; }   /* 二级项不要父级那根下划线 */
.nav-sub a:hover, .nav-sub a.is-active { background: rgba(255, 255, 255, .08); color: #fff; }

/* 手机端二级菜单：缩进展开，不做折叠（移动端没有悬停） */
.mobile-nav .m-sub { margin-left: 14px; padding-left: 14px; border-left: 1px solid rgba(255, 255, 255, .14); }
.mobile-nav a.m-link--sub { padding: 11px 0; border-bottom: 0; font-size: 15px; color: rgba(255, 255, 255, .7); }

.header-actions { display: flex; align-items: center; gap: 22px; }
.header-mail { display: flex; align-items: center; gap: 10px; }
.header-mail span { font-size: 14px; color: rgba(255, 255, 255, .8); }
.header-mail i { font-size: 18px; color: var(--brand); }
.header-mail:hover span { color: #fff; }

.nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 10px;
    background: transparent;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
}

/* 移动端抽屉 */
.mobile-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(360px, 86vw);
    background: var(--dark);
    z-index: 120;
    padding: 30px 28px;
    transform: translateX(100%);
    transition: transform .4s var(--ease);
    overflow-y: auto;
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 30px; }
.mobile-nav__head img { height: 46px; width: auto; }
.mobile-nav__close { background: none; border: 0; color: #fff; font-size: 26px; cursor: pointer; }
.mobile-nav a.m-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    font-family: "Outfit", sans-serif;
    font-size: 18px;
    color: rgba(255, 255, 255, .85);
}
.mobile-nav a.m-link:hover { color: var(--brand); }
.mobile-nav__foot { margin-top: 30px; font-size: 14px; color: rgba(255, 255, 255, .6); }
.mobile-nav__foot a { color: #fff; }
.nav-mask {
    position: fixed; inset: 0; background: rgba(var(--dark-rgb), .62);
    opacity: 0; visibility: hidden; transition: .3s; z-index: 110;
}
.nav-mask.is-open { opacity: 1; visibility: visible; }

/* ---------- 首页主视觉 ---------- */
.hero { position: relative; min-height: min(94vh, 940px); background: var(--dark); overflow: hidden; }
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s var(--ease), visibility 1s;
    display: flex;
    align-items: center;
}
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-slide__bg { position: absolute; inset: 0; }
.hero-slide__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide.is-active .hero-slide__bg img { animation: heroZoom 8s ease-out forwards; }
@keyframes heroZoom { from { transform: scale(1.06); } to { transform: scale(1); } }
.hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(var(--dark-rgb), .92) 0%, rgba(var(--dark-rgb), .72) 45%, rgba(var(--dark-rgb), .25) 100%);
}
.hero-slide__inner { position: relative; z-index: 2; width: 100%; padding: 170px 0 130px; }
.hero-content { max-width: 760px; color: #fff; }
.hero-sub {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
    font-family: "Outfit", sans-serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: var(--brand);
}
.hero-sub::before { content: ""; width: 54px; height: 2px; background: var(--brand); }
.hero h1 { color: #fff; margin-bottom: 34px; text-shadow: 0 20px 60px rgba(0, 0, 0, .35); }
.hero h1 span { display: block; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

.hero-nav { position: absolute; z-index: 5; right: 40px; bottom: 46px; display: flex; flex-direction: column; gap: 14px; }
.hero-nav button {
    width: 52px; height: 52px;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 50%;
    background: transparent;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    transition: .3s var(--ease);
}
.hero-nav button:hover { background: var(--brand); border-color: var(--brand); }
.hero-dots { position: absolute; z-index: 5; left: 50%; transform: translateX(-50%); bottom: 44px; display: flex; gap: 10px; }
.hero-dots button {
    width: 34px; height: 3px; border: 0; padding: 0; background: rgba(255, 255, 255, .35); cursor: pointer; transition: .3s;
}
.hero-dots button.is-active { background: var(--brand); width: 54px; }

.hero-marquee {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 4;
    border-top: 1px solid rgba(255, 255, 255, .12);
    background: rgba(var(--dark-rgb), .55);
    backdrop-filter: blur(6px);
    overflow: hidden;
    padding: 16px 0;
}
.hero-marquee__track { display: flex; align-items: center; gap: 46px; width: max-content; animation: marquee 26s linear infinite; }
.hero-marquee span {
    display: inline-flex; align-items: center; gap: 14px;
    font-family: "Outfit", sans-serif; font-size: 14px; letter-spacing: .16em; text-transform: uppercase;
    color: rgba(255, 255, 255, .55); white-space: nowrap;
}
.hero-marquee span i { color: var(--brand); font-size: 12px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- 关于我们 ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.about-media { position: relative; padding-bottom: 60px; }
.about-media__main { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about-media__main img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 553/525; }
.about-media__sub {
    position: absolute; right: -20px; bottom: 0;
    width: 55%; border-radius: var(--radius); overflow: hidden;
    border: 8px solid #fff; box-shadow: var(--shadow);
}
.about-media__sub img { width: 100%; aspect-ratio: 482/267; object-fit: cover; }
.about-badge {
    position: absolute; left: -20px; bottom: 40px;
    display: flex; align-items: center; gap: 14px;
    padding: 18px 24px; border-radius: var(--radius);
    background: var(--brand); color: #fff;
    box-shadow: 0 18px 40px rgba(var(--brand-rgb), .35);
}
.about-badge strong { font-family: "Outfit", sans-serif; font-size: 34px; line-height: 1; font-weight: 800; }
.about-badge span { font-size: 13px; line-height: 1.4; opacity: .95; max-width: 80px; }

.about-body h2 { white-space: pre-line; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; margin: 34px 0 38px; }
.about-feature { display: flex; gap: 14px; }
.about-feature i { font-size: 24px; color: var(--brand); line-height: 1.2; flex-shrink: 0; }
.about-feature h5 { margin: 0 0 2px; font-size: 17px; }
.about-feature p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.6; }
.about-actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.about-sign { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }

/* ---------- 服务（深色） ---------- */
.services-wrap { display: grid; grid-template-columns: 380px 1fr; gap: 56px; align-items: start; }
.services-tabs { display: flex; flex-direction: column; border-top: 1px solid rgba(255, 255, 255, .1); }
.service-tab {
    display: flex; align-items: center; gap: 18px;
    padding: 24px 6px;
    border: 0; border-bottom: 1px solid rgba(255, 255, 255, .1);
    background: transparent; text-align: left; cursor: pointer;
    color: rgba(255, 255, 255, .62);
    transition: .3s var(--ease);
}
.service-tab__no { font-family: "Outfit", sans-serif; font-size: 14px; color: rgba(255, 255, 255, .35); }
.service-tab__name { font-family: "Outfit", sans-serif; font-size: 21px; font-weight: 600; flex: 1; }
.service-tab i { font-size: 20px; opacity: 0; transform: translateX(-6px); transition: .3s var(--ease); }
.service-tab:hover { color: #fff; }
.service-tab.is-active { color: #fff; }
.service-tab.is-active .service-tab__no, .service-tab.is-active i { color: var(--brand); opacity: 1; transform: translateX(0); }

.service-panels { position: relative; }
.service-panel { display: none; }
.service-panel.is-active { display: block; animation: fadeUp .5s var(--ease); }
.service-panel__media { position: relative; border-radius: var(--radius); overflow: hidden; margin-bottom: 28px; }
.service-panel__media img { width: 100%; aspect-ratio: 16/8.4; object-fit: cover; }
.service-panel__body h3 { color: #fff; margin-bottom: 12px; }
.service-panel__body p { color: rgba(255, 255, 255, .66); margin-bottom: 22px; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- 为什么选择我们 ---------- */
.why-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 70px; align-items: center; }
.why-media { position: relative; background: var(--surface); border-radius: var(--radius); padding: 18px; }
.why-media img { border-radius: 8px; width: 100%; aspect-ratio: 560/450; object-fit: cover; }
.why-list { display: flex; flex-direction: column; gap: 8px; margin-top: 32px; }
.why-item { display: flex; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.why-item:first-child { padding-top: 0; }
.why-item__no { font-family: "Outfit", sans-serif; font-size: 15px; font-weight: 700; color: var(--brand); padding-top: 3px; min-width: 26px; }
.why-item h5 { margin: 0 0 4px; font-size: 19px; }
.why-item p { margin: 0; font-size: 15px; color: var(--text); }

/* ---------- 询价 / 追踪 ---------- */
.quote-section { position: relative; background: var(--dark-2); color: rgba(255, 255, 255, .7); overflow: hidden; }
.quote-section::before {
    content: ""; position: absolute; inset: 0;
    background: url("../../uploads/site/quote-bg.jpg") center/cover no-repeat;
    opacity: .18;
}
.quote-grid { position: relative; display: grid; grid-template-columns: 1fr 1.15fr; gap: 60px; align-items: start; }
.quote-intro h2 { color: #fff; }
.quote-intro p { color: rgba(255, 255, 255, .65); }
/* 询价要点：默认按「白底卡片」写（/quote 侧栏 widget 就是白底）。
   白字只在首页深色询价区块用，所以放到 .quote-section 下面做覆盖 —— v2.0.1 修：
   原来 li 直接写死 rgba(255,255,255,.78)，在白底卡片里等于隐形。 */
.quote-points { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.quote-points li { display: flex; gap: 12px; align-items: flex-start; color: var(--text); font-size: 15px; }
.quote-points i { color: var(--brand); font-size: 18px; margin-top: 2px; }
.quote-section .quote-points li { color: rgba(255, 255, 255, .78); }

.form-card { background: #fff; border-radius: 18px; padding: 34px; box-shadow: 0 30px 70px rgba(0, 0, 0, .25); }
.form-tabs { display: flex; gap: 8px; padding: 6px; background: var(--surface); border-radius: 12px; margin-bottom: 26px; }
.form-tabs button {
    flex: 1; padding: 12px 10px; border: 0; border-radius: 8px; background: transparent;
    font-family: "Outfit", sans-serif; font-size: 15px; font-weight: 600; color: var(--text); cursor: pointer; transition: .3s;
}
.form-tabs button.is-active { background: var(--brand); color: #fff; box-shadow: 0 8px 18px rgba(var(--brand-rgb), .3); }
.form-pane { display: none; }
.form-pane.is-active { display: block; animation: fadeUp .4s var(--ease); }
/* 页签内的一句说明（柜号查询 / 单号查询 各一句） */
.form-pane__desc { font-size: 14.5px; color: var(--text); line-height: 1.7; margin-bottom: 18px; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 600; color: var(--dark); }
.field label span { color: var(--brand); }
.field input, .field select, .field textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    font-family: inherit;
    font-size: 15px;
    color: var(--dark);
    transition: border-color .25s, box-shadow .25s;
    appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23666'%3E%3Cpath d='M12 16l-6-6h12z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 40px; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(var(--brand-rgb), .1);
}
.field--full { grid-column: 1 / -1; }
.form-note { margin-top: 12px; font-size: 13px; color: var(--muted); }
.form-alert { padding: 12px 16px; border-radius: 10px; margin-bottom: 18px; font-size: 14px; }
.form-alert--error { background: #FEF2F2; color: #B91C1C; border: 1px solid #FECACA; }
.form-alert--success { background: #F0FDF4; color: #15803D; border: 1px solid #BBF7D0; }

/* ---------- 合作伙伴 ---------- */
.partners { padding: 70px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.partners__head { text-align: center; margin-bottom: 40px; }
.partners__head h3 { margin-bottom: 6px; }
.partners__head p { margin: 0; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.partners__track { display: flex; align-items: center; gap: 70px; width: max-content; animation: marquee 30s linear infinite; }
.partners:hover .partners__track { animation-play-state: paused; }
.partners__track img { height: 44px; width: auto; opacity: .55; filter: grayscale(100%); transition: .3s; }
.partners__track img:hover { opacity: 1; filter: none; }

/* ---------- 卡片网格（案例 / 新闻） ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }

/* ---------- 鑫飞系统页：两个平台卡片 ---------- */
.system-card {
    display: flex;
    flex-direction: column;
    padding: 34px;
    border-radius: var(--radius);
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: 0 18px 46px rgba(0, 0, 0, .06);
    transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.system-card:hover { transform: translateY(-4px); box-shadow: 0 26px 60px rgba(0, 0, 0, .1); }
.system-card__tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: "Outfit", sans-serif;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--brand);
}
.system-card__tag i { font-size: 18px; }
.system-card h3 { font-size: 24px; margin: 14px 0 12px; }
.system-card > p { font-size: 14.8px; color: var(--text); line-height: 1.8; }
.system-points { display: grid; gap: 10px; margin-top: 20px; }
.system-points li { display: flex; gap: 10px; font-size: 14px; color: var(--text); line-height: 1.65; }
.system-points i { flex-shrink: 0; color: var(--brand); font-size: 17px; margin-top: 1px; }
/* 按钮组固定贴到卡片底部，两张卡片按钮才能对齐 */
.system-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: auto;
    padding-top: 24px;
}
.system-card__actions .btn { padding: 13px 24px; font-size: 14.5px; }
.system-card__actions .btn--line { background: transparent; border: 1px solid var(--line); color: var(--text); }
.system-card__actions .btn--line:hover { background: var(--surface); border-color: var(--brand); color: var(--brand); box-shadow: none; }

.system-note {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 34px;
    padding: 20px 24px;
    border-radius: 12px;
    background: var(--surface);
    border: 1px solid var(--line);
    font-size: 14px;
    color: var(--text);
}
.system-note i { font-size: 20px; color: var(--brand); }
.system-note a { color: var(--brand); font-weight: 600; }

.case-card { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--dark); }
.case-card__img { aspect-ratio: 4/3.2; overflow: hidden; }
.case-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.case-card:hover .case-card__img img { transform: scale(1.06); }
.case-card__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 90px 26px 26px; background: linear-gradient(transparent, rgba(var(--dark-rgb), .92)); }
.case-card__cat { display: inline-block; padding: 4px 12px; margin-bottom: 12px; border-radius: 20px; background: var(--brand); color: #fff; font-size: 12px; letter-spacing: .08em; }
.case-card__body h4 { color: #fff; margin: 0 0 12px; font-size: 21px; }
.case-card__link { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.8); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.case-card:hover .case-card__link { color: var(--brand); }

.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s; height: 100%; display: flex; flex-direction: column; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.post-card__img { aspect-ratio: 16/10; overflow: hidden; background: var(--surface); }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post-card:hover .post-card__img img { transform: scale(1.05); }
.post-card__body { padding: 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.post-meta { display: flex; align-items: center; gap: 14px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.post-meta .cat { color: var(--brand); font-weight: 600; }
.post-meta i { font-size: 14px; margin-right: 4px; }
.post-card h4 { font-size: 19px; line-height: 1.45; margin: 0; }
.post-card h4 a:hover { color: var(--brand); }
.post-card p { margin: 0; font-size: 14.5px; color: var(--text); flex: 1; }
.post-card .link-more { margin-top: 4px; font-size: 13px; }

/* ---------- 服务卡片 ---------- */
.svc-card { display: grid; grid-template-columns: 240px 1fr; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: .4s var(--ease); }
.svc-card:hover { box-shadow: var(--shadow); border-color: transparent; transform: translateY(-4px); }
.svc-card__img { overflow: hidden; }
.svc-card__img img { width: 100%; height: 100%; object-fit: cover; min-height: 220px; transition: transform .7s var(--ease); }
.svc-card:hover .svc-card__img img { transform: scale(1.06); }
.svc-card__body { padding: 32px 30px; position: relative; }
.svc-card__no { position: absolute; right: 24px; top: 20px; font-family: "Outfit", sans-serif; font-size: 44px; font-weight: 800; color: var(--surface); line-height: 1; }
.svc-card__body h3 { position: relative; margin-bottom: 10px; font-size: 22px; }
.svc-card__body p { font-size: 15px; margin-bottom: 18px; }

/* ---------- 团队 ---------- */
.team-card { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.team-card__img { aspect-ratio: 3/3.5; overflow: hidden; }
.team-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.team-card:hover .team-card__img img { transform: scale(1.06); }
.team-card__body { padding: 22px 24px; background: #fff; }
.team-card__body h4 { margin: 0 0 4px; font-size: 19px; }
.team-card__body span { font-size: 13.5px; color: var(--brand); letter-spacing: .04em; }

/* ---------- 客户评价 ---------- */
.testi-section { background: var(--surface); }
.testi-slider { position: relative; }
.testi-track { display: flex; transition: transform .6s var(--ease); }
.testi-item { min-width: 100%; padding: 0 6px; }
.testi-card {
    background: #fff; border-radius: 18px; padding: 46px 50px;
    box-shadow: 0 20px 50px rgba(var(--dark-rgb), .06);
    display: grid; grid-template-columns: auto 1fr; gap: 30px; align-items: start;
}
.testi-card__quote { font-size: 44px; color: var(--brand); line-height: 1; opacity: .25; }
.testi-card p { font-size: 18px; line-height: 1.85; color: var(--dark); margin-bottom: 24px; }
.testi-card__author { display: flex; align-items: center; gap: 14px; }
.testi-card__author img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; }
.testi-card__author strong { display: block; font-family: "Outfit", sans-serif; font-size: 16px; color: var(--dark); }
.testi-card__author span { font-size: 13px; color: var(--muted); }
.testi-nav { display: flex; gap: 10px; justify-content: center; margin-top: 34px; }
.testi-nav button {
    width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff;
    color: var(--dark); font-size: 18px; cursor: pointer; transition: .3s;
}
.testi-nav button:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.testi-dots { display: flex; gap: 8px; align-items: center; justify-content: center; margin-top: 18px; }
.testi-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: #D4D7DD; cursor: pointer; transition: .3s; }
.testi-dots button.is-active { background: var(--brand); width: 24px; border-radius: 6px; }

/* ---------- 联系方式 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; }
.contact-info { display: flex; flex-direction: column; gap: 26px; }
.contact-item { display: flex; gap: 18px; align-items: flex-start; }
.contact-item__icon {
    width: 54px; height: 54px; flex-shrink: 0; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(var(--brand-rgb), .1); color: var(--brand); font-size: 22px;
}
.contact-item h5 { margin: 0 0 3px; font-size: 15px; letter-spacing: .02em; }
.contact-item p, .contact-item a { margin: 0; font-size: 16px; color: var(--dark); }
.contact-item a:hover { color: var(--brand); }

/* ---------- 内页横幅 ---------- */
.page-banner {
    position: relative; min-height: 420px; display: flex; align-items: center;
    background: var(--dark); overflow: hidden; padding: 160px 0 90px;
}
.page-banner__bg { position: absolute; inset: 0; }
.page-banner__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .42; }
.page-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(var(--dark-rgb),.85), rgba(var(--dark-rgb),.62)); }
.page-banner__inner { position: relative; z-index: 2; max-width: 800px; }
.page-banner h1 { color: #fff; margin-bottom: 16px; font-size: clamp(32px, 4.4vw, 58px); }
.page-banner p { color: rgba(255, 255, 255, .72); font-size: 17px; margin: 0; max-width: 640px; }
.breadcrumb { display: flex; align-items: center; gap: 10px; margin-top: 22px; font-size: 14px; color: rgba(255, 255, 255, .55); }
.breadcrumb a { color: rgba(255, 255, 255, .75); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb i { font-size: 14px; opacity: .5; }

/* ---------- 新闻列表 ---------- */
.news-layout { display: grid; grid-template-columns: 1fr 320px; gap: 50px; align-items: start; }
.news-list { display: flex; flex-direction: column; gap: 28px; }
.news-item { display: grid; grid-template-columns: 300px 1fr; gap: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: .35s var(--ease); }
.news-item:hover { box-shadow: var(--shadow); border-color: transparent; }
.news-item__img { overflow: hidden; }
.news-item__img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; transition: transform .7s var(--ease); }
.news-item:hover .news-item__img img { transform: scale(1.05); }
.news-item__body { padding: 28px 28px 28px 0; display: flex; flex-direction: column; gap: 12px; }
.news-item h3 { margin: 0; font-size: 22px; line-height: 1.45; }
.news-item h3 a:hover { color: var(--brand); }
.news-item p { margin: 0; font-size: 15px; color: var(--text); }
.news-item .link-more { margin-top: auto; }

.sidebar { display: flex; flex-direction: column; gap: 28px; position: sticky; top: 100px; }
.widget { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.widget__title { position: relative; margin: 0 0 20px; padding-bottom: 14px; font-size: 18px; }
.widget__title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 42px; height: 2px; background: var(--brand); }
.widget-search { display: flex; gap: 8px; }
.widget-search input { flex: 1; padding: 11px 14px; border: 1px solid var(--line); border-radius: 8px; font-family: inherit; font-size: 14px; }
.widget-search button { padding: 0 16px; border: 0; border-radius: 8px; background: var(--brand); color: #fff; cursor: pointer; }
.widget-list li { border-bottom: 1px dashed var(--line); }
.widget-list li:last-child { border-bottom: 0; }
.widget-list a { display: flex; align-items: center; justify-content: space-between; padding: 11px 0; font-size: 15px; color: var(--dark); }
.widget-list a:hover { color: var(--brand); }
.widget-list span { font-size: 12.5px; color: var(--muted); }
.widget-post { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.widget-post:last-child { border-bottom: 0; }
.widget-post img { width: 70px; height: 60px; object-fit: cover; border-radius: 8px; }
.widget-post a { font-size: 14px; line-height: 1.5; color: var(--dark); }
.widget-post a:hover { color: var(--brand); }
.widget-post time { font-size: 12px; color: var(--muted); }

/* ---------- 分页 ---------- */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 46px; flex-wrap: wrap; }
.pagination a, .pagination span {
    min-width: 44px; height: 44px; padding: 0 14px;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid var(--line); border-radius: 10px;
    font-size: 14px; color: var(--dark); background: #fff;
}
.pagination a:hover { border-color: var(--brand); color: var(--brand); }
.pagination .is-current { background: var(--brand); border-color: var(--brand); color: #fff; }
.pagination .is-disabled { opacity: .4; pointer-events: none; }

/* ---------- 文章详情 ---------- */
.article-layout { display: grid; grid-template-columns: 1fr 340px; gap: 50px; align-items: start; }
.article { background: #fff; }
.article__head { margin-bottom: 26px; }
.article__head h1 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.3; margin-bottom: 16px; }
.article__cover { border-radius: var(--radius); overflow: hidden; margin-bottom: 34px; }
.article__cover img { width: 100%; object-fit: cover; max-height: 480px; }
.article__content { font-size: 16.5px; line-height: 1.9; color: #3F4348; }
.article__content h2, .article__content h3, .article__content h4 { margin-top: 34px; margin-bottom: 14px; }
.article__content h2 { font-size: 28px; }
.article__content h3 { font-size: 23px; }
.article__content p { margin-bottom: 18px; }
.article__content ul, .article__content ol { margin: 0 0 20px; padding-left: 22px; list-style: disc; }
.article__content ol { list-style: decimal; }
.article__content li { margin-bottom: 8px; }
.article__content img { border-radius: 10px; margin: 24px 0; }
.article__content figure { margin: 26px 0; }
.article__content figure img { margin: 0; width: 100%; }
.article__content blockquote {
    margin: 26px 0; padding: 20px 26px; border-left: 3px solid var(--brand);
    background: var(--surface); border-radius: 0 10px 10px 0; color: var(--dark); font-size: 17px;
}
.article__content a { color: var(--brand); text-decoration: underline; }
.article__content table { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: 15px; }
.article__content th, .article__content td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.article__content th { background: var(--surface); }
.article-tags { display: flex; gap: 10px; flex-wrap: wrap; margin: 34px 0 0; padding-top: 26px; border-top: 1px solid var(--line); }
.article-tags span, .article-tags a { padding: 6px 14px; border-radius: 20px; background: var(--surface); font-size: 13px; color: var(--text); }
.article-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 30px; }
.article-nav a { display: block; padding: 18px 22px; border: 1px solid var(--line); border-radius: var(--radius); transition: .3s; }
.article-nav a:hover { border-color: var(--brand); }
.article-nav small { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.article-nav strong { font-size: 15px; color: var(--dark); font-weight: 600; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.article-nav .next { text-align: right; }

/* ---------- 服务 / 案例详情 ---------- */
.detail-layout { display: grid; grid-template-columns: 1fr 340px; gap: 50px; align-items: start; }
.detail-body { background: #fff; }
.detail-body img { border-radius: 10px; margin: 22px 0; }
.detail-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 26px 0; }
.detail-gallery img { margin: 0; aspect-ratio: 4/3; object-fit: cover; }
.side-list { display: flex; flex-direction: column; gap: 10px; }
.side-list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-size: 15px; color: var(--dark); }
.side-list a:hover, .side-list a.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ---------- 询价页 ---------- */
.quote-page-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 50px; align-items: start; }
.info-card { background: var(--dark); color: rgba(255,255,255,.72); border-radius: 18px; padding: 34px; }
.info-card h3 { color: #fff; }
.info-card .contact-item h5 { color: rgba(255,255,255,.5); }
.info-card .contact-item p, .info-card .contact-item a { color: #fff; }
.info-card .contact-item__icon { background: rgba(255,255,255,.08); }

/* ---------- 404 ---------- */
.error-page { padding: 170px 0 120px; text-align: center; }
.error-page__code { font-family: "Outfit", sans-serif; font-size: clamp(90px, 18vw, 190px); font-weight: 800; line-height: 1; color: var(--dark); letter-spacing: -.04em; }
.error-page__code span { color: var(--brand); }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--dark); color: rgba(255, 255, 255, .62); padding: 80px 0 0; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 46px; padding-bottom: 54px; }
.footer-brand img { height: 56px; width: auto; margin-bottom: 22px; }
.footer-brand p { font-size: 14.5px; line-height: 1.85; margin-bottom: 22px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
    width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.16);
    display: flex; align-items: center; justify-content: center; font-size: 18px; color: rgba(255,255,255,.7);
}
.footer-social a:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.footer-col h5 { color: #fff; margin: 0 0 22px; font-size: 18px; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { font-size: 14.5px; color: rgba(255, 255, 255, .62); display: inline-flex; align-items: center; gap: 8px; }
.footer-links a::before { content: "\ea6e"; font-family: remixicon; font-size: 12px; color: var(--brand); }
.footer-links a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 15px; font-size: 14.5px; }
.footer-contact i { color: var(--brand); font-size: 17px; margin-top: 3px; }
.footer-contact a { color: rgba(255,255,255,.62); }
.footer-contact a:hover { color: #fff; }
.footer-newsletter { display: flex; gap: 8px; margin-top: 16px; }
.footer-newsletter input { flex: 1; padding: 13px 16px; border: 1px solid rgba(255,255,255,.16); border-radius: 10px; background: rgba(255,255,255,.05); color: #fff; font-family: inherit; font-size: 14px; }
.footer-newsletter input::placeholder { color: rgba(255,255,255,.35); }
.footer-newsletter input:focus { outline: none; border-color: var(--brand); }
.footer-newsletter button { width: 48px; border: 0; border-radius: 10px; background: var(--brand); color: #fff; font-size: 18px; cursor: pointer; }
.footer-newsletter button:hover { background: var(--brand-dark); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0;
    display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
    font-size: 13.5px; color: rgba(255,255,255,.45);
}
.footer-bottom a { color: rgba(255,255,255,.6); }
.footer-bottom a:hover { color: var(--brand); }

/* ---------- 浮动按钮 ---------- */
.back-top {
    position: fixed; right: 24px; bottom: 26px; z-index: 80;
    width: 46px; height: 46px; border-radius: 50%; border: 0;
    background: var(--brand); color: #fff; font-size: 20px; cursor: pointer;
    opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: .3s var(--ease); box-shadow: 0 10px 24px rgba(var(--brand-rgb), .35);
}
.back-top.is-show { opacity: 1; visibility: visible; transform: none; }
.back-top:hover { background: var(--brand-dark); }

/* ---------- 滚动动画 ---------- */
/* 仅当 JS 可用时才隐藏，避免脚本失效导致内容不可见 */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* 系统开启「减少动态效果」时直接显示，不做位移动画 */
@media (prefers-reduced-motion: reduce) {
    .js [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
}
[data-reveal][data-delay="1"] { transition-delay: .1s; }
[data-reveal][data-delay="2"] { transition-delay: .2s; }
[data-reveal][data-delay="3"] { transition-delay: .3s; }
[data-reveal][data-delay="4"] { transition-delay: .4s; }

/* ---------- 响应式 ---------- */
@media (max-width: 1200px) {
    .container { padding: 0 20px; }
    .header-mail { display: none; }
    .services-wrap { grid-template-columns: 320px 1fr; gap: 40px; }
    .footer-top { grid-template-columns: 1.4fr 1fr 1.2fr; }
    .footer-col--news { grid-column: 1 / -1; }
}

@media (max-width: 1024px) {
    .section { padding: 80px 0; }
    .main-nav { display: none; }
    .nav-toggle { display: flex; }
    .about-grid, .why-grid, .quote-grid, .contact-grid, .quote-page-grid { grid-template-columns: 1fr; gap: 44px; }
    .about-media { max-width: 620px; }
    .services-wrap { grid-template-columns: 1fr; }
    .services-tabs { flex-direction: row; overflow-x: auto; border-top: 0; gap: 8px; padding-bottom: 8px; }
    .service-tab { border: 1px solid rgba(255,255,255,.12); border-radius: 10px; padding: 14px 18px; white-space: nowrap; }
    .service-tab__no { display: none; }
    .service-tab i { display: none; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .news-layout, .article-layout, .detail-layout { grid-template-columns: 1fr; }
    .sidebar { position: static; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .why-media { max-width: 520px; }
}

@media (max-width: 768px) {
    body { font-size: 15px; }
    .section { padding: 64px 0; }
    .header-inner { height: 76px; }
    .logo img { height: 52px; }
    .hero { min-height: auto; }
    .hero-slide { position: relative; opacity: 1; visibility: visible; display: none; }
    .hero-slide.is-active { display: flex; }
    .hero-slide__inner { padding: 140px 0 90px; }
    .hero-slide::after { background: linear-gradient(180deg, rgba(var(--dark-rgb),.9), rgba(var(--dark-rgb),.65)); }
    .hero-nav { right: 16px; bottom: 90px; flex-direction: row; }
    .hero-nav button { width: 44px; height: 44px; }
    .hero-dots { bottom: 96px; }
    .hero-marquee { display: none; }
    .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
    .about-features { grid-template-columns: 1fr; }
    .about-media { padding-bottom: 0; }
    .about-media__sub { position: relative; right: auto; bottom: auto; width: 100%; margin-top: 14px; border: 0; }
    .about-badge { left: 12px; bottom: 12px; padding: 14px 18px; }
    .field-row { grid-template-columns: 1fr; }
    .form-card { padding: 24px 20px; }
    .testi-card { grid-template-columns: 1fr; padding: 30px 24px; gap: 16px; }
    .testi-card__quote { font-size: 32px; }
    .testi-card p { font-size: 16px; }
    .news-item { grid-template-columns: 1fr; }
    .svc-card { grid-template-columns: 1fr; }
    .svc-card__img img { min-height: 200px; }
    .news-item__body { padding: 20px 22px 26px; }
    .news-item__img img { aspect-ratio: 16/9; }
    .article-nav { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; gap: 34px; }
    .page-banner { min-height: 320px; padding: 130px 0 60px; }
    .partners__track { gap: 40px; }
    .partners__track img { height: 34px; }
    .pagination a, .pagination span { min-width: 40px; height: 40px; }
    .detail-gallery { grid-template-columns: 1fr; }
}

/* 打印 */
@media print {
    .site-header, .site-footer, .back-top, .hero-nav, .hero-dots { display: none !important; }
}

/* ============================================================
   动效层 v1.3.0
   ------------------------------------------------------------
   设计原则（改之前先读）：
   1. 只动 transform / opacity / clip-path，不碰 width/height/top/left，
      避免每帧触发重排；滚动相关的值统一由 rAF 节流写入 CSS 变量。
   2. 缓动统一 expo-out（--ease-out），入场 0.56s、微交互 0.24s，
      时长和缓动不在组件里各写一套，全部引用 token。
   3. 编排：同一容器内元素按 50ms 递增（最多 8 个），整体不超过 0.5s；
      超过 8 个的项目就不再递延，否则最后几个会显得迟钝。
   4. 系统开启「减少动态效果」时全部降级为直接显示（见文件末尾）。
   5. 自动播放的轮播必须可暂停（WCAG 2.2.2），首屏已加暂停按钮。
   ============================================================ */

:root {
    --dur-1: .14s;
    --dur-2: .24s;
    --dur-3: .36s;
    --dur-4: .56s;
    --dur-5: .9s;
    --ease-out: cubic-bezier(.16, 1, .3, 1);
    --ease-soft: cubic-bezier(.4, 0, .2, 1);
}

/* ---------- 键盘可达性 ---------- */
.skip-link {
    position: fixed;
    left: 16px;
    top: -70px;
    z-index: 300;
    padding: 11px 20px;
    border-radius: 10px;
    background: var(--brand);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    transition: top var(--dur-2) var(--ease-out);
}
.skip-link:focus { top: 14px; }

:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 3px;
}
.section--dark :focus-visible,
.hero :focus-visible,
.site-footer :focus-visible {
    outline-color: #FF8A4C;
}

/* ---------- 顶部滚动进度 ---------- */
.scroll-progress {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 2px;
    z-index: 200;
    pointer-events: none;
}
.scroll-progress span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--brand), #FF9A5E);
    transform: scaleX(0);
    transform-origin: 0 50%;
    will-change: transform;
}

/* ---------- 头部：下滚收起、上滚出现 ---------- */
.site-header {
    transition: background .35s var(--ease), box-shadow .35s var(--ease),
                transform .45s var(--ease-out);
}
.site-header.is-hidden { transform: translateY(-102%); }

/* ---------- 首屏编排 ---------- */
.hero-slide.is-active .hero-sub { animation: heroRise .8s var(--ease-out) both; }
.hero-slide.is-active .hero-content h1 { animation: heroRise .9s var(--ease-out) .14s both; }
.hero-slide.is-active .hero-actions { animation: heroRise .9s var(--ease-out) .28s both; }
@keyframes heroRise {
    from { opacity: 0; transform: translate3d(0, 32px, 0); }
    to   { opacity: 1; transform: none; }
}

/* 轻微视差：位移由 JS 写入 --hero-shift，背景先放大 1.05 兜住边缘 */
.hero-slide__bg {
    transform: translate3d(0, var(--hero-shift, 0px), 0) scale(1.05);
    will-change: transform;
}

/* 轮播控制：进度条 + 暂停按钮 */
.hero-dots { align-items: center; }
.hero-dots button { position: relative; overflow: hidden; }
.hero-dots button::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, .92);
    transform: scaleX(0);
    transform-origin: 0 50%;
}
.hero-dots button.is-active::after { animation: dotProgress 6.5s linear forwards; }
.hero.is-paused .hero-dots button.is-active::after { animation-play-state: paused; }
@keyframes dotProgress {
    from { transform: scaleX(0); }
    to   { transform: scaleX(1); }
}
.hero-dots .hero-pause {
    width: 26px;
    height: 26px;
    margin-left: 10px;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 50%;
    background: transparent;
    color: #fff;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background var(--dur-2), border-color var(--dur-2);
}
.hero-dots .hero-pause::after { display: none; }
.hero-dots .hero-pause:hover { background: var(--brand); border-color: var(--brand); }

/* 字幕条：悬停暂停，方便看清内容 */
.hero-marquee:hover .hero-marquee__track { animation-play-state: paused; }

/* ---------- 入场揭示：方向与遮罩 ---------- */
.js [data-reveal="left"]  { transform: translate3d(-34px, 0, 0); }
.js [data-reveal="right"] { transform: translate3d(34px, 0, 0); }
.js [data-reveal="zoom"]  { transform: scale(.95); }
.js [data-reveal="mask"] {
    opacity: 1;
    transform: none;
    clip-path: inset(0 0 102% 0);
    transition: clip-path var(--dur-5) var(--ease-out);
}
.js [data-reveal="mask"].is-visible { clip-path: inset(0 0 0 0); }
[data-reveal][data-delay="5"] { transition-delay: .5s; }
[data-reveal][data-delay="6"] { transition-delay: .6s; }

/* 容器内逐项递延：给容器加 data-stagger 即可，无需给每个子元素写延迟 */
.js [data-stagger] > * {
    opacity: 0;
    transform: translate3d(0, 22px, 0);
    transition: opacity var(--dur-4) var(--ease-out), transform var(--dur-4) var(--ease-out);
}
.js [data-stagger].is-visible > * { opacity: 1; transform: none; }
[data-stagger] > *:nth-child(1) { transition-delay: .05s; }
[data-stagger] > *:nth-child(2) { transition-delay: .1s; }
[data-stagger] > *:nth-child(3) { transition-delay: .15s; }
[data-stagger] > *:nth-child(4) { transition-delay: .2s; }
[data-stagger] > *:nth-child(5) { transition-delay: .25s; }
[data-stagger] > *:nth-child(6) { transition-delay: .3s; }
[data-stagger] > *:nth-child(7) { transition-delay: .35s; }
[data-stagger] > *:nth-child(n+8) { transition-delay: .4s; }

/* ---------- 按钮：光扫 ---------- */
.btn:not(.btn--ghost)::after {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 55%; height: 100%;
    background: linear-gradient(115deg, transparent, rgba(255, 255, 255, .42), transparent);
    transform: translateX(-170%) skewX(-18deg);
    opacity: 0;
    pointer-events: none;
}
.btn:not(.btn--ghost):hover::after { animation: btnShine .85s var(--ease-out); }
@keyframes btnShine {
    0%   { transform: translateX(-170%) skewX(-18deg); opacity: 0; }
    22%  { opacity: 1; }
    100% { transform: translateX(330%) skewX(-18deg); opacity: 0; }
}

/* 提交中：禁用并显示转圈，避免重复提交 */
.btn.is-loading { pointer-events: none; opacity: .9; }
.btn.is-loading > i { display: none; }
.btn.is-loading::before {
    content: "";
    width: 15px; height: 15px;
    border: 2px solid rgba(255, 255, 255, .45);
    border-top-color: #fff;
    border-radius: 50%;
    animation: btnSpin .7s linear infinite;
}
.btn--dark.is-loading::before,
.btn--ghost.is-loading::before { border-color: rgba(0,0,0,.2); border-top-color: var(--dark); }
@keyframes btnSpin { to { transform: rotate(360deg); } }

/* ---------- 卡片：光斑 + 3D 倾斜 ---------- */
[data-spotlight] { position: relative; }
[data-spotlight]::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%),
                rgba(var(--brand-rgb), .16), transparent 62%);
    opacity: 0;
    transition: opacity var(--dur-3) var(--ease-out);
    pointer-events: none;
}
[data-spotlight]:hover::after { opacity: 1; }

[data-tilt] {
    transform-style: preserve-3d;
    transition: transform .5s var(--ease-out);
    will-change: transform;
}

/* 卡片里的箭头统一滑动，比单纯变色更有回应感 */
.case-card:hover .case-card__link i,
.post-card:hover .link-more i,
.svc-card:hover .link-more i { transform: translateX(5px); }
.case-card__link i, .post-card .link-more i { transition: transform var(--dur-2) var(--ease-out); }

/* ---------- 能力数据带 ---------- */
.stats-band {
    position: relative;
    padding: 82px 0 70px;
    background: var(--dark);
    color: rgba(255, 255, 255, .7);
    overflow: hidden;
}
.stats-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(620px 260px at 12% 0%, rgba(var(--brand-rgb), .20), transparent 70%),
        radial-gradient(560px 240px at 88% 100%, rgba(var(--brand-rgb), .10), transparent 70%);
    pointer-events: none;
}
.stats-band .container { position: relative; z-index: 1; }
.stats-band__head { max-width: 720px; }
.stats-band__head h2 { color: #fff; margin-bottom: 0; }
.stats-band__note {
    margin: 30px 0 0;
    font-size: 13px;
    color: rgba(255, 255, 255, .42);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 48px;
    border-top: 1px solid rgba(255, 255, 255, .12);
}
.stat-card {
    padding: 34px 28px 30px;
    border-right: 1px solid rgba(255, 255, 255, .10);
    transition: background var(--dur-3) var(--ease-out);
}
.stat-card:first-child { padding-left: 0; }
.stat-card:last-child { border-right: 0; }
.stat-card:hover { background: rgba(255, 255, 255, .04); }
.stat-card__num {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-family: "Outfit", sans-serif;
    font-size: clamp(38px, 4.4vw, 58px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.02em;
    color: #fff;
}
.stat-card__num em {
    font-style: normal;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .02em;
    color: var(--brand);
}
.stat-card p {
    margin: 14px 0 0;
    font-size: 14.5px;
    line-height: 1.6;
    color: rgba(255, 255, 255, .58);
}

/* ---------- 常见问题 ---------- */
.faq-layout {
    display: grid;
    grid-template-columns: .82fr 1.18fr;
    gap: 64px;
    align-items: start;
}
.faq-aside { position: sticky; top: 112px; }
.faq-aside h2 { margin-bottom: 18px; }
.faq-aside .lead { margin-bottom: 28px; }
.faq-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color var(--dur-3) var(--ease-out), box-shadow var(--dur-3) var(--ease-out);
}
.faq-item:hover { border-color: #D5D9E0; }
.faq-item[open] {
    border-color: rgba(var(--brand-rgb), .34);
    box-shadow: 0 14px 34px rgba(var(--dark-rgb), .07);
}
.faq-item summary {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    cursor: pointer;
    list-style: none;
    font-family: "Outfit", "PingFang SC", sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: var(--dark);
    transition: color var(--dur-2);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item[open] summary { color: var(--brand); }
.faq-item__no {
    font-family: "Outfit", sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--brand);
    opacity: .75;
}
.faq-item__q { flex: 1; }
.faq-item__icon {
    font-size: 18px;
    color: var(--muted);
    transition: transform var(--dur-3) var(--ease-out), color var(--dur-3);
}
.faq-item[open] .faq-item__icon { transform: rotate(135deg); color: var(--brand); }
.faq-item__a { padding: 0 24px 22px 54px; }
.faq-item__a p {
    margin: 0;
    font-size: 15px;
    line-height: 1.85;
    color: var(--text);
}

/* 展开/收起的高度动画：支持的浏览器才启用，其余直接展开（可用性优先） */
@supports (interpolate-size: allow-keywords) {
    :root { interpolate-size: allow-keywords; }
    .faq-item::details-content {
        block-size: 0;
        overflow: hidden;
        transition: block-size var(--dur-3) var(--ease-out),
                    content-visibility var(--dur-3) allow-discrete;
    }
    .faq-item[open]::details-content { block-size: auto; }
}

/* ---------- 回到顶部：环形进度 ---------- */
.back-top::before {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: conic-gradient(var(--brand) calc(var(--p, 0) * 1%), transparent 0);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px));
    opacity: 0;
    transition: opacity var(--dur-3);
    pointer-events: none;
}
.back-top.is-show::before { opacity: .9; }
.back-top { position: fixed; }

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-card:nth-child(2n) { border-right: 0; }
    .stat-card:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .10); }
    .faq-layout { gap: 44px; }
}

@media (max-width: 900px) {
    .faq-layout { grid-template-columns: 1fr; gap: 32px; }
    .faq-aside { position: static; }
}

@media (max-width: 640px) {
    .stats-band { padding: 60px 0 50px; }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 34px;
    }
    .stat-card { padding: 24px 16px 22px; border-right: 0; }
    .stat-card:first-child { padding-left: 16px; }
    .stat-card:nth-child(odd) { border-right: 1px solid rgba(255, 255, 255, .10); }
    .stat-card:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .10); }
    .stat-card__num { font-size: 34px; }
    .stat-card p { font-size: 13.5px; }
    .faq-item summary { padding: 17px 18px; font-size: 15.5px; gap: 12px; }
    .faq-item__a { padding: 0 18px 18px 46px; }
    .faq-item__a p { font-size: 14.5px; }
    .hero-dots .hero-pause { width: 24px; height: 24px; margin-left: 6px; }
}


/* ============================================================
   移动端修正（v1.3.0）
   ------------------------------------------------------------
   1) 轮播控制原本绝对定位在 bottom:96px，手机端 hero 高度由内容撑开，
      控制条会压住按钮；改为跟随内容流排在首屏下方。
   2) 数据带两列时子项默认 min-width:auto 会被内容撑宽，导致右侧被裁切。
   3) 顶部一行塞 logo + 询价按钮 + 汉堡，390px 下会被挤出屏幕。
   ============================================================ */
@media (max-width: 768px) {
    /* 首屏控制条：进入文档流 */
    .hero-dots {
        position: static;
        transform: none;
        justify-content: center;
        padding: 0 0 28px;
        background: transparent;
    }
    .hero-nav { display: none; }
    .hero-slide__inner { padding: 132px 0 34px; }

    /* 顶部：给汉堡按钮留出空间 */
    .header-actions { gap: 12px; }
    .header-actions .btn--sm { padding: 10px 16px; font-size: 13.5px; }
    .nav-toggle { flex-shrink: 0; }
    .logo img { height: 52px; }
}

@media (max-width: 420px) {
    .logo img { height: 44px; }
    .header-actions { gap: 9px; }
    .header-actions .btn--sm { padding: 9px 13px; font-size: 13px; }
    .nav-toggle { width: 42px; height: 42px; font-size: 20px; }
}

/* 数据带：防止子项把网格撑宽 */
.stats-grid { min-width: 0; }
.stat-card { min-width: 0; }
.stat-card__num { flex-wrap: wrap; row-gap: 4px; }
.stat-card p { overflow-wrap: break-word; }

/* FAQ 在小屏不要过长缩进 */
@media (max-width: 480px) {
    .faq-item__a { padding-left: 18px; }
    .faq-item__no { display: none; }
    .faq-item summary { gap: 10px; }
}

/* 小屏首屏控制条压在图片上，加一层渐变保证对比度 */
@media (max-width: 768px) {
    .hero-dots {
        padding-top: 18px;
        background: linear-gradient(180deg, rgba(var(--dark-rgb), 0), rgba(var(--dark-rgb), .55));
    }
    .hero-dots button { background: rgba(255, 255, 255, .55); }
    .hero-dots button.is-active { background: var(--brand); }
}
