/* ============================================================
   AOTEXIANG — Premium Homepage Redesign
   ============================================================ */

:root {
  --ink: #101b2d;
  --ink-soft: #24344d;
  --muted: #5a6675;
  --paper: #f6f4f0;
  --line: rgba(16, 27, 45, .12);
  --accent: #d6a45c;
  --accent-dark: #b9863d;
  --accent-on-light: #8a5f1f;
  --form-error: #a63b30;
  --white: #fff;
  --header-h: 88px;
  --font-cn: "PingFang SC", "Microsoft YaHei Light", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  --font-en: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-cn);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font-family: inherit; }
button { cursor: pointer; }
::selection { background: var(--accent); color: var(--ink); }

/* 统一键盘焦点态：浅色区用深蓝，深色区用浅金 */
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.hero :focus-visible,
.cases :focus-visible,
.inquiry :focus-visible,
.site-footer :focus-visible,
.float-tools :focus-visible { outline-color: var(--accent); }
/* 深色区里的白色表单卡片按浅色区处理；表单基础样式有 outline:none，这里需更高优先级 */
.inquiry-form :focus-visible,
.inquiry-form input:focus-visible,
.inquiry-form textarea:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

.container { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 60px; }
.section { padding: 130px 0; }

/* ---------- common ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent-on-light);
}
.eyebrow.light { color: var(--accent); text-shadow: 0 1px 6px rgba(0,0,0,.5); }
.eyebrow-line { width: 34px; height: 1px; background: currentColor; flex: 0 0 auto; }
.section-title {
  margin: 26px 0 0;
  font-size: clamp(34px, 3.5vw, 54px);
  font-weight: 300;
  line-height: 1.32;
  letter-spacing: .03em;
  color: var(--ink);
}
.gold-dot { color: var(--accent); }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 60px;
  padding-bottom: 42px;
  border-bottom: 1px solid var(--line);
}
.section-note {
  max-width: 390px;
  margin: 0 0 4px;
  font-size: 15px;
  line-height: 1.95;
  color: var(--muted);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 52px;
  padding: 0 28px;
  background: transparent;
  border: 1px solid transparent;
  font-size: 13px;
  letter-spacing: .1em;
  transition: all .3s ease;
  white-space: nowrap;
}
.btn .arrow { font-size: 18px; line-height: 1; transition: transform .3s ease; }
.btn:hover .arrow { transform: translateX(4px); }
.btn-gold { background: var(--accent); border-color: var(--accent); color: var(--ink); font-weight: 600; }
.btn-gold:hover { background: #e6bb79; border-color: #e6bb79; }
.btn-ghost { border-color: rgba(255,255,255,.45); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-ghost-light { border-color: rgba(255,255,255,.4); color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,.1); }
.btn-outline { border-color: var(--ink); color: var(--ink); min-height: 42px; padding: 0 20px; }
.btn-outline:hover { background: var(--ink); color: #fff; }

/* 无 JS 时内容保持可见；入场动画仅在脚本成功注入 .js 后启用 */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .85s ease, transform .85s cubic-bezier(.2,.7,.2,1); }
.js .reveal.visible { opacity: 1; transform: none; }

/* ---------- header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(16,27,45,.07);
  transition: height .35s ease, box-shadow .35s ease, background .35s ease;
}
.site-header.scrolled { height: 72px; background: rgba(255,255,255,.97); box-shadow: 0 10px 30px rgba(16,27,45,.07); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 30px; }
.brand { flex: 0 0 auto; }
.brand img { width: 152px; height: auto; transition: width .35s ease; }
.site-header.scrolled .brand img { width: 136px; }
.main-nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 32px); margin-left: auto; }
.main-nav a {
  position: relative;
  padding: 8px 0;
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--ink-soft);
  white-space: nowrap;
  transition: color .25s ease;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 2px;
  width: 0; height: 1px;
  background: var(--accent-on-light);
  transition: width .3s ease;
}
.main-nav a:hover, .main-nav a.active { color: var(--accent-on-light); }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: 22px; margin-left: 14px; }
.header-phone { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--ink); white-space: nowrap; }
.header-phone svg { width: 16px; height: 16px; fill: var(--accent-dark); }
.menu-toggle { display: none; flex-direction: column; gap: 5px; width: 40px; height: 40px; align-items: center; justify-content: center; background: none; border: 1px solid var(--line); }
.menu-toggle span { width: 20px; height: 1px; background: var(--ink); transition: transform .3s ease, opacity .3s ease; }
body.nav-open .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.nav-open .menu-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: sticky;
  top: 0;
  z-index: 1;
  min-height: 760px;
  height: 100vh;
  max-height: 1000px;
  overflow: hidden;
  background: #0c1420;
  color: #fff;
}
.hero-slides, .hero-slide, .hero-overlay { position: absolute; inset: 0; }
/* 滚动时 JS 每帧写入 transform，保留合成层提示 */
.hero-slides { will-change: transform; }
/* 下方内容像一张纸一样向上盖住首屏 */
.products,
.cases,
.news,
.inquiry,
.site-footer { position: relative; z-index: 2; }
.products {
  border-radius: 26px 26px 0 0;
  box-shadow: 0 -8px 24px rgba(6, 12, 20, .1);
}
.hero-slide {
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.2s ease, transform 7s ease;
}
.hero-slide.active { opacity: 1; transform: scale(1); }
/* 首张改为主推系列海报：主体靠右，给左侧标题留出干净背景 */
.hero-slide:first-child { background-position: 68% center; }
.hero-overlay {
  z-index: 1;
  /* 尽量还原海报本色：仅左侧保留极淡的一层保证文字可读，右侧完全不加遮罩 */
  background: linear-gradient(90deg, rgba(6,14,26,.38) 0%, rgba(6,14,26,.16) 30%, rgba(6,14,26,0) 56%),
              linear-gradient(0deg, rgba(6,14,26,.30) 0%, transparent 26%);
}
/* 仅第三张（明亮户外图）在文字区叠加局部渐变；右侧 66%–100% 完全不加暗，保住画面鲜亮 */
.hero-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6,14,26,.45) 0%, rgba(6,14,26,.30) 42%, rgba(6,14,26,0) 66%);
  opacity: 0;
  transition: opacity .6s ease;
  pointer-events: none;
}
.hero:has(.hero-slide:nth-child(3).active) .hero-overlay::after { opacity: 1; }
/* 仅第三张文字加强投影，命中亮部时仍清晰；不影响第 1、2 张 */
.hero:has(.hero-slide:nth-child(3).active) .hero-copy h1,
.hero:has(.hero-slide:nth-child(3).active) .hero-en,
.hero:has(.hero-slide:nth-child(3).active) .hero-desc {
  text-shadow: 0 1px 2px rgba(0,0,0,.95), 0 2px 8px rgba(0,0,0,.85), 0 4px 24px rgba(0,0,0,.7), 0 0 60px rgba(0,0,0,.5);
}
.hero-content { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; padding-top: 80px; padding-bottom: 140px; }
.hero-copy { max-width: 760px; margin-top: -40px; }
.hero-copy h1 {
  margin: 18px 0 0;
  font-size: clamp(52px, 7vw, 104px);
  font-weight: 300;
  line-height: 1.16;
  letter-spacing: .08em;
  text-shadow: 0 2px 4px rgba(0,0,0,.5), 0 4px 20px rgba(0,0,0,.45), 0 0 44px rgba(0,0,0,.3);
}
/* 第三张标题较长，自动缩小字号，避免挤压画面 */
.hero-copy h1.is-long { font-size: clamp(34px, 4.6vw, 66px); letter-spacing: .04em; line-height: 1.22; }
.hero-en { margin: 14px 0 30px; font-family: var(--font-en); font-size: 13px; letter-spacing: .32em; color: rgba(255,255,255,.95); text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.hero-desc { max-width: 590px; margin: 0 0 40px; font-size: 16px; line-height: 2; color: rgba(255,255,255,.95); text-shadow: 0 1px 4px rgba(0,0,0,.55), 0 2px 14px rgba(0,0,0,.35); }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; }
/* 仅首屏金按钮：橙底上加深蓝描边与轻投影，抠出边界 */
.hero .btn-gold { border: 2px solid var(--ink); box-shadow: 0 6px 18px rgba(16,27,45,.28); }
.hero .btn-gold:hover { border-color: var(--ink); }
.hero-bottom { position: absolute; z-index: 3; left: 0; right: 0; bottom: 46px; display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.hero-pagination { display: flex; gap: 46px; }
.hero-page { display: flex; align-items: center; gap: 12px; padding: 0; background: none; border: none; color: rgba(255,255,255,.45); transition: color .3s ease; }
.hero-page:hover, .hero-page.active { color: #fff; }
.page-num { font-family: var(--font-en); font-size: 13px; }
.page-name { font-size: 13px; letter-spacing: .06em; white-space: nowrap; }
.page-bar { display: block; width: 56px; height: 1px; background: rgba(255,255,255,.28); }
.page-bar i { display: block; width: 0; height: 1px; background: var(--accent); }
.hero-page.active .page-bar i { width: 100%; transition: width 6.5s linear; }
.hero-arrows { display: flex; gap: 10px; }
.hero-arrows button {
  width: 46px; height: 46px;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.04);
  color: #fff;
  font-size: 18px;
  transition: all .3s ease;
}
.hero-arrows button:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.scroll-cue {
  position: absolute; z-index: 3; left: 50%; bottom: 22px;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  font-family: var(--font-en); font-size: 9px; letter-spacing: .3em;
  color: rgba(255,255,255,.5);
}
.scroll-cue span { width: 1px; height: 36px; background: linear-gradient(to bottom, transparent, var(--accent)); }

/* ---------- products ---------- */
.products { background: #fff; overflow: hidden; }
/* 无缝四宫格拼图：左侧大图贯通，右上横图，右下两张小图 */
.product-showcase {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 4px;
  height: 660px;
  margin-top: 4px;
}
.showcase-card {
  position: relative;
  display: block;
  overflow: hidden;
  background: #101b2d;
  color: #fff;
}
.tile-hero { grid-column: 1; grid-row: 1 / span 2; }
.tile-wide { grid-column: 2 / span 2; grid-row: 1; }
.tile-small:nth-of-type(3) { grid-column: 2; grid-row: 2; }
.tile-small:nth-of-type(4) { grid-column: 3; grid-row: 2; }
.showcase-media { position: absolute; inset: 0; overflow: hidden; }
.showcase-media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.06);
  animation: kenBurns 20s ease-in-out infinite alternate;
}
.tile-wide .showcase-media img { animation-duration: 25s; animation-delay: -7s; }
.tile-small:nth-of-type(3) .showcase-media img { animation-duration: 23s; animation-delay: -13s; }
.tile-small:nth-of-type(4) .showcase-media img { animation-duration: 27s; animation-delay: -4s; }
.showcase-card:hover .showcase-media img { animation-play-state: paused; }
@keyframes kenBurns {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to { transform: scale(1.18) translate3d(-1.5%, -1.5%, 0); }
}
.showcase-shade {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(4,10,18,.92) 0%, rgba(4,10,18,.45) 32%, rgba(4,10,18,.08) 68%, rgba(4,10,18,.18) 100%);
  transition: opacity .5s ease;
}
.showcase-card:hover .showcase-shade { opacity: .82; }
.showcase-info {
  position: absolute; left: 28px; right: 20px; bottom: 26px;
  transform: translateY(10px);
  transition: transform .55s cubic-bezier(.2,.7,.2,1);
}
.showcase-card:hover .showcase-info { transform: none; }
.showcase-info h3 {
  margin: 0; font-size: 25px; font-weight: 500; letter-spacing: .06em;
  text-shadow: 0 2px 12px rgba(0,0,0,.4);
}
.tile-hero .showcase-info h3 { font-size: 40px; }
.showcase-en {
  margin: 7px 0 0; font-family: var(--font-en); font-size: 10px;
  letter-spacing: .22em; color: rgba(255,255,255,.72);
}
.tile-hero .showcase-en { font-size: 12px; }
.showcase-desc {
  display: block; margin-top: 14px;
  font-size: 12px; color: rgba(255,255,255,.62);
}
.showcase-go {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 18px; padding: 8px 16px;
  border: 1px solid rgba(214,164,92,.7);
  font-size: 11px; letter-spacing: .06em; color: var(--accent);
  background: rgba(9,16,27,.35);
  transition: all .4s cubic-bezier(.2,.7,.2,1);
}
.showcase-go i { font-style: normal; transition: transform .3s ease; }
/* 只有真正支持 hover 的设备才「悬停显现」；触屏设备默认可见，不留下点不到的 CTA */
@media (hover: hover) {
  .showcase-go { opacity: 0; transform: translateY(8px); }
  .showcase-card:hover .showcase-go { opacity: 1; transform: none; }
  .showcase-card:hover .showcase-go i { transform: translateX(4px); }
}
.showcase-card::after {
  content: ''; position: absolute; inset: 0; z-index: 5;
  border: 1px solid rgba(214,164,92,.55);
  opacity: 0; transform: scale(1.01);
  transition: all .45s ease;
  pointer-events: none;
}
.showcase-card:hover::after { opacity: 1; transform: none; }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- section transition ---------- */
/* 产品→案例：多层波浪滚动进入时上浮揭开，三层各自水平漂移＋上下起伏，形成持续流动 */
.transition-block { isolation: isolate; }
.section-wave {
  position: absolute; left: 0; right: 0; top: -108px; height: 112px;
  z-index: 0; pointer-events: none; overflow: hidden;
  transform: translateY(54px); opacity: 0;
  transition: transform 1s cubic-bezier(.2,.8,.2,1), opacity .8s ease;
}
.transition-block.curtain-in .section-wave { transform: none; opacity: 1; }
/* 三层紧贴的平行波浪整体缓慢流动，避免各层独立漂移产生裂缝 */
.section-wave svg {
  position: absolute; left: -8%; width: 116%; height: calc(100% + 3px); top: 0; display: block;
  animation: waveDrift 9s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes waveDrift {
  0%   { transform: translate3d(-1.6%, 2px, 0) scaleY(1); }
  50%  { transform: translate3d(0, -2px, 0) scaleY(1.025); }
  100% { transform: translate3d(1.6%, 2px, 0) scaleY(1); }
}
/* 案例区（深蓝）：浅蓝灰 → 中蓝灰 → 深蓝，三层紧贴，与参考造型一致 */
.cases .wave-back  { fill: #e9eff7; }
.cases .wave-mid   { fill: #a9b8ce; }
.cases .wave-front { fill: var(--ink); }
/* 案例→新闻：一条有设计感的水平直线，滚动进入时由中心向两端展开 */
.section-line {
  position: absolute; left: 0; right: 0; top: 0; height: 2px;
  z-index: 1; pointer-events: none; overflow: hidden;
}
.section-line span {
  display: block; height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(214,164,92,0) 8%, var(--accent) 50%, rgba(214,164,92,0) 92%, transparent 100%);
  transform: scaleX(0); transform-origin: center;
  transition: transform 1.15s cubic-bezier(.2,.8,.2,1);
}
.news .section-line::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(16,27,45,.22), transparent);
}
.transition-block.curtain-in .section-line span { transform: scaleX(1); }
.transition-block .reveal { position: relative; z-index: 1; }

/* ---------- cases ---------- */
.cases { background: var(--ink); color: #fff; }
/* 遮住波浪 SVG 底边的渲染接缝，使其与案例区背景无缝衔接 */
.cases::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 12px;
  background: var(--ink); z-index: 1; pointer-events: none;
}
.cases .section-title { color: #fff; }
.cases .section-head { border-bottom: 0; }
.cases .eyebrow { color: var(--accent); }
.light-head { border-color: rgba(255,255,255,.14); }
.case-filter-bar { display: flex; justify-content: center; margin-bottom: 6px; }
.case-filter { display: flex; flex-wrap: wrap; gap: 10px; }
.case-filter-btn { padding: 10px 18px; background: none; border: 1px solid rgba(255,255,255,.25); color: rgba(255,255,255,.7); font-size: 12px; transition: all .3s ease; }
.case-filter-btn:hover, .case-filter-btn.active { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.case-marquee {
  position: relative;
  margin-top: 50px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
/* gap 只放在 .case-set 内：两组宽度完全相等，translateX(-50%) 才能精确无缝 */
.case-track { display: flex; width: max-content; animation: caseScroll 72s linear infinite; }
.case-marquee:hover .case-track { animation-play-state: paused; }
.case-track.reverse { animation-direction: reverse; }
@keyframes caseScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.case-set { display: flex; gap: 18px; padding-right: 18px; flex: 0 0 auto; }
.case-card { position: relative; flex: 0 0 auto; width: 340px; height: 268px; overflow: hidden; background: #1b2738; }
.case-card.featured { width: 500px; }
.case-card.filtered-out { display: none; }
.case-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease, filter .5s ease; }
.case-card:hover img { transform: scale(1.06); filter: brightness(1.08); }
.case-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6,12,21,.92) 0%, rgba(6,12,21,.15) 55%, transparent 100%); }
.case-info { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 22px; }
.case-info h3 { margin: 0; font-size: 16px; font-weight: 400; line-height: 1.5; }
.case-loc { display: block; margin-bottom: 8px; font-size: 11px; letter-spacing: .06em; color: var(--accent); }
.case-more { display: inline-block; margin-top: 12px; font-size: 11px; color: var(--accent); }
.case-card.featured .case-info { padding: 30px; }
.case-card.featured .case-info h3 { font-size: 23px; }
.case-actions { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 40px; }
.marquee-arrow {
  width: 42px; height: 42px;
  border: 1px solid rgba(255,255,255,.3);
  background: none; color: #fff; font-size: 18px;
  transition: all .3s ease;
}
.marquee-arrow:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.marquee-hint { font-size: 11px; letter-spacing: .06em; color: rgba(255,255,255,.45); }
.text-link { font-size: 12px; color: rgba(255,255,255,.55); transition: color .3s ease; }
.text-link:hover { color: var(--accent); }

/* ---------- news ---------- */
/* 次要信息区：缩短上下留白、压低标题视觉重量，保留顶部直线过渡不动 */
.news { background: var(--paper); padding: 84px 0 88px; }
.news .section-head { padding-bottom: 24px; }
.news .section-title { margin-top: 18px; font-size: clamp(28px, 2.6vw, 38px); }
.news .eyebrow { font-size: 10px; }
.news-list a { display: grid; grid-template-columns: 130px 1fr 30px; align-items: center; gap: 24px; padding: 17px 0; border-bottom: 1px solid var(--line); transition: padding .3s ease; }
.news-list time { font-family: var(--font-en); font-size: 13px; color: #66717f; }
.news-list h3 { margin: 0; font-size: 15px; font-weight: 400; line-height: 1.6; color: var(--ink-soft); transition: color .3s ease; }
.news-list span { justify-self: end; color: var(--accent-on-light); opacity: .5; transition: all .3s ease; }
.news-list a:hover { padding-left: 10px; }
.news-list a:hover h3 { color: var(--accent-on-light); }
.news-list a:hover span { opacity: 1; transform: translateX(4px); }
.news-more { display: inline-block; margin-top: 22px; font-size: 11px; letter-spacing: .08em; color: var(--accent-on-light); }

/* ---------- inquiry ---------- */
.inquiry { position: relative; overflow: hidden; background: var(--ink); color: #fff; padding-top: 150px; }
.inquiry-bg { position: absolute; inset: 0; background: url('assets/images/20220226144706802.jpg') center / cover no-repeat; opacity: .13; }
.inquiry-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #101b2d 10%, rgba(16,27,45,.65) 100%); }
.inquiry-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 100px; padding-bottom: 125px; align-items: center; }
.inquiry-copy h2 { margin: 26px 0 24px; font-size: clamp(36px, 4vw, 58px); font-weight: 300; line-height: 1.35; letter-spacing: .04em; }
.inquiry-copy > p { max-width: 540px; margin: 0; font-size: 15px; line-height: 2; color: rgba(255,255,255,.68); }
.inquiry-contacts { display: grid; gap: 20px; margin-top: 48px; }
.inquiry-contacts a, .inquiry-contacts div { display: flex; align-items: baseline; gap: 22px; }
.inquiry-contacts span { flex: 0 0 74px; font-size: 12px; color: var(--accent); }
.inquiry-contacts strong { font-size: 16px; font-weight: 400; color: #fff; }
.inquiry-contacts a:hover strong { color: var(--accent); }
.inquiry-form { background: #fff; color: var(--ink); padding: 46px 46px 42px; box-shadow: 0 30px 70px rgba(0,0,0,.22); }
.inquiry-form h3 { margin: 0; font-size: 25px; font-weight: 400; letter-spacing: .05em; }
.inquiry-form > p { margin: 10px 0 32px; font-size: 13px; color: var(--muted); }
.inquiry-form label { display: block; margin-bottom: 22px; }
.inquiry-form label span { display: block; margin-bottom: 9px; font-size: 12px; color: var(--muted); }
.inquiry-form input, .inquiry-form textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid #dde2e8;
  background: #fafafa;
  font-size: 14px;
  color: var(--ink);
  outline: none;
  resize: vertical;
  transition: border-color .3s ease, background .3s ease;
}
.inquiry-form input:focus, .inquiry-form textarea:focus { border-color: var(--accent); background: #fff; }
.inquiry-form input.invalid, .inquiry-form textarea.invalid,
.inquiry-form [aria-invalid="true"] { border-color: var(--form-error); }
.inquiry-form .consent-label { display: flex; align-items: flex-start; gap: 10px; margin: 4px 0 20px; line-height: 1.6; }
.inquiry-form .consent-label input[type="checkbox"] { width: 16px; height: 16px; flex: 0 0 16px; margin: 2px 0 0; padding: 0; accent-color: var(--accent-dark); cursor: pointer; }
.inquiry-form .consent-label span { margin: 0; font-size: 12px; color: var(--muted); cursor: pointer; }
.inquiry-form .consent-label a { color: var(--accent-on-light); text-decoration: underline; text-underline-offset: 2px; }
.inquiry-form .consent-label a:hover { color: var(--accent-dark); }
.inquiry-form .btn { width: 100%; margin-top: 4px; }
.inquiry-form .btn:disabled { opacity: .65; cursor: wait; }
.form-status { min-height: 20px; margin-top: 16px; font-size: 13px; color: var(--muted); }
.form-status.loading { color: var(--muted); }
.form-status.success { color: #2e7d5b; }
.form-status.error { color: var(--form-error); }

/* ---------- footer ---------- */
.site-footer { background: #09111d; color: rgba(255,255,255,.55); }
.footer-top { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 50px; padding-top: 78px; }
.footer-logo { display: inline-block; }
.footer-logo img { width: 190px; height: auto; }
.footer-brand p { margin: 22px 0; font-size: 11px; line-height: 1.9; letter-spacing: .03em; }
.footer-phone { font-family: var(--font-en); font-size: 25px; color: var(--accent); }
.footer-col h4 { margin: 4px 0 24px; font-size: 14px; font-weight: 500; color: #fff; letter-spacing: .06em; }
.footer-col a { display: block; margin-bottom: 13px; font-size: 13px; transition: color .3s ease; }
.footer-col a:hover { color: var(--accent); }
.footer-col p { margin: 0; font-size: 13px; line-height: 1.9; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 30px; margin-top: 62px; padding-top: 24px; padding-bottom: 28px; font-size: 11px; }
.footer-bottom p { margin: 0; }
.footer-bottom a { margin: 0 12px; transition: color .3s ease; }
.footer-bottom a:hover { color: var(--accent); }
.footer-bottom span { margin-left: 8px; color: rgba(255,255,255,.35); }
.footer-bottom span a { margin: 0; color: inherit; }
.footer-bottom span a:hover { color: var(--accent); }

/* ---------- floating tools ---------- */
.float-tools { position: fixed; z-index: 95; right: 0; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; }
.float-tools a, .float-tools button {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  width: 56px; height: 60px;
  border: 0; border-bottom: 1px solid rgba(255,255,255,.1);
  background: rgba(16,27,45,.95); color: #fff;
  transition: background .3s ease, color .3s ease;
}
.float-tools a:hover, .float-tools button:hover { background: var(--accent); color: var(--ink); }
.float-tools svg { width: 18px; height: 18px; fill: currentColor; }
.float-tools em { font-size: 9px; font-style: normal; letter-spacing: .02em; }

/* ---------- responsive ---------- */
@media (max-width: 1200px) {
  .container { padding: 0 36px; }
  .header-actions { gap: 14px; }
  .header-cta { display: none; }
  .footer-top { grid-template-columns: 1.4fr repeat(2, 1fr); gap: 44px; }
  .inquiry-grid { gap: 60px; }
  .hero-pagination { gap: 26px; }
  .page-bar { width: 36px; }
}

@media (max-width: 992px) {
  :root { --header-h: 72px; }
  .section { padding: 92px 0; }
  .news { padding: 76px 0; }
  .main-nav {
    position: fixed; top: 72px; left: 0; right: 0;
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    margin: 0; padding: 16px 36px 26px;
    background: rgba(255,255,255,.98);
    box-shadow: 0 24px 40px rgba(16,27,45,.12);
    transform: translateY(-130%); opacity: 0; pointer-events: none;
    transition: transform .4s ease, opacity .3s ease;
  }
  body.nav-open .main-nav { transform: none; opacity: 1; pointer-events: auto; }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
  .main-nav a::after { display: none; }
  .menu-toggle { display: flex; }
  .brand img { width: 136px; }
  .site-header.scrolled .brand img { width: 128px; }
  .hero { min-height: 680px; height: 88vh; }
  .hero-content { padding-bottom: 150px; }
  .hero-bottom { bottom: 34px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 24px; }
  .product-showcase { height: 540px; gap: 3px; }
  .showcase-info h3 { font-size: 21px; }
  .tile-hero .showcase-info h3 { font-size: 30px; }
  .showcase-info { left: 22px; bottom: 20px; }
  .case-card { width: 300px; height: 230px; }
  .case-card.featured { width: 420px; }
  .inquiry-grid { grid-template-columns: 1fr; gap: 50px; }
  .header-phone span { display: none; }
  .float-tools { display: none; }
  .footer-top { grid-template-columns: 1.4fr repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .container { padding: 0 22px; }
  .section { padding: 76px 0; }
  .news { padding: 64px 0; }
  .section-title { font-size: 32px; }
  .hero { min-height: 620px; height: 100vh; }
  .hero-copy { margin-top: -18px; }
  .hero-copy h1 { margin-top: 14px; font-size: clamp(46px, 12vw, 70px); }
  .hero-desc { font-size: 14px; line-height: 1.9; margin-bottom: 30px; }
  /* 窄屏文字横贯画面，渐变需覆盖到文字末端，最右 12% 仍完全不加暗 */
  .hero:has(.hero-slide:nth-child(3).active) .hero-overlay::after {
    background: linear-gradient(90deg, rgba(6,14,26,.45) 0%, rgba(6,14,26,.34) 62%, rgba(6,14,26,.16) 88%, rgba(6,14,26,0) 100%);
  }
  .hero-content { padding-top: 60px; padding-bottom: 135px; }
  .hero-bottom { bottom: 28px; }
  .hero-pagination { gap: 16px; }
  .page-name { display: none; }
  .page-bar { width: 28px; }
  .hero-arrows button { width: 38px; height: 38px; }
  .scroll-cue { display: none; }
  .btn { min-height: 48px; padding: 0 20px; }
  .product-showcase {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 280px 180px 180px;
    height: auto; margin-top: 36px;
  }
  .tile-hero { grid-column: 1 / span 2; grid-row: 1; }
  .tile-wide { grid-column: 1 / span 2; grid-row: 2; }
  .tile-small:nth-of-type(3) { grid-column: 1; grid-row: 3; }
  .tile-small:nth-of-type(4) { grid-column: 2; grid-row: 3; }
  .showcase-info h3 { font-size: 19px; }
  .tile-hero .showcase-info h3 { font-size: 28px; }
  .showcase-en { font-size: 8px; letter-spacing: .14em; }
  .showcase-desc { font-size: 10px; margin-top: 8px; }
  .showcase-go { display: none; }
  .section-wave { top: -52px; height: 56px; }
  .case-marquee { margin-top: 36px; }
  .case-card { width: 270px; height: 210px; }
  .case-card.featured { width: 320px; }
  .case-card.featured .case-info h3 { font-size: 20px; }
  .case-actions { gap: 14px; flex-wrap: wrap; }
  .marquee-hint { display: none; }
  .news-list a { grid-template-columns: 1fr 24px; gap: 8px; padding: 18px 0; }
  .news-list time { grid-column: 1 / -1; font-size: 12px; }
  .news-list h3 { font-size: 15px; }
  .inquiry { padding-top: 120px; }
  .inquiry-grid { padding-bottom: 76px; }
  .inquiry-form { padding: 30px 24px; }
  .footer-top { grid-template-columns: repeat(3, 1fr); gap: 36px; padding-top: 60px; }
  .footer-brand { grid-column: span 3; }
  .footer-bottom { margin-top: 46px; }
  .footer-bottom a { margin: 0 8px 0 0; }
  .footer-bottom span { display: block; margin: 6px 0 0; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  /* 窄屏保留电话按钮（图标），电话入口是 B 端询盘关键路径，不可隐藏 */
  .header-phone { display: flex; }
  .header-phone svg { width: 18px; height: 18px; }
  .main-nav { padding-left: 22px; padding-right: 22px; }
  .hero-copy h1 { letter-spacing: .04em; }
  /* 第三张长标题：窄屏按需放大并收紧字距，让 7 字一行、末 4 字一行，避免孤字 */
  .hero-copy h1.is-long { font-size: clamp(44px, 11.8vw, 58px); letter-spacing: .02em; }
  .hero-en { letter-spacing: .2em; }
  .hero-buttons { flex-direction: column; align-items: flex-start; }
  .hero-buttons .btn { width: 100%; }
  .hero-pagination { gap: 12px; }
  .page-num { font-size: 11px; }
  .page-bar { width: 20px; }
  .hero-arrows { display: none; }
  .section-title { font-size: 28px; }
  .showcase-info { left: 18px; right: 14px; bottom: 18px; }
  .tile-hero .showcase-info h3 { font-size: 25px; }
  .case-card { width: 240px; height: 195px; }
  .case-card.featured { width: 280px; }
  .footer-top { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .footer-brand { grid-column: span 2; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  /* 保留无 JS 兜底，并覆盖 .js .reveal 的更高特异性 */
  .reveal, .js .reveal { opacity: 1; transform: none; }
}
