@charset "utf-8";

/* ============================================================
   about.css — 关于迪克 / 内页
   ============================================================ */

.page-about .site-wrap {
  width: var(--site-width-pct);
  max-width: var(--site-max-width);
}

/* ---------- 视频 Hero ---------- */
.about-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: #0a0a0a;
  color: #fff;
}

.about-hero__media {
  position: absolute;
  inset: 0;
}

.about-hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
}

.about-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.45) 55%, rgba(0,0,0,.72) 100%),
    radial-gradient(ellipse at center, transparent 30%, rgba(0,0,0,.35) 100%);
}

.about-hero__body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100svh;
  text-align: center;
  padding: clamp(80px, 12vw, 120px) 20px clamp(100px, 14vw, 140px);
}

.about-hero__en {
  margin: 0 0 20px;
  font-size: clamp(12px, 1.1vw, 14px);
  letter-spacing: .42em;
  text-transform: uppercase;
  opacity: .75;
}

.about-hero__title {
  margin: 0 0 24px;
  font-size: clamp(48px, 7.5vw, 96px);
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1.1;
  text-shadow: 0 4px 40px rgba(0,0,0,.4);
}

.about-hero__desc {
  margin: 0 0 16px;
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 300;
  letter-spacing: .18em;
  opacity: .92;
}

.about-hero__slogan {
  margin: 0;
  font-size: clamp(14px, 1.4vw, 17px);
  letter-spacing: .08em;
  color: rgba(255,255,255,.72);
}

.about-hero__scroll {
  position: absolute;
  left: 50%;
  bottom: clamp(28px, 5vw, 48px);
  z-index: 3;
  width: 28px;
  height: 48px;
  margin-left: -14px;
  border: 2px solid rgba(255,255,255,.45);
  border-radius: 20px;
  text-decoration: none;
  transition: border-color .3s;
}

.about-hero__scroll:hover {
  border-color: rgba(255,255,255,.85);
}

.about-hero__scroll span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  background: #fff;
  border-radius: 2px;
  animation: aboutScroll 1.8s ease-in-out infinite;
}

@keyframes aboutScroll {
  0%, 100% { opacity: 1; transform: translateY(0); }
  60% { opacity: .3; transform: translateY(14px); }
}

/* ---------- 二级分类导航 ---------- */
.about-tabs {
  background: #fff;
  border-bottom: 1px solid var(--c-line, #e8e8e8);
  z-index: 900;
}

.about-tabs.is-sticky {
  position: sticky;
  top: var(--header-h, 60px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, .04);
}

.about-tabs__inner {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  justify-content: center;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0;
}

.about-tabs__inner::-webkit-scrollbar {
  display: none;
}

.about-tabs__link {
  position: relative;
  flex-shrink: 0;
  padding: clamp(16px, 2.4vw, 22px) clamp(20px, 3vw, 36px);
  font-size: 15px;
  color: var(--c-text-sub, #666);
  text-decoration: none;
  white-space: nowrap;
  transition: color .25s var(--ease, ease);
}

.about-tabs__link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 3px;
  background: var(--c-accent, #c8102e);
  transform: translateX(-50%);
  transition: width .3s var(--ease, ease);
}

.about-tabs__link:hover,
.about-tabs__link.is-active {
  color: var(--c-text, #111);
  font-weight: 600;
}

.about-tabs__link.is-active::after {
  width: calc(100% - 40px);
}

/* ---------- 通用区块 ---------- */
.about-main {
  overflow: hidden;
}

.about-section {
  padding: clamp(72px, 10vw, 120px) 0;
  scroll-margin-top: calc(var(--header-h, 60px) + var(--about-tabs-h, 56px));
}

.about-section--gray {
  background: #f5f5f5;
}

.about-section--dark {
  background: #141414;
  color: #fff;
}

.about-section__head {
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 64px);
}

.about-section__tag {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .3em;
  color: var(--c-accent, #c8102e);
}

.about-section__head h2 {
  margin: 0 0 12px;
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 700;
  letter-spacing: .06em;
}

.about-section__head p {
  margin: 0;
  font-size: 13px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--c-text-muted, #999);
}

.about-section--dark .about-section__head p {
  color: rgba(255,255,255,.45);
}

.about-section--dark .about-section__tag {
  color: #e85d6f;
}

/* ---------- 公司简介 ---------- */
.about-intro {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: start;
}

.about-intro__content {
  font-size: 15px;
  line-height: 2.1;
  color: var(--c-text-sub, #555);
}

.about-intro__content p {
  margin: 0 0 18px;
  text-align: justify;
}

.about-intro__content p:last-child {
  margin-bottom: 0;
}

.about-intro__aside {
  position: sticky;
  top: 80px;
}

.about-intro__media {
  margin: 0 0 24px;
  overflow: hidden;
  border-radius: 6px;
  aspect-ratio: 4 / 3;
  box-shadow: 0 20px 60px rgba(0,0,0,.1);
}

.about-intro__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease, ease);
}

.about-intro__media:hover img {
  transform: scale(1.04);
}

.about-intro__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.about-intro__stat {
  padding: 22px 20px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(0,0,0,.04);
  border-left: 3px solid var(--c-accent, #c8102e);
}

.about-intro__stat strong {
  display: block;
  margin-bottom: 6px;
  font-size: 26px;
  font-weight: 700;
  color: var(--c-text, #111);
}

.about-intro__stat span {
  font-size: 12px;
  color: var(--c-text-muted, #999);
}

/* ---------- 企业宣传片 ---------- */
.about-promo {
  max-width: 1000px;
  margin: 0 auto;
}

.about-promo__video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #111;
  object-fit: contain;
}

/* ---------- 发展历程 · 步骤条 ---------- */
.about-steps {
  max-width: 1000px;
  margin: 0 auto;
}

.about-steps__track {
  position: relative;
  margin-bottom: clamp(36px, 5vw, 52px);
  padding: 0 8px;
}

.about-steps__line {
  position: absolute;
  left: 8px;
  right: 8px;
  top: 18px;
  height: 2px;
  background: linear-gradient(90deg, rgba(200,16,46,.15) 0%, rgba(200,16,46,.45) 50%, rgba(200,16,46,.15) 100%);
}

.about-steps__nodes {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-steps__node {
  flex: 1;
  display: flex;
  justify-content: center;
  cursor: pointer;
}

.about-steps__node span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  font-size: 11px;
  font-weight: 600;
  color: var(--c-text-muted, #999);
  background: #f5f5f5;
  border: 2px solid #e0e0e0;
  border-radius: 50%;
  transition: all .35s var(--ease, ease);
}

.about-steps__node:hover span {
  color: var(--c-accent, #c8102e);
  border-color: var(--c-accent, #c8102e);
  background: #fff;
}

.about-steps__node.is-active span {
  width: 44px;
  height: 44px;
  margin-top: -4px;
  font-size: 12px;
  color: #fff;
  background: var(--c-accent, #c8102e);
  border-color: var(--c-accent, #c8102e);
  box-shadow: 0 4px 16px rgba(200, 16, 46, .35);
}

.about-steps__panels {
  position: relative;
  min-height: 320px;
}

.about-steps__panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
  animation: aboutStepIn .45s var(--ease, ease);
}

.about-steps__panel.is-active {
  display: grid;
}

@keyframes aboutStepIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.about-steps__pic {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 16 / 11;
  box-shadow: 0 16px 48px rgba(0, 0, 0, .08);
}

.about-steps__pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease, ease);
}

.about-steps__panel.is-active .about-steps__pic:hover img {
  transform: scale(1.04);
}

.about-steps__body time {
  display: block;
  margin-bottom: 12px;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1;
  color: var(--c-accent, #c8102e);
}

.about-steps__body h3 {
  margin: 0 0 14px;
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 600;
}

.about-steps__body p {
  margin: 0;
  font-size: 15px;
  line-height: 1.9;
  color: var(--c-text-sub, #666);
}

/* ---------- 企业文化 ---------- */
.about-culture {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 36px);
  margin-bottom: clamp(40px, 5vw, 56px);
}

.about-culture__card {
  position: relative;
  padding: clamp(32px, 4vw, 44px) clamp(24px, 3vw, 32px);
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(0,0,0,.05);
  transition: transform .35s var(--ease, ease);
}

.about-culture__card:hover {
  transform: translateY(-6px);
}

.about-culture__icon {
  margin-bottom: 20px;
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  color: rgba(200,16,46,.15);
}

.about-culture__card h3 {
  margin: 0 0 16px;
  padding-bottom: 16px;
  font-size: 20px;
  font-weight: 600;
  border-bottom: 1px solid var(--c-line, #eee);
}

.about-culture__card h3 em {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-accent, #c8102e);
}

.about-culture__card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.95;
  color: var(--c-text-sub, #666);
}

.about-culture__detail {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(32px, 4vw, 48px);
  background: #fff;
  border-radius: 8px;
  font-size: 15px;
  line-height: 2;
  color: var(--c-text-sub, #555);
  box-shadow: 0 8px 32px rgba(0,0,0,.04);
}

.about-culture__detail p {
  margin: 0 0 16px;
}

/* ---------- 图片展示网格 ---------- */
.about-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.6vw, 32px);
}

.about-gallery__item {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 4 / 3;
  background: #ddd;
}

.about-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s var(--ease, ease);
}

.about-gallery__item:hover img {
  transform: scale(1.08);
}

.about-gallery__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px 18px;
  font-size: 14px;
  color: #fff;
  background: linear-gradient(0deg, rgba(0,0,0,.7) 0%, transparent 100%);
  transform: translateY(100%);
  transition: transform .35s var(--ease, ease);
}

.about-gallery__item:hover .about-gallery__cap {
  transform: translateY(0);
}

.about-gallery--light .about-gallery__item {
  background: #2a2a2a;
}

.about-empty {
  padding: 80px 0;
  text-align: center;
  color: var(--c-text-muted, #999);
}

/* ---------- 图库分页 ---------- */
.about-gallery-wrap {
  position: relative;
}

.about-gallery-wrap.is-loading .about-gallery {
  opacity: .55;
  pointer-events: none;
  transition: opacity .2s ease;
}

.about-pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: clamp(32px, 4vw, 48px);
}

.about-pager[hidden] {
  display: none !important;
}

.about-pager__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  background: #fff;
  color: #666;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  transition: color .25s ease, border-color .25s ease, background .25s ease;
}

.about-pager__btn:hover:not(:disabled) {
  color: var(--c-accent, #c8102e);
  border-color: rgba(200, 16, 46, .35);
}

.about-pager__btn.is-active,
.about-pager__btn[aria-current="page"] {
  color: #fff;
  background: var(--c-accent, #c8102e);
  border-color: var(--c-accent, #c8102e);
  cursor: default;
}

.about-pager__btn:disabled {
  opacity: .4;
  cursor: not-allowed;
}

.about-pager__err {
  color: #c0392b;
  font-size: 14px;
}

.about-pager--light .about-pager__btn {
  background: transparent;
  border-color: rgba(255, 255, 255, .28);
  color: rgba(255, 255, 255, .78);
}

.about-pager--light .about-pager__btn:hover:not(:disabled) {
  color: #fff;
  border-color: rgba(255, 255, 255, .55);
}

.about-pager--light .about-pager__btn.is-active,
.about-pager--light .about-pager__btn[aria-current="page"] {
  color: #111;
  background: #fff;
  border-color: #fff;
}

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .about-hero__title {
    letter-spacing: .06em;
  }

  .about-intro {
    grid-template-columns: 1fr;
  }

  .about-intro__aside {
    position: static;
  }

  .about-steps__panel,
  .about-steps__panel.is-active {
    grid-template-columns: 1fr;
  }

  .about-steps__nodes {
    overflow-x: auto;
    justify-content: flex-start;
    gap: 12px;
    padding-bottom: 8px;
    scrollbar-width: none;
  }

  .about-steps__nodes::-webkit-scrollbar {
    display: none;
  }

  .about-steps__node {
    flex: 0 0 auto;
  }

  .about-steps__line {
    display: none;
  }

  .about-culture {
    grid-template-columns: 1fr;
  }

  .about-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-gallery__cap {
    transform: translateY(0);
  }
}

@media (max-width: 600px) {
  .about-tabs__link {
    padding: 14px 18px;
    font-size: 14px;
  }

  .about-gallery {
    grid-template-columns: 1fr;
  }

  .about-intro__stats {
    grid-template-columns: 1fr;
  }
}
