/* ===== Reset & Base ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #333;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

html {
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ===== Variables ===== */
:root {
  --color-primary: #FF8C28;
  --color-primary-dark: #e67a1a;
  --color-text: #333;
  --color-text-light: #666;
  --color-bg: #fff;
  --color-bg-gray: #f5f5f5;
  --section-margin-top: 60px;
  --section-padding-x: 3%;
  --header-padding-left: 4%;
  --title-gap: 10px;
  --header-content-gap: 25px;
  --gap: 10px;
  --radius: 10px;
  --card-padding-y: 16px;
  --card-padding-x: 16px;
  --font-title: calc(22 / 12 * 1rem);
  --font-subtitle: 1rem;
  --font-card-title: calc(16 / 12 * 1rem);
}

/* ===== Section Header ===== */
[class$="__header"] {
  padding-left: var(--header-padding-left);
  margin-bottom: var(--header-content-gap);
}

[class$="__title"] {
  font-size: var(--font-title);
  color: var(--color-text);
  font-weight: 700;
  line-height: 1.2;
}

[class$="__subtitle"] {
  font-size: var(--font-subtitle);
  color: var(--color-text-light);
  margin-top: var(--title-gap);
  line-height: 1.4;
}

/* ===== Section 1: Banner ===== */
.about-banner {
  position: relative;
  width: 100%;
}

.about-banner__img {
  width: 100%;
  height: auto;
  display: block;
}

.about-banner__content {
  position: absolute;
  top: 27%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  width: 100%;
  padding: 0 8%;
}

.about-banner__title {
  font-size: calc(24 / 12 * 1rem);
  color: #fff;
  font-weight: 700;
  margin-bottom: 10px;
}

.about-banner__desc {
  font-size: calc(12 / 12 * 1rem);
  color: rgba(255, 255, 255, 0.85);
  font-weight: 400;
}

/* ===== Section 2: Intro ===== */
.about-intro {
  margin-top: var(--section-margin-top);
  padding: 0 var(--section-padding-x);
}

.about-intro__body {
  padding-left: var(--header-padding-left);
  padding-right: 2%;
}

.about-intro__body p {
  font-size: var(--font-subtitle);
  color: var(--color-text-light);
  line-height: 1.4;
  margin-bottom: 10px;
}

.about-intro__body p:last-child {
  margin-bottom: 0;
}

/* ===== Section 3: Culture ===== */
.about-culture {
  margin-top: var(--section-margin-top);
  padding: 0 var(--section-padding-x);
}

.about-culture__card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}

.about-culture__bg {
  width: 100%;
  height: auto;
  display: block;
}

.about-culture__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.about-culture__col {
  flex: 1;
  text-align: center;
}

.about-culture__col-title {
  font-size: var(--font-card-title);
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.about-culture__col-desc {
  font-size: calc(11 / 12 * 1rem);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.4;
  font-weight: 300;
}

.about-culture__divider {
  width: 1px;
  height: 40px;
  background: rgba(136, 95, 25, 1);
  margin: 0 8px;
}

/* ===== Section 4: Business ===== */
.about-business {
  margin-top: var(--section-margin-top);
  padding: 0 var(--section-padding-x);
}

.about-business__grid {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}

.about-business__row {
  display: flex;
  gap: var(--gap);
}

.about-business__card {
  position: relative;
  border-radius: var(--radius);
  padding: 16px;
  min-height: calc(130 / 12 * 1rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.about-business__card--wide {
  flex: 1.6;
}

.about-business__card--narrow {
  flex: 1;
  aspect-ratio: 155 / 179;
}

.about-business__card--orange {
  background: #f29035;
}

.about-business__card--red {
  background: #c1624c;
}

.about-business__card--blue {
  background: #7a9faf;
}

.about-business__card--green {
  background: #71b150;
}

.about-business__card-inner {
  position: relative;
  z-index: 2;
}

.about-business__card-title {
  font-size: var(--font-card-title);
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
}

.about-business__card-desc {
  font-size: var(--font-subtitle);
  color: rgba(255, 255, 255, 1);
  line-height: 1.4;
}

.about-business__card-icon {
  position: absolute;
  right: 1rem;
  bottom: 0;
  width: 36%;
  z-index: 1;
}

.about-business__card-icon img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* ===== Section 5: CEO ===== */
.about-ceo {
  margin-top: var(--section-margin-top);
  padding: 0 var(--section-padding-x);
}

.about-ceo__card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}

.about-ceo__bg {
  width: 100%;
  height: auto;
  display: block;
}

.about-ceo__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 8%;
}

.about-ceo__title {
  font-size: calc(20 / 12 * 1rem);
  color: #fff;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 1rem;
}

.about-ceo__quote p {
  font-size: calc(12 / 12 * 1rem);
  color: rgba(255, 255, 255, 0.92);
  font-weight: 400;
  line-height: 1.4;
  margin-bottom: 0.45rem;
}

.about-ceo__quote p:last-child {
  margin-bottom: 0;
}

.about-ceo__author {
  align-self: flex-end;
  font-size: calc(12 / 12 * 1rem);
  color: rgba(255, 255, 255, 0.9);
  margin-top: 1.2rem;
}

/* ===== Section 6: Achievement ===== */
.about-achievement {
  margin-top: var(--section-margin-top);
  padding: 0 var(--section-padding-x);
}

.about-achievement__grid {
  --cards-gap: var(--gap);
  --card-padding-y: 16px;
  --card-padding-x: 16px;
  --line-center-gap: 2.6rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--cards-gap);
  background-image:
    linear-gradient(#d0d0d0, #d0d0d0),
    linear-gradient(#d0d0d0, #d0d0d0),
    linear-gradient(to right, #d0d0d0, #d0d0d0),
    linear-gradient(to right, #d0d0d0, #d0d0d0);
  background-size:
    1px calc(50% - var(--line-center-gap) / 2 - var(--card-padding-y)),
    1px calc(50% - var(--line-center-gap) / 2 - var(--card-padding-y)),
    calc(50% - var(--line-center-gap) / 2 - var(--card-padding-x)) 1px,
    calc(50% - var(--line-center-gap) / 2 - var(--card-padding-x)) 1px;
  background-position:
    50% var(--card-padding-y),
    50% calc(100% - var(--card-padding-y)),
    var(--card-padding-x) 50%,
    calc(100% - var(--card-padding-x)) 50%;
  background-repeat: no-repeat;
  background-color: var(--color-bg-gray);
  background-origin: content-box;
  border-radius: var(--radius);
}

.about-achievement__card {
  position: relative;
  border-radius: var(--radius);
  padding: var(--card-padding-y) var(--card-padding-x) 23%;
  min-height: calc(110 / 12 * 1rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.about-achievement__card-text {
  position: relative;
  z-index: 2;
}

.about-achievement__card-title {
  font-size: calc(12 / 12 * 1rem);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 10px;
  line-height: 1.4;
}

.about-achievement__card-desc {
  font-size: calc(11 / 12 * 1rem);
  color: var(--color-text-light);
  font-weight: 300;
  line-height: 1.4;
}

.about-achievement__card-icon {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 20%;
  z-index: 1;
}

.about-achievement__card-icon img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* ===== Section 7: Timeline ===== */
.about-timeline {
  margin-top: var(--section-margin-top);
  padding: 0 var(--section-padding-x);
}

.about-timeline__tabs {
  display: flex;
  gap: 5px;
  overflow-x: auto;
  width: calc(100% + (var(--section-padding-x) * 2));
  margin-left: calc(-1 * var(--section-padding-x));
  margin-right: calc(-1 * var(--section-padding-x));
  padding: 0 var(--section-padding-x) 4px calc(var(--section-padding-x) + var(--header-padding-left));
  margin-bottom: 25px;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scroll-padding-left: calc(var(--section-padding-x) + var(--header-padding-left));
  scroll-padding-right: var(--section-padding-x);
  scrollbar-width: none;
  box-sizing: border-box;
}

.about-timeline__tabs::-webkit-scrollbar {
  display: none;
}

.about-timeline__tab {
  flex-shrink: 0;
  scroll-snap-align: start;
  min-width: calc(82 / 12 * 1rem);
  padding: 10px 18px;
  border: none;
  border-radius: 999px;
  background: #a2a3a9;
  color: #e5e5e8;
  font-size: calc(13 / 12 * 1rem);
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.about-timeline__tab--active {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-1px);
}

.about-timeline__panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(calc(95 / 12 * 1rem), 30%) 1fr;
  align-items: center;
  aspect-ratio: 345 / 367;
  background: #e5e5e8;
  border-radius: calc(14 / 12 * 1rem);
  padding: calc(14 / 12 * 1rem) calc(10 / 12 * 1rem) calc(14 / 12 * 1rem) 0;
  overflow: hidden;
}

.about-timeline__dial-zone {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  min-height: calc(200 / 12 * 1rem);
  touch-action: none;
}

.about-timeline__dial-shell {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: calc(200 / 12 * 1rem);
  overflow: hidden;
  isolation: isolate;
}

.about-timeline__year-window {
  position: absolute;
  top: 50%;
  left: 30%;
  transform: translate(-50%, -50%);
  z-index: 4;
  width: calc(70 / 12 * 1rem);
  height: calc(96 / 12 * 1rem);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  pointer-events: none;
}

.about-timeline__year-current {
  display: block;
  color: #f4f4f6;
  font-size: calc(44 / 12 * 1rem);
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: 0.04em;
  white-space: pre-line;
}

.about-timeline__year-current--range {
  font-size: calc(22 / 12 * 1rem);
}

.about-timeline__adj-year {
  position: absolute;
  left: 17%;
  z-index: 4;
  border: none;
  background: transparent;
  color: rgba(245, 245, 247, 0.72);
  font-size: calc(15 / 12 * 1rem);
  font-weight: 300;
  line-height: 1;
  padding: 0;
  margin: 0;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.24s ease;
}

.about-timeline__adj-year--prev {
  top: 24%;
  transform: translateX(-50%) rotate(30deg);
}

.about-timeline__adj-year--next {
  top: 71%;
  transform: translateX(-50%) rotate(330deg);
}

.about-timeline__adj-year:disabled,
.about-timeline__adj-year[aria-disabled='true'] {
  opacity: 0.28;
}

.about-timeline__dial-rotor {
  position: absolute;
  top: 50%;
  left: 0;
  width: 255%;
  height: 255%;
  z-index: 1;
  transition: transform 0.7s cubic-bezier(0.23, 0.8, 0.24, 1);
  transform: translate(-62%, -50%) rotate(0deg);
  transform-origin: 50% 50%;
  will-change: transform;
}

.about-timeline__dial-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.about-timeline__dial-pointer {
  display: none;
}

.about-timeline__content {
  position: relative;
  height: 100%;
  min-height: 0;
}

.about-timeline__slide {
  position: absolute;
  height: 100%;
  inset: 0;
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.2rem;
  padding: 1.3rem 0 1rem;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.about-timeline__slide--active {
  position: relative;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.about-timeline__img {
  width: 100%;
  display: block;
  border-radius: calc(12 / 12 * 1rem);
  object-fit: cover;
  object-position: center;
  margin-left: auto;
}

.about-timeline__img-wrap {
  position: relative;
  width: 100%;
  margin-left: auto;
}

.about-timeline__img-wrap::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -18%;
  width: calc(30 / 12 * 1rem);
  height: calc(30 / 12 * 1rem);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background-image: url("https://store.hiwonder.com.cn/mobile/%E5%85%B3%E4%BA%8E%E6%88%91%E4%BB%AC/%E5%8F%91%E5%B1%95%E5%8E%86%E7%A8%8B/%E7%BB%84%2014%20%E6%8B%B7%E8%B4%9D%207.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 2;
  pointer-events: none;
}

.about-timeline__text-card {
  position: relative;
  width: 100%;
  border-radius: calc(12 / 12 * 1rem);
  padding: calc(18 / 12 * 1rem) calc(18 / 12 * 1rem);
  background: linear-gradient(15deg,
      #312a22 0%,
      #312a22 85%,
      /* 85%之前都是深色 */
      #746150 100%
      /* 只在最后15%的区域才过渡到亮色 */
    );
  color: #f2f2f3;
  font-size: calc(12 / 12 * 1rem);
  line-height: 1.65;
  font-weight: 400;
  /* transform: translateX(-2%); */
  aspect-ratio: 226/126;
}

.about-timeline__text-card::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -16%;
  width: calc(30 / 12 * 1rem);
  height: calc(30 / 12 * 1rem);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background-image: url("https://store.hiwonder.com.cn/mobile/%E5%85%B3%E4%BA%8E%E6%88%91%E4%BB%AC/%E5%8F%91%E5%B1%95%E5%8E%86%E7%A8%8B/%E7%BB%84%2014%20%E6%8B%B7%E8%B4%9D%207.png");
  background-size: contain;
  /* 图片完整显示 */
  background-repeat: no-repeat;
  /* 不重复 */
  background-position: center;
  /* 居中 */
}

.about-timeline__text-card p {
  margin: 0;
}

.about-timeline__text-card-list {
  margin: 0;
  padding-left: 1.15rem;
}

.about-timeline__text-card-list li {
  margin: 0 0 0.85rem;
  color: #f2f2f3;
}

.about-timeline__text-card-list li:last-child {
  margin-bottom: 0;
}

.about-timeline__text-card-list li::marker {
  color: var(--color-primary);
}

/* ===== Section 8: Contact ===== */
.about-contact {
  margin-top: var(--section-margin-top);
  padding: 0 var(--section-padding-x);
  padding-bottom: 60px;
}

.about-contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
}

.about-contact__card {
  position: relative;
  background: var(--color-bg-gray);
  border-radius: var(--radius);
  padding: 16px;
  min-height: calc(100 / 12 * 1rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  aspect-ratio: 270 / 240;
}

.about-contact__card--address {
  grid-column: 1 / -1;
  aspect-ratio: 270 / 90;
  min-height: calc(86 / 12 * 1rem);
}

.about-contact__card-text {
  position: relative;
  z-index: 2;
}

.about-contact__card-title {
  font-size: var(--font-card-title);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 4px;
}

.about-contact__card-email {
  font-size: calc(11 / 12 * 1rem);
  color: var(--color-text-light);
  line-height: 1.4;
}

.about-contact__card-info {
  font-size: calc(12 / 12 * 1rem);
  color: var(--color-text-light);
  line-height: 1.5;
}

.about-contact__card-icon {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 32%;
  z-index: 1;
}

.about-contact__card--address .about-contact__card-icon {
  right: 13px;
  bottom: 13px;
  width: 13%;
}

.about-contact__card-icon img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
