/* ===== 成都小杏子科技有限公司 · 企业 AI 落地服务官网 ===== */
:root {
  --ink: #0B0C0F;          /* 深黑 */
  --ink-2: #15171C;        /* 深灰 */
  --ink-3: #1E2128;        /* 中深灰 */
  --apricot: #F5A623;      /* 杏黄主色 */
  --apricot-light: #FFB84D;/* 亮杏 */
  --apricot-soft: #FFF4E0; /* 浅杏背景 */
  --white: #FFFFFF;
  --cream: #F8F7F4;        /* 内容区浅底 */
  --grey: #6B6F78;
  --grey-light: #E3E4E6;
  --border: rgba(255,255,255,0.10);
  --shadow: 0 20px 50px rgba(0,0,0,0.08);
  --shadow-hover: 0 28px 70px rgba(0,0,0,0.14);
  --radius: 18px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* 工具类 */
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; position: relative; z-index: 2; }
.reveal { opacity: 0; transform: translateY(28px); transition: all .7s cubic-bezier(.22,.61,.36,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* 按钮 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 30px; border-radius: 999px; font-weight: 700; font-size: 15px;
  transition: all .25s ease; border: none; cursor: pointer;
}
.btn-primary {
  background: linear-gradient(135deg, var(--apricot), var(--apricot-light));
  color: var(--ink); box-shadow: 0 10px 30px rgba(245,166,35,.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(245,166,35,.45); }
.btn-ghost {
  background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,.35);
}
.btn-ghost:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.6); }
.btn-dark {
  background: var(--ink); color: var(--white);
}
.btn-dark:hover { background: var(--ink-2); transform: translateY(-2px); }

/* 通用标题 */
.sec-head { text-align: center; margin-bottom: 56px; }
.eyebrow {
  font-size: 12px; letter-spacing: 3px; text-transform: uppercase; font-weight: 800;
  color: var(--apricot); margin-bottom: 10px;
}
.sec-head h2 { font-size: 34px; font-weight: 800; line-height: 1.25; }
.sec-head p { color: var(--grey); font-size: 17px; margin-top: 10px; max-width: 640px; margin-left: auto; margin-right: auto; }

/* ===== 导航 ===== */
nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
  transition: all .35s ease; padding: 18px 0;
}
nav.scrolled {
  background: rgba(255,255,255,.96); backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(0,0,0,.06); padding: 12px 0;
}
nav.scrolled .nav-logo { color: var(--ink); }
nav.scrolled .nav-links a { color: var(--grey); }
nav.scrolled .nav-links a:hover { color: var(--apricot); }

.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.nav-logo { font-size: 20px; font-weight: 800; color: var(--white); display: flex; align-items: center; gap: 10px; transition: color .3s; }
.nav-logo img { width: 38px; height: 38px; border-radius: 10px; box-shadow: 0 0 0 1px rgba(255,184,77,.4), 0 4px 14px rgba(0,0,0,.35); flex-shrink: 0; }
.nav-logo span { font-weight: 900; font-size: 17px; letter-spacing: .2px; }
.nav-links { display: flex; gap: 32px; font-size: 16px; font-weight: 600; align-items: center; }
.nav-links a { color: rgba(255,255,255,.75); transition: color .2s; }
.nav-links a:hover { color: var(--apricot); }
nav .btn { padding: 10px 22px; font-size: 13px; }
.nav-cta-mobile { display: none; }

/* 汉堡按钮 */
.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: none;
  cursor: pointer; padding: 6px; z-index: 120;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
nav.scrolled .nav-toggle span { background: var(--ink); }
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  background: radial-gradient(ellipse at 50% 0%, #1E2128 0%, #0B0C0F 60%);
  color: var(--white); overflow: hidden; padding-top: 100px; padding-bottom: 90px;
}
#particles-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none;
}
/* Hero 柔和光晕，增加层次 */
.hero-glow {
  position: absolute; border-radius: 50%; filter: blur(90px); z-index: 0; pointer-events: none;
}
.hero-glow-1 {
  width: 520px; height: 520px; top: -140px; right: -80px;
  background: radial-gradient(circle, rgba(245,166,35,.28), transparent 70%);
}
.hero-glow-2 {
  width: 460px; height: 460px; bottom: -160px; left: -100px;
  background: radial-gradient(circle, rgba(255,184,77,.18), transparent 70%);
}
.hero .wrap { z-index: 3; text-align: center; }
.hero h1 { font-size: 52px; font-weight: 800; line-height: 1.15; margin-bottom: 22px; }
.hero h1 .accent {
  background: linear-gradient(135deg, var(--apricot), var(--apricot-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-sub { font-size: 16px; line-height: 1.62; color: rgba(255,255,255,.72); max-width: 660px; margin: 0 auto 36px; }
.hero-cta { display: flex; gap: 18px; justify-content: center; margin-bottom: 60px; }
.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 720px; margin: 0 auto;
}
.hero-stat {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius); padding: 24px 16px; backdrop-filter: blur(6px);
  transition: all .3s ease;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  min-height: 132px; text-align: center;
}
.hero-stat:hover { background: rgba(255,255,255,.1); transform: translateY(-4px); }
.hero-stat .num { font-size: 24px; font-weight: 800; color: var(--apricot); line-height: 1.3; }
.hero-stat .lab { font-size: 13px; color: rgba(255,255,255,.6); margin-top: 8px; }

/* ===== 通用浅色区块 ===== */
section { padding: 100px 0; }
section.alt { background: var(--cream); }

/* ===== 公司简介 ===== */
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: center; }
.about-left h2 { font-size: 34px; font-weight: 800; line-height: 1.25; margin-bottom: 18px; }
.about-left p { color: var(--grey); font-size: 16px; margin-bottom: 14px; }
.about-left strong { color: var(--ink); }
.about-right { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.about-card {
  background: var(--white); border: 1px solid var(--grey-light); border-radius: var(--radius);
  padding: 26px; text-align: center; box-shadow: var(--shadow); transition: .3s;
}
.about-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: var(--apricot); }
.about-card .num { font-size: 34px; font-weight: 800; color: var(--apricot); }
.about-card .lab { font-size: 13px; color: var(--grey); margin-top: 6px; }
.about-cert { cursor: zoom-in; padding: 16px; }
.about-cert .cert-img { aspect-ratio: 4/3; border-radius: 8px; overflow: hidden; background: var(--cream); }
.about-cert .cert-img img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.about-cert .lab { margin-top: 12px; }

/* ===== 能力总览 ===== */
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cap-card {
  background: var(--white); border: 1px solid var(--grey-light); border-radius: var(--radius);
  padding: 32px 26px; transition: .35s; position: relative; overflow: hidden;
}
.cap-card::before {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--apricot), var(--apricot-light)); transform: scaleX(0); transform-origin: left; transition: transform .35s;
}
.cap-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-hover); border-color: rgba(245,166,35,.35); }
.cap-card:hover::before { transform: scaleX(1); }
.cap-ico {
  width: 52px; height: 52px; border-radius: 14px; background: var(--apricot-soft);
  display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 18px; color: var(--apricot);
}
.cap-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.cap-card p { font-size: 14px; color: var(--grey); }

/* ===== 服务 ===== */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; align-items: stretch; }
.svc-card {
  background: var(--white); border: 1px solid var(--grey-light); border-radius: var(--radius);
  padding: 32px 28px; box-shadow: var(--shadow); transition: .35s;
  display: flex; flex-direction: column; height: 100%;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.tag {
  display: inline-block; background: linear-gradient(135deg, var(--apricot), var(--apricot-light));
  color: var(--ink); font-size: 11px; font-weight: 800; padding: 4px 12px; border-radius: 999px; margin-bottom: 14px;
  align-self: flex-start;
  /* 固定最小高度：确保空标签（tag-empty）也占同样空间，标题对齐 */
  min-height: 24px;
  line-height: 16px;
}
.tag-empty { visibility: hidden; pointer-events: none; }
.svc-card h3 { font-size: 20px; font-weight: 800; margin: 0 0 12px; line-height: 1.35; }
.svc-card p { color: var(--grey); font-size: 15px; line-height: 1.7; margin: 0; margin-top: auto; }

/* ===== 行业 ===== */
.ind-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ind-card {
  background: var(--white); border: 1px solid var(--grey-light); border-radius: var(--radius);
  padding: 28px; transition: .35s; position: relative;
}
.ind-card:hover { border-color: var(--apricot); transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.ind-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 6px; }
.ind-card h3 span { color: var(--apricot); }
.ind-card p { font-size: 14px; color: var(--grey); }

/* ===== 资质证书 ===== */
.cert-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 640px; margin: 0 auto; }
.cert-card {
  background: var(--white); border: 1px solid var(--grey-light); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); transition: .35s;
}
.cert-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-hover); }
.cert-img { aspect-ratio: 4/3; overflow: hidden; background: var(--cream); }
.cert-img img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s; padding: 16px; }
.cert-card:hover .cert-img img { transform: scale(1.05); }
.cert-info { padding: 22px; }
.cert-info h4 { font-size: 16px; font-weight: 800; margin-bottom: 4px; }
.cert-info p { font-size: 13px; color: var(--grey); }

/* ===== 案例 ===== */
.case-tip {
  max-width: 720px; margin: 0 auto 22px; padding: 11px 18px;
  background: rgba(245,166,35,.1); border: 1px solid rgba(245,166,35,.35);
  border-radius: 10px; color: #9a6a12; font-size: 13.5px; font-weight: 600; text-align: center;
}
.case-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 30px; }
.cf-btn {
  padding: 9px 22px; border-radius: 999px; border: 1px solid var(--grey-light);
  background: var(--white); color: var(--grey); font-size: 14px; font-weight: 600; cursor: pointer; transition: .25s;
}
.cf-btn:hover { border-color: rgba(245,166,35,.5); color: var(--apricot); }
.cf-btn.active { background: var(--apricot); border-color: var(--apricot); color: #fff; box-shadow: 0 6px 18px rgba(245,166,35,.35); }

.case-list { display: flex; flex-direction: column; gap: 20px; }
.case-detail {
  display: flex; background: var(--white); border: 1px solid var(--grey-light);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: .35s;
}
.case-detail:hover { box-shadow: var(--shadow-hover); border-color: rgba(245,166,35,.3); }
.case-aside {
  flex: 0 0 300px; padding: 30px 28px; background: linear-gradient(160deg, rgba(245,166,35,.07), rgba(245,166,35,.02));
  border-right: 1px solid var(--grey-light); display: flex; flex-direction: column;
}
.case-ind { font-size: 12px; font-weight: 800; color: var(--apricot); letter-spacing: .5px; margin-bottom: 10px; }
.case-aside h3 { font-size: 20px; font-weight: 800; color: var(--ink); line-height: 1.35; margin-bottom: 8px; }
.case-client { font-size: 13px; color: var(--grey); margin-bottom: 22px; }
.case-stats { list-style: none; display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: auto; }
.case-stats b { font-size: 30px; font-weight: 800; color: var(--apricot); line-height: 1; }
.case-stats span { font-size: 12.5px; color: var(--grey); margin-top: 4px; display: block; }

.case-body { flex: 1; padding: 28px 30px; display: flex; flex-direction: column; gap: 16px; }
.cb-label {
  display: inline-block; font-size: 12px; font-weight: 800; color: var(--apricot);
  padding-left: 12px; position: relative; margin-bottom: 6px;
}
.cb-label::before { content: ""; position: absolute; left: 0; top: 2px; bottom: 2px; width: 3px; border-radius: 2px; background: var(--apricot); }
.case-block p { font-size: 14.5px; color: #444; line-height: 1.7; margin: 0; }

/* ===== 为什么选我们 ===== */
.why-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.why-card {
  background: var(--white); border-radius: var(--radius); padding: 28px 18px; text-align: center;
  border-top: 3px solid var(--apricot); box-shadow: var(--shadow); transition: .35s;
}
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.why-card h4 { font-size: 16px; font-weight: 800; margin-bottom: 8px; }
.why-card p { font-size: 13px; color: var(--grey); }

/* ===== 全局防孤字：所有卡片/窄容器内的中文文本 ===== */
/* text-wrap: balance 让浏览器自动均衡分行，避免末行只剩1-2个字 */
.flow-step p,
.tier-card li,
.tier-card h4,
.ind-card p,
.svc-card p,
.svc-card h3,
.case-stats span,
.about-card .lab,
.hero-stat .num,
.case-block p,
.contact-item span,
.cap-card p,
.cap-card h3,
.why-card p {
  text-wrap: balance;
}

/* ===== 流程 ===== */
.flow-grid { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 10px; }
.flow-step {
  flex: 1; min-width: 170px; background: var(--white); border: 1px solid var(--grey-light);
  border-radius: var(--radius); padding: 26px 22px; transition: .35s;
}
.flow-step:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: var(--apricot); }
.flow-step .no { font-size: 28px; font-weight: 800; color: var(--apricot); margin-bottom: 10px; }
.flow-step h4 { font-size: 16px; font-weight: 800; margin-bottom: 6px; }
.flow-step p { font-size: 13px; color: var(--grey); }

/* ===== 联系我们 ===== */
.contact-wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.contact-left h2 { font-size: 34px; font-weight: 800; line-height: 1.25; margin-bottom: 16px; }
.contact-left p { color: var(--grey); font-size: 16px; margin-bottom: 26px; }
.contact-meta { display: grid; gap: 14px; margin-bottom: 30px; }
.contact-item { display: flex; align-items: flex-start; gap: 12px; }
.contact-item .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--apricot); margin-top: 10px; flex-shrink: 0; }
.contact-item div strong { display: block; color: var(--ink); font-size: 14px; }
.contact-item div span { color: var(--grey); font-size: 14px; }
.qr-card {
  background: var(--white); border: 1px solid var(--grey-light); border-radius: var(--radius);
  padding: 32px; text-align: center; box-shadow: var(--shadow);
}
.qr-card img { width: 180px; height: 180px; margin: 0 auto 18px; border-radius: 12px; }
.qr-card h4 { font-size: 17px; font-weight: 800; margin-bottom: 6px; }
.qr-card p { font-size: 13px; color: var(--grey); }
.qr-note { display: inline-block; margin-top: 12px; font-size: 11px; color: var(--apricot); background: var(--apricot-soft); padding: 4px 10px; border-radius: 999px; }

/* ===== 留资表单 ===== */
.lead-form {
  background: var(--white); border: 1px solid var(--grey-light); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow); margin-bottom: 28px; display: grid; gap: 14px;
}
.lead-form .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lead-form input, .lead-form select, .lead-form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--grey-light); border-radius: 12px;
  font-size: 14px; font-family: inherit; color: var(--ink); background: var(--white);
  transition: border-color .2s, box-shadow .2s; resize: vertical;
}
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus {
  outline: none; border-color: var(--apricot); box-shadow: 0 0 0 3px rgba(245,166,35,.15);
}
.lead-form .form-hint { font-size: 12px; color: var(--grey); text-align: center; margin: 0; }
/* 方案A：腾讯问卷接入位 */
.survey-cta { margin-top: 28px; }
.survey-cta .btn { width: 100%; }

/* ===== AI专区 / 为什么选我们 内部子标题 ===== */
.block-title { text-align: center; margin: 64px 0 32px; }
.block-title .eyebrow { margin-bottom: 8px; }
.block-title h3 { font-size: 26px; font-weight: 800; }

/* 关于我们 / 联系我们（合并进 why 内区块） */
.about-block { margin-bottom: 10px; }
.contact-block { margin-top: 10px; }

/* 四大服务体系 */
.tier-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tier-card {
  background: var(--white); border: 1px solid var(--grey-light); border-radius: var(--radius);
  padding: 28px 24px; box-shadow: var(--shadow); transition: .35s; display: flex; flex-direction: column;
}
.tier-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: rgba(245,166,35,.35); }
.tier-no { font-size: 30px; font-weight: 800; color: var(--apricot); line-height: 1; margin-bottom: 12px; }
.tier-card h4 { font-size: 17px; font-weight: 800; line-height: 1.4; margin-bottom: 10px; text-wrap: balance; }
.tier-tag {
  display: inline-block; align-self: flex-start; font-size: 11px; font-weight: 700; color: #9a6a12;
  background: var(--apricot-soft); padding: 4px 10px; border-radius: 999px; margin-bottom: 16px;
}
.tier-card ul { list-style: none; display: grid; gap: 10px; }
.tier-card li { font-size: 13.5px; color: var(--grey); padding-left: 16px; position: relative; line-height: 1.5; }
.tier-card li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--apricot); }

/* 四大服务保障 */
.guarantee-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.guarantee-card {
  background: var(--white); border-radius: var(--radius); padding: 26px 18px; text-align: center;
  border-top: 3px solid var(--apricot); box-shadow: var(--shadow); transition: .35s;
}
.guarantee-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.guarantee-card h4 { font-size: 16px; font-weight: 800; margin-bottom: 8px; }
.guarantee-card p { font-size: 13px; color: var(--grey); }

/* 服务分层一览表 */
.table-wrap { max-width: 920px; margin: 0 auto; }
.tier-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.tier-table th, .tier-table td { padding: 16px 20px; text-align: left; font-size: 14.5px; border-bottom: 1px solid var(--grey-light); }
.tier-table thead th { background: var(--ink); color: #fff; font-weight: 700; font-size: 14px; }
.tier-table tbody tr:last-child td { border-bottom: none; }
.tier-table tbody tr:hover { background: var(--apricot-soft); }
.tier-table td:first-child { font-weight: 800; color: var(--ink); white-space: nowrap; }
.tier-note { text-align: center; font-size: 13px; color: var(--grey); margin-top: 16px; }

/* ===== 证书卡（灯箱触发） ===== */
.cert-card { cursor: zoom-in; }

/* ===== 灯箱 ===== */
.lightbox {
  position: fixed; inset: 0; background: rgba(0,0,0,.85); z-index: 200;
  display: none; align-items: center; justify-content: center; padding: 40px;
  opacity: 0; transition: opacity .3s;
}
.lightbox.open { display: flex; opacity: 1; }
.lightbox img { max-width: 92%; max-height: 88vh; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lightbox-close {
  position: absolute; top: 24px; right: 32px; width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,.12); color: #fff; border: none; font-size: 28px; cursor: pointer;
  transition: background .2s; line-height: 1;
}
.lightbox-close:hover { background: rgba(255,255,255,.25); }

/* ===== 回到顶部 ===== */
.to-top {
  position: fixed; bottom: 30px; right: 30px; width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--apricot), var(--apricot-light)); color: var(--ink);
  border: none; font-size: 22px; font-weight: 800; cursor: pointer; z-index: 90;
  box-shadow: 0 10px 30px rgba(245,166,35,.4); opacity: 0; visibility: hidden;
  transform: translateY(12px); transition: all .3s;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(245,166,35,.5); }

/* ===== 页脚 ===== */
footer { background: var(--ink); color: rgba(255,255,255,.55); padding: 40px 0; text-align: center; font-size: 13px; }

/* ===== 尊重系统「减少动态效果」设置 ===== */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ===== 响应式 ===== */
@media (max-width: 980px) {
  .nav-toggle { display: flex; }
  .nav-cta-desktop { display: none; }
  .nav-cta-mobile { display: inline-flex; margin-top: 8px; }
  /* 移动端下拉菜单面板 */
  .nav-links {
    position: fixed; top: 0; right: 0; height: 100vh; width: 78%; max-width: 320px;
    background: rgba(15,17,22,.98); backdrop-filter: blur(16px);
    flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 8px; padding: 40px 34px; transform: translateX(100%); transition: transform .35s ease;
    box-shadow: -10px 0 40px rgba(0,0,0,.4); z-index: 110;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { color: rgba(255,255,255,.85); font-size: 18px; padding: 10px 0; }
  nav.scrolled .nav-links a { color: rgba(255,255,255,.85); }
  .hero h1 { font-size: 36px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-wrap { grid-template-columns: 1fr; }
  .cap-grid, .svc-grid, .ind-grid, .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .tier-grid, .guarantee-grid { grid-template-columns: repeat(2, 1fr); }
  .table-wrap { overflow-x: auto; }
  .case-detail { flex-direction: column; }
  .case-aside { flex: none; border-right: none; border-bottom: 1px solid var(--grey-light); }
  .why-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .hero h1 { font-size: 30px; }
  .hero-cta { flex-direction: column; align-items: center; }
  .hero-stats { grid-template-columns: 1fr; }
  .cap-grid, .svc-grid, .ind-grid, .cert-grid, .why-grid, .about-right, .tier-grid, .guarantee-grid { grid-template-columns: 1fr; }
  .case-aside, .case-body { padding: 22px; }
  .lead-form .field-row { grid-template-columns: 1fr; }
  section { padding: 70px 0; }
  .sec-head h2, .about-left h2, .contact-left h2 { font-size: 26px; }
  .to-top { bottom: 20px; right: 20px; }
}
