/* ============================================================
   KINGRAYS — About Us page styles
   （结构对标 ven-dens.com/about-us/）
   ============================================================ */

/* ---------------- 通用区块标题（section-head / kicker / divider） ---------------- */
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-kicker {
  display: inline-block;
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 12px;
}

.section-head h2 {
  font-family: var(--font-head);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.15;
  margin-bottom: 14px;
  color: var(--ink);
}

.section-head p {
  color: var(--ink-3);
  font-size: 16px;
  line-height: 1.65;
}

.section-head-cats {
  position: relative;
  max-width: 100%;
  margin: 0 auto 32px;
  padding: 12px 0 4px;
  text-align: center;
}

.section-head-cats .section-kicker {
  display: inline-block;
  font-size: 15px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 16px;
}

.section-head-cats h2 {
  font-family: var(--font-head);
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.1;
  margin-bottom: 22px;
  color: var(--ink);
}

.section-divider {
  display: block;
  width: 140px;
  height: 3px;
  margin: 0 auto;
  background: var(--red);
  border-radius: 2px;
}

/* About hero: separate image, live text and supplied icons. */
.about-hero { position: relative; overflow: hidden; background: #fff4ed; border-bottom: 1px solid var(--line); }
.about-hero-bg { display: block; width: 100%; height: auto; }
.about-hero-content { position: absolute; top: 14%; left: 6.5%; width: 40%; color: #111; }
.about-hero-content h1 { font-family: var(--font-head); font-size: clamp(32px, 3vw, 60px); line-height: 1.1; margin: 0; font-weight: 700; }
.about-hero-rule { display: block; width: clamp(40px, 3.4vw, 66px); height: 5px; background: #ff6900; border-radius: 3px; margin: 1.1vw 0 1.6vw; }
.about-hero-subtitle { font-size: clamp(14px, 1.2vw, 24px); line-height: 1.5; font-weight: 600; margin: 0; }
.about-hero-services { list-style: none; display: grid; grid-template-columns: 1fr 1.3fr 1fr 1fr; padding: 0; margin: 3vw 0 0; }
.about-hero-services li { display: flex; flex-direction: column; align-items: center; gap: .8vw; padding: 0 10px; text-align: center; font-size: clamp(11px, .85vw, 17px); font-weight: 600; line-height: 1.35; }
.about-hero-services li + li { border-left: 1px solid #c7bfba; }
.about-hero-services img { width: clamp(24px, 2.08vw, 42px); height: clamp(24px, 2.08vw, 42px); object-fit: contain; mix-blend-mode: multiply; }
@media (max-width: 1000px) {
  .about-hero-content { width: 51%; top: 10%; left: 5%; }
  .about-hero-services { margin-top: 20px; }
  .about-hero-rule { margin: 12px 0 16px; height: 4px; }
}
@media (max-width: 700px) {
  .about-hero { display: flex; flex-direction: column; }
  .about-hero-content { position: relative; top: auto; left: auto; width: 100%; padding: 36px 24px 24px; order: -1; }
  .about-hero-content h1 { font-size: 38px; }
  .about-hero-subtitle { font-size: 16px; }
  .about-hero-services { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 0; margin-top: 28px; }
  .about-hero-services li { gap: 10px; font-size: 13px; }
  .about-hero-services li:nth-child(3) { border-left: 0; }
  .about-hero-services img { width: 32px; height: 32px; }
}

/* ---------------- 数据统计横幅（PCB 背景 + 暗色蒙版 + 四列数字） ---------------- */
.stats {
  position: relative;
  overflow: hidden;
  background: #0b1220;
  min-height: 340px;
}

/* 背景图完整等比展示（contain，不裁切），居中；上下留白由深色背景填充 */
.stats-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

/* 暗色蒙版：压暗 PCB 背景，让前景橙色数字清晰可读 */
.stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8, 10, 16, .82);
  z-index: 1;
}

.stats-inner {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 0 116px;
  align-content: center;
  text-align: center;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-label {
  font-size: 14px;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .85);
  max-width: 220px;
  margin-top: 14px;
}

.stat-num {
  font-family: var(--font-head);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 700;
  line-height: 1;
  color: var(--red);
}

/* ---------------- 公司介绍区（左文右图，对标首页 Who We Are） ---------------- */
.about {
  padding: 96px 0;
  background: #fff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

/* 左右滑入动画初始态 */
.about-reveal-left {
  opacity: 0;
  transform: translateX(-48px);
  transition: opacity .8s cubic-bezier(.22,.61,.36,1), transform .8s cubic-bezier(.22,.61,.36,1);
}

.about-reveal-right {
  opacity: 0;
  transform: translateX(48px);
  transition: opacity .8s cubic-bezier(.22,.61,.36,1), transform .8s cubic-bezier(.22,.61,.36,1);
}

.about.is-visible .about-reveal-left,
.about.is-visible .about-reveal-right {
  opacity: 1;
  transform: translateX(0);
}

.about-body .section-kicker { margin-bottom: 12px; }

.about-body {
  display: flex;
  flex-direction: column;
  padding: 0 40px;
}

.about-body h2 {
  font-family: var(--font-head);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.15;
  margin-bottom: 18px;
  color: var(--ink);
}

.about-body p {
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 14px;
}

.about-body p:last-of-type {
  margin-bottom: 0;
}

/* 图片区 */
.about-media {
  position: relative;
}

.about-media img {
  width: 100%;
  border-radius: 16px;
  display: block;
  box-shadow: 0 20px 48px rgba(18,18,18,.12);
}

/* ---------------- OUR STRENGTH（工厂实力） ---------------- */
.strength {
  padding: 96px 0;
  background: #fff;
}

/* 内容区收窄：左右留白加大到约 232px，匹配参考网站约 2/3 页宽的内容区 */
.strength .wrap {
  padding: 0 232px;
}

/* 左对齐标题区 */
.strength-head {
  text-align: left;
  margin-bottom: 24px;
}

.strength-head .section-kicker {
  display: inline-block;
  font-size: 14px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 12px;
}

.strength-head h2 {
  font-family: var(--font-head);
  font-size: clamp(32px, 3.6vw, 44px);
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.1;
  margin-bottom: 16px;
  color: var(--ink);
}

.strength-head .section-divider {
  display: block;
  width: 80px;
  height: 3px;
  margin: 0;
  background: var(--red);
  border-radius: 2px;
}

/* 整宽正文 */
.strength-intro {
  color: var(--ink-2);
  font-size: 16.5px;
  line-height: 1.7;
  margin-bottom: 44px;
}

/* 左列表 + 右图 两栏 */
.strength-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: end;
}
.strength-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  list-style: none;
}

.strength-list li {
  position: relative;
  padding-left: 36px;
}

/* 空心圆圈图标 */
.strength-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 16px;
  height: 16px;
  border: 2px solid var(--red);
  border-radius: 50%;
  background: transparent;
}

.strength-list li strong {
  display: block;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

.strength-list li span {
  display: block;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.65;
}

/* 右侧工厂图（在 3/4 基础上放大到 3/2 = 112.5%） */
.strength-media {
  width: 112.5%;
  justify-self: end;
}

.strength-media img {
  width: 100%;
  display: block;
  box-shadow: 0 20px 48px rgba(18,18,18,.12);
}

/* ---------------- WHY CHOOSE US（标签切换） ---------------- */
.whychoose {
  padding: 96px 0;
  background: var(--bg-alt);
}

.whychoose-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.wc-tab {
  position: relative;
  padding: 12px 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
  white-space: nowrap;
}

.wc-tab:hover {
  border-color: var(--red);
  color: var(--red);
}

.wc-tab.is-active {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
  font-weight: 600;
}

.whychoose-panels {
  max-width: 860px;
}

.wc-panel {
  display: none;
}

.wc-panel.is-active {
  display: block;
}

.wc-panel h3 {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--ink);
  margin-bottom: 14px;
}

.wc-panel p {
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.75;
}

/* ---------------- GET IN TOUCH CTA（全宽背景图 + 白色蒙版 + 居中内容） ---------------- */
.about-cta {
  position: relative;
  overflow: hidden;
  background: #f5f4f2;
}

/* 背景图完整等比展示（width:100% + height:auto），零裁切，区块高度随图片撑开 */
.about-cta-bg {
  display: block;
  width: 100%;
  height: auto;
}

/* 白色半透明蒙版：压淡背景图，衬托深色文字 */
.about-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, .72);
  z-index: 1;
}

.about-cta-inner {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 72px 80px;
}

.about-cta-inner .section-kicker {
  display: inline-block;
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 14px;
}

.about-cta-inner h2 {
  font-family: var(--font-head);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--ink);
  margin-bottom: 16px;
}

.about-cta-inner p {
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.7;
  max-width: 1120px;
  margin-bottom: 28px;
}

/* ---------------- Why Choose Us（复制自首页） ---------------- */
.why {
  padding: 80px 0;
  background: #fff;
}

.why-head {
  margin-bottom: 36px;
}

.why-head .section-kicker {
  font-size: 14px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 14px;
}

.why-head h2 {
  font-family: var(--font-head);
  font-size: clamp(32px, 3.6vw, 48px);
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.12;
  color: var(--ink);
  margin-bottom: 18px;
  white-space: nowrap;
}

.why-rule {
  display: inline-block;
  width: 230px;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
}

.why-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.why-tab {
  position: relative;
  border: 1px solid var(--line);
  background: #f5f4f2;
  color: var(--ink);
  font-size: 17px;
  font-weight: 500;
  padding: 12px 22px;
  border-radius: 4px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}

.why-tab:hover {
  border-color: var(--red);
  color: var(--red);
}

.why-tab.is-active {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
  font-weight: 600;
}

.why-tab.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--red);
}

.why-panels {
  position: relative;
  max-width: 1150px;
  margin: 0 auto;
}

.why-panel {
  display: none;
  position: relative;
  min-height: 366px;
}

.why-panel.is-active {
  display: block;
}

.why-media {
  position: absolute;
  left: calc(50% - 664px);
  top: 0;
  width: 640px;
  height: 366px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.why-media img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.why-body {
  margin-left: calc(50% + 24px);
  max-width: 460px;
}

.why-body h3 {
  font-family: var(--font-head);
  font-size: clamp(24px, 2.5vw, 30px);
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 16px;
  white-space: nowrap;
}

.why-body .why-rule {
  width: 90px;
  height: 1px;
  margin-bottom: 20px;
}

.why-body p {
  color: var(--ink-3);
  font-size: 16px;
  line-height: 1.6;
}

/* ---------------- Certifications（复制自首页） ---------------- */
.certs {
  padding: 88px 0;
  background: #fff;
}

.certs-scroll {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 240px;
  gap: 20px;
  overflow-x: auto;
  padding: 8px 4px 20px;
  scroll-snap-type: x mandatory;
}

.cert-card {
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 320px;
  padding: 16px;
}

.cert-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(18,18,18,.1); }

.cert-card img {
  max-width: 100%;
  max-height: 100%;
  display: block;
  object-fit: contain;
  border-radius: 6px;
}

.certs-scroll::-webkit-scrollbar { height: 8px; }
.certs-scroll::-webkit-scrollbar-track { background: #f2f0ee; border-radius: 4px; }
.certs-scroll::-webkit-scrollbar-thumb { background: #ccc; border-radius: 4px; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1560px) {
  .why-panel { position: static; min-height: 0; }
  .why-media { position: static; left: auto; width: 100%; max-width: 640px; }
  .why-body { margin-left: 0; max-width: none; margin-top: 24px; }
}

@media (max-width: 1400px) {
  .strength .wrap { padding: 0 140px; }
}

@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; gap: 44px; }
  .about-body { padding: 0; }
  .about-media { max-width: 560px; }
  .about-cta-inner { padding: 56px 48px; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 36px; padding: 0 48px; }
  .strength .wrap { padding: 0 48px; }
  .strength-grid { grid-template-columns: 1fr; gap: 40px; }
  .strength-media { width: 100%; max-width: 560px; justify-self: start; }
}

@media (max-width: 640px) {
  .strength, .whychoose { padding: 64px 0; }
  .stats-inner { gap: 28px; padding: 0 18px; }
  .stat-num { font-size: 32px; }
  .strength .wrap { padding: 0 18px; }
  .about-cta-inner { padding: 48px 18px; }
  .why-head h2 { white-space: normal; }
  .certs-scroll { grid-auto-columns: 180px; }
}

/* Service row enlarged 25% from the compact layout. */
@media (min-width: 701px) {
  .about-hero-services { width: 83.75%; }
  .about-hero-services li { padding: 0 7.5px; gap: .6875vw; font-size: clamp(11.25px, .7125vw, 15px); }
  .about-hero-services img { width: clamp(20px, 1.7375vw, 35px); height: clamp(20px, 1.7375vw, 35px); }
}

/* One-time, staggered entrance for the About hero copy and services. */
@keyframes about-hero-enter {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: no-preference) {
  .about-hero-content h1,
  .about-hero-rule,
  .about-hero-subtitle,
  .about-hero-services li {
    animation: about-hero-enter .7s cubic-bezier(.22, 1, .36, 1) both;
  }
  .about-hero-content h1 { animation-delay: .08s; }
  .about-hero-rule { animation-delay: .18s; }
  .about-hero-subtitle { animation-delay: .28s; }
  .about-hero-services li:nth-child(1) { animation-delay: .42s; }
  .about-hero-services li:nth-child(2) { animation-delay: .54s; }
  .about-hero-services li:nth-child(3) { animation-delay: .66s; }
  .about-hero-services li:nth-child(4) { animation-delay: .78s; }
}
