/* 南京兰台官网 · 组件样式。令牌见 base.css */

/* ----------------------------------------------------------- 导航 --- */
.nav { position: sticky; top: 0; z-index: 50; height: var(--nav-h); display: flex; align-items: center;
  background: rgba(255,255,255,.86); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid rgba(227,230,241,.9); transition: background .3s var(--ease); }
.nav-inner { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--gutter); display: flex; align-items: center; gap: 28px; height: 100%; }
.brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; color: var(--ink-900); }
.brand img { height: 26px; width: auto; }
.brand-name { font-weight: 700; font-size: .95rem; letter-spacing: .12em; color: var(--ink-800); padding-left: 12px; border-left: 1px solid var(--line); line-height: 1.2; }
.brand-name small { display: block; font-size: .66rem; letter-spacing: .06em; color: var(--ink-400); font-weight: 600; }
.nav-links { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav-links a { position: relative; color: var(--ink-700); font-size: .94rem; font-weight: 600; padding: 10px 12px; border-radius: var(--r-sm); white-space: nowrap; }
.nav-links a:hover { color: var(--brand); }
.nav-links a[aria-current="page"] { color: var(--brand); }
.nav-links a[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--brand); }
.nav-tools { display: flex; align-items: center; gap: 10px; }
.nav-phone { display: none; font-family: var(--font-num); font-weight: 700; color: var(--ink-800); font-size: .92rem; }
@media (min-width: 1240px) { .nav-phone { display: inline-flex; align-items: center; gap: 6px; } }
.nav-phone svg { width: 16px; height: 16px; color: var(--brand); }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: var(--r-sm); border: 1px solid var(--line); background: #fff; align-items: center; justify-content: center; cursor: pointer; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 18px; height: 2px; background: var(--ink-800); border-radius: 2px; position: relative; transition: transform .25s var(--ease); }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
.nav.is-open .nav-toggle span { background: transparent; }
.nav.is-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav.is-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .nav-tools .btn { display: none; }
  .nav-links { position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 24px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-2); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: .25s var(--ease); margin: 0; }
  .nav.is-open .nav-links { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 14px 4px; border-bottom: 1px solid var(--line-soft); font-size: 1rem; }
  .nav-links a[aria-current="page"]::after { display: none; }
  .nav-links .nav-cta { display: block; margin-top: 14px; text-align: center; background: var(--brand); color: #fff; border-radius: var(--r-sm); border: 0; }
  .nav-tools { margin-left: auto; }
}
@media (min-width: 981px) { .nav-links .nav-cta { display: none; } }

/* ----------------------------------------------------------- 按钮 --- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: var(--r-sm); font-weight: 700; font-size: .98rem; border: 1px solid transparent; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; }
.btn-sm { height: 40px; padding: 0 16px; font-size: .9rem; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px -8px rgba(42,31,208,.6); }
.btn-primary:hover { background: var(--brand-600); color: #fff; transform: translateY(-1px); box-shadow: 0 12px 26px -10px rgba(42,31,208,.7); }
.btn-ghost { background: #fff; color: var(--ink-800); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand-200); color: var(--brand); }
.btn-light { background: #fff; color: var(--brand-700); }
.btn-light:hover { color: var(--brand); transform: translateY(-1px); }
.btn-outline-light { color: #fff; border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.06); }
.btn-outline-light:hover { color: #fff; border-color: rgba(255,255,255,.7); background: rgba(255,255,255,.12); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ----------------------------------------------------------- 首屏 --- */
.hero { position: relative; overflow: hidden; color: #dfe3ff; background: var(--navy-900) url("../img/gen/hero-bg.svg") center/cover no-repeat; isolation: isolate; }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 120px; background: linear-gradient(to bottom, transparent, rgba(7,10,34,.35)); z-index: -1; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(64px, 8vw, 112px) clamp(72px, 9vw, 120px); }
.hero-copy { position: relative; z-index: 2; }
.hero h1 { color: #fff; font-size: var(--fs-display); line-height: 1.18; letter-spacing: .02em; margin-top: 22px; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #a5b4ff, #ffb46b); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { margin-top: 22px; font-size: var(--fs-lead); line-height: 1.9; color: #c3c9ef; max-width: 36em; }
.hero .btn-row { margin-top: 34px; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px 0 6px; border-radius: var(--r-pill); font-size: .84rem; font-weight: 600; color: #dfe3ff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); }
.chip b { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: var(--r-pill); background: var(--warm); color: #1a1205; font-size: .76rem; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 40px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.12); }
.hero-facts div { display: flex; flex-direction: column; }
.hero-facts strong { color: #fff; font-size: 1.5rem; font-family: var(--font-num); line-height: 1.2; }
.hero-facts span { font-size: .84rem; color: #9fa6d6; }
.hero-visual { position: relative; z-index: 1; }
.hero-visual .float { position: absolute; width: 46%; right: -4%; bottom: -10%; box-shadow: var(--shadow-3); }
@media (max-width: 1080px) { .hero-inner { grid-template-columns: 1fr; } .hero-visual { max-width: 760px; } }
@media (max-width: 640px) { .hero-visual .float { display: none; } .hero-facts strong { font-size: 1.25rem; } }

/* 产品页首屏 */
.page-hero .hero-inner { padding-block: clamp(56px, 7vw, 96px) clamp(64px, 8vw, 104px); }
.page-hero h1 { font-size: var(--fs-h1); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .85rem; color: #9fa6d6; }
.crumbs a { color: #c3c9ef; } .crumbs a:hover { color: #fff; }
.crumbs span[aria-hidden] { opacity: .5; }

/* ----------------------------------------------------------- 浏览器框 --- */
.frame { position: relative; border-radius: 14px; background: #fff; overflow: hidden; box-shadow: var(--shadow-3); border: 1px solid rgba(255,255,255,.12); }
.frame-bar { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; background: #eef0f7; border-bottom: 1px solid #e1e4ef; }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff6b6b; } .frame-bar i:nth-child(2) { background: #ffc04d; } .frame-bar i:nth-child(3) { background: #3ecf8e; }
.frame-bar span { margin-left: 10px; flex: 1; height: 20px; border-radius: 6px; background: #fff; font-size: 11px; line-height: 20px; color: var(--ink-400); padding: 0 10px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-family: var(--font-num); }
.frame img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top center; }
.frame.tall img { aspect-ratio: auto; }
.shot-cap { margin-top: 12px; font-size: .84rem; color: var(--ink-500); line-height: 1.6; }
.on-dark .shot-cap, .hero .shot-cap { color: #9fa6d6; }
.shot-cap b { color: var(--ink-800); font-weight: 700; margin-right: 6px; }
.hero .shot-cap b, .on-dark .shot-cap b { color: #fff; }

/* ----------------------------------------------------------- 区块 --- */
.section { padding-block: var(--sp-section); position: relative; }
.section.tint { background: var(--surface-1); }
.section.tint-2 { background: linear-gradient(180deg, var(--surface-1), #fff); }
.section.dark { background: var(--navy-900); color: #c3c9ef; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { margin-inline: auto; text-align: center; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: .82rem; font-weight: 700; letter-spacing: .16em; color: var(--brand); text-transform: uppercase; }
.kicker::before { content: ""; width: 22px; height: 3px; border-radius: 2px; background: var(--warm); }
.dark .kicker, .hero .kicker { color: #a5b4ff; }
.section-head h2 { font-size: var(--fs-h2); margin-top: 14px; }
.section-head p { margin-top: 16px; font-size: var(--fs-lead); color: var(--ink-600); }
.dark .section-head p { color: #aab1e0; }

/* 产品矩阵 */
.product-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.product-card { grid-column: span 2; position: relative; display: flex; flex-direction: column; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); overflow: hidden; color: var(--ink-700); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--brand-200); color: var(--ink-700); }
.product-card.wide { grid-column: span 3; }
.product-card .pc-media { aspect-ratio: 16 / 9; background: var(--surface-2); overflow: hidden; border-bottom: 1px solid var(--line); }
.product-card .pc-media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .6s var(--ease); }
.product-card:hover .pc-media img { transform: scale(1.03); }
.product-card .pc-body { padding: 24px 26px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pc-tag { display: inline-flex; align-self: flex-start; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; color: var(--brand); background: var(--brand-50); padding: 3px 10px; border-radius: var(--r-pill); }
.product-card h3 { font-size: 1.18rem; }
.product-card p { font-size: .95rem; color: var(--ink-600); line-height: 1.75; }
.product-card .link-arrow { margin-top: auto; padding-top: 6px; color: var(--brand); }
@media (max-width: 980px) { .product-card, .product-card.wide { grid-column: span 3; } }
@media (max-width: 640px) { .product-grid { grid-template-columns: 1fr; } .product-card, .product-card.wide { grid-column: auto; } }

/* 特性网格 */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.feature { padding: 28px 26px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); transition: border-color .3s, box-shadow .3s; }
.feature:hover { border-color: var(--brand-200); box-shadow: var(--shadow-1); }
.tint .feature { background: #fff; }
.feature h3 { font-size: var(--fs-h3); margin-top: 18px; }
.feature p { margin-top: 10px; font-size: .95rem; color: var(--ink-600); line-height: 1.8; }
.ico { width: 48px; height: 48px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; color: var(--brand); background: linear-gradient(135deg, var(--brand-50), #e8f4ff); border: 1px solid var(--brand-100); }
.ico svg { width: 24px; height: 24px; }
.ico.warm { color: #c15f00; background: var(--warm-50); border-color: #ffd9b0; }
.dark .feature { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); }
.dark .feature p { color: #aab1e0; }
.dark .ico { background: rgba(124,139,255,.14); border-color: rgba(124,139,255,.3); color: #c7cdff; }

/* 图文交错 */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.split + .split { margin-top: clamp(64px, 8vw, 112px); }
.split.reverse > :first-child { order: 2; }
.split h2 { font-size: var(--fs-h2); margin-top: 14px; }
.split h3 { font-size: 1.5rem; margin-top: 12px; }
.split .lead { margin-top: 16px; font-size: var(--fs-lead); color: var(--ink-600); }
.checks { list-style: none; margin-top: 24px; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 32px; color: var(--ink-700); }
.checks li::before { content: ""; position: absolute; left: 0; top: 5px; width: 20px; height: 20px; border-radius: 50%; background: var(--brand-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.6L14 7.6' fill='none' stroke='%232a1fd0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat; }
.checks li b { color: var(--ink-900); }
.dark .checks li { color: #c3c9ef; } .dark .checks li b { color: #fff; }
.split .btn-row, .split .link-arrow { margin-top: 28px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split.reverse > :first-child { order: 0; } }

/* 媒体叠放 */
.stack-media { position: relative; padding-bottom: 8%; }
.stack-media .frame + .frame { position: absolute; width: 58%; right: -3%; bottom: 0; }
@media (max-width: 640px) { .stack-media { padding-bottom: 0; } .stack-media .frame + .frame { position: static; width: 100%; margin-top: 16px; } }

/* 截图画廊 */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.gallery.two { grid-template-columns: repeat(2, 1fr); }
.gallery figure .frame { box-shadow: var(--shadow-2); border-color: var(--line); }
@media (max-width: 900px) { .gallery, .gallery.two { grid-template-columns: 1fr; } }

/* 插图容器 */
.art { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-2); border: 1px solid var(--line); background: #fff; }
.art img { width: 100%; }
.art-cap { margin-top: 12px; font-size: .84rem; color: var(--ink-500); }
.photo { border-radius: var(--r-lg); overflow: hidden; position: relative; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo .tag { position: absolute; left: 12px; bottom: 12px; font-size: .74rem; color: #fff; background: rgba(8,10,30,.55); padding: 3px 10px; border-radius: var(--r-pill); backdrop-filter: blur(6px); }

/* 占位符（待替换实拍） */
.ph { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 28px; min-height: 260px; border-radius: var(--r-lg); border: 2px dashed #b9bfe0; color: var(--ink-500);
  background: repeating-linear-gradient(135deg, #f6f7fc 0 14px, #eff1f9 14px 28px); }
.ph svg { width: 40px; height: 40px; color: #9aa1c8; }
.ph strong { color: var(--ink-800); font-size: 1.02rem; }
.ph span { font-size: .85rem; max-width: 30em; line-height: 1.6; }
.ph em { font-style: normal; font-family: var(--font-num); font-size: .78rem; color: var(--brand); background: #fff; border: 1px solid var(--brand-100); padding: 2px 10px; border-radius: var(--r-pill); }
.ph.r169 { aspect-ratio: 16 / 9; min-height: 0; }
.ph.r1610 { aspect-ratio: 16 / 10; min-height: 0; }
.ph.r43 { aspect-ratio: 4 / 3; min-height: 0; }
.dark .ph, .hero .ph { background: repeating-linear-gradient(135deg, rgba(255,255,255,.05) 0 14px, rgba(255,255,255,.02) 14px 28px); border-color: rgba(170,180,255,.35); color: #aab1e0; }
.dark .ph strong, .hero .ph strong { color: #fff; }
.dark .ph em, .hero .ph em { background: rgba(255,255,255,.08); border-color: rgba(170,180,255,.3); color: #c7cdff; }

/* 步骤 */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; counter-reset: s; list-style: none; }
.steps li { counter-increment: s; position: relative; padding: 24px 22px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font-family: var(--font-num); font-weight: 800; font-size: 1.6rem; color: var(--brand); line-height: 1; margin-bottom: 14px; }
.steps li b { display: block; color: var(--ink-900); font-size: 1.04rem; margin-bottom: 6px; }
.steps li span { font-size: .92rem; color: var(--ink-600); line-height: 1.7; display: block; }

/* 数据条 */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: #fff; }
.stats > div { padding: 30px 28px; border-left: 1px solid var(--line); }
.stats > div:first-child { border-left: 0; }
.stats strong { display: block; font-family: var(--font-num); font-size: clamp(2rem, 1.5rem + 1.6vw, 2.8rem); line-height: 1.1; color: var(--ink-900); letter-spacing: -.01em; }
.stats strong small { font-size: .45em; margin-left: 4px; color: var(--brand); font-weight: 700; }
.stats span { display: block; margin-top: 10px; font-size: .92rem; color: var(--ink-600); }
.stats-note { margin-top: 14px; font-size: .82rem; color: var(--ink-400); }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } .stats > div:nth-child(3) { border-left: 0; } .stats > div:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* 合作单位墙 */
.clients { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; list-style: none; }
.clients li { display: flex; align-items: center; gap: 12px; height: 72px; padding: 0 20px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); font-weight: 700; color: var(--ink-800); font-size: .98rem; }
.clients li::before { content: ""; flex: 0 0 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px var(--brand-50); }
.sectors { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; list-style: none; }
.sectors li { padding: 6px 14px; border-radius: var(--r-pill); background: var(--surface-2); color: var(--ink-700); font-size: .9rem; }

/* 时间线 */
.timeline { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 22px; height: 2px; background: linear-gradient(90deg, var(--brand-200), var(--brand), var(--warm)); }
.timeline li { position: relative; padding: 52px 24px 0 0; }
.timeline li::before { content: ""; position: absolute; top: 14px; left: 0; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 4px solid var(--brand); }
.timeline li:last-child::before { border-color: var(--warm); }
.timeline b { display: block; font-family: var(--font-num); font-size: 1.9rem; color: var(--ink-900); line-height: 1.1; }
.timeline span { display: block; margin-top: 10px; color: var(--ink-600); font-size: .95rem; }
.dark .timeline b { color: #fff; } .dark .timeline span { color: #aab1e0; } .dark .timeline li::before { background: var(--navy-900); }
@media (max-width: 860px) { .timeline { grid-template-columns: 1fr 1fr; row-gap: 28px; } .timeline::before { display: none; } }
@media (max-width: 520px) { .timeline { grid-template-columns: 1fr; } }

/* 证书 */
.certs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; list-style: none; }
.certs li { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 10px; transition: transform .3s var(--ease), box-shadow .3s; }
.certs li:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.certs img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 6px; }
.certs span { display: block; font-size: .8rem; color: var(--ink-500); margin-top: 8px; text-align: center; line-height: 1.5; }
.honors { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; align-items: stretch; }
.honor { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: center; padding: 22px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.honor img { border-radius: 10px; width: 100%; box-shadow: var(--shadow-1); }
.honor h3 { font-size: 1.12rem; } .honor p { margin-top: 8px; font-size: .93rem; color: var(--ink-600); }
.badges { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin-top: 18px; }
.badges li { font-family: var(--font-num); font-weight: 700; font-size: .86rem; color: var(--brand-700); background: var(--brand-50); border: 1px solid var(--brand-100); padding: 6px 12px; border-radius: var(--r-sm); }
@media (max-width: 980px) { .honors { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .honor { grid-template-columns: 1fr; } }

/* 场景卡 */
.scenes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.scene { padding: 28px; border-radius: var(--r-lg); background: linear-gradient(160deg, #fff, var(--surface-1)); border: 1px solid var(--line); }
.scene small { font-size: .78rem; font-weight: 700; letter-spacing: .12em; color: var(--warm); }
.scene h3 { margin-top: 8px; font-size: 1.15rem; }
.scene p { margin-top: 10px; font-size: .94rem; color: var(--ink-600); }

/* 对比 */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.compare > div { padding: 30px; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; }
.compare > div:last-child { background: linear-gradient(160deg, var(--brand), #4338ff); border-color: transparent; color: #e5e7ff; }
.compare > div:last-child h3 { color: #fff; }
.compare small { font-size: .78rem; font-weight: 700; letter-spacing: .14em; color: var(--ink-400); }
.compare > div:last-child small { color: #ffcf9e; }
.compare h3 { font-size: 1.25rem; margin-top: 6px; }
.compare p { margin-top: 12px; font-size: .96rem; }
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } }

/* 引述/说明 */
.note { margin-top: 18px; font-size: .86rem; color: var(--ink-500); line-height: 1.7; }
.callout { display: flex; gap: 16px; align-items: flex-start; padding: 20px 24px; border-radius: var(--r-md); background: var(--brand-50); border: 1px solid var(--brand-100); color: var(--ink-700); font-size: .95rem; margin-top: 32px; }
.callout svg { flex: 0 0 22px; width: 22px; height: 22px; color: var(--brand); margin-top: 3px; }

/* CTA */
.cta { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: clamp(40px, 6vw, 72px); background: var(--navy-900) url("../img/gen/hero-bg.svg") center/cover; color: #c3c9ef; display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center; }
.cta h2 { color: #fff; font-size: var(--fs-h2); }
.cta p { margin-top: 14px; font-size: var(--fs-lead); }
.cta-contacts { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 20px; font-size: .95rem; }
.cta-contacts a { color: #fff; font-weight: 700; font-family: var(--font-num); }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; } }

/* 联系页 */
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-cards { display: grid; gap: 14px; margin-top: 32px; }
.contact-card { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); }
.contact-card b { display: block; color: var(--ink-900); font-size: .98rem; }
.contact-card span, .contact-card a { font-size: .95rem; }
.contact-card .ico { flex: 0 0 44px; width: 44px; height: 44px; }
.form { padding: clamp(24px, 4vw, 40px); border-radius: var(--r-xl); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-2); display: grid; gap: 18px; }
.form h2 { font-size: 1.4rem; }
.form .sub { font-size: .9rem; color: var(--ink-500); margin-top: -8px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; color: var(--ink-800); font-size: .92rem; }
.field label i { color: #d14343; font-style: normal; margin-left: 2px; }
.field input, .field select, .field textarea { width: 100%; height: 48px; padding: 0 14px; border-radius: var(--r-sm); border: 1px solid #d6dae8; background: var(--surface-1); transition: border-color .2s, box-shadow .2s, background .2s; }
.field textarea { height: 120px; padding: 12px 14px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: var(--ring); background: #fff; }
.field [aria-invalid="true"] { border-color: #d14343; }
.err { font-size: .82rem; color: #b42318; min-height: 0; }
.hint { font-size: .8rem; color: var(--ink-400); }
.form-status { font-size: .88rem; color: var(--ink-600); }
.map-ph { margin-top: 20px; }

/* 页脚 */
.footer { background: var(--navy-950); color: #9097c6; padding-block: 72px 32px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.footer img { height: 28px; width: auto; margin-bottom: 18px; }
.footer strong { display: block; color: #fff; font-size: .98rem; margin-bottom: 14px; }
.footer ul { list-style: none; display: grid; gap: 8px; }
.footer a { color: #b9bfe8; } .footer a:hover { color: #fff; }
.footer p + p { margin-top: 6px; }
.legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .82rem; color: #6d74a6; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* 进入动画 */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* 工具类 */
.mt-xl { margin-top: clamp(48px, 6vw, 80px); }
.mt-l { margin-top: 32px; }
.center { text-align: center; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.prose p + p { margin-top: 14px; }
.prose { color: var(--ink-600); }

/* --- 修正 --- */
.pc-tag svg { width: 14px; height: 14px; flex: 0 0 14px; }
.hero-facts { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 12px 36px; }
@media (max-width: 640px) { .hero-facts { grid-template-columns: repeat(2, auto); } }
.stack-media > figure + figure { position: absolute; width: 60%; right: -4%; bottom: 0; }
.stack-media > figure:first-child { width: 88%; }
@media (max-width: 640px) { .stack-media > figure + figure { position: static; width: 100%; margin-top: 16px; } .stack-media > figure:first-child { width: 100%; } }
.footer img { filter: brightness(0) invert(1); opacity: .92; }
.section.cta-wrap { padding-block: clamp(56px, 7vw, 96px); }
.features.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px) { .features.three { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .features.three { grid-template-columns: 1fr; } }
/* 中文标题只在标点处换行，避免词语被拆开；过长时再兜底断行 */
h1, h2, .split h3, .compare h3 { word-break: keep-all; overflow-wrap: anywhere; text-wrap: balance; }
.contact-grid > * { min-width: 0; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ===== v2：匠心服务 · 智创未来 ===== */
.hero-slogan { margin-top: 26px; }
.hero-slogan img { width: min(100%, 800px); height: auto; max-height: none; aspect-ratio: 1400 / 123; object-fit: contain; filter: drop-shadow(0 6px 24px rgba(124,139,255,.35)); }
.hero-tag { margin-top: 18px; font-size: clamp(1.05rem, .95rem + .5vw, 1.35rem); font-weight: 700; color: #fff; letter-spacing: .04em; }
.hero-tag span { color: #ffb46b; }
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.pillar { position: relative; display: flex; flex-direction: column; border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line); background: #fff; }
.pillar .p-media { position: relative; aspect-ratio: 16 / 8; overflow: hidden; background: var(--surface-2); }
.pillar .p-media img { width: 100%; height: 100%; object-fit: cover; }
.pillar .p-media .tag { position: absolute; left: 14px; bottom: 14px; font-size: .74rem; color: #fff; background: rgba(8,10,30,.6); padding: 3px 10px; border-radius: var(--r-pill); }
.pillar .p-body { padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 14px; flex: 1; }
.pillar .p-en { font-family: var(--font-num); font-size: .78rem; font-weight: 700; letter-spacing: .22em; color: var(--warm); }
.pillar h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); letter-spacing: .08em; }
.pillar .p-lead { font-size: 1.02rem; color: var(--ink-700); font-weight: 600; }
.pillar ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pillar li { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r-md); background: var(--surface-1); font-size: .92rem; line-height: 1.6; color: var(--ink-600); }
.pillar li b { display: block; color: var(--ink-900); font-size: .96rem; }
.pillar li svg { flex: 0 0 20px; width: 20px; height: 20px; color: var(--brand); margin-top: 2px; }
.pillar .link-arrow { margin-top: auto; padding-top: 6px; }
.pillar.future { background: linear-gradient(160deg, var(--navy-900), #1a1f6b); border-color: transparent; color: #c3c9ef; }
.pillar.future h3 { color: #fff; } .pillar.future .p-lead { color: #e2e5ff; }
.pillar.future li { background: rgba(255,255,255,.06); color: #b9c0ec; } .pillar.future li b { color: #fff; } .pillar.future li svg { color: #a5b4ff; }
.pillar.future .link-arrow { color: #c7cdff; }
.mission-quote { margin: 0 auto clamp(40px, 5vw, 64px); max-width: 860px; text-align: center; }
.mission-quote img { width: min(100%, 728px); height: auto; max-height: none; aspect-ratio: 1400 / 123; object-fit: contain; margin: 18px auto 0; }
.mission-quote p { margin-top: 18px; font-size: var(--fs-lead); color: var(--ink-600); }
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .pillar ul { grid-template-columns: 1fr; } }

.solutions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 24px; }
.solution { padding: 26px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); position: relative; }
.solution small { font-size: .78rem; font-weight: 700; letter-spacing: .12em; color: var(--brand); }
.solution h3 { font-size: 1.12rem; margin-top: 8px; }
.solution p { margin-top: 10px; font-size: .92rem; color: var(--ink-600); }
@media (max-width: 860px) { .solutions { grid-template-columns: 1fr; } }

.policy { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; list-style: none; counter-reset: p; }
.policy li { counter-increment: p; padding: 24px 22px; border-radius: var(--r-lg); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.policy li::before { content: "0" counter(p); display: block; font-family: var(--font-num); font-weight: 800; color: #ffb46b; font-size: 1.3rem; margin-bottom: 12px; }
.policy b { display: block; color: #fff; font-size: 1.02rem; margin-bottom: 6px; }
.policy span { font-size: .9rem; color: #aab1e0; line-height: 1.7; display: block; }
.source { margin-top: 18px; font-size: .8rem; color: #7f87bd; }
@media (max-width: 980px) { .policy { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .policy { grid-template-columns: 1fr; } }

.service-flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: #fff; }
.service-flow > div { padding: 28px; border-left: 1px solid var(--line); position: relative; }
.service-flow > div:first-child { border-left: 0; }
.service-flow small { font-family: var(--font-num); font-weight: 800; color: var(--brand); letter-spacing: .14em; font-size: .8rem; }
.service-flow h3 { margin-top: 6px; font-size: 1.2rem; }
.service-flow em { display: block; font-style: normal; color: var(--warm); font-weight: 700; font-size: .92rem; margin-top: 4px; }
.service-flow p { margin-top: 12px; font-size: .93rem; color: var(--ink-600); }
@media (max-width: 860px) { .service-flow { grid-template-columns: 1fr; } .service-flow > div { border-left: 0; border-top: 1px solid var(--line); } .service-flow > div:first-child { border-top: 0; } }

.client-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.client-group { padding: 26px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.client-group h3 { font-size: 1.02rem; display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.client-group h3 .ico { width: 36px; height: 36px; border-radius: 10px; }
.client-group h3 .ico svg { width: 18px; height: 18px; }
.client-group ul { list-style: none; margin-top: 14px; display: grid; gap: 8px; }
.client-group li { font-size: .93rem; color: var(--ink-700); padding-left: 16px; position: relative; }
.client-group li::before { content: ""; position: absolute; left: 0; top: .75em; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-200); }
@media (max-width: 900px) { .client-groups { grid-template-columns: 1fr; } }
.footer .logo-since { height: 52px; width: auto; max-width: 100%; object-fit: contain; filter: none; opacity: 1; }
.photo-card { border-radius: var(--r-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); }
.photo-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photo-card figcaption { padding: 14px 18px; font-size: .88rem; color: var(--ink-600); }
.photo-card figcaption b { display: block; color: var(--ink-900); font-size: .98rem; }

/* v3: keep chip label on one line on narrow screens */
.chip b { white-space: nowrap; flex-shrink: 0; }
/* v3: longer product name in nav — tighten between 981 and 1180px */
@media (min-width: 981px) and (max-width: 1180px) { .nav-inner { gap: 16px; } .nav-links a { padding: 10px 8px; font-size: .9rem; } .nav-links a[aria-current="page"]::after { left: 8px; right: 8px; } }
