/* ============================================================
   about/css.css —— 关于我们单页（结构化分节）
   1) 图文分节  2) 图册  3) 360 展厅  4) 证书  5) 响应式
   ============================================================ */

/* ---------- 1) 图文分节 ---------- */
.about-split {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:56px;align-items:center}
.about-split.is-reverse .about-split-media {order:-1}
.about-split-media img {display:block;width:100%;border-radius:var(--r);object-fit:cover}
.about-split h2 {margin:0 0 18px;font-size:clamp(32px,3.2vw,48px);font-weight:600;line-height:1.12;letter-spacing:0}
.about-split > div > p {margin:0 0 18px;color:var(--ink);font-size:15px;line-height:1.7}
.about-points {display:grid;gap:16px;margin:20px 0 0;padding:0;list-style:none}
.about-points li {position:relative;padding-left:22px;color:var(--ink);font-size:15px;line-height:1.7}
.about-points li::before {content:"";position:absolute;left:0;top:.72em;width:8px;height:2px;background:var(--o)}
.about-warm {background:#faf9f7}

/* ---------- 2) 生产环境图册 ---------- */
.about-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.about-grid img {display:block;width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:var(--r)}

/* ---------- 3) 360 展厅 · 大图卡片 + 页内查看器（对齐设计稿 vr-tour） ---------- */
.about-vr-section {background:#f5f4f1}
.about-vr-intro {margin-bottom:24px}
.about-vr-intro h2 {margin:0;color:#202328;font-size:clamp(34px,4vw,56px);font-weight:600;line-height:1.08;letter-spacing:-.045em}
.about-vr-stage {position:relative;overflow:hidden;min-height:470px;height:clamp(470px,47vw,650px);border-radius:12px;background:#161e25;box-shadow:0 20px 50px rgba(26,32,38,.12)}
.about-vr-cover,.about-vr-viewer {position:absolute;inset:0}
.about-vr-cover[hidden],.about-vr-viewer[hidden] {display:none}
.about-vr-cover img {width:100%;height:100%;object-fit:cover}
.about-vr-cover::after {position:absolute;inset:0;background:linear-gradient(90deg,rgba(11,19,26,.86) 0%,rgba(11,19,26,.58) 47%,rgba(11,19,26,.09) 100%);content:""}
.about-vr-cover-content {position:absolute;z-index:1;top:50%;left:clamp(30px,6vw,88px);display:flex;align-items:flex-start;flex-direction:column;transform:translateY(-50%);color:#fff}
.about-vr-orbit {display:grid;place-items:center;width:74px;height:74px;margin-bottom:24px;border:1px solid rgba(255,255,255,.62);border-radius:50%;background:rgba(255,255,255,.1);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}
.about-vr-orbit svg {width:43px;height:43px;fill:none;stroke:#fff;stroke-linecap:round;stroke-linejoin:round;stroke-width:2.4}
.about-vr-cover-content strong {margin:0 0 12px;color:#fff;font-size:clamp(35px,5vw,66px);font-weight:700;line-height:1.1;letter-spacing:-.05em}
.about-vr-cover-hint {font-size:15px;color:rgba(255,255,255,.86)}
.about-vr-start {min-height:54px;margin-top:28px;padding:13px 23px;border:1px solid var(--o);border-radius:var(--r);background:var(--o);color:#fff;font:inherit;font-size:14px;font-weight:700;cursor:pointer;transition:background .2s ease,border-color .2s ease}
.about-vr-start:hover,.about-vr-start:focus-visible {border-color:#e96832;background:#e96832;color:#fff}
.about-vr-start:focus-visible {outline:3px solid #f5a56e;outline-offset:4px}
.about-vr-cover-badge {position:absolute;z-index:1;top:28px;right:28px;padding:9px 13px;border:1px solid rgba(255,255,255,.62);border-radius:40px;color:#fff;font-size:11px;font-weight:800;letter-spacing:.14em}
.about-vr-viewer {display:flex;flex-direction:column}
.about-vr-viewer iframe {width:100%;flex:1 1 auto;min-height:0;border:0;background:#161e25}
.about-vr-viewer-bar {display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:62px;padding:13px 24px;background:#171d22;color:#fff;font-size:11px;font-weight:700;letter-spacing:.12em}
.about-vr-viewer-actions {display:flex;flex-wrap:wrap;gap:20px}
.about-vr-viewer-actions button,.about-vr-viewer-actions a {border:0;background:none;color:#fff;font:inherit;font-size:12px;font-weight:600;letter-spacing:normal;text-decoration:none;cursor:pointer}
.about-vr-viewer-actions a {color:#f9a577}
.about-vr-viewer-actions button:hover,.about-vr-viewer-actions a:hover {text-decoration:underline;text-underline-offset:4px}

/* ---------- 4) 证书资质 · 无缝轮播（对齐设计稿 certificate-carousel） ---------- */
.about-cert-head {margin-bottom:32px}
.about-cert-head h2 {white-space:nowrap;font-size:clamp(22px,3.2vw,48px)}
.about-certs-carousel {width:100%;overflow:hidden}
.about-certs-track {display:flex;width:max-content;will-change:transform}
.about-certs-carousel.is-ready .about-certs-track {animation:about-certs-scroll 28s linear infinite}
.about-certs-group {display:grid;grid-template-columns:repeat(4,clamp(260px,20vw,310px));flex:none;gap:clamp(18px,2vw,32px);padding-right:clamp(18px,2vw,32px)}
.about-certs-carousel figure {display:grid;grid-template-rows:minmax(0,1fr) auto;min-width:0;min-height:390px;margin:0;padding:18px;border:1px solid var(--line);border-radius:var(--r);background:#fff}
.about-certs-carousel img {display:block;width:100%;height:310px;object-fit:contain;border:0;border-radius:0;background:none}
.about-certs-carousel figcaption {margin-top:14px;color:var(--ink);font-size:12px;line-height:1.4;text-align:center}
.about-certs-carousel:hover .about-certs-track,.about-certs-carousel:focus-within .about-certs-track {animation-play-state:paused}
@keyframes about-certs-scroll {to {transform:translateX(-50%)}}
@media (prefers-reduced-motion: reduce) {
  .about-certs-carousel {overflow-x:auto;scrollbar-width:thin}
  .about-certs-carousel.is-ready .about-certs-track {animation:none}
  .about-certs-group[aria-hidden="true"] {display:none}
}

/* ---------- 5) 响应式 ---------- */
@media(max-width:900px) {
  .about-split {grid-template-columns:1fr;gap:28px}
  .about-split.is-reverse .about-split-media {order:0}
  .about-grid {grid-template-columns:1fr 1fr}
  .about-certs-group {grid-template-columns:repeat(4,clamp(200px,62vw,250px));gap:16px;padding-right:16px}
  .about-certs-carousel figure {min-height:350px;padding:14px}
  .about-certs-carousel img {height:270px}
  .about-cert-head {margin-bottom:26px}
  .about-cert-head h2 {white-space:normal;font-size:clamp(20px,6vw,30px)}
  .about-vr-intro {margin-bottom:20px}
  .about-vr-intro h2 {font-size:28px}
  .about-vr-stage {min-height:440px;height:530px}
  .about-vr-cover::after {background:linear-gradient(0deg,rgba(11,19,26,.89) 0%,rgba(11,19,26,.42) 80%)}
  .about-vr-cover-content {top:auto;right:26px;bottom:34px;left:26px;transform:none}
  .about-vr-cover-content strong {font-size:39px}
  .about-vr-cover-badge {top:20px;right:20px}
  .about-vr-viewer-bar {align-items:start;flex-direction:column;gap:8px;padding:11px 16px}
  .about-vr-viewer-actions {gap:16px}
}


/* 锚点定位（顶部固定导航占位） */
.page-about section[id] {scroll-margin-top:104px}

/* ---------- 6) 公司视频（对齐设计稿 company-video：封面图 + 播放按钮 + 内联 video） ---------- */
.about-split-media.about-video {position:relative;overflow:hidden;height:clamp(480px,34vw,620px);border-radius:var(--r);background:#171b21}
.about-video .about-video-poster,
.about-video .about-video-player {display:block;width:100%;height:100%;min-height:0;max-height:none;object-fit:cover;border-radius:inherit}
.about-video .about-video-player[hidden] {display:none}
.about-video-play {position:absolute;z-index:1;top:50%;left:50%;display:grid;width:78px;height:78px;padding:0;place-items:center;border:2px solid rgba(255,255,255,.92);border-radius:50%;background:var(--o);box-shadow:0 12px 35px rgba(0,0,0,.3);color:#fff;cursor:pointer;transform:translate(-50%,-50%);transition:background .18s ease,box-shadow .18s ease,scale .18s ease}
.about-video-play:hover {background:#db5d27;box-shadow:0 16px 42px rgba(0,0,0,.38);scale:1.07}
.about-video-play:focus-visible {outline:3px solid #fff;outline-offset:5px}
.about-video-play svg {width:29px;height:29px;margin-left:4px;fill:currentColor}
.about-video-play[hidden],
.about-video .about-video-poster[hidden],
.about-video-status[hidden] {display:none}
.about-video-status {position:absolute;z-index:2;right:14px;bottom:14px;left:14px;margin:0;padding:10px 14px;border-radius:var(--r);background:rgba(30,27,33,.9);color:#fff;font-size:13px;line-height:1.5}

@media(max-width:900px) {
  .about-split-media.about-video {height:clamp(330px,65vw,520px)}
}
@media (prefers-reduced-motion: reduce) {
  .about-video-play {transition:none}
}

/* ============================================================
   2b) 生产环境图册：3 张一屏 + 标题右侧箭头翻页（对齐设计稿）
   3a) OEM / ODM 区块按钮
   ============================================================ */
.about-gallery-head {display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:32px}
.about-gallery-head h2 {margin:0}
.about-gallery-controls {display:flex;align-items:center;gap:10px}
.about-gallery .btn-outline {border-color:rgba(30,27,33,.16);background:transparent;color:var(--ink)}
.about-gallery .btn-outline:hover, .about-gallery .btn-outline:focus-visible {border-color:var(--ink);background:transparent;color:var(--ink)}
.about-gallery-btn {width:44px;min-width:44px;height:44px;min-height:44px;padding:0;display:inline-flex;align-items:center;justify-content:center}
.about-gallery-btn span {display:block;font-size:26px;font-weight:400;line-height:1}
.about-gallery-btn:disabled, .about-gallery-btn:disabled:hover {border-color:var(--line);color:var(--muted);opacity:.52;cursor:not-allowed;transform:none}
.about-gallery-stage {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(18px,2vw,28px)}
.about-gallery-slide {overflow:hidden;border-radius:var(--r);aspect-ratio:3/2}
.about-gallery-slide[hidden] {display:none}
.about-gallery-slide img {display:block;width:100%;height:100%;object-fit:cover}
.about-oem-btn {margin-top:15px;min-height:48px;background:var(--ink);border-color:var(--ink);color:#fff}
.about-oem-btn:hover, .about-oem-btn:focus-visible {background:#332e38;border-color:#332e38;color:#fff}
@media(max-width:820px) {
  .about-gallery-head {margin-bottom:24px}
  .about-gallery-stage {grid-template-columns:1fr}
}
