/* ==========================================================================
   VITRIUS — Design Demo (homepage)
   New visual language: Vessel of Light / Architectural Precision
   ========================================================================== */

:root {
  --brand-700: #006ca8;
  --ink-900: #070d17;
  --ink-800: #0a1626;
  --ink-700: #10233a;
  --ink-600: #16304d;
  --brand-500: #0084cc;
  --brand-400: #2fa5e0;
  --brand-300: #63bde8;
  --cyan-300: #8fd0f0;
  --cyan-200: #c3e7f8;
  --ice-100: #edf4f9;
  --ice-50: #fafdff;
  --white: #ffffff;
  --text-900: #101c2b;
  --text-700: #2c3a4b;
  --text-500: #5b6b7c;
  --line: rgba(16, 35, 58, .12);
  --line-dark: rgba(143, 208, 240, .18);
  --font-display: "Sora", "Inter", sans-serif;
  --font-body: "Inter", "PingFang SC", sans-serif;
  --font-accent: "Inter", sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --radius: 4px;
  --maxw: 1280px;
  --header-h: 84px;
  --dur: .7s;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; }
/* Lenis smooth scroll */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-700);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-500); text-decoration: none; }
a:hover { color: var(--brand-400); }
::selection { background: var(--brand-500); color: #fff; }

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--text-900); line-height: 1.1; }
h1 { font-size: clamp(2.6rem, 6vw, 5.2rem); letter-spacing: -.02em; font-weight: 300; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.9rem); letter-spacing: -.015em; font-weight: 400; }
h3 { font-size: 1.25rem; font-weight: 500; }
h4 { font-size: 1.05rem; font-weight: 500; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.section { padding: clamp(72px, 9vw, 128px) 0; }
.section-dark { background: var(--ink-800); color: #c7d2de; }
.section-dark h2 { color: #fff; }

/* ---------- 眉题 ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-body);
  font-size: .72rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase;
  color: var(--brand-700);
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--brand-700); }
.section-dark .eyebrow { color: var(--cyan-300); }
.section-dark .eyebrow::before { background: var(--cyan-300); }

/* ---------- 按钮 ---------- */
.btn {
  position: relative;
  display: inline-block;
  padding: 15px 34px;
  font-family: var(--font-body);
  font-size: .9rem; font-weight: 600; letter-spacing: .04em;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s ease, color .3s ease;
}
.btn-brand { background: var(--brand-500); color: #fff; box-shadow: 0 8px 28px rgba(0,132,204,.35); }
.btn-brand:hover { background: var(--brand-400); color: #fff; transform: translateY(-2px); box-shadow: 0 14px 40px rgba(0,132,204,.45); }
.btn-ghost { border-color: rgba(255,255,255,.45); color: #fff; background: transparent; }
.btn-ghost:hover { background: #fff; color: var(--ink-900); transform: translateY(-2px); }
.btn-dark { background: var(--ink-900); color: #fff; }
.btn-dark:hover { background: var(--ink-700); color: #fff; transform: translateY(-2px); }
/* 光扫过 */
.btn-brand::after, .btn-dark::after {
  content: "";
  position: absolute; top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-20deg);
  transition: left .6s var(--ease);
}
.btn-brand:hover::after, .btn-dark:hover::after { left: 130%; }

/* ---------- 顶栏 ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  transition: height .4s var(--ease), background .4s ease, box-shadow .4s ease, backdrop-filter .4s ease;
}
body.admin-bar .site-header { top: 32px; }
.site-header.scrolled {
  height: 66px;
  background: rgba(7, 13, 23, .72);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: 0 10px 40px rgba(2, 8, 16, .35);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; }
.brand img { height: 56px; width: auto; filter: drop-shadow(0 2px 10px rgba(0,0,0,.4)); }
.site-header.scrolled .brand img { height: 46px; }
.main-nav ul { display: flex; gap: 38px; list-style: none; }
.main-nav a {
  position: relative;
  color: rgba(255,255,255,.82);
  font-size: .92rem; font-weight: 500; letter-spacing: .02em;
  padding: 6px 0;
}
.main-nav a::after {
  content: ""; position: absolute; left: 50%; bottom: -2px;
  width: 0; height: 1.5px; background: var(--cyan-300);
  transform: translateX(-50%);
  transition: width .35s var(--ease);
}
.main-nav a:hover { color: #fff; }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { width: 100%; }
.header-cta { display: flex; align-items: center; gap: 18px; }
.header-cta .btn { padding: 11px 24px; font-size: .84rem; }
.nav-toggle { display: none; background: none; border: 0; width: 42px; height: 42px; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; transition: transform .3s var(--ease), opacity .3s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; align-items: center;
  background: var(--ink-900);
  overflow: hidden;
  isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media picture { display: block; width: 100%; height: 100%; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  animation: kenburns 22s ease-in-out infinite alternate;
}
@keyframes kenburns { from { transform: scale(1) translateY(0); } to { transform: scale(1.09) translateY(-2%); } }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(7,13,23,.94) 0%, rgba(7,13,23,.72) 42%, rgba(7,13,23,.30) 100%),
    linear-gradient(0deg, rgba(7,13,23,.85) 0%, transparent 30%);
}
.hero-glow {
  position: absolute; z-index: -1;
  width: 900px; height: 900px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,132,204,.34), transparent 65%);
  filter: blur(20px);
  top: -20%; right: -10%;
  animation: glow-pulse 8s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes glow-pulse { from { opacity: .5; transform: translate3d(0,0,0) scale(1); } to { opacity: 1; transform: translate3d(-40px,30px,0) scale(1.12); } }
.hero-content { max-width: 780px; padding: 140px 0 100px; }
.hero-content .eyebrow { color: var(--cyan-300); animation: rise .9s var(--ease) .1s both; }
.hero-content .eyebrow::before { background: var(--cyan-300); }
.hero-content h1, .hero-content .hero-title { color: #fff; margin: 22px 0 26px; animation: rise 1s var(--ease) .25s both; }
.hero-content h1 em, .hero-content .hero-title em {
  display: block;
  font-family: var(--font-accent); font-style: italic; font-weight: 300;
  color: var(--cyan-200);
  background: linear-gradient(90deg, var(--cyan-200), var(--brand-400));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-content p { color: rgba(255,255,255,.72); font-size: 1.12rem; max-width: 540px; animation: rise 1s var(--ease) .4s both; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 40px; animation: rise 1s var(--ease) .55s both; }
.hero-controls {
  position: absolute; bottom: 28px; left: 50%; z-index: 5;
  transform: translateX(-50%); display: flex; align-items: center; gap: 14px;
}
.hero-dots { display: flex; align-items: center; gap: 10px; }
.hero-dots button { position: relative; width: 34px; height: 34px; border: 0; background: transparent; cursor: pointer; transition: width .3s var(--ease); }
.hero-dots button::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 3px; transform: translateY(-50%); border-radius: 2px; background: rgba(255,255,255,.28); transition: background .3s ease; }
.hero-dots button.active { width: 46px; }
.hero-dots button.active::before { background: var(--cyan-300); }
.hero-autoplay {
  width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.38); border-radius: 50%;
  background: rgba(7,13,23,.42); color: #fff; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; font-size: .72rem;
}
.hero-autoplay:hover { background: rgba(255,255,255,.16); }
.scroll-hint {
  position: absolute; bottom: 30px; left: 32px;
  display: flex; align-items: center; gap: 12px;
  color: rgba(255,255,255,.55); font-size: .72rem; letter-spacing: .3em; text-transform: uppercase;
  writing-mode: horizontal-tb; z-index: 5;
}
.scroll-hint::after { content: ""; width: 1px; height: 44px; background: linear-gradient(var(--cyan-300), transparent); animation: drip 2s ease-in-out infinite; }
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- Marquee ---------- */
.marquee { background: var(--ink-900); border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); overflow: hidden; padding: 22px 0; }
.marquee-track { display: flex; gap: 0; width: max-content; animation: scroll-x 30s linear infinite; }
.marquee span {
  font-family: var(--font-display); font-size: .92rem; font-weight: 600; letter-spacing: .28em; text-transform: uppercase;
  color: rgba(255,255,255,.55);
  padding: 0 42px; white-space: nowrap;
  display: flex; align-items: center; gap: 84px;
}
.marquee span::after { content: "✦"; color: var(--brand-500); font-size: .7rem; }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ---------- 系统卡片 ---------- */
.section-head { max-width: 700px; margin-bottom: 64px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin: 16px 0 14px; }
.section-head p { color: var(--text-500); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.ecard {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink-800);
  min-height: 460px;
  display: flex; align-items: flex-end;
  isolation: isolate;
}
.ecard img {
  position: absolute; inset: 0; z-index: -1;
  width: 100%; height: 100%; object-fit: cover;
  opacity: .5;
  transition: transform 1s var(--ease), opacity .6s ease;
}
.ecard::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(7,13,23,.92) 8%, rgba(7,13,23,.25) 55%, transparent); transition: opacity .5s ease; }
.ecard:hover img { transform: scale(1.07); opacity: .65; }
.ecard-body { padding: 34px 30px 30px; width: 100%; }
.ecard .num { font-family: var(--font-display); font-size: .78rem; font-weight: 600; letter-spacing: .2em; color: var(--cyan-300); }
.ecard h3 { color: #fff; font-size: 1.5rem; margin: 10px 0 8px; }
.ecard p { color: rgba(255,255,255,.66); font-size: .92rem; max-width: 300px; }
.ecard .card-link {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 20px; color: #fff; font-size: .88rem; font-weight: 600;
}
.ecard .card-link i { transition: transform .35s var(--ease); font-style: normal; }
.ecard:hover .card-link i { transform: translateX(6px); }
.ecard:hover .card-link { color: var(--cyan-200); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.stat { text-align: center; padding: 40px 12px; border-left: 1px solid var(--line-dark); }
.stat:first-child { border-left: 0; }
.stat-value { font-family: var(--font-display); font-size: clamp(2.4rem, 4.6vw, 3.6rem); font-weight: 300; color: #fff; letter-spacing: -.02em; line-height: 1; }
.stat-value .unit { font-size: .5em; color: var(--cyan-300); font-weight: 600; margin-left: 4px; }
.stat-label { margin-top: 12px; font-size: .74rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.5); }

/* ---------- 产品展示 ---------- */
.show-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; }
.show-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: var(--ink-800); min-height: 520px; display: flex; align-items: flex-end; isolation: isolate;
}
.show-card img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.show-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(7,13,23,.9), transparent 60%); }
.show-card:hover img { transform: scale(1.06); }
.show-card-body { padding: 36px 32px; }
.show-card .tag { display: inline-block; padding: 5px 12px; border: 1px solid var(--line-dark); border-radius: 999px; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan-300); }
.show-card h3 { color: #fff; font-size: 1.6rem; margin: 14px 0 6px; }
.show-card p { color: rgba(255,255,255,.62); font-size: .92rem; }
.show-specs { display: flex; gap: 26px; margin-top: 20px; }
.show-specs div span { display: block; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.45); }
.show-specs div strong { font-family: var(--font-display); font-size: 1.15rem; color: #fff; font-weight: 400; }

/* ---------- Insights ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post {
  border-top: 1px solid var(--line);
  padding: 26px 4px 6px;
  transition: border-color .3s ease;
}
.post:hover { border-color: var(--brand-500); }
.post .meta { display: flex; gap: 14px; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-500); margin-bottom: 12px; }
.post h3 { font-size: 1.22rem; line-height: 1.35; margin-bottom: 10px; transition: color .3s ease; }
.post:hover h3 { color: var(--brand-500); }
.post p { color: var(--text-500); font-size: .92rem; }
.post .card-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-size: .85rem; font-weight: 600; }
.post .card-link i { transition: transform .35s var(--ease); font-style: normal; }
.post:hover .card-link i { transform: translateX(6px); }

/* ---------- CTA ---------- */
.cta-band { position: relative; text-align: center; background: var(--ink-900); padding: clamp(80px, 10vw, 140px) 0; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 50% 0%, rgba(0,132,204,.28), transparent 70%);
}
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,.65); max-width: 520px; margin: 0 auto 36px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-900); color: #93a3b5; padding: 84px 0 0; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr auto 1.4fr; gap: 48px; padding-bottom: 56px; }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 20px; }
.site-footer a { color: #93a3b5; transition: color .3s ease, padding-left .3s var(--ease); }
.site-footer a:hover { color: var(--cyan-200); padding-left: 4px; }
.footer-links { list-style: none; }
.footer-links a { white-space: nowrap; }
.footer-links li { margin-bottom: 11px; font-size: .92rem; }
.footer-brand { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 300; color: #fff; letter-spacing: -.02em; line-height: 1; }
.footer-brand em { font-family: var(--font-accent); font-style: italic; font-weight: 300; color: var(--cyan-300); }
.footer-bottom { border-top: 1px solid rgba(143,208,240,.14); padding: 24px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .82rem; color: #6d7e90; }

/* ---------- 返回顶部 ---------- */
.back-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line-dark); background: rgba(7,13,23,.7); color: #fff;
  backdrop-filter: blur(8px); font-size: 1.1rem;
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity .4s ease, transform .4s var(--ease);
}
.back-top.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-top:hover { background: var(--brand-500); }

/* ---------- 入场动效 ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
.stagger > * { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.stagger.in > * { opacity: 1; transform: translateY(0); }
.stagger.in > *:nth-child(1) { transition-delay: 0s; }
.stagger.in > *:nth-child(2) { transition-delay: .1s; }
.stagger.in > *:nth-child(3) { transition-delay: .2s; }
.stagger.in > *:nth-child(4) { transition-delay: .3s; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .cards, .posts { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .show-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; top: 0; right: 0; bottom: 0; width: 78%; max-width: 340px;
    background: rgba(7,13,23,.98); backdrop-filter: blur(20px);
    padding: 110px 36px 40px;
    transform: translateX(100%);
    transition: transform .5s var(--ease);
    box-shadow: -20px 0 60px rgba(0,0,0,.5);
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; gap: 8px; }
  .main-nav a { font-size: 1.5rem; font-family: var(--font-display); }
  .header-cta .btn { display: none; }
  .cards, .posts { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat { padding: 24px 6px; }
  .hero-content { padding: 120px 0 90px; }
  .scroll-hint { display: none; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-links a { white-space: normal; }
}
@media (max-width: 782px) {
  body.admin-bar .site-header,
  body.admin-bar .main-nav { top: 46px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal, .stagger > * { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}


/* ==========================================================================
   VITRIUS — 内部页组件（与 Demo 同一设计系统）
   ========================================================================== */

/* ---------- 内部页 Hero ---------- */
.page-hero {
  position: relative;
  background: var(--ink-900);
  color: #fff;
  padding: 112px 0 62px;
  overflow: hidden;
  isolation: isolate;
}
.page-hero .hero-glow { top: -40%; right: -8%; }
.page-hero h1 { color: #fff; }
.page-hero .lead { color: rgba(255,255,255,.72); font-size: 1.08rem; max-width: 660px; margin-top: 18px; }

.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .82rem; letter-spacing: .04em; color: rgba(255,255,255,.5); margin-bottom: 28px; }
.breadcrumb a { color: rgba(255,255,255,.62); }
.breadcrumb a:hover { color: var(--cyan-200); }
.breadcrumb .current { color: var(--cyan-300); }
.breadcrumb .sep { opacity: .5; }

/* ---------- 规格胶囊 ---------- */
.spec-pills { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.spec-pill {
  display: inline-flex; align-items: baseline; gap: 8px;
  border: 1px solid var(--line-dark); border-radius: 999px;
  padding: 9px 18px; font-size: .82rem; color: rgba(255,255,255,.72);
}
.spec-pill strong { font-family: var(--font-display); font-size: 1.02rem; color: #fff; }

/* ---------- 产品卡（分类页） ---------- */
.pcard {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s ease;
}
.pcard { cursor: pointer; }
.pcard:hover {
  transform: translateY(-6px);
  border-color: var(--line);
  box-shadow: 0 0 0 1px rgba(255,255,255,.85), 0 18px 44px rgba(16,35,58,.10);
}
.pcard-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--ice-100); }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.pcard:hover .pcard-media img { transform: scale(1.06); }
.pcard-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.pcard-tag { font-size: .7rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--brand-700); }
.pcard-body h3 { margin: 10px 0 8px; font-size: 1.22rem; }
.pcard-body p { color: var(--text-500); font-size: .92rem; flex: 1; }
.pcard .card-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-size: .86rem; font-weight: 600; color: var(--ink-900); }
.pcard .card-link i { font-style: normal; transition: transform .35s var(--ease); }
.pcard:hover .card-link { color: var(--brand-500); }
.pcard:hover .card-link i { transform: translateX(6px); }
.pcard-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* ---------- 规格表 ---------- */
.spec-table { width: 100%; border-collapse: collapse; margin: 22px 0 18px; border-radius: var(--radius); overflow: hidden; }
.spec-table thead th { background: var(--ink-800); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; text-align: left; padding: 14px 18px; }
.spec-table tbody td { padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: .95rem; }
.spec-table tbody tr:nth-child(even) { background: var(--ice-50); }
.spec-table tbody tr:last-child td { border-bottom: 0; }

/* ---------- 标签页 ---------- */
.tabs { margin-top: 26px; }
.tab-nav { display: flex; gap: 4px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tab-btn {
  background: none; border: 0; padding: 15px 24px;
  font: 600 .92rem var(--font-body); letter-spacing: .02em;
  color: var(--text-500); border-bottom: 2px solid transparent; margin-bottom: -1px;
  cursor: pointer; white-space: nowrap;
  transition: color .3s ease, border-color .3s ease;
}
.tab-btn:hover { color: var(--ink-900); }
.tab-btn.active { color: var(--brand-500); border-color: var(--brand-500); }
.tab-panel { display: none; padding: 36px 0 8px; }
.tab-panel.active { display: block; animation: tabIn .5s var(--ease); }
@keyframes tabIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.tab-panel h2 { font-size: 1.5rem; margin: 28px 0 12px; }
.tab-panel h2:first-child { margin-top: 0; }
.tab-panel p { color: var(--text-700); margin-bottom: 16px; }

/* ---------- 分栏（About） ---------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.split-media img { border-radius: var(--radius); box-shadow: 0 24px 60px rgba(7,13,23,.16); }
.split h2 { margin: 14px 0 12px; }
.split p { color: var(--text-500); margin-bottom: 14px; }
.split ul { margin: 16px 0 26px; padding-left: 20px; color: var(--text-500); }
.split ul li { margin-bottom: 8px; }

/* ---------- 能力卡（About） ---------- */
.cap-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.cap { border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px; background: #fff; transition: border-color .3s ease, transform .4s var(--ease), box-shadow .4s var(--ease); }
.cap:hover { border-color: rgba(0,132,204,.4); transform: translateY(-4px); box-shadow: 0 18px 44px rgba(7,13,23,.1); }
.cap .num { font-family: var(--font-display); font-size: .78rem; font-weight: 600; letter-spacing: .2em; color: var(--brand-700); }
.cap h3 { margin: 12px 0 8px; font-size: 1.12rem; }
.cap p { color: var(--text-500); font-size: .94rem; }

/* ---------- 联系页 ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: start; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 7px; color: var(--text-900); }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 13px 15px;
  border: 1px solid var(--line); border-radius: 8px;
  font: 500 .95rem var(--font-body); color: var(--text-900); background: #fff;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--brand-500); box-shadow: 0 0 0 3px rgba(0,132,204,.15); }
.form-field.full { grid-column: 1 / -1; }
.form-consent { display: flex; gap: 10px; align-items: flex-start; font-size: .86rem; color: var(--text-500); }
.form-consent input { margin-top: 4px; }
.form-note { font-size: .84rem; color: var(--text-500); margin-top: 10px; }
.contact-item { display: flex; gap: 16px; margin-bottom: 26px; }
.contact-item .ico {
  flex: 0 0 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: transparent; border: 1.5px solid var(--brand-500); color: var(--brand-500); font-weight: 400;
}
.contact-info h2 { margin-bottom: 30px; }
.contact-info .contact-item { position: relative; padding-left: 18px; }
.contact-info .contact-item::before {
  content: ""; position: absolute; left: 0; top: 10px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--brand-500);
}
.contact-item h4 { font-size: .95rem; margin-bottom: 2px; }
.contact-item p { color: var(--text-500); font-size: .92rem; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 14px; background: #fff; overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0;
  padding: 22px 26px; font: 700 1.02rem var(--font-display); color: var(--text-900);
  cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-q::after { content: "+"; font-size: 1.5rem; color: var(--brand-500); font-weight: 400; transition: transform .35s var(--ease); }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-a-inner { padding: 0 26px 24px; color: var(--text-500); font-size: .95rem; }

/* ---------- 文章 ---------- */
.article-wrap { max-width: 820px; margin: 0 auto; }
.post-meta { display: flex; gap: 14px; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-500); margin-bottom: 20px; }
.article-body h2 { font-size: 1.6rem; margin: 44px 0 14px; }
.article-body h3 { font-size: 1.2rem; margin: 30px 0 10px; }
.article-body p { color: var(--text-700); margin-bottom: 18px; }
.article-body ul, .article-body ol { margin: 0 0 20px 22px; color: var(--text-700); }
.article-body li { margin-bottom: 8px; }
.article-body blockquote { border-left: 3px solid var(--brand-500); background: var(--ice-50); padding: 10px 22px; margin: 24px 0; color: var(--text-500); font-style: italic; border-radius: 0 8px 8px 0; }
.more-list { padding-left: 20px; }
.more-list li { margin-bottom: 10px; }

/* ---------- 页脚订阅 ---------- */
.footer-news input {
  width: 100%; padding: 12px 16px;
  border-radius: 8px; border: 1px solid rgba(143,208,240,.22);
  background: rgba(7,13,23,.6); color: #fff; margin-bottom: 12px;
  font: 500 .92rem var(--font-body);
}
.footer-news input:focus { outline: none; border-color: var(--brand-500); }

/* ---------- 404 ---------- */
.error-page { min-height: 78vh; display: flex; align-items: center; text-align: center; background: var(--ink-900); }
.error-page h1 {
  font-family: var(--font-display); font-size: clamp(5rem, 14vw, 10rem); font-weight: 700;
  color: transparent; line-height: 1;
  background: linear-gradient(120deg, var(--brand-400), var(--cyan-300));
  -webkit-background-clip: text; background-clip: text;
}
.error-page h2 { color: #fff; margin: 18px 0 10px; }
.error-page p { color: rgba(255,255,255,.6); max-width: 460px; margin: 0 auto 30px; }

/* ---------- 浅色区块 ---------- */
.section-alt { background: var(--ice-100); }
.section-dark { background: var(--ink-800); color: #c7d2de; }
.section-dark h2 { color: #fff; }
.section-dark .eyebrow { color: var(--cyan-300); }
.section-dark .eyebrow::before { background: var(--cyan-300); }

/* ---------- 响应式补充 ---------- */
@media (max-width: 1024px) {
  .pcard-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid, .split { grid-template-columns: 1fr; gap: 40px; }
  .cap-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .pcard-grid { grid-template-columns: 1fr; }
  .cap-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 88px 0 43px; }
  .tab-nav { flex-wrap: nowrap; }
}

/* ==========================================================================
   VITRIUS — 新增：Hero 三页轮播 / 导航下拉 / 文章卡片
   ========================================================================== */

/* ---------- Hero 轮播 ---------- */
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.1s ease, visibility 0s linear 1.1s; }
.hero-slide.active { opacity: 1; visibility: visible; z-index: 1; transition: opacity 1.1s ease; }
.hero-slide .hero-media { z-index: 0; }
.hero-slide .container { position: relative; z-index: 2; height: 100vh; height: 100svh; min-height: 640px; display: flex; align-items: center; }
.hero-slide .hero-content { padding: 120px 0; }
.hero-glow { z-index: 2; }
.hero-dots { z-index: 3; }

/* ---------- 导航下拉菜单 ---------- */
.main-nav li { position: relative; }
.main-nav .has-dropdown > a .caret { display: inline-block; font-size: .62rem; margin-left: 6px; opacity: .75; transition: transform .3s var(--ease); }
.main-nav .has-dropdown:hover > a .caret { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 14px); left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 420px;
  background: linear-gradient(160deg, rgba(16, 35, 58, .62), rgba(7, 13, 23, .48));
  backdrop-filter: blur(26px) saturate(1.4); -webkit-backdrop-filter: blur(26px) saturate(1.4);
  border: 1px solid rgba(143, 208, 240, .16);
  border-radius: 14px;
  padding: 20px 22px;
  box-shadow: 0 30px 70px rgba(2, 8, 16, .55);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .3s ease, transform .35s var(--ease), visibility 0s linear .3s;
}
.has-dropdown:hover .dropdown, .has-dropdown.open .dropdown {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition: opacity .3s ease, transform .35s var(--ease);
}
.dropdown .dd-group { margin-bottom: 16px; }
.dropdown .dd-group:last-of-type { margin-bottom: 8px; }
.dropdown .dd-label {
  display: block; font-size: .64rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--brand-300); margin-bottom: 6px;
}
.dropdown .dd-links { list-style: none; }
.dropdown .dd-links a {
  display: block; padding: 5px 8px; border-radius: 6px;
  color: rgba(255,255,255,.78); font-size: .88rem; white-space: nowrap;
  transition: color .25s ease, background .25s ease, padding-left .25s var(--ease);
}
.dropdown .dd-links a:hover { color: #fff; background: rgba(0,132,204,.14); padding-left: 12px; }
.dropdown .dd-all { border-top: 1px solid rgba(143,208,240,.14); padding-top: 12px; margin-top: 4px; }
.dropdown .dd-all a { color: var(--cyan-200); font-weight: 600; font-size: .88rem; }
.dropdown .dd-all a:hover { color: #fff; }

/* ---------- 文章卡片 ---------- */
.acard-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.acard {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; padding: 30px 28px;
  display: flex; flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s ease;
}
.acard:hover { transform: translateY(-5px); box-shadow: 0 20px 48px rgba(7,13,23,.1); border-color: rgba(0,132,204,.35); }
.acard .meta { display: flex; gap: 12px; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-500); margin-bottom: 14px; }
.acard h3 { font-size: 1.16rem; line-height: 1.4; margin-bottom: 10px; }
.acard h3 a { color: var(--text-900); }
.acard h3 a:hover { color: var(--brand-500); }
.acard p { color: var(--text-500); font-size: .92rem; flex: 1; }
.acard .card-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-size: .86rem; font-weight: 600; color: var(--ink-900); }
.acard .card-link i { font-style: normal; transition: transform .35s var(--ease); }
.acard:hover .card-link { color: var(--brand-500); }
.acard:hover .card-link i { transform: translateX(6px); }

@media (max-width: 1024px) { .acard-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) {
  .acard-grid { grid-template-columns: 1fr; }
  /* 移动端抽屉内下拉展开 */
  .main-nav .has-dropdown > a { display: flex; align-items: center; justify-content: space-between; }
  .main-nav .dropdown {
    position: static; transform: none; min-width: 0; width: 100%;
    background: transparent; backdrop-filter: none; border: 0;
    border-left: 2px solid rgba(0,132,204,.35);
    border-radius: 0; box-shadow: none;
    padding: 4px 0 12px 14px;
    opacity: 1; visibility: visible; pointer-events: auto;
    display: none; transition: none;
  }
  .main-nav .has-dropdown.open .dropdown { display: block; }
  .main-nav .dropdown::before { display: none; }
  .dropdown .dd-links a { font-size: .92rem; color: rgba(255,255,255,.7); padding: 6px 8px; }
  .dropdown .dd-label { color: var(--brand-300); font-size: .68rem; }
}

/* 纵向分类下拉 */
.dropdown .dd-item a {
  display: block; padding: 9px 12px; border-radius: 8px;
  color: rgba(255,255,255,.82); font-size: .92rem; font-weight: 500;
  transition: color .25s ease, background .25s ease, padding-left .25s var(--ease);
}
.dropdown .dd-item a:hover { color: #fff; background: rgba(0,132,204,.14); padding-left: 18px; }
.insight-group { scroll-margin-top: 110px; }

/* 下拉菜单：明确窄版纵向排列 */
.dropdown { min-width: 250px; display: flex; flex-direction: column; gap: 2px; }
.dropdown .dd-item { width: 100%; }
.dropdown .dd-item a { display: block; width: 100%; white-space: nowrap; }
.dropdown .dd-all { margin-top: 8px; }

/* 修复：导航与下拉之间的 hover 桥接区（防止下移时菜单消失） */
.dropdown::before {
  content: "";
  position: absolute;
  top: -14px; left: 0; right: 0;
  height: 14px;
}

/* 分类页：产品卡片/列表与下方深蓝 CTA 之间留白 */
.cat-view + .cta-band { margin-top: clamp(48px, 6vw, 88px); }

/* ---------- 社媒图标 ---------- */
.social-row { display: flex; gap: 12px; }
.social-link {
  width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: color .3s ease, background .3s ease, border-color .3s ease, transform .35s var(--ease);
}
.social-row .social-link { color: #aab6c3; border: 1px solid rgba(143,208,240,.22); }
.social-row-light .social-link { color: var(--text-500); border: 1px solid var(--line); }
.social-link:hover {
  color: #fff; background: var(--brand-500); border-color: var(--brand-500);
  transform: translateY(-3px);
}

/* ---------- 可访问性：键盘焦点 ---------- */
:focus-visible { outline: 2px solid var(--brand-400); outline-offset: 3px; border-radius: 4px; }

/* 下拉菜单键盘支持（focus-within） */
.has-dropdown:focus-within .dropdown {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition: opacity .3s ease, transform .35s var(--ease);
}

/* 移动端：规格表横向滚动，避免窄屏溢出 */
@media (max-width: 640px) {
  .spec-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; white-space: nowrap; }
}

/* 页脚联系方式 */
.footer-contact-links { display: flex; flex-direction: column; gap: 6px; margin-top: 20px; }
.footer-contact-links a { font-size: .92rem; color: #aab6c3; width: fit-content; }
.footer-contact-links a:hover { color: var(--cyan-200); padding-left: 4px; }

/* ---------- 地图 ---------- */
.map-wrap { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.map-wrap iframe { display: block; width: 100%; height: 360px; border: 0; }

/* ---------- 选型引导入口条 ---------- */
.guide-strip {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  background: var(--ice-100); color: var(--text-900);
  border: 1px solid var(--line); border-radius: 14px; padding: 24px 28px; margin-bottom: 28px;
}
.guide-strip span { font-family: var(--font-display); font-size: 1.05rem; color: var(--text-900); }

/* ---------- 选型引导工具 ---------- */
.quiz { border: 1px solid var(--line); border-radius: 16px; padding: 48px; background: #fff; box-shadow: var(--shadow); }
.quiz-progress { display: flex; align-items: center; gap: 16px; margin-bottom: 36px; }
.quiz-progress span { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-500); font-weight: 600; white-space: nowrap; }
.quiz-bar { flex: 1; height: 4px; background: var(--line); border-radius: 4px; overflow: hidden; }
.quiz-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--brand-500), var(--brand-300)); border-radius: 4px; transition: width .4s var(--ease); }
.quiz-step { display: none; }
.quiz-step.active { display: block; animation: tabIn .5s var(--ease); }
.quiz-step h2 { margin: 12px 0 26px; }
.quiz-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.quiz-opt {
  text-align: left; padding: 22px 20px; border: 1px solid var(--line); border-radius: 12px; background: #fff;
  font-family: var(--font-body); cursor: pointer;
  transition: border-color .25s ease, background .25s ease, transform .3s var(--ease), box-shadow .3s var(--ease);
}
.quiz-opt:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(0,132,204,.4); }
.quiz-opt.selected { border-color: var(--brand-500); background: var(--ice-50); box-shadow: 0 0 0 3px rgba(0,132,204,.15); }
.quiz-opt strong { display: block; font-family: var(--font-display); font-size: 1.1rem; color: var(--text-900); }
.quiz-opt span { font-size: .85rem; color: var(--text-500); }
.quiz-opt.hidden { display: none; }
.quiz-nav { display: flex; gap: 12px; margin-top: 28px; }
.quiz-result { scroll-margin-top: calc(var(--header-h) + 20px); }
.qr-card {
  display: flex; gap: 24px; align-items: center; flex-wrap: wrap;
  border: 1px solid var(--line); border-radius: 16px; padding: 28px; background: var(--ice-50);
}
.qr-card img { width: 280px; max-width: 100%; border-radius: 8px; }
.qr-info { flex: 1; min-width: 260px; }
.qr-info h3 { font-size: 1.4rem; margin-bottom: 6px; }
.qr-specs { display: flex; gap: 20px; margin: 16px 0 20px; }
.qr-specs div span { display: block; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-500); }
.qr-specs div strong { font-family: var(--font-display); font-size: 1.1rem; color: var(--text-900); }
.qr-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 430px; }
.qr-actions .btn { width: 100%; min-height: 48px; padding: 12px 18px; text-align: center; white-space: nowrap; }
@media (max-width: 640px) {
  .quiz { padding: 28px 20px; }
  .qr-card { flex-direction: column; align-items: stretch; gap: 20px; padding: 20px; }
  .qr-card img { width: 100%; }
  .qr-info { min-width: 0; width: 100%; }
  .qr-specs { justify-content: space-between; gap: 12px; }
  .qr-actions { width: 100%; gap: 10px; }
  .qr-actions .btn { font-size: .78rem; padding: 11px 10px; }
}
@media (max-width: 360px) { .qr-actions { grid-template-columns: 1fr; } }

/* ---------- 联系页排版 ---------- */
.contact-form-card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 36px; box-shadow: var(--shadow);
}
/* 同意勾选框：恢复为正常复选框（覆盖 .form-field input 的输入框样式） */
.form-consent { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; line-height: 1.6; color: var(--text-500); font-size: .76rem; margin-bottom: 0 !important; }
.contact-form-card .btn[type="submit"] { margin-top: 16px; }
.form-consent input[type="checkbox"] {
  width: 18px; height: 18px; flex: none; padding: 0; margin: 2px 0 0;
  border: 1px solid var(--line); border-radius: 4px; background: #fff;
  accent-color: var(--brand-500); cursor: pointer;
}
.form-hp { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-note { min-height: 1.5em; }
form[aria-busy="true"] button[type="submit"] { cursor: wait; opacity: .72; }
@media (max-width: 640px) { .contact-form-card { padding: 24px 18px; } }

/* 联系页 Follow Us 社媒图标：蓝色 + 双倍尺寸 + 下移留白 */
.contact-info .social-row { gap: 16px; margin-top: 24px; }
.contact-info .social-row .social-link {
  width: 84px; height: 84px;
  color: var(--brand-500); border-color: rgba(0,132,204,.35);
}
.contact-info .social-row .social-link svg { width: 36px; height: 36px; }
.contact-info .social-row .social-link:hover { color: #fff; background: var(--brand-500); border-color: var(--brand-500); }
@media (max-width: 480px) {
  .contact-info .social-row .social-link { width: 64px; height: 64px; }
  .contact-info .social-row .social-link svg { width: 28px; height: 28px; }
}

/* ---------- 产品图相册（电商式） ---------- */
.pgallery { width: 100%; }
.pg-main {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden;
  border-radius: 16px; background: var(--ice-100);
  border: 1px solid var(--line); cursor: zoom-in; padding: 0; width: 100%;
}
.pg-main picture, .pg-main img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.pgallery:hover .pg-main img { transform: scale(1.06); }
.pg-thumbs { display: flex; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.pg-thumb {
  width: 92px; aspect-ratio: 4 / 3; padding: 0; border-radius: 8px; overflow: hidden;
  border: 2px solid var(--line); background: none; cursor: pointer;
  transition: border-color .25s ease, transform .25s var(--ease);
}
.pg-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pg-thumb:hover { transform: translateY(-2px); }
.pg-thumb.active { border-color: var(--brand-500); }

/* ---------- 灯箱 ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(7,13,23,.94);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility 0s linear .3s;
}
.lightbox.open { opacity: 1; visibility: visible; transition: opacity .3s ease; }
.lightbox-open { overflow: hidden; }
.lightbox img { max-width: 92vw; max-height: 84vh; border-radius: 8px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lb-btn {
  position: fixed; z-index: 301; width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28);
  color: #fff; font-size: 1.2rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .25s ease, transform .25s var(--ease);
}
.lb-btn:hover { background: var(--brand-500); transform: scale(1.06); }
.lb-close { top: 24px; right: 24px; }
.lb-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lb-prev:hover { transform: translateY(-50%) scale(1.06); }
.lb-next { right: 24px; top: 50%; transform: translateY(-50%); }
.lb-next:hover { transform: translateY(-50%) scale(1.06); }
@media (max-width: 640px) { .pg-thumb { width: 76px; aspect-ratio: 4 / 3; } .lb-prev { left: 12px; } .lb-next { right: 12px; } }

/* ---------- 页脚细节 ---------- */
/* Explore / Products 链接：蓝色圆点 bullet + 紧凑行距 */
.footer-links li { list-style: none; position: relative; padding-left: 15px; margin-bottom: 7px; font-size: .9rem; }
.footer-links li::before {
  content: ""; position: absolute; left: 0; top: .52em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--brand-500);
}
/* 联系方式前极简 icon */
.footer-contact-links a { display: flex; align-items: center; gap: 9px; }
.footer-contact-links svg { flex: none; width: 15px; height: 15px; opacity: .9; }
/* 社媒图标与上方地址信息留白 */
.site-footer .social-row { margin-top: 30px; }

/* 选型引导区与 Hero 留白减半 */
.section-tight { padding-top: clamp(36px, 4.5vw, 64px); }

/* 预约页：同意文案与提交按钮之间留白（呼吸感） */
#booking-form .btn[type="submit"] { margin-top: 28px; }

/* ---------- About 页新版式 ---------- */
.about-display {
  font-size: clamp(2.2rem, 5.2vw, 4.2rem);
  letter-spacing: -.02em; font-weight: 300;
  margin: 18px 0 44px; color: var(--text-900);
}
.about-display em {
  font-family: var(--font-accent); font-style: italic; font-weight: 300;
  color: var(--brand-500);
}
.about-intro-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: start; }
.about-lead { font-size: 1.22rem; line-height: 1.75; color: var(--text-700); }
.about-details p { color: var(--text-500); margin-bottom: 14px; }
.about-details ul { margin: 14px 0 26px; padding-left: 20px; color: var(--text-500); }
.about-details li { margin-bottom: 8px; }

.band-image {
  position: relative; min-height: 62vh;
  display: flex; align-items: center; overflow: hidden; isolation: isolate;
}
.band-image img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.band-overlay {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(7,13,23,.9) 0%, rgba(7,13,23,.55) 55%, rgba(7,13,23,.25) 100%);
}
.band-quote { max-width: 820px; color: #fff; padding: 110px 0; }
.band-quote .eyebrow { color: var(--cyan-300); }
.band-quote .eyebrow::before { background: var(--cyan-300); }
.band-quote blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.4vw, 2.6rem);
  font-weight: 300; line-height: 1.35; color: #fff; margin-top: 20px;
}

.about-caps { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; }
.acap {
  border-top: 1px solid var(--line); padding: 34px 0 30px;
  display: flex; gap: 26px; align-items: flex-start;
  transition: padding-left .35s var(--ease);
}
.acap:hover { padding-left: 12px; }
.acap-num {
  font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 300; color: var(--brand-500); line-height: 1; flex: none;
}
.acap h3 { font-size: 1.15rem; margin-bottom: 8px; }
.acap p { color: var(--text-500); font-size: .95rem; }

@media (max-width: 1024px) {
  .about-intro-grid { grid-template-columns: 1fr; gap: 28px; }
  .about-caps { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .band-image { min-height: 50vh; }
  .band-quote { padding: 70px 0; }
}

/* ---------- 分类页工具栏 + 视图切换 ---------- */
.cat-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.cat-count {
  font-family: var(--font-display); font-size: .82rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--text-500);
}
.view-toggle {
  display: flex; gap: 4px; background: var(--ice-100);
  border: 1px solid var(--line); border-radius: 999px; padding: 4px;
}
.view-btn {
  width: 40px; height: 34px; border: 0; border-radius: 999px;
  background: transparent; color: var(--text-500); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .25s ease, color .25s ease, box-shadow .25s ease;
}
.view-btn svg { width: 17px; height: 17px; }
.view-btn:hover { color: var(--brand-500); }
.view-btn.active {
  background: #fff; color: var(--brand-500);
  box-shadow: 0 2px 8px rgba(16,35,58,.12);
}

/* ---------- 列表视图 ---------- */
.pcard-grid.list-mode { grid-template-columns: 1fr; }
.pcard-grid.list-mode .pcard { flex-direction: row; align-items: stretch; }
.pcard-grid.list-mode .pcard-media { width: 320px; flex: none; aspect-ratio: 4 / 3; }
.pcard-grid.list-mode .pcard-body { padding: 20px 30px; justify-content: center; }
@media (max-width: 768px) {
  .pcard-grid.list-mode .pcard { flex-direction: column; }
  .pcard-grid.list-mode .pcard-media { width: 100%; aspect-ratio: 4 / 3; }
  .pcard-grid.list-mode .pcard-body { padding: 16px 20px; }
}

/* ---------- 分类页：Featured Systems 式产品卡（4:3 全图遮罩） ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.cat-grid .show-card { aspect-ratio: 4 / 3; min-height: 0; }
.cat-grid .show-card-body { padding: 26px 26px 24px; }
.cat-grid .show-card h3 { font-size: 1.35rem; }
.cat-grid .show-card p { margin-bottom: 12px; }
.cat-grid .show-specs { margin-top: 14px; }
.show-card .card-link {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 18px; color: #fff; font-size: .88rem; font-weight: 600;
  transition: color .3s ease;
}
.show-card .card-link i { font-style: normal; transition: transform .35s var(--ease); }
.show-card:hover .card-link { color: var(--cyan-200); }
.show-card:hover .card-link i { transform: translateX(6px); }
@media (max-width: 768px) { .cat-grid { grid-template-columns: 1fr; } }

/* ---------- 分类页：列表视图条目 ---------- */
.cat-view-list { display: flex; flex-direction: column; gap: 20px; }
.litem {
  display: flex; align-items: stretch;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: #fff; cursor: pointer;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s ease;
}
.litem:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(16,35,58,.10); border-color: rgba(0,132,204,.25); }
.litem-media { width: 320px; flex: none; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ice-100); }
.litem-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.litem:hover .litem-media img { transform: scale(1.06); }
.litem-body { padding: 26px 30px; display: flex; flex-direction: column; justify-content: center; }
.litem-body h3 { font-size: 1.25rem; margin: 8px 0 6px; }
.litem-body h3 a { color: var(--text-900); }
.litem-body h3 a:hover { color: var(--brand-500); }
.litem-body p { color: var(--text-500); font-size: .92rem; margin-bottom: 12px; }
.litem .show-specs { margin-bottom: 14px; }
.litem .show-specs div span { color: var(--text-500); }
.litem .show-specs div strong { color: var(--text-900); }
.litem .card-link { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-900); font-weight: 600; font-size: .88rem; }
.litem .card-link i { font-style: normal; transition: transform .35s var(--ease); }
.litem:hover .card-link { color: var(--brand-500); }
.litem:hover .card-link i { transform: translateX(6px); }
@media (max-width: 768px) {
  .cat-view-list { gap: 0; }
  .litem {
    display: grid; grid-template-columns: 108px minmax(0, 1fr); gap: 16px;
    align-items: center; padding: 18px 0;
    border: 0; border-top: 1px solid var(--line); border-radius: 0;
    background: transparent;
  }
  .litem:last-child { border-bottom: 1px solid var(--line); }
  .litem-media { width: 108px; aspect-ratio: 1; border-radius: 4px; }
  .litem-body { min-width: 0; padding: 0; }
  .litem-body .pcard-tag { font-size: .62rem; letter-spacing: .12em; }
  .litem-body h3 { font-size: 1rem; line-height: 1.3; margin: 5px 0 4px; }
  .litem-body p {
    display: -webkit-box; overflow: hidden; margin-bottom: 8px;
    font-size: .78rem; line-height: 1.45;
    -webkit-box-orient: vertical; -webkit-line-clamp: 2;
  }
  .litem .show-specs { gap: 10px; flex-wrap: nowrap; margin: 0 0 8px; }
  .litem .show-specs div { min-width: 0; }
  .litem .show-specs div span { font-size: .55rem; letter-spacing: .08em; }
  .litem .show-specs div strong { font-size: .88rem; }
  .litem .card-link { font-size: .76rem; }
}

/* 保证 hidden 属性始终隐藏（防止作者样式覆盖 display） */
[hidden] { display: none !important; }

/* ---------- Hero 右下角选型引导卡片 ---------- */
.page-hero { position: relative; }
.hero-guide {
  position: absolute; right: 32px; bottom: 32px; z-index: 2;
  display: flex; align-items: center; gap: 14px;
  background: transparent; border: 0; border-radius: 14px;
  padding: 10px 14px; color: #fff;
  transition: transform .35s var(--ease), color .3s ease;
}
.hero-guide:hover { transform: translateY(-3px); }
.hero-guide:hover .hero-guide-text strong { color: var(--cyan-200); }
.hero-guide-icon {
  width: 38px; height: 38px; border-radius: 50%; flex: none;
  background: var(--brand-500); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.hero-guide-text { display: flex; flex-direction: column; line-height: 1.35; }
.hero-guide-text strong { font-family: var(--font-display); font-size: .95rem; }
.hero-guide-text small { color: rgba(255,255,255,.65); font-size: .78rem; }
@media (max-width: 768px) {
  .hero-guide { position: static; margin-top: 26px; width: fit-content; }
  .page-hero { padding-bottom: 56px; }
}

/* ---------- 产品卡：文字集中下 1/3 + 强化底部遮罩 ---------- */
.cat-grid .show-card::after {
  background: linear-gradient(180deg, rgba(7,13,23,.12) 45%, rgba(7,13,23,.72) 70%, rgba(7,13,23,1) 100%);
}
.cat-grid .show-card-body { padding: 20px 24px 20px; }
.cat-grid .show-card .tag { margin-bottom: 6px; }
.cat-grid .show-card h3 { font-size: 1.28rem; margin: 6px 0 4px; }
.cat-grid .show-card p { font-size: .88rem; margin-bottom: 10px; max-width: 94%; }
.cat-grid .show-specs { margin-top: 10px; }
.cat-grid .show-card .card-link { margin-top: 12px; }

/* 产品卡：产品名淡黄色 */
.cat-grid .show-card h3 { margin: 0 0 5px; font-weight: 700; }
.cat-grid .show-card h3 a { color: #fff; }
.cat-grid .show-card h3 a:hover { color: var(--cyan-200); }

/* FAQ 页：质保政策入口 */
.faq-warranty-link { text-align: center; margin-top: 40px; color: var(--text-500); font-size: .95rem; }
.faq-warranty-link a { font-weight: 600; }

/* ---------- Mobile refinement ---------- */
@media (max-width: 768px) {
  :root { --header-h: 72px; }

  .container { padding-left: 20px; padding-right: 20px; }
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 36px; }
  .section-head h2 { margin-top: 13px; }
  h1 { font-size: 2.25rem; line-height: 1.12; }
  h2 { font-size: 1.75rem; line-height: 1.2; }
  .eyebrow { gap: 10px; font-size: .68rem; letter-spacing: .18em; }
  .eyebrow::before { width: 26px; }

  .site-header.scrolled {
    height: 62px;
    background: rgba(7, 13, 23, .94);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .brand img { height: 44px; }
  .site-header.scrolled .brand img { height: 40px; }
  .nav-toggle { width: 44px; height: 44px; }
  body.nav-open { overflow: hidden; touch-action: none; }
  .main-nav {
    width: min(88vw, 360px); max-width: none;
    height: 100dvh; bottom: auto;
    padding: calc(84px + env(safe-area-inset-top, 0px)) 26px calc(32px + env(safe-area-inset-bottom, 0px));
    overflow-y: auto; overscroll-behavior: contain;
  }
  body.admin-bar .main-nav { height: calc(100dvh - 46px); }
  .main-nav ul { gap: 2px; }
  .main-nav a { display: flex; align-items: center; min-height: 44px; padding: 7px 0; font-size: 1.3rem; }
  .dropdown .dd-item a, .dropdown .dd-all a { min-height: 42px; }
  .main-nav .has-dropdown { width: 100%; }
  .main-nav .has-dropdown:focus-within .dropdown,
  .main-nav .has-dropdown.open .dropdown {
    width: 100%; max-width: 100%;
    transform: none;
  }
  .main-nav .dropdown .dd-item a,
  .main-nav .dropdown .dd-all a {
    width: 100%; white-space: normal;
  }

  .hero-slide .container { min-height: 600px; }
  body.admin-bar .hero,
  body.admin-bar .hero-slide .container { height: calc(100svh - 46px); min-height: 600px; }
  .hero-content,
  .hero-slide .hero-content { width: 100%; padding: 104px 0 82px; }
  .hero-content h1,
  .hero-content .hero-title { font-size: 1.8rem; line-height: 1.12; margin: 18px 0 20px; }
  .hero-slide:nth-child(1) .hero-media img { object-position: 28% center; }
  .hero-slide:nth-child(3) .hero-media img { object-position: 70% center; }
  .hero-content p { font-size: 1rem; line-height: 1.65; }
  .hero-cta { display: grid; grid-template-columns: 1fr; gap: 10px; width: 100%; margin-top: 28px; }
  .hero-cta .btn { width: 100%; min-height: 50px; text-align: center; }
  .hero-controls { bottom: 16px; }
  .hero-dots button { min-width: 34px; height: 38px; }
  .marquee { padding: 16px 0; }
  .marquee span { padding: 0 28px; gap: 56px; font-size: .78rem; }

  .page-hero { padding: 80px 0 44px; }
  .page-hero .lead { margin-top: 14px; font-size: 1rem; line-height: 1.65; }
  .breadcrumb { gap: 6px; margin-bottom: 20px; font-size: .76rem; line-height: 1.45; }
  .breadcrumb:has(a:nth-of-type(2)) .current,
  .breadcrumb:has(a:nth-of-type(2)) .sep:last-of-type { display: none; }
  .hero-guide { margin-top: 22px; padding: 8px 0; }
  .spec-pills { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 22px; }
  .spec-pill { justify-content: space-between; min-width: 0; padding: 9px 14px; }
  .spec-pill:first-child { grid-column: 1 / -1; }

  .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 13px 26px; }
  .cards, .posts, .acard-grid, .cat-grid { gap: 16px; }
  .ecard { min-height: 400px; }
  .ecard-body { padding: 28px 22px 24px; }
  .show-card { min-height: 400px; }
  .show-card-body { padding: 28px 22px; }
  .show-specs { gap: 18px; flex-wrap: wrap; }
  .cat-grid .show-card { min-height: 300px; aspect-ratio: auto; }
  .cat-grid .show-card-body { padding: 22px 20px; }
  .cat-grid .show-card p { max-width: 100%; }
  .acard { padding: 24px 22px; }
  .acard .meta { flex-wrap: wrap; row-gap: 4px; }

  .stats { gap: 0; }
  .stat { padding: 22px 8px; }
  .stat-label { font-size: .68rem; letter-spacing: .1em; }

  .contact-grid, .split { gap: 32px; }
  .contact-grid > *, .split > *, .pgallery { min-width: 0; }
  .contact-form-card { padding: 22px 18px; border-radius: 8px; }
  .form-grid { gap: 16px; }
  .form-field input, .form-field select, .form-field textarea,
  .footer-news input { font-size: 16px; }
  .form-field input, .form-field select { min-height: 50px; }
  .form-consent { font-size: .82rem; }
  .contact-form-card .btn[type="submit"] { width: 100%; }
  .map-wrap { border-radius: 8px; }
  .map-wrap iframe { height: 280px; }

  .tab-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; overflow: visible; }
  .tab-btn { min-width: 0; padding: 14px 4px; font-size: .78rem; text-align: center; }
  .tab-panel { padding-top: 28px; }
  .tab-panel h2, .article-body h2 { font-size: 1.4rem; margin-top: 34px; }
  .article-body h3 { font-size: 1.1rem; }
  .article-body blockquote { padding: 10px 16px; }
  .spec-table { scrollbar-width: thin; }
  .pg-thumbs { width: 100%; max-width: 100%; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
  .pg-thumb { flex: 0 0 76px; min-height: 57px; }

  .faq-q { min-height: 58px; padding: 18px 18px; font-size: .96rem; }
  .faq-a-inner { padding: 0 18px 20px; }
  .quiz { padding: 26px 18px; border-radius: 8px; }
  .quiz-options { grid-template-columns: 1fr; }
  .quiz-opt { min-height: 72px; padding: 18px 16px; }
  .guide-strip { padding: 20px; border-radius: 8px; }
  .guide-strip .btn { width: 100%; }

  .cta-band { padding: 64px 0; }
  .cta-band p { margin-bottom: 28px; }
  .cta-band .btn { width: 100%; }
  .cta-band .btn + .btn { margin: 10px 0 0 !important; }

  .site-footer { padding-top: 56px; }
  .footer-top { gap: 34px; padding-bottom: 40px; }
  .site-footer h4 { margin-bottom: 14px; }
  .footer-links li { margin-bottom: 2px; }
  .footer-links a { display: block; min-height: 38px; padding: 6px 0; }
  .footer-bottom { flex-direction: column; padding: 20px 0 calc(24px + env(safe-area-inset-bottom, 0px)); line-height: 1.7; }
  .back-top { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: 44px; height: 44px; }
}

/* Hostinger AI assistant is not localized and obscures mobile actions. */
.kodee-fab { display: none !important; }

@media (max-width: 380px) {
  .container { padding-left: 18px; padding-right: 18px; }
  .hero-content h1,
  .hero-content .hero-title,
  h1 { font-size: 1.64rem; }
  .spec-pill { font-size: .76rem; }
}

@media (hover: none), (pointer: coarse) {
  .ecard:hover img, .show-card:hover img, .pcard:hover .pcard-media img, .litem:hover .litem-media img, .pgallery:hover .pg-main img { transform: none; }
  .ecard:hover, .show-card:hover, .pcard:hover, .litem:hover, .acard:hover, .cap:hover, .quiz-opt:hover { transform: none; }
}
