/* 美亚品牌页；具体色值便于独立维护，不使用 CSS 变量。 */
.meiya-about-hero {
  position: relative;
  padding: 100px 0 110px;
  color: #fff;
  background:
    linear-gradient(90deg, #122e41e8, #122e4170),
    url('../images/hero-chongqing.webp') center 52% / cover;
}
.meiya-about-hero .eyebrow {
  color: #d1e2ec;
}
.meiya-about-hero h1 {
  color: #fff;
  font-size: clamp(40px, 5.2vw, 72px);
  line-height: 1.3;
}
.meiya-about-hero p {
  max-width: 720px;
  font-size: 20px;
  line-height: 1.9;
  color: #edf4f7;
  margin: 25px 0 30px;
}
.meiya-about-hero .button {
  background: #fff;
  color: #24465a;
  border-color: #fff;
}
.about-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 34px;
  padding-block: 20px;
  border-bottom: 1px solid #dfe3ed;
  /* 隐藏滚动条 */
  scrollbar-width: none;
  -ms-overflow-style: none;
  &::-webkit-scrollbar {
    display: none;
  }
}
.about-jump a {
  padding-block: 10px;
  color: #424b66;
  font-weight: 650;
}
.about-jump a:hover {
  color: #1d5f77;
}
.meiya-english {
  display: block;
  font-size: 23px;
  letter-spacing: 0.04em;
  font-weight: 500;
  color: #426e80;
  margin-top: 8px;
}
.meiya-number {
  display: block;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: 0.1em;
  color: #626e9c;
  margin-bottom: 18px;
}
.meiya-timeline {
  list-style: none;
  padding: 0;
  margin: 38px 0 20px;
}
.meiya-timeline li {
  display: grid;
  grid-template-columns: 155px 1fr;
  gap: 40px;
  padding: 25px 0 25px 24px;
  position: relative;
  border-left: 1px solid #c7cedc;
  margin-left: 5px;
}
.meiya-timeline li::before {
  content: '';
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #626e9c;
  position: absolute;
  top: 35px;
  left: -5px;
}
.meiya-timeline time {
  font-size: 24px;
  font-weight: 700;
  color: #626e9c;
}
.meiya-timeline h3 {
  font-size: 23px;
  margin-bottom: 8px;
}
.meiya-timeline p {
  color: #606c83;
  margin: 0;
  font-size: 17px;
}
.meiya-values {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 25px 50px;
  margin-top: 35px;
}
.meiya-values article {
  padding: 26px 0;
  border-top: 1px solid #d3d9e3;
}
.meiya-values article:last-child {
  grid-column: 1 / -1;
}
.meiya-values h3 {
  font-size: clamp(20px, 2.1vw, 28px);
}
.meiya-values p {
  color: #606c83;
  font-size: 17px;
  max-width: 620px;
}
.meiya-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding: 48px;
  background: #f6f7fa;
  border-radius: 10px;
}
.meiya-contact h2 {
  font-size: 38px;
}
.meiya-contact p {
  color: #606c83;
}
.meiya-contact address {
  font-style: normal;
}
.meiya-contact dl {
  margin: 0;
}
.meiya-contact dt {
  font-size: 14px;
  color: #606c83;
  margin-bottom: 5px;
}
.meiya-contact dd {
  font-size: 18px;
  margin: 0 0 20px;
  overflow-wrap: anywhere;
}
.meiya-contact dd a {
  color: #254c65;
  font-size: 23px;
  font-weight: 650;
}
@media (max-width: 760px) {
  .meiya-about-hero {
    padding-block: 65px;
  }
  .meiya-about-hero p {
    font-size: 17px;
  }
  .meiya-about-hero p br {
    display: none;
  }
  .about-jump {
    gap: 0 25px;
    font-size: 15px;
    padding-block: 14px;
    /* 隐藏滚动条 */
    scrollbar-width: none;
    -ms-overflow-style: none;
    &::-webkit-scrollbar {
      display: none;
    }
  }
  .meiya-timeline li {
    grid-template-columns: 1fr;
    gap: 6px;
    padding-left: 23px;
  }
  .meiya-timeline time {
    font-size: 22px;
  }
  .meiya-timeline h3 {
    font-size: 21px;
  }
  .meiya-values {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .meiya-values h3 {
    font-size: 22px;
  }
  .meiya-contact {
    grid-template-columns: 1fr;
    padding: 28px 22px;
    gap: 25px;
  }
  .meiya-contact h2 {
    font-size: 30px;
  }
  .meiya-contact dd {
    font-size: 17px;
  }
  .meiya-contact dd a {
    font-size: 21px;
  }
}

/* 专业方向配图；文字链接中的箭头不继承装饰图标的外边距。 */
.promise-media {
  display: block;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 23px;
}
.promise-media .scene {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  transition: transform 0.5s;
}
.promise-media:hover .scene {
  transform: scale(1.04);
}
.promise {
  min-width: 0;
}
.promise .text-link {
  white-space: normal;
}
.promise .text-link .icon {
  width: 20px;
  height: 20px;
  margin: 0;
  align-self: center;
}
@media (max-width: 700px) {
  .promise-media {
    margin-bottom: 17px;
  }
  .promise-grid {
    gap: 26px 18px;
  }
}
/* 企业实力与真实影像：证照完整呈现，不用风景替代团队。 */
.about-jump {
  position: sticky;
  top: 88px;
  z-index: 18;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: thin;
  background: #fffffff5;
  backdrop-filter: blur(10px);
  gap: 28px;
  padding-block: 10px;
}
.about-jump a {
  white-space: nowrap;
  flex-shrink: 0;
  font-size: 15px;
}
/* 全局 html 规则已预留 100px 的 scroll-padding。 */
body[data-page='about'] section[id] {
  scroll-margin-top: 70px;
}
.company-photo {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 12px;
  background: #edf0f3;
}
.company-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-enlarge {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  gap: 5px;
  align-items: center;
  background: #ffffffed;
  color: #344a5d;
  padding: 6px 10px;
  border-radius: 20px;
  font-size: 12px;
}
.photo-enlarge .icon {
  width: 15px;
  height: 15px;
}
.company-office {
  align-self: stretch;
  min-height: 400px;
  max-height: 580px;
}
.company-office img {
  object-fit: contain;
  background: #f4f6f8;
}
.company-strength {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 35px 0 10px;
  border-top: 1px solid #d9e0e6;
  gap: 25px;
  margin-bottom: 60px;
}
.company-strength > div {
  border-right: 1px solid #d9e0e6;
}
.company-strength > div:nth-child(4) {
  border: 0;
}
.company-strength strong {
  display: block;
  color: #285e6a;
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 750;
  line-height: 1.3;
  letter-spacing: -0.03em;
}
.company-strength strong small {
  font-size: 16px;
  margin-left: 7px;
  letter-spacing: 0;
}
.company-strength > div > span {
  display: block;
  font-size: 15px;
  color: #637082;
  margin-top: 10px;
}
.company-strength > p {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 12px;
  color: #778293;
}
.company-credentials {
  background: #f4f7f8;
}
.company-credentials .section-head p {
  font-size: 17px;
  color: #606c83;
}
.credential-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.credential-card {
  padding: 18px;
  border: 1px solid #e0e6ea;
  background: #fff;
  border-radius: 16px;
}
.credential-card .company-photo {
  aspect-ratio: 1.5;
  background: #fafbfc;
  border-radius: 8px;
}
.credential-card img {
  object-fit: contain;
}
.credential-card > div {
  padding: 20px 5px 0;
}
.credential-card h3 {
  font-size: 22px;
}
.credential-card p {
  font-size: 15px;
  color: #606c83;
  margin-bottom: 0;
}
.honor-highlight {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 30px;
  margin-bottom: 32px;
  border: 1px solid #e7d9c0;
  background: #faf7f1;
  border-radius: 16px;
}
.honor-highlight > span {
  font-size: 42px;
  letter-spacing: 0.035em;
  color: #806033;
  font-weight: 750;
}
.honor-highlight h3 {
  font-size: 23px;
}
.honor-highlight p {
  margin: 0;
  color: #756a58;
  font-size: 15px;
}
.honor-highlight > a {
  margin-left: auto;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #806033;
  font-size: 15px;
}
.honor-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.honor-card {
  min-width: 0;
  text-align: center;
}
.honor-card .company-photo {
  aspect-ratio: 1.45;
  background: #f6f5f2;
  padding: 8px;
  border: 1px solid #e8e5df;
}
.honor-card img {
  object-fit: contain;
}
.honor-year {
  display: block;
  margin: 20px 0 6px;
  font-size: 13px;
  color: #937140;
}
.honor-card h3 {
  font-size: 21px;
}
.honor-card p {
  font-size: 15px;
  color: #606c83;
}
.company-team {
  background: #f3f7f6;
}
.team-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 30px;
  align-items: end;
}
.team-heading p {
  color: #627474;
  font-size: 18px;
}
.team-gallery {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 20px;
}
.team-gallery figure {
  margin: 0;
  min-width: 0;
}
.team-gallery .team-main {
  grid-row: span 2;
}
.team-gallery .company-photo {
  aspect-ratio: 2.2;
}
.team-main .company-photo {
  height: calc(100% - 36px);
  aspect-ratio: auto;
}
.team-main .company-photo img {
  object-position: center;
}
.team-gallery figcaption {
  font-size: 13px;
  color: #5c7373;
  padding: 9px 2px 0;
}
.brand-intro {
  max-width: 730px;
  color: #606c83;
}
.company-brands {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.company-brand {
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid #dce4e7;
  border-radius: 14px;
  background: #fff;
}
.company-brand.brand-featured {
  grid-row: span 2;
  justify-content: center;
  background: #214c5b;
  color: #fff;
  border-color: #214c5b;
  padding: 40px;
}
.brand-category {
  font-size: 13px;
  color: #6e808c;
  margin-bottom: 20px;
}
.company-brand h3 {
  font-size: 25px;
}
.company-brand p {
  color: #627280;
  font-size: 16px;
}
.company-brand .text-link {
  margin-top: auto;
  padding-top: 12px;
  font-size: 15px;
}
.brand-featured h3 {
  color: #fff;
  font-size: 40px;
}
.brand-featured .brand-category,
.brand-featured p {
  color: #d5e4e8;
}
.brand-featured .text-link {
  color: #fff;
  margin-top: 24px;
}
.company-viewer {
  width: min(1000px, calc(100% - 28px));
  max-height: calc(100dvh - 28px);
}
.company-viewer .dialog-head h2 {
  font-size: 21px;
}
.company-viewer .dialog-head {
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
  gap: 15px;
}
.company-viewer .dialog-head button {
  flex-shrink: 0;
}
.company-viewer-body {
  padding: 18px;
}
.company-viewer-body img {
  display: block;
  width: 100%;
  max-height: calc(100dvh - 190px);
  object-fit: contain;
}
.company-viewer-body p {
  font-size: 12px;
  color: #7d8796;
  text-align: center;
  margin: 10px 0 0;
}
@media (max-width: 1050px) {
  .about-jump {
    top: 72px;
    /* 隐藏滚动条 */
    scrollbar-width: none;
    -ms-overflow-style: none;
    &::-webkit-scrollbar {
      display: none;
    }
  }
  .company-brands {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .company-brand.brand-featured {
    grid-column: 1 / -1;
    grid-row: auto;
  }
  .team-heading {
    gap: 25px;
  }
  .honor-grid {
    gap: 18px;
  }
}
@media (max-width: 700px) {
  body[data-page='about'] section[id] {
    scroll-margin-top: 45px;
  }
  .about-jump {
    gap: 22px;
    width: 100%;
    padding-inline: 20px;
    /* 隐藏滚动条 */
    scrollbar-width: none;
    -ms-overflow-style: none;
    &::-webkit-scrollbar {
      display: none;
    }
  }
  .company-office {
    min-height: 0;
    max-height: none;
  }
  .company-office img {
    height: auto;
  }
  .company-strength {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px 20px;
    padding-top: 25px;
    margin-bottom: 35px;
  }
  .company-strength > div:nth-child(2) {
    border: 0;
  }
  .company-strength strong {
    font-size: 36px;
  }
  .company-strength strong small {
    font-size: 13px;
  }
  .company-strength > div > span {
    font-size: 13px;
  }
  .credential-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .credential-card {
    padding: 12px;
  }
  .credential-card h3 {
    font-size: 20px;
  }
  .honor-highlight {
    flex-wrap: wrap;
    gap: 12px;
    padding: 22px;
  }
  .honor-highlight > span {
    font-size: 34px;
  }
  .honor-highlight h3 {
    font-size: 20px;
  }
  .honor-highlight > a {
    margin-left: 0;
  }
  .honor-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .honor-card h3 {
    font-size: 21px;
  }
  .honor-year {
    margin-top: 14px;
  }
  .team-heading {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .team-heading p {
    font-size: 17px;
  }
  .team-gallery {
    grid-template-columns: 1fr 1fr;
    gap: 16px 12px;
  }
  .team-gallery .team-main {
    grid-row: auto;
    grid-column: 1 / -1;
  }
  .team-main .company-photo {
    height: auto;
    aspect-ratio: 1.35;
  }
  .team-gallery figure:not(.team-main) .company-photo {
    aspect-ratio: 1;
  }
  .team-gallery figcaption {
    font-size: 12px;
  }
  .company-brands {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .company-brand {
    padding: 25px;
  }
  .company-brand.brand-featured {
    padding: 30px;
  }
  .company-brand h3 {
    font-size: 25px;
  }
  .brand-featured h3 {
    font-size: 34px;
  }
  .company-viewer .dialog-head {
    padding: 16px;
  }
  .company-viewer .dialog-head h2 {
    font-size: 17px;
  }
}
