/* ==========================================================================
 * style.css — 全站唯一样式表（无框架、无预处理器、无外部字体请求）
 * 视觉方向：白底 + 主蓝 #006BB6 + 几何无衬线字体 +
 *          深色 Hero 通栏 + 白色卡片网格 + 居中细体大标题
 *          （完整设计令牌说明见 docs/项目移交文档.md 第 6 节）
 * 结构：
 *   00 设计令牌  01 基础重置  02 布局  03 顶栏  04 页脚
 *   05 排版      06 组件      07 视觉块  08 表单  09 动效  10 响应式
 * ========================================================================== */

/* ============================ 00 设计令牌 ============================ */
:root {
  /* 文字 */
  --ink: #2c2c2c;        /* 主文字 */
  --ink-2: #444444;      /* 次级文字 */
  --ink-deep: #1d2d2d;   /* 深色标题 */
  --muted: #6b7280;      /* 说明文字 */
  --teal: #426f6f;       /* 辅助色（引文、小标签） */

  /* 品牌 */
  --brand: #006bb6;      /* 主蓝：链接、小标题、按钮 */
  --brand-dark: #005490; /* 悬停态 */
  --brand-soft: #e8f2f9; /* 浅蓝底 */
  --brand-line: #cfe2f0;

  /* 表面 */
  --surface: #ffffff;
  --surface-alt: #f2f2f2;
  --surface-dark: #1d2d2d;
  --surface-dark-2: #16232a;

  /* 线条与阴影 */
  --line: #e4e4e4;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, .06);
  --shadow: 0 6px 20px rgba(0, 0, 0, .09);
  --shadow-lg: 0 18px 44px rgba(0, 0, 0, .14);

  /* 尺寸 */
  --container: 1140px;
  --header-h: 90px;
  --radius: 4px;

  /* 字体：Montserrat 是参考站字体，本机装了就用；否则退到同为几何风格的
     系统字体，全程零下载。若要精确还原，见移交文档 6.2 的自托管方案。 */
  --font: Montserrat, "Avenir Next", Avenir, "Century Gothic", "Segoe UI",
          system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

/* ============================ 01 基础重置 ============================ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

/* ============================ 02 布局 ============================ */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.container--narrow { max-width: 900px; }
.section { padding-block: 72px; }
.section--tight { padding-block: 52px; }
.section--alt { background: var(--surface-alt); }
.section--dark {
  background:
    linear-gradient(rgba(17, 31, 39, .88), rgba(17, 31, 39, .92)),
    url("../img/source/home/data-center.jpg") center / cover no-repeat;
  color: rgba(255, 255, 255, .82);
}
.grid { display: grid; gap: 30px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }

/* ============================ 03 顶栏 ============================ */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: #fff;
  border-bottom: 1px solid transparent;
  transition: box-shadow .2s, border-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.logo-mark {
  position: relative; width: 42px; height: 42px; flex: 0 0 auto;
  color: var(--logo-color, var(--brand));
  border: 3px solid currentColor; border-bottom-width: 5px;
  border-radius: 22px 22px 8px 8px;
}
.logo-mark::before {
  content: ""; position: absolute; left: 6px; right: 6px; bottom: 7px; height: 8px;
  border-top: 3px solid currentColor; border-bottom: 2px solid currentColor;
  border-radius: 50%; opacity: .55;
}
.logo-mark::after {
  content: ""; position: absolute; left: 8px; right: 8px; bottom: 2px; height: 3px;
  background: currentColor; border-radius: 999px;
}
.logo-rivet {
  position: absolute; top: 11px; width: 5px; height: 5px;
  border: 1.5px solid currentColor; border-radius: 50%; background: #fff;
}
.logo-rivet--left { left: 7px; }
.logo-rivet--center { left: 50%; transform: translateX(-50%); }
.logo-rivet--right { right: 7px; }
.site-footer .logo-rivet { background: var(--surface-dark); }
.logo-img { height: 46px; width: auto; }
.logo-text {
  font-size: 25px; font-weight: 600; letter-spacing: -.035em;
  color: var(--ink-deep); line-height: 1.1; max-width: 260px;
}
.site-footer .logo-text { color: #fff; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-link {
  position: relative; display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 15px; font-size: 13.5px; font-weight: 500;
  letter-spacing: .04em; text-transform: uppercase; color: var(--ink);
  transition: color .18s;
  white-space: nowrap;
}
.nav-link:hover { color: var(--brand); }
.nav-link.is-active { color: var(--brand); }
.nav-link.is-active::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 2px;
  height: 2px; background: var(--brand);
}
.nav-link svg { width: 15px; height: 15px; flex: 0 0 auto; }
.nav-phone { color: var(--brand); font-weight: 600; }

.menu-toggle { display: none; margin-left: auto; padding: 10px; }
.menu-toggle span {
  display: block; width: 24px; height: 2px; background: var(--ink);
  transition: transform .2s, opacity .2s;
}
.menu-toggle span + span { margin-top: 6px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ============================ 04 页脚 ============================ */
.site-footer { background: var(--surface-dark); color: rgba(255, 255, 255, .62); padding-block: 56px 24px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 44px; }
.footer-blurb { margin-top: 16px; font-size: 14px; line-height: 1.8; max-width: 380px; }
.footer-col h4 {
  font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: #fff; margin-bottom: 16px;
}
.footer-col li + li { margin-top: 10px; }
.footer-col a, .footer-col span { font-size: 14px; }
.footer-col a:hover { color: #fff; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a {
  width: 34px; height: 34px; display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .22); border-radius: 50%;
  transition: background .18s, border-color .18s, color .18s;
}
.footer-social a:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.footer-social svg { width: 16px; height: 16px; }
.footer-bottom {
  margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px;
}

/* ============================ 05 排版 ============================ */
.h1 {
  font-size: clamp(30px, 4.4vw, 46px); font-weight: 400; line-height: 1.24;
  letter-spacing: -.01em; color: #fff;
}
.h2 {
  font-size: clamp(26px, 3.2vw, 38px); font-weight: 300; line-height: 1.3;
  letter-spacing: -.01em; color: var(--ink-deep);
}
.h3 { font-size: 21px; font-weight: 400; line-height: 1.4; color: var(--ink-deep); }
.h4 {
  font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--brand);
}
.h5 { font-size: 17px; font-weight: 600; color: var(--ink-deep); }
.lead { font-size: 17px; font-weight: 300; line-height: 1.75; color: var(--ink-2); }
.body { font-size: 15px; line-height: 1.85; color: var(--ink-2); }
.body + .body { margin-top: 16px; }
.small { font-size: 13px; color: var(--muted); }
.rule { width: 56px; height: 3px; background: var(--brand); margin: 18px 0 24px; }
.rule--center { margin-inline: auto; }
.section-head { max-width: 780px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head .lead { margin-top: 14px; }
.section-head .h2 + .lead { margin-top: 16px; }

/* ============================ 06 组件 ============================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 30px; font-size: 13px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; border-radius: var(--radius);
  transition: background .18s, color .18s, border-color .18s, transform .18s;
}
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn--outline { border: 2px solid #fff; color: #fff; }
.btn--outline:hover { background: #fff; color: var(--ink-deep); }
.btn--ghost { border: 2px solid var(--brand); color: var(--brand); }
.btn--ghost:hover { background: var(--brand); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.btn-row--center { justify-content: center; }

.link-more {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 16px;
  font-size: 13.5px; font-weight: 600; color: var(--brand); transition: gap .18s;
}
.link-more:hover { gap: 11px; color: var(--brand-dark); }

/* 卡片：图在上、蓝色小标题、正文、read more */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .22s, box-shadow .22s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-body { padding: 24px 26px 28px; flex: 1; display: flex; flex-direction: column; }
.card-body .h4 { margin-bottom: 12px; }
.card-body .link-more { margin-top: auto; padding-top: 14px; }

/* 交替图文块 */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.feature + .feature { margin-top: 64px; }
.feature--rev .feature-visual { order: -1; }
.feature .h2 { font-size: clamp(24px, 2.6vw, 32px); }
.feature .h5 { margin-top: 8px; font-weight: 300; font-size: 18px; color: var(--muted); }

/* 编号步骤 */
.steps { counter-reset: step; margin-top: 40px; display: grid; gap: 20px; }
.step {
  display: grid; grid-template-columns: 62px 1fr; gap: 22px; align-items: start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 28px;
  transition: border-color .2s, box-shadow .2s;
}
.step:hover { border-color: var(--brand-line); box-shadow: var(--shadow-sm); }
.step-n {
  width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%;
  background: var(--brand-soft); color: var(--brand); font-size: 16px; font-weight: 700;
}
.step .h5 { margin-bottom: 6px; }

/* 案例（Our Results）折叠块 */
.case { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.case + .case { margin-top: 14px; }
.case > summary {
  display: flex; align-items: center; gap: 16px; padding: 22px 26px;
  cursor: pointer; list-style: none;
}
.case > summary::-webkit-details-marker { display: none; }
.case-title { font-size: 18px; font-weight: 600; color: var(--ink-deep); }
.case-plus {
  margin-left: auto; width: 28px; height: 28px; flex: 0 0 auto; border-radius: 50%;
  border: 1px solid var(--brand-line); display: grid; place-items: center;
  color: var(--brand); font-size: 16px; line-height: 1; transition: transform .2s, background .2s;
}
.case[open] .case-plus { transform: rotate(45deg); background: var(--brand-soft); }
.case-body { padding: 4px 26px 26px; border-top: 1px solid var(--line); padding-top: 22px; }
.case-body h5 {
  margin: 0 0 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .09em;
  text-transform: uppercase; color: var(--brand);
}
.case-body .body + h5 { margin-top: 22px; }

/* 价值观清单 */
.values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 32px; margin-top: 24px; }
.values li { position: relative; padding-left: 28px; font-size: 15px; color: var(--ink-2); }
.values li::before {
  content: ""; position: absolute; left: 3px; top: 10px; width: 9px; height: 5px;
  border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand);
  transform: rotate(-45deg);
}

/* 支持能力清单（深色区） */
.support-list { display: grid; gap: 14px; }
.support-list li { display: flex; align-items: center; gap: 12px; font-size: 16px; color: #fff; }
.support-list .dot-ic {
  width: 30px; height: 30px; flex: 0 0 auto; border-radius: 50%;
  background: rgba(255, 255, 255, .1); display: grid; place-items: center; color: #7fc4f0;
}
.support-list svg { width: 15px; height: 15px; }

/* 技术栈网格：文字标签，不复制第三方商标图形 */
.tech-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-top: 36px; }
.tech {
  display: grid; place-items: center; gap: 8px; padding: 20px 10px; text-align: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  font-size: 12.5px; font-weight: 600; color: var(--ink-2);
  transition: border-color .18s, color .18s, transform .18s;
}
.tech:hover { border-color: var(--brand-line); color: var(--brand); transform: translateY(-2px); }
.tech-ic { width: 26px; height: 26px; color: var(--brand); opacity: .85; }

/* 客户评价轮播 */
.carousel { position: relative; max-width: 900px; margin: 40px auto 0; }
.slides { position: relative; min-height: 300px; }
.slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transition: opacity .5s ease; text-align: center;
}
.slide.is-current { position: relative; opacity: 1; visibility: visible; }
.slide blockquote {
  font-size: 17px; font-weight: 300; line-height: 1.85; color: var(--ink-2);
  font-style: italic;
}
.slide blockquote p + p { margin-top: 14px; }
.slide cite {
  display: block; margin-top: 22px; font-style: normal;
  font-size: 17px; font-weight: 600; color: var(--ink-deep);
}
.slide .org {
  display: block; margin-top: 4px; font-size: 12px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--teal);
}
.quote-mark {
  width: 40px; height: 40px; margin: 0 auto 18px; color: var(--brand-line);
}
.carousel-nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 28px; }
.c-btn {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--ink-2);
  transition: background .18s, color .18s, border-color .18s;
}
.c-btn:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.c-btn svg { width: 15px; height: 15px; }
.dots { display: flex; gap: 7px; }
.dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--line);
  transition: background .18s, transform .18s;
}
.dot.is-on { background: var(--brand); transform: scale(1.35); }

/* 联系信息块 */
.contact-block + .contact-block { margin-top: 32px; }
.contact-block .h4 { margin-bottom: 10px; }
.contact-block p, .contact-block a { font-size: 17px; font-weight: 300; color: var(--ink-2); line-height: 1.7; }
.contact-block a:hover { color: var(--brand); }

/* ============================ 07 本地图片与视觉块 ============================ */
/* 默认 Hero 保留品牌渐变；内容页在其上使用本地响应式照片。 */
.hero {
  position: relative; overflow: hidden; text-align: center;
  background:
    radial-gradient(ellipse at 20% 15%, rgba(0, 107, 182, .40), transparent 55%),
    radial-gradient(ellipse at 82% 78%, rgba(66, 111, 111, .38), transparent 58%),
    linear-gradient(150deg, #14222b 0%, #1d2d2d 52%, #10202a 100%);
  padding-block: 96px;
}
.hero--sm { padding-block: 66px; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .32;
  background-image:
    linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 62px 62px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 45%, #000 20%, transparent 78%);
          mask-image: radial-gradient(ellipse at 50% 45%, #000 20%, transparent 78%);
}
.hero > * { position: relative; z-index: 1; }
.hero--photo {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.hero--photo::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(120deg, rgba(10, 26, 35, .84), rgba(15, 37, 47, .60));
}
.hero--home {
  background-image: url("../img/source/home/laptop-code.jpg");
  background-position: center 44%;
}
.hero--development {
  background-image: url("../img/source/heroes/development/custom-software-development-450.jpg");
}
.hero--methodology {
  background-image: url("../img/source/heroes/methodology/software-development-methodology-450.jpg");
}
.hero--results {
  background-image: url("../img/source/heroes/results/software-development-results-450.jpg");
}
.hero--history {
  background-image: url("../img/source/heroes/history/software-company-history-450.jpg");
}
.hero .lead { color: rgba(255, 255, 255, .8); margin: 22px auto 0; max-width: 800px; font-size: 18px; }
.hero .h5 { color: rgba(255, 255, 255, .72); font-weight: 300; margin-top: 14px; font-size: 19px; }
.hero .rule { background: var(--brand); margin-inline: auto; }

/* 首页卡片使用已本地化的来源图片。 */
.thumb {
  aspect-ratio: 16 / 10; position: relative; overflow: hidden;
  background: linear-gradient(140deg, #1d2d2d, #24404a);
}
.thumb-img, .feature-img, .section-visual { display: block; max-width: 100%; height: auto; }
.thumb-img { width: 100%; height: 100%; object-fit: cover; }
.feature-img {
  width: 100%; max-height: 560px; object-fit: cover; object-position: center;
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.section-visual {
  width: min(100%, 450px); margin-inline: auto; object-fit: contain;
  filter: drop-shadow(0 15px 24px rgba(29, 45, 45, .14));
}
.section-visual--right { float: right; width: min(46%, 415px); margin: 0 0 24px 38px; }

@media (min-width: 451px) {
  .hero--development { background-image: url("../img/source/heroes/development/custom-software-development-650.jpg"); }
  .hero--methodology { background-image: url("../img/source/heroes/methodology/software-development-methodology-650.jpg"); }
  .hero--results { background-image: url("../img/source/heroes/results/software-development-results-650.jpg"); }
  .hero--history { background-image: url("../img/source/heroes/history/software-company-history-650.jpg"); }
}
@media (min-width: 651px) {
  .hero--development { background-image: url("../img/source/heroes/development/custom-software-development-950.jpg"); }
  .hero--methodology { background-image: url("../img/source/heroes/methodology/software-development-methodology-950.jpg"); }
  .hero--results { background-image: url("../img/source/heroes/results/software-development-results-950.jpg"); }
  .hero--history { background-image: url("../img/source/heroes/history/software-company-history-950.jpg"); }
}
@media (min-width: 951px) {
  .hero--development { background-image: url("../img/source/heroes/development/custom-software-development-1200.jpg"); }
  .hero--methodology { background-image: url("../img/source/heroes/methodology/software-development-methodology-1200.jpg"); }
  .hero--results { background-image: url("../img/source/heroes/results/software-development-results-1200.jpg"); }
  .hero--history { background-image: url("../img/source/heroes/history/software-company-history-1200.jpg"); }
}
@media (min-width: 1201px) {
  .hero--development { background-image: url("../img/source/heroes/development/custom-software-development-1500.jpg"); }
  .hero--methodology { background-image: url("../img/source/heroes/methodology/software-development-methodology-1500.jpg"); }
  .hero--results { background-image: url("../img/source/heroes/results/software-development-results-1500.jpg"); }
  .hero--history { background-image: url("../img/source/heroes/history/software-company-history-1500.jpg"); }
}
@media (min-width: 1551px) {
  .hero--development { background-image: url("../img/source/heroes/development/custom-software-development-1900.jpg"); }
  .hero--methodology { background-image: url("../img/source/heroes/methodology/software-development-methodology-1900.jpg"); }
  .hero--results { background-image: url("../img/source/heroes/results/software-development-results-1900.jpg"); }
  .hero--history { background-image: url("../img/source/heroes/history/software-company-history-1900.jpg"); }
}

/* 时间线（Our Story） */
.era { margin-top: 44px; }
.era-label {
  display: inline-block; padding: 6px 16px; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand);
  font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.timeline { position: relative; margin-top: 24px; padding-left: 30px; }
.timeline::before {
  content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px;
  width: 2px; background: var(--line);
}
.tl { position: relative; }
.tl + .tl { margin-top: 26px; }
.tl::before {
  content: ""; position: absolute; left: -30px; top: 7px; width: 12px; height: 12px;
  border-radius: 50%; background: #fff; border: 2px solid var(--brand);
}
.tl-date { font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--teal); }
.tl .h5 { margin-top: 4px; }
.tl .body { margin-top: 6px; }

/* 名称候选列表（Our Story） */
.name-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 32px; margin-top: 18px; }
.name-list li { font-size: 14.5px; color: var(--ink-2); }
.name-list li.out { text-decoration: line-through; color: #a8a8a8; }
.name-list li.pick { font-weight: 700; color: var(--brand); }

/* ============================ 08 表单 ============================ */
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 32px; box-shadow: var(--shadow-sm);
}
.field + .field { margin-top: 18px; }
.field label {
  display: block; margin-bottom: 7px; font-size: 12px; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase; color: var(--ink-2);
}
.field label .req { color: #c0392b; }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; font: inherit; font-size: 15px; color: var(--ink);
  background: #fbfbfb; border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .18s, background .18s;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); background: #fff;
}
.field textarea { min-height: 130px; resize: vertical; }
.field--trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin-top: 16px; font-size: 14px; }
.form-note.is-ok { color: #1c7c4a; }
.form-note.is-err { color: #c0392b; }
.form-card .btn { margin-top: 22px; width: 100%; }

/* ============================ 09 动效 ============================ */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
html:not(.is-ready) .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .slide { transition: none !important; }
  * { animation: none !important; }
}

/* ============================ 10 响应式 ============================ */
@media (max-width: 1080px) {
  .tech-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .section { padding-block: 54px; }
  .hero { padding-block: 66px; }
  .grid-3, .grid-2, .split, .feature { grid-template-columns: 1fr; gap: 34px; }
  .feature + .feature { margin-top: 44px; }
  .feature--rev .feature-visual { order: 0; }
  .section-visual--right { float: none; width: min(100%, 415px); margin: 0 auto 30px; }
  .values, .name-list { grid-template-columns: 1fr; }

  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0; margin: 0; padding: 16px 20px 40px;
    display: none; flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; overflow-y: auto; border-top: 1px solid var(--line);
  }
  .nav.is-open { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-link { padding: 15px 4px; font-size: 15px; border-bottom: 1px solid var(--line); }
  .nav-link.is-active::after { display: none; }
  .nav-phone { border-bottom: 0; margin-top: 8px; }

  .slides { min-height: 380px; }
}

@media (max-width: 560px) {
  .container { padding-inline: 18px; }
  .section { padding-block: 44px; }
  .tech-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-body { padding: 20px 20px 24px; }
  .step { grid-template-columns: 1fr; gap: 14px; padding: 22px 20px; }
  .case > summary { padding: 18px 20px; }
  .case-body { padding: 18px 20px 22px; }
  .form-card { padding: 26px 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .slides { min-height: 470px; }
  .btn-row .btn { flex: 1 1 auto; }
}

/* ============================ 打印 ============================ */
@media print {
  .site-header, .nav, .menu-toggle, .carousel-nav, .form-card { display: none !important; }
  .hero { background: none; color: #000; }
  .h1, .hero .lead { color: #000; }
  body { color: #000; }
}
