* { letter-spacing: 0 !important; }
:root { --c-muted: #536578; --c-accent: #2366ad; }
body { overflow-wrap: anywhere; }
button,input,select,textarea { font: inherit; }
button:disabled { opacity: .55; cursor: wait; }
:focus-visible { outline: 3px solid #2e7dd1; outline-offset: 3px; }
::selection { background: #d8eafe; color: #0b2d5e; }
input,textarea { caret-color: #0b2d5e; }
.lang-toggle { flex-shrink: 0; }
.lang-toggle button { border: 0; background: transparent; padding: 6px 12px; min-height: 44px; border-radius: 4px; color: var(--c-muted); font-size: .8rem; white-space: nowrap; }
.lang-toggle button.on { background: #fff; color: var(--c-primary); font-weight: 700; }
.pc-img img,.card-img img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.prod-card,.card { color: inherit; text-align: left; font: inherit; border-radius: 8px; }
.ps-item,.pd-tab { border-top: 0; border-right: 0; background: transparent; font: inherit; text-align: left; }
.ps-item { display: block; width: 100%; }
.prod-grid,.grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
.prod-card,.pc-body,.pd-info-area,.contact-left,.contact-right,.nav-logo,.brand-text { min-width: 0; }
.pc-body h4,.card-body h4 { overflow-wrap: anywhere; }
.field-wrap { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.field-wrap label { color: var(--c-text); font-size: .86rem; }
.contact-right input,.contact-right select,.contact-right textarea { font-size: 16px; }
.form-error { color: #b42318; }
.load-state { grid-column: 1 / -1; padding: 28px; color: var(--c-muted); text-align: center; }
.retry,.secondary-button { border: 1px solid #cad3dc; background: #fff; color: var(--c-primary); padding: 10px 18px; border-radius: 4px; min-height: 44px; }
.attachments { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.attachments a { display: inline-flex; gap: 8px; align-items: center; border-bottom: 1px solid; color: var(--c-accent); }
.lucide { width: 20px; height: 20px; flex-shrink: 0; }
.hero { height: calc(100svh - 112px); min-height: 560px; max-height: 850px; }
.hero-controls { position: absolute; bottom: 105px; right: 24px; z-index: 25; }
.hero-pause { background: #fff; color: var(--c-primary); border: 0; border-radius: 4px; width: 44px; height: 44px; display: grid; place-items: center; }
.hero-dots { gap: 8px; bottom: 100px; }
.hero-dots .dot,.hero-dots .dot.active { width: 44px; height: 44px; background: transparent; position: relative; }
.hero-dots .dot::after { content: ''; position: absolute; top: 20px; left: 0; right: 0; height: 4px; background: #b4bdc9; }
.hero-dots .dot.active::after { background: #fff; }
.hero.no-stats .hero-dots,.hero.no-stats .hero-controls { bottom: 18px; }
.hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }
.hero-video-overlay { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center; border: 0; background: rgba(6,26,56,.3); }
.hero-play-btn { width: 80px; height: 80px; display: grid; place-items: center; background: rgba(255,255,255,.9); border-radius: 50%; color: var(--c-primary); box-shadow: 0 4px 20px rgba(0,0,0,.3); }
.hero-play-btn .lucide { width: 32px; height: 32px; }
.pc-cat { font-size: .72rem; color: var(--c-accent); margin-bottom: 4px; }
.appearance-tag { padding: 6px 14px; background: var(--c-light); color: var(--c-primary); border-radius: 4px; font-size: .84rem; font-weight: 600; border: 1px solid rgba(11,45,94,.08); }
.hero-stats[hidden] { display: none; }
.hero-stats-inner { flex-wrap: wrap; gap: 24px 60px; }
.hero .hero-bg { transform: none !important; }
.mc-news-main,.mc-ni { text-align: left; border: 0; width: 100%; background: transparent; font: inherit; color: var(--c-text); }
.mc-news-main { padding: 0; cursor: pointer; }
.mc-news-main h4 { color: var(--c-primary); }
.mc-ni { border-bottom: 1px solid #dde3ea; }
.news-dialog { width: min(760px,calc(100% - 32px)); max-height: 85svh; margin: auto; border: 0; border-radius: 8px; padding: 28px; color: var(--c-text); }
.news-dialog::backdrop { background: #0009; }
.news-dialog h2 { font-size: 1.5rem; margin: 12px 0; padding-right: 40px; }
.news-dialog img { max-height: 320px; margin: 20px auto; object-fit: contain; }
.news-copy { white-space: pre-wrap; }
.dialog-close { position: absolute; right: 12px; top: 12px; width: 44px; height: 44px; display: grid; place-items: center; background: #edf1f5; border: 0; border-radius: 4px; }
.modal-content { border-radius: 8px; }
.modal-details { background: transparent; padding: 0; }
.modal-img { background-color: #fff; background-size: contain; background-position: center; background-repeat: no-repeat; }
.modal-body { padding: 52px 28px 28px; }
.modal-details td { overflow-wrap: anywhere; }
.spec-table { border-collapse: collapse; width: 100%; }
.spec-table td { border-bottom: 1px solid #dbe3ed; padding: 10px 8px; vertical-align: top; }
.spec-table td:first-child { width: 100px; color: var(--c-muted); }
.catalog-link { grid-column: 1 / -1; padding: 16px 0; color: var(--c-accent); text-decoration: underline; text-underline-offset: 4px; }
.cat-tab { border: 1px solid #cad3dc; min-height: 44px; font: inherit; }
.mc-news-body { flex-direction: column; }
.mc-ni { min-height: 44px; cursor: pointer; }
.pd-img-big { background-color: #fff; }
[hidden] { display: none !important; }
.news-copy,#pdDesc { white-space: pre-wrap; }
.catalog-description { margin: 18px 0; white-space: pre-wrap; }
.modal-info { min-width: 0; }
.search-box input { font-size: 16px; }
.search-box::before { content: ''; }
.search-box input { padding-left: 16px; }
.footer .ft-social a[hidden] { display: none !important; }
.hamburger { min-width: 44px; min-height: 44px; flex-shrink: 0; }
section { scroll-margin-top: 90px; }
.nav-logo .brand-en { font-size: 11px; }
.sec-label { text-transform: none; }
.founder-info { border-left: 0; }
@media(max-width:1100px) {
  .nav-inner { padding: 0 20px; gap: 12px; }
  .nav-links a { padding: 10px 12px; }
  .pd-main { gap: 24px; }
  .pd-img-area { flex: 0 0 40%; }
}
@media(max-width:1024px) {
  .prod-grid,.grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media(max-width:768px) {
  .nav-inner { gap: 6px; padding: 0 12px; }
  .nav-logo { gap: 6px; flex: 1; }
  .nav-logo img { width: 32px !important; height: 32px !important; }
  .nav-logo .brand-cn { font-size: .7rem; line-height: 1.3; }
  .nav-logo .brand-en { font-size: 11px; line-height: 1.25; }
  .nav-right { flex: 0 0 auto; }
  .lang-toggle { padding: 0; }
  .lang-toggle button { padding: 4px 8px; }
  .hero { min-height: 520px; height: calc(100svh - 110px); max-height: 700px; }
  .hero-content { padding: 0 24px; top: 43%; }
  .hero-text h1 { font-size: 2rem; }
  .hero-text p { font-size: .95rem; margin-bottom: 24px; }
  .hero-tag { margin-bottom: 14px; }
  .hero-btns { flex-direction: row; gap: 10px; }
  .btn-hero-primary,.btn-hero-outline { padding: 12px 18px; width: auto; }
  .hero-stats-inner { padding: 12px 20px; gap: 12px 20px; }
  .h-stat { flex: 1; min-width: 90px; }
  .h-label { font-size: .7rem; }
  .prod-grid,.grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .sol-inner,.about-inner,.prod-inner,.contact-inner,.footer-inner,.partners-inner,.mosaic-inner,.pd-inner { padding-left: 20px; padding-right: 20px; }
  .prod-sidebar .ps-item { width: auto; flex-shrink: 0; }
  .pd-main,.modal-body { flex-direction: column; }
  .pd-img-area { flex: auto; width: 100%; }
  .pd-img-big { height: 250px; }
  .pd-tab { padding: 14px 18px; }
  .modal-img { width: 100%; height: 220px; }
  .contact { padding: 56px 0; }
  .footer-inner { padding: 0 20px; }
  .ft-logo span { font-size: .95rem; }
  .modal-info h2 { font-size: 1.3rem; }
}
@media(max-width:480px) {
  .prod-grid,.grid { grid-template-columns: minmax(0,1fr); }
  .hero-text h1 { font-size: 1.9rem; }
  .hero-stats-inner { gap: 8px; }
  .h-stat .h-num { font-size: 1.3rem; }
  .h-stat { min-width: 65px; }
  .contact-right .form-row { flex-direction: column; }
  .hero-stats-inner { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); padding: 8px 20px; }
  .hero-controls,.hero-dots { bottom: 125px; }
  .hero-content { top: 38%; }
  .hero-text p { line-height: 1.5; }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  .hero-slide { transition: none; }
  .card:hover,.prod-card:hover,.p-logo:hover { transform: none; }
}

/* ===== 2026-10-28：页脚 Logo 位 ===== */
.ft-logo { gap: 14px; }
/* 白底贴合 Logo 本身：高度固定，宽度随 Logo 比例变化（方形≈56×56，横版最宽约 200） */
/* 不透明 Logo（照片、自带底色的图）直接显示、只做圆角，不再套白边；
   透明底 Logo 在深色页脚上看不清，才自动垫白底（site.js 检测后加 .is-transparent） */
.ft-logo-slot { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; overflow: hidden; line-height: 0; }
.ft-logo-slot.is-transparent { padding: 6px; background: #fff; }
.ft-logo-slot img { display: block; height: 44px; width: auto; max-width: 188px; object-fit: contain; }
/* 页头 Logo 同样按比例：覆盖原来写死的 44×44 */
.nav-logo img { width: auto !important; height: 44px !important; max-width: 160px; object-fit: contain; }
/* ===== 新闻图片位 ===== */
.mc-news-cover { display: block; width: 100%; border-radius: 8px; overflow: hidden; margin-bottom: 16px; background: #eef2f7; }
/* 按上传图片原比例显示，不裁切；过高的竖图限高并完整显示 */
.mc-news-cover img { display: block; width: auto; max-width: 100%; height: auto; max-height: 360px; margin: 0 auto; object-fit: contain; transition: transform .5s; }
.mc-news-cover.is-empty { aspect-ratio: 16 / 9; max-height: 240px; background: linear-gradient(135deg,#0b2d5e,#2e7dd1); }
.mc-news-main:hover .mc-news-cover img { transform: scale(1.04); }
.mc-news-cover.is-empty,.mc-ni-thumb.is-empty { display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.55); }
.mc-news-cover.is-empty svg { width: 48px; height: 48px; }
.mc-ni { align-items: center; gap: 12px; }
.mc-ni-thumb { flex: 0 0 72px; width: 72px; height: 48px; border-radius: 6px; overflow: hidden; background: linear-gradient(135deg,#0b2d5e,#2e7dd1); }
.mc-ni-thumb img { width: 100%; height: 100%; object-fit: cover; }
.mc-ni-thumb.is-empty svg { width: 20px; height: 20px; }
.mc-ni-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
/* ===== 联系人 ===== */
.ct-people { margin-top: 28px; }
.ct-people h4 { color: var(--c-primary); font-size: .95rem; font-weight: 700; margin-bottom: 12px; }
.ct-people-list { display: grid; grid-template-columns: repeat(auto-fill,minmax(200px,1fr)); gap: 12px; }
.ct-person { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; background: var(--c-light); border: 1px solid rgba(11,45,94,.08); border-radius: 8px; font-size: .84rem; min-width: 0; }
.ct-person strong { color: var(--c-primary); font-size: .92rem; }
.ct-person a { display: flex; align-items: center; gap: 6px; color: var(--c-text); overflow-wrap: anywhere; }
.ct-person a:hover { color: var(--c-accent); }
.ct-person svg { width: 14px; height: 14px; flex-shrink: 0; color: var(--c-accent); }
@media (max-width: 768px) {
  .mc-news-cover img { max-height: 280px; }
  .ft-logo-slot img { height: 38px; max-width: 150px; }
  .nav-logo img { height: 38px !important; max-width: 120px; }
  .ct-people-list { grid-template-columns: 1fr; }
}
